Daily bump.
[official-gcc.git] / libstdc++-v3 / configure
blobe42e1bbaf4f9de72d80dd3844ff3c08cbb7b822b
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 # Check for the existence of <math.h> functions used if C99 is enabled.
15440 echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
15441 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
15442 if test "${ac_c99_math+set}" = set; then
15443 echo $ECHO_N "(cached) $ECHO_C" >&6
15444 else
15446 cat >conftest.$ac_ext <<_ACEOF
15447 /* confdefs.h. */
15448 _ACEOF
15449 cat confdefs.h >>conftest.$ac_ext
15450 cat >>conftest.$ac_ext <<_ACEOF
15451 /* end confdefs.h. */
15452 #include <math.h>
15454 main ()
15456 fpclassify(0.0);
15457 isfinite(0.0);
15458 isinf(0.0);
15459 isnan(0.0);
15460 isnormal(0.0);
15461 signbit(0.0);
15462 isgreater(0.0,0.0);
15463 isgreaterequal(0.0,0.0);
15464 isless(0.0,0.0);
15465 islessequal(0.0,0.0);
15466 islessgreater(0.0,0.0);
15467 islessgreater(0.0,0.0);
15468 isunordered(0.0,0.0);
15471 return 0;
15473 _ACEOF
15474 rm -f conftest.$ac_objext
15475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15476 (eval $ac_compile) 2>conftest.er1
15477 ac_status=$?
15478 grep -v '^ *+' conftest.er1 >conftest.err
15479 rm -f conftest.er1
15480 cat conftest.err >&5
15481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15482 (exit $ac_status); } &&
15483 { ac_try='test -z "$ac_cxx_werror_flag"
15484 || test ! -s conftest.err'
15485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15486 (eval $ac_try) 2>&5
15487 ac_status=$?
15488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15489 (exit $ac_status); }; } &&
15490 { ac_try='test -s conftest.$ac_objext'
15491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15492 (eval $ac_try) 2>&5
15493 ac_status=$?
15494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15495 (exit $ac_status); }; }; then
15496 ac_c99_math=yes
15497 else
15498 echo "$as_me: failed program was:" >&5
15499 sed 's/^/| /' conftest.$ac_ext >&5
15501 ac_c99_math=no
15503 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15507 echo "$as_me:$LINENO: result: $ac_c99_math" >&5
15508 echo "${ECHO_T}$ac_c99_math" >&6
15509 if test x"$ac_c99_math" = x"yes"; then
15511 cat >>confdefs.h <<\_ACEOF
15512 #define _GLIBCXX_USE_C99_MATH 1
15513 _ACEOF
15517 # Check for the existence of <complex.h> complex math functions.
15518 # This is necessary even though libstdc++ uses the builtin versions
15519 # of these functions, because if the builtin cannot be used, a reference
15520 # to the library function is emitted.
15522 for ac_header in tgmath.h
15524 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15525 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15526 echo "$as_me:$LINENO: checking for $ac_header" >&5
15527 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15528 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15529 echo $ECHO_N "(cached) $ECHO_C" >&6
15531 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15532 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15533 else
15534 # Is the header compilable?
15535 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15536 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15537 cat >conftest.$ac_ext <<_ACEOF
15538 /* confdefs.h. */
15539 _ACEOF
15540 cat confdefs.h >>conftest.$ac_ext
15541 cat >>conftest.$ac_ext <<_ACEOF
15542 /* end confdefs.h. */
15543 $ac_includes_default
15544 #include <$ac_header>
15545 _ACEOF
15546 rm -f conftest.$ac_objext
15547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15548 (eval $ac_compile) 2>conftest.er1
15549 ac_status=$?
15550 grep -v '^ *+' conftest.er1 >conftest.err
15551 rm -f conftest.er1
15552 cat conftest.err >&5
15553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15554 (exit $ac_status); } &&
15555 { ac_try='test -z "$ac_cxx_werror_flag"
15556 || test ! -s conftest.err'
15557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15558 (eval $ac_try) 2>&5
15559 ac_status=$?
15560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15561 (exit $ac_status); }; } &&
15562 { ac_try='test -s conftest.$ac_objext'
15563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15564 (eval $ac_try) 2>&5
15565 ac_status=$?
15566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15567 (exit $ac_status); }; }; then
15568 ac_header_compiler=yes
15569 else
15570 echo "$as_me: failed program was:" >&5
15571 sed 's/^/| /' conftest.$ac_ext >&5
15573 ac_header_compiler=no
15575 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15576 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15577 echo "${ECHO_T}$ac_header_compiler" >&6
15579 # Is the header present?
15580 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15581 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15582 cat >conftest.$ac_ext <<_ACEOF
15583 /* confdefs.h. */
15584 _ACEOF
15585 cat confdefs.h >>conftest.$ac_ext
15586 cat >>conftest.$ac_ext <<_ACEOF
15587 /* end confdefs.h. */
15588 #include <$ac_header>
15589 _ACEOF
15590 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15591 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15592 ac_status=$?
15593 grep -v '^ *+' conftest.er1 >conftest.err
15594 rm -f conftest.er1
15595 cat conftest.err >&5
15596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15597 (exit $ac_status); } >/dev/null; then
15598 if test -s conftest.err; then
15599 ac_cpp_err=$ac_cxx_preproc_warn_flag
15600 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
15601 else
15602 ac_cpp_err=
15604 else
15605 ac_cpp_err=yes
15607 if test -z "$ac_cpp_err"; then
15608 ac_header_preproc=yes
15609 else
15610 echo "$as_me: failed program was:" >&5
15611 sed 's/^/| /' conftest.$ac_ext >&5
15613 ac_header_preproc=no
15615 rm -f conftest.err conftest.$ac_ext
15616 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15617 echo "${ECHO_T}$ac_header_preproc" >&6
15619 # So? What about this header?
15620 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
15621 yes:no: )
15622 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15623 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15624 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15625 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15626 ac_header_preproc=yes
15628 no:yes:* )
15629 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15630 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15631 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15632 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15633 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15634 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15635 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15636 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15637 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15638 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15639 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15640 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15642 cat <<\_ASBOX
15643 ## ----------------------------------------- ##
15644 ## Report this to the package-unused lists. ##
15645 ## ----------------------------------------- ##
15646 _ASBOX
15648 sed "s/^/$as_me: WARNING: /" >&2
15650 esac
15651 echo "$as_me:$LINENO: checking for $ac_header" >&5
15652 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15653 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15654 echo $ECHO_N "(cached) $ECHO_C" >&6
15655 else
15656 eval "$as_ac_Header=\$ac_header_preproc"
15658 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15659 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15662 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15663 cat >>confdefs.h <<_ACEOF
15664 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15665 _ACEOF
15666 ac_has_tgmath_h=yes
15667 else
15668 ac_has_tgmath_h=no
15671 done
15674 for ac_header in complex.h
15676 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15677 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15678 echo "$as_me:$LINENO: checking for $ac_header" >&5
15679 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15680 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15681 echo $ECHO_N "(cached) $ECHO_C" >&6
15683 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15684 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15685 else
15686 # Is the header compilable?
15687 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15688 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15689 cat >conftest.$ac_ext <<_ACEOF
15690 /* confdefs.h. */
15691 _ACEOF
15692 cat confdefs.h >>conftest.$ac_ext
15693 cat >>conftest.$ac_ext <<_ACEOF
15694 /* end confdefs.h. */
15695 $ac_includes_default
15696 #include <$ac_header>
15697 _ACEOF
15698 rm -f conftest.$ac_objext
15699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15700 (eval $ac_compile) 2>conftest.er1
15701 ac_status=$?
15702 grep -v '^ *+' conftest.er1 >conftest.err
15703 rm -f conftest.er1
15704 cat conftest.err >&5
15705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15706 (exit $ac_status); } &&
15707 { ac_try='test -z "$ac_cxx_werror_flag"
15708 || test ! -s conftest.err'
15709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15710 (eval $ac_try) 2>&5
15711 ac_status=$?
15712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15713 (exit $ac_status); }; } &&
15714 { ac_try='test -s conftest.$ac_objext'
15715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15716 (eval $ac_try) 2>&5
15717 ac_status=$?
15718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15719 (exit $ac_status); }; }; then
15720 ac_header_compiler=yes
15721 else
15722 echo "$as_me: failed program was:" >&5
15723 sed 's/^/| /' conftest.$ac_ext >&5
15725 ac_header_compiler=no
15727 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15728 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15729 echo "${ECHO_T}$ac_header_compiler" >&6
15731 # Is the header present?
15732 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15733 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15734 cat >conftest.$ac_ext <<_ACEOF
15735 /* confdefs.h. */
15736 _ACEOF
15737 cat confdefs.h >>conftest.$ac_ext
15738 cat >>conftest.$ac_ext <<_ACEOF
15739 /* end confdefs.h. */
15740 #include <$ac_header>
15741 _ACEOF
15742 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15743 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15744 ac_status=$?
15745 grep -v '^ *+' conftest.er1 >conftest.err
15746 rm -f conftest.er1
15747 cat conftest.err >&5
15748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15749 (exit $ac_status); } >/dev/null; then
15750 if test -s conftest.err; then
15751 ac_cpp_err=$ac_cxx_preproc_warn_flag
15752 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
15753 else
15754 ac_cpp_err=
15756 else
15757 ac_cpp_err=yes
15759 if test -z "$ac_cpp_err"; then
15760 ac_header_preproc=yes
15761 else
15762 echo "$as_me: failed program was:" >&5
15763 sed 's/^/| /' conftest.$ac_ext >&5
15765 ac_header_preproc=no
15767 rm -f conftest.err conftest.$ac_ext
15768 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15769 echo "${ECHO_T}$ac_header_preproc" >&6
15771 # So? What about this header?
15772 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
15773 yes:no: )
15774 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15775 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15776 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15777 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15778 ac_header_preproc=yes
15780 no:yes:* )
15781 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15782 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15783 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15784 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15785 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15786 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15787 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15788 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15789 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15790 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15791 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15792 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15794 cat <<\_ASBOX
15795 ## ----------------------------------------- ##
15796 ## Report this to the package-unused lists. ##
15797 ## ----------------------------------------- ##
15798 _ASBOX
15800 sed "s/^/$as_me: WARNING: /" >&2
15802 esac
15803 echo "$as_me:$LINENO: checking for $ac_header" >&5
15804 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15805 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15806 echo $ECHO_N "(cached) $ECHO_C" >&6
15807 else
15808 eval "$as_ac_Header=\$ac_header_preproc"
15810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15811 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15814 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15815 cat >>confdefs.h <<_ACEOF
15816 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15817 _ACEOF
15818 ac_has_complex_h=yes
15819 else
15820 ac_has_complex_h=no
15823 done
15825 ac_c99_complex=no;
15826 if test x"$ac_has_complex_h" = x"yes"; then
15827 echo "$as_me:$LINENO: checking for ISO C99 support in <complex.h>" >&5
15828 echo $ECHO_N "checking for ISO C99 support in <complex.h>... $ECHO_C" >&6
15829 cat >conftest.$ac_ext <<_ACEOF
15830 /* confdefs.h. */
15831 _ACEOF
15832 cat confdefs.h >>conftest.$ac_ext
15833 cat >>conftest.$ac_ext <<_ACEOF
15834 /* end confdefs.h. */
15835 #include <complex.h>
15837 main ()
15839 typedef __complex__ float float_type; float_type tmpf;
15840 cabsf(tmpf);
15841 cargf(tmpf);
15842 ccosf(tmpf);
15843 ccoshf(tmpf);
15844 cexpf(tmpf);
15845 clogf(tmpf);
15846 csinf(tmpf);
15847 csinhf(tmpf);
15848 csqrtf(tmpf);
15849 ctanf(tmpf);
15850 ctanhf(tmpf);
15851 cpowf(tmpf, tmpf);
15852 typedef __complex__ double double_type; double_type tmpd;
15853 cabs(tmpd);
15854 carg(tmpd);
15855 ccos(tmpd);
15856 ccosh(tmpd);
15857 cexp(tmpd);
15858 clog(tmpd);
15859 csin(tmpd);
15860 csinh(tmpd);
15861 csqrt(tmpd);
15862 ctan(tmpd);
15863 ctanh(tmpd);
15864 cpow(tmpd, tmpd);
15865 typedef __complex__ long double ld_type; ld_type tmpld;
15866 cabsl(tmpld);
15867 cargl(tmpld);
15868 ccosl(tmpld);
15869 ccoshl(tmpld);
15870 cexpl(tmpld);
15871 clogl(tmpld);
15872 csinl(tmpld);
15873 csinhl(tmpld);
15874 csqrtl(tmpld);
15875 ctanl(tmpld);
15876 ctanhl(tmpld);
15877 cpowl(tmpld, tmpld);
15880 return 0;
15882 _ACEOF
15883 rm -f conftest.$ac_objext
15884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15885 (eval $ac_compile) 2>conftest.er1
15886 ac_status=$?
15887 grep -v '^ *+' conftest.er1 >conftest.err
15888 rm -f conftest.er1
15889 cat conftest.err >&5
15890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15891 (exit $ac_status); } &&
15892 { ac_try='test -z "$ac_cxx_werror_flag"
15893 || test ! -s conftest.err'
15894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15895 (eval $ac_try) 2>&5
15896 ac_status=$?
15897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15898 (exit $ac_status); }; } &&
15899 { ac_try='test -s conftest.$ac_objext'
15900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15901 (eval $ac_try) 2>&5
15902 ac_status=$?
15903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15904 (exit $ac_status); }; }; then
15905 ac_c99_complex=yes
15906 else
15907 echo "$as_me: failed program was:" >&5
15908 sed 's/^/| /' conftest.$ac_ext >&5
15910 ac_c99_complex=no
15912 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15914 echo "$as_me:$LINENO: result: $ac_c99_complex" >&5
15915 echo "${ECHO_T}$ac_c99_complex" >&6
15916 if test x"$ac_c99_complex" = x"yes"; then
15918 cat >>confdefs.h <<\_ACEOF
15919 #define _GLIBCXX_USE_C99_COMPLEX 1
15920 _ACEOF
15924 # Check for the existence in <stdio.h> of vscanf, et. al.
15925 echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
15926 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
15927 if test "${ac_c99_stdio+set}" = set; then
15928 echo $ECHO_N "(cached) $ECHO_C" >&6
15929 else
15931 cat >conftest.$ac_ext <<_ACEOF
15932 /* confdefs.h. */
15933 _ACEOF
15934 cat confdefs.h >>conftest.$ac_ext
15935 cat >>conftest.$ac_ext <<_ACEOF
15936 /* end confdefs.h. */
15937 #include <stdio.h>
15938 #include <stdarg.h>
15939 void foo(char* fmt, ...)
15941 va_list args; va_start(args, fmt);
15942 vfscanf(stderr, "%i", args);
15943 vscanf("%i", args);
15944 vsnprintf(fmt, 0, "%i", args);
15945 vsscanf(fmt, "%i", args);
15948 main ()
15950 snprintf("12", 0, "%i");
15952 return 0;
15954 _ACEOF
15955 rm -f conftest.$ac_objext
15956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15957 (eval $ac_compile) 2>conftest.er1
15958 ac_status=$?
15959 grep -v '^ *+' conftest.er1 >conftest.err
15960 rm -f conftest.er1
15961 cat conftest.err >&5
15962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15963 (exit $ac_status); } &&
15964 { ac_try='test -z "$ac_cxx_werror_flag"
15965 || test ! -s conftest.err'
15966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15967 (eval $ac_try) 2>&5
15968 ac_status=$?
15969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15970 (exit $ac_status); }; } &&
15971 { ac_try='test -s conftest.$ac_objext'
15972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15973 (eval $ac_try) 2>&5
15974 ac_status=$?
15975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15976 (exit $ac_status); }; }; then
15977 ac_c99_stdio=yes
15978 else
15979 echo "$as_me: failed program was:" >&5
15980 sed 's/^/| /' conftest.$ac_ext >&5
15982 ac_c99_stdio=no
15984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15988 echo "$as_me:$LINENO: result: $ac_c99_stdio" >&5
15989 echo "${ECHO_T}$ac_c99_stdio" >&6
15991 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
15992 echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
15993 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
15994 if test "${ac_c99_stdlib+set}" = set; then
15995 echo $ECHO_N "(cached) $ECHO_C" >&6
15996 else
15998 cat >conftest.$ac_ext <<_ACEOF
15999 /* confdefs.h. */
16000 _ACEOF
16001 cat confdefs.h >>conftest.$ac_ext
16002 cat >>conftest.$ac_ext <<_ACEOF
16003 /* end confdefs.h. */
16004 #include <stdlib.h>
16006 main ()
16008 char* tmp;
16009 strtof("gnu", &tmp);
16010 strtold("gnu", &tmp);
16011 strtoll("gnu", &tmp, 10);
16012 strtoull("gnu", &tmp, 10);
16013 llabs(10);
16014 lldiv(10,1);
16015 atoll("10");
16016 _Exit(0);
16017 lldiv_t mydivt;
16019 return 0;
16021 _ACEOF
16022 rm -f conftest.$ac_objext
16023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16024 (eval $ac_compile) 2>conftest.er1
16025 ac_status=$?
16026 grep -v '^ *+' conftest.er1 >conftest.err
16027 rm -f conftest.er1
16028 cat conftest.err >&5
16029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16030 (exit $ac_status); } &&
16031 { ac_try='test -z "$ac_cxx_werror_flag"
16032 || test ! -s conftest.err'
16033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16034 (eval $ac_try) 2>&5
16035 ac_status=$?
16036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16037 (exit $ac_status); }; } &&
16038 { ac_try='test -s conftest.$ac_objext'
16039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16040 (eval $ac_try) 2>&5
16041 ac_status=$?
16042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16043 (exit $ac_status); }; }; then
16044 ac_c99_stdlib=yes
16045 else
16046 echo "$as_me: failed program was:" >&5
16047 sed 's/^/| /' conftest.$ac_ext >&5
16049 ac_c99_stdlib=no
16051 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16055 echo "$as_me:$LINENO: result: $ac_c99_stdlib" >&5
16056 echo "${ECHO_T}$ac_c99_stdlib" >&6
16058 # Check for the existence in <wchar.h> of wcstold, etc.
16059 ac_c99_wchar=no;
16060 if test x"$ac_has_wchar_h" = xyes &&
16061 test x"$ac_has_wctype_h" = xyes; then
16062 echo "$as_me:$LINENO: checking for ISO C99 support in <wchar.h>" >&5
16063 echo $ECHO_N "checking for ISO C99 support in <wchar.h>... $ECHO_C" >&6
16064 cat >conftest.$ac_ext <<_ACEOF
16065 /* confdefs.h. */
16066 _ACEOF
16067 cat confdefs.h >>conftest.$ac_ext
16068 cat >>conftest.$ac_ext <<_ACEOF
16069 /* end confdefs.h. */
16070 #include <wchar.h>
16071 namespace test
16073 using ::wcstold;
16074 using ::wcstoll;
16075 using ::wcstoull;
16079 main ()
16083 return 0;
16085 _ACEOF
16086 rm -f conftest.$ac_objext
16087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16088 (eval $ac_compile) 2>conftest.er1
16089 ac_status=$?
16090 grep -v '^ *+' conftest.er1 >conftest.err
16091 rm -f conftest.er1
16092 cat conftest.err >&5
16093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16094 (exit $ac_status); } &&
16095 { ac_try='test -z "$ac_cxx_werror_flag"
16096 || test ! -s conftest.err'
16097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16098 (eval $ac_try) 2>&5
16099 ac_status=$?
16100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16101 (exit $ac_status); }; } &&
16102 { ac_try='test -s conftest.$ac_objext'
16103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16104 (eval $ac_try) 2>&5
16105 ac_status=$?
16106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16107 (exit $ac_status); }; }; then
16108 ac_c99_wchar=yes
16109 else
16110 echo "$as_me: failed program was:" >&5
16111 sed 's/^/| /' conftest.$ac_ext >&5
16113 ac_c99_wchar=no
16115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16117 # Checks for wide character functions that may not be present.
16118 # Injection of these is wrapped with guard macros.
16119 # NB: only put functions here, instead of immediately above, if
16120 # absolutely necessary.
16121 cat >conftest.$ac_ext <<_ACEOF
16122 /* confdefs.h. */
16123 _ACEOF
16124 cat confdefs.h >>conftest.$ac_ext
16125 cat >>conftest.$ac_ext <<_ACEOF
16126 /* end confdefs.h. */
16127 #include <wchar.h>
16128 namespace test { using ::vfwscanf; }
16130 main ()
16134 return 0;
16136 _ACEOF
16137 rm -f conftest.$ac_objext
16138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16139 (eval $ac_compile) 2>conftest.er1
16140 ac_status=$?
16141 grep -v '^ *+' conftest.er1 >conftest.err
16142 rm -f conftest.er1
16143 cat conftest.err >&5
16144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16145 (exit $ac_status); } &&
16146 { ac_try='test -z "$ac_cxx_werror_flag"
16147 || test ! -s conftest.err'
16148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16149 (eval $ac_try) 2>&5
16150 ac_status=$?
16151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16152 (exit $ac_status); }; } &&
16153 { ac_try='test -s conftest.$ac_objext'
16154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16155 (eval $ac_try) 2>&5
16156 ac_status=$?
16157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16158 (exit $ac_status); }; }; then
16160 cat >>confdefs.h <<\_ACEOF
16161 #define HAVE_VFWSCANF 1
16162 _ACEOF
16164 else
16165 echo "$as_me: failed program was:" >&5
16166 sed 's/^/| /' conftest.$ac_ext >&5
16169 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16171 cat >conftest.$ac_ext <<_ACEOF
16172 /* confdefs.h. */
16173 _ACEOF
16174 cat confdefs.h >>conftest.$ac_ext
16175 cat >>conftest.$ac_ext <<_ACEOF
16176 /* end confdefs.h. */
16177 #include <wchar.h>
16178 namespace test { using ::vswscanf; }
16180 main ()
16184 return 0;
16186 _ACEOF
16187 rm -f conftest.$ac_objext
16188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16189 (eval $ac_compile) 2>conftest.er1
16190 ac_status=$?
16191 grep -v '^ *+' conftest.er1 >conftest.err
16192 rm -f conftest.er1
16193 cat conftest.err >&5
16194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16195 (exit $ac_status); } &&
16196 { ac_try='test -z "$ac_cxx_werror_flag"
16197 || test ! -s conftest.err'
16198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16199 (eval $ac_try) 2>&5
16200 ac_status=$?
16201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16202 (exit $ac_status); }; } &&
16203 { ac_try='test -s conftest.$ac_objext'
16204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16205 (eval $ac_try) 2>&5
16206 ac_status=$?
16207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16208 (exit $ac_status); }; }; then
16210 cat >>confdefs.h <<\_ACEOF
16211 #define HAVE_VSWSCANF 1
16212 _ACEOF
16214 else
16215 echo "$as_me: failed program was:" >&5
16216 sed 's/^/| /' conftest.$ac_ext >&5
16219 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16221 cat >conftest.$ac_ext <<_ACEOF
16222 /* confdefs.h. */
16223 _ACEOF
16224 cat confdefs.h >>conftest.$ac_ext
16225 cat >>conftest.$ac_ext <<_ACEOF
16226 /* end confdefs.h. */
16227 #include <wchar.h>
16228 namespace test { using ::vwscanf; }
16230 main ()
16234 return 0;
16236 _ACEOF
16237 rm -f conftest.$ac_objext
16238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16239 (eval $ac_compile) 2>conftest.er1
16240 ac_status=$?
16241 grep -v '^ *+' conftest.er1 >conftest.err
16242 rm -f conftest.er1
16243 cat conftest.err >&5
16244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16245 (exit $ac_status); } &&
16246 { ac_try='test -z "$ac_cxx_werror_flag"
16247 || test ! -s conftest.err'
16248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16249 (eval $ac_try) 2>&5
16250 ac_status=$?
16251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16252 (exit $ac_status); }; } &&
16253 { ac_try='test -s conftest.$ac_objext'
16254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16255 (eval $ac_try) 2>&5
16256 ac_status=$?
16257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16258 (exit $ac_status); }; }; then
16260 cat >>confdefs.h <<\_ACEOF
16261 #define HAVE_VWSCANF 1
16262 _ACEOF
16264 else
16265 echo "$as_me: failed program was:" >&5
16266 sed 's/^/| /' conftest.$ac_ext >&5
16269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16271 cat >conftest.$ac_ext <<_ACEOF
16272 /* confdefs.h. */
16273 _ACEOF
16274 cat confdefs.h >>conftest.$ac_ext
16275 cat >>conftest.$ac_ext <<_ACEOF
16276 /* end confdefs.h. */
16277 #include <wchar.h>
16278 namespace test { using ::wcstof; }
16280 main ()
16284 return 0;
16286 _ACEOF
16287 rm -f conftest.$ac_objext
16288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16289 (eval $ac_compile) 2>conftest.er1
16290 ac_status=$?
16291 grep -v '^ *+' conftest.er1 >conftest.err
16292 rm -f conftest.er1
16293 cat conftest.err >&5
16294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16295 (exit $ac_status); } &&
16296 { ac_try='test -z "$ac_cxx_werror_flag"
16297 || test ! -s conftest.err'
16298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16299 (eval $ac_try) 2>&5
16300 ac_status=$?
16301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16302 (exit $ac_status); }; } &&
16303 { ac_try='test -s conftest.$ac_objext'
16304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16305 (eval $ac_try) 2>&5
16306 ac_status=$?
16307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16308 (exit $ac_status); }; }; then
16310 cat >>confdefs.h <<\_ACEOF
16311 #define HAVE_WCSTOF 1
16312 _ACEOF
16314 else
16315 echo "$as_me: failed program was:" >&5
16316 sed 's/^/| /' conftest.$ac_ext >&5
16319 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16321 cat >conftest.$ac_ext <<_ACEOF
16322 /* confdefs.h. */
16323 _ACEOF
16324 cat confdefs.h >>conftest.$ac_ext
16325 cat >>conftest.$ac_ext <<_ACEOF
16326 /* end confdefs.h. */
16327 #include <wctype.h>
16329 main ()
16331 wint_t t; int i = iswblank(t);
16333 return 0;
16335 _ACEOF
16336 rm -f conftest.$ac_objext
16337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16338 (eval $ac_compile) 2>conftest.er1
16339 ac_status=$?
16340 grep -v '^ *+' conftest.er1 >conftest.err
16341 rm -f conftest.er1
16342 cat conftest.err >&5
16343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16344 (exit $ac_status); } &&
16345 { ac_try='test -z "$ac_cxx_werror_flag"
16346 || test ! -s conftest.err'
16347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16348 (eval $ac_try) 2>&5
16349 ac_status=$?
16350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16351 (exit $ac_status); }; } &&
16352 { ac_try='test -s conftest.$ac_objext'
16353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16354 (eval $ac_try) 2>&5
16355 ac_status=$?
16356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16357 (exit $ac_status); }; }; then
16359 cat >>confdefs.h <<\_ACEOF
16360 #define HAVE_ISWBLANK 1
16361 _ACEOF
16363 else
16364 echo "$as_me: failed program was:" >&5
16365 sed 's/^/| /' conftest.$ac_ext >&5
16368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16370 echo "$as_me:$LINENO: result: $ac_c99_wchar" >&5
16371 echo "${ECHO_T}$ac_c99_wchar" >&6
16374 # Option parsed, now set things appropriately.
16375 if test x"$ac_c99_math" = x"no" ||
16376 test x"$ac_c99_complex" = x"no" ||
16377 test x"$ac_c99_stdio" = x"no" ||
16378 test x"$ac_c99_stdlib" = x"no" ||
16379 test x"$ac_c99_wchar" = x"no"; then
16380 enable_c99=no;
16381 else
16383 cat >>confdefs.h <<\_ACEOF
16384 #define _GLIBCXX_USE_C99 1
16385 _ACEOF
16389 ac_ext=c
16390 ac_cpp='$CPP $CPPFLAGS'
16391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16397 echo "$as_me:$LINENO: checking for fully enabled ISO C99 support" >&5
16398 echo $ECHO_N "checking for fully enabled ISO C99 support... $ECHO_C" >&6
16399 echo "$as_me:$LINENO: result: $enable_c99" >&5
16400 echo "${ECHO_T}$enable_c99" >&6
16403 # Check whether --enable-concept-checks or --disable-concept-checks was given.
16404 if test "${enable_concept_checks+set}" = set; then
16405 enableval="$enable_concept_checks"
16407 case "$enableval" in
16408 yes|no) ;;
16409 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
16410 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
16411 { (exit 1); exit 1; }; } ;;
16412 esac
16414 else
16415 enable_concept_checks=no
16418 if test $enable_concept_checks = yes; then
16420 cat >>confdefs.h <<\_ACEOF
16421 #define _GLIBCXX_CONCEPT_CHECKS 1
16422 _ACEOF
16427 # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
16428 if test "${enable_libstdcxx_debug_flags+set}" = set; then
16429 enableval="$enable_libstdcxx_debug_flags"
16430 case "x$enable_libstdcxx_debug_flags" in
16431 xno | x) enable_libstdcxx_debug_flags= ;;
16432 x-*) ;;
16433 *) { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
16434 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
16435 { (exit 1); exit 1; }; } ;;
16436 esac
16437 else
16438 enable_libstdcxx_debug_flags="-g3 -O0"
16442 # Option parsed, now set things appropriately
16443 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
16446 { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
16447 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
16450 echo "$as_me:$LINENO: checking for additional debug build" >&5
16451 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
16452 # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
16453 if test "${enable_libstdcxx_debug+set}" = set; then
16454 enableval="$enable_libstdcxx_debug"
16456 case "$enableval" in
16457 yes|no) ;;
16458 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
16459 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
16460 { (exit 1); exit 1; }; } ;;
16461 esac
16463 else
16464 enable_libstdcxx_debug=no
16467 echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
16468 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
16473 # NB: libstdc++ may be configured before libgomp: can't check for the actual
16474 # dependencies (omp.h and libgomp).
16475 enable_parallel=no;
16476 if test -f $glibcxx_builddir/../libgomp/omp.h; then
16477 enable_parallel=yes;
16478 else
16479 { echo "$as_me:$LINENO: $glibcxx_builddir/../libgomp/omp.h not found" >&5
16480 echo "$as_me: $glibcxx_builddir/../libgomp/omp.h not found" >&6;}
16483 # Check to see if it's explicitly disabled.
16484 # GLIBCXX_ENABLE(libgomp,,,[enable code depending on libgomp],
16485 # [permit yes|no])
16487 # if test x$enable_libgomp = xno; then
16488 # enable_parallel=no
16489 # fi
16491 echo "$as_me:$LINENO: checking for parallel mode support" >&5
16492 echo $ECHO_N "checking for parallel mode support... $ECHO_C" >&6
16493 echo "$as_me:$LINENO: result: $enable_parallel" >&5
16494 echo "${ECHO_T}$enable_parallel" >&6
16497 echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
16498 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
16499 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
16500 if test "${enable_cxx_flags+set}" = set; then
16501 enableval="$enable_cxx_flags"
16502 case "x$enable_cxx_flags" in
16503 xno | x) enable_cxx_flags= ;;
16504 x-*) ;;
16505 *) { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
16506 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
16507 { (exit 1); exit 1; }; } ;;
16508 esac
16509 else
16510 enable_cxx_flags=
16514 # Run through flags (either default or command-line) and set anything
16515 # extra (e.g., #defines) that must accompany particular g++ options.
16516 if test -n "$enable_cxx_flags"; then
16517 for f in $enable_cxx_flags; do
16518 case "$f" in
16519 -fhonor-std) ;;
16520 -*) ;;
16521 *) # and we're trying to pass /what/ exactly?
16522 { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
16523 echo "$as_me: error: compiler flags start with a -" >&2;}
16524 { (exit 1); exit 1; }; } ;;
16525 esac
16526 done
16529 EXTRA_CXX_FLAGS="$enable_cxx_flags"
16530 echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
16531 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
16535 # Check whether --enable-fully-dynamic-string or --disable-fully-dynamic-string was given.
16536 if test "${enable_fully_dynamic_string+set}" = set; then
16537 enableval="$enable_fully_dynamic_string"
16539 case "$enableval" in
16540 yes|no) ;;
16541 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&5
16542 echo "$as_me: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&2;}
16543 { (exit 1); exit 1; }; } ;;
16544 esac
16546 else
16547 enable_fully_dynamic_string=no
16550 if test $enable_fully_dynamic_string = yes; then
16552 cat >>confdefs.h <<\_ACEOF
16553 #define _GLIBCXX_FULLY_DYNAMIC_STRING 1
16554 _ACEOF
16559 # Checks for operating systems support that don't require linking.
16562 echo "$as_me:$LINENO: checking for EOWNERDEAD" >&5
16563 echo $ECHO_N "checking for EOWNERDEAD... $ECHO_C" >&6
16564 if test "${ac_system_error1+set}" = set; then
16565 echo $ECHO_N "(cached) $ECHO_C" >&6
16566 else
16568 cat >conftest.$ac_ext <<_ACEOF
16569 /* confdefs.h. */
16570 _ACEOF
16571 cat confdefs.h >>conftest.$ac_ext
16572 cat >>conftest.$ac_ext <<_ACEOF
16573 /* end confdefs.h. */
16574 #include <errno.h>
16576 main ()
16578 int i = EOWNERDEAD;
16580 return 0;
16582 _ACEOF
16583 rm -f conftest.$ac_objext
16584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16585 (eval $ac_compile) 2>conftest.er1
16586 ac_status=$?
16587 grep -v '^ *+' conftest.er1 >conftest.err
16588 rm -f conftest.er1
16589 cat conftest.err >&5
16590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16591 (exit $ac_status); } &&
16592 { ac_try='test -z "$ac_c_werror_flag"
16593 || test ! -s conftest.err'
16594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16595 (eval $ac_try) 2>&5
16596 ac_status=$?
16597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16598 (exit $ac_status); }; } &&
16599 { ac_try='test -s conftest.$ac_objext'
16600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16601 (eval $ac_try) 2>&5
16602 ac_status=$?
16603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16604 (exit $ac_status); }; }; then
16605 ac_system_error1=yes
16606 else
16607 echo "$as_me: failed program was:" >&5
16608 sed 's/^/| /' conftest.$ac_ext >&5
16610 ac_system_error1=no
16612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16616 echo "$as_me:$LINENO: result: $ac_system_error1" >&5
16617 echo "${ECHO_T}$ac_system_error1" >&6
16618 if test x"$ac_system_error1" = x"yes"; then
16620 cat >>confdefs.h <<\_ACEOF
16621 #define HAVE_EOWNERDEAD 1
16622 _ACEOF
16626 echo "$as_me:$LINENO: checking for ENOTRECOVERABLE" >&5
16627 echo $ECHO_N "checking for ENOTRECOVERABLE... $ECHO_C" >&6
16628 if test "${ac_system_error2+set}" = set; then
16629 echo $ECHO_N "(cached) $ECHO_C" >&6
16630 else
16632 cat >conftest.$ac_ext <<_ACEOF
16633 /* confdefs.h. */
16634 _ACEOF
16635 cat confdefs.h >>conftest.$ac_ext
16636 cat >>conftest.$ac_ext <<_ACEOF
16637 /* end confdefs.h. */
16638 #include <errno.h>
16640 main ()
16642 int i = ENOTRECOVERABLE;
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_c_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
16669 ac_system_error2=yes
16670 else
16671 echo "$as_me: failed program was:" >&5
16672 sed 's/^/| /' conftest.$ac_ext >&5
16674 ac_system_error2=no
16676 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16680 echo "$as_me:$LINENO: result: $ac_system_error2" >&5
16681 echo "${ECHO_T}$ac_system_error2" >&6
16682 if test x"$ac_system_error2" = x"yes"; then
16684 cat >>confdefs.h <<\_ACEOF
16685 #define HAVE_ENOTRECOVERABLE 1
16686 _ACEOF
16690 echo "$as_me:$LINENO: checking for ENOLINK" >&5
16691 echo $ECHO_N "checking for ENOLINK... $ECHO_C" >&6
16692 if test "${ac_system_error3+set}" = set; then
16693 echo $ECHO_N "(cached) $ECHO_C" >&6
16694 else
16696 cat >conftest.$ac_ext <<_ACEOF
16697 /* confdefs.h. */
16698 _ACEOF
16699 cat confdefs.h >>conftest.$ac_ext
16700 cat >>conftest.$ac_ext <<_ACEOF
16701 /* end confdefs.h. */
16702 #include <errno.h>
16704 main ()
16706 int i = ENOLINK;
16708 return 0;
16710 _ACEOF
16711 rm -f conftest.$ac_objext
16712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16713 (eval $ac_compile) 2>conftest.er1
16714 ac_status=$?
16715 grep -v '^ *+' conftest.er1 >conftest.err
16716 rm -f conftest.er1
16717 cat conftest.err >&5
16718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16719 (exit $ac_status); } &&
16720 { ac_try='test -z "$ac_c_werror_flag"
16721 || test ! -s conftest.err'
16722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16723 (eval $ac_try) 2>&5
16724 ac_status=$?
16725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16726 (exit $ac_status); }; } &&
16727 { ac_try='test -s conftest.$ac_objext'
16728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16729 (eval $ac_try) 2>&5
16730 ac_status=$?
16731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16732 (exit $ac_status); }; }; then
16733 ac_system_error3=yes
16734 else
16735 echo "$as_me: failed program was:" >&5
16736 sed 's/^/| /' conftest.$ac_ext >&5
16738 ac_system_error3=no
16740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16744 echo "$as_me:$LINENO: result: $ac_system_error3" >&5
16745 echo "${ECHO_T}$ac_system_error3" >&6
16746 if test x"$ac_system_error3" = x"yes"; then
16748 cat >>confdefs.h <<\_ACEOF
16749 #define HAVE_ENOLINK 1
16750 _ACEOF
16754 echo "$as_me:$LINENO: checking for EPROTO" >&5
16755 echo $ECHO_N "checking for EPROTO... $ECHO_C" >&6
16756 if test "${ac_system_error_4+set}" = set; then
16757 echo $ECHO_N "(cached) $ECHO_C" >&6
16758 else
16760 cat >conftest.$ac_ext <<_ACEOF
16761 /* confdefs.h. */
16762 _ACEOF
16763 cat confdefs.h >>conftest.$ac_ext
16764 cat >>conftest.$ac_ext <<_ACEOF
16765 /* end confdefs.h. */
16766 #include <errno.h>
16768 main ()
16770 int i = EPROTO;
16772 return 0;
16774 _ACEOF
16775 rm -f conftest.$ac_objext
16776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16777 (eval $ac_compile) 2>conftest.er1
16778 ac_status=$?
16779 grep -v '^ *+' conftest.er1 >conftest.err
16780 rm -f conftest.er1
16781 cat conftest.err >&5
16782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16783 (exit $ac_status); } &&
16784 { ac_try='test -z "$ac_c_werror_flag"
16785 || test ! -s conftest.err'
16786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16787 (eval $ac_try) 2>&5
16788 ac_status=$?
16789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16790 (exit $ac_status); }; } &&
16791 { ac_try='test -s conftest.$ac_objext'
16792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16793 (eval $ac_try) 2>&5
16794 ac_status=$?
16795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16796 (exit $ac_status); }; }; then
16797 ac_system_error_4=yes
16798 else
16799 echo "$as_me: failed program was:" >&5
16800 sed 's/^/| /' conftest.$ac_ext >&5
16802 ac_system_error_4=no
16804 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16808 echo "$as_me:$LINENO: result: $ac_system_error_4" >&5
16809 echo "${ECHO_T}$ac_system_error_4" >&6
16810 if test x"$ac_system_error_4" = x"yes"; then
16812 cat >>confdefs.h <<\_ACEOF
16813 #define HAVE_EPROTO 1
16814 _ACEOF
16818 echo "$as_me:$LINENO: checking for ENODATA" >&5
16819 echo $ECHO_N "checking for ENODATA... $ECHO_C" >&6
16820 if test "${ac_system_error_5+set}" = set; then
16821 echo $ECHO_N "(cached) $ECHO_C" >&6
16822 else
16824 cat >conftest.$ac_ext <<_ACEOF
16825 /* confdefs.h. */
16826 _ACEOF
16827 cat confdefs.h >>conftest.$ac_ext
16828 cat >>conftest.$ac_ext <<_ACEOF
16829 /* end confdefs.h. */
16830 #include <errno.h>
16832 main ()
16834 int i = ENODATA;
16836 return 0;
16838 _ACEOF
16839 rm -f conftest.$ac_objext
16840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16841 (eval $ac_compile) 2>conftest.er1
16842 ac_status=$?
16843 grep -v '^ *+' conftest.er1 >conftest.err
16844 rm -f conftest.er1
16845 cat conftest.err >&5
16846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16847 (exit $ac_status); } &&
16848 { ac_try='test -z "$ac_c_werror_flag"
16849 || test ! -s conftest.err'
16850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16851 (eval $ac_try) 2>&5
16852 ac_status=$?
16853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16854 (exit $ac_status); }; } &&
16855 { ac_try='test -s conftest.$ac_objext'
16856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16857 (eval $ac_try) 2>&5
16858 ac_status=$?
16859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16860 (exit $ac_status); }; }; then
16861 ac_system_error_5=yes
16862 else
16863 echo "$as_me: failed program was:" >&5
16864 sed 's/^/| /' conftest.$ac_ext >&5
16866 ac_system_error_5=no
16868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16872 echo "$as_me:$LINENO: result: $ac_system_error_5" >&5
16873 echo "${ECHO_T}$ac_system_error_5" >&6
16874 if test x"$ac_system_error_5" = x"yes"; then
16876 cat >>confdefs.h <<\_ACEOF
16877 #define HAVE_ENODATA 1
16878 _ACEOF
16882 echo "$as_me:$LINENO: checking for ENOSR" >&5
16883 echo $ECHO_N "checking for ENOSR... $ECHO_C" >&6
16884 if test "${ac_system_error_6+set}" = set; then
16885 echo $ECHO_N "(cached) $ECHO_C" >&6
16886 else
16888 cat >conftest.$ac_ext <<_ACEOF
16889 /* confdefs.h. */
16890 _ACEOF
16891 cat confdefs.h >>conftest.$ac_ext
16892 cat >>conftest.$ac_ext <<_ACEOF
16893 /* end confdefs.h. */
16894 #include <errno.h>
16896 main ()
16898 int i = ENOSR;
16900 return 0;
16902 _ACEOF
16903 rm -f conftest.$ac_objext
16904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16905 (eval $ac_compile) 2>conftest.er1
16906 ac_status=$?
16907 grep -v '^ *+' conftest.er1 >conftest.err
16908 rm -f conftest.er1
16909 cat conftest.err >&5
16910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16911 (exit $ac_status); } &&
16912 { ac_try='test -z "$ac_c_werror_flag"
16913 || test ! -s conftest.err'
16914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16915 (eval $ac_try) 2>&5
16916 ac_status=$?
16917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16918 (exit $ac_status); }; } &&
16919 { ac_try='test -s conftest.$ac_objext'
16920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16921 (eval $ac_try) 2>&5
16922 ac_status=$?
16923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16924 (exit $ac_status); }; }; then
16925 ac_system_error_6=yes
16926 else
16927 echo "$as_me: failed program was:" >&5
16928 sed 's/^/| /' conftest.$ac_ext >&5
16930 ac_system_error_6=no
16932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16936 echo "$as_me:$LINENO: result: $ac_system_error_6" >&5
16937 echo "${ECHO_T}$ac_system_error_6" >&6
16938 if test x"$ac_system_error_6" = x"yes"; then
16940 cat >>confdefs.h <<\_ACEOF
16941 #define HAVE_ENOSR 1
16942 _ACEOF
16946 echo "$as_me:$LINENO: checking for ENOSTR" >&5
16947 echo $ECHO_N "checking for ENOSTR... $ECHO_C" >&6
16948 if test "${ac_system_error_7+set}" = set; then
16949 echo $ECHO_N "(cached) $ECHO_C" >&6
16950 else
16952 cat >conftest.$ac_ext <<_ACEOF
16953 /* confdefs.h. */
16954 _ACEOF
16955 cat confdefs.h >>conftest.$ac_ext
16956 cat >>conftest.$ac_ext <<_ACEOF
16957 /* end confdefs.h. */
16958 #include <errno.h>
16960 main ()
16962 int i = ENOSTR;
16964 return 0;
16966 _ACEOF
16967 rm -f conftest.$ac_objext
16968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16969 (eval $ac_compile) 2>conftest.er1
16970 ac_status=$?
16971 grep -v '^ *+' conftest.er1 >conftest.err
16972 rm -f conftest.er1
16973 cat conftest.err >&5
16974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16975 (exit $ac_status); } &&
16976 { ac_try='test -z "$ac_c_werror_flag"
16977 || test ! -s conftest.err'
16978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16979 (eval $ac_try) 2>&5
16980 ac_status=$?
16981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16982 (exit $ac_status); }; } &&
16983 { ac_try='test -s conftest.$ac_objext'
16984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16985 (eval $ac_try) 2>&5
16986 ac_status=$?
16987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16988 (exit $ac_status); }; }; then
16989 ac_system_error_7=yes
16990 else
16991 echo "$as_me: failed program was:" >&5
16992 sed 's/^/| /' conftest.$ac_ext >&5
16994 ac_system_error_7=no
16996 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17000 echo "$as_me:$LINENO: result: $ac_system_error_7" >&5
17001 echo "${ECHO_T}$ac_system_error_7" >&6
17002 if test x"$ac_system_error_7" = x"yes"; then
17004 cat >>confdefs.h <<\_ACEOF
17005 #define HAVE_ENOSTR 1
17006 _ACEOF
17010 echo "$as_me:$LINENO: checking for ETIME" >&5
17011 echo $ECHO_N "checking for ETIME... $ECHO_C" >&6
17012 if test "${ac_system_error_8+set}" = set; then
17013 echo $ECHO_N "(cached) $ECHO_C" >&6
17014 else
17016 cat >conftest.$ac_ext <<_ACEOF
17017 /* confdefs.h. */
17018 _ACEOF
17019 cat confdefs.h >>conftest.$ac_ext
17020 cat >>conftest.$ac_ext <<_ACEOF
17021 /* end confdefs.h. */
17022 #include <errno.h>
17024 main ()
17026 int i = ETIME;
17028 return 0;
17030 _ACEOF
17031 rm -f conftest.$ac_objext
17032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17033 (eval $ac_compile) 2>conftest.er1
17034 ac_status=$?
17035 grep -v '^ *+' conftest.er1 >conftest.err
17036 rm -f conftest.er1
17037 cat conftest.err >&5
17038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17039 (exit $ac_status); } &&
17040 { ac_try='test -z "$ac_c_werror_flag"
17041 || test ! -s conftest.err'
17042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17043 (eval $ac_try) 2>&5
17044 ac_status=$?
17045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17046 (exit $ac_status); }; } &&
17047 { ac_try='test -s conftest.$ac_objext'
17048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17049 (eval $ac_try) 2>&5
17050 ac_status=$?
17051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17052 (exit $ac_status); }; }; then
17053 ac_system_error_8=yes
17054 else
17055 echo "$as_me: failed program was:" >&5
17056 sed 's/^/| /' conftest.$ac_ext >&5
17058 ac_system_error_8=no
17060 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17064 echo "$as_me:$LINENO: result: $ac_system_error_8" >&5
17065 echo "${ECHO_T}$ac_system_error_8" >&6
17066 if test x"$ac_system_error_8" = x"yes"; then
17068 cat >>confdefs.h <<\_ACEOF
17069 #define HAVE_ETIME 1
17070 _ACEOF
17074 echo "$as_me:$LINENO: checking for sys_nerr" >&5
17075 echo $ECHO_N "checking for sys_nerr... $ECHO_C" >&6
17076 if test "${ac_system_error9+set}" = set; then
17077 echo $ECHO_N "(cached) $ECHO_C" >&6
17078 else
17080 cat >conftest.$ac_ext <<_ACEOF
17081 /* confdefs.h. */
17082 _ACEOF
17083 cat confdefs.h >>conftest.$ac_ext
17084 cat >>conftest.$ac_ext <<_ACEOF
17085 /* end confdefs.h. */
17086 #include <errno.h>
17088 main ()
17090 int i = sys_nerr;
17092 return 0;
17094 _ACEOF
17095 rm -f conftest.$ac_objext
17096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17097 (eval $ac_compile) 2>conftest.er1
17098 ac_status=$?
17099 grep -v '^ *+' conftest.er1 >conftest.err
17100 rm -f conftest.er1
17101 cat conftest.err >&5
17102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17103 (exit $ac_status); } &&
17104 { ac_try='test -z "$ac_c_werror_flag"
17105 || test ! -s conftest.err'
17106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17107 (eval $ac_try) 2>&5
17108 ac_status=$?
17109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17110 (exit $ac_status); }; } &&
17111 { ac_try='test -s conftest.$ac_objext'
17112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17113 (eval $ac_try) 2>&5
17114 ac_status=$?
17115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17116 (exit $ac_status); }; }; then
17117 ac_system_error9=yes
17118 else
17119 echo "$as_me: failed program was:" >&5
17120 sed 's/^/| /' conftest.$ac_ext >&5
17122 ac_system_error9=no
17124 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17128 echo "$as_me:$LINENO: result: $ac_system_error9" >&5
17129 echo "${ECHO_T}$ac_system_error9" >&6
17130 if test x"$ac_system_error9" = x"yes"; then
17132 cat >>confdefs.h <<\_ACEOF
17133 #define HAVE_SYS_NERR 1
17134 _ACEOF
17138 echo "$as_me:$LINENO: checking for EBADMSG" >&5
17139 echo $ECHO_N "checking for EBADMSG... $ECHO_C" >&6
17140 if test "${ac_system_error_10+set}" = set; then
17141 echo $ECHO_N "(cached) $ECHO_C" >&6
17142 else
17144 cat >conftest.$ac_ext <<_ACEOF
17145 /* confdefs.h. */
17146 _ACEOF
17147 cat confdefs.h >>conftest.$ac_ext
17148 cat >>conftest.$ac_ext <<_ACEOF
17149 /* end confdefs.h. */
17150 #include <errno.h>
17152 main ()
17154 int i = EBADMSG;
17156 return 0;
17158 _ACEOF
17159 rm -f conftest.$ac_objext
17160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17161 (eval $ac_compile) 2>conftest.er1
17162 ac_status=$?
17163 grep -v '^ *+' conftest.er1 >conftest.err
17164 rm -f conftest.er1
17165 cat conftest.err >&5
17166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17167 (exit $ac_status); } &&
17168 { ac_try='test -z "$ac_c_werror_flag"
17169 || test ! -s conftest.err'
17170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17171 (eval $ac_try) 2>&5
17172 ac_status=$?
17173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17174 (exit $ac_status); }; } &&
17175 { ac_try='test -s conftest.$ac_objext'
17176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17177 (eval $ac_try) 2>&5
17178 ac_status=$?
17179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17180 (exit $ac_status); }; }; then
17181 ac_system_error_10=yes
17182 else
17183 echo "$as_me: failed program was:" >&5
17184 sed 's/^/| /' conftest.$ac_ext >&5
17186 ac_system_error_10=no
17188 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17192 echo "$as_me:$LINENO: result: $ac_system_error_10" >&5
17193 echo "${ECHO_T}$ac_system_error_10" >&6
17194 if test x"$ac_system_error_10" = x"yes"; then
17196 cat >>confdefs.h <<\_ACEOF
17197 #define HAVE_EBADMSG 1
17198 _ACEOF
17202 echo "$as_me:$LINENO: checking for ECANCELED" >&5
17203 echo $ECHO_N "checking for ECANCELED... $ECHO_C" >&6
17204 if test "${ac_system_error_11+set}" = set; then
17205 echo $ECHO_N "(cached) $ECHO_C" >&6
17206 else
17208 cat >conftest.$ac_ext <<_ACEOF
17209 /* confdefs.h. */
17210 _ACEOF
17211 cat confdefs.h >>conftest.$ac_ext
17212 cat >>conftest.$ac_ext <<_ACEOF
17213 /* end confdefs.h. */
17214 #include <errno.h>
17216 main ()
17218 int i = ECANCELED;
17220 return 0;
17222 _ACEOF
17223 rm -f conftest.$ac_objext
17224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17225 (eval $ac_compile) 2>conftest.er1
17226 ac_status=$?
17227 grep -v '^ *+' conftest.er1 >conftest.err
17228 rm -f conftest.er1
17229 cat conftest.err >&5
17230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17231 (exit $ac_status); } &&
17232 { ac_try='test -z "$ac_c_werror_flag"
17233 || test ! -s conftest.err'
17234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17235 (eval $ac_try) 2>&5
17236 ac_status=$?
17237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17238 (exit $ac_status); }; } &&
17239 { ac_try='test -s conftest.$ac_objext'
17240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17241 (eval $ac_try) 2>&5
17242 ac_status=$?
17243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17244 (exit $ac_status); }; }; then
17245 ac_system_error_11=yes
17246 else
17247 echo "$as_me: failed program was:" >&5
17248 sed 's/^/| /' conftest.$ac_ext >&5
17250 ac_system_error_11=no
17252 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17256 echo "$as_me:$LINENO: result: $ac_system_error_11" >&5
17257 echo "${ECHO_T}$ac_system_error_11" >&6
17258 if test x"$ac_system_error_11" = x"yes"; then
17260 cat >>confdefs.h <<\_ACEOF
17261 #define HAVE_ECANCELED 1
17262 _ACEOF
17267 # No surprises, no surprises...
17269 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
17270 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
17271 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
17272 echo "$as_me:$LINENO: result: $target_thread_file" >&5
17273 echo "${ECHO_T}$target_thread_file" >&6
17275 if test $target_thread_file != single; then
17277 cat >>confdefs.h <<\_ACEOF
17278 #define HAVE_GTHR_DEFAULT 1
17279 _ACEOF
17283 glibcxx_thread_h=gthr-$target_thread_file.h
17285 gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
17286 if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
17287 enable_thread=yes
17288 else
17289 enable_thread=no
17295 echo "$as_me:$LINENO: checking for atomic builtins" >&5
17296 echo $ECHO_N "checking for atomic builtins... $ECHO_C" >&6
17299 ac_ext=cc
17300 ac_cpp='$CXXCPP $CPPFLAGS'
17301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17306 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
17307 cat > conftest.$ac_ext << EOF
17308 #line 17308 "configure"
17309 int main()
17311 // NB: _Atomic_word not necessarily int.
17312 typedef int atomic_type;
17313 atomic_type c1;
17314 atomic_type c2;
17315 const atomic_type c3(0);
17316 if (__sync_fetch_and_add(&c1, c2) == c3)
17318 // Do something.
17320 return 0;
17323 old_CXXFLAGS="$CXXFLAGS"
17324 CXXFLAGS=-S
17325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17326 (eval $ac_compile) 2>&5
17327 ac_status=$?
17328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17329 (exit $ac_status); }; then
17330 if grep __sync_fetch_and_add conftest.s >/dev/null 2>&1 ; then
17331 enable_atomic_builtins=no
17332 else
17334 cat >>confdefs.h <<\_ACEOF
17335 #define _GLIBCXX_ATOMIC_BUILTINS 1
17336 _ACEOF
17338 enable_atomic_builtins=yes
17339 atomicity_dir=cpu/generic/atomicity_builtins
17342 CXXFLAGS="$old_CXXFLAGS"
17343 rm -f conftest*
17345 # Now, if still generic, set to mutex.
17346 if test $atomicity_dir = "cpu/generic" ; then
17347 atomicity_dir=cpu/generic/atomicity_mutex
17349 ac_ext=c
17350 ac_cpp='$CPP $CPPFLAGS'
17351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17355 echo "$as_me:$LINENO: result: $enable_atomic_builtins" >&5
17356 echo "${ECHO_T}$enable_atomic_builtins" >&6
17358 if test $atomicity_dir = cpu/generic/atomicity_mutex ; then
17359 { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
17360 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
17361 if test $target_thread_file = single; then
17362 { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
17363 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
17364 { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
17365 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
17366 else
17367 { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
17368 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
17369 { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
17370 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
17375 # All these tests are for C++; save the language and the compiler flags.
17376 # The CXXFLAGS thing is suspicious, but based on similar bits previously
17377 # found in GLIBCXX_CONFIGURE.
17380 ac_ext=cc
17381 ac_cpp='$CXXCPP $CPPFLAGS'
17382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17386 ac_test_CXXFLAGS="${CXXFLAGS+set}"
17387 ac_save_CXXFLAGS="$CXXFLAGS"
17389 # Check for maintainer-mode bits.
17390 if test x"$USE_MAINTAINER_MODE" = xno; then
17391 WERROR=''
17392 else
17393 WERROR='-Werror'
17396 # Check for -ffunction-sections -fdata-sections
17397 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
17398 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
17399 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
17400 cat >conftest.$ac_ext <<_ACEOF
17401 /* confdefs.h. */
17402 _ACEOF
17403 cat confdefs.h >>conftest.$ac_ext
17404 cat >>conftest.$ac_ext <<_ACEOF
17405 /* end confdefs.h. */
17406 int foo; void bar() { };
17408 main ()
17412 return 0;
17414 _ACEOF
17415 rm -f conftest.$ac_objext
17416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17417 (eval $ac_compile) 2>conftest.er1
17418 ac_status=$?
17419 grep -v '^ *+' conftest.er1 >conftest.err
17420 rm -f conftest.er1
17421 cat conftest.err >&5
17422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17423 (exit $ac_status); } &&
17424 { ac_try='test -z "$ac_cxx_werror_flag"
17425 || test ! -s conftest.err'
17426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17427 (eval $ac_try) 2>&5
17428 ac_status=$?
17429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17430 (exit $ac_status); }; } &&
17431 { ac_try='test -s conftest.$ac_objext'
17432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17433 (eval $ac_try) 2>&5
17434 ac_status=$?
17435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17436 (exit $ac_status); }; }; then
17437 ac_fdsections=yes
17438 else
17439 echo "$as_me: failed program was:" >&5
17440 sed 's/^/| /' conftest.$ac_ext >&5
17442 ac_fdsections=no
17444 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17445 if test "$ac_test_CXXFLAGS" = set; then
17446 CXXFLAGS="$ac_save_CXXFLAGS"
17447 else
17448 # this is the suspicious part
17449 CXXFLAGS=''
17451 if test x"$ac_fdsections" = x"yes"; then
17452 SECTION_FLAGS='-ffunction-sections -fdata-sections'
17454 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
17455 echo "${ECHO_T}$ac_fdsections" >&6
17457 ac_ext=c
17458 ac_cpp='$CPP $CPPFLAGS'
17459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17467 if $GLIBCXX_IS_NATIVE; then
17469 # We can do more elaborate tests that assume a working linker.
17470 CANADIAN=no
17472 # Check for available headers.
17488 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
17489 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
17490 sys/types.h sys/ipc.h sys/sem.h
17492 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17493 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17494 echo "$as_me:$LINENO: checking for $ac_header" >&5
17495 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17496 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17497 echo $ECHO_N "(cached) $ECHO_C" >&6
17499 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17500 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17501 else
17502 # Is the header compilable?
17503 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17504 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17505 cat >conftest.$ac_ext <<_ACEOF
17506 /* confdefs.h. */
17507 _ACEOF
17508 cat confdefs.h >>conftest.$ac_ext
17509 cat >>conftest.$ac_ext <<_ACEOF
17510 /* end confdefs.h. */
17511 $ac_includes_default
17512 #include <$ac_header>
17513 _ACEOF
17514 rm -f conftest.$ac_objext
17515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17516 (eval $ac_compile) 2>conftest.er1
17517 ac_status=$?
17518 grep -v '^ *+' conftest.er1 >conftest.err
17519 rm -f conftest.er1
17520 cat conftest.err >&5
17521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17522 (exit $ac_status); } &&
17523 { ac_try='test -z "$ac_c_werror_flag"
17524 || test ! -s conftest.err'
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); }; } &&
17530 { ac_try='test -s conftest.$ac_objext'
17531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17532 (eval $ac_try) 2>&5
17533 ac_status=$?
17534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17535 (exit $ac_status); }; }; then
17536 ac_header_compiler=yes
17537 else
17538 echo "$as_me: failed program was:" >&5
17539 sed 's/^/| /' conftest.$ac_ext >&5
17541 ac_header_compiler=no
17543 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17544 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17545 echo "${ECHO_T}$ac_header_compiler" >&6
17547 # Is the header present?
17548 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17549 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17550 cat >conftest.$ac_ext <<_ACEOF
17551 /* confdefs.h. */
17552 _ACEOF
17553 cat confdefs.h >>conftest.$ac_ext
17554 cat >>conftest.$ac_ext <<_ACEOF
17555 /* end confdefs.h. */
17556 #include <$ac_header>
17557 _ACEOF
17558 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17559 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17560 ac_status=$?
17561 grep -v '^ *+' conftest.er1 >conftest.err
17562 rm -f conftest.er1
17563 cat conftest.err >&5
17564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17565 (exit $ac_status); } >/dev/null; then
17566 if test -s conftest.err; then
17567 ac_cpp_err=$ac_c_preproc_warn_flag
17568 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
17569 else
17570 ac_cpp_err=
17572 else
17573 ac_cpp_err=yes
17575 if test -z "$ac_cpp_err"; then
17576 ac_header_preproc=yes
17577 else
17578 echo "$as_me: failed program was:" >&5
17579 sed 's/^/| /' conftest.$ac_ext >&5
17581 ac_header_preproc=no
17583 rm -f conftest.err conftest.$ac_ext
17584 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17585 echo "${ECHO_T}$ac_header_preproc" >&6
17587 # So? What about this header?
17588 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17589 yes:no: )
17590 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17591 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17592 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17593 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17594 ac_header_preproc=yes
17596 no:yes:* )
17597 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17598 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17599 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17600 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17601 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17602 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17603 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17604 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17605 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17606 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17607 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17608 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17610 cat <<\_ASBOX
17611 ## ----------------------------------------- ##
17612 ## Report this to the package-unused lists. ##
17613 ## ----------------------------------------- ##
17614 _ASBOX
17616 sed "s/^/$as_me: WARNING: /" >&2
17618 esac
17619 echo "$as_me:$LINENO: checking for $ac_header" >&5
17620 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17621 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17622 echo $ECHO_N "(cached) $ECHO_C" >&6
17623 else
17624 eval "$as_ac_Header=\$ac_header_preproc"
17626 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17627 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17630 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17631 cat >>confdefs.h <<_ACEOF
17632 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17633 _ACEOF
17637 done
17642 # Check whether --with-gnu-ld or --without-gnu-ld was given.
17643 if test "${with_gnu_ld+set}" = set; then
17644 withval="$with_gnu_ld"
17645 test "$withval" = no || with_gnu_ld=yes
17646 else
17647 with_gnu_ld=no
17649 ac_prog=ld
17650 if test "$GCC" = yes; then
17651 # Check if gcc -print-prog-name=ld gives a path.
17652 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
17653 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
17654 case $host in
17655 *-*-mingw*)
17656 # gcc leaves a trailing carriage return which upsets mingw
17657 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
17659 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
17660 esac
17661 case $ac_prog in
17662 # Accept absolute paths.
17663 [\\/]* | ?:[\\/]*)
17664 re_direlt='/[^/][^/]*/\.\./'
17665 # Canonicalize the pathname of ld
17666 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
17667 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
17668 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
17669 done
17670 test -z "$LD" && LD="$ac_prog"
17673 # If it fails, then pretend we aren't using GCC.
17674 ac_prog=ld
17677 # If it is relative, then search for the first ld in PATH.
17678 with_gnu_ld=unknown
17680 esac
17681 elif test "$with_gnu_ld" = yes; then
17682 echo "$as_me:$LINENO: checking for GNU ld" >&5
17683 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
17684 else
17685 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
17686 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
17688 if test "${lt_cv_path_LD+set}" = set; then
17689 echo $ECHO_N "(cached) $ECHO_C" >&6
17690 else
17691 if test -z "$LD"; then
17692 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
17693 for ac_dir in $PATH; do
17694 IFS="$lt_save_ifs"
17695 test -z "$ac_dir" && ac_dir=.
17696 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
17697 lt_cv_path_LD="$ac_dir/$ac_prog"
17698 # Check to see if the program is GNU ld. I'd rather use --version,
17699 # but apparently some variants of GNU ld only accept -v.
17700 # Break only if it was the GNU/non-GNU ld that we prefer.
17701 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
17702 *GNU* | *'with BFD'*)
17703 test "$with_gnu_ld" != no && break
17706 test "$with_gnu_ld" != yes && break
17708 esac
17710 done
17711 IFS="$lt_save_ifs"
17712 else
17713 lt_cv_path_LD="$LD" # Let the user override the test with a path.
17717 LD="$lt_cv_path_LD"
17718 if test -n "$LD"; then
17719 echo "$as_me:$LINENO: result: $LD" >&5
17720 echo "${ECHO_T}$LD" >&6
17721 else
17722 echo "$as_me:$LINENO: result: no" >&5
17723 echo "${ECHO_T}no" >&6
17725 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
17726 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
17727 { (exit 1); exit 1; }; }
17728 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
17729 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
17730 if test "${lt_cv_prog_gnu_ld+set}" = set; then
17731 echo $ECHO_N "(cached) $ECHO_C" >&6
17732 else
17733 # I'd rather use --version here, but apparently some GNU lds only accept -v.
17734 case `$LD -v 2>&1 </dev/null` in
17735 *GNU* | *'with BFD'*)
17736 lt_cv_prog_gnu_ld=yes
17739 lt_cv_prog_gnu_ld=no
17741 esac
17743 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
17744 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
17745 with_gnu_ld=$lt_cv_prog_gnu_ld
17753 # If we're not using GNU ld, then there's no point in even trying these
17754 # tests. Check for that first. We should have already tested for gld
17755 # by now (in libtool), but require it now just to be safe...
17756 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
17757 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
17761 # The name set by libtool depends on the version of libtool. Shame on us
17762 # for depending on an impl detail, but c'est la vie. Older versions used
17763 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
17764 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
17765 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
17766 # set (hence we're using an older libtool), then set it.
17767 if test x${with_gnu_ld+set} != xset; then
17768 if test x${ac_cv_prog_gnu_ld+set} != xset; then
17769 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
17770 with_gnu_ld=no
17771 else
17772 with_gnu_ld=$ac_cv_prog_gnu_ld
17776 # Start by getting the version number. I think the libtool test already
17777 # does some of this, but throws away the result.
17778 if test x"$with_gnu_ld" = x"yes"; then
17779 echo "$as_me:$LINENO: checking for ld version" >&5
17780 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
17782 ldver=`$LD --version 2>/dev/null | head -1 | \
17783 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
17785 glibcxx_gnu_ld_version=`echo $ldver | \
17786 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
17787 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
17788 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
17791 # Set --gc-sections.
17792 glibcxx_gcsections_min_ld=21602
17793 if test x"$with_gnu_ld" = x"yes" &&
17794 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
17796 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
17797 # NB: This flag only works reliably after 2.16.1. Configure tests
17798 # for this are difficult, so hard wire a value that should work.
17800 ac_test_CFLAGS="${CFLAGS+set}"
17801 ac_save_CFLAGS="$CFLAGS"
17802 CFLAGS='-Wl,--gc-sections'
17804 # Check for -Wl,--gc-sections
17805 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
17806 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
17807 if test x$gcc_no_link = xyes; then
17808 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17809 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17810 { (exit 1); exit 1; }; }
17812 cat >conftest.$ac_ext <<_ACEOF
17813 /* confdefs.h. */
17814 _ACEOF
17815 cat confdefs.h >>conftest.$ac_ext
17816 cat >>conftest.$ac_ext <<_ACEOF
17817 /* end confdefs.h. */
17818 int one(void) { return 1; }
17819 int two(void) { return 2; }
17822 main ()
17824 two();
17826 return 0;
17828 _ACEOF
17829 rm -f conftest.$ac_objext conftest$ac_exeext
17830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17831 (eval $ac_link) 2>conftest.er1
17832 ac_status=$?
17833 grep -v '^ *+' conftest.er1 >conftest.err
17834 rm -f conftest.er1
17835 cat conftest.err >&5
17836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17837 (exit $ac_status); } &&
17838 { ac_try='test -z "$ac_c_werror_flag"
17839 || test ! -s conftest.err'
17840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17841 (eval $ac_try) 2>&5
17842 ac_status=$?
17843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17844 (exit $ac_status); }; } &&
17845 { ac_try='test -s conftest$ac_exeext'
17846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17847 (eval $ac_try) 2>&5
17848 ac_status=$?
17849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17850 (exit $ac_status); }; }; then
17851 ac_gcsections=yes
17852 else
17853 echo "$as_me: failed program was:" >&5
17854 sed 's/^/| /' conftest.$ac_ext >&5
17856 ac_gcsections=no
17858 rm -f conftest.err conftest.$ac_objext \
17859 conftest$ac_exeext conftest.$ac_ext
17860 if test "$ac_gcsections" = "yes"; then
17861 rm -f conftest.c
17862 touch conftest.c
17863 if $CC -c conftest.c; then
17864 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
17865 grep "Warning: gc-sections option ignored" > /dev/null; then
17866 ac_gcsections=no
17869 rm -f conftest.c conftest.o conftest
17871 if test "$ac_gcsections" = "yes"; then
17872 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
17874 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
17875 echo "${ECHO_T}$ac_gcsections" >&6
17877 if test "$ac_test_CFLAGS" = set; then
17878 CFLAGS="$ac_save_CFLAGS"
17879 else
17880 # this is the suspicious part
17881 CFLAGS=''
17885 # Set -z,relro.
17886 # Note this is only for shared objects.
17887 ac_ld_relro=no
17888 if test x"$with_gnu_ld" = x"yes"; then
17889 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
17890 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
17891 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
17892 if test -n "$cxx_z_relo"; then
17893 OPT_LDFLAGS="-Wl,-z,relro"
17894 ac_ld_relro=yes
17896 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
17897 echo "${ECHO_T}$ac_ld_relro" >&6
17900 # Set linker optimization flags.
17901 if test x"$with_gnu_ld" = x"yes"; then
17902 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
17909 ac_test_CXXFLAGS="${CXXFLAGS+set}"
17910 ac_save_CXXFLAGS="$CXXFLAGS"
17911 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
17913 echo "$as_me:$LINENO: checking for sin in -lm" >&5
17914 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
17915 if test "${ac_cv_lib_m_sin+set}" = set; then
17916 echo $ECHO_N "(cached) $ECHO_C" >&6
17917 else
17918 ac_check_lib_save_LIBS=$LIBS
17919 LIBS="-lm $LIBS"
17920 if test x$gcc_no_link = xyes; then
17921 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17922 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17923 { (exit 1); exit 1; }; }
17925 cat >conftest.$ac_ext <<_ACEOF
17926 /* confdefs.h. */
17927 _ACEOF
17928 cat confdefs.h >>conftest.$ac_ext
17929 cat >>conftest.$ac_ext <<_ACEOF
17930 /* end confdefs.h. */
17932 /* Override any gcc2 internal prototype to avoid an error. */
17933 #ifdef __cplusplus
17934 extern "C"
17935 #endif
17936 /* We use char because int might match the return type of a gcc2
17937 builtin and then its argument prototype would still apply. */
17938 char sin ();
17940 main ()
17942 sin ();
17944 return 0;
17946 _ACEOF
17947 rm -f conftest.$ac_objext conftest$ac_exeext
17948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17949 (eval $ac_link) 2>conftest.er1
17950 ac_status=$?
17951 grep -v '^ *+' conftest.er1 >conftest.err
17952 rm -f conftest.er1
17953 cat conftest.err >&5
17954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17955 (exit $ac_status); } &&
17956 { ac_try='test -z "$ac_c_werror_flag"
17957 || test ! -s conftest.err'
17958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17959 (eval $ac_try) 2>&5
17960 ac_status=$?
17961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17962 (exit $ac_status); }; } &&
17963 { ac_try='test -s conftest$ac_exeext'
17964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17965 (eval $ac_try) 2>&5
17966 ac_status=$?
17967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17968 (exit $ac_status); }; }; then
17969 ac_cv_lib_m_sin=yes
17970 else
17971 echo "$as_me: failed program was:" >&5
17972 sed 's/^/| /' conftest.$ac_ext >&5
17974 ac_cv_lib_m_sin=no
17976 rm -f conftest.err conftest.$ac_objext \
17977 conftest$ac_exeext conftest.$ac_ext
17978 LIBS=$ac_check_lib_save_LIBS
17980 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
17981 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
17982 if test $ac_cv_lib_m_sin = yes; then
17983 libm="-lm"
17986 ac_save_LIBS="$LIBS"
17987 LIBS="$LIBS $libm"
17991 echo "$as_me:$LINENO: checking for isinf declaration" >&5
17992 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
17993 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
17994 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
17995 echo $ECHO_N "(cached) $ECHO_C" >&6
17996 else
18000 ac_ext=cc
18001 ac_cpp='$CXXCPP $CPPFLAGS'
18002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18006 cat >conftest.$ac_ext <<_ACEOF
18007 /* confdefs.h. */
18008 _ACEOF
18009 cat confdefs.h >>conftest.$ac_ext
18010 cat >>conftest.$ac_ext <<_ACEOF
18011 /* end confdefs.h. */
18012 #include <math.h>
18013 #ifdef HAVE_IEEEFP_H
18014 #include <ieeefp.h>
18015 #endif
18018 main ()
18020 isinf(0);
18022 return 0;
18024 _ACEOF
18025 rm -f conftest.$ac_objext
18026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18027 (eval $ac_compile) 2>conftest.er1
18028 ac_status=$?
18029 grep -v '^ *+' conftest.er1 >conftest.err
18030 rm -f conftest.er1
18031 cat conftest.err >&5
18032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18033 (exit $ac_status); } &&
18034 { ac_try='test -z "$ac_cxx_werror_flag"
18035 || test ! -s conftest.err'
18036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18037 (eval $ac_try) 2>&5
18038 ac_status=$?
18039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18040 (exit $ac_status); }; } &&
18041 { ac_try='test -s conftest.$ac_objext'
18042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18043 (eval $ac_try) 2>&5
18044 ac_status=$?
18045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18046 (exit $ac_status); }; }; then
18047 glibcxx_cv_func_isinf_use=yes
18048 else
18049 echo "$as_me: failed program was:" >&5
18050 sed 's/^/| /' conftest.$ac_ext >&5
18052 glibcxx_cv_func_isinf_use=no
18054 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18055 ac_ext=c
18056 ac_cpp='$CPP $CPPFLAGS'
18057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18065 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
18066 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
18068 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
18070 for ac_func in isinf
18072 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18073 echo "$as_me:$LINENO: checking for $ac_func" >&5
18074 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18075 if eval "test \"\${$as_ac_var+set}\" = set"; then
18076 echo $ECHO_N "(cached) $ECHO_C" >&6
18077 else
18078 if test x$gcc_no_link = xyes; then
18079 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18080 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18081 { (exit 1); exit 1; }; }
18083 cat >conftest.$ac_ext <<_ACEOF
18084 /* confdefs.h. */
18085 _ACEOF
18086 cat confdefs.h >>conftest.$ac_ext
18087 cat >>conftest.$ac_ext <<_ACEOF
18088 /* end confdefs.h. */
18089 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18090 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18091 #define $ac_func innocuous_$ac_func
18093 /* System header to define __stub macros and hopefully few prototypes,
18094 which can conflict with char $ac_func (); below.
18095 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18096 <limits.h> exists even on freestanding compilers. */
18098 #ifdef __STDC__
18099 # include <limits.h>
18100 #else
18101 # include <assert.h>
18102 #endif
18104 #undef $ac_func
18106 /* Override any gcc2 internal prototype to avoid an error. */
18107 #ifdef __cplusplus
18108 extern "C"
18110 #endif
18111 /* We use char because int might match the return type of a gcc2
18112 builtin and then its argument prototype would still apply. */
18113 char $ac_func ();
18114 /* The GNU C library defines this for functions which it implements
18115 to always fail with ENOSYS. Some functions are actually named
18116 something starting with __ and the normal name is an alias. */
18117 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18118 choke me
18119 #else
18120 char (*f) () = $ac_func;
18121 #endif
18122 #ifdef __cplusplus
18124 #endif
18127 main ()
18129 return f != $ac_func;
18131 return 0;
18133 _ACEOF
18134 rm -f conftest.$ac_objext conftest$ac_exeext
18135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18136 (eval $ac_link) 2>conftest.er1
18137 ac_status=$?
18138 grep -v '^ *+' conftest.er1 >conftest.err
18139 rm -f conftest.er1
18140 cat conftest.err >&5
18141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18142 (exit $ac_status); } &&
18143 { ac_try='test -z "$ac_c_werror_flag"
18144 || test ! -s conftest.err'
18145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18146 (eval $ac_try) 2>&5
18147 ac_status=$?
18148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18149 (exit $ac_status); }; } &&
18150 { ac_try='test -s conftest$ac_exeext'
18151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18152 (eval $ac_try) 2>&5
18153 ac_status=$?
18154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18155 (exit $ac_status); }; }; then
18156 eval "$as_ac_var=yes"
18157 else
18158 echo "$as_me: failed program was:" >&5
18159 sed 's/^/| /' conftest.$ac_ext >&5
18161 eval "$as_ac_var=no"
18163 rm -f conftest.err conftest.$ac_objext \
18164 conftest$ac_exeext conftest.$ac_ext
18166 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18167 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18168 if test `eval echo '${'$as_ac_var'}'` = yes; then
18169 cat >>confdefs.h <<_ACEOF
18170 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18171 _ACEOF
18174 done
18176 else
18178 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
18179 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
18180 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
18181 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
18182 echo $ECHO_N "(cached) $ECHO_C" >&6
18183 else
18187 ac_ext=cc
18188 ac_cpp='$CXXCPP $CPPFLAGS'
18189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18193 cat >conftest.$ac_ext <<_ACEOF
18194 /* confdefs.h. */
18195 _ACEOF
18196 cat confdefs.h >>conftest.$ac_ext
18197 cat >>conftest.$ac_ext <<_ACEOF
18198 /* end confdefs.h. */
18199 #include <math.h>
18200 #ifdef HAVE_IEEEFP_H
18201 #include <ieeefp.h>
18202 #endif
18205 main ()
18207 _isinf(0);
18209 return 0;
18211 _ACEOF
18212 rm -f conftest.$ac_objext
18213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18214 (eval $ac_compile) 2>conftest.er1
18215 ac_status=$?
18216 grep -v '^ *+' conftest.er1 >conftest.err
18217 rm -f conftest.er1
18218 cat conftest.err >&5
18219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18220 (exit $ac_status); } &&
18221 { ac_try='test -z "$ac_cxx_werror_flag"
18222 || test ! -s conftest.err'
18223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18224 (eval $ac_try) 2>&5
18225 ac_status=$?
18226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18227 (exit $ac_status); }; } &&
18228 { ac_try='test -s conftest.$ac_objext'
18229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18230 (eval $ac_try) 2>&5
18231 ac_status=$?
18232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18233 (exit $ac_status); }; }; then
18234 glibcxx_cv_func__isinf_use=yes
18235 else
18236 echo "$as_me: failed program was:" >&5
18237 sed 's/^/| /' conftest.$ac_ext >&5
18239 glibcxx_cv_func__isinf_use=no
18241 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18242 ac_ext=c
18243 ac_cpp='$CPP $CPPFLAGS'
18244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18252 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
18253 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
18255 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
18257 for ac_func in _isinf
18259 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18260 echo "$as_me:$LINENO: checking for $ac_func" >&5
18261 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18262 if eval "test \"\${$as_ac_var+set}\" = set"; then
18263 echo $ECHO_N "(cached) $ECHO_C" >&6
18264 else
18265 if test x$gcc_no_link = xyes; then
18266 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18267 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18268 { (exit 1); exit 1; }; }
18270 cat >conftest.$ac_ext <<_ACEOF
18271 /* confdefs.h. */
18272 _ACEOF
18273 cat confdefs.h >>conftest.$ac_ext
18274 cat >>conftest.$ac_ext <<_ACEOF
18275 /* end confdefs.h. */
18276 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18277 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18278 #define $ac_func innocuous_$ac_func
18280 /* System header to define __stub macros and hopefully few prototypes,
18281 which can conflict with char $ac_func (); below.
18282 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18283 <limits.h> exists even on freestanding compilers. */
18285 #ifdef __STDC__
18286 # include <limits.h>
18287 #else
18288 # include <assert.h>
18289 #endif
18291 #undef $ac_func
18293 /* Override any gcc2 internal prototype to avoid an error. */
18294 #ifdef __cplusplus
18295 extern "C"
18297 #endif
18298 /* We use char because int might match the return type of a gcc2
18299 builtin and then its argument prototype would still apply. */
18300 char $ac_func ();
18301 /* The GNU C library defines this for functions which it implements
18302 to always fail with ENOSYS. Some functions are actually named
18303 something starting with __ and the normal name is an alias. */
18304 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18305 choke me
18306 #else
18307 char (*f) () = $ac_func;
18308 #endif
18309 #ifdef __cplusplus
18311 #endif
18314 main ()
18316 return f != $ac_func;
18318 return 0;
18320 _ACEOF
18321 rm -f conftest.$ac_objext conftest$ac_exeext
18322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18323 (eval $ac_link) 2>conftest.er1
18324 ac_status=$?
18325 grep -v '^ *+' conftest.er1 >conftest.err
18326 rm -f conftest.er1
18327 cat conftest.err >&5
18328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18329 (exit $ac_status); } &&
18330 { ac_try='test -z "$ac_c_werror_flag"
18331 || test ! -s conftest.err'
18332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18333 (eval $ac_try) 2>&5
18334 ac_status=$?
18335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18336 (exit $ac_status); }; } &&
18337 { ac_try='test -s conftest$ac_exeext'
18338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18339 (eval $ac_try) 2>&5
18340 ac_status=$?
18341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18342 (exit $ac_status); }; }; then
18343 eval "$as_ac_var=yes"
18344 else
18345 echo "$as_me: failed program was:" >&5
18346 sed 's/^/| /' conftest.$ac_ext >&5
18348 eval "$as_ac_var=no"
18350 rm -f conftest.err conftest.$ac_objext \
18351 conftest$ac_exeext conftest.$ac_ext
18353 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18354 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18355 if test `eval echo '${'$as_ac_var'}'` = yes; then
18356 cat >>confdefs.h <<_ACEOF
18357 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18358 _ACEOF
18361 done
18371 echo "$as_me:$LINENO: checking for isnan declaration" >&5
18372 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
18373 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
18374 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
18375 echo $ECHO_N "(cached) $ECHO_C" >&6
18376 else
18380 ac_ext=cc
18381 ac_cpp='$CXXCPP $CPPFLAGS'
18382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18386 cat >conftest.$ac_ext <<_ACEOF
18387 /* confdefs.h. */
18388 _ACEOF
18389 cat confdefs.h >>conftest.$ac_ext
18390 cat >>conftest.$ac_ext <<_ACEOF
18391 /* end confdefs.h. */
18392 #include <math.h>
18393 #ifdef HAVE_IEEEFP_H
18394 #include <ieeefp.h>
18395 #endif
18398 main ()
18400 isnan(0);
18402 return 0;
18404 _ACEOF
18405 rm -f conftest.$ac_objext
18406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18407 (eval $ac_compile) 2>conftest.er1
18408 ac_status=$?
18409 grep -v '^ *+' conftest.er1 >conftest.err
18410 rm -f conftest.er1
18411 cat conftest.err >&5
18412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18413 (exit $ac_status); } &&
18414 { ac_try='test -z "$ac_cxx_werror_flag"
18415 || test ! -s conftest.err'
18416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18417 (eval $ac_try) 2>&5
18418 ac_status=$?
18419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18420 (exit $ac_status); }; } &&
18421 { ac_try='test -s conftest.$ac_objext'
18422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18423 (eval $ac_try) 2>&5
18424 ac_status=$?
18425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18426 (exit $ac_status); }; }; then
18427 glibcxx_cv_func_isnan_use=yes
18428 else
18429 echo "$as_me: failed program was:" >&5
18430 sed 's/^/| /' conftest.$ac_ext >&5
18432 glibcxx_cv_func_isnan_use=no
18434 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18435 ac_ext=c
18436 ac_cpp='$CPP $CPPFLAGS'
18437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18445 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
18446 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
18448 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
18450 for ac_func in isnan
18452 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18453 echo "$as_me:$LINENO: checking for $ac_func" >&5
18454 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18455 if eval "test \"\${$as_ac_var+set}\" = set"; then
18456 echo $ECHO_N "(cached) $ECHO_C" >&6
18457 else
18458 if test x$gcc_no_link = xyes; then
18459 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18460 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18461 { (exit 1); exit 1; }; }
18463 cat >conftest.$ac_ext <<_ACEOF
18464 /* confdefs.h. */
18465 _ACEOF
18466 cat confdefs.h >>conftest.$ac_ext
18467 cat >>conftest.$ac_ext <<_ACEOF
18468 /* end confdefs.h. */
18469 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18470 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18471 #define $ac_func innocuous_$ac_func
18473 /* System header to define __stub macros and hopefully few prototypes,
18474 which can conflict with char $ac_func (); below.
18475 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18476 <limits.h> exists even on freestanding compilers. */
18478 #ifdef __STDC__
18479 # include <limits.h>
18480 #else
18481 # include <assert.h>
18482 #endif
18484 #undef $ac_func
18486 /* Override any gcc2 internal prototype to avoid an error. */
18487 #ifdef __cplusplus
18488 extern "C"
18490 #endif
18491 /* We use char because int might match the return type of a gcc2
18492 builtin and then its argument prototype would still apply. */
18493 char $ac_func ();
18494 /* The GNU C library defines this for functions which it implements
18495 to always fail with ENOSYS. Some functions are actually named
18496 something starting with __ and the normal name is an alias. */
18497 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18498 choke me
18499 #else
18500 char (*f) () = $ac_func;
18501 #endif
18502 #ifdef __cplusplus
18504 #endif
18507 main ()
18509 return f != $ac_func;
18511 return 0;
18513 _ACEOF
18514 rm -f conftest.$ac_objext conftest$ac_exeext
18515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18516 (eval $ac_link) 2>conftest.er1
18517 ac_status=$?
18518 grep -v '^ *+' conftest.er1 >conftest.err
18519 rm -f conftest.er1
18520 cat conftest.err >&5
18521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18522 (exit $ac_status); } &&
18523 { ac_try='test -z "$ac_c_werror_flag"
18524 || test ! -s conftest.err'
18525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18526 (eval $ac_try) 2>&5
18527 ac_status=$?
18528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18529 (exit $ac_status); }; } &&
18530 { ac_try='test -s conftest$ac_exeext'
18531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18532 (eval $ac_try) 2>&5
18533 ac_status=$?
18534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18535 (exit $ac_status); }; }; then
18536 eval "$as_ac_var=yes"
18537 else
18538 echo "$as_me: failed program was:" >&5
18539 sed 's/^/| /' conftest.$ac_ext >&5
18541 eval "$as_ac_var=no"
18543 rm -f conftest.err conftest.$ac_objext \
18544 conftest$ac_exeext conftest.$ac_ext
18546 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18547 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18548 if test `eval echo '${'$as_ac_var'}'` = yes; then
18549 cat >>confdefs.h <<_ACEOF
18550 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18551 _ACEOF
18554 done
18556 else
18558 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
18559 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
18560 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
18561 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
18562 echo $ECHO_N "(cached) $ECHO_C" >&6
18563 else
18567 ac_ext=cc
18568 ac_cpp='$CXXCPP $CPPFLAGS'
18569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18573 cat >conftest.$ac_ext <<_ACEOF
18574 /* confdefs.h. */
18575 _ACEOF
18576 cat confdefs.h >>conftest.$ac_ext
18577 cat >>conftest.$ac_ext <<_ACEOF
18578 /* end confdefs.h. */
18579 #include <math.h>
18580 #ifdef HAVE_IEEEFP_H
18581 #include <ieeefp.h>
18582 #endif
18585 main ()
18587 _isnan(0);
18589 return 0;
18591 _ACEOF
18592 rm -f conftest.$ac_objext
18593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18594 (eval $ac_compile) 2>conftest.er1
18595 ac_status=$?
18596 grep -v '^ *+' conftest.er1 >conftest.err
18597 rm -f conftest.er1
18598 cat conftest.err >&5
18599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18600 (exit $ac_status); } &&
18601 { ac_try='test -z "$ac_cxx_werror_flag"
18602 || test ! -s conftest.err'
18603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18604 (eval $ac_try) 2>&5
18605 ac_status=$?
18606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18607 (exit $ac_status); }; } &&
18608 { ac_try='test -s conftest.$ac_objext'
18609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18610 (eval $ac_try) 2>&5
18611 ac_status=$?
18612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18613 (exit $ac_status); }; }; then
18614 glibcxx_cv_func__isnan_use=yes
18615 else
18616 echo "$as_me: failed program was:" >&5
18617 sed 's/^/| /' conftest.$ac_ext >&5
18619 glibcxx_cv_func__isnan_use=no
18621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18622 ac_ext=c
18623 ac_cpp='$CPP $CPPFLAGS'
18624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18632 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
18633 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
18635 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
18637 for ac_func in _isnan
18639 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18640 echo "$as_me:$LINENO: checking for $ac_func" >&5
18641 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18642 if eval "test \"\${$as_ac_var+set}\" = set"; then
18643 echo $ECHO_N "(cached) $ECHO_C" >&6
18644 else
18645 if test x$gcc_no_link = xyes; then
18646 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18647 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18648 { (exit 1); exit 1; }; }
18650 cat >conftest.$ac_ext <<_ACEOF
18651 /* confdefs.h. */
18652 _ACEOF
18653 cat confdefs.h >>conftest.$ac_ext
18654 cat >>conftest.$ac_ext <<_ACEOF
18655 /* end confdefs.h. */
18656 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18657 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18658 #define $ac_func innocuous_$ac_func
18660 /* System header to define __stub macros and hopefully few prototypes,
18661 which can conflict with char $ac_func (); below.
18662 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18663 <limits.h> exists even on freestanding compilers. */
18665 #ifdef __STDC__
18666 # include <limits.h>
18667 #else
18668 # include <assert.h>
18669 #endif
18671 #undef $ac_func
18673 /* Override any gcc2 internal prototype to avoid an error. */
18674 #ifdef __cplusplus
18675 extern "C"
18677 #endif
18678 /* We use char because int might match the return type of a gcc2
18679 builtin and then its argument prototype would still apply. */
18680 char $ac_func ();
18681 /* The GNU C library defines this for functions which it implements
18682 to always fail with ENOSYS. Some functions are actually named
18683 something starting with __ and the normal name is an alias. */
18684 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18685 choke me
18686 #else
18687 char (*f) () = $ac_func;
18688 #endif
18689 #ifdef __cplusplus
18691 #endif
18694 main ()
18696 return f != $ac_func;
18698 return 0;
18700 _ACEOF
18701 rm -f conftest.$ac_objext conftest$ac_exeext
18702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18703 (eval $ac_link) 2>conftest.er1
18704 ac_status=$?
18705 grep -v '^ *+' conftest.er1 >conftest.err
18706 rm -f conftest.er1
18707 cat conftest.err >&5
18708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18709 (exit $ac_status); } &&
18710 { ac_try='test -z "$ac_c_werror_flag"
18711 || test ! -s conftest.err'
18712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18713 (eval $ac_try) 2>&5
18714 ac_status=$?
18715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18716 (exit $ac_status); }; } &&
18717 { ac_try='test -s conftest$ac_exeext'
18718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18719 (eval $ac_try) 2>&5
18720 ac_status=$?
18721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18722 (exit $ac_status); }; }; then
18723 eval "$as_ac_var=yes"
18724 else
18725 echo "$as_me: failed program was:" >&5
18726 sed 's/^/| /' conftest.$ac_ext >&5
18728 eval "$as_ac_var=no"
18730 rm -f conftest.err conftest.$ac_objext \
18731 conftest$ac_exeext conftest.$ac_ext
18733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18734 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18735 if test `eval echo '${'$as_ac_var'}'` = yes; then
18736 cat >>confdefs.h <<_ACEOF
18737 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18738 _ACEOF
18741 done
18751 echo "$as_me:$LINENO: checking for finite declaration" >&5
18752 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
18753 if test x${glibcxx_cv_func_finite_use+set} != xset; then
18754 if test "${glibcxx_cv_func_finite_use+set}" = set; then
18755 echo $ECHO_N "(cached) $ECHO_C" >&6
18756 else
18760 ac_ext=cc
18761 ac_cpp='$CXXCPP $CPPFLAGS'
18762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18766 cat >conftest.$ac_ext <<_ACEOF
18767 /* confdefs.h. */
18768 _ACEOF
18769 cat confdefs.h >>conftest.$ac_ext
18770 cat >>conftest.$ac_ext <<_ACEOF
18771 /* end confdefs.h. */
18772 #include <math.h>
18773 #ifdef HAVE_IEEEFP_H
18774 #include <ieeefp.h>
18775 #endif
18778 main ()
18780 finite(0);
18782 return 0;
18784 _ACEOF
18785 rm -f conftest.$ac_objext
18786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18787 (eval $ac_compile) 2>conftest.er1
18788 ac_status=$?
18789 grep -v '^ *+' conftest.er1 >conftest.err
18790 rm -f conftest.er1
18791 cat conftest.err >&5
18792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18793 (exit $ac_status); } &&
18794 { ac_try='test -z "$ac_cxx_werror_flag"
18795 || test ! -s conftest.err'
18796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18797 (eval $ac_try) 2>&5
18798 ac_status=$?
18799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18800 (exit $ac_status); }; } &&
18801 { ac_try='test -s conftest.$ac_objext'
18802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18803 (eval $ac_try) 2>&5
18804 ac_status=$?
18805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18806 (exit $ac_status); }; }; then
18807 glibcxx_cv_func_finite_use=yes
18808 else
18809 echo "$as_me: failed program was:" >&5
18810 sed 's/^/| /' conftest.$ac_ext >&5
18812 glibcxx_cv_func_finite_use=no
18814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18815 ac_ext=c
18816 ac_cpp='$CPP $CPPFLAGS'
18817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18825 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
18826 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
18828 if test x$glibcxx_cv_func_finite_use = x"yes"; then
18830 for ac_func in finite
18832 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18833 echo "$as_me:$LINENO: checking for $ac_func" >&5
18834 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18835 if eval "test \"\${$as_ac_var+set}\" = set"; then
18836 echo $ECHO_N "(cached) $ECHO_C" >&6
18837 else
18838 if test x$gcc_no_link = xyes; then
18839 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18840 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18841 { (exit 1); exit 1; }; }
18843 cat >conftest.$ac_ext <<_ACEOF
18844 /* confdefs.h. */
18845 _ACEOF
18846 cat confdefs.h >>conftest.$ac_ext
18847 cat >>conftest.$ac_ext <<_ACEOF
18848 /* end confdefs.h. */
18849 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18850 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18851 #define $ac_func innocuous_$ac_func
18853 /* System header to define __stub macros and hopefully few prototypes,
18854 which can conflict with char $ac_func (); below.
18855 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18856 <limits.h> exists even on freestanding compilers. */
18858 #ifdef __STDC__
18859 # include <limits.h>
18860 #else
18861 # include <assert.h>
18862 #endif
18864 #undef $ac_func
18866 /* Override any gcc2 internal prototype to avoid an error. */
18867 #ifdef __cplusplus
18868 extern "C"
18870 #endif
18871 /* We use char because int might match the return type of a gcc2
18872 builtin and then its argument prototype would still apply. */
18873 char $ac_func ();
18874 /* The GNU C library defines this for functions which it implements
18875 to always fail with ENOSYS. Some functions are actually named
18876 something starting with __ and the normal name is an alias. */
18877 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18878 choke me
18879 #else
18880 char (*f) () = $ac_func;
18881 #endif
18882 #ifdef __cplusplus
18884 #endif
18887 main ()
18889 return f != $ac_func;
18891 return 0;
18893 _ACEOF
18894 rm -f conftest.$ac_objext conftest$ac_exeext
18895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18896 (eval $ac_link) 2>conftest.er1
18897 ac_status=$?
18898 grep -v '^ *+' conftest.er1 >conftest.err
18899 rm -f conftest.er1
18900 cat conftest.err >&5
18901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18902 (exit $ac_status); } &&
18903 { ac_try='test -z "$ac_c_werror_flag"
18904 || test ! -s conftest.err'
18905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18906 (eval $ac_try) 2>&5
18907 ac_status=$?
18908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18909 (exit $ac_status); }; } &&
18910 { ac_try='test -s conftest$ac_exeext'
18911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18912 (eval $ac_try) 2>&5
18913 ac_status=$?
18914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18915 (exit $ac_status); }; }; then
18916 eval "$as_ac_var=yes"
18917 else
18918 echo "$as_me: failed program was:" >&5
18919 sed 's/^/| /' conftest.$ac_ext >&5
18921 eval "$as_ac_var=no"
18923 rm -f conftest.err conftest.$ac_objext \
18924 conftest$ac_exeext conftest.$ac_ext
18926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18927 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18928 if test `eval echo '${'$as_ac_var'}'` = yes; then
18929 cat >>confdefs.h <<_ACEOF
18930 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18931 _ACEOF
18934 done
18936 else
18938 echo "$as_me:$LINENO: checking for _finite declaration" >&5
18939 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
18940 if test x${glibcxx_cv_func__finite_use+set} != xset; then
18941 if test "${glibcxx_cv_func__finite_use+set}" = set; then
18942 echo $ECHO_N "(cached) $ECHO_C" >&6
18943 else
18947 ac_ext=cc
18948 ac_cpp='$CXXCPP $CPPFLAGS'
18949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18953 cat >conftest.$ac_ext <<_ACEOF
18954 /* confdefs.h. */
18955 _ACEOF
18956 cat confdefs.h >>conftest.$ac_ext
18957 cat >>conftest.$ac_ext <<_ACEOF
18958 /* end confdefs.h. */
18959 #include <math.h>
18960 #ifdef HAVE_IEEEFP_H
18961 #include <ieeefp.h>
18962 #endif
18965 main ()
18967 _finite(0);
18969 return 0;
18971 _ACEOF
18972 rm -f conftest.$ac_objext
18973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18974 (eval $ac_compile) 2>conftest.er1
18975 ac_status=$?
18976 grep -v '^ *+' conftest.er1 >conftest.err
18977 rm -f conftest.er1
18978 cat conftest.err >&5
18979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18980 (exit $ac_status); } &&
18981 { ac_try='test -z "$ac_cxx_werror_flag"
18982 || test ! -s conftest.err'
18983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18984 (eval $ac_try) 2>&5
18985 ac_status=$?
18986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18987 (exit $ac_status); }; } &&
18988 { ac_try='test -s conftest.$ac_objext'
18989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18990 (eval $ac_try) 2>&5
18991 ac_status=$?
18992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18993 (exit $ac_status); }; }; then
18994 glibcxx_cv_func__finite_use=yes
18995 else
18996 echo "$as_me: failed program was:" >&5
18997 sed 's/^/| /' conftest.$ac_ext >&5
18999 glibcxx_cv_func__finite_use=no
19001 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19002 ac_ext=c
19003 ac_cpp='$CPP $CPPFLAGS'
19004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19012 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
19013 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
19015 if test x$glibcxx_cv_func__finite_use = x"yes"; then
19017 for ac_func in _finite
19019 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19020 echo "$as_me:$LINENO: checking for $ac_func" >&5
19021 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19022 if eval "test \"\${$as_ac_var+set}\" = set"; then
19023 echo $ECHO_N "(cached) $ECHO_C" >&6
19024 else
19025 if test x$gcc_no_link = xyes; then
19026 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19027 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19028 { (exit 1); exit 1; }; }
19030 cat >conftest.$ac_ext <<_ACEOF
19031 /* confdefs.h. */
19032 _ACEOF
19033 cat confdefs.h >>conftest.$ac_ext
19034 cat >>conftest.$ac_ext <<_ACEOF
19035 /* end confdefs.h. */
19036 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19037 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19038 #define $ac_func innocuous_$ac_func
19040 /* System header to define __stub macros and hopefully few prototypes,
19041 which can conflict with char $ac_func (); below.
19042 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19043 <limits.h> exists even on freestanding compilers. */
19045 #ifdef __STDC__
19046 # include <limits.h>
19047 #else
19048 # include <assert.h>
19049 #endif
19051 #undef $ac_func
19053 /* Override any gcc2 internal prototype to avoid an error. */
19054 #ifdef __cplusplus
19055 extern "C"
19057 #endif
19058 /* We use char because int might match the return type of a gcc2
19059 builtin and then its argument prototype would still apply. */
19060 char $ac_func ();
19061 /* The GNU C library defines this for functions which it implements
19062 to always fail with ENOSYS. Some functions are actually named
19063 something starting with __ and the normal name is an alias. */
19064 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19065 choke me
19066 #else
19067 char (*f) () = $ac_func;
19068 #endif
19069 #ifdef __cplusplus
19071 #endif
19074 main ()
19076 return f != $ac_func;
19078 return 0;
19080 _ACEOF
19081 rm -f conftest.$ac_objext conftest$ac_exeext
19082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19083 (eval $ac_link) 2>conftest.er1
19084 ac_status=$?
19085 grep -v '^ *+' conftest.er1 >conftest.err
19086 rm -f conftest.er1
19087 cat conftest.err >&5
19088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19089 (exit $ac_status); } &&
19090 { ac_try='test -z "$ac_c_werror_flag"
19091 || test ! -s conftest.err'
19092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19093 (eval $ac_try) 2>&5
19094 ac_status=$?
19095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19096 (exit $ac_status); }; } &&
19097 { ac_try='test -s conftest$ac_exeext'
19098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19099 (eval $ac_try) 2>&5
19100 ac_status=$?
19101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19102 (exit $ac_status); }; }; then
19103 eval "$as_ac_var=yes"
19104 else
19105 echo "$as_me: failed program was:" >&5
19106 sed 's/^/| /' conftest.$ac_ext >&5
19108 eval "$as_ac_var=no"
19110 rm -f conftest.err conftest.$ac_objext \
19111 conftest$ac_exeext conftest.$ac_ext
19113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19114 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19115 if test `eval echo '${'$as_ac_var'}'` = yes; then
19116 cat >>confdefs.h <<_ACEOF
19117 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19118 _ACEOF
19121 done
19131 echo "$as_me:$LINENO: checking for copysign declaration" >&5
19132 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
19133 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
19134 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
19135 echo $ECHO_N "(cached) $ECHO_C" >&6
19136 else
19140 ac_ext=cc
19141 ac_cpp='$CXXCPP $CPPFLAGS'
19142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19146 cat >conftest.$ac_ext <<_ACEOF
19147 /* confdefs.h. */
19148 _ACEOF
19149 cat confdefs.h >>conftest.$ac_ext
19150 cat >>conftest.$ac_ext <<_ACEOF
19151 /* end confdefs.h. */
19152 #include <math.h>
19154 main ()
19156 copysign(0, 0);
19158 return 0;
19160 _ACEOF
19161 rm -f conftest.$ac_objext
19162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19163 (eval $ac_compile) 2>conftest.er1
19164 ac_status=$?
19165 grep -v '^ *+' conftest.er1 >conftest.err
19166 rm -f conftest.er1
19167 cat conftest.err >&5
19168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19169 (exit $ac_status); } &&
19170 { ac_try='test -z "$ac_cxx_werror_flag"
19171 || test ! -s conftest.err'
19172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19173 (eval $ac_try) 2>&5
19174 ac_status=$?
19175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19176 (exit $ac_status); }; } &&
19177 { ac_try='test -s conftest.$ac_objext'
19178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19179 (eval $ac_try) 2>&5
19180 ac_status=$?
19181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19182 (exit $ac_status); }; }; then
19183 glibcxx_cv_func_copysign_use=yes
19184 else
19185 echo "$as_me: failed program was:" >&5
19186 sed 's/^/| /' conftest.$ac_ext >&5
19188 glibcxx_cv_func_copysign_use=no
19190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19191 ac_ext=c
19192 ac_cpp='$CPP $CPPFLAGS'
19193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19201 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
19202 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
19204 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
19206 for ac_func in copysign
19208 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19209 echo "$as_me:$LINENO: checking for $ac_func" >&5
19210 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19211 if eval "test \"\${$as_ac_var+set}\" = set"; then
19212 echo $ECHO_N "(cached) $ECHO_C" >&6
19213 else
19214 if test x$gcc_no_link = xyes; then
19215 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19216 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19217 { (exit 1); exit 1; }; }
19219 cat >conftest.$ac_ext <<_ACEOF
19220 /* confdefs.h. */
19221 _ACEOF
19222 cat confdefs.h >>conftest.$ac_ext
19223 cat >>conftest.$ac_ext <<_ACEOF
19224 /* end confdefs.h. */
19225 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19226 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19227 #define $ac_func innocuous_$ac_func
19229 /* System header to define __stub macros and hopefully few prototypes,
19230 which can conflict with char $ac_func (); below.
19231 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19232 <limits.h> exists even on freestanding compilers. */
19234 #ifdef __STDC__
19235 # include <limits.h>
19236 #else
19237 # include <assert.h>
19238 #endif
19240 #undef $ac_func
19242 /* Override any gcc2 internal prototype to avoid an error. */
19243 #ifdef __cplusplus
19244 extern "C"
19246 #endif
19247 /* We use char because int might match the return type of a gcc2
19248 builtin and then its argument prototype would still apply. */
19249 char $ac_func ();
19250 /* The GNU C library defines this for functions which it implements
19251 to always fail with ENOSYS. Some functions are actually named
19252 something starting with __ and the normal name is an alias. */
19253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19254 choke me
19255 #else
19256 char (*f) () = $ac_func;
19257 #endif
19258 #ifdef __cplusplus
19260 #endif
19263 main ()
19265 return f != $ac_func;
19267 return 0;
19269 _ACEOF
19270 rm -f conftest.$ac_objext conftest$ac_exeext
19271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19272 (eval $ac_link) 2>conftest.er1
19273 ac_status=$?
19274 grep -v '^ *+' conftest.er1 >conftest.err
19275 rm -f conftest.er1
19276 cat conftest.err >&5
19277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19278 (exit $ac_status); } &&
19279 { ac_try='test -z "$ac_c_werror_flag"
19280 || test ! -s conftest.err'
19281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19282 (eval $ac_try) 2>&5
19283 ac_status=$?
19284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19285 (exit $ac_status); }; } &&
19286 { ac_try='test -s conftest$ac_exeext'
19287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19288 (eval $ac_try) 2>&5
19289 ac_status=$?
19290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19291 (exit $ac_status); }; }; then
19292 eval "$as_ac_var=yes"
19293 else
19294 echo "$as_me: failed program was:" >&5
19295 sed 's/^/| /' conftest.$ac_ext >&5
19297 eval "$as_ac_var=no"
19299 rm -f conftest.err conftest.$ac_objext \
19300 conftest$ac_exeext conftest.$ac_ext
19302 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19303 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19304 if test `eval echo '${'$as_ac_var'}'` = yes; then
19305 cat >>confdefs.h <<_ACEOF
19306 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19307 _ACEOF
19310 done
19312 else
19314 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
19315 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
19316 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
19317 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
19318 echo $ECHO_N "(cached) $ECHO_C" >&6
19319 else
19323 ac_ext=cc
19324 ac_cpp='$CXXCPP $CPPFLAGS'
19325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19329 cat >conftest.$ac_ext <<_ACEOF
19330 /* confdefs.h. */
19331 _ACEOF
19332 cat confdefs.h >>conftest.$ac_ext
19333 cat >>conftest.$ac_ext <<_ACEOF
19334 /* end confdefs.h. */
19335 #include <math.h>
19337 main ()
19339 _copysign(0, 0);
19341 return 0;
19343 _ACEOF
19344 rm -f conftest.$ac_objext
19345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19346 (eval $ac_compile) 2>conftest.er1
19347 ac_status=$?
19348 grep -v '^ *+' conftest.er1 >conftest.err
19349 rm -f conftest.er1
19350 cat conftest.err >&5
19351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19352 (exit $ac_status); } &&
19353 { ac_try='test -z "$ac_cxx_werror_flag"
19354 || test ! -s conftest.err'
19355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19356 (eval $ac_try) 2>&5
19357 ac_status=$?
19358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19359 (exit $ac_status); }; } &&
19360 { ac_try='test -s conftest.$ac_objext'
19361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19362 (eval $ac_try) 2>&5
19363 ac_status=$?
19364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19365 (exit $ac_status); }; }; then
19366 glibcxx_cv_func__copysign_use=yes
19367 else
19368 echo "$as_me: failed program was:" >&5
19369 sed 's/^/| /' conftest.$ac_ext >&5
19371 glibcxx_cv_func__copysign_use=no
19373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19374 ac_ext=c
19375 ac_cpp='$CPP $CPPFLAGS'
19376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19384 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
19385 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
19387 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
19389 for ac_func in _copysign
19391 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19392 echo "$as_me:$LINENO: checking for $ac_func" >&5
19393 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19394 if eval "test \"\${$as_ac_var+set}\" = set"; then
19395 echo $ECHO_N "(cached) $ECHO_C" >&6
19396 else
19397 if test x$gcc_no_link = xyes; then
19398 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19399 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19400 { (exit 1); exit 1; }; }
19402 cat >conftest.$ac_ext <<_ACEOF
19403 /* confdefs.h. */
19404 _ACEOF
19405 cat confdefs.h >>conftest.$ac_ext
19406 cat >>conftest.$ac_ext <<_ACEOF
19407 /* end confdefs.h. */
19408 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19409 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19410 #define $ac_func innocuous_$ac_func
19412 /* System header to define __stub macros and hopefully few prototypes,
19413 which can conflict with char $ac_func (); below.
19414 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19415 <limits.h> exists even on freestanding compilers. */
19417 #ifdef __STDC__
19418 # include <limits.h>
19419 #else
19420 # include <assert.h>
19421 #endif
19423 #undef $ac_func
19425 /* Override any gcc2 internal prototype to avoid an error. */
19426 #ifdef __cplusplus
19427 extern "C"
19429 #endif
19430 /* We use char because int might match the return type of a gcc2
19431 builtin and then its argument prototype would still apply. */
19432 char $ac_func ();
19433 /* The GNU C library defines this for functions which it implements
19434 to always fail with ENOSYS. Some functions are actually named
19435 something starting with __ and the normal name is an alias. */
19436 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19437 choke me
19438 #else
19439 char (*f) () = $ac_func;
19440 #endif
19441 #ifdef __cplusplus
19443 #endif
19446 main ()
19448 return f != $ac_func;
19450 return 0;
19452 _ACEOF
19453 rm -f conftest.$ac_objext conftest$ac_exeext
19454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19455 (eval $ac_link) 2>conftest.er1
19456 ac_status=$?
19457 grep -v '^ *+' conftest.er1 >conftest.err
19458 rm -f conftest.er1
19459 cat conftest.err >&5
19460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19461 (exit $ac_status); } &&
19462 { ac_try='test -z "$ac_c_werror_flag"
19463 || test ! -s conftest.err'
19464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19465 (eval $ac_try) 2>&5
19466 ac_status=$?
19467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19468 (exit $ac_status); }; } &&
19469 { ac_try='test -s conftest$ac_exeext'
19470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19471 (eval $ac_try) 2>&5
19472 ac_status=$?
19473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19474 (exit $ac_status); }; }; then
19475 eval "$as_ac_var=yes"
19476 else
19477 echo "$as_me: failed program was:" >&5
19478 sed 's/^/| /' conftest.$ac_ext >&5
19480 eval "$as_ac_var=no"
19482 rm -f conftest.err conftest.$ac_objext \
19483 conftest$ac_exeext conftest.$ac_ext
19485 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19486 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19487 if test `eval echo '${'$as_ac_var'}'` = yes; then
19488 cat >>confdefs.h <<_ACEOF
19489 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19490 _ACEOF
19493 done
19503 echo "$as_me:$LINENO: checking for sincos declaration" >&5
19504 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
19505 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
19506 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
19507 echo $ECHO_N "(cached) $ECHO_C" >&6
19508 else
19512 ac_ext=cc
19513 ac_cpp='$CXXCPP $CPPFLAGS'
19514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19518 cat >conftest.$ac_ext <<_ACEOF
19519 /* confdefs.h. */
19520 _ACEOF
19521 cat confdefs.h >>conftest.$ac_ext
19522 cat >>conftest.$ac_ext <<_ACEOF
19523 /* end confdefs.h. */
19524 #include <math.h>
19526 main ()
19528 sincos(0, 0, 0);
19530 return 0;
19532 _ACEOF
19533 rm -f conftest.$ac_objext
19534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19535 (eval $ac_compile) 2>conftest.er1
19536 ac_status=$?
19537 grep -v '^ *+' conftest.er1 >conftest.err
19538 rm -f conftest.er1
19539 cat conftest.err >&5
19540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19541 (exit $ac_status); } &&
19542 { ac_try='test -z "$ac_cxx_werror_flag"
19543 || test ! -s conftest.err'
19544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19545 (eval $ac_try) 2>&5
19546 ac_status=$?
19547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19548 (exit $ac_status); }; } &&
19549 { ac_try='test -s conftest.$ac_objext'
19550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19551 (eval $ac_try) 2>&5
19552 ac_status=$?
19553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19554 (exit $ac_status); }; }; then
19555 glibcxx_cv_func_sincos_use=yes
19556 else
19557 echo "$as_me: failed program was:" >&5
19558 sed 's/^/| /' conftest.$ac_ext >&5
19560 glibcxx_cv_func_sincos_use=no
19562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19563 ac_ext=c
19564 ac_cpp='$CPP $CPPFLAGS'
19565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19573 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
19574 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
19576 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
19578 for ac_func in sincos
19580 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19581 echo "$as_me:$LINENO: checking for $ac_func" >&5
19582 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19583 if eval "test \"\${$as_ac_var+set}\" = set"; then
19584 echo $ECHO_N "(cached) $ECHO_C" >&6
19585 else
19586 if test x$gcc_no_link = xyes; then
19587 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19588 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19589 { (exit 1); exit 1; }; }
19591 cat >conftest.$ac_ext <<_ACEOF
19592 /* confdefs.h. */
19593 _ACEOF
19594 cat confdefs.h >>conftest.$ac_ext
19595 cat >>conftest.$ac_ext <<_ACEOF
19596 /* end confdefs.h. */
19597 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19598 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19599 #define $ac_func innocuous_$ac_func
19601 /* System header to define __stub macros and hopefully few prototypes,
19602 which can conflict with char $ac_func (); below.
19603 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19604 <limits.h> exists even on freestanding compilers. */
19606 #ifdef __STDC__
19607 # include <limits.h>
19608 #else
19609 # include <assert.h>
19610 #endif
19612 #undef $ac_func
19614 /* Override any gcc2 internal prototype to avoid an error. */
19615 #ifdef __cplusplus
19616 extern "C"
19618 #endif
19619 /* We use char because int might match the return type of a gcc2
19620 builtin and then its argument prototype would still apply. */
19621 char $ac_func ();
19622 /* The GNU C library defines this for functions which it implements
19623 to always fail with ENOSYS. Some functions are actually named
19624 something starting with __ and the normal name is an alias. */
19625 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19626 choke me
19627 #else
19628 char (*f) () = $ac_func;
19629 #endif
19630 #ifdef __cplusplus
19632 #endif
19635 main ()
19637 return f != $ac_func;
19639 return 0;
19641 _ACEOF
19642 rm -f conftest.$ac_objext conftest$ac_exeext
19643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19644 (eval $ac_link) 2>conftest.er1
19645 ac_status=$?
19646 grep -v '^ *+' conftest.er1 >conftest.err
19647 rm -f conftest.er1
19648 cat conftest.err >&5
19649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19650 (exit $ac_status); } &&
19651 { ac_try='test -z "$ac_c_werror_flag"
19652 || test ! -s conftest.err'
19653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19654 (eval $ac_try) 2>&5
19655 ac_status=$?
19656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19657 (exit $ac_status); }; } &&
19658 { ac_try='test -s conftest$ac_exeext'
19659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19660 (eval $ac_try) 2>&5
19661 ac_status=$?
19662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19663 (exit $ac_status); }; }; then
19664 eval "$as_ac_var=yes"
19665 else
19666 echo "$as_me: failed program was:" >&5
19667 sed 's/^/| /' conftest.$ac_ext >&5
19669 eval "$as_ac_var=no"
19671 rm -f conftest.err conftest.$ac_objext \
19672 conftest$ac_exeext conftest.$ac_ext
19674 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19675 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19676 if test `eval echo '${'$as_ac_var'}'` = yes; then
19677 cat >>confdefs.h <<_ACEOF
19678 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19679 _ACEOF
19682 done
19684 else
19686 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
19687 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
19688 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
19689 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
19690 echo $ECHO_N "(cached) $ECHO_C" >&6
19691 else
19695 ac_ext=cc
19696 ac_cpp='$CXXCPP $CPPFLAGS'
19697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19701 cat >conftest.$ac_ext <<_ACEOF
19702 /* confdefs.h. */
19703 _ACEOF
19704 cat confdefs.h >>conftest.$ac_ext
19705 cat >>conftest.$ac_ext <<_ACEOF
19706 /* end confdefs.h. */
19707 #include <math.h>
19709 main ()
19711 _sincos(0, 0, 0);
19713 return 0;
19715 _ACEOF
19716 rm -f conftest.$ac_objext
19717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19718 (eval $ac_compile) 2>conftest.er1
19719 ac_status=$?
19720 grep -v '^ *+' conftest.er1 >conftest.err
19721 rm -f conftest.er1
19722 cat conftest.err >&5
19723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19724 (exit $ac_status); } &&
19725 { ac_try='test -z "$ac_cxx_werror_flag"
19726 || test ! -s conftest.err'
19727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19728 (eval $ac_try) 2>&5
19729 ac_status=$?
19730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19731 (exit $ac_status); }; } &&
19732 { ac_try='test -s conftest.$ac_objext'
19733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19734 (eval $ac_try) 2>&5
19735 ac_status=$?
19736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19737 (exit $ac_status); }; }; then
19738 glibcxx_cv_func__sincos_use=yes
19739 else
19740 echo "$as_me: failed program was:" >&5
19741 sed 's/^/| /' conftest.$ac_ext >&5
19743 glibcxx_cv_func__sincos_use=no
19745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19746 ac_ext=c
19747 ac_cpp='$CPP $CPPFLAGS'
19748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19756 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
19757 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
19759 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
19761 for ac_func in _sincos
19763 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19764 echo "$as_me:$LINENO: checking for $ac_func" >&5
19765 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19766 if eval "test \"\${$as_ac_var+set}\" = set"; then
19767 echo $ECHO_N "(cached) $ECHO_C" >&6
19768 else
19769 if test x$gcc_no_link = xyes; then
19770 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19771 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19772 { (exit 1); exit 1; }; }
19774 cat >conftest.$ac_ext <<_ACEOF
19775 /* confdefs.h. */
19776 _ACEOF
19777 cat confdefs.h >>conftest.$ac_ext
19778 cat >>conftest.$ac_ext <<_ACEOF
19779 /* end confdefs.h. */
19780 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19781 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19782 #define $ac_func innocuous_$ac_func
19784 /* System header to define __stub macros and hopefully few prototypes,
19785 which can conflict with char $ac_func (); below.
19786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19787 <limits.h> exists even on freestanding compilers. */
19789 #ifdef __STDC__
19790 # include <limits.h>
19791 #else
19792 # include <assert.h>
19793 #endif
19795 #undef $ac_func
19797 /* Override any gcc2 internal prototype to avoid an error. */
19798 #ifdef __cplusplus
19799 extern "C"
19801 #endif
19802 /* We use char because int might match the return type of a gcc2
19803 builtin and then its argument prototype would still apply. */
19804 char $ac_func ();
19805 /* The GNU C library defines this for functions which it implements
19806 to always fail with ENOSYS. Some functions are actually named
19807 something starting with __ and the normal name is an alias. */
19808 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19809 choke me
19810 #else
19811 char (*f) () = $ac_func;
19812 #endif
19813 #ifdef __cplusplus
19815 #endif
19818 main ()
19820 return f != $ac_func;
19822 return 0;
19824 _ACEOF
19825 rm -f conftest.$ac_objext conftest$ac_exeext
19826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19827 (eval $ac_link) 2>conftest.er1
19828 ac_status=$?
19829 grep -v '^ *+' conftest.er1 >conftest.err
19830 rm -f conftest.er1
19831 cat conftest.err >&5
19832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19833 (exit $ac_status); } &&
19834 { ac_try='test -z "$ac_c_werror_flag"
19835 || test ! -s conftest.err'
19836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19837 (eval $ac_try) 2>&5
19838 ac_status=$?
19839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19840 (exit $ac_status); }; } &&
19841 { ac_try='test -s conftest$ac_exeext'
19842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19843 (eval $ac_try) 2>&5
19844 ac_status=$?
19845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19846 (exit $ac_status); }; }; then
19847 eval "$as_ac_var=yes"
19848 else
19849 echo "$as_me: failed program was:" >&5
19850 sed 's/^/| /' conftest.$ac_ext >&5
19852 eval "$as_ac_var=no"
19854 rm -f conftest.err conftest.$ac_objext \
19855 conftest$ac_exeext conftest.$ac_ext
19857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19858 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19859 if test `eval echo '${'$as_ac_var'}'` = yes; then
19860 cat >>confdefs.h <<_ACEOF
19861 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19862 _ACEOF
19865 done
19875 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
19876 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
19877 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
19878 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
19879 echo $ECHO_N "(cached) $ECHO_C" >&6
19880 else
19884 ac_ext=cc
19885 ac_cpp='$CXXCPP $CPPFLAGS'
19886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19890 cat >conftest.$ac_ext <<_ACEOF
19891 /* confdefs.h. */
19892 _ACEOF
19893 cat confdefs.h >>conftest.$ac_ext
19894 cat >>conftest.$ac_ext <<_ACEOF
19895 /* end confdefs.h. */
19896 #include <math.h>
19897 #ifdef HAVE_IEEEFP_H
19898 #include <ieeefp.h>
19899 #endif
19902 main ()
19904 fpclass(0);
19906 return 0;
19908 _ACEOF
19909 rm -f conftest.$ac_objext
19910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19911 (eval $ac_compile) 2>conftest.er1
19912 ac_status=$?
19913 grep -v '^ *+' conftest.er1 >conftest.err
19914 rm -f conftest.er1
19915 cat conftest.err >&5
19916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19917 (exit $ac_status); } &&
19918 { ac_try='test -z "$ac_cxx_werror_flag"
19919 || test ! -s conftest.err'
19920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19921 (eval $ac_try) 2>&5
19922 ac_status=$?
19923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19924 (exit $ac_status); }; } &&
19925 { ac_try='test -s conftest.$ac_objext'
19926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19927 (eval $ac_try) 2>&5
19928 ac_status=$?
19929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19930 (exit $ac_status); }; }; then
19931 glibcxx_cv_func_fpclass_use=yes
19932 else
19933 echo "$as_me: failed program was:" >&5
19934 sed 's/^/| /' conftest.$ac_ext >&5
19936 glibcxx_cv_func_fpclass_use=no
19938 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19939 ac_ext=c
19940 ac_cpp='$CPP $CPPFLAGS'
19941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19949 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
19950 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
19952 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
19954 for ac_func in fpclass
19956 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19957 echo "$as_me:$LINENO: checking for $ac_func" >&5
19958 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19959 if eval "test \"\${$as_ac_var+set}\" = set"; then
19960 echo $ECHO_N "(cached) $ECHO_C" >&6
19961 else
19962 if test x$gcc_no_link = xyes; then
19963 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19964 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19965 { (exit 1); exit 1; }; }
19967 cat >conftest.$ac_ext <<_ACEOF
19968 /* confdefs.h. */
19969 _ACEOF
19970 cat confdefs.h >>conftest.$ac_ext
19971 cat >>conftest.$ac_ext <<_ACEOF
19972 /* end confdefs.h. */
19973 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19974 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19975 #define $ac_func innocuous_$ac_func
19977 /* System header to define __stub macros and hopefully few prototypes,
19978 which can conflict with char $ac_func (); below.
19979 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19980 <limits.h> exists even on freestanding compilers. */
19982 #ifdef __STDC__
19983 # include <limits.h>
19984 #else
19985 # include <assert.h>
19986 #endif
19988 #undef $ac_func
19990 /* Override any gcc2 internal prototype to avoid an error. */
19991 #ifdef __cplusplus
19992 extern "C"
19994 #endif
19995 /* We use char because int might match the return type of a gcc2
19996 builtin and then its argument prototype would still apply. */
19997 char $ac_func ();
19998 /* The GNU C library defines this for functions which it implements
19999 to always fail with ENOSYS. Some functions are actually named
20000 something starting with __ and the normal name is an alias. */
20001 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20002 choke me
20003 #else
20004 char (*f) () = $ac_func;
20005 #endif
20006 #ifdef __cplusplus
20008 #endif
20011 main ()
20013 return f != $ac_func;
20015 return 0;
20017 _ACEOF
20018 rm -f conftest.$ac_objext conftest$ac_exeext
20019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20020 (eval $ac_link) 2>conftest.er1
20021 ac_status=$?
20022 grep -v '^ *+' conftest.er1 >conftest.err
20023 rm -f conftest.er1
20024 cat conftest.err >&5
20025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20026 (exit $ac_status); } &&
20027 { ac_try='test -z "$ac_c_werror_flag"
20028 || test ! -s conftest.err'
20029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20030 (eval $ac_try) 2>&5
20031 ac_status=$?
20032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20033 (exit $ac_status); }; } &&
20034 { ac_try='test -s conftest$ac_exeext'
20035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20036 (eval $ac_try) 2>&5
20037 ac_status=$?
20038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20039 (exit $ac_status); }; }; then
20040 eval "$as_ac_var=yes"
20041 else
20042 echo "$as_me: failed program was:" >&5
20043 sed 's/^/| /' conftest.$ac_ext >&5
20045 eval "$as_ac_var=no"
20047 rm -f conftest.err conftest.$ac_objext \
20048 conftest$ac_exeext conftest.$ac_ext
20050 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20051 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20052 if test `eval echo '${'$as_ac_var'}'` = yes; then
20053 cat >>confdefs.h <<_ACEOF
20054 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20055 _ACEOF
20058 done
20060 else
20062 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
20063 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
20064 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
20065 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
20066 echo $ECHO_N "(cached) $ECHO_C" >&6
20067 else
20071 ac_ext=cc
20072 ac_cpp='$CXXCPP $CPPFLAGS'
20073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20077 cat >conftest.$ac_ext <<_ACEOF
20078 /* confdefs.h. */
20079 _ACEOF
20080 cat confdefs.h >>conftest.$ac_ext
20081 cat >>conftest.$ac_ext <<_ACEOF
20082 /* end confdefs.h. */
20083 #include <math.h>
20084 #ifdef HAVE_IEEEFP_H
20085 #include <ieeefp.h>
20086 #endif
20089 main ()
20091 _fpclass(0);
20093 return 0;
20095 _ACEOF
20096 rm -f conftest.$ac_objext
20097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20098 (eval $ac_compile) 2>conftest.er1
20099 ac_status=$?
20100 grep -v '^ *+' conftest.er1 >conftest.err
20101 rm -f conftest.er1
20102 cat conftest.err >&5
20103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20104 (exit $ac_status); } &&
20105 { ac_try='test -z "$ac_cxx_werror_flag"
20106 || test ! -s conftest.err'
20107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20108 (eval $ac_try) 2>&5
20109 ac_status=$?
20110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20111 (exit $ac_status); }; } &&
20112 { ac_try='test -s conftest.$ac_objext'
20113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20114 (eval $ac_try) 2>&5
20115 ac_status=$?
20116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20117 (exit $ac_status); }; }; then
20118 glibcxx_cv_func__fpclass_use=yes
20119 else
20120 echo "$as_me: failed program was:" >&5
20121 sed 's/^/| /' conftest.$ac_ext >&5
20123 glibcxx_cv_func__fpclass_use=no
20125 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20126 ac_ext=c
20127 ac_cpp='$CPP $CPPFLAGS'
20128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20136 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
20137 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
20139 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
20141 for ac_func in _fpclass
20143 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20144 echo "$as_me:$LINENO: checking for $ac_func" >&5
20145 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20146 if eval "test \"\${$as_ac_var+set}\" = set"; then
20147 echo $ECHO_N "(cached) $ECHO_C" >&6
20148 else
20149 if test x$gcc_no_link = xyes; then
20150 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20151 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20152 { (exit 1); exit 1; }; }
20154 cat >conftest.$ac_ext <<_ACEOF
20155 /* confdefs.h. */
20156 _ACEOF
20157 cat confdefs.h >>conftest.$ac_ext
20158 cat >>conftest.$ac_ext <<_ACEOF
20159 /* end confdefs.h. */
20160 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20161 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20162 #define $ac_func innocuous_$ac_func
20164 /* System header to define __stub macros and hopefully few prototypes,
20165 which can conflict with char $ac_func (); below.
20166 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20167 <limits.h> exists even on freestanding compilers. */
20169 #ifdef __STDC__
20170 # include <limits.h>
20171 #else
20172 # include <assert.h>
20173 #endif
20175 #undef $ac_func
20177 /* Override any gcc2 internal prototype to avoid an error. */
20178 #ifdef __cplusplus
20179 extern "C"
20181 #endif
20182 /* We use char because int might match the return type of a gcc2
20183 builtin and then its argument prototype would still apply. */
20184 char $ac_func ();
20185 /* The GNU C library defines this for functions which it implements
20186 to always fail with ENOSYS. Some functions are actually named
20187 something starting with __ and the normal name is an alias. */
20188 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20189 choke me
20190 #else
20191 char (*f) () = $ac_func;
20192 #endif
20193 #ifdef __cplusplus
20195 #endif
20198 main ()
20200 return f != $ac_func;
20202 return 0;
20204 _ACEOF
20205 rm -f conftest.$ac_objext conftest$ac_exeext
20206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20207 (eval $ac_link) 2>conftest.er1
20208 ac_status=$?
20209 grep -v '^ *+' conftest.er1 >conftest.err
20210 rm -f conftest.er1
20211 cat conftest.err >&5
20212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20213 (exit $ac_status); } &&
20214 { ac_try='test -z "$ac_c_werror_flag"
20215 || test ! -s conftest.err'
20216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20217 (eval $ac_try) 2>&5
20218 ac_status=$?
20219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20220 (exit $ac_status); }; } &&
20221 { ac_try='test -s conftest$ac_exeext'
20222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20223 (eval $ac_try) 2>&5
20224 ac_status=$?
20225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20226 (exit $ac_status); }; }; then
20227 eval "$as_ac_var=yes"
20228 else
20229 echo "$as_me: failed program was:" >&5
20230 sed 's/^/| /' conftest.$ac_ext >&5
20232 eval "$as_ac_var=no"
20234 rm -f conftest.err conftest.$ac_objext \
20235 conftest$ac_exeext conftest.$ac_ext
20237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20238 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20239 if test `eval echo '${'$as_ac_var'}'` = yes; then
20240 cat >>confdefs.h <<_ACEOF
20241 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20242 _ACEOF
20245 done
20255 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
20256 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
20257 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
20258 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
20259 echo $ECHO_N "(cached) $ECHO_C" >&6
20260 else
20264 ac_ext=cc
20265 ac_cpp='$CXXCPP $CPPFLAGS'
20266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20270 cat >conftest.$ac_ext <<_ACEOF
20271 /* confdefs.h. */
20272 _ACEOF
20273 cat confdefs.h >>conftest.$ac_ext
20274 cat >>conftest.$ac_ext <<_ACEOF
20275 /* end confdefs.h. */
20276 #include <math.h>
20277 #ifdef HAVE_IEEEFP_H
20278 #include <ieeefp.h>
20279 #endif
20282 main ()
20284 qfpclass(0);
20286 return 0;
20288 _ACEOF
20289 rm -f conftest.$ac_objext
20290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20291 (eval $ac_compile) 2>conftest.er1
20292 ac_status=$?
20293 grep -v '^ *+' conftest.er1 >conftest.err
20294 rm -f conftest.er1
20295 cat conftest.err >&5
20296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20297 (exit $ac_status); } &&
20298 { ac_try='test -z "$ac_cxx_werror_flag"
20299 || test ! -s conftest.err'
20300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20301 (eval $ac_try) 2>&5
20302 ac_status=$?
20303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20304 (exit $ac_status); }; } &&
20305 { ac_try='test -s conftest.$ac_objext'
20306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20307 (eval $ac_try) 2>&5
20308 ac_status=$?
20309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20310 (exit $ac_status); }; }; then
20311 glibcxx_cv_func_qfpclass_use=yes
20312 else
20313 echo "$as_me: failed program was:" >&5
20314 sed 's/^/| /' conftest.$ac_ext >&5
20316 glibcxx_cv_func_qfpclass_use=no
20318 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20319 ac_ext=c
20320 ac_cpp='$CPP $CPPFLAGS'
20321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20329 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
20330 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
20332 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
20334 for ac_func in qfpclass
20336 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20337 echo "$as_me:$LINENO: checking for $ac_func" >&5
20338 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20339 if eval "test \"\${$as_ac_var+set}\" = set"; then
20340 echo $ECHO_N "(cached) $ECHO_C" >&6
20341 else
20342 if test x$gcc_no_link = xyes; then
20343 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20344 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20345 { (exit 1); exit 1; }; }
20347 cat >conftest.$ac_ext <<_ACEOF
20348 /* confdefs.h. */
20349 _ACEOF
20350 cat confdefs.h >>conftest.$ac_ext
20351 cat >>conftest.$ac_ext <<_ACEOF
20352 /* end confdefs.h. */
20353 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20354 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20355 #define $ac_func innocuous_$ac_func
20357 /* System header to define __stub macros and hopefully few prototypes,
20358 which can conflict with char $ac_func (); below.
20359 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20360 <limits.h> exists even on freestanding compilers. */
20362 #ifdef __STDC__
20363 # include <limits.h>
20364 #else
20365 # include <assert.h>
20366 #endif
20368 #undef $ac_func
20370 /* Override any gcc2 internal prototype to avoid an error. */
20371 #ifdef __cplusplus
20372 extern "C"
20374 #endif
20375 /* We use char because int might match the return type of a gcc2
20376 builtin and then its argument prototype would still apply. */
20377 char $ac_func ();
20378 /* The GNU C library defines this for functions which it implements
20379 to always fail with ENOSYS. Some functions are actually named
20380 something starting with __ and the normal name is an alias. */
20381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20382 choke me
20383 #else
20384 char (*f) () = $ac_func;
20385 #endif
20386 #ifdef __cplusplus
20388 #endif
20391 main ()
20393 return f != $ac_func;
20395 return 0;
20397 _ACEOF
20398 rm -f conftest.$ac_objext conftest$ac_exeext
20399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20400 (eval $ac_link) 2>conftest.er1
20401 ac_status=$?
20402 grep -v '^ *+' conftest.er1 >conftest.err
20403 rm -f conftest.er1
20404 cat conftest.err >&5
20405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20406 (exit $ac_status); } &&
20407 { ac_try='test -z "$ac_c_werror_flag"
20408 || test ! -s conftest.err'
20409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20410 (eval $ac_try) 2>&5
20411 ac_status=$?
20412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20413 (exit $ac_status); }; } &&
20414 { ac_try='test -s conftest$ac_exeext'
20415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20416 (eval $ac_try) 2>&5
20417 ac_status=$?
20418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20419 (exit $ac_status); }; }; then
20420 eval "$as_ac_var=yes"
20421 else
20422 echo "$as_me: failed program was:" >&5
20423 sed 's/^/| /' conftest.$ac_ext >&5
20425 eval "$as_ac_var=no"
20427 rm -f conftest.err conftest.$ac_objext \
20428 conftest$ac_exeext conftest.$ac_ext
20430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20431 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20432 if test `eval echo '${'$as_ac_var'}'` = yes; then
20433 cat >>confdefs.h <<_ACEOF
20434 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20435 _ACEOF
20438 done
20440 else
20442 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
20443 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
20444 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
20445 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
20446 echo $ECHO_N "(cached) $ECHO_C" >&6
20447 else
20451 ac_ext=cc
20452 ac_cpp='$CXXCPP $CPPFLAGS'
20453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20457 cat >conftest.$ac_ext <<_ACEOF
20458 /* confdefs.h. */
20459 _ACEOF
20460 cat confdefs.h >>conftest.$ac_ext
20461 cat >>conftest.$ac_ext <<_ACEOF
20462 /* end confdefs.h. */
20463 #include <math.h>
20464 #ifdef HAVE_IEEEFP_H
20465 #include <ieeefp.h>
20466 #endif
20469 main ()
20471 _qfpclass(0);
20473 return 0;
20475 _ACEOF
20476 rm -f conftest.$ac_objext
20477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20478 (eval $ac_compile) 2>conftest.er1
20479 ac_status=$?
20480 grep -v '^ *+' conftest.er1 >conftest.err
20481 rm -f conftest.er1
20482 cat conftest.err >&5
20483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20484 (exit $ac_status); } &&
20485 { ac_try='test -z "$ac_cxx_werror_flag"
20486 || test ! -s conftest.err'
20487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20488 (eval $ac_try) 2>&5
20489 ac_status=$?
20490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20491 (exit $ac_status); }; } &&
20492 { ac_try='test -s conftest.$ac_objext'
20493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20494 (eval $ac_try) 2>&5
20495 ac_status=$?
20496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20497 (exit $ac_status); }; }; then
20498 glibcxx_cv_func__qfpclass_use=yes
20499 else
20500 echo "$as_me: failed program was:" >&5
20501 sed 's/^/| /' conftest.$ac_ext >&5
20503 glibcxx_cv_func__qfpclass_use=no
20505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20506 ac_ext=c
20507 ac_cpp='$CPP $CPPFLAGS'
20508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20516 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
20517 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
20519 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
20521 for ac_func in _qfpclass
20523 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20524 echo "$as_me:$LINENO: checking for $ac_func" >&5
20525 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20526 if eval "test \"\${$as_ac_var+set}\" = set"; then
20527 echo $ECHO_N "(cached) $ECHO_C" >&6
20528 else
20529 if test x$gcc_no_link = xyes; then
20530 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20531 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20532 { (exit 1); exit 1; }; }
20534 cat >conftest.$ac_ext <<_ACEOF
20535 /* confdefs.h. */
20536 _ACEOF
20537 cat confdefs.h >>conftest.$ac_ext
20538 cat >>conftest.$ac_ext <<_ACEOF
20539 /* end confdefs.h. */
20540 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20541 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20542 #define $ac_func innocuous_$ac_func
20544 /* System header to define __stub macros and hopefully few prototypes,
20545 which can conflict with char $ac_func (); below.
20546 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20547 <limits.h> exists even on freestanding compilers. */
20549 #ifdef __STDC__
20550 # include <limits.h>
20551 #else
20552 # include <assert.h>
20553 #endif
20555 #undef $ac_func
20557 /* Override any gcc2 internal prototype to avoid an error. */
20558 #ifdef __cplusplus
20559 extern "C"
20561 #endif
20562 /* We use char because int might match the return type of a gcc2
20563 builtin and then its argument prototype would still apply. */
20564 char $ac_func ();
20565 /* The GNU C library defines this for functions which it implements
20566 to always fail with ENOSYS. Some functions are actually named
20567 something starting with __ and the normal name is an alias. */
20568 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20569 choke me
20570 #else
20571 char (*f) () = $ac_func;
20572 #endif
20573 #ifdef __cplusplus
20575 #endif
20578 main ()
20580 return f != $ac_func;
20582 return 0;
20584 _ACEOF
20585 rm -f conftest.$ac_objext conftest$ac_exeext
20586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20587 (eval $ac_link) 2>conftest.er1
20588 ac_status=$?
20589 grep -v '^ *+' conftest.er1 >conftest.err
20590 rm -f conftest.er1
20591 cat conftest.err >&5
20592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20593 (exit $ac_status); } &&
20594 { ac_try='test -z "$ac_c_werror_flag"
20595 || test ! -s conftest.err'
20596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20597 (eval $ac_try) 2>&5
20598 ac_status=$?
20599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20600 (exit $ac_status); }; } &&
20601 { ac_try='test -s conftest$ac_exeext'
20602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20603 (eval $ac_try) 2>&5
20604 ac_status=$?
20605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20606 (exit $ac_status); }; }; then
20607 eval "$as_ac_var=yes"
20608 else
20609 echo "$as_me: failed program was:" >&5
20610 sed 's/^/| /' conftest.$ac_ext >&5
20612 eval "$as_ac_var=no"
20614 rm -f conftest.err conftest.$ac_objext \
20615 conftest$ac_exeext conftest.$ac_ext
20617 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20618 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20619 if test `eval echo '${'$as_ac_var'}'` = yes; then
20620 cat >>confdefs.h <<_ACEOF
20621 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20622 _ACEOF
20625 done
20635 echo "$as_me:$LINENO: checking for hypot declaration" >&5
20636 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
20637 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
20638 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
20639 echo $ECHO_N "(cached) $ECHO_C" >&6
20640 else
20644 ac_ext=cc
20645 ac_cpp='$CXXCPP $CPPFLAGS'
20646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20650 cat >conftest.$ac_ext <<_ACEOF
20651 /* confdefs.h. */
20652 _ACEOF
20653 cat confdefs.h >>conftest.$ac_ext
20654 cat >>conftest.$ac_ext <<_ACEOF
20655 /* end confdefs.h. */
20656 #include <math.h>
20658 main ()
20660 hypot(0, 0);
20662 return 0;
20664 _ACEOF
20665 rm -f conftest.$ac_objext
20666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20667 (eval $ac_compile) 2>conftest.er1
20668 ac_status=$?
20669 grep -v '^ *+' conftest.er1 >conftest.err
20670 rm -f conftest.er1
20671 cat conftest.err >&5
20672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20673 (exit $ac_status); } &&
20674 { ac_try='test -z "$ac_cxx_werror_flag"
20675 || test ! -s conftest.err'
20676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20677 (eval $ac_try) 2>&5
20678 ac_status=$?
20679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20680 (exit $ac_status); }; } &&
20681 { ac_try='test -s conftest.$ac_objext'
20682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20683 (eval $ac_try) 2>&5
20684 ac_status=$?
20685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20686 (exit $ac_status); }; }; then
20687 glibcxx_cv_func_hypot_use=yes
20688 else
20689 echo "$as_me: failed program was:" >&5
20690 sed 's/^/| /' conftest.$ac_ext >&5
20692 glibcxx_cv_func_hypot_use=no
20694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20695 ac_ext=c
20696 ac_cpp='$CPP $CPPFLAGS'
20697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20705 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
20706 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
20708 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
20710 for ac_func in hypot
20712 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20713 echo "$as_me:$LINENO: checking for $ac_func" >&5
20714 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20715 if eval "test \"\${$as_ac_var+set}\" = set"; then
20716 echo $ECHO_N "(cached) $ECHO_C" >&6
20717 else
20718 if test x$gcc_no_link = xyes; then
20719 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20720 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20721 { (exit 1); exit 1; }; }
20723 cat >conftest.$ac_ext <<_ACEOF
20724 /* confdefs.h. */
20725 _ACEOF
20726 cat confdefs.h >>conftest.$ac_ext
20727 cat >>conftest.$ac_ext <<_ACEOF
20728 /* end confdefs.h. */
20729 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20730 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20731 #define $ac_func innocuous_$ac_func
20733 /* System header to define __stub macros and hopefully few prototypes,
20734 which can conflict with char $ac_func (); below.
20735 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20736 <limits.h> exists even on freestanding compilers. */
20738 #ifdef __STDC__
20739 # include <limits.h>
20740 #else
20741 # include <assert.h>
20742 #endif
20744 #undef $ac_func
20746 /* Override any gcc2 internal prototype to avoid an error. */
20747 #ifdef __cplusplus
20748 extern "C"
20750 #endif
20751 /* We use char because int might match the return type of a gcc2
20752 builtin and then its argument prototype would still apply. */
20753 char $ac_func ();
20754 /* The GNU C library defines this for functions which it implements
20755 to always fail with ENOSYS. Some functions are actually named
20756 something starting with __ and the normal name is an alias. */
20757 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20758 choke me
20759 #else
20760 char (*f) () = $ac_func;
20761 #endif
20762 #ifdef __cplusplus
20764 #endif
20767 main ()
20769 return f != $ac_func;
20771 return 0;
20773 _ACEOF
20774 rm -f conftest.$ac_objext conftest$ac_exeext
20775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20776 (eval $ac_link) 2>conftest.er1
20777 ac_status=$?
20778 grep -v '^ *+' conftest.er1 >conftest.err
20779 rm -f conftest.er1
20780 cat conftest.err >&5
20781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20782 (exit $ac_status); } &&
20783 { ac_try='test -z "$ac_c_werror_flag"
20784 || test ! -s conftest.err'
20785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20786 (eval $ac_try) 2>&5
20787 ac_status=$?
20788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20789 (exit $ac_status); }; } &&
20790 { ac_try='test -s conftest$ac_exeext'
20791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20792 (eval $ac_try) 2>&5
20793 ac_status=$?
20794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20795 (exit $ac_status); }; }; then
20796 eval "$as_ac_var=yes"
20797 else
20798 echo "$as_me: failed program was:" >&5
20799 sed 's/^/| /' conftest.$ac_ext >&5
20801 eval "$as_ac_var=no"
20803 rm -f conftest.err conftest.$ac_objext \
20804 conftest$ac_exeext conftest.$ac_ext
20806 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20807 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20808 if test `eval echo '${'$as_ac_var'}'` = yes; then
20809 cat >>confdefs.h <<_ACEOF
20810 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20811 _ACEOF
20814 done
20816 else
20818 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
20819 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
20820 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
20821 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
20822 echo $ECHO_N "(cached) $ECHO_C" >&6
20823 else
20827 ac_ext=cc
20828 ac_cpp='$CXXCPP $CPPFLAGS'
20829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20833 cat >conftest.$ac_ext <<_ACEOF
20834 /* confdefs.h. */
20835 _ACEOF
20836 cat confdefs.h >>conftest.$ac_ext
20837 cat >>conftest.$ac_ext <<_ACEOF
20838 /* end confdefs.h. */
20839 #include <math.h>
20841 main ()
20843 _hypot(0, 0);
20845 return 0;
20847 _ACEOF
20848 rm -f conftest.$ac_objext
20849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20850 (eval $ac_compile) 2>conftest.er1
20851 ac_status=$?
20852 grep -v '^ *+' conftest.er1 >conftest.err
20853 rm -f conftest.er1
20854 cat conftest.err >&5
20855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20856 (exit $ac_status); } &&
20857 { ac_try='test -z "$ac_cxx_werror_flag"
20858 || test ! -s conftest.err'
20859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20860 (eval $ac_try) 2>&5
20861 ac_status=$?
20862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20863 (exit $ac_status); }; } &&
20864 { ac_try='test -s conftest.$ac_objext'
20865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20866 (eval $ac_try) 2>&5
20867 ac_status=$?
20868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20869 (exit $ac_status); }; }; then
20870 glibcxx_cv_func__hypot_use=yes
20871 else
20872 echo "$as_me: failed program was:" >&5
20873 sed 's/^/| /' conftest.$ac_ext >&5
20875 glibcxx_cv_func__hypot_use=no
20877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20878 ac_ext=c
20879 ac_cpp='$CPP $CPPFLAGS'
20880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20888 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
20889 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
20891 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
20893 for ac_func in _hypot
20895 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20896 echo "$as_me:$LINENO: checking for $ac_func" >&5
20897 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20898 if eval "test \"\${$as_ac_var+set}\" = set"; then
20899 echo $ECHO_N "(cached) $ECHO_C" >&6
20900 else
20901 if test x$gcc_no_link = xyes; then
20902 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20903 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20904 { (exit 1); exit 1; }; }
20906 cat >conftest.$ac_ext <<_ACEOF
20907 /* confdefs.h. */
20908 _ACEOF
20909 cat confdefs.h >>conftest.$ac_ext
20910 cat >>conftest.$ac_ext <<_ACEOF
20911 /* end confdefs.h. */
20912 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20913 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20914 #define $ac_func innocuous_$ac_func
20916 /* System header to define __stub macros and hopefully few prototypes,
20917 which can conflict with char $ac_func (); below.
20918 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20919 <limits.h> exists even on freestanding compilers. */
20921 #ifdef __STDC__
20922 # include <limits.h>
20923 #else
20924 # include <assert.h>
20925 #endif
20927 #undef $ac_func
20929 /* Override any gcc2 internal prototype to avoid an error. */
20930 #ifdef __cplusplus
20931 extern "C"
20933 #endif
20934 /* We use char because int might match the return type of a gcc2
20935 builtin and then its argument prototype would still apply. */
20936 char $ac_func ();
20937 /* The GNU C library defines this for functions which it implements
20938 to always fail with ENOSYS. Some functions are actually named
20939 something starting with __ and the normal name is an alias. */
20940 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20941 choke me
20942 #else
20943 char (*f) () = $ac_func;
20944 #endif
20945 #ifdef __cplusplus
20947 #endif
20950 main ()
20952 return f != $ac_func;
20954 return 0;
20956 _ACEOF
20957 rm -f conftest.$ac_objext conftest$ac_exeext
20958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20959 (eval $ac_link) 2>conftest.er1
20960 ac_status=$?
20961 grep -v '^ *+' conftest.er1 >conftest.err
20962 rm -f conftest.er1
20963 cat conftest.err >&5
20964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20965 (exit $ac_status); } &&
20966 { ac_try='test -z "$ac_c_werror_flag"
20967 || test ! -s conftest.err'
20968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20969 (eval $ac_try) 2>&5
20970 ac_status=$?
20971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20972 (exit $ac_status); }; } &&
20973 { ac_try='test -s conftest$ac_exeext'
20974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20975 (eval $ac_try) 2>&5
20976 ac_status=$?
20977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20978 (exit $ac_status); }; }; then
20979 eval "$as_ac_var=yes"
20980 else
20981 echo "$as_me: failed program was:" >&5
20982 sed 's/^/| /' conftest.$ac_ext >&5
20984 eval "$as_ac_var=no"
20986 rm -f conftest.err conftest.$ac_objext \
20987 conftest$ac_exeext conftest.$ac_ext
20989 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20990 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20991 if test `eval echo '${'$as_ac_var'}'` = yes; then
20992 cat >>confdefs.h <<_ACEOF
20993 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20994 _ACEOF
20997 done
21007 echo "$as_me:$LINENO: checking for float trig functions" >&5
21008 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
21009 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
21010 echo $ECHO_N "(cached) $ECHO_C" >&6
21011 else
21015 ac_ext=cc
21016 ac_cpp='$CXXCPP $CPPFLAGS'
21017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21021 cat >conftest.$ac_ext <<_ACEOF
21022 /* confdefs.h. */
21023 _ACEOF
21024 cat confdefs.h >>conftest.$ac_ext
21025 cat >>conftest.$ac_ext <<_ACEOF
21026 /* end confdefs.h. */
21027 #include <math.h>
21029 main ()
21031 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21033 return 0;
21035 _ACEOF
21036 rm -f conftest.$ac_objext
21037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21038 (eval $ac_compile) 2>conftest.er1
21039 ac_status=$?
21040 grep -v '^ *+' conftest.er1 >conftest.err
21041 rm -f conftest.er1
21042 cat conftest.err >&5
21043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21044 (exit $ac_status); } &&
21045 { ac_try='test -z "$ac_cxx_werror_flag"
21046 || test ! -s conftest.err'
21047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21048 (eval $ac_try) 2>&5
21049 ac_status=$?
21050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21051 (exit $ac_status); }; } &&
21052 { ac_try='test -s conftest.$ac_objext'
21053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21054 (eval $ac_try) 2>&5
21055 ac_status=$?
21056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21057 (exit $ac_status); }; }; then
21058 glibcxx_cv_func_float_trig_use=yes
21059 else
21060 echo "$as_me: failed program was:" >&5
21061 sed 's/^/| /' conftest.$ac_ext >&5
21063 glibcxx_cv_func_float_trig_use=no
21065 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21066 ac_ext=c
21067 ac_cpp='$CPP $CPPFLAGS'
21068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21074 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
21075 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
21076 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
21086 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
21088 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21089 echo "$as_me:$LINENO: checking for $ac_func" >&5
21090 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21091 if eval "test \"\${$as_ac_var+set}\" = set"; then
21092 echo $ECHO_N "(cached) $ECHO_C" >&6
21093 else
21094 if test x$gcc_no_link = xyes; then
21095 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21096 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21097 { (exit 1); exit 1; }; }
21099 cat >conftest.$ac_ext <<_ACEOF
21100 /* confdefs.h. */
21101 _ACEOF
21102 cat confdefs.h >>conftest.$ac_ext
21103 cat >>conftest.$ac_ext <<_ACEOF
21104 /* end confdefs.h. */
21105 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21106 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21107 #define $ac_func innocuous_$ac_func
21109 /* System header to define __stub macros and hopefully few prototypes,
21110 which can conflict with char $ac_func (); below.
21111 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21112 <limits.h> exists even on freestanding compilers. */
21114 #ifdef __STDC__
21115 # include <limits.h>
21116 #else
21117 # include <assert.h>
21118 #endif
21120 #undef $ac_func
21122 /* Override any gcc2 internal prototype to avoid an error. */
21123 #ifdef __cplusplus
21124 extern "C"
21126 #endif
21127 /* We use char because int might match the return type of a gcc2
21128 builtin and then its argument prototype would still apply. */
21129 char $ac_func ();
21130 /* The GNU C library defines this for functions which it implements
21131 to always fail with ENOSYS. Some functions are actually named
21132 something starting with __ and the normal name is an alias. */
21133 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21134 choke me
21135 #else
21136 char (*f) () = $ac_func;
21137 #endif
21138 #ifdef __cplusplus
21140 #endif
21143 main ()
21145 return f != $ac_func;
21147 return 0;
21149 _ACEOF
21150 rm -f conftest.$ac_objext conftest$ac_exeext
21151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21152 (eval $ac_link) 2>conftest.er1
21153 ac_status=$?
21154 grep -v '^ *+' conftest.er1 >conftest.err
21155 rm -f conftest.er1
21156 cat conftest.err >&5
21157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21158 (exit $ac_status); } &&
21159 { ac_try='test -z "$ac_c_werror_flag"
21160 || test ! -s conftest.err'
21161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21162 (eval $ac_try) 2>&5
21163 ac_status=$?
21164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21165 (exit $ac_status); }; } &&
21166 { ac_try='test -s conftest$ac_exeext'
21167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21168 (eval $ac_try) 2>&5
21169 ac_status=$?
21170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21171 (exit $ac_status); }; }; then
21172 eval "$as_ac_var=yes"
21173 else
21174 echo "$as_me: failed program was:" >&5
21175 sed 's/^/| /' conftest.$ac_ext >&5
21177 eval "$as_ac_var=no"
21179 rm -f conftest.err conftest.$ac_objext \
21180 conftest$ac_exeext conftest.$ac_ext
21182 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21183 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21184 if test `eval echo '${'$as_ac_var'}'` = yes; then
21185 cat >>confdefs.h <<_ACEOF
21186 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21187 _ACEOF
21190 done
21192 else
21193 echo "$as_me:$LINENO: checking for _float trig functions" >&5
21194 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
21195 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
21196 echo $ECHO_N "(cached) $ECHO_C" >&6
21197 else
21201 ac_ext=cc
21202 ac_cpp='$CXXCPP $CPPFLAGS'
21203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21207 cat >conftest.$ac_ext <<_ACEOF
21208 /* confdefs.h. */
21209 _ACEOF
21210 cat confdefs.h >>conftest.$ac_ext
21211 cat >>conftest.$ac_ext <<_ACEOF
21212 /* end confdefs.h. */
21213 #include <math.h>
21215 main ()
21217 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
21219 return 0;
21221 _ACEOF
21222 rm -f conftest.$ac_objext
21223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21224 (eval $ac_compile) 2>conftest.er1
21225 ac_status=$?
21226 grep -v '^ *+' conftest.er1 >conftest.err
21227 rm -f conftest.er1
21228 cat conftest.err >&5
21229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21230 (exit $ac_status); } &&
21231 { ac_try='test -z "$ac_cxx_werror_flag"
21232 || test ! -s conftest.err'
21233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21234 (eval $ac_try) 2>&5
21235 ac_status=$?
21236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21237 (exit $ac_status); }; } &&
21238 { ac_try='test -s conftest.$ac_objext'
21239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21240 (eval $ac_try) 2>&5
21241 ac_status=$?
21242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21243 (exit $ac_status); }; }; then
21244 glibcxx_cv_func__float_trig_use=yes
21245 else
21246 echo "$as_me: failed program was:" >&5
21247 sed 's/^/| /' conftest.$ac_ext >&5
21249 glibcxx_cv_func__float_trig_use=no
21251 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21252 ac_ext=c
21253 ac_cpp='$CPP $CPPFLAGS'
21254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21260 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
21261 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
21262 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
21272 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
21274 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21275 echo "$as_me:$LINENO: checking for $ac_func" >&5
21276 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21277 if eval "test \"\${$as_ac_var+set}\" = set"; then
21278 echo $ECHO_N "(cached) $ECHO_C" >&6
21279 else
21280 if test x$gcc_no_link = xyes; then
21281 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21282 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21283 { (exit 1); exit 1; }; }
21285 cat >conftest.$ac_ext <<_ACEOF
21286 /* confdefs.h. */
21287 _ACEOF
21288 cat confdefs.h >>conftest.$ac_ext
21289 cat >>conftest.$ac_ext <<_ACEOF
21290 /* end confdefs.h. */
21291 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21292 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21293 #define $ac_func innocuous_$ac_func
21295 /* System header to define __stub macros and hopefully few prototypes,
21296 which can conflict with char $ac_func (); below.
21297 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21298 <limits.h> exists even on freestanding compilers. */
21300 #ifdef __STDC__
21301 # include <limits.h>
21302 #else
21303 # include <assert.h>
21304 #endif
21306 #undef $ac_func
21308 /* Override any gcc2 internal prototype to avoid an error. */
21309 #ifdef __cplusplus
21310 extern "C"
21312 #endif
21313 /* We use char because int might match the return type of a gcc2
21314 builtin and then its argument prototype would still apply. */
21315 char $ac_func ();
21316 /* The GNU C library defines this for functions which it implements
21317 to always fail with ENOSYS. Some functions are actually named
21318 something starting with __ and the normal name is an alias. */
21319 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21320 choke me
21321 #else
21322 char (*f) () = $ac_func;
21323 #endif
21324 #ifdef __cplusplus
21326 #endif
21329 main ()
21331 return f != $ac_func;
21333 return 0;
21335 _ACEOF
21336 rm -f conftest.$ac_objext conftest$ac_exeext
21337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21338 (eval $ac_link) 2>conftest.er1
21339 ac_status=$?
21340 grep -v '^ *+' conftest.er1 >conftest.err
21341 rm -f conftest.er1
21342 cat conftest.err >&5
21343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21344 (exit $ac_status); } &&
21345 { ac_try='test -z "$ac_c_werror_flag"
21346 || test ! -s conftest.err'
21347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21348 (eval $ac_try) 2>&5
21349 ac_status=$?
21350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21351 (exit $ac_status); }; } &&
21352 { ac_try='test -s conftest$ac_exeext'
21353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21354 (eval $ac_try) 2>&5
21355 ac_status=$?
21356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21357 (exit $ac_status); }; }; then
21358 eval "$as_ac_var=yes"
21359 else
21360 echo "$as_me: failed program was:" >&5
21361 sed 's/^/| /' conftest.$ac_ext >&5
21363 eval "$as_ac_var=no"
21365 rm -f conftest.err conftest.$ac_objext \
21366 conftest$ac_exeext conftest.$ac_ext
21368 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21369 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21370 if test `eval echo '${'$as_ac_var'}'` = yes; then
21371 cat >>confdefs.h <<_ACEOF
21372 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21373 _ACEOF
21376 done
21394 echo "$as_me:$LINENO: checking for float round functions" >&5
21395 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
21396 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
21397 echo $ECHO_N "(cached) $ECHO_C" >&6
21398 else
21402 ac_ext=cc
21403 ac_cpp='$CXXCPP $CPPFLAGS'
21404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21408 cat >conftest.$ac_ext <<_ACEOF
21409 /* confdefs.h. */
21410 _ACEOF
21411 cat confdefs.h >>conftest.$ac_ext
21412 cat >>conftest.$ac_ext <<_ACEOF
21413 /* end confdefs.h. */
21414 #include <math.h>
21416 main ()
21418 ceilf (0); floorf (0);
21420 return 0;
21422 _ACEOF
21423 rm -f conftest.$ac_objext
21424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21425 (eval $ac_compile) 2>conftest.er1
21426 ac_status=$?
21427 grep -v '^ *+' conftest.er1 >conftest.err
21428 rm -f conftest.er1
21429 cat conftest.err >&5
21430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21431 (exit $ac_status); } &&
21432 { ac_try='test -z "$ac_cxx_werror_flag"
21433 || test ! -s conftest.err'
21434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21435 (eval $ac_try) 2>&5
21436 ac_status=$?
21437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21438 (exit $ac_status); }; } &&
21439 { ac_try='test -s conftest.$ac_objext'
21440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21441 (eval $ac_try) 2>&5
21442 ac_status=$?
21443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21444 (exit $ac_status); }; }; then
21445 glibcxx_cv_func_float_round_use=yes
21446 else
21447 echo "$as_me: failed program was:" >&5
21448 sed 's/^/| /' conftest.$ac_ext >&5
21450 glibcxx_cv_func_float_round_use=no
21452 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21453 ac_ext=c
21454 ac_cpp='$CPP $CPPFLAGS'
21455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21461 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
21462 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
21463 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
21466 for ac_func in ceilf floorf
21468 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21469 echo "$as_me:$LINENO: checking for $ac_func" >&5
21470 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21471 if eval "test \"\${$as_ac_var+set}\" = set"; then
21472 echo $ECHO_N "(cached) $ECHO_C" >&6
21473 else
21474 if test x$gcc_no_link = xyes; then
21475 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21476 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21477 { (exit 1); exit 1; }; }
21479 cat >conftest.$ac_ext <<_ACEOF
21480 /* confdefs.h. */
21481 _ACEOF
21482 cat confdefs.h >>conftest.$ac_ext
21483 cat >>conftest.$ac_ext <<_ACEOF
21484 /* end confdefs.h. */
21485 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21486 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21487 #define $ac_func innocuous_$ac_func
21489 /* System header to define __stub macros and hopefully few prototypes,
21490 which can conflict with char $ac_func (); below.
21491 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21492 <limits.h> exists even on freestanding compilers. */
21494 #ifdef __STDC__
21495 # include <limits.h>
21496 #else
21497 # include <assert.h>
21498 #endif
21500 #undef $ac_func
21502 /* Override any gcc2 internal prototype to avoid an error. */
21503 #ifdef __cplusplus
21504 extern "C"
21506 #endif
21507 /* We use char because int might match the return type of a gcc2
21508 builtin and then its argument prototype would still apply. */
21509 char $ac_func ();
21510 /* The GNU C library defines this for functions which it implements
21511 to always fail with ENOSYS. Some functions are actually named
21512 something starting with __ and the normal name is an alias. */
21513 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21514 choke me
21515 #else
21516 char (*f) () = $ac_func;
21517 #endif
21518 #ifdef __cplusplus
21520 #endif
21523 main ()
21525 return f != $ac_func;
21527 return 0;
21529 _ACEOF
21530 rm -f conftest.$ac_objext conftest$ac_exeext
21531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21532 (eval $ac_link) 2>conftest.er1
21533 ac_status=$?
21534 grep -v '^ *+' conftest.er1 >conftest.err
21535 rm -f conftest.er1
21536 cat conftest.err >&5
21537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21538 (exit $ac_status); } &&
21539 { ac_try='test -z "$ac_c_werror_flag"
21540 || test ! -s conftest.err'
21541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21542 (eval $ac_try) 2>&5
21543 ac_status=$?
21544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21545 (exit $ac_status); }; } &&
21546 { ac_try='test -s conftest$ac_exeext'
21547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21548 (eval $ac_try) 2>&5
21549 ac_status=$?
21550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21551 (exit $ac_status); }; }; then
21552 eval "$as_ac_var=yes"
21553 else
21554 echo "$as_me: failed program was:" >&5
21555 sed 's/^/| /' conftest.$ac_ext >&5
21557 eval "$as_ac_var=no"
21559 rm -f conftest.err conftest.$ac_objext \
21560 conftest$ac_exeext conftest.$ac_ext
21562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21563 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21564 if test `eval echo '${'$as_ac_var'}'` = yes; then
21565 cat >>confdefs.h <<_ACEOF
21566 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21567 _ACEOF
21570 done
21572 else
21573 echo "$as_me:$LINENO: checking for _float round functions" >&5
21574 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
21575 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
21576 echo $ECHO_N "(cached) $ECHO_C" >&6
21577 else
21581 ac_ext=cc
21582 ac_cpp='$CXXCPP $CPPFLAGS'
21583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21587 cat >conftest.$ac_ext <<_ACEOF
21588 /* confdefs.h. */
21589 _ACEOF
21590 cat confdefs.h >>conftest.$ac_ext
21591 cat >>conftest.$ac_ext <<_ACEOF
21592 /* end confdefs.h. */
21593 #include <math.h>
21595 main ()
21597 _ceilf (0); _floorf (0);
21599 return 0;
21601 _ACEOF
21602 rm -f conftest.$ac_objext
21603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21604 (eval $ac_compile) 2>conftest.er1
21605 ac_status=$?
21606 grep -v '^ *+' conftest.er1 >conftest.err
21607 rm -f conftest.er1
21608 cat conftest.err >&5
21609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21610 (exit $ac_status); } &&
21611 { ac_try='test -z "$ac_cxx_werror_flag"
21612 || test ! -s conftest.err'
21613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21614 (eval $ac_try) 2>&5
21615 ac_status=$?
21616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21617 (exit $ac_status); }; } &&
21618 { ac_try='test -s conftest.$ac_objext'
21619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21620 (eval $ac_try) 2>&5
21621 ac_status=$?
21622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21623 (exit $ac_status); }; }; then
21624 glibcxx_cv_func__float_round_use=yes
21625 else
21626 echo "$as_me: failed program was:" >&5
21627 sed 's/^/| /' conftest.$ac_ext >&5
21629 glibcxx_cv_func__float_round_use=no
21631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21632 ac_ext=c
21633 ac_cpp='$CPP $CPPFLAGS'
21634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21640 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
21641 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
21642 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
21645 for ac_func in _ceilf _floorf
21647 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21648 echo "$as_me:$LINENO: checking for $ac_func" >&5
21649 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21650 if eval "test \"\${$as_ac_var+set}\" = set"; then
21651 echo $ECHO_N "(cached) $ECHO_C" >&6
21652 else
21653 if test x$gcc_no_link = xyes; then
21654 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21655 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21656 { (exit 1); exit 1; }; }
21658 cat >conftest.$ac_ext <<_ACEOF
21659 /* confdefs.h. */
21660 _ACEOF
21661 cat confdefs.h >>conftest.$ac_ext
21662 cat >>conftest.$ac_ext <<_ACEOF
21663 /* end confdefs.h. */
21664 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21665 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21666 #define $ac_func innocuous_$ac_func
21668 /* System header to define __stub macros and hopefully few prototypes,
21669 which can conflict with char $ac_func (); below.
21670 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21671 <limits.h> exists even on freestanding compilers. */
21673 #ifdef __STDC__
21674 # include <limits.h>
21675 #else
21676 # include <assert.h>
21677 #endif
21679 #undef $ac_func
21681 /* Override any gcc2 internal prototype to avoid an error. */
21682 #ifdef __cplusplus
21683 extern "C"
21685 #endif
21686 /* We use char because int might match the return type of a gcc2
21687 builtin and then its argument prototype would still apply. */
21688 char $ac_func ();
21689 /* The GNU C library defines this for functions which it implements
21690 to always fail with ENOSYS. Some functions are actually named
21691 something starting with __ and the normal name is an alias. */
21692 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21693 choke me
21694 #else
21695 char (*f) () = $ac_func;
21696 #endif
21697 #ifdef __cplusplus
21699 #endif
21702 main ()
21704 return f != $ac_func;
21706 return 0;
21708 _ACEOF
21709 rm -f conftest.$ac_objext conftest$ac_exeext
21710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21711 (eval $ac_link) 2>conftest.er1
21712 ac_status=$?
21713 grep -v '^ *+' conftest.er1 >conftest.err
21714 rm -f conftest.er1
21715 cat conftest.err >&5
21716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21717 (exit $ac_status); } &&
21718 { ac_try='test -z "$ac_c_werror_flag"
21719 || test ! -s conftest.err'
21720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21721 (eval $ac_try) 2>&5
21722 ac_status=$?
21723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21724 (exit $ac_status); }; } &&
21725 { ac_try='test -s conftest$ac_exeext'
21726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21727 (eval $ac_try) 2>&5
21728 ac_status=$?
21729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21730 (exit $ac_status); }; }; then
21731 eval "$as_ac_var=yes"
21732 else
21733 echo "$as_me: failed program was:" >&5
21734 sed 's/^/| /' conftest.$ac_ext >&5
21736 eval "$as_ac_var=no"
21738 rm -f conftest.err conftest.$ac_objext \
21739 conftest$ac_exeext conftest.$ac_ext
21741 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21742 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21743 if test `eval echo '${'$as_ac_var'}'` = yes; then
21744 cat >>confdefs.h <<_ACEOF
21745 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21746 _ACEOF
21749 done
21761 echo "$as_me:$LINENO: checking for expf declaration" >&5
21762 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
21763 if test x${glibcxx_cv_func_expf_use+set} != xset; then
21764 if test "${glibcxx_cv_func_expf_use+set}" = set; then
21765 echo $ECHO_N "(cached) $ECHO_C" >&6
21766 else
21770 ac_ext=cc
21771 ac_cpp='$CXXCPP $CPPFLAGS'
21772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21776 cat >conftest.$ac_ext <<_ACEOF
21777 /* confdefs.h. */
21778 _ACEOF
21779 cat confdefs.h >>conftest.$ac_ext
21780 cat >>conftest.$ac_ext <<_ACEOF
21781 /* end confdefs.h. */
21782 #include <math.h>
21783 #ifdef HAVE_IEEEFP_H
21784 #include <ieeefp.h>
21785 #endif
21788 main ()
21790 expf(0);
21792 return 0;
21794 _ACEOF
21795 rm -f conftest.$ac_objext
21796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21797 (eval $ac_compile) 2>conftest.er1
21798 ac_status=$?
21799 grep -v '^ *+' conftest.er1 >conftest.err
21800 rm -f conftest.er1
21801 cat conftest.err >&5
21802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21803 (exit $ac_status); } &&
21804 { ac_try='test -z "$ac_cxx_werror_flag"
21805 || test ! -s conftest.err'
21806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21807 (eval $ac_try) 2>&5
21808 ac_status=$?
21809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21810 (exit $ac_status); }; } &&
21811 { ac_try='test -s conftest.$ac_objext'
21812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21813 (eval $ac_try) 2>&5
21814 ac_status=$?
21815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21816 (exit $ac_status); }; }; then
21817 glibcxx_cv_func_expf_use=yes
21818 else
21819 echo "$as_me: failed program was:" >&5
21820 sed 's/^/| /' conftest.$ac_ext >&5
21822 glibcxx_cv_func_expf_use=no
21824 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21825 ac_ext=c
21826 ac_cpp='$CPP $CPPFLAGS'
21827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21835 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
21836 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
21838 if test x$glibcxx_cv_func_expf_use = x"yes"; then
21840 for ac_func in expf
21842 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21843 echo "$as_me:$LINENO: checking for $ac_func" >&5
21844 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21845 if eval "test \"\${$as_ac_var+set}\" = set"; then
21846 echo $ECHO_N "(cached) $ECHO_C" >&6
21847 else
21848 if test x$gcc_no_link = xyes; then
21849 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21850 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21851 { (exit 1); exit 1; }; }
21853 cat >conftest.$ac_ext <<_ACEOF
21854 /* confdefs.h. */
21855 _ACEOF
21856 cat confdefs.h >>conftest.$ac_ext
21857 cat >>conftest.$ac_ext <<_ACEOF
21858 /* end confdefs.h. */
21859 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21860 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21861 #define $ac_func innocuous_$ac_func
21863 /* System header to define __stub macros and hopefully few prototypes,
21864 which can conflict with char $ac_func (); below.
21865 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21866 <limits.h> exists even on freestanding compilers. */
21868 #ifdef __STDC__
21869 # include <limits.h>
21870 #else
21871 # include <assert.h>
21872 #endif
21874 #undef $ac_func
21876 /* Override any gcc2 internal prototype to avoid an error. */
21877 #ifdef __cplusplus
21878 extern "C"
21880 #endif
21881 /* We use char because int might match the return type of a gcc2
21882 builtin and then its argument prototype would still apply. */
21883 char $ac_func ();
21884 /* The GNU C library defines this for functions which it implements
21885 to always fail with ENOSYS. Some functions are actually named
21886 something starting with __ and the normal name is an alias. */
21887 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21888 choke me
21889 #else
21890 char (*f) () = $ac_func;
21891 #endif
21892 #ifdef __cplusplus
21894 #endif
21897 main ()
21899 return f != $ac_func;
21901 return 0;
21903 _ACEOF
21904 rm -f conftest.$ac_objext conftest$ac_exeext
21905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21906 (eval $ac_link) 2>conftest.er1
21907 ac_status=$?
21908 grep -v '^ *+' conftest.er1 >conftest.err
21909 rm -f conftest.er1
21910 cat conftest.err >&5
21911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21912 (exit $ac_status); } &&
21913 { ac_try='test -z "$ac_c_werror_flag"
21914 || test ! -s conftest.err'
21915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21916 (eval $ac_try) 2>&5
21917 ac_status=$?
21918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21919 (exit $ac_status); }; } &&
21920 { ac_try='test -s conftest$ac_exeext'
21921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21922 (eval $ac_try) 2>&5
21923 ac_status=$?
21924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21925 (exit $ac_status); }; }; then
21926 eval "$as_ac_var=yes"
21927 else
21928 echo "$as_me: failed program was:" >&5
21929 sed 's/^/| /' conftest.$ac_ext >&5
21931 eval "$as_ac_var=no"
21933 rm -f conftest.err conftest.$ac_objext \
21934 conftest$ac_exeext conftest.$ac_ext
21936 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21937 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21938 if test `eval echo '${'$as_ac_var'}'` = yes; then
21939 cat >>confdefs.h <<_ACEOF
21940 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21941 _ACEOF
21944 done
21946 else
21948 echo "$as_me:$LINENO: checking for _expf declaration" >&5
21949 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
21950 if test x${glibcxx_cv_func__expf_use+set} != xset; then
21951 if test "${glibcxx_cv_func__expf_use+set}" = set; then
21952 echo $ECHO_N "(cached) $ECHO_C" >&6
21953 else
21957 ac_ext=cc
21958 ac_cpp='$CXXCPP $CPPFLAGS'
21959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21963 cat >conftest.$ac_ext <<_ACEOF
21964 /* confdefs.h. */
21965 _ACEOF
21966 cat confdefs.h >>conftest.$ac_ext
21967 cat >>conftest.$ac_ext <<_ACEOF
21968 /* end confdefs.h. */
21969 #include <math.h>
21970 #ifdef HAVE_IEEEFP_H
21971 #include <ieeefp.h>
21972 #endif
21975 main ()
21977 _expf(0);
21979 return 0;
21981 _ACEOF
21982 rm -f conftest.$ac_objext
21983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21984 (eval $ac_compile) 2>conftest.er1
21985 ac_status=$?
21986 grep -v '^ *+' conftest.er1 >conftest.err
21987 rm -f conftest.er1
21988 cat conftest.err >&5
21989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21990 (exit $ac_status); } &&
21991 { ac_try='test -z "$ac_cxx_werror_flag"
21992 || test ! -s conftest.err'
21993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21994 (eval $ac_try) 2>&5
21995 ac_status=$?
21996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21997 (exit $ac_status); }; } &&
21998 { ac_try='test -s conftest.$ac_objext'
21999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22000 (eval $ac_try) 2>&5
22001 ac_status=$?
22002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22003 (exit $ac_status); }; }; then
22004 glibcxx_cv_func__expf_use=yes
22005 else
22006 echo "$as_me: failed program was:" >&5
22007 sed 's/^/| /' conftest.$ac_ext >&5
22009 glibcxx_cv_func__expf_use=no
22011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22012 ac_ext=c
22013 ac_cpp='$CPP $CPPFLAGS'
22014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22022 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
22023 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
22025 if test x$glibcxx_cv_func__expf_use = x"yes"; then
22027 for ac_func in _expf
22029 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22030 echo "$as_me:$LINENO: checking for $ac_func" >&5
22031 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22032 if eval "test \"\${$as_ac_var+set}\" = set"; then
22033 echo $ECHO_N "(cached) $ECHO_C" >&6
22034 else
22035 if test x$gcc_no_link = xyes; then
22036 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22037 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22038 { (exit 1); exit 1; }; }
22040 cat >conftest.$ac_ext <<_ACEOF
22041 /* confdefs.h. */
22042 _ACEOF
22043 cat confdefs.h >>conftest.$ac_ext
22044 cat >>conftest.$ac_ext <<_ACEOF
22045 /* end confdefs.h. */
22046 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22047 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22048 #define $ac_func innocuous_$ac_func
22050 /* System header to define __stub macros and hopefully few prototypes,
22051 which can conflict with char $ac_func (); below.
22052 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22053 <limits.h> exists even on freestanding compilers. */
22055 #ifdef __STDC__
22056 # include <limits.h>
22057 #else
22058 # include <assert.h>
22059 #endif
22061 #undef $ac_func
22063 /* Override any gcc2 internal prototype to avoid an error. */
22064 #ifdef __cplusplus
22065 extern "C"
22067 #endif
22068 /* We use char because int might match the return type of a gcc2
22069 builtin and then its argument prototype would still apply. */
22070 char $ac_func ();
22071 /* The GNU C library defines this for functions which it implements
22072 to always fail with ENOSYS. Some functions are actually named
22073 something starting with __ and the normal name is an alias. */
22074 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22075 choke me
22076 #else
22077 char (*f) () = $ac_func;
22078 #endif
22079 #ifdef __cplusplus
22081 #endif
22084 main ()
22086 return f != $ac_func;
22088 return 0;
22090 _ACEOF
22091 rm -f conftest.$ac_objext conftest$ac_exeext
22092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22093 (eval $ac_link) 2>conftest.er1
22094 ac_status=$?
22095 grep -v '^ *+' conftest.er1 >conftest.err
22096 rm -f conftest.er1
22097 cat conftest.err >&5
22098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22099 (exit $ac_status); } &&
22100 { ac_try='test -z "$ac_c_werror_flag"
22101 || test ! -s conftest.err'
22102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22103 (eval $ac_try) 2>&5
22104 ac_status=$?
22105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22106 (exit $ac_status); }; } &&
22107 { ac_try='test -s conftest$ac_exeext'
22108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22109 (eval $ac_try) 2>&5
22110 ac_status=$?
22111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22112 (exit $ac_status); }; }; then
22113 eval "$as_ac_var=yes"
22114 else
22115 echo "$as_me: failed program was:" >&5
22116 sed 's/^/| /' conftest.$ac_ext >&5
22118 eval "$as_ac_var=no"
22120 rm -f conftest.err conftest.$ac_objext \
22121 conftest$ac_exeext conftest.$ac_ext
22123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22124 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22125 if test `eval echo '${'$as_ac_var'}'` = yes; then
22126 cat >>confdefs.h <<_ACEOF
22127 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22128 _ACEOF
22131 done
22141 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
22142 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
22143 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
22144 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
22145 echo $ECHO_N "(cached) $ECHO_C" >&6
22146 else
22150 ac_ext=cc
22151 ac_cpp='$CXXCPP $CPPFLAGS'
22152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22156 cat >conftest.$ac_ext <<_ACEOF
22157 /* confdefs.h. */
22158 _ACEOF
22159 cat confdefs.h >>conftest.$ac_ext
22160 cat >>conftest.$ac_ext <<_ACEOF
22161 /* end confdefs.h. */
22162 #include <math.h>
22163 #ifdef HAVE_IEEEFP_H
22164 #include <ieeefp.h>
22165 #endif
22168 main ()
22170 isnanf(0);
22172 return 0;
22174 _ACEOF
22175 rm -f conftest.$ac_objext
22176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22177 (eval $ac_compile) 2>conftest.er1
22178 ac_status=$?
22179 grep -v '^ *+' conftest.er1 >conftest.err
22180 rm -f conftest.er1
22181 cat conftest.err >&5
22182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22183 (exit $ac_status); } &&
22184 { ac_try='test -z "$ac_cxx_werror_flag"
22185 || test ! -s conftest.err'
22186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22187 (eval $ac_try) 2>&5
22188 ac_status=$?
22189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22190 (exit $ac_status); }; } &&
22191 { ac_try='test -s conftest.$ac_objext'
22192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22193 (eval $ac_try) 2>&5
22194 ac_status=$?
22195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22196 (exit $ac_status); }; }; then
22197 glibcxx_cv_func_isnanf_use=yes
22198 else
22199 echo "$as_me: failed program was:" >&5
22200 sed 's/^/| /' conftest.$ac_ext >&5
22202 glibcxx_cv_func_isnanf_use=no
22204 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22205 ac_ext=c
22206 ac_cpp='$CPP $CPPFLAGS'
22207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22215 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
22216 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
22218 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
22220 for ac_func in isnanf
22222 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22223 echo "$as_me:$LINENO: checking for $ac_func" >&5
22224 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22225 if eval "test \"\${$as_ac_var+set}\" = set"; then
22226 echo $ECHO_N "(cached) $ECHO_C" >&6
22227 else
22228 if test x$gcc_no_link = xyes; then
22229 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22230 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22231 { (exit 1); exit 1; }; }
22233 cat >conftest.$ac_ext <<_ACEOF
22234 /* confdefs.h. */
22235 _ACEOF
22236 cat confdefs.h >>conftest.$ac_ext
22237 cat >>conftest.$ac_ext <<_ACEOF
22238 /* end confdefs.h. */
22239 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22240 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22241 #define $ac_func innocuous_$ac_func
22243 /* System header to define __stub macros and hopefully few prototypes,
22244 which can conflict with char $ac_func (); below.
22245 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22246 <limits.h> exists even on freestanding compilers. */
22248 #ifdef __STDC__
22249 # include <limits.h>
22250 #else
22251 # include <assert.h>
22252 #endif
22254 #undef $ac_func
22256 /* Override any gcc2 internal prototype to avoid an error. */
22257 #ifdef __cplusplus
22258 extern "C"
22260 #endif
22261 /* We use char because int might match the return type of a gcc2
22262 builtin and then its argument prototype would still apply. */
22263 char $ac_func ();
22264 /* The GNU C library defines this for functions which it implements
22265 to always fail with ENOSYS. Some functions are actually named
22266 something starting with __ and the normal name is an alias. */
22267 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22268 choke me
22269 #else
22270 char (*f) () = $ac_func;
22271 #endif
22272 #ifdef __cplusplus
22274 #endif
22277 main ()
22279 return f != $ac_func;
22281 return 0;
22283 _ACEOF
22284 rm -f conftest.$ac_objext conftest$ac_exeext
22285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22286 (eval $ac_link) 2>conftest.er1
22287 ac_status=$?
22288 grep -v '^ *+' conftest.er1 >conftest.err
22289 rm -f conftest.er1
22290 cat conftest.err >&5
22291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22292 (exit $ac_status); } &&
22293 { ac_try='test -z "$ac_c_werror_flag"
22294 || test ! -s conftest.err'
22295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22296 (eval $ac_try) 2>&5
22297 ac_status=$?
22298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22299 (exit $ac_status); }; } &&
22300 { ac_try='test -s conftest$ac_exeext'
22301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22302 (eval $ac_try) 2>&5
22303 ac_status=$?
22304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22305 (exit $ac_status); }; }; then
22306 eval "$as_ac_var=yes"
22307 else
22308 echo "$as_me: failed program was:" >&5
22309 sed 's/^/| /' conftest.$ac_ext >&5
22311 eval "$as_ac_var=no"
22313 rm -f conftest.err conftest.$ac_objext \
22314 conftest$ac_exeext conftest.$ac_ext
22316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22317 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22318 if test `eval echo '${'$as_ac_var'}'` = yes; then
22319 cat >>confdefs.h <<_ACEOF
22320 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22321 _ACEOF
22324 done
22326 else
22328 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
22329 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
22330 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
22331 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
22332 echo $ECHO_N "(cached) $ECHO_C" >&6
22333 else
22337 ac_ext=cc
22338 ac_cpp='$CXXCPP $CPPFLAGS'
22339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22343 cat >conftest.$ac_ext <<_ACEOF
22344 /* confdefs.h. */
22345 _ACEOF
22346 cat confdefs.h >>conftest.$ac_ext
22347 cat >>conftest.$ac_ext <<_ACEOF
22348 /* end confdefs.h. */
22349 #include <math.h>
22350 #ifdef HAVE_IEEEFP_H
22351 #include <ieeefp.h>
22352 #endif
22355 main ()
22357 _isnanf(0);
22359 return 0;
22361 _ACEOF
22362 rm -f conftest.$ac_objext
22363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22364 (eval $ac_compile) 2>conftest.er1
22365 ac_status=$?
22366 grep -v '^ *+' conftest.er1 >conftest.err
22367 rm -f conftest.er1
22368 cat conftest.err >&5
22369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22370 (exit $ac_status); } &&
22371 { ac_try='test -z "$ac_cxx_werror_flag"
22372 || test ! -s conftest.err'
22373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22374 (eval $ac_try) 2>&5
22375 ac_status=$?
22376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22377 (exit $ac_status); }; } &&
22378 { ac_try='test -s conftest.$ac_objext'
22379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22380 (eval $ac_try) 2>&5
22381 ac_status=$?
22382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22383 (exit $ac_status); }; }; then
22384 glibcxx_cv_func__isnanf_use=yes
22385 else
22386 echo "$as_me: failed program was:" >&5
22387 sed 's/^/| /' conftest.$ac_ext >&5
22389 glibcxx_cv_func__isnanf_use=no
22391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22392 ac_ext=c
22393 ac_cpp='$CPP $CPPFLAGS'
22394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22402 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
22403 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
22405 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
22407 for ac_func in _isnanf
22409 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22410 echo "$as_me:$LINENO: checking for $ac_func" >&5
22411 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22412 if eval "test \"\${$as_ac_var+set}\" = set"; then
22413 echo $ECHO_N "(cached) $ECHO_C" >&6
22414 else
22415 if test x$gcc_no_link = xyes; then
22416 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22418 { (exit 1); exit 1; }; }
22420 cat >conftest.$ac_ext <<_ACEOF
22421 /* confdefs.h. */
22422 _ACEOF
22423 cat confdefs.h >>conftest.$ac_ext
22424 cat >>conftest.$ac_ext <<_ACEOF
22425 /* end confdefs.h. */
22426 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22427 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22428 #define $ac_func innocuous_$ac_func
22430 /* System header to define __stub macros and hopefully few prototypes,
22431 which can conflict with char $ac_func (); below.
22432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22433 <limits.h> exists even on freestanding compilers. */
22435 #ifdef __STDC__
22436 # include <limits.h>
22437 #else
22438 # include <assert.h>
22439 #endif
22441 #undef $ac_func
22443 /* Override any gcc2 internal prototype to avoid an error. */
22444 #ifdef __cplusplus
22445 extern "C"
22447 #endif
22448 /* We use char because int might match the return type of a gcc2
22449 builtin and then its argument prototype would still apply. */
22450 char $ac_func ();
22451 /* The GNU C library defines this for functions which it implements
22452 to always fail with ENOSYS. Some functions are actually named
22453 something starting with __ and the normal name is an alias. */
22454 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22455 choke me
22456 #else
22457 char (*f) () = $ac_func;
22458 #endif
22459 #ifdef __cplusplus
22461 #endif
22464 main ()
22466 return f != $ac_func;
22468 return 0;
22470 _ACEOF
22471 rm -f conftest.$ac_objext conftest$ac_exeext
22472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22473 (eval $ac_link) 2>conftest.er1
22474 ac_status=$?
22475 grep -v '^ *+' conftest.er1 >conftest.err
22476 rm -f conftest.er1
22477 cat conftest.err >&5
22478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22479 (exit $ac_status); } &&
22480 { ac_try='test -z "$ac_c_werror_flag"
22481 || test ! -s conftest.err'
22482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22483 (eval $ac_try) 2>&5
22484 ac_status=$?
22485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22486 (exit $ac_status); }; } &&
22487 { ac_try='test -s conftest$ac_exeext'
22488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22489 (eval $ac_try) 2>&5
22490 ac_status=$?
22491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22492 (exit $ac_status); }; }; then
22493 eval "$as_ac_var=yes"
22494 else
22495 echo "$as_me: failed program was:" >&5
22496 sed 's/^/| /' conftest.$ac_ext >&5
22498 eval "$as_ac_var=no"
22500 rm -f conftest.err conftest.$ac_objext \
22501 conftest$ac_exeext conftest.$ac_ext
22503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22504 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22505 if test `eval echo '${'$as_ac_var'}'` = yes; then
22506 cat >>confdefs.h <<_ACEOF
22507 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22508 _ACEOF
22511 done
22521 echo "$as_me:$LINENO: checking for isinff declaration" >&5
22522 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
22523 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
22524 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
22525 echo $ECHO_N "(cached) $ECHO_C" >&6
22526 else
22530 ac_ext=cc
22531 ac_cpp='$CXXCPP $CPPFLAGS'
22532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22536 cat >conftest.$ac_ext <<_ACEOF
22537 /* confdefs.h. */
22538 _ACEOF
22539 cat confdefs.h >>conftest.$ac_ext
22540 cat >>conftest.$ac_ext <<_ACEOF
22541 /* end confdefs.h. */
22542 #include <math.h>
22543 #ifdef HAVE_IEEEFP_H
22544 #include <ieeefp.h>
22545 #endif
22548 main ()
22550 isinff(0);
22552 return 0;
22554 _ACEOF
22555 rm -f conftest.$ac_objext
22556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22557 (eval $ac_compile) 2>conftest.er1
22558 ac_status=$?
22559 grep -v '^ *+' conftest.er1 >conftest.err
22560 rm -f conftest.er1
22561 cat conftest.err >&5
22562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22563 (exit $ac_status); } &&
22564 { ac_try='test -z "$ac_cxx_werror_flag"
22565 || test ! -s conftest.err'
22566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22567 (eval $ac_try) 2>&5
22568 ac_status=$?
22569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22570 (exit $ac_status); }; } &&
22571 { ac_try='test -s conftest.$ac_objext'
22572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22573 (eval $ac_try) 2>&5
22574 ac_status=$?
22575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22576 (exit $ac_status); }; }; then
22577 glibcxx_cv_func_isinff_use=yes
22578 else
22579 echo "$as_me: failed program was:" >&5
22580 sed 's/^/| /' conftest.$ac_ext >&5
22582 glibcxx_cv_func_isinff_use=no
22584 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22585 ac_ext=c
22586 ac_cpp='$CPP $CPPFLAGS'
22587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22595 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
22596 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
22598 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
22600 for ac_func in isinff
22602 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22603 echo "$as_me:$LINENO: checking for $ac_func" >&5
22604 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22605 if eval "test \"\${$as_ac_var+set}\" = set"; then
22606 echo $ECHO_N "(cached) $ECHO_C" >&6
22607 else
22608 if test x$gcc_no_link = xyes; then
22609 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22610 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22611 { (exit 1); exit 1; }; }
22613 cat >conftest.$ac_ext <<_ACEOF
22614 /* confdefs.h. */
22615 _ACEOF
22616 cat confdefs.h >>conftest.$ac_ext
22617 cat >>conftest.$ac_ext <<_ACEOF
22618 /* end confdefs.h. */
22619 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22620 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22621 #define $ac_func innocuous_$ac_func
22623 /* System header to define __stub macros and hopefully few prototypes,
22624 which can conflict with char $ac_func (); below.
22625 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22626 <limits.h> exists even on freestanding compilers. */
22628 #ifdef __STDC__
22629 # include <limits.h>
22630 #else
22631 # include <assert.h>
22632 #endif
22634 #undef $ac_func
22636 /* Override any gcc2 internal prototype to avoid an error. */
22637 #ifdef __cplusplus
22638 extern "C"
22640 #endif
22641 /* We use char because int might match the return type of a gcc2
22642 builtin and then its argument prototype would still apply. */
22643 char $ac_func ();
22644 /* The GNU C library defines this for functions which it implements
22645 to always fail with ENOSYS. Some functions are actually named
22646 something starting with __ and the normal name is an alias. */
22647 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22648 choke me
22649 #else
22650 char (*f) () = $ac_func;
22651 #endif
22652 #ifdef __cplusplus
22654 #endif
22657 main ()
22659 return f != $ac_func;
22661 return 0;
22663 _ACEOF
22664 rm -f conftest.$ac_objext conftest$ac_exeext
22665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22666 (eval $ac_link) 2>conftest.er1
22667 ac_status=$?
22668 grep -v '^ *+' conftest.er1 >conftest.err
22669 rm -f conftest.er1
22670 cat conftest.err >&5
22671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22672 (exit $ac_status); } &&
22673 { ac_try='test -z "$ac_c_werror_flag"
22674 || test ! -s conftest.err'
22675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22676 (eval $ac_try) 2>&5
22677 ac_status=$?
22678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22679 (exit $ac_status); }; } &&
22680 { ac_try='test -s conftest$ac_exeext'
22681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22682 (eval $ac_try) 2>&5
22683 ac_status=$?
22684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22685 (exit $ac_status); }; }; then
22686 eval "$as_ac_var=yes"
22687 else
22688 echo "$as_me: failed program was:" >&5
22689 sed 's/^/| /' conftest.$ac_ext >&5
22691 eval "$as_ac_var=no"
22693 rm -f conftest.err conftest.$ac_objext \
22694 conftest$ac_exeext conftest.$ac_ext
22696 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22697 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22698 if test `eval echo '${'$as_ac_var'}'` = yes; then
22699 cat >>confdefs.h <<_ACEOF
22700 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22701 _ACEOF
22704 done
22706 else
22708 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
22709 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
22710 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
22711 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
22712 echo $ECHO_N "(cached) $ECHO_C" >&6
22713 else
22717 ac_ext=cc
22718 ac_cpp='$CXXCPP $CPPFLAGS'
22719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22723 cat >conftest.$ac_ext <<_ACEOF
22724 /* confdefs.h. */
22725 _ACEOF
22726 cat confdefs.h >>conftest.$ac_ext
22727 cat >>conftest.$ac_ext <<_ACEOF
22728 /* end confdefs.h. */
22729 #include <math.h>
22730 #ifdef HAVE_IEEEFP_H
22731 #include <ieeefp.h>
22732 #endif
22735 main ()
22737 _isinff(0);
22739 return 0;
22741 _ACEOF
22742 rm -f conftest.$ac_objext
22743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22744 (eval $ac_compile) 2>conftest.er1
22745 ac_status=$?
22746 grep -v '^ *+' conftest.er1 >conftest.err
22747 rm -f conftest.er1
22748 cat conftest.err >&5
22749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22750 (exit $ac_status); } &&
22751 { ac_try='test -z "$ac_cxx_werror_flag"
22752 || test ! -s conftest.err'
22753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22754 (eval $ac_try) 2>&5
22755 ac_status=$?
22756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22757 (exit $ac_status); }; } &&
22758 { ac_try='test -s conftest.$ac_objext'
22759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22760 (eval $ac_try) 2>&5
22761 ac_status=$?
22762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22763 (exit $ac_status); }; }; then
22764 glibcxx_cv_func__isinff_use=yes
22765 else
22766 echo "$as_me: failed program was:" >&5
22767 sed 's/^/| /' conftest.$ac_ext >&5
22769 glibcxx_cv_func__isinff_use=no
22771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22772 ac_ext=c
22773 ac_cpp='$CPP $CPPFLAGS'
22774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22782 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
22783 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
22785 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
22787 for ac_func in _isinff
22789 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22790 echo "$as_me:$LINENO: checking for $ac_func" >&5
22791 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22792 if eval "test \"\${$as_ac_var+set}\" = set"; then
22793 echo $ECHO_N "(cached) $ECHO_C" >&6
22794 else
22795 if test x$gcc_no_link = xyes; then
22796 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22797 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22798 { (exit 1); exit 1; }; }
22800 cat >conftest.$ac_ext <<_ACEOF
22801 /* confdefs.h. */
22802 _ACEOF
22803 cat confdefs.h >>conftest.$ac_ext
22804 cat >>conftest.$ac_ext <<_ACEOF
22805 /* end confdefs.h. */
22806 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22807 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22808 #define $ac_func innocuous_$ac_func
22810 /* System header to define __stub macros and hopefully few prototypes,
22811 which can conflict with char $ac_func (); below.
22812 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22813 <limits.h> exists even on freestanding compilers. */
22815 #ifdef __STDC__
22816 # include <limits.h>
22817 #else
22818 # include <assert.h>
22819 #endif
22821 #undef $ac_func
22823 /* Override any gcc2 internal prototype to avoid an error. */
22824 #ifdef __cplusplus
22825 extern "C"
22827 #endif
22828 /* We use char because int might match the return type of a gcc2
22829 builtin and then its argument prototype would still apply. */
22830 char $ac_func ();
22831 /* The GNU C library defines this for functions which it implements
22832 to always fail with ENOSYS. Some functions are actually named
22833 something starting with __ and the normal name is an alias. */
22834 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22835 choke me
22836 #else
22837 char (*f) () = $ac_func;
22838 #endif
22839 #ifdef __cplusplus
22841 #endif
22844 main ()
22846 return f != $ac_func;
22848 return 0;
22850 _ACEOF
22851 rm -f conftest.$ac_objext conftest$ac_exeext
22852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22853 (eval $ac_link) 2>conftest.er1
22854 ac_status=$?
22855 grep -v '^ *+' conftest.er1 >conftest.err
22856 rm -f conftest.er1
22857 cat conftest.err >&5
22858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22859 (exit $ac_status); } &&
22860 { ac_try='test -z "$ac_c_werror_flag"
22861 || test ! -s conftest.err'
22862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22863 (eval $ac_try) 2>&5
22864 ac_status=$?
22865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22866 (exit $ac_status); }; } &&
22867 { ac_try='test -s conftest$ac_exeext'
22868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22869 (eval $ac_try) 2>&5
22870 ac_status=$?
22871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22872 (exit $ac_status); }; }; then
22873 eval "$as_ac_var=yes"
22874 else
22875 echo "$as_me: failed program was:" >&5
22876 sed 's/^/| /' conftest.$ac_ext >&5
22878 eval "$as_ac_var=no"
22880 rm -f conftest.err conftest.$ac_objext \
22881 conftest$ac_exeext conftest.$ac_ext
22883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22884 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22885 if test `eval echo '${'$as_ac_var'}'` = yes; then
22886 cat >>confdefs.h <<_ACEOF
22887 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22888 _ACEOF
22891 done
22901 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
22902 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
22903 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
22904 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
22905 echo $ECHO_N "(cached) $ECHO_C" >&6
22906 else
22910 ac_ext=cc
22911 ac_cpp='$CXXCPP $CPPFLAGS'
22912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22916 cat >conftest.$ac_ext <<_ACEOF
22917 /* confdefs.h. */
22918 _ACEOF
22919 cat confdefs.h >>conftest.$ac_ext
22920 cat >>conftest.$ac_ext <<_ACEOF
22921 /* end confdefs.h. */
22922 #include <math.h>
22924 main ()
22926 atan2f(0, 0);
22928 return 0;
22930 _ACEOF
22931 rm -f conftest.$ac_objext
22932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22933 (eval $ac_compile) 2>conftest.er1
22934 ac_status=$?
22935 grep -v '^ *+' conftest.er1 >conftest.err
22936 rm -f conftest.er1
22937 cat conftest.err >&5
22938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22939 (exit $ac_status); } &&
22940 { ac_try='test -z "$ac_cxx_werror_flag"
22941 || test ! -s conftest.err'
22942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22943 (eval $ac_try) 2>&5
22944 ac_status=$?
22945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22946 (exit $ac_status); }; } &&
22947 { ac_try='test -s conftest.$ac_objext'
22948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22949 (eval $ac_try) 2>&5
22950 ac_status=$?
22951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22952 (exit $ac_status); }; }; then
22953 glibcxx_cv_func_atan2f_use=yes
22954 else
22955 echo "$as_me: failed program was:" >&5
22956 sed 's/^/| /' conftest.$ac_ext >&5
22958 glibcxx_cv_func_atan2f_use=no
22960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22961 ac_ext=c
22962 ac_cpp='$CPP $CPPFLAGS'
22963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22971 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
22972 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
22974 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22976 for ac_func in atan2f
22978 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22979 echo "$as_me:$LINENO: checking for $ac_func" >&5
22980 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22981 if eval "test \"\${$as_ac_var+set}\" = set"; then
22982 echo $ECHO_N "(cached) $ECHO_C" >&6
22983 else
22984 if test x$gcc_no_link = xyes; then
22985 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22986 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22987 { (exit 1); exit 1; }; }
22989 cat >conftest.$ac_ext <<_ACEOF
22990 /* confdefs.h. */
22991 _ACEOF
22992 cat confdefs.h >>conftest.$ac_ext
22993 cat >>conftest.$ac_ext <<_ACEOF
22994 /* end confdefs.h. */
22995 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22996 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22997 #define $ac_func innocuous_$ac_func
22999 /* System header to define __stub macros and hopefully few prototypes,
23000 which can conflict with char $ac_func (); below.
23001 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23002 <limits.h> exists even on freestanding compilers. */
23004 #ifdef __STDC__
23005 # include <limits.h>
23006 #else
23007 # include <assert.h>
23008 #endif
23010 #undef $ac_func
23012 /* Override any gcc2 internal prototype to avoid an error. */
23013 #ifdef __cplusplus
23014 extern "C"
23016 #endif
23017 /* We use char because int might match the return type of a gcc2
23018 builtin and then its argument prototype would still apply. */
23019 char $ac_func ();
23020 /* The GNU C library defines this for functions which it implements
23021 to always fail with ENOSYS. Some functions are actually named
23022 something starting with __ and the normal name is an alias. */
23023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23024 choke me
23025 #else
23026 char (*f) () = $ac_func;
23027 #endif
23028 #ifdef __cplusplus
23030 #endif
23033 main ()
23035 return f != $ac_func;
23037 return 0;
23039 _ACEOF
23040 rm -f conftest.$ac_objext conftest$ac_exeext
23041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23042 (eval $ac_link) 2>conftest.er1
23043 ac_status=$?
23044 grep -v '^ *+' conftest.er1 >conftest.err
23045 rm -f conftest.er1
23046 cat conftest.err >&5
23047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23048 (exit $ac_status); } &&
23049 { ac_try='test -z "$ac_c_werror_flag"
23050 || test ! -s conftest.err'
23051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23052 (eval $ac_try) 2>&5
23053 ac_status=$?
23054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23055 (exit $ac_status); }; } &&
23056 { ac_try='test -s conftest$ac_exeext'
23057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23058 (eval $ac_try) 2>&5
23059 ac_status=$?
23060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23061 (exit $ac_status); }; }; then
23062 eval "$as_ac_var=yes"
23063 else
23064 echo "$as_me: failed program was:" >&5
23065 sed 's/^/| /' conftest.$ac_ext >&5
23067 eval "$as_ac_var=no"
23069 rm -f conftest.err conftest.$ac_objext \
23070 conftest$ac_exeext conftest.$ac_ext
23072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23073 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23074 if test `eval echo '${'$as_ac_var'}'` = yes; then
23075 cat >>confdefs.h <<_ACEOF
23076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23077 _ACEOF
23080 done
23082 else
23084 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
23085 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
23086 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
23087 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
23088 echo $ECHO_N "(cached) $ECHO_C" >&6
23089 else
23093 ac_ext=cc
23094 ac_cpp='$CXXCPP $CPPFLAGS'
23095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23099 cat >conftest.$ac_ext <<_ACEOF
23100 /* confdefs.h. */
23101 _ACEOF
23102 cat confdefs.h >>conftest.$ac_ext
23103 cat >>conftest.$ac_ext <<_ACEOF
23104 /* end confdefs.h. */
23105 #include <math.h>
23107 main ()
23109 _atan2f(0, 0);
23111 return 0;
23113 _ACEOF
23114 rm -f conftest.$ac_objext
23115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23116 (eval $ac_compile) 2>conftest.er1
23117 ac_status=$?
23118 grep -v '^ *+' conftest.er1 >conftest.err
23119 rm -f conftest.er1
23120 cat conftest.err >&5
23121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23122 (exit $ac_status); } &&
23123 { ac_try='test -z "$ac_cxx_werror_flag"
23124 || test ! -s conftest.err'
23125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23126 (eval $ac_try) 2>&5
23127 ac_status=$?
23128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23129 (exit $ac_status); }; } &&
23130 { ac_try='test -s conftest.$ac_objext'
23131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23132 (eval $ac_try) 2>&5
23133 ac_status=$?
23134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23135 (exit $ac_status); }; }; then
23136 glibcxx_cv_func__atan2f_use=yes
23137 else
23138 echo "$as_me: failed program was:" >&5
23139 sed 's/^/| /' conftest.$ac_ext >&5
23141 glibcxx_cv_func__atan2f_use=no
23143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23144 ac_ext=c
23145 ac_cpp='$CPP $CPPFLAGS'
23146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23154 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
23155 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
23157 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
23159 for ac_func in _atan2f
23161 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23162 echo "$as_me:$LINENO: checking for $ac_func" >&5
23163 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23164 if eval "test \"\${$as_ac_var+set}\" = set"; then
23165 echo $ECHO_N "(cached) $ECHO_C" >&6
23166 else
23167 if test x$gcc_no_link = xyes; then
23168 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23169 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23170 { (exit 1); exit 1; }; }
23172 cat >conftest.$ac_ext <<_ACEOF
23173 /* confdefs.h. */
23174 _ACEOF
23175 cat confdefs.h >>conftest.$ac_ext
23176 cat >>conftest.$ac_ext <<_ACEOF
23177 /* end confdefs.h. */
23178 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23179 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23180 #define $ac_func innocuous_$ac_func
23182 /* System header to define __stub macros and hopefully few prototypes,
23183 which can conflict with char $ac_func (); below.
23184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23185 <limits.h> exists even on freestanding compilers. */
23187 #ifdef __STDC__
23188 # include <limits.h>
23189 #else
23190 # include <assert.h>
23191 #endif
23193 #undef $ac_func
23195 /* Override any gcc2 internal prototype to avoid an error. */
23196 #ifdef __cplusplus
23197 extern "C"
23199 #endif
23200 /* We use char because int might match the return type of a gcc2
23201 builtin and then its argument prototype would still apply. */
23202 char $ac_func ();
23203 /* The GNU C library defines this for functions which it implements
23204 to always fail with ENOSYS. Some functions are actually named
23205 something starting with __ and the normal name is an alias. */
23206 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23207 choke me
23208 #else
23209 char (*f) () = $ac_func;
23210 #endif
23211 #ifdef __cplusplus
23213 #endif
23216 main ()
23218 return f != $ac_func;
23220 return 0;
23222 _ACEOF
23223 rm -f conftest.$ac_objext conftest$ac_exeext
23224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23225 (eval $ac_link) 2>conftest.er1
23226 ac_status=$?
23227 grep -v '^ *+' conftest.er1 >conftest.err
23228 rm -f conftest.er1
23229 cat conftest.err >&5
23230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23231 (exit $ac_status); } &&
23232 { ac_try='test -z "$ac_c_werror_flag"
23233 || test ! -s conftest.err'
23234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23235 (eval $ac_try) 2>&5
23236 ac_status=$?
23237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23238 (exit $ac_status); }; } &&
23239 { ac_try='test -s conftest$ac_exeext'
23240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23241 (eval $ac_try) 2>&5
23242 ac_status=$?
23243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23244 (exit $ac_status); }; }; then
23245 eval "$as_ac_var=yes"
23246 else
23247 echo "$as_me: failed program was:" >&5
23248 sed 's/^/| /' conftest.$ac_ext >&5
23250 eval "$as_ac_var=no"
23252 rm -f conftest.err conftest.$ac_objext \
23253 conftest$ac_exeext conftest.$ac_ext
23255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23256 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23257 if test `eval echo '${'$as_ac_var'}'` = yes; then
23258 cat >>confdefs.h <<_ACEOF
23259 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23260 _ACEOF
23263 done
23273 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
23274 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
23275 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
23276 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
23277 echo $ECHO_N "(cached) $ECHO_C" >&6
23278 else
23282 ac_ext=cc
23283 ac_cpp='$CXXCPP $CPPFLAGS'
23284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23288 cat >conftest.$ac_ext <<_ACEOF
23289 /* confdefs.h. */
23290 _ACEOF
23291 cat confdefs.h >>conftest.$ac_ext
23292 cat >>conftest.$ac_ext <<_ACEOF
23293 /* end confdefs.h. */
23294 #include <math.h>
23295 #ifdef HAVE_IEEEFP_H
23296 #include <ieeefp.h>
23297 #endif
23300 main ()
23302 fabsf(0);
23304 return 0;
23306 _ACEOF
23307 rm -f conftest.$ac_objext
23308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23309 (eval $ac_compile) 2>conftest.er1
23310 ac_status=$?
23311 grep -v '^ *+' conftest.er1 >conftest.err
23312 rm -f conftest.er1
23313 cat conftest.err >&5
23314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23315 (exit $ac_status); } &&
23316 { ac_try='test -z "$ac_cxx_werror_flag"
23317 || test ! -s conftest.err'
23318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23319 (eval $ac_try) 2>&5
23320 ac_status=$?
23321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23322 (exit $ac_status); }; } &&
23323 { ac_try='test -s conftest.$ac_objext'
23324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23325 (eval $ac_try) 2>&5
23326 ac_status=$?
23327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23328 (exit $ac_status); }; }; then
23329 glibcxx_cv_func_fabsf_use=yes
23330 else
23331 echo "$as_me: failed program was:" >&5
23332 sed 's/^/| /' conftest.$ac_ext >&5
23334 glibcxx_cv_func_fabsf_use=no
23336 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23337 ac_ext=c
23338 ac_cpp='$CPP $CPPFLAGS'
23339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23347 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
23348 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
23350 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
23352 for ac_func in fabsf
23354 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23355 echo "$as_me:$LINENO: checking for $ac_func" >&5
23356 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23357 if eval "test \"\${$as_ac_var+set}\" = set"; then
23358 echo $ECHO_N "(cached) $ECHO_C" >&6
23359 else
23360 if test x$gcc_no_link = xyes; then
23361 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23362 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23363 { (exit 1); exit 1; }; }
23365 cat >conftest.$ac_ext <<_ACEOF
23366 /* confdefs.h. */
23367 _ACEOF
23368 cat confdefs.h >>conftest.$ac_ext
23369 cat >>conftest.$ac_ext <<_ACEOF
23370 /* end confdefs.h. */
23371 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23372 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23373 #define $ac_func innocuous_$ac_func
23375 /* System header to define __stub macros and hopefully few prototypes,
23376 which can conflict with char $ac_func (); below.
23377 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23378 <limits.h> exists even on freestanding compilers. */
23380 #ifdef __STDC__
23381 # include <limits.h>
23382 #else
23383 # include <assert.h>
23384 #endif
23386 #undef $ac_func
23388 /* Override any gcc2 internal prototype to avoid an error. */
23389 #ifdef __cplusplus
23390 extern "C"
23392 #endif
23393 /* We use char because int might match the return type of a gcc2
23394 builtin and then its argument prototype would still apply. */
23395 char $ac_func ();
23396 /* The GNU C library defines this for functions which it implements
23397 to always fail with ENOSYS. Some functions are actually named
23398 something starting with __ and the normal name is an alias. */
23399 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23400 choke me
23401 #else
23402 char (*f) () = $ac_func;
23403 #endif
23404 #ifdef __cplusplus
23406 #endif
23409 main ()
23411 return f != $ac_func;
23413 return 0;
23415 _ACEOF
23416 rm -f conftest.$ac_objext conftest$ac_exeext
23417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23418 (eval $ac_link) 2>conftest.er1
23419 ac_status=$?
23420 grep -v '^ *+' conftest.er1 >conftest.err
23421 rm -f conftest.er1
23422 cat conftest.err >&5
23423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23424 (exit $ac_status); } &&
23425 { ac_try='test -z "$ac_c_werror_flag"
23426 || test ! -s conftest.err'
23427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23428 (eval $ac_try) 2>&5
23429 ac_status=$?
23430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23431 (exit $ac_status); }; } &&
23432 { ac_try='test -s conftest$ac_exeext'
23433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23434 (eval $ac_try) 2>&5
23435 ac_status=$?
23436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23437 (exit $ac_status); }; }; then
23438 eval "$as_ac_var=yes"
23439 else
23440 echo "$as_me: failed program was:" >&5
23441 sed 's/^/| /' conftest.$ac_ext >&5
23443 eval "$as_ac_var=no"
23445 rm -f conftest.err conftest.$ac_objext \
23446 conftest$ac_exeext conftest.$ac_ext
23448 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23449 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23450 if test `eval echo '${'$as_ac_var'}'` = yes; then
23451 cat >>confdefs.h <<_ACEOF
23452 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23453 _ACEOF
23456 done
23458 else
23460 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
23461 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
23462 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
23463 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
23464 echo $ECHO_N "(cached) $ECHO_C" >&6
23465 else
23469 ac_ext=cc
23470 ac_cpp='$CXXCPP $CPPFLAGS'
23471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23475 cat >conftest.$ac_ext <<_ACEOF
23476 /* confdefs.h. */
23477 _ACEOF
23478 cat confdefs.h >>conftest.$ac_ext
23479 cat >>conftest.$ac_ext <<_ACEOF
23480 /* end confdefs.h. */
23481 #include <math.h>
23482 #ifdef HAVE_IEEEFP_H
23483 #include <ieeefp.h>
23484 #endif
23487 main ()
23489 _fabsf(0);
23491 return 0;
23493 _ACEOF
23494 rm -f conftest.$ac_objext
23495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23496 (eval $ac_compile) 2>conftest.er1
23497 ac_status=$?
23498 grep -v '^ *+' conftest.er1 >conftest.err
23499 rm -f conftest.er1
23500 cat conftest.err >&5
23501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23502 (exit $ac_status); } &&
23503 { ac_try='test -z "$ac_cxx_werror_flag"
23504 || test ! -s conftest.err'
23505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23506 (eval $ac_try) 2>&5
23507 ac_status=$?
23508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23509 (exit $ac_status); }; } &&
23510 { ac_try='test -s conftest.$ac_objext'
23511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23512 (eval $ac_try) 2>&5
23513 ac_status=$?
23514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23515 (exit $ac_status); }; }; then
23516 glibcxx_cv_func__fabsf_use=yes
23517 else
23518 echo "$as_me: failed program was:" >&5
23519 sed 's/^/| /' conftest.$ac_ext >&5
23521 glibcxx_cv_func__fabsf_use=no
23523 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23524 ac_ext=c
23525 ac_cpp='$CPP $CPPFLAGS'
23526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23534 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
23535 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
23537 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
23539 for ac_func in _fabsf
23541 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23542 echo "$as_me:$LINENO: checking for $ac_func" >&5
23543 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23544 if eval "test \"\${$as_ac_var+set}\" = set"; then
23545 echo $ECHO_N "(cached) $ECHO_C" >&6
23546 else
23547 if test x$gcc_no_link = xyes; then
23548 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23549 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23550 { (exit 1); exit 1; }; }
23552 cat >conftest.$ac_ext <<_ACEOF
23553 /* confdefs.h. */
23554 _ACEOF
23555 cat confdefs.h >>conftest.$ac_ext
23556 cat >>conftest.$ac_ext <<_ACEOF
23557 /* end confdefs.h. */
23558 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23559 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23560 #define $ac_func innocuous_$ac_func
23562 /* System header to define __stub macros and hopefully few prototypes,
23563 which can conflict with char $ac_func (); below.
23564 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23565 <limits.h> exists even on freestanding compilers. */
23567 #ifdef __STDC__
23568 # include <limits.h>
23569 #else
23570 # include <assert.h>
23571 #endif
23573 #undef $ac_func
23575 /* Override any gcc2 internal prototype to avoid an error. */
23576 #ifdef __cplusplus
23577 extern "C"
23579 #endif
23580 /* We use char because int might match the return type of a gcc2
23581 builtin and then its argument prototype would still apply. */
23582 char $ac_func ();
23583 /* The GNU C library defines this for functions which it implements
23584 to always fail with ENOSYS. Some functions are actually named
23585 something starting with __ and the normal name is an alias. */
23586 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23587 choke me
23588 #else
23589 char (*f) () = $ac_func;
23590 #endif
23591 #ifdef __cplusplus
23593 #endif
23596 main ()
23598 return f != $ac_func;
23600 return 0;
23602 _ACEOF
23603 rm -f conftest.$ac_objext conftest$ac_exeext
23604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23605 (eval $ac_link) 2>conftest.er1
23606 ac_status=$?
23607 grep -v '^ *+' conftest.er1 >conftest.err
23608 rm -f conftest.er1
23609 cat conftest.err >&5
23610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23611 (exit $ac_status); } &&
23612 { ac_try='test -z "$ac_c_werror_flag"
23613 || test ! -s conftest.err'
23614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23615 (eval $ac_try) 2>&5
23616 ac_status=$?
23617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23618 (exit $ac_status); }; } &&
23619 { ac_try='test -s conftest$ac_exeext'
23620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23621 (eval $ac_try) 2>&5
23622 ac_status=$?
23623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23624 (exit $ac_status); }; }; then
23625 eval "$as_ac_var=yes"
23626 else
23627 echo "$as_me: failed program was:" >&5
23628 sed 's/^/| /' conftest.$ac_ext >&5
23630 eval "$as_ac_var=no"
23632 rm -f conftest.err conftest.$ac_objext \
23633 conftest$ac_exeext conftest.$ac_ext
23635 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23636 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23637 if test `eval echo '${'$as_ac_var'}'` = yes; then
23638 cat >>confdefs.h <<_ACEOF
23639 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23640 _ACEOF
23643 done
23653 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
23654 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
23655 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
23656 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
23657 echo $ECHO_N "(cached) $ECHO_C" >&6
23658 else
23662 ac_ext=cc
23663 ac_cpp='$CXXCPP $CPPFLAGS'
23664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23668 cat >conftest.$ac_ext <<_ACEOF
23669 /* confdefs.h. */
23670 _ACEOF
23671 cat confdefs.h >>conftest.$ac_ext
23672 cat >>conftest.$ac_ext <<_ACEOF
23673 /* end confdefs.h. */
23674 #include <math.h>
23676 main ()
23678 fmodf(0, 0);
23680 return 0;
23682 _ACEOF
23683 rm -f conftest.$ac_objext
23684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23685 (eval $ac_compile) 2>conftest.er1
23686 ac_status=$?
23687 grep -v '^ *+' conftest.er1 >conftest.err
23688 rm -f conftest.er1
23689 cat conftest.err >&5
23690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23691 (exit $ac_status); } &&
23692 { ac_try='test -z "$ac_cxx_werror_flag"
23693 || test ! -s conftest.err'
23694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23695 (eval $ac_try) 2>&5
23696 ac_status=$?
23697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23698 (exit $ac_status); }; } &&
23699 { ac_try='test -s conftest.$ac_objext'
23700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23701 (eval $ac_try) 2>&5
23702 ac_status=$?
23703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23704 (exit $ac_status); }; }; then
23705 glibcxx_cv_func_fmodf_use=yes
23706 else
23707 echo "$as_me: failed program was:" >&5
23708 sed 's/^/| /' conftest.$ac_ext >&5
23710 glibcxx_cv_func_fmodf_use=no
23712 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23713 ac_ext=c
23714 ac_cpp='$CPP $CPPFLAGS'
23715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23723 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
23724 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
23726 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
23728 for ac_func in fmodf
23730 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23731 echo "$as_me:$LINENO: checking for $ac_func" >&5
23732 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23733 if eval "test \"\${$as_ac_var+set}\" = set"; then
23734 echo $ECHO_N "(cached) $ECHO_C" >&6
23735 else
23736 if test x$gcc_no_link = xyes; then
23737 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23738 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23739 { (exit 1); exit 1; }; }
23741 cat >conftest.$ac_ext <<_ACEOF
23742 /* confdefs.h. */
23743 _ACEOF
23744 cat confdefs.h >>conftest.$ac_ext
23745 cat >>conftest.$ac_ext <<_ACEOF
23746 /* end confdefs.h. */
23747 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23748 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23749 #define $ac_func innocuous_$ac_func
23751 /* System header to define __stub macros and hopefully few prototypes,
23752 which can conflict with char $ac_func (); below.
23753 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23754 <limits.h> exists even on freestanding compilers. */
23756 #ifdef __STDC__
23757 # include <limits.h>
23758 #else
23759 # include <assert.h>
23760 #endif
23762 #undef $ac_func
23764 /* Override any gcc2 internal prototype to avoid an error. */
23765 #ifdef __cplusplus
23766 extern "C"
23768 #endif
23769 /* We use char because int might match the return type of a gcc2
23770 builtin and then its argument prototype would still apply. */
23771 char $ac_func ();
23772 /* The GNU C library defines this for functions which it implements
23773 to always fail with ENOSYS. Some functions are actually named
23774 something starting with __ and the normal name is an alias. */
23775 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23776 choke me
23777 #else
23778 char (*f) () = $ac_func;
23779 #endif
23780 #ifdef __cplusplus
23782 #endif
23785 main ()
23787 return f != $ac_func;
23789 return 0;
23791 _ACEOF
23792 rm -f conftest.$ac_objext conftest$ac_exeext
23793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23794 (eval $ac_link) 2>conftest.er1
23795 ac_status=$?
23796 grep -v '^ *+' conftest.er1 >conftest.err
23797 rm -f conftest.er1
23798 cat conftest.err >&5
23799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23800 (exit $ac_status); } &&
23801 { ac_try='test -z "$ac_c_werror_flag"
23802 || test ! -s conftest.err'
23803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23804 (eval $ac_try) 2>&5
23805 ac_status=$?
23806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23807 (exit $ac_status); }; } &&
23808 { ac_try='test -s conftest$ac_exeext'
23809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23810 (eval $ac_try) 2>&5
23811 ac_status=$?
23812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23813 (exit $ac_status); }; }; then
23814 eval "$as_ac_var=yes"
23815 else
23816 echo "$as_me: failed program was:" >&5
23817 sed 's/^/| /' conftest.$ac_ext >&5
23819 eval "$as_ac_var=no"
23821 rm -f conftest.err conftest.$ac_objext \
23822 conftest$ac_exeext conftest.$ac_ext
23824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23825 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23826 if test `eval echo '${'$as_ac_var'}'` = yes; then
23827 cat >>confdefs.h <<_ACEOF
23828 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23829 _ACEOF
23832 done
23834 else
23836 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
23837 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
23838 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
23839 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
23840 echo $ECHO_N "(cached) $ECHO_C" >&6
23841 else
23845 ac_ext=cc
23846 ac_cpp='$CXXCPP $CPPFLAGS'
23847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23851 cat >conftest.$ac_ext <<_ACEOF
23852 /* confdefs.h. */
23853 _ACEOF
23854 cat confdefs.h >>conftest.$ac_ext
23855 cat >>conftest.$ac_ext <<_ACEOF
23856 /* end confdefs.h. */
23857 #include <math.h>
23859 main ()
23861 _fmodf(0, 0);
23863 return 0;
23865 _ACEOF
23866 rm -f conftest.$ac_objext
23867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23868 (eval $ac_compile) 2>conftest.er1
23869 ac_status=$?
23870 grep -v '^ *+' conftest.er1 >conftest.err
23871 rm -f conftest.er1
23872 cat conftest.err >&5
23873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23874 (exit $ac_status); } &&
23875 { ac_try='test -z "$ac_cxx_werror_flag"
23876 || test ! -s conftest.err'
23877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23878 (eval $ac_try) 2>&5
23879 ac_status=$?
23880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23881 (exit $ac_status); }; } &&
23882 { ac_try='test -s conftest.$ac_objext'
23883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23884 (eval $ac_try) 2>&5
23885 ac_status=$?
23886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23887 (exit $ac_status); }; }; then
23888 glibcxx_cv_func__fmodf_use=yes
23889 else
23890 echo "$as_me: failed program was:" >&5
23891 sed 's/^/| /' conftest.$ac_ext >&5
23893 glibcxx_cv_func__fmodf_use=no
23895 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23896 ac_ext=c
23897 ac_cpp='$CPP $CPPFLAGS'
23898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23906 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
23907 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
23909 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
23911 for ac_func in _fmodf
23913 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23914 echo "$as_me:$LINENO: checking for $ac_func" >&5
23915 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23916 if eval "test \"\${$as_ac_var+set}\" = set"; then
23917 echo $ECHO_N "(cached) $ECHO_C" >&6
23918 else
23919 if test x$gcc_no_link = xyes; then
23920 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23921 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23922 { (exit 1); exit 1; }; }
23924 cat >conftest.$ac_ext <<_ACEOF
23925 /* confdefs.h. */
23926 _ACEOF
23927 cat confdefs.h >>conftest.$ac_ext
23928 cat >>conftest.$ac_ext <<_ACEOF
23929 /* end confdefs.h. */
23930 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23931 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23932 #define $ac_func innocuous_$ac_func
23934 /* System header to define __stub macros and hopefully few prototypes,
23935 which can conflict with char $ac_func (); below.
23936 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23937 <limits.h> exists even on freestanding compilers. */
23939 #ifdef __STDC__
23940 # include <limits.h>
23941 #else
23942 # include <assert.h>
23943 #endif
23945 #undef $ac_func
23947 /* Override any gcc2 internal prototype to avoid an error. */
23948 #ifdef __cplusplus
23949 extern "C"
23951 #endif
23952 /* We use char because int might match the return type of a gcc2
23953 builtin and then its argument prototype would still apply. */
23954 char $ac_func ();
23955 /* The GNU C library defines this for functions which it implements
23956 to always fail with ENOSYS. Some functions are actually named
23957 something starting with __ and the normal name is an alias. */
23958 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23959 choke me
23960 #else
23961 char (*f) () = $ac_func;
23962 #endif
23963 #ifdef __cplusplus
23965 #endif
23968 main ()
23970 return f != $ac_func;
23972 return 0;
23974 _ACEOF
23975 rm -f conftest.$ac_objext conftest$ac_exeext
23976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23977 (eval $ac_link) 2>conftest.er1
23978 ac_status=$?
23979 grep -v '^ *+' conftest.er1 >conftest.err
23980 rm -f conftest.er1
23981 cat conftest.err >&5
23982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23983 (exit $ac_status); } &&
23984 { ac_try='test -z "$ac_c_werror_flag"
23985 || test ! -s conftest.err'
23986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23987 (eval $ac_try) 2>&5
23988 ac_status=$?
23989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23990 (exit $ac_status); }; } &&
23991 { ac_try='test -s conftest$ac_exeext'
23992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23993 (eval $ac_try) 2>&5
23994 ac_status=$?
23995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23996 (exit $ac_status); }; }; then
23997 eval "$as_ac_var=yes"
23998 else
23999 echo "$as_me: failed program was:" >&5
24000 sed 's/^/| /' conftest.$ac_ext >&5
24002 eval "$as_ac_var=no"
24004 rm -f conftest.err conftest.$ac_objext \
24005 conftest$ac_exeext conftest.$ac_ext
24007 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24008 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24009 if test `eval echo '${'$as_ac_var'}'` = yes; then
24010 cat >>confdefs.h <<_ACEOF
24011 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24012 _ACEOF
24015 done
24025 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
24026 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
24027 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
24028 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
24029 echo $ECHO_N "(cached) $ECHO_C" >&6
24030 else
24034 ac_ext=cc
24035 ac_cpp='$CXXCPP $CPPFLAGS'
24036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24040 cat >conftest.$ac_ext <<_ACEOF
24041 /* confdefs.h. */
24042 _ACEOF
24043 cat confdefs.h >>conftest.$ac_ext
24044 cat >>conftest.$ac_ext <<_ACEOF
24045 /* end confdefs.h. */
24046 #include <math.h>
24048 main ()
24050 frexpf(0, 0);
24052 return 0;
24054 _ACEOF
24055 rm -f conftest.$ac_objext
24056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24057 (eval $ac_compile) 2>conftest.er1
24058 ac_status=$?
24059 grep -v '^ *+' conftest.er1 >conftest.err
24060 rm -f conftest.er1
24061 cat conftest.err >&5
24062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24063 (exit $ac_status); } &&
24064 { ac_try='test -z "$ac_cxx_werror_flag"
24065 || test ! -s conftest.err'
24066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24067 (eval $ac_try) 2>&5
24068 ac_status=$?
24069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24070 (exit $ac_status); }; } &&
24071 { ac_try='test -s conftest.$ac_objext'
24072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24073 (eval $ac_try) 2>&5
24074 ac_status=$?
24075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24076 (exit $ac_status); }; }; then
24077 glibcxx_cv_func_frexpf_use=yes
24078 else
24079 echo "$as_me: failed program was:" >&5
24080 sed 's/^/| /' conftest.$ac_ext >&5
24082 glibcxx_cv_func_frexpf_use=no
24084 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24085 ac_ext=c
24086 ac_cpp='$CPP $CPPFLAGS'
24087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24095 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
24096 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
24098 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
24100 for ac_func in frexpf
24102 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24103 echo "$as_me:$LINENO: checking for $ac_func" >&5
24104 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24105 if eval "test \"\${$as_ac_var+set}\" = set"; then
24106 echo $ECHO_N "(cached) $ECHO_C" >&6
24107 else
24108 if test x$gcc_no_link = xyes; then
24109 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24110 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24111 { (exit 1); exit 1; }; }
24113 cat >conftest.$ac_ext <<_ACEOF
24114 /* confdefs.h. */
24115 _ACEOF
24116 cat confdefs.h >>conftest.$ac_ext
24117 cat >>conftest.$ac_ext <<_ACEOF
24118 /* end confdefs.h. */
24119 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24120 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24121 #define $ac_func innocuous_$ac_func
24123 /* System header to define __stub macros and hopefully few prototypes,
24124 which can conflict with char $ac_func (); below.
24125 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24126 <limits.h> exists even on freestanding compilers. */
24128 #ifdef __STDC__
24129 # include <limits.h>
24130 #else
24131 # include <assert.h>
24132 #endif
24134 #undef $ac_func
24136 /* Override any gcc2 internal prototype to avoid an error. */
24137 #ifdef __cplusplus
24138 extern "C"
24140 #endif
24141 /* We use char because int might match the return type of a gcc2
24142 builtin and then its argument prototype would still apply. */
24143 char $ac_func ();
24144 /* The GNU C library defines this for functions which it implements
24145 to always fail with ENOSYS. Some functions are actually named
24146 something starting with __ and the normal name is an alias. */
24147 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24148 choke me
24149 #else
24150 char (*f) () = $ac_func;
24151 #endif
24152 #ifdef __cplusplus
24154 #endif
24157 main ()
24159 return f != $ac_func;
24161 return 0;
24163 _ACEOF
24164 rm -f conftest.$ac_objext conftest$ac_exeext
24165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24166 (eval $ac_link) 2>conftest.er1
24167 ac_status=$?
24168 grep -v '^ *+' conftest.er1 >conftest.err
24169 rm -f conftest.er1
24170 cat conftest.err >&5
24171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24172 (exit $ac_status); } &&
24173 { ac_try='test -z "$ac_c_werror_flag"
24174 || test ! -s conftest.err'
24175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24176 (eval $ac_try) 2>&5
24177 ac_status=$?
24178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24179 (exit $ac_status); }; } &&
24180 { ac_try='test -s conftest$ac_exeext'
24181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24182 (eval $ac_try) 2>&5
24183 ac_status=$?
24184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24185 (exit $ac_status); }; }; then
24186 eval "$as_ac_var=yes"
24187 else
24188 echo "$as_me: failed program was:" >&5
24189 sed 's/^/| /' conftest.$ac_ext >&5
24191 eval "$as_ac_var=no"
24193 rm -f conftest.err conftest.$ac_objext \
24194 conftest$ac_exeext conftest.$ac_ext
24196 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24197 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24198 if test `eval echo '${'$as_ac_var'}'` = yes; then
24199 cat >>confdefs.h <<_ACEOF
24200 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24201 _ACEOF
24204 done
24206 else
24208 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
24209 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
24210 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
24211 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
24212 echo $ECHO_N "(cached) $ECHO_C" >&6
24213 else
24217 ac_ext=cc
24218 ac_cpp='$CXXCPP $CPPFLAGS'
24219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24223 cat >conftest.$ac_ext <<_ACEOF
24224 /* confdefs.h. */
24225 _ACEOF
24226 cat confdefs.h >>conftest.$ac_ext
24227 cat >>conftest.$ac_ext <<_ACEOF
24228 /* end confdefs.h. */
24229 #include <math.h>
24231 main ()
24233 _frexpf(0, 0);
24235 return 0;
24237 _ACEOF
24238 rm -f conftest.$ac_objext
24239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24240 (eval $ac_compile) 2>conftest.er1
24241 ac_status=$?
24242 grep -v '^ *+' conftest.er1 >conftest.err
24243 rm -f conftest.er1
24244 cat conftest.err >&5
24245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24246 (exit $ac_status); } &&
24247 { ac_try='test -z "$ac_cxx_werror_flag"
24248 || test ! -s conftest.err'
24249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24250 (eval $ac_try) 2>&5
24251 ac_status=$?
24252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24253 (exit $ac_status); }; } &&
24254 { ac_try='test -s conftest.$ac_objext'
24255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24256 (eval $ac_try) 2>&5
24257 ac_status=$?
24258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24259 (exit $ac_status); }; }; then
24260 glibcxx_cv_func__frexpf_use=yes
24261 else
24262 echo "$as_me: failed program was:" >&5
24263 sed 's/^/| /' conftest.$ac_ext >&5
24265 glibcxx_cv_func__frexpf_use=no
24267 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24268 ac_ext=c
24269 ac_cpp='$CPP $CPPFLAGS'
24270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24278 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
24279 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
24281 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
24283 for ac_func in _frexpf
24285 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24286 echo "$as_me:$LINENO: checking for $ac_func" >&5
24287 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24288 if eval "test \"\${$as_ac_var+set}\" = set"; then
24289 echo $ECHO_N "(cached) $ECHO_C" >&6
24290 else
24291 if test x$gcc_no_link = xyes; then
24292 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24293 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24294 { (exit 1); exit 1; }; }
24296 cat >conftest.$ac_ext <<_ACEOF
24297 /* confdefs.h. */
24298 _ACEOF
24299 cat confdefs.h >>conftest.$ac_ext
24300 cat >>conftest.$ac_ext <<_ACEOF
24301 /* end confdefs.h. */
24302 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24303 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24304 #define $ac_func innocuous_$ac_func
24306 /* System header to define __stub macros and hopefully few prototypes,
24307 which can conflict with char $ac_func (); below.
24308 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24309 <limits.h> exists even on freestanding compilers. */
24311 #ifdef __STDC__
24312 # include <limits.h>
24313 #else
24314 # include <assert.h>
24315 #endif
24317 #undef $ac_func
24319 /* Override any gcc2 internal prototype to avoid an error. */
24320 #ifdef __cplusplus
24321 extern "C"
24323 #endif
24324 /* We use char because int might match the return type of a gcc2
24325 builtin and then its argument prototype would still apply. */
24326 char $ac_func ();
24327 /* The GNU C library defines this for functions which it implements
24328 to always fail with ENOSYS. Some functions are actually named
24329 something starting with __ and the normal name is an alias. */
24330 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24331 choke me
24332 #else
24333 char (*f) () = $ac_func;
24334 #endif
24335 #ifdef __cplusplus
24337 #endif
24340 main ()
24342 return f != $ac_func;
24344 return 0;
24346 _ACEOF
24347 rm -f conftest.$ac_objext conftest$ac_exeext
24348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24349 (eval $ac_link) 2>conftest.er1
24350 ac_status=$?
24351 grep -v '^ *+' conftest.er1 >conftest.err
24352 rm -f conftest.er1
24353 cat conftest.err >&5
24354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24355 (exit $ac_status); } &&
24356 { ac_try='test -z "$ac_c_werror_flag"
24357 || test ! -s conftest.err'
24358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24359 (eval $ac_try) 2>&5
24360 ac_status=$?
24361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24362 (exit $ac_status); }; } &&
24363 { ac_try='test -s conftest$ac_exeext'
24364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24365 (eval $ac_try) 2>&5
24366 ac_status=$?
24367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24368 (exit $ac_status); }; }; then
24369 eval "$as_ac_var=yes"
24370 else
24371 echo "$as_me: failed program was:" >&5
24372 sed 's/^/| /' conftest.$ac_ext >&5
24374 eval "$as_ac_var=no"
24376 rm -f conftest.err conftest.$ac_objext \
24377 conftest$ac_exeext conftest.$ac_ext
24379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24380 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24381 if test `eval echo '${'$as_ac_var'}'` = yes; then
24382 cat >>confdefs.h <<_ACEOF
24383 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24384 _ACEOF
24387 done
24397 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
24398 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
24399 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
24400 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
24401 echo $ECHO_N "(cached) $ECHO_C" >&6
24402 else
24406 ac_ext=cc
24407 ac_cpp='$CXXCPP $CPPFLAGS'
24408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24412 cat >conftest.$ac_ext <<_ACEOF
24413 /* confdefs.h. */
24414 _ACEOF
24415 cat confdefs.h >>conftest.$ac_ext
24416 cat >>conftest.$ac_ext <<_ACEOF
24417 /* end confdefs.h. */
24418 #include <math.h>
24420 main ()
24422 hypotf(0, 0);
24424 return 0;
24426 _ACEOF
24427 rm -f conftest.$ac_objext
24428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24429 (eval $ac_compile) 2>conftest.er1
24430 ac_status=$?
24431 grep -v '^ *+' conftest.er1 >conftest.err
24432 rm -f conftest.er1
24433 cat conftest.err >&5
24434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24435 (exit $ac_status); } &&
24436 { ac_try='test -z "$ac_cxx_werror_flag"
24437 || test ! -s conftest.err'
24438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24439 (eval $ac_try) 2>&5
24440 ac_status=$?
24441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24442 (exit $ac_status); }; } &&
24443 { ac_try='test -s conftest.$ac_objext'
24444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24445 (eval $ac_try) 2>&5
24446 ac_status=$?
24447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24448 (exit $ac_status); }; }; then
24449 glibcxx_cv_func_hypotf_use=yes
24450 else
24451 echo "$as_me: failed program was:" >&5
24452 sed 's/^/| /' conftest.$ac_ext >&5
24454 glibcxx_cv_func_hypotf_use=no
24456 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24457 ac_ext=c
24458 ac_cpp='$CPP $CPPFLAGS'
24459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24467 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
24468 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
24470 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
24472 for ac_func in hypotf
24474 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24475 echo "$as_me:$LINENO: checking for $ac_func" >&5
24476 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24477 if eval "test \"\${$as_ac_var+set}\" = set"; then
24478 echo $ECHO_N "(cached) $ECHO_C" >&6
24479 else
24480 if test x$gcc_no_link = xyes; then
24481 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24482 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24483 { (exit 1); exit 1; }; }
24485 cat >conftest.$ac_ext <<_ACEOF
24486 /* confdefs.h. */
24487 _ACEOF
24488 cat confdefs.h >>conftest.$ac_ext
24489 cat >>conftest.$ac_ext <<_ACEOF
24490 /* end confdefs.h. */
24491 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24492 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24493 #define $ac_func innocuous_$ac_func
24495 /* System header to define __stub macros and hopefully few prototypes,
24496 which can conflict with char $ac_func (); below.
24497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24498 <limits.h> exists even on freestanding compilers. */
24500 #ifdef __STDC__
24501 # include <limits.h>
24502 #else
24503 # include <assert.h>
24504 #endif
24506 #undef $ac_func
24508 /* Override any gcc2 internal prototype to avoid an error. */
24509 #ifdef __cplusplus
24510 extern "C"
24512 #endif
24513 /* We use char because int might match the return type of a gcc2
24514 builtin and then its argument prototype would still apply. */
24515 char $ac_func ();
24516 /* The GNU C library defines this for functions which it implements
24517 to always fail with ENOSYS. Some functions are actually named
24518 something starting with __ and the normal name is an alias. */
24519 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24520 choke me
24521 #else
24522 char (*f) () = $ac_func;
24523 #endif
24524 #ifdef __cplusplus
24526 #endif
24529 main ()
24531 return f != $ac_func;
24533 return 0;
24535 _ACEOF
24536 rm -f conftest.$ac_objext conftest$ac_exeext
24537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24538 (eval $ac_link) 2>conftest.er1
24539 ac_status=$?
24540 grep -v '^ *+' conftest.er1 >conftest.err
24541 rm -f conftest.er1
24542 cat conftest.err >&5
24543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24544 (exit $ac_status); } &&
24545 { ac_try='test -z "$ac_c_werror_flag"
24546 || test ! -s conftest.err'
24547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24548 (eval $ac_try) 2>&5
24549 ac_status=$?
24550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24551 (exit $ac_status); }; } &&
24552 { ac_try='test -s conftest$ac_exeext'
24553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24554 (eval $ac_try) 2>&5
24555 ac_status=$?
24556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24557 (exit $ac_status); }; }; then
24558 eval "$as_ac_var=yes"
24559 else
24560 echo "$as_me: failed program was:" >&5
24561 sed 's/^/| /' conftest.$ac_ext >&5
24563 eval "$as_ac_var=no"
24565 rm -f conftest.err conftest.$ac_objext \
24566 conftest$ac_exeext conftest.$ac_ext
24568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24569 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24570 if test `eval echo '${'$as_ac_var'}'` = yes; then
24571 cat >>confdefs.h <<_ACEOF
24572 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24573 _ACEOF
24576 done
24578 else
24580 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
24581 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
24582 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
24583 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
24584 echo $ECHO_N "(cached) $ECHO_C" >&6
24585 else
24589 ac_ext=cc
24590 ac_cpp='$CXXCPP $CPPFLAGS'
24591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24595 cat >conftest.$ac_ext <<_ACEOF
24596 /* confdefs.h. */
24597 _ACEOF
24598 cat confdefs.h >>conftest.$ac_ext
24599 cat >>conftest.$ac_ext <<_ACEOF
24600 /* end confdefs.h. */
24601 #include <math.h>
24603 main ()
24605 _hypotf(0, 0);
24607 return 0;
24609 _ACEOF
24610 rm -f conftest.$ac_objext
24611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24612 (eval $ac_compile) 2>conftest.er1
24613 ac_status=$?
24614 grep -v '^ *+' conftest.er1 >conftest.err
24615 rm -f conftest.er1
24616 cat conftest.err >&5
24617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24618 (exit $ac_status); } &&
24619 { ac_try='test -z "$ac_cxx_werror_flag"
24620 || test ! -s conftest.err'
24621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24622 (eval $ac_try) 2>&5
24623 ac_status=$?
24624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24625 (exit $ac_status); }; } &&
24626 { ac_try='test -s conftest.$ac_objext'
24627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24628 (eval $ac_try) 2>&5
24629 ac_status=$?
24630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24631 (exit $ac_status); }; }; then
24632 glibcxx_cv_func__hypotf_use=yes
24633 else
24634 echo "$as_me: failed program was:" >&5
24635 sed 's/^/| /' conftest.$ac_ext >&5
24637 glibcxx_cv_func__hypotf_use=no
24639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24640 ac_ext=c
24641 ac_cpp='$CPP $CPPFLAGS'
24642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24650 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
24651 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
24653 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
24655 for ac_func in _hypotf
24657 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24658 echo "$as_me:$LINENO: checking for $ac_func" >&5
24659 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24660 if eval "test \"\${$as_ac_var+set}\" = set"; then
24661 echo $ECHO_N "(cached) $ECHO_C" >&6
24662 else
24663 if test x$gcc_no_link = xyes; then
24664 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24665 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24666 { (exit 1); exit 1; }; }
24668 cat >conftest.$ac_ext <<_ACEOF
24669 /* confdefs.h. */
24670 _ACEOF
24671 cat confdefs.h >>conftest.$ac_ext
24672 cat >>conftest.$ac_ext <<_ACEOF
24673 /* end confdefs.h. */
24674 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24675 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24676 #define $ac_func innocuous_$ac_func
24678 /* System header to define __stub macros and hopefully few prototypes,
24679 which can conflict with char $ac_func (); below.
24680 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24681 <limits.h> exists even on freestanding compilers. */
24683 #ifdef __STDC__
24684 # include <limits.h>
24685 #else
24686 # include <assert.h>
24687 #endif
24689 #undef $ac_func
24691 /* Override any gcc2 internal prototype to avoid an error. */
24692 #ifdef __cplusplus
24693 extern "C"
24695 #endif
24696 /* We use char because int might match the return type of a gcc2
24697 builtin and then its argument prototype would still apply. */
24698 char $ac_func ();
24699 /* The GNU C library defines this for functions which it implements
24700 to always fail with ENOSYS. Some functions are actually named
24701 something starting with __ and the normal name is an alias. */
24702 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24703 choke me
24704 #else
24705 char (*f) () = $ac_func;
24706 #endif
24707 #ifdef __cplusplus
24709 #endif
24712 main ()
24714 return f != $ac_func;
24716 return 0;
24718 _ACEOF
24719 rm -f conftest.$ac_objext conftest$ac_exeext
24720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24721 (eval $ac_link) 2>conftest.er1
24722 ac_status=$?
24723 grep -v '^ *+' conftest.er1 >conftest.err
24724 rm -f conftest.er1
24725 cat conftest.err >&5
24726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24727 (exit $ac_status); } &&
24728 { ac_try='test -z "$ac_c_werror_flag"
24729 || test ! -s conftest.err'
24730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24731 (eval $ac_try) 2>&5
24732 ac_status=$?
24733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24734 (exit $ac_status); }; } &&
24735 { ac_try='test -s conftest$ac_exeext'
24736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24737 (eval $ac_try) 2>&5
24738 ac_status=$?
24739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24740 (exit $ac_status); }; }; then
24741 eval "$as_ac_var=yes"
24742 else
24743 echo "$as_me: failed program was:" >&5
24744 sed 's/^/| /' conftest.$ac_ext >&5
24746 eval "$as_ac_var=no"
24748 rm -f conftest.err conftest.$ac_objext \
24749 conftest$ac_exeext conftest.$ac_ext
24751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24752 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24753 if test `eval echo '${'$as_ac_var'}'` = yes; then
24754 cat >>confdefs.h <<_ACEOF
24755 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24756 _ACEOF
24759 done
24769 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
24770 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
24771 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
24772 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
24773 echo $ECHO_N "(cached) $ECHO_C" >&6
24774 else
24778 ac_ext=cc
24779 ac_cpp='$CXXCPP $CPPFLAGS'
24780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24784 cat >conftest.$ac_ext <<_ACEOF
24785 /* confdefs.h. */
24786 _ACEOF
24787 cat confdefs.h >>conftest.$ac_ext
24788 cat >>conftest.$ac_ext <<_ACEOF
24789 /* end confdefs.h. */
24790 #include <math.h>
24792 main ()
24794 ldexpf(0, 0);
24796 return 0;
24798 _ACEOF
24799 rm -f conftest.$ac_objext
24800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24801 (eval $ac_compile) 2>conftest.er1
24802 ac_status=$?
24803 grep -v '^ *+' conftest.er1 >conftest.err
24804 rm -f conftest.er1
24805 cat conftest.err >&5
24806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24807 (exit $ac_status); } &&
24808 { ac_try='test -z "$ac_cxx_werror_flag"
24809 || test ! -s conftest.err'
24810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24811 (eval $ac_try) 2>&5
24812 ac_status=$?
24813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24814 (exit $ac_status); }; } &&
24815 { ac_try='test -s conftest.$ac_objext'
24816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24817 (eval $ac_try) 2>&5
24818 ac_status=$?
24819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24820 (exit $ac_status); }; }; then
24821 glibcxx_cv_func_ldexpf_use=yes
24822 else
24823 echo "$as_me: failed program was:" >&5
24824 sed 's/^/| /' conftest.$ac_ext >&5
24826 glibcxx_cv_func_ldexpf_use=no
24828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24829 ac_ext=c
24830 ac_cpp='$CPP $CPPFLAGS'
24831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24839 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
24840 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
24842 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
24844 for ac_func in ldexpf
24846 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24847 echo "$as_me:$LINENO: checking for $ac_func" >&5
24848 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24849 if eval "test \"\${$as_ac_var+set}\" = set"; then
24850 echo $ECHO_N "(cached) $ECHO_C" >&6
24851 else
24852 if test x$gcc_no_link = xyes; then
24853 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24854 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24855 { (exit 1); exit 1; }; }
24857 cat >conftest.$ac_ext <<_ACEOF
24858 /* confdefs.h. */
24859 _ACEOF
24860 cat confdefs.h >>conftest.$ac_ext
24861 cat >>conftest.$ac_ext <<_ACEOF
24862 /* end confdefs.h. */
24863 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24864 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24865 #define $ac_func innocuous_$ac_func
24867 /* System header to define __stub macros and hopefully few prototypes,
24868 which can conflict with char $ac_func (); below.
24869 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24870 <limits.h> exists even on freestanding compilers. */
24872 #ifdef __STDC__
24873 # include <limits.h>
24874 #else
24875 # include <assert.h>
24876 #endif
24878 #undef $ac_func
24880 /* Override any gcc2 internal prototype to avoid an error. */
24881 #ifdef __cplusplus
24882 extern "C"
24884 #endif
24885 /* We use char because int might match the return type of a gcc2
24886 builtin and then its argument prototype would still apply. */
24887 char $ac_func ();
24888 /* The GNU C library defines this for functions which it implements
24889 to always fail with ENOSYS. Some functions are actually named
24890 something starting with __ and the normal name is an alias. */
24891 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24892 choke me
24893 #else
24894 char (*f) () = $ac_func;
24895 #endif
24896 #ifdef __cplusplus
24898 #endif
24901 main ()
24903 return f != $ac_func;
24905 return 0;
24907 _ACEOF
24908 rm -f conftest.$ac_objext conftest$ac_exeext
24909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24910 (eval $ac_link) 2>conftest.er1
24911 ac_status=$?
24912 grep -v '^ *+' conftest.er1 >conftest.err
24913 rm -f conftest.er1
24914 cat conftest.err >&5
24915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24916 (exit $ac_status); } &&
24917 { ac_try='test -z "$ac_c_werror_flag"
24918 || test ! -s conftest.err'
24919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24920 (eval $ac_try) 2>&5
24921 ac_status=$?
24922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24923 (exit $ac_status); }; } &&
24924 { ac_try='test -s conftest$ac_exeext'
24925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24926 (eval $ac_try) 2>&5
24927 ac_status=$?
24928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24929 (exit $ac_status); }; }; then
24930 eval "$as_ac_var=yes"
24931 else
24932 echo "$as_me: failed program was:" >&5
24933 sed 's/^/| /' conftest.$ac_ext >&5
24935 eval "$as_ac_var=no"
24937 rm -f conftest.err conftest.$ac_objext \
24938 conftest$ac_exeext conftest.$ac_ext
24940 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24941 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24942 if test `eval echo '${'$as_ac_var'}'` = yes; then
24943 cat >>confdefs.h <<_ACEOF
24944 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24945 _ACEOF
24948 done
24950 else
24952 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
24953 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
24954 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
24955 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
24956 echo $ECHO_N "(cached) $ECHO_C" >&6
24957 else
24961 ac_ext=cc
24962 ac_cpp='$CXXCPP $CPPFLAGS'
24963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24967 cat >conftest.$ac_ext <<_ACEOF
24968 /* confdefs.h. */
24969 _ACEOF
24970 cat confdefs.h >>conftest.$ac_ext
24971 cat >>conftest.$ac_ext <<_ACEOF
24972 /* end confdefs.h. */
24973 #include <math.h>
24975 main ()
24977 _ldexpf(0, 0);
24979 return 0;
24981 _ACEOF
24982 rm -f conftest.$ac_objext
24983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24984 (eval $ac_compile) 2>conftest.er1
24985 ac_status=$?
24986 grep -v '^ *+' conftest.er1 >conftest.err
24987 rm -f conftest.er1
24988 cat conftest.err >&5
24989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24990 (exit $ac_status); } &&
24991 { ac_try='test -z "$ac_cxx_werror_flag"
24992 || test ! -s conftest.err'
24993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24994 (eval $ac_try) 2>&5
24995 ac_status=$?
24996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24997 (exit $ac_status); }; } &&
24998 { ac_try='test -s conftest.$ac_objext'
24999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25000 (eval $ac_try) 2>&5
25001 ac_status=$?
25002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25003 (exit $ac_status); }; }; then
25004 glibcxx_cv_func__ldexpf_use=yes
25005 else
25006 echo "$as_me: failed program was:" >&5
25007 sed 's/^/| /' conftest.$ac_ext >&5
25009 glibcxx_cv_func__ldexpf_use=no
25011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25012 ac_ext=c
25013 ac_cpp='$CPP $CPPFLAGS'
25014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25022 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
25023 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
25025 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
25027 for ac_func in _ldexpf
25029 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25030 echo "$as_me:$LINENO: checking for $ac_func" >&5
25031 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25032 if eval "test \"\${$as_ac_var+set}\" = set"; then
25033 echo $ECHO_N "(cached) $ECHO_C" >&6
25034 else
25035 if test x$gcc_no_link = xyes; then
25036 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25037 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25038 { (exit 1); exit 1; }; }
25040 cat >conftest.$ac_ext <<_ACEOF
25041 /* confdefs.h. */
25042 _ACEOF
25043 cat confdefs.h >>conftest.$ac_ext
25044 cat >>conftest.$ac_ext <<_ACEOF
25045 /* end confdefs.h. */
25046 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25047 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25048 #define $ac_func innocuous_$ac_func
25050 /* System header to define __stub macros and hopefully few prototypes,
25051 which can conflict with char $ac_func (); below.
25052 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25053 <limits.h> exists even on freestanding compilers. */
25055 #ifdef __STDC__
25056 # include <limits.h>
25057 #else
25058 # include <assert.h>
25059 #endif
25061 #undef $ac_func
25063 /* Override any gcc2 internal prototype to avoid an error. */
25064 #ifdef __cplusplus
25065 extern "C"
25067 #endif
25068 /* We use char because int might match the return type of a gcc2
25069 builtin and then its argument prototype would still apply. */
25070 char $ac_func ();
25071 /* The GNU C library defines this for functions which it implements
25072 to always fail with ENOSYS. Some functions are actually named
25073 something starting with __ and the normal name is an alias. */
25074 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25075 choke me
25076 #else
25077 char (*f) () = $ac_func;
25078 #endif
25079 #ifdef __cplusplus
25081 #endif
25084 main ()
25086 return f != $ac_func;
25088 return 0;
25090 _ACEOF
25091 rm -f conftest.$ac_objext conftest$ac_exeext
25092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25093 (eval $ac_link) 2>conftest.er1
25094 ac_status=$?
25095 grep -v '^ *+' conftest.er1 >conftest.err
25096 rm -f conftest.er1
25097 cat conftest.err >&5
25098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25099 (exit $ac_status); } &&
25100 { ac_try='test -z "$ac_c_werror_flag"
25101 || test ! -s conftest.err'
25102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25103 (eval $ac_try) 2>&5
25104 ac_status=$?
25105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25106 (exit $ac_status); }; } &&
25107 { ac_try='test -s conftest$ac_exeext'
25108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25109 (eval $ac_try) 2>&5
25110 ac_status=$?
25111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25112 (exit $ac_status); }; }; then
25113 eval "$as_ac_var=yes"
25114 else
25115 echo "$as_me: failed program was:" >&5
25116 sed 's/^/| /' conftest.$ac_ext >&5
25118 eval "$as_ac_var=no"
25120 rm -f conftest.err conftest.$ac_objext \
25121 conftest$ac_exeext conftest.$ac_ext
25123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25124 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25125 if test `eval echo '${'$as_ac_var'}'` = yes; then
25126 cat >>confdefs.h <<_ACEOF
25127 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25128 _ACEOF
25131 done
25141 echo "$as_me:$LINENO: checking for logf declaration" >&5
25142 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
25143 if test x${glibcxx_cv_func_logf_use+set} != xset; then
25144 if test "${glibcxx_cv_func_logf_use+set}" = set; then
25145 echo $ECHO_N "(cached) $ECHO_C" >&6
25146 else
25150 ac_ext=cc
25151 ac_cpp='$CXXCPP $CPPFLAGS'
25152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25156 cat >conftest.$ac_ext <<_ACEOF
25157 /* confdefs.h. */
25158 _ACEOF
25159 cat confdefs.h >>conftest.$ac_ext
25160 cat >>conftest.$ac_ext <<_ACEOF
25161 /* end confdefs.h. */
25162 #include <math.h>
25163 #ifdef HAVE_IEEEFP_H
25164 #include <ieeefp.h>
25165 #endif
25168 main ()
25170 logf(0);
25172 return 0;
25174 _ACEOF
25175 rm -f conftest.$ac_objext
25176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25177 (eval $ac_compile) 2>conftest.er1
25178 ac_status=$?
25179 grep -v '^ *+' conftest.er1 >conftest.err
25180 rm -f conftest.er1
25181 cat conftest.err >&5
25182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25183 (exit $ac_status); } &&
25184 { ac_try='test -z "$ac_cxx_werror_flag"
25185 || test ! -s conftest.err'
25186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25187 (eval $ac_try) 2>&5
25188 ac_status=$?
25189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25190 (exit $ac_status); }; } &&
25191 { ac_try='test -s conftest.$ac_objext'
25192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25193 (eval $ac_try) 2>&5
25194 ac_status=$?
25195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25196 (exit $ac_status); }; }; then
25197 glibcxx_cv_func_logf_use=yes
25198 else
25199 echo "$as_me: failed program was:" >&5
25200 sed 's/^/| /' conftest.$ac_ext >&5
25202 glibcxx_cv_func_logf_use=no
25204 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25205 ac_ext=c
25206 ac_cpp='$CPP $CPPFLAGS'
25207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25215 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
25216 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
25218 if test x$glibcxx_cv_func_logf_use = x"yes"; then
25220 for ac_func in logf
25222 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25223 echo "$as_me:$LINENO: checking for $ac_func" >&5
25224 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25225 if eval "test \"\${$as_ac_var+set}\" = set"; then
25226 echo $ECHO_N "(cached) $ECHO_C" >&6
25227 else
25228 if test x$gcc_no_link = xyes; then
25229 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25230 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25231 { (exit 1); exit 1; }; }
25233 cat >conftest.$ac_ext <<_ACEOF
25234 /* confdefs.h. */
25235 _ACEOF
25236 cat confdefs.h >>conftest.$ac_ext
25237 cat >>conftest.$ac_ext <<_ACEOF
25238 /* end confdefs.h. */
25239 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25240 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25241 #define $ac_func innocuous_$ac_func
25243 /* System header to define __stub macros and hopefully few prototypes,
25244 which can conflict with char $ac_func (); below.
25245 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25246 <limits.h> exists even on freestanding compilers. */
25248 #ifdef __STDC__
25249 # include <limits.h>
25250 #else
25251 # include <assert.h>
25252 #endif
25254 #undef $ac_func
25256 /* Override any gcc2 internal prototype to avoid an error. */
25257 #ifdef __cplusplus
25258 extern "C"
25260 #endif
25261 /* We use char because int might match the return type of a gcc2
25262 builtin and then its argument prototype would still apply. */
25263 char $ac_func ();
25264 /* The GNU C library defines this for functions which it implements
25265 to always fail with ENOSYS. Some functions are actually named
25266 something starting with __ and the normal name is an alias. */
25267 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25268 choke me
25269 #else
25270 char (*f) () = $ac_func;
25271 #endif
25272 #ifdef __cplusplus
25274 #endif
25277 main ()
25279 return f != $ac_func;
25281 return 0;
25283 _ACEOF
25284 rm -f conftest.$ac_objext conftest$ac_exeext
25285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25286 (eval $ac_link) 2>conftest.er1
25287 ac_status=$?
25288 grep -v '^ *+' conftest.er1 >conftest.err
25289 rm -f conftest.er1
25290 cat conftest.err >&5
25291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25292 (exit $ac_status); } &&
25293 { ac_try='test -z "$ac_c_werror_flag"
25294 || test ! -s conftest.err'
25295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25296 (eval $ac_try) 2>&5
25297 ac_status=$?
25298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25299 (exit $ac_status); }; } &&
25300 { ac_try='test -s conftest$ac_exeext'
25301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25302 (eval $ac_try) 2>&5
25303 ac_status=$?
25304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25305 (exit $ac_status); }; }; then
25306 eval "$as_ac_var=yes"
25307 else
25308 echo "$as_me: failed program was:" >&5
25309 sed 's/^/| /' conftest.$ac_ext >&5
25311 eval "$as_ac_var=no"
25313 rm -f conftest.err conftest.$ac_objext \
25314 conftest$ac_exeext conftest.$ac_ext
25316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25317 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25318 if test `eval echo '${'$as_ac_var'}'` = yes; then
25319 cat >>confdefs.h <<_ACEOF
25320 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25321 _ACEOF
25324 done
25326 else
25328 echo "$as_me:$LINENO: checking for _logf declaration" >&5
25329 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
25330 if test x${glibcxx_cv_func__logf_use+set} != xset; then
25331 if test "${glibcxx_cv_func__logf_use+set}" = set; then
25332 echo $ECHO_N "(cached) $ECHO_C" >&6
25333 else
25337 ac_ext=cc
25338 ac_cpp='$CXXCPP $CPPFLAGS'
25339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25343 cat >conftest.$ac_ext <<_ACEOF
25344 /* confdefs.h. */
25345 _ACEOF
25346 cat confdefs.h >>conftest.$ac_ext
25347 cat >>conftest.$ac_ext <<_ACEOF
25348 /* end confdefs.h. */
25349 #include <math.h>
25350 #ifdef HAVE_IEEEFP_H
25351 #include <ieeefp.h>
25352 #endif
25355 main ()
25357 _logf(0);
25359 return 0;
25361 _ACEOF
25362 rm -f conftest.$ac_objext
25363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25364 (eval $ac_compile) 2>conftest.er1
25365 ac_status=$?
25366 grep -v '^ *+' conftest.er1 >conftest.err
25367 rm -f conftest.er1
25368 cat conftest.err >&5
25369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25370 (exit $ac_status); } &&
25371 { ac_try='test -z "$ac_cxx_werror_flag"
25372 || test ! -s conftest.err'
25373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25374 (eval $ac_try) 2>&5
25375 ac_status=$?
25376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25377 (exit $ac_status); }; } &&
25378 { ac_try='test -s conftest.$ac_objext'
25379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25380 (eval $ac_try) 2>&5
25381 ac_status=$?
25382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25383 (exit $ac_status); }; }; then
25384 glibcxx_cv_func__logf_use=yes
25385 else
25386 echo "$as_me: failed program was:" >&5
25387 sed 's/^/| /' conftest.$ac_ext >&5
25389 glibcxx_cv_func__logf_use=no
25391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25392 ac_ext=c
25393 ac_cpp='$CPP $CPPFLAGS'
25394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25402 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
25403 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
25405 if test x$glibcxx_cv_func__logf_use = x"yes"; then
25407 for ac_func in _logf
25409 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25410 echo "$as_me:$LINENO: checking for $ac_func" >&5
25411 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25412 if eval "test \"\${$as_ac_var+set}\" = set"; then
25413 echo $ECHO_N "(cached) $ECHO_C" >&6
25414 else
25415 if test x$gcc_no_link = xyes; then
25416 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25418 { (exit 1); exit 1; }; }
25420 cat >conftest.$ac_ext <<_ACEOF
25421 /* confdefs.h. */
25422 _ACEOF
25423 cat confdefs.h >>conftest.$ac_ext
25424 cat >>conftest.$ac_ext <<_ACEOF
25425 /* end confdefs.h. */
25426 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25427 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25428 #define $ac_func innocuous_$ac_func
25430 /* System header to define __stub macros and hopefully few prototypes,
25431 which can conflict with char $ac_func (); below.
25432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25433 <limits.h> exists even on freestanding compilers. */
25435 #ifdef __STDC__
25436 # include <limits.h>
25437 #else
25438 # include <assert.h>
25439 #endif
25441 #undef $ac_func
25443 /* Override any gcc2 internal prototype to avoid an error. */
25444 #ifdef __cplusplus
25445 extern "C"
25447 #endif
25448 /* We use char because int might match the return type of a gcc2
25449 builtin and then its argument prototype would still apply. */
25450 char $ac_func ();
25451 /* The GNU C library defines this for functions which it implements
25452 to always fail with ENOSYS. Some functions are actually named
25453 something starting with __ and the normal name is an alias. */
25454 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25455 choke me
25456 #else
25457 char (*f) () = $ac_func;
25458 #endif
25459 #ifdef __cplusplus
25461 #endif
25464 main ()
25466 return f != $ac_func;
25468 return 0;
25470 _ACEOF
25471 rm -f conftest.$ac_objext conftest$ac_exeext
25472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25473 (eval $ac_link) 2>conftest.er1
25474 ac_status=$?
25475 grep -v '^ *+' conftest.er1 >conftest.err
25476 rm -f conftest.er1
25477 cat conftest.err >&5
25478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25479 (exit $ac_status); } &&
25480 { ac_try='test -z "$ac_c_werror_flag"
25481 || test ! -s conftest.err'
25482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25483 (eval $ac_try) 2>&5
25484 ac_status=$?
25485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25486 (exit $ac_status); }; } &&
25487 { ac_try='test -s conftest$ac_exeext'
25488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25489 (eval $ac_try) 2>&5
25490 ac_status=$?
25491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25492 (exit $ac_status); }; }; then
25493 eval "$as_ac_var=yes"
25494 else
25495 echo "$as_me: failed program was:" >&5
25496 sed 's/^/| /' conftest.$ac_ext >&5
25498 eval "$as_ac_var=no"
25500 rm -f conftest.err conftest.$ac_objext \
25501 conftest$ac_exeext conftest.$ac_ext
25503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25504 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25505 if test `eval echo '${'$as_ac_var'}'` = yes; then
25506 cat >>confdefs.h <<_ACEOF
25507 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25508 _ACEOF
25511 done
25521 echo "$as_me:$LINENO: checking for log10f declaration" >&5
25522 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
25523 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
25524 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
25525 echo $ECHO_N "(cached) $ECHO_C" >&6
25526 else
25530 ac_ext=cc
25531 ac_cpp='$CXXCPP $CPPFLAGS'
25532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25536 cat >conftest.$ac_ext <<_ACEOF
25537 /* confdefs.h. */
25538 _ACEOF
25539 cat confdefs.h >>conftest.$ac_ext
25540 cat >>conftest.$ac_ext <<_ACEOF
25541 /* end confdefs.h. */
25542 #include <math.h>
25543 #ifdef HAVE_IEEEFP_H
25544 #include <ieeefp.h>
25545 #endif
25548 main ()
25550 log10f(0);
25552 return 0;
25554 _ACEOF
25555 rm -f conftest.$ac_objext
25556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25557 (eval $ac_compile) 2>conftest.er1
25558 ac_status=$?
25559 grep -v '^ *+' conftest.er1 >conftest.err
25560 rm -f conftest.er1
25561 cat conftest.err >&5
25562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25563 (exit $ac_status); } &&
25564 { ac_try='test -z "$ac_cxx_werror_flag"
25565 || test ! -s conftest.err'
25566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25567 (eval $ac_try) 2>&5
25568 ac_status=$?
25569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25570 (exit $ac_status); }; } &&
25571 { ac_try='test -s conftest.$ac_objext'
25572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25573 (eval $ac_try) 2>&5
25574 ac_status=$?
25575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25576 (exit $ac_status); }; }; then
25577 glibcxx_cv_func_log10f_use=yes
25578 else
25579 echo "$as_me: failed program was:" >&5
25580 sed 's/^/| /' conftest.$ac_ext >&5
25582 glibcxx_cv_func_log10f_use=no
25584 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25585 ac_ext=c
25586 ac_cpp='$CPP $CPPFLAGS'
25587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25595 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
25596 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
25598 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
25600 for ac_func in log10f
25602 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25603 echo "$as_me:$LINENO: checking for $ac_func" >&5
25604 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25605 if eval "test \"\${$as_ac_var+set}\" = set"; then
25606 echo $ECHO_N "(cached) $ECHO_C" >&6
25607 else
25608 if test x$gcc_no_link = xyes; then
25609 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25610 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25611 { (exit 1); exit 1; }; }
25613 cat >conftest.$ac_ext <<_ACEOF
25614 /* confdefs.h. */
25615 _ACEOF
25616 cat confdefs.h >>conftest.$ac_ext
25617 cat >>conftest.$ac_ext <<_ACEOF
25618 /* end confdefs.h. */
25619 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25620 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25621 #define $ac_func innocuous_$ac_func
25623 /* System header to define __stub macros and hopefully few prototypes,
25624 which can conflict with char $ac_func (); below.
25625 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25626 <limits.h> exists even on freestanding compilers. */
25628 #ifdef __STDC__
25629 # include <limits.h>
25630 #else
25631 # include <assert.h>
25632 #endif
25634 #undef $ac_func
25636 /* Override any gcc2 internal prototype to avoid an error. */
25637 #ifdef __cplusplus
25638 extern "C"
25640 #endif
25641 /* We use char because int might match the return type of a gcc2
25642 builtin and then its argument prototype would still apply. */
25643 char $ac_func ();
25644 /* The GNU C library defines this for functions which it implements
25645 to always fail with ENOSYS. Some functions are actually named
25646 something starting with __ and the normal name is an alias. */
25647 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25648 choke me
25649 #else
25650 char (*f) () = $ac_func;
25651 #endif
25652 #ifdef __cplusplus
25654 #endif
25657 main ()
25659 return f != $ac_func;
25661 return 0;
25663 _ACEOF
25664 rm -f conftest.$ac_objext conftest$ac_exeext
25665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25666 (eval $ac_link) 2>conftest.er1
25667 ac_status=$?
25668 grep -v '^ *+' conftest.er1 >conftest.err
25669 rm -f conftest.er1
25670 cat conftest.err >&5
25671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25672 (exit $ac_status); } &&
25673 { ac_try='test -z "$ac_c_werror_flag"
25674 || test ! -s conftest.err'
25675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25676 (eval $ac_try) 2>&5
25677 ac_status=$?
25678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25679 (exit $ac_status); }; } &&
25680 { ac_try='test -s conftest$ac_exeext'
25681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25682 (eval $ac_try) 2>&5
25683 ac_status=$?
25684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25685 (exit $ac_status); }; }; then
25686 eval "$as_ac_var=yes"
25687 else
25688 echo "$as_me: failed program was:" >&5
25689 sed 's/^/| /' conftest.$ac_ext >&5
25691 eval "$as_ac_var=no"
25693 rm -f conftest.err conftest.$ac_objext \
25694 conftest$ac_exeext conftest.$ac_ext
25696 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25697 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25698 if test `eval echo '${'$as_ac_var'}'` = yes; then
25699 cat >>confdefs.h <<_ACEOF
25700 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25701 _ACEOF
25704 done
25706 else
25708 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
25709 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
25710 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
25711 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
25712 echo $ECHO_N "(cached) $ECHO_C" >&6
25713 else
25717 ac_ext=cc
25718 ac_cpp='$CXXCPP $CPPFLAGS'
25719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25723 cat >conftest.$ac_ext <<_ACEOF
25724 /* confdefs.h. */
25725 _ACEOF
25726 cat confdefs.h >>conftest.$ac_ext
25727 cat >>conftest.$ac_ext <<_ACEOF
25728 /* end confdefs.h. */
25729 #include <math.h>
25730 #ifdef HAVE_IEEEFP_H
25731 #include <ieeefp.h>
25732 #endif
25735 main ()
25737 _log10f(0);
25739 return 0;
25741 _ACEOF
25742 rm -f conftest.$ac_objext
25743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25744 (eval $ac_compile) 2>conftest.er1
25745 ac_status=$?
25746 grep -v '^ *+' conftest.er1 >conftest.err
25747 rm -f conftest.er1
25748 cat conftest.err >&5
25749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25750 (exit $ac_status); } &&
25751 { ac_try='test -z "$ac_cxx_werror_flag"
25752 || test ! -s conftest.err'
25753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25754 (eval $ac_try) 2>&5
25755 ac_status=$?
25756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25757 (exit $ac_status); }; } &&
25758 { ac_try='test -s conftest.$ac_objext'
25759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25760 (eval $ac_try) 2>&5
25761 ac_status=$?
25762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25763 (exit $ac_status); }; }; then
25764 glibcxx_cv_func__log10f_use=yes
25765 else
25766 echo "$as_me: failed program was:" >&5
25767 sed 's/^/| /' conftest.$ac_ext >&5
25769 glibcxx_cv_func__log10f_use=no
25771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25772 ac_ext=c
25773 ac_cpp='$CPP $CPPFLAGS'
25774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25782 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
25783 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
25785 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
25787 for ac_func in _log10f
25789 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25790 echo "$as_me:$LINENO: checking for $ac_func" >&5
25791 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25792 if eval "test \"\${$as_ac_var+set}\" = set"; then
25793 echo $ECHO_N "(cached) $ECHO_C" >&6
25794 else
25795 if test x$gcc_no_link = xyes; then
25796 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25797 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25798 { (exit 1); exit 1; }; }
25800 cat >conftest.$ac_ext <<_ACEOF
25801 /* confdefs.h. */
25802 _ACEOF
25803 cat confdefs.h >>conftest.$ac_ext
25804 cat >>conftest.$ac_ext <<_ACEOF
25805 /* end confdefs.h. */
25806 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25807 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25808 #define $ac_func innocuous_$ac_func
25810 /* System header to define __stub macros and hopefully few prototypes,
25811 which can conflict with char $ac_func (); below.
25812 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25813 <limits.h> exists even on freestanding compilers. */
25815 #ifdef __STDC__
25816 # include <limits.h>
25817 #else
25818 # include <assert.h>
25819 #endif
25821 #undef $ac_func
25823 /* Override any gcc2 internal prototype to avoid an error. */
25824 #ifdef __cplusplus
25825 extern "C"
25827 #endif
25828 /* We use char because int might match the return type of a gcc2
25829 builtin and then its argument prototype would still apply. */
25830 char $ac_func ();
25831 /* The GNU C library defines this for functions which it implements
25832 to always fail with ENOSYS. Some functions are actually named
25833 something starting with __ and the normal name is an alias. */
25834 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25835 choke me
25836 #else
25837 char (*f) () = $ac_func;
25838 #endif
25839 #ifdef __cplusplus
25841 #endif
25844 main ()
25846 return f != $ac_func;
25848 return 0;
25850 _ACEOF
25851 rm -f conftest.$ac_objext conftest$ac_exeext
25852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25853 (eval $ac_link) 2>conftest.er1
25854 ac_status=$?
25855 grep -v '^ *+' conftest.er1 >conftest.err
25856 rm -f conftest.er1
25857 cat conftest.err >&5
25858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25859 (exit $ac_status); } &&
25860 { ac_try='test -z "$ac_c_werror_flag"
25861 || test ! -s conftest.err'
25862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25863 (eval $ac_try) 2>&5
25864 ac_status=$?
25865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25866 (exit $ac_status); }; } &&
25867 { ac_try='test -s conftest$ac_exeext'
25868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25869 (eval $ac_try) 2>&5
25870 ac_status=$?
25871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25872 (exit $ac_status); }; }; then
25873 eval "$as_ac_var=yes"
25874 else
25875 echo "$as_me: failed program was:" >&5
25876 sed 's/^/| /' conftest.$ac_ext >&5
25878 eval "$as_ac_var=no"
25880 rm -f conftest.err conftest.$ac_objext \
25881 conftest$ac_exeext conftest.$ac_ext
25883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25884 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25885 if test `eval echo '${'$as_ac_var'}'` = yes; then
25886 cat >>confdefs.h <<_ACEOF
25887 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25888 _ACEOF
25891 done
25901 echo "$as_me:$LINENO: checking for modff declaration" >&5
25902 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
25903 if test x${glibcxx_cv_func_modff_use+set} != xset; then
25904 if test "${glibcxx_cv_func_modff_use+set}" = set; then
25905 echo $ECHO_N "(cached) $ECHO_C" >&6
25906 else
25910 ac_ext=cc
25911 ac_cpp='$CXXCPP $CPPFLAGS'
25912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25916 cat >conftest.$ac_ext <<_ACEOF
25917 /* confdefs.h. */
25918 _ACEOF
25919 cat confdefs.h >>conftest.$ac_ext
25920 cat >>conftest.$ac_ext <<_ACEOF
25921 /* end confdefs.h. */
25922 #include <math.h>
25924 main ()
25926 modff(0, 0);
25928 return 0;
25930 _ACEOF
25931 rm -f conftest.$ac_objext
25932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25933 (eval $ac_compile) 2>conftest.er1
25934 ac_status=$?
25935 grep -v '^ *+' conftest.er1 >conftest.err
25936 rm -f conftest.er1
25937 cat conftest.err >&5
25938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25939 (exit $ac_status); } &&
25940 { ac_try='test -z "$ac_cxx_werror_flag"
25941 || test ! -s conftest.err'
25942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25943 (eval $ac_try) 2>&5
25944 ac_status=$?
25945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25946 (exit $ac_status); }; } &&
25947 { ac_try='test -s conftest.$ac_objext'
25948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25949 (eval $ac_try) 2>&5
25950 ac_status=$?
25951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25952 (exit $ac_status); }; }; then
25953 glibcxx_cv_func_modff_use=yes
25954 else
25955 echo "$as_me: failed program was:" >&5
25956 sed 's/^/| /' conftest.$ac_ext >&5
25958 glibcxx_cv_func_modff_use=no
25960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25961 ac_ext=c
25962 ac_cpp='$CPP $CPPFLAGS'
25963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25971 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
25972 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
25974 if test x$glibcxx_cv_func_modff_use = x"yes"; then
25976 for ac_func in modff
25978 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25979 echo "$as_me:$LINENO: checking for $ac_func" >&5
25980 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25981 if eval "test \"\${$as_ac_var+set}\" = set"; then
25982 echo $ECHO_N "(cached) $ECHO_C" >&6
25983 else
25984 if test x$gcc_no_link = xyes; then
25985 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25986 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25987 { (exit 1); exit 1; }; }
25989 cat >conftest.$ac_ext <<_ACEOF
25990 /* confdefs.h. */
25991 _ACEOF
25992 cat confdefs.h >>conftest.$ac_ext
25993 cat >>conftest.$ac_ext <<_ACEOF
25994 /* end confdefs.h. */
25995 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25996 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25997 #define $ac_func innocuous_$ac_func
25999 /* System header to define __stub macros and hopefully few prototypes,
26000 which can conflict with char $ac_func (); below.
26001 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26002 <limits.h> exists even on freestanding compilers. */
26004 #ifdef __STDC__
26005 # include <limits.h>
26006 #else
26007 # include <assert.h>
26008 #endif
26010 #undef $ac_func
26012 /* Override any gcc2 internal prototype to avoid an error. */
26013 #ifdef __cplusplus
26014 extern "C"
26016 #endif
26017 /* We use char because int might match the return type of a gcc2
26018 builtin and then its argument prototype would still apply. */
26019 char $ac_func ();
26020 /* The GNU C library defines this for functions which it implements
26021 to always fail with ENOSYS. Some functions are actually named
26022 something starting with __ and the normal name is an alias. */
26023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26024 choke me
26025 #else
26026 char (*f) () = $ac_func;
26027 #endif
26028 #ifdef __cplusplus
26030 #endif
26033 main ()
26035 return f != $ac_func;
26037 return 0;
26039 _ACEOF
26040 rm -f conftest.$ac_objext conftest$ac_exeext
26041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26042 (eval $ac_link) 2>conftest.er1
26043 ac_status=$?
26044 grep -v '^ *+' conftest.er1 >conftest.err
26045 rm -f conftest.er1
26046 cat conftest.err >&5
26047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26048 (exit $ac_status); } &&
26049 { ac_try='test -z "$ac_c_werror_flag"
26050 || test ! -s conftest.err'
26051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26052 (eval $ac_try) 2>&5
26053 ac_status=$?
26054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26055 (exit $ac_status); }; } &&
26056 { ac_try='test -s conftest$ac_exeext'
26057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26058 (eval $ac_try) 2>&5
26059 ac_status=$?
26060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26061 (exit $ac_status); }; }; then
26062 eval "$as_ac_var=yes"
26063 else
26064 echo "$as_me: failed program was:" >&5
26065 sed 's/^/| /' conftest.$ac_ext >&5
26067 eval "$as_ac_var=no"
26069 rm -f conftest.err conftest.$ac_objext \
26070 conftest$ac_exeext conftest.$ac_ext
26072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26073 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26074 if test `eval echo '${'$as_ac_var'}'` = yes; then
26075 cat >>confdefs.h <<_ACEOF
26076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26077 _ACEOF
26080 done
26082 else
26084 echo "$as_me:$LINENO: checking for _modff declaration" >&5
26085 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
26086 if test x${glibcxx_cv_func__modff_use+set} != xset; then
26087 if test "${glibcxx_cv_func__modff_use+set}" = set; then
26088 echo $ECHO_N "(cached) $ECHO_C" >&6
26089 else
26093 ac_ext=cc
26094 ac_cpp='$CXXCPP $CPPFLAGS'
26095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26099 cat >conftest.$ac_ext <<_ACEOF
26100 /* confdefs.h. */
26101 _ACEOF
26102 cat confdefs.h >>conftest.$ac_ext
26103 cat >>conftest.$ac_ext <<_ACEOF
26104 /* end confdefs.h. */
26105 #include <math.h>
26107 main ()
26109 _modff(0, 0);
26111 return 0;
26113 _ACEOF
26114 rm -f conftest.$ac_objext
26115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26116 (eval $ac_compile) 2>conftest.er1
26117 ac_status=$?
26118 grep -v '^ *+' conftest.er1 >conftest.err
26119 rm -f conftest.er1
26120 cat conftest.err >&5
26121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26122 (exit $ac_status); } &&
26123 { ac_try='test -z "$ac_cxx_werror_flag"
26124 || test ! -s conftest.err'
26125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26126 (eval $ac_try) 2>&5
26127 ac_status=$?
26128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26129 (exit $ac_status); }; } &&
26130 { ac_try='test -s conftest.$ac_objext'
26131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26132 (eval $ac_try) 2>&5
26133 ac_status=$?
26134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26135 (exit $ac_status); }; }; then
26136 glibcxx_cv_func__modff_use=yes
26137 else
26138 echo "$as_me: failed program was:" >&5
26139 sed 's/^/| /' conftest.$ac_ext >&5
26141 glibcxx_cv_func__modff_use=no
26143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26144 ac_ext=c
26145 ac_cpp='$CPP $CPPFLAGS'
26146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26154 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
26155 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
26157 if test x$glibcxx_cv_func__modff_use = x"yes"; then
26159 for ac_func in _modff
26161 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26162 echo "$as_me:$LINENO: checking for $ac_func" >&5
26163 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26164 if eval "test \"\${$as_ac_var+set}\" = set"; then
26165 echo $ECHO_N "(cached) $ECHO_C" >&6
26166 else
26167 if test x$gcc_no_link = xyes; then
26168 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26169 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26170 { (exit 1); exit 1; }; }
26172 cat >conftest.$ac_ext <<_ACEOF
26173 /* confdefs.h. */
26174 _ACEOF
26175 cat confdefs.h >>conftest.$ac_ext
26176 cat >>conftest.$ac_ext <<_ACEOF
26177 /* end confdefs.h. */
26178 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26179 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26180 #define $ac_func innocuous_$ac_func
26182 /* System header to define __stub macros and hopefully few prototypes,
26183 which can conflict with char $ac_func (); below.
26184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26185 <limits.h> exists even on freestanding compilers. */
26187 #ifdef __STDC__
26188 # include <limits.h>
26189 #else
26190 # include <assert.h>
26191 #endif
26193 #undef $ac_func
26195 /* Override any gcc2 internal prototype to avoid an error. */
26196 #ifdef __cplusplus
26197 extern "C"
26199 #endif
26200 /* We use char because int might match the return type of a gcc2
26201 builtin and then its argument prototype would still apply. */
26202 char $ac_func ();
26203 /* The GNU C library defines this for functions which it implements
26204 to always fail with ENOSYS. Some functions are actually named
26205 something starting with __ and the normal name is an alias. */
26206 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26207 choke me
26208 #else
26209 char (*f) () = $ac_func;
26210 #endif
26211 #ifdef __cplusplus
26213 #endif
26216 main ()
26218 return f != $ac_func;
26220 return 0;
26222 _ACEOF
26223 rm -f conftest.$ac_objext conftest$ac_exeext
26224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26225 (eval $ac_link) 2>conftest.er1
26226 ac_status=$?
26227 grep -v '^ *+' conftest.er1 >conftest.err
26228 rm -f conftest.er1
26229 cat conftest.err >&5
26230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26231 (exit $ac_status); } &&
26232 { ac_try='test -z "$ac_c_werror_flag"
26233 || test ! -s conftest.err'
26234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26235 (eval $ac_try) 2>&5
26236 ac_status=$?
26237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26238 (exit $ac_status); }; } &&
26239 { ac_try='test -s conftest$ac_exeext'
26240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26241 (eval $ac_try) 2>&5
26242 ac_status=$?
26243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26244 (exit $ac_status); }; }; then
26245 eval "$as_ac_var=yes"
26246 else
26247 echo "$as_me: failed program was:" >&5
26248 sed 's/^/| /' conftest.$ac_ext >&5
26250 eval "$as_ac_var=no"
26252 rm -f conftest.err conftest.$ac_objext \
26253 conftest$ac_exeext conftest.$ac_ext
26255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26256 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26257 if test `eval echo '${'$as_ac_var'}'` = yes; then
26258 cat >>confdefs.h <<_ACEOF
26259 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26260 _ACEOF
26263 done
26273 echo "$as_me:$LINENO: checking for modf declaration" >&5
26274 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
26275 if test x${glibcxx_cv_func_modf_use+set} != xset; then
26276 if test "${glibcxx_cv_func_modf_use+set}" = set; then
26277 echo $ECHO_N "(cached) $ECHO_C" >&6
26278 else
26282 ac_ext=cc
26283 ac_cpp='$CXXCPP $CPPFLAGS'
26284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26288 cat >conftest.$ac_ext <<_ACEOF
26289 /* confdefs.h. */
26290 _ACEOF
26291 cat confdefs.h >>conftest.$ac_ext
26292 cat >>conftest.$ac_ext <<_ACEOF
26293 /* end confdefs.h. */
26294 #include <math.h>
26296 main ()
26298 modf(0, 0);
26300 return 0;
26302 _ACEOF
26303 rm -f conftest.$ac_objext
26304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26305 (eval $ac_compile) 2>conftest.er1
26306 ac_status=$?
26307 grep -v '^ *+' conftest.er1 >conftest.err
26308 rm -f conftest.er1
26309 cat conftest.err >&5
26310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26311 (exit $ac_status); } &&
26312 { ac_try='test -z "$ac_cxx_werror_flag"
26313 || test ! -s conftest.err'
26314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26315 (eval $ac_try) 2>&5
26316 ac_status=$?
26317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26318 (exit $ac_status); }; } &&
26319 { ac_try='test -s conftest.$ac_objext'
26320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26321 (eval $ac_try) 2>&5
26322 ac_status=$?
26323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26324 (exit $ac_status); }; }; then
26325 glibcxx_cv_func_modf_use=yes
26326 else
26327 echo "$as_me: failed program was:" >&5
26328 sed 's/^/| /' conftest.$ac_ext >&5
26330 glibcxx_cv_func_modf_use=no
26332 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26333 ac_ext=c
26334 ac_cpp='$CPP $CPPFLAGS'
26335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26343 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
26344 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
26346 if test x$glibcxx_cv_func_modf_use = x"yes"; then
26348 for ac_func in modf
26350 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26351 echo "$as_me:$LINENO: checking for $ac_func" >&5
26352 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26353 if eval "test \"\${$as_ac_var+set}\" = set"; then
26354 echo $ECHO_N "(cached) $ECHO_C" >&6
26355 else
26356 if test x$gcc_no_link = xyes; then
26357 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26358 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26359 { (exit 1); exit 1; }; }
26361 cat >conftest.$ac_ext <<_ACEOF
26362 /* confdefs.h. */
26363 _ACEOF
26364 cat confdefs.h >>conftest.$ac_ext
26365 cat >>conftest.$ac_ext <<_ACEOF
26366 /* end confdefs.h. */
26367 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26368 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26369 #define $ac_func innocuous_$ac_func
26371 /* System header to define __stub macros and hopefully few prototypes,
26372 which can conflict with char $ac_func (); below.
26373 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26374 <limits.h> exists even on freestanding compilers. */
26376 #ifdef __STDC__
26377 # include <limits.h>
26378 #else
26379 # include <assert.h>
26380 #endif
26382 #undef $ac_func
26384 /* Override any gcc2 internal prototype to avoid an error. */
26385 #ifdef __cplusplus
26386 extern "C"
26388 #endif
26389 /* We use char because int might match the return type of a gcc2
26390 builtin and then its argument prototype would still apply. */
26391 char $ac_func ();
26392 /* The GNU C library defines this for functions which it implements
26393 to always fail with ENOSYS. Some functions are actually named
26394 something starting with __ and the normal name is an alias. */
26395 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26396 choke me
26397 #else
26398 char (*f) () = $ac_func;
26399 #endif
26400 #ifdef __cplusplus
26402 #endif
26405 main ()
26407 return f != $ac_func;
26409 return 0;
26411 _ACEOF
26412 rm -f conftest.$ac_objext conftest$ac_exeext
26413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26414 (eval $ac_link) 2>conftest.er1
26415 ac_status=$?
26416 grep -v '^ *+' conftest.er1 >conftest.err
26417 rm -f conftest.er1
26418 cat conftest.err >&5
26419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26420 (exit $ac_status); } &&
26421 { ac_try='test -z "$ac_c_werror_flag"
26422 || test ! -s conftest.err'
26423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26424 (eval $ac_try) 2>&5
26425 ac_status=$?
26426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26427 (exit $ac_status); }; } &&
26428 { ac_try='test -s conftest$ac_exeext'
26429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26430 (eval $ac_try) 2>&5
26431 ac_status=$?
26432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26433 (exit $ac_status); }; }; then
26434 eval "$as_ac_var=yes"
26435 else
26436 echo "$as_me: failed program was:" >&5
26437 sed 's/^/| /' conftest.$ac_ext >&5
26439 eval "$as_ac_var=no"
26441 rm -f conftest.err conftest.$ac_objext \
26442 conftest$ac_exeext conftest.$ac_ext
26444 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26445 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26446 if test `eval echo '${'$as_ac_var'}'` = yes; then
26447 cat >>confdefs.h <<_ACEOF
26448 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26449 _ACEOF
26452 done
26454 else
26456 echo "$as_me:$LINENO: checking for _modf declaration" >&5
26457 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
26458 if test x${glibcxx_cv_func__modf_use+set} != xset; then
26459 if test "${glibcxx_cv_func__modf_use+set}" = set; then
26460 echo $ECHO_N "(cached) $ECHO_C" >&6
26461 else
26465 ac_ext=cc
26466 ac_cpp='$CXXCPP $CPPFLAGS'
26467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26471 cat >conftest.$ac_ext <<_ACEOF
26472 /* confdefs.h. */
26473 _ACEOF
26474 cat confdefs.h >>conftest.$ac_ext
26475 cat >>conftest.$ac_ext <<_ACEOF
26476 /* end confdefs.h. */
26477 #include <math.h>
26479 main ()
26481 _modf(0, 0);
26483 return 0;
26485 _ACEOF
26486 rm -f conftest.$ac_objext
26487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26488 (eval $ac_compile) 2>conftest.er1
26489 ac_status=$?
26490 grep -v '^ *+' conftest.er1 >conftest.err
26491 rm -f conftest.er1
26492 cat conftest.err >&5
26493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26494 (exit $ac_status); } &&
26495 { ac_try='test -z "$ac_cxx_werror_flag"
26496 || test ! -s conftest.err'
26497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26498 (eval $ac_try) 2>&5
26499 ac_status=$?
26500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26501 (exit $ac_status); }; } &&
26502 { ac_try='test -s conftest.$ac_objext'
26503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26504 (eval $ac_try) 2>&5
26505 ac_status=$?
26506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26507 (exit $ac_status); }; }; then
26508 glibcxx_cv_func__modf_use=yes
26509 else
26510 echo "$as_me: failed program was:" >&5
26511 sed 's/^/| /' conftest.$ac_ext >&5
26513 glibcxx_cv_func__modf_use=no
26515 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26516 ac_ext=c
26517 ac_cpp='$CPP $CPPFLAGS'
26518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26526 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
26527 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
26529 if test x$glibcxx_cv_func__modf_use = x"yes"; then
26531 for ac_func in _modf
26533 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26534 echo "$as_me:$LINENO: checking for $ac_func" >&5
26535 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26536 if eval "test \"\${$as_ac_var+set}\" = set"; then
26537 echo $ECHO_N "(cached) $ECHO_C" >&6
26538 else
26539 if test x$gcc_no_link = xyes; then
26540 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26541 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26542 { (exit 1); exit 1; }; }
26544 cat >conftest.$ac_ext <<_ACEOF
26545 /* confdefs.h. */
26546 _ACEOF
26547 cat confdefs.h >>conftest.$ac_ext
26548 cat >>conftest.$ac_ext <<_ACEOF
26549 /* end confdefs.h. */
26550 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26551 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26552 #define $ac_func innocuous_$ac_func
26554 /* System header to define __stub macros and hopefully few prototypes,
26555 which can conflict with char $ac_func (); below.
26556 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26557 <limits.h> exists even on freestanding compilers. */
26559 #ifdef __STDC__
26560 # include <limits.h>
26561 #else
26562 # include <assert.h>
26563 #endif
26565 #undef $ac_func
26567 /* Override any gcc2 internal prototype to avoid an error. */
26568 #ifdef __cplusplus
26569 extern "C"
26571 #endif
26572 /* We use char because int might match the return type of a gcc2
26573 builtin and then its argument prototype would still apply. */
26574 char $ac_func ();
26575 /* The GNU C library defines this for functions which it implements
26576 to always fail with ENOSYS. Some functions are actually named
26577 something starting with __ and the normal name is an alias. */
26578 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26579 choke me
26580 #else
26581 char (*f) () = $ac_func;
26582 #endif
26583 #ifdef __cplusplus
26585 #endif
26588 main ()
26590 return f != $ac_func;
26592 return 0;
26594 _ACEOF
26595 rm -f conftest.$ac_objext conftest$ac_exeext
26596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26597 (eval $ac_link) 2>conftest.er1
26598 ac_status=$?
26599 grep -v '^ *+' conftest.er1 >conftest.err
26600 rm -f conftest.er1
26601 cat conftest.err >&5
26602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26603 (exit $ac_status); } &&
26604 { ac_try='test -z "$ac_c_werror_flag"
26605 || test ! -s conftest.err'
26606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26607 (eval $ac_try) 2>&5
26608 ac_status=$?
26609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26610 (exit $ac_status); }; } &&
26611 { ac_try='test -s conftest$ac_exeext'
26612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26613 (eval $ac_try) 2>&5
26614 ac_status=$?
26615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26616 (exit $ac_status); }; }; then
26617 eval "$as_ac_var=yes"
26618 else
26619 echo "$as_me: failed program was:" >&5
26620 sed 's/^/| /' conftest.$ac_ext >&5
26622 eval "$as_ac_var=no"
26624 rm -f conftest.err conftest.$ac_objext \
26625 conftest$ac_exeext conftest.$ac_ext
26627 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26628 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26629 if test `eval echo '${'$as_ac_var'}'` = yes; then
26630 cat >>confdefs.h <<_ACEOF
26631 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26632 _ACEOF
26635 done
26645 echo "$as_me:$LINENO: checking for powf declaration" >&5
26646 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
26647 if test x${glibcxx_cv_func_powf_use+set} != xset; then
26648 if test "${glibcxx_cv_func_powf_use+set}" = set; then
26649 echo $ECHO_N "(cached) $ECHO_C" >&6
26650 else
26654 ac_ext=cc
26655 ac_cpp='$CXXCPP $CPPFLAGS'
26656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26660 cat >conftest.$ac_ext <<_ACEOF
26661 /* confdefs.h. */
26662 _ACEOF
26663 cat confdefs.h >>conftest.$ac_ext
26664 cat >>conftest.$ac_ext <<_ACEOF
26665 /* end confdefs.h. */
26666 #include <math.h>
26668 main ()
26670 powf(0, 0);
26672 return 0;
26674 _ACEOF
26675 rm -f conftest.$ac_objext
26676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26677 (eval $ac_compile) 2>conftest.er1
26678 ac_status=$?
26679 grep -v '^ *+' conftest.er1 >conftest.err
26680 rm -f conftest.er1
26681 cat conftest.err >&5
26682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26683 (exit $ac_status); } &&
26684 { ac_try='test -z "$ac_cxx_werror_flag"
26685 || test ! -s conftest.err'
26686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26687 (eval $ac_try) 2>&5
26688 ac_status=$?
26689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26690 (exit $ac_status); }; } &&
26691 { ac_try='test -s conftest.$ac_objext'
26692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26693 (eval $ac_try) 2>&5
26694 ac_status=$?
26695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26696 (exit $ac_status); }; }; then
26697 glibcxx_cv_func_powf_use=yes
26698 else
26699 echo "$as_me: failed program was:" >&5
26700 sed 's/^/| /' conftest.$ac_ext >&5
26702 glibcxx_cv_func_powf_use=no
26704 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26705 ac_ext=c
26706 ac_cpp='$CPP $CPPFLAGS'
26707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26715 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
26716 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
26718 if test x$glibcxx_cv_func_powf_use = x"yes"; then
26720 for ac_func in powf
26722 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26723 echo "$as_me:$LINENO: checking for $ac_func" >&5
26724 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26725 if eval "test \"\${$as_ac_var+set}\" = set"; then
26726 echo $ECHO_N "(cached) $ECHO_C" >&6
26727 else
26728 if test x$gcc_no_link = xyes; then
26729 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26730 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26731 { (exit 1); exit 1; }; }
26733 cat >conftest.$ac_ext <<_ACEOF
26734 /* confdefs.h. */
26735 _ACEOF
26736 cat confdefs.h >>conftest.$ac_ext
26737 cat >>conftest.$ac_ext <<_ACEOF
26738 /* end confdefs.h. */
26739 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26740 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26741 #define $ac_func innocuous_$ac_func
26743 /* System header to define __stub macros and hopefully few prototypes,
26744 which can conflict with char $ac_func (); below.
26745 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26746 <limits.h> exists even on freestanding compilers. */
26748 #ifdef __STDC__
26749 # include <limits.h>
26750 #else
26751 # include <assert.h>
26752 #endif
26754 #undef $ac_func
26756 /* Override any gcc2 internal prototype to avoid an error. */
26757 #ifdef __cplusplus
26758 extern "C"
26760 #endif
26761 /* We use char because int might match the return type of a gcc2
26762 builtin and then its argument prototype would still apply. */
26763 char $ac_func ();
26764 /* The GNU C library defines this for functions which it implements
26765 to always fail with ENOSYS. Some functions are actually named
26766 something starting with __ and the normal name is an alias. */
26767 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26768 choke me
26769 #else
26770 char (*f) () = $ac_func;
26771 #endif
26772 #ifdef __cplusplus
26774 #endif
26777 main ()
26779 return f != $ac_func;
26781 return 0;
26783 _ACEOF
26784 rm -f conftest.$ac_objext conftest$ac_exeext
26785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26786 (eval $ac_link) 2>conftest.er1
26787 ac_status=$?
26788 grep -v '^ *+' conftest.er1 >conftest.err
26789 rm -f conftest.er1
26790 cat conftest.err >&5
26791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26792 (exit $ac_status); } &&
26793 { ac_try='test -z "$ac_c_werror_flag"
26794 || test ! -s conftest.err'
26795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26796 (eval $ac_try) 2>&5
26797 ac_status=$?
26798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26799 (exit $ac_status); }; } &&
26800 { ac_try='test -s conftest$ac_exeext'
26801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26802 (eval $ac_try) 2>&5
26803 ac_status=$?
26804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26805 (exit $ac_status); }; }; then
26806 eval "$as_ac_var=yes"
26807 else
26808 echo "$as_me: failed program was:" >&5
26809 sed 's/^/| /' conftest.$ac_ext >&5
26811 eval "$as_ac_var=no"
26813 rm -f conftest.err conftest.$ac_objext \
26814 conftest$ac_exeext conftest.$ac_ext
26816 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26817 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26818 if test `eval echo '${'$as_ac_var'}'` = yes; then
26819 cat >>confdefs.h <<_ACEOF
26820 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26821 _ACEOF
26824 done
26826 else
26828 echo "$as_me:$LINENO: checking for _powf declaration" >&5
26829 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
26830 if test x${glibcxx_cv_func__powf_use+set} != xset; then
26831 if test "${glibcxx_cv_func__powf_use+set}" = set; then
26832 echo $ECHO_N "(cached) $ECHO_C" >&6
26833 else
26837 ac_ext=cc
26838 ac_cpp='$CXXCPP $CPPFLAGS'
26839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26843 cat >conftest.$ac_ext <<_ACEOF
26844 /* confdefs.h. */
26845 _ACEOF
26846 cat confdefs.h >>conftest.$ac_ext
26847 cat >>conftest.$ac_ext <<_ACEOF
26848 /* end confdefs.h. */
26849 #include <math.h>
26851 main ()
26853 _powf(0, 0);
26855 return 0;
26857 _ACEOF
26858 rm -f conftest.$ac_objext
26859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26860 (eval $ac_compile) 2>conftest.er1
26861 ac_status=$?
26862 grep -v '^ *+' conftest.er1 >conftest.err
26863 rm -f conftest.er1
26864 cat conftest.err >&5
26865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26866 (exit $ac_status); } &&
26867 { ac_try='test -z "$ac_cxx_werror_flag"
26868 || test ! -s conftest.err'
26869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26870 (eval $ac_try) 2>&5
26871 ac_status=$?
26872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26873 (exit $ac_status); }; } &&
26874 { ac_try='test -s conftest.$ac_objext'
26875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26876 (eval $ac_try) 2>&5
26877 ac_status=$?
26878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26879 (exit $ac_status); }; }; then
26880 glibcxx_cv_func__powf_use=yes
26881 else
26882 echo "$as_me: failed program was:" >&5
26883 sed 's/^/| /' conftest.$ac_ext >&5
26885 glibcxx_cv_func__powf_use=no
26887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26888 ac_ext=c
26889 ac_cpp='$CPP $CPPFLAGS'
26890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26898 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
26899 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
26901 if test x$glibcxx_cv_func__powf_use = x"yes"; then
26903 for ac_func in _powf
26905 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26906 echo "$as_me:$LINENO: checking for $ac_func" >&5
26907 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26908 if eval "test \"\${$as_ac_var+set}\" = set"; then
26909 echo $ECHO_N "(cached) $ECHO_C" >&6
26910 else
26911 if test x$gcc_no_link = xyes; then
26912 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26913 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26914 { (exit 1); exit 1; }; }
26916 cat >conftest.$ac_ext <<_ACEOF
26917 /* confdefs.h. */
26918 _ACEOF
26919 cat confdefs.h >>conftest.$ac_ext
26920 cat >>conftest.$ac_ext <<_ACEOF
26921 /* end confdefs.h. */
26922 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26923 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26924 #define $ac_func innocuous_$ac_func
26926 /* System header to define __stub macros and hopefully few prototypes,
26927 which can conflict with char $ac_func (); below.
26928 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26929 <limits.h> exists even on freestanding compilers. */
26931 #ifdef __STDC__
26932 # include <limits.h>
26933 #else
26934 # include <assert.h>
26935 #endif
26937 #undef $ac_func
26939 /* Override any gcc2 internal prototype to avoid an error. */
26940 #ifdef __cplusplus
26941 extern "C"
26943 #endif
26944 /* We use char because int might match the return type of a gcc2
26945 builtin and then its argument prototype would still apply. */
26946 char $ac_func ();
26947 /* The GNU C library defines this for functions which it implements
26948 to always fail with ENOSYS. Some functions are actually named
26949 something starting with __ and the normal name is an alias. */
26950 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26951 choke me
26952 #else
26953 char (*f) () = $ac_func;
26954 #endif
26955 #ifdef __cplusplus
26957 #endif
26960 main ()
26962 return f != $ac_func;
26964 return 0;
26966 _ACEOF
26967 rm -f conftest.$ac_objext conftest$ac_exeext
26968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26969 (eval $ac_link) 2>conftest.er1
26970 ac_status=$?
26971 grep -v '^ *+' conftest.er1 >conftest.err
26972 rm -f conftest.er1
26973 cat conftest.err >&5
26974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26975 (exit $ac_status); } &&
26976 { ac_try='test -z "$ac_c_werror_flag"
26977 || test ! -s conftest.err'
26978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26979 (eval $ac_try) 2>&5
26980 ac_status=$?
26981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26982 (exit $ac_status); }; } &&
26983 { ac_try='test -s conftest$ac_exeext'
26984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26985 (eval $ac_try) 2>&5
26986 ac_status=$?
26987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26988 (exit $ac_status); }; }; then
26989 eval "$as_ac_var=yes"
26990 else
26991 echo "$as_me: failed program was:" >&5
26992 sed 's/^/| /' conftest.$ac_ext >&5
26994 eval "$as_ac_var=no"
26996 rm -f conftest.err conftest.$ac_objext \
26997 conftest$ac_exeext conftest.$ac_ext
26999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27000 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27001 if test `eval echo '${'$as_ac_var'}'` = yes; then
27002 cat >>confdefs.h <<_ACEOF
27003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27004 _ACEOF
27007 done
27017 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
27018 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
27019 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
27020 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
27021 echo $ECHO_N "(cached) $ECHO_C" >&6
27022 else
27026 ac_ext=cc
27027 ac_cpp='$CXXCPP $CPPFLAGS'
27028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27032 cat >conftest.$ac_ext <<_ACEOF
27033 /* confdefs.h. */
27034 _ACEOF
27035 cat confdefs.h >>conftest.$ac_ext
27036 cat >>conftest.$ac_ext <<_ACEOF
27037 /* end confdefs.h. */
27038 #include <math.h>
27039 #ifdef HAVE_IEEEFP_H
27040 #include <ieeefp.h>
27041 #endif
27044 main ()
27046 sqrtf(0);
27048 return 0;
27050 _ACEOF
27051 rm -f conftest.$ac_objext
27052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27053 (eval $ac_compile) 2>conftest.er1
27054 ac_status=$?
27055 grep -v '^ *+' conftest.er1 >conftest.err
27056 rm -f conftest.er1
27057 cat conftest.err >&5
27058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27059 (exit $ac_status); } &&
27060 { ac_try='test -z "$ac_cxx_werror_flag"
27061 || test ! -s conftest.err'
27062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27063 (eval $ac_try) 2>&5
27064 ac_status=$?
27065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27066 (exit $ac_status); }; } &&
27067 { ac_try='test -s conftest.$ac_objext'
27068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27069 (eval $ac_try) 2>&5
27070 ac_status=$?
27071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27072 (exit $ac_status); }; }; then
27073 glibcxx_cv_func_sqrtf_use=yes
27074 else
27075 echo "$as_me: failed program was:" >&5
27076 sed 's/^/| /' conftest.$ac_ext >&5
27078 glibcxx_cv_func_sqrtf_use=no
27080 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27081 ac_ext=c
27082 ac_cpp='$CPP $CPPFLAGS'
27083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27091 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
27092 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
27094 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
27096 for ac_func in sqrtf
27098 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27099 echo "$as_me:$LINENO: checking for $ac_func" >&5
27100 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27101 if eval "test \"\${$as_ac_var+set}\" = set"; then
27102 echo $ECHO_N "(cached) $ECHO_C" >&6
27103 else
27104 if test x$gcc_no_link = xyes; then
27105 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27106 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27107 { (exit 1); exit 1; }; }
27109 cat >conftest.$ac_ext <<_ACEOF
27110 /* confdefs.h. */
27111 _ACEOF
27112 cat confdefs.h >>conftest.$ac_ext
27113 cat >>conftest.$ac_ext <<_ACEOF
27114 /* end confdefs.h. */
27115 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27116 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27117 #define $ac_func innocuous_$ac_func
27119 /* System header to define __stub macros and hopefully few prototypes,
27120 which can conflict with char $ac_func (); below.
27121 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27122 <limits.h> exists even on freestanding compilers. */
27124 #ifdef __STDC__
27125 # include <limits.h>
27126 #else
27127 # include <assert.h>
27128 #endif
27130 #undef $ac_func
27132 /* Override any gcc2 internal prototype to avoid an error. */
27133 #ifdef __cplusplus
27134 extern "C"
27136 #endif
27137 /* We use char because int might match the return type of a gcc2
27138 builtin and then its argument prototype would still apply. */
27139 char $ac_func ();
27140 /* The GNU C library defines this for functions which it implements
27141 to always fail with ENOSYS. Some functions are actually named
27142 something starting with __ and the normal name is an alias. */
27143 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27144 choke me
27145 #else
27146 char (*f) () = $ac_func;
27147 #endif
27148 #ifdef __cplusplus
27150 #endif
27153 main ()
27155 return f != $ac_func;
27157 return 0;
27159 _ACEOF
27160 rm -f conftest.$ac_objext conftest$ac_exeext
27161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27162 (eval $ac_link) 2>conftest.er1
27163 ac_status=$?
27164 grep -v '^ *+' conftest.er1 >conftest.err
27165 rm -f conftest.er1
27166 cat conftest.err >&5
27167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27168 (exit $ac_status); } &&
27169 { ac_try='test -z "$ac_c_werror_flag"
27170 || test ! -s conftest.err'
27171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27172 (eval $ac_try) 2>&5
27173 ac_status=$?
27174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27175 (exit $ac_status); }; } &&
27176 { ac_try='test -s conftest$ac_exeext'
27177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27178 (eval $ac_try) 2>&5
27179 ac_status=$?
27180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27181 (exit $ac_status); }; }; then
27182 eval "$as_ac_var=yes"
27183 else
27184 echo "$as_me: failed program was:" >&5
27185 sed 's/^/| /' conftest.$ac_ext >&5
27187 eval "$as_ac_var=no"
27189 rm -f conftest.err conftest.$ac_objext \
27190 conftest$ac_exeext conftest.$ac_ext
27192 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27193 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27194 if test `eval echo '${'$as_ac_var'}'` = yes; then
27195 cat >>confdefs.h <<_ACEOF
27196 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27197 _ACEOF
27200 done
27202 else
27204 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
27205 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
27206 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
27207 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
27208 echo $ECHO_N "(cached) $ECHO_C" >&6
27209 else
27213 ac_ext=cc
27214 ac_cpp='$CXXCPP $CPPFLAGS'
27215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27219 cat >conftest.$ac_ext <<_ACEOF
27220 /* confdefs.h. */
27221 _ACEOF
27222 cat confdefs.h >>conftest.$ac_ext
27223 cat >>conftest.$ac_ext <<_ACEOF
27224 /* end confdefs.h. */
27225 #include <math.h>
27226 #ifdef HAVE_IEEEFP_H
27227 #include <ieeefp.h>
27228 #endif
27231 main ()
27233 _sqrtf(0);
27235 return 0;
27237 _ACEOF
27238 rm -f conftest.$ac_objext
27239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27240 (eval $ac_compile) 2>conftest.er1
27241 ac_status=$?
27242 grep -v '^ *+' conftest.er1 >conftest.err
27243 rm -f conftest.er1
27244 cat conftest.err >&5
27245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27246 (exit $ac_status); } &&
27247 { ac_try='test -z "$ac_cxx_werror_flag"
27248 || test ! -s conftest.err'
27249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27250 (eval $ac_try) 2>&5
27251 ac_status=$?
27252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27253 (exit $ac_status); }; } &&
27254 { ac_try='test -s conftest.$ac_objext'
27255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27256 (eval $ac_try) 2>&5
27257 ac_status=$?
27258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27259 (exit $ac_status); }; }; then
27260 glibcxx_cv_func__sqrtf_use=yes
27261 else
27262 echo "$as_me: failed program was:" >&5
27263 sed 's/^/| /' conftest.$ac_ext >&5
27265 glibcxx_cv_func__sqrtf_use=no
27267 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27268 ac_ext=c
27269 ac_cpp='$CPP $CPPFLAGS'
27270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27278 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
27279 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
27281 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
27283 for ac_func in _sqrtf
27285 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27286 echo "$as_me:$LINENO: checking for $ac_func" >&5
27287 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27288 if eval "test \"\${$as_ac_var+set}\" = set"; then
27289 echo $ECHO_N "(cached) $ECHO_C" >&6
27290 else
27291 if test x$gcc_no_link = xyes; then
27292 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27293 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27294 { (exit 1); exit 1; }; }
27296 cat >conftest.$ac_ext <<_ACEOF
27297 /* confdefs.h. */
27298 _ACEOF
27299 cat confdefs.h >>conftest.$ac_ext
27300 cat >>conftest.$ac_ext <<_ACEOF
27301 /* end confdefs.h. */
27302 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27303 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27304 #define $ac_func innocuous_$ac_func
27306 /* System header to define __stub macros and hopefully few prototypes,
27307 which can conflict with char $ac_func (); below.
27308 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27309 <limits.h> exists even on freestanding compilers. */
27311 #ifdef __STDC__
27312 # include <limits.h>
27313 #else
27314 # include <assert.h>
27315 #endif
27317 #undef $ac_func
27319 /* Override any gcc2 internal prototype to avoid an error. */
27320 #ifdef __cplusplus
27321 extern "C"
27323 #endif
27324 /* We use char because int might match the return type of a gcc2
27325 builtin and then its argument prototype would still apply. */
27326 char $ac_func ();
27327 /* The GNU C library defines this for functions which it implements
27328 to always fail with ENOSYS. Some functions are actually named
27329 something starting with __ and the normal name is an alias. */
27330 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27331 choke me
27332 #else
27333 char (*f) () = $ac_func;
27334 #endif
27335 #ifdef __cplusplus
27337 #endif
27340 main ()
27342 return f != $ac_func;
27344 return 0;
27346 _ACEOF
27347 rm -f conftest.$ac_objext conftest$ac_exeext
27348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27349 (eval $ac_link) 2>conftest.er1
27350 ac_status=$?
27351 grep -v '^ *+' conftest.er1 >conftest.err
27352 rm -f conftest.er1
27353 cat conftest.err >&5
27354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27355 (exit $ac_status); } &&
27356 { ac_try='test -z "$ac_c_werror_flag"
27357 || test ! -s conftest.err'
27358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27359 (eval $ac_try) 2>&5
27360 ac_status=$?
27361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27362 (exit $ac_status); }; } &&
27363 { ac_try='test -s conftest$ac_exeext'
27364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27365 (eval $ac_try) 2>&5
27366 ac_status=$?
27367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27368 (exit $ac_status); }; }; then
27369 eval "$as_ac_var=yes"
27370 else
27371 echo "$as_me: failed program was:" >&5
27372 sed 's/^/| /' conftest.$ac_ext >&5
27374 eval "$as_ac_var=no"
27376 rm -f conftest.err conftest.$ac_objext \
27377 conftest$ac_exeext conftest.$ac_ext
27379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27380 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27381 if test `eval echo '${'$as_ac_var'}'` = yes; then
27382 cat >>confdefs.h <<_ACEOF
27383 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27384 _ACEOF
27387 done
27397 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
27398 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
27399 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
27400 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
27401 echo $ECHO_N "(cached) $ECHO_C" >&6
27402 else
27406 ac_ext=cc
27407 ac_cpp='$CXXCPP $CPPFLAGS'
27408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27412 cat >conftest.$ac_ext <<_ACEOF
27413 /* confdefs.h. */
27414 _ACEOF
27415 cat confdefs.h >>conftest.$ac_ext
27416 cat >>conftest.$ac_ext <<_ACEOF
27417 /* end confdefs.h. */
27418 #include <math.h>
27420 main ()
27422 sincosf(0, 0, 0);
27424 return 0;
27426 _ACEOF
27427 rm -f conftest.$ac_objext
27428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27429 (eval $ac_compile) 2>conftest.er1
27430 ac_status=$?
27431 grep -v '^ *+' conftest.er1 >conftest.err
27432 rm -f conftest.er1
27433 cat conftest.err >&5
27434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27435 (exit $ac_status); } &&
27436 { ac_try='test -z "$ac_cxx_werror_flag"
27437 || test ! -s conftest.err'
27438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27439 (eval $ac_try) 2>&5
27440 ac_status=$?
27441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27442 (exit $ac_status); }; } &&
27443 { ac_try='test -s conftest.$ac_objext'
27444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27445 (eval $ac_try) 2>&5
27446 ac_status=$?
27447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27448 (exit $ac_status); }; }; then
27449 glibcxx_cv_func_sincosf_use=yes
27450 else
27451 echo "$as_me: failed program was:" >&5
27452 sed 's/^/| /' conftest.$ac_ext >&5
27454 glibcxx_cv_func_sincosf_use=no
27456 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27457 ac_ext=c
27458 ac_cpp='$CPP $CPPFLAGS'
27459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27467 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
27468 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
27470 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
27472 for ac_func in sincosf
27474 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27475 echo "$as_me:$LINENO: checking for $ac_func" >&5
27476 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27477 if eval "test \"\${$as_ac_var+set}\" = set"; then
27478 echo $ECHO_N "(cached) $ECHO_C" >&6
27479 else
27480 if test x$gcc_no_link = xyes; then
27481 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27482 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27483 { (exit 1); exit 1; }; }
27485 cat >conftest.$ac_ext <<_ACEOF
27486 /* confdefs.h. */
27487 _ACEOF
27488 cat confdefs.h >>conftest.$ac_ext
27489 cat >>conftest.$ac_ext <<_ACEOF
27490 /* end confdefs.h. */
27491 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27492 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27493 #define $ac_func innocuous_$ac_func
27495 /* System header to define __stub macros and hopefully few prototypes,
27496 which can conflict with char $ac_func (); below.
27497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27498 <limits.h> exists even on freestanding compilers. */
27500 #ifdef __STDC__
27501 # include <limits.h>
27502 #else
27503 # include <assert.h>
27504 #endif
27506 #undef $ac_func
27508 /* Override any gcc2 internal prototype to avoid an error. */
27509 #ifdef __cplusplus
27510 extern "C"
27512 #endif
27513 /* We use char because int might match the return type of a gcc2
27514 builtin and then its argument prototype would still apply. */
27515 char $ac_func ();
27516 /* The GNU C library defines this for functions which it implements
27517 to always fail with ENOSYS. Some functions are actually named
27518 something starting with __ and the normal name is an alias. */
27519 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27520 choke me
27521 #else
27522 char (*f) () = $ac_func;
27523 #endif
27524 #ifdef __cplusplus
27526 #endif
27529 main ()
27531 return f != $ac_func;
27533 return 0;
27535 _ACEOF
27536 rm -f conftest.$ac_objext conftest$ac_exeext
27537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27538 (eval $ac_link) 2>conftest.er1
27539 ac_status=$?
27540 grep -v '^ *+' conftest.er1 >conftest.err
27541 rm -f conftest.er1
27542 cat conftest.err >&5
27543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27544 (exit $ac_status); } &&
27545 { ac_try='test -z "$ac_c_werror_flag"
27546 || test ! -s conftest.err'
27547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27548 (eval $ac_try) 2>&5
27549 ac_status=$?
27550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27551 (exit $ac_status); }; } &&
27552 { ac_try='test -s conftest$ac_exeext'
27553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27554 (eval $ac_try) 2>&5
27555 ac_status=$?
27556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27557 (exit $ac_status); }; }; then
27558 eval "$as_ac_var=yes"
27559 else
27560 echo "$as_me: failed program was:" >&5
27561 sed 's/^/| /' conftest.$ac_ext >&5
27563 eval "$as_ac_var=no"
27565 rm -f conftest.err conftest.$ac_objext \
27566 conftest$ac_exeext conftest.$ac_ext
27568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27569 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27570 if test `eval echo '${'$as_ac_var'}'` = yes; then
27571 cat >>confdefs.h <<_ACEOF
27572 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27573 _ACEOF
27576 done
27578 else
27580 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
27581 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
27582 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
27583 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
27584 echo $ECHO_N "(cached) $ECHO_C" >&6
27585 else
27589 ac_ext=cc
27590 ac_cpp='$CXXCPP $CPPFLAGS'
27591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27595 cat >conftest.$ac_ext <<_ACEOF
27596 /* confdefs.h. */
27597 _ACEOF
27598 cat confdefs.h >>conftest.$ac_ext
27599 cat >>conftest.$ac_ext <<_ACEOF
27600 /* end confdefs.h. */
27601 #include <math.h>
27603 main ()
27605 _sincosf(0, 0, 0);
27607 return 0;
27609 _ACEOF
27610 rm -f conftest.$ac_objext
27611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27612 (eval $ac_compile) 2>conftest.er1
27613 ac_status=$?
27614 grep -v '^ *+' conftest.er1 >conftest.err
27615 rm -f conftest.er1
27616 cat conftest.err >&5
27617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27618 (exit $ac_status); } &&
27619 { ac_try='test -z "$ac_cxx_werror_flag"
27620 || test ! -s conftest.err'
27621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27622 (eval $ac_try) 2>&5
27623 ac_status=$?
27624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27625 (exit $ac_status); }; } &&
27626 { ac_try='test -s conftest.$ac_objext'
27627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27628 (eval $ac_try) 2>&5
27629 ac_status=$?
27630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27631 (exit $ac_status); }; }; then
27632 glibcxx_cv_func__sincosf_use=yes
27633 else
27634 echo "$as_me: failed program was:" >&5
27635 sed 's/^/| /' conftest.$ac_ext >&5
27637 glibcxx_cv_func__sincosf_use=no
27639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27640 ac_ext=c
27641 ac_cpp='$CPP $CPPFLAGS'
27642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27650 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
27651 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
27653 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
27655 for ac_func in _sincosf
27657 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27658 echo "$as_me:$LINENO: checking for $ac_func" >&5
27659 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27660 if eval "test \"\${$as_ac_var+set}\" = set"; then
27661 echo $ECHO_N "(cached) $ECHO_C" >&6
27662 else
27663 if test x$gcc_no_link = xyes; then
27664 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27665 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27666 { (exit 1); exit 1; }; }
27668 cat >conftest.$ac_ext <<_ACEOF
27669 /* confdefs.h. */
27670 _ACEOF
27671 cat confdefs.h >>conftest.$ac_ext
27672 cat >>conftest.$ac_ext <<_ACEOF
27673 /* end confdefs.h. */
27674 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27675 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27676 #define $ac_func innocuous_$ac_func
27678 /* System header to define __stub macros and hopefully few prototypes,
27679 which can conflict with char $ac_func (); below.
27680 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27681 <limits.h> exists even on freestanding compilers. */
27683 #ifdef __STDC__
27684 # include <limits.h>
27685 #else
27686 # include <assert.h>
27687 #endif
27689 #undef $ac_func
27691 /* Override any gcc2 internal prototype to avoid an error. */
27692 #ifdef __cplusplus
27693 extern "C"
27695 #endif
27696 /* We use char because int might match the return type of a gcc2
27697 builtin and then its argument prototype would still apply. */
27698 char $ac_func ();
27699 /* The GNU C library defines this for functions which it implements
27700 to always fail with ENOSYS. Some functions are actually named
27701 something starting with __ and the normal name is an alias. */
27702 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27703 choke me
27704 #else
27705 char (*f) () = $ac_func;
27706 #endif
27707 #ifdef __cplusplus
27709 #endif
27712 main ()
27714 return f != $ac_func;
27716 return 0;
27718 _ACEOF
27719 rm -f conftest.$ac_objext conftest$ac_exeext
27720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27721 (eval $ac_link) 2>conftest.er1
27722 ac_status=$?
27723 grep -v '^ *+' conftest.er1 >conftest.err
27724 rm -f conftest.er1
27725 cat conftest.err >&5
27726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27727 (exit $ac_status); } &&
27728 { ac_try='test -z "$ac_c_werror_flag"
27729 || test ! -s conftest.err'
27730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27731 (eval $ac_try) 2>&5
27732 ac_status=$?
27733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27734 (exit $ac_status); }; } &&
27735 { ac_try='test -s conftest$ac_exeext'
27736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27737 (eval $ac_try) 2>&5
27738 ac_status=$?
27739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27740 (exit $ac_status); }; }; then
27741 eval "$as_ac_var=yes"
27742 else
27743 echo "$as_me: failed program was:" >&5
27744 sed 's/^/| /' conftest.$ac_ext >&5
27746 eval "$as_ac_var=no"
27748 rm -f conftest.err conftest.$ac_objext \
27749 conftest$ac_exeext conftest.$ac_ext
27751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27752 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27753 if test `eval echo '${'$as_ac_var'}'` = yes; then
27754 cat >>confdefs.h <<_ACEOF
27755 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27756 _ACEOF
27759 done
27769 echo "$as_me:$LINENO: checking for finitef declaration" >&5
27770 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
27771 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
27772 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
27773 echo $ECHO_N "(cached) $ECHO_C" >&6
27774 else
27778 ac_ext=cc
27779 ac_cpp='$CXXCPP $CPPFLAGS'
27780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27784 cat >conftest.$ac_ext <<_ACEOF
27785 /* confdefs.h. */
27786 _ACEOF
27787 cat confdefs.h >>conftest.$ac_ext
27788 cat >>conftest.$ac_ext <<_ACEOF
27789 /* end confdefs.h. */
27790 #include <math.h>
27791 #ifdef HAVE_IEEEFP_H
27792 #include <ieeefp.h>
27793 #endif
27796 main ()
27798 finitef(0);
27800 return 0;
27802 _ACEOF
27803 rm -f conftest.$ac_objext
27804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27805 (eval $ac_compile) 2>conftest.er1
27806 ac_status=$?
27807 grep -v '^ *+' conftest.er1 >conftest.err
27808 rm -f conftest.er1
27809 cat conftest.err >&5
27810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27811 (exit $ac_status); } &&
27812 { ac_try='test -z "$ac_cxx_werror_flag"
27813 || test ! -s conftest.err'
27814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27815 (eval $ac_try) 2>&5
27816 ac_status=$?
27817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27818 (exit $ac_status); }; } &&
27819 { ac_try='test -s conftest.$ac_objext'
27820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27821 (eval $ac_try) 2>&5
27822 ac_status=$?
27823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27824 (exit $ac_status); }; }; then
27825 glibcxx_cv_func_finitef_use=yes
27826 else
27827 echo "$as_me: failed program was:" >&5
27828 sed 's/^/| /' conftest.$ac_ext >&5
27830 glibcxx_cv_func_finitef_use=no
27832 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27833 ac_ext=c
27834 ac_cpp='$CPP $CPPFLAGS'
27835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27843 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
27844 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
27846 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
27848 for ac_func in finitef
27850 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27851 echo "$as_me:$LINENO: checking for $ac_func" >&5
27852 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27853 if eval "test \"\${$as_ac_var+set}\" = set"; then
27854 echo $ECHO_N "(cached) $ECHO_C" >&6
27855 else
27856 if test x$gcc_no_link = xyes; then
27857 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27858 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27859 { (exit 1); exit 1; }; }
27861 cat >conftest.$ac_ext <<_ACEOF
27862 /* confdefs.h. */
27863 _ACEOF
27864 cat confdefs.h >>conftest.$ac_ext
27865 cat >>conftest.$ac_ext <<_ACEOF
27866 /* end confdefs.h. */
27867 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27868 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27869 #define $ac_func innocuous_$ac_func
27871 /* System header to define __stub macros and hopefully few prototypes,
27872 which can conflict with char $ac_func (); below.
27873 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27874 <limits.h> exists even on freestanding compilers. */
27876 #ifdef __STDC__
27877 # include <limits.h>
27878 #else
27879 # include <assert.h>
27880 #endif
27882 #undef $ac_func
27884 /* Override any gcc2 internal prototype to avoid an error. */
27885 #ifdef __cplusplus
27886 extern "C"
27888 #endif
27889 /* We use char because int might match the return type of a gcc2
27890 builtin and then its argument prototype would still apply. */
27891 char $ac_func ();
27892 /* The GNU C library defines this for functions which it implements
27893 to always fail with ENOSYS. Some functions are actually named
27894 something starting with __ and the normal name is an alias. */
27895 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27896 choke me
27897 #else
27898 char (*f) () = $ac_func;
27899 #endif
27900 #ifdef __cplusplus
27902 #endif
27905 main ()
27907 return f != $ac_func;
27909 return 0;
27911 _ACEOF
27912 rm -f conftest.$ac_objext conftest$ac_exeext
27913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27914 (eval $ac_link) 2>conftest.er1
27915 ac_status=$?
27916 grep -v '^ *+' conftest.er1 >conftest.err
27917 rm -f conftest.er1
27918 cat conftest.err >&5
27919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27920 (exit $ac_status); } &&
27921 { ac_try='test -z "$ac_c_werror_flag"
27922 || test ! -s conftest.err'
27923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27924 (eval $ac_try) 2>&5
27925 ac_status=$?
27926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27927 (exit $ac_status); }; } &&
27928 { ac_try='test -s conftest$ac_exeext'
27929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27930 (eval $ac_try) 2>&5
27931 ac_status=$?
27932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27933 (exit $ac_status); }; }; then
27934 eval "$as_ac_var=yes"
27935 else
27936 echo "$as_me: failed program was:" >&5
27937 sed 's/^/| /' conftest.$ac_ext >&5
27939 eval "$as_ac_var=no"
27941 rm -f conftest.err conftest.$ac_objext \
27942 conftest$ac_exeext conftest.$ac_ext
27944 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27945 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27946 if test `eval echo '${'$as_ac_var'}'` = yes; then
27947 cat >>confdefs.h <<_ACEOF
27948 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27949 _ACEOF
27952 done
27954 else
27956 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
27957 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
27958 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
27959 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
27960 echo $ECHO_N "(cached) $ECHO_C" >&6
27961 else
27965 ac_ext=cc
27966 ac_cpp='$CXXCPP $CPPFLAGS'
27967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27971 cat >conftest.$ac_ext <<_ACEOF
27972 /* confdefs.h. */
27973 _ACEOF
27974 cat confdefs.h >>conftest.$ac_ext
27975 cat >>conftest.$ac_ext <<_ACEOF
27976 /* end confdefs.h. */
27977 #include <math.h>
27978 #ifdef HAVE_IEEEFP_H
27979 #include <ieeefp.h>
27980 #endif
27983 main ()
27985 _finitef(0);
27987 return 0;
27989 _ACEOF
27990 rm -f conftest.$ac_objext
27991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27992 (eval $ac_compile) 2>conftest.er1
27993 ac_status=$?
27994 grep -v '^ *+' conftest.er1 >conftest.err
27995 rm -f conftest.er1
27996 cat conftest.err >&5
27997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27998 (exit $ac_status); } &&
27999 { ac_try='test -z "$ac_cxx_werror_flag"
28000 || test ! -s conftest.err'
28001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28002 (eval $ac_try) 2>&5
28003 ac_status=$?
28004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28005 (exit $ac_status); }; } &&
28006 { ac_try='test -s conftest.$ac_objext'
28007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28008 (eval $ac_try) 2>&5
28009 ac_status=$?
28010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28011 (exit $ac_status); }; }; then
28012 glibcxx_cv_func__finitef_use=yes
28013 else
28014 echo "$as_me: failed program was:" >&5
28015 sed 's/^/| /' conftest.$ac_ext >&5
28017 glibcxx_cv_func__finitef_use=no
28019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28020 ac_ext=c
28021 ac_cpp='$CPP $CPPFLAGS'
28022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28030 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
28031 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
28033 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
28035 for ac_func in _finitef
28037 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28038 echo "$as_me:$LINENO: checking for $ac_func" >&5
28039 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28040 if eval "test \"\${$as_ac_var+set}\" = set"; then
28041 echo $ECHO_N "(cached) $ECHO_C" >&6
28042 else
28043 if test x$gcc_no_link = xyes; then
28044 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28045 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28046 { (exit 1); exit 1; }; }
28048 cat >conftest.$ac_ext <<_ACEOF
28049 /* confdefs.h. */
28050 _ACEOF
28051 cat confdefs.h >>conftest.$ac_ext
28052 cat >>conftest.$ac_ext <<_ACEOF
28053 /* end confdefs.h. */
28054 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28055 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28056 #define $ac_func innocuous_$ac_func
28058 /* System header to define __stub macros and hopefully few prototypes,
28059 which can conflict with char $ac_func (); below.
28060 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28061 <limits.h> exists even on freestanding compilers. */
28063 #ifdef __STDC__
28064 # include <limits.h>
28065 #else
28066 # include <assert.h>
28067 #endif
28069 #undef $ac_func
28071 /* Override any gcc2 internal prototype to avoid an error. */
28072 #ifdef __cplusplus
28073 extern "C"
28075 #endif
28076 /* We use char because int might match the return type of a gcc2
28077 builtin and then its argument prototype would still apply. */
28078 char $ac_func ();
28079 /* The GNU C library defines this for functions which it implements
28080 to always fail with ENOSYS. Some functions are actually named
28081 something starting with __ and the normal name is an alias. */
28082 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28083 choke me
28084 #else
28085 char (*f) () = $ac_func;
28086 #endif
28087 #ifdef __cplusplus
28089 #endif
28092 main ()
28094 return f != $ac_func;
28096 return 0;
28098 _ACEOF
28099 rm -f conftest.$ac_objext conftest$ac_exeext
28100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28101 (eval $ac_link) 2>conftest.er1
28102 ac_status=$?
28103 grep -v '^ *+' conftest.er1 >conftest.err
28104 rm -f conftest.er1
28105 cat conftest.err >&5
28106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28107 (exit $ac_status); } &&
28108 { ac_try='test -z "$ac_c_werror_flag"
28109 || test ! -s conftest.err'
28110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28111 (eval $ac_try) 2>&5
28112 ac_status=$?
28113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28114 (exit $ac_status); }; } &&
28115 { ac_try='test -s conftest$ac_exeext'
28116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28117 (eval $ac_try) 2>&5
28118 ac_status=$?
28119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28120 (exit $ac_status); }; }; then
28121 eval "$as_ac_var=yes"
28122 else
28123 echo "$as_me: failed program was:" >&5
28124 sed 's/^/| /' conftest.$ac_ext >&5
28126 eval "$as_ac_var=no"
28128 rm -f conftest.err conftest.$ac_objext \
28129 conftest$ac_exeext conftest.$ac_ext
28131 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28132 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28133 if test `eval echo '${'$as_ac_var'}'` = yes; then
28134 cat >>confdefs.h <<_ACEOF
28135 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28136 _ACEOF
28139 done
28149 echo "$as_me:$LINENO: checking for long double trig functions" >&5
28150 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
28151 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
28152 echo $ECHO_N "(cached) $ECHO_C" >&6
28153 else
28157 ac_ext=cc
28158 ac_cpp='$CXXCPP $CPPFLAGS'
28159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28163 cat >conftest.$ac_ext <<_ACEOF
28164 /* confdefs.h. */
28165 _ACEOF
28166 cat confdefs.h >>conftest.$ac_ext
28167 cat >>conftest.$ac_ext <<_ACEOF
28168 /* end confdefs.h. */
28169 #include <math.h>
28171 main ()
28173 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
28175 return 0;
28177 _ACEOF
28178 rm -f conftest.$ac_objext
28179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28180 (eval $ac_compile) 2>conftest.er1
28181 ac_status=$?
28182 grep -v '^ *+' conftest.er1 >conftest.err
28183 rm -f conftest.er1
28184 cat conftest.err >&5
28185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28186 (exit $ac_status); } &&
28187 { ac_try='test -z "$ac_cxx_werror_flag"
28188 || test ! -s conftest.err'
28189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28190 (eval $ac_try) 2>&5
28191 ac_status=$?
28192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28193 (exit $ac_status); }; } &&
28194 { ac_try='test -s conftest.$ac_objext'
28195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28196 (eval $ac_try) 2>&5
28197 ac_status=$?
28198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28199 (exit $ac_status); }; }; then
28200 glibcxx_cv_func_long_double_trig_use=yes
28201 else
28202 echo "$as_me: failed program was:" >&5
28203 sed 's/^/| /' conftest.$ac_ext >&5
28205 glibcxx_cv_func_long_double_trig_use=no
28207 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28208 ac_ext=c
28209 ac_cpp='$CPP $CPPFLAGS'
28210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28216 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
28217 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
28218 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
28228 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
28230 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28231 echo "$as_me:$LINENO: checking for $ac_func" >&5
28232 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28233 if eval "test \"\${$as_ac_var+set}\" = set"; then
28234 echo $ECHO_N "(cached) $ECHO_C" >&6
28235 else
28236 if test x$gcc_no_link = xyes; then
28237 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28238 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28239 { (exit 1); exit 1; }; }
28241 cat >conftest.$ac_ext <<_ACEOF
28242 /* confdefs.h. */
28243 _ACEOF
28244 cat confdefs.h >>conftest.$ac_ext
28245 cat >>conftest.$ac_ext <<_ACEOF
28246 /* end confdefs.h. */
28247 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28248 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28249 #define $ac_func innocuous_$ac_func
28251 /* System header to define __stub macros and hopefully few prototypes,
28252 which can conflict with char $ac_func (); below.
28253 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28254 <limits.h> exists even on freestanding compilers. */
28256 #ifdef __STDC__
28257 # include <limits.h>
28258 #else
28259 # include <assert.h>
28260 #endif
28262 #undef $ac_func
28264 /* Override any gcc2 internal prototype to avoid an error. */
28265 #ifdef __cplusplus
28266 extern "C"
28268 #endif
28269 /* We use char because int might match the return type of a gcc2
28270 builtin and then its argument prototype would still apply. */
28271 char $ac_func ();
28272 /* The GNU C library defines this for functions which it implements
28273 to always fail with ENOSYS. Some functions are actually named
28274 something starting with __ and the normal name is an alias. */
28275 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28276 choke me
28277 #else
28278 char (*f) () = $ac_func;
28279 #endif
28280 #ifdef __cplusplus
28282 #endif
28285 main ()
28287 return f != $ac_func;
28289 return 0;
28291 _ACEOF
28292 rm -f conftest.$ac_objext conftest$ac_exeext
28293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28294 (eval $ac_link) 2>conftest.er1
28295 ac_status=$?
28296 grep -v '^ *+' conftest.er1 >conftest.err
28297 rm -f conftest.er1
28298 cat conftest.err >&5
28299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28300 (exit $ac_status); } &&
28301 { ac_try='test -z "$ac_c_werror_flag"
28302 || test ! -s conftest.err'
28303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28304 (eval $ac_try) 2>&5
28305 ac_status=$?
28306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28307 (exit $ac_status); }; } &&
28308 { ac_try='test -s conftest$ac_exeext'
28309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28310 (eval $ac_try) 2>&5
28311 ac_status=$?
28312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28313 (exit $ac_status); }; }; then
28314 eval "$as_ac_var=yes"
28315 else
28316 echo "$as_me: failed program was:" >&5
28317 sed 's/^/| /' conftest.$ac_ext >&5
28319 eval "$as_ac_var=no"
28321 rm -f conftest.err conftest.$ac_objext \
28322 conftest$ac_exeext conftest.$ac_ext
28324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28325 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28326 if test `eval echo '${'$as_ac_var'}'` = yes; then
28327 cat >>confdefs.h <<_ACEOF
28328 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28329 _ACEOF
28332 done
28334 else
28335 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
28336 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
28337 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
28338 echo $ECHO_N "(cached) $ECHO_C" >&6
28339 else
28343 ac_ext=cc
28344 ac_cpp='$CXXCPP $CPPFLAGS'
28345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28349 cat >conftest.$ac_ext <<_ACEOF
28350 /* confdefs.h. */
28351 _ACEOF
28352 cat confdefs.h >>conftest.$ac_ext
28353 cat >>conftest.$ac_ext <<_ACEOF
28354 /* end confdefs.h. */
28355 #include <math.h>
28357 main ()
28359 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
28361 return 0;
28363 _ACEOF
28364 rm -f conftest.$ac_objext
28365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28366 (eval $ac_compile) 2>conftest.er1
28367 ac_status=$?
28368 grep -v '^ *+' conftest.er1 >conftest.err
28369 rm -f conftest.er1
28370 cat conftest.err >&5
28371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28372 (exit $ac_status); } &&
28373 { ac_try='test -z "$ac_cxx_werror_flag"
28374 || test ! -s conftest.err'
28375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28376 (eval $ac_try) 2>&5
28377 ac_status=$?
28378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28379 (exit $ac_status); }; } &&
28380 { ac_try='test -s conftest.$ac_objext'
28381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28382 (eval $ac_try) 2>&5
28383 ac_status=$?
28384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28385 (exit $ac_status); }; }; then
28386 glibcxx_cv_func__long_double_trig_use=yes
28387 else
28388 echo "$as_me: failed program was:" >&5
28389 sed 's/^/| /' conftest.$ac_ext >&5
28391 glibcxx_cv_func__long_double_trig_use=no
28393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28394 ac_ext=c
28395 ac_cpp='$CPP $CPPFLAGS'
28396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28402 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
28403 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
28404 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
28414 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
28416 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28417 echo "$as_me:$LINENO: checking for $ac_func" >&5
28418 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28419 if eval "test \"\${$as_ac_var+set}\" = set"; then
28420 echo $ECHO_N "(cached) $ECHO_C" >&6
28421 else
28422 if test x$gcc_no_link = xyes; then
28423 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28424 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28425 { (exit 1); exit 1; }; }
28427 cat >conftest.$ac_ext <<_ACEOF
28428 /* confdefs.h. */
28429 _ACEOF
28430 cat confdefs.h >>conftest.$ac_ext
28431 cat >>conftest.$ac_ext <<_ACEOF
28432 /* end confdefs.h. */
28433 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28434 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28435 #define $ac_func innocuous_$ac_func
28437 /* System header to define __stub macros and hopefully few prototypes,
28438 which can conflict with char $ac_func (); below.
28439 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28440 <limits.h> exists even on freestanding compilers. */
28442 #ifdef __STDC__
28443 # include <limits.h>
28444 #else
28445 # include <assert.h>
28446 #endif
28448 #undef $ac_func
28450 /* Override any gcc2 internal prototype to avoid an error. */
28451 #ifdef __cplusplus
28452 extern "C"
28454 #endif
28455 /* We use char because int might match the return type of a gcc2
28456 builtin and then its argument prototype would still apply. */
28457 char $ac_func ();
28458 /* The GNU C library defines this for functions which it implements
28459 to always fail with ENOSYS. Some functions are actually named
28460 something starting with __ and the normal name is an alias. */
28461 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28462 choke me
28463 #else
28464 char (*f) () = $ac_func;
28465 #endif
28466 #ifdef __cplusplus
28468 #endif
28471 main ()
28473 return f != $ac_func;
28475 return 0;
28477 _ACEOF
28478 rm -f conftest.$ac_objext conftest$ac_exeext
28479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28480 (eval $ac_link) 2>conftest.er1
28481 ac_status=$?
28482 grep -v '^ *+' conftest.er1 >conftest.err
28483 rm -f conftest.er1
28484 cat conftest.err >&5
28485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28486 (exit $ac_status); } &&
28487 { ac_try='test -z "$ac_c_werror_flag"
28488 || test ! -s conftest.err'
28489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28490 (eval $ac_try) 2>&5
28491 ac_status=$?
28492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28493 (exit $ac_status); }; } &&
28494 { ac_try='test -s conftest$ac_exeext'
28495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28496 (eval $ac_try) 2>&5
28497 ac_status=$?
28498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28499 (exit $ac_status); }; }; then
28500 eval "$as_ac_var=yes"
28501 else
28502 echo "$as_me: failed program was:" >&5
28503 sed 's/^/| /' conftest.$ac_ext >&5
28505 eval "$as_ac_var=no"
28507 rm -f conftest.err conftest.$ac_objext \
28508 conftest$ac_exeext conftest.$ac_ext
28510 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28511 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28512 if test `eval echo '${'$as_ac_var'}'` = yes; then
28513 cat >>confdefs.h <<_ACEOF
28514 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28515 _ACEOF
28518 done
28536 echo "$as_me:$LINENO: checking for long double round functions" >&5
28537 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
28538 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
28539 echo $ECHO_N "(cached) $ECHO_C" >&6
28540 else
28544 ac_ext=cc
28545 ac_cpp='$CXXCPP $CPPFLAGS'
28546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28550 cat >conftest.$ac_ext <<_ACEOF
28551 /* confdefs.h. */
28552 _ACEOF
28553 cat confdefs.h >>conftest.$ac_ext
28554 cat >>conftest.$ac_ext <<_ACEOF
28555 /* end confdefs.h. */
28556 #include <math.h>
28558 main ()
28560 ceill (0); floorl (0);
28562 return 0;
28564 _ACEOF
28565 rm -f conftest.$ac_objext
28566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28567 (eval $ac_compile) 2>conftest.er1
28568 ac_status=$?
28569 grep -v '^ *+' conftest.er1 >conftest.err
28570 rm -f conftest.er1
28571 cat conftest.err >&5
28572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28573 (exit $ac_status); } &&
28574 { ac_try='test -z "$ac_cxx_werror_flag"
28575 || test ! -s conftest.err'
28576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28577 (eval $ac_try) 2>&5
28578 ac_status=$?
28579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28580 (exit $ac_status); }; } &&
28581 { ac_try='test -s conftest.$ac_objext'
28582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28583 (eval $ac_try) 2>&5
28584 ac_status=$?
28585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28586 (exit $ac_status); }; }; then
28587 glibcxx_cv_func_long_double_round_use=yes
28588 else
28589 echo "$as_me: failed program was:" >&5
28590 sed 's/^/| /' conftest.$ac_ext >&5
28592 glibcxx_cv_func_long_double_round_use=no
28594 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28595 ac_ext=c
28596 ac_cpp='$CPP $CPPFLAGS'
28597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28603 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
28604 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
28605 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
28608 for ac_func in ceill floorl
28610 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28611 echo "$as_me:$LINENO: checking for $ac_func" >&5
28612 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28613 if eval "test \"\${$as_ac_var+set}\" = set"; then
28614 echo $ECHO_N "(cached) $ECHO_C" >&6
28615 else
28616 if test x$gcc_no_link = xyes; then
28617 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28618 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28619 { (exit 1); exit 1; }; }
28621 cat >conftest.$ac_ext <<_ACEOF
28622 /* confdefs.h. */
28623 _ACEOF
28624 cat confdefs.h >>conftest.$ac_ext
28625 cat >>conftest.$ac_ext <<_ACEOF
28626 /* end confdefs.h. */
28627 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28628 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28629 #define $ac_func innocuous_$ac_func
28631 /* System header to define __stub macros and hopefully few prototypes,
28632 which can conflict with char $ac_func (); below.
28633 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28634 <limits.h> exists even on freestanding compilers. */
28636 #ifdef __STDC__
28637 # include <limits.h>
28638 #else
28639 # include <assert.h>
28640 #endif
28642 #undef $ac_func
28644 /* Override any gcc2 internal prototype to avoid an error. */
28645 #ifdef __cplusplus
28646 extern "C"
28648 #endif
28649 /* We use char because int might match the return type of a gcc2
28650 builtin and then its argument prototype would still apply. */
28651 char $ac_func ();
28652 /* The GNU C library defines this for functions which it implements
28653 to always fail with ENOSYS. Some functions are actually named
28654 something starting with __ and the normal name is an alias. */
28655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28656 choke me
28657 #else
28658 char (*f) () = $ac_func;
28659 #endif
28660 #ifdef __cplusplus
28662 #endif
28665 main ()
28667 return f != $ac_func;
28669 return 0;
28671 _ACEOF
28672 rm -f conftest.$ac_objext conftest$ac_exeext
28673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28674 (eval $ac_link) 2>conftest.er1
28675 ac_status=$?
28676 grep -v '^ *+' conftest.er1 >conftest.err
28677 rm -f conftest.er1
28678 cat conftest.err >&5
28679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28680 (exit $ac_status); } &&
28681 { ac_try='test -z "$ac_c_werror_flag"
28682 || test ! -s conftest.err'
28683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28684 (eval $ac_try) 2>&5
28685 ac_status=$?
28686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28687 (exit $ac_status); }; } &&
28688 { ac_try='test -s conftest$ac_exeext'
28689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28690 (eval $ac_try) 2>&5
28691 ac_status=$?
28692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28693 (exit $ac_status); }; }; then
28694 eval "$as_ac_var=yes"
28695 else
28696 echo "$as_me: failed program was:" >&5
28697 sed 's/^/| /' conftest.$ac_ext >&5
28699 eval "$as_ac_var=no"
28701 rm -f conftest.err conftest.$ac_objext \
28702 conftest$ac_exeext conftest.$ac_ext
28704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28705 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28706 if test `eval echo '${'$as_ac_var'}'` = yes; then
28707 cat >>confdefs.h <<_ACEOF
28708 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28709 _ACEOF
28712 done
28714 else
28715 echo "$as_me:$LINENO: checking for _long double round functions" >&5
28716 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
28717 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
28718 echo $ECHO_N "(cached) $ECHO_C" >&6
28719 else
28723 ac_ext=cc
28724 ac_cpp='$CXXCPP $CPPFLAGS'
28725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28729 cat >conftest.$ac_ext <<_ACEOF
28730 /* confdefs.h. */
28731 _ACEOF
28732 cat confdefs.h >>conftest.$ac_ext
28733 cat >>conftest.$ac_ext <<_ACEOF
28734 /* end confdefs.h. */
28735 #include <math.h>
28737 main ()
28739 _ceill (0); _floorl (0);
28741 return 0;
28743 _ACEOF
28744 rm -f conftest.$ac_objext
28745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28746 (eval $ac_compile) 2>conftest.er1
28747 ac_status=$?
28748 grep -v '^ *+' conftest.er1 >conftest.err
28749 rm -f conftest.er1
28750 cat conftest.err >&5
28751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28752 (exit $ac_status); } &&
28753 { ac_try='test -z "$ac_cxx_werror_flag"
28754 || test ! -s conftest.err'
28755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28756 (eval $ac_try) 2>&5
28757 ac_status=$?
28758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28759 (exit $ac_status); }; } &&
28760 { ac_try='test -s conftest.$ac_objext'
28761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28762 (eval $ac_try) 2>&5
28763 ac_status=$?
28764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28765 (exit $ac_status); }; }; then
28766 glibcxx_cv_func__long_double_round_use=yes
28767 else
28768 echo "$as_me: failed program was:" >&5
28769 sed 's/^/| /' conftest.$ac_ext >&5
28771 glibcxx_cv_func__long_double_round_use=no
28773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28774 ac_ext=c
28775 ac_cpp='$CPP $CPPFLAGS'
28776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28782 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
28783 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
28784 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
28787 for ac_func in _ceill _floorl
28789 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28790 echo "$as_me:$LINENO: checking for $ac_func" >&5
28791 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28792 if eval "test \"\${$as_ac_var+set}\" = set"; then
28793 echo $ECHO_N "(cached) $ECHO_C" >&6
28794 else
28795 if test x$gcc_no_link = xyes; then
28796 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28797 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28798 { (exit 1); exit 1; }; }
28800 cat >conftest.$ac_ext <<_ACEOF
28801 /* confdefs.h. */
28802 _ACEOF
28803 cat confdefs.h >>conftest.$ac_ext
28804 cat >>conftest.$ac_ext <<_ACEOF
28805 /* end confdefs.h. */
28806 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28807 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28808 #define $ac_func innocuous_$ac_func
28810 /* System header to define __stub macros and hopefully few prototypes,
28811 which can conflict with char $ac_func (); below.
28812 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28813 <limits.h> exists even on freestanding compilers. */
28815 #ifdef __STDC__
28816 # include <limits.h>
28817 #else
28818 # include <assert.h>
28819 #endif
28821 #undef $ac_func
28823 /* Override any gcc2 internal prototype to avoid an error. */
28824 #ifdef __cplusplus
28825 extern "C"
28827 #endif
28828 /* We use char because int might match the return type of a gcc2
28829 builtin and then its argument prototype would still apply. */
28830 char $ac_func ();
28831 /* The GNU C library defines this for functions which it implements
28832 to always fail with ENOSYS. Some functions are actually named
28833 something starting with __ and the normal name is an alias. */
28834 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28835 choke me
28836 #else
28837 char (*f) () = $ac_func;
28838 #endif
28839 #ifdef __cplusplus
28841 #endif
28844 main ()
28846 return f != $ac_func;
28848 return 0;
28850 _ACEOF
28851 rm -f conftest.$ac_objext conftest$ac_exeext
28852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28853 (eval $ac_link) 2>conftest.er1
28854 ac_status=$?
28855 grep -v '^ *+' conftest.er1 >conftest.err
28856 rm -f conftest.er1
28857 cat conftest.err >&5
28858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28859 (exit $ac_status); } &&
28860 { ac_try='test -z "$ac_c_werror_flag"
28861 || test ! -s conftest.err'
28862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28863 (eval $ac_try) 2>&5
28864 ac_status=$?
28865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28866 (exit $ac_status); }; } &&
28867 { ac_try='test -s conftest$ac_exeext'
28868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28869 (eval $ac_try) 2>&5
28870 ac_status=$?
28871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28872 (exit $ac_status); }; }; then
28873 eval "$as_ac_var=yes"
28874 else
28875 echo "$as_me: failed program was:" >&5
28876 sed 's/^/| /' conftest.$ac_ext >&5
28878 eval "$as_ac_var=no"
28880 rm -f conftest.err conftest.$ac_objext \
28881 conftest$ac_exeext conftest.$ac_ext
28883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28884 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28885 if test `eval echo '${'$as_ac_var'}'` = yes; then
28886 cat >>confdefs.h <<_ACEOF
28887 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28888 _ACEOF
28891 done
28903 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
28904 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
28905 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
28906 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
28907 echo $ECHO_N "(cached) $ECHO_C" >&6
28908 else
28912 ac_ext=cc
28913 ac_cpp='$CXXCPP $CPPFLAGS'
28914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28918 cat >conftest.$ac_ext <<_ACEOF
28919 /* confdefs.h. */
28920 _ACEOF
28921 cat confdefs.h >>conftest.$ac_ext
28922 cat >>conftest.$ac_ext <<_ACEOF
28923 /* end confdefs.h. */
28924 #include <math.h>
28925 #ifdef HAVE_IEEEFP_H
28926 #include <ieeefp.h>
28927 #endif
28930 main ()
28932 isnanl(0);
28934 return 0;
28936 _ACEOF
28937 rm -f conftest.$ac_objext
28938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28939 (eval $ac_compile) 2>conftest.er1
28940 ac_status=$?
28941 grep -v '^ *+' conftest.er1 >conftest.err
28942 rm -f conftest.er1
28943 cat conftest.err >&5
28944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28945 (exit $ac_status); } &&
28946 { ac_try='test -z "$ac_cxx_werror_flag"
28947 || test ! -s conftest.err'
28948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28949 (eval $ac_try) 2>&5
28950 ac_status=$?
28951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28952 (exit $ac_status); }; } &&
28953 { ac_try='test -s conftest.$ac_objext'
28954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28955 (eval $ac_try) 2>&5
28956 ac_status=$?
28957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28958 (exit $ac_status); }; }; then
28959 glibcxx_cv_func_isnanl_use=yes
28960 else
28961 echo "$as_me: failed program was:" >&5
28962 sed 's/^/| /' conftest.$ac_ext >&5
28964 glibcxx_cv_func_isnanl_use=no
28966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28967 ac_ext=c
28968 ac_cpp='$CPP $CPPFLAGS'
28969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28977 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
28978 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
28980 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
28982 for ac_func in isnanl
28984 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28985 echo "$as_me:$LINENO: checking for $ac_func" >&5
28986 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28987 if eval "test \"\${$as_ac_var+set}\" = set"; then
28988 echo $ECHO_N "(cached) $ECHO_C" >&6
28989 else
28990 if test x$gcc_no_link = xyes; then
28991 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28992 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28993 { (exit 1); exit 1; }; }
28995 cat >conftest.$ac_ext <<_ACEOF
28996 /* confdefs.h. */
28997 _ACEOF
28998 cat confdefs.h >>conftest.$ac_ext
28999 cat >>conftest.$ac_ext <<_ACEOF
29000 /* end confdefs.h. */
29001 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29002 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29003 #define $ac_func innocuous_$ac_func
29005 /* System header to define __stub macros and hopefully few prototypes,
29006 which can conflict with char $ac_func (); below.
29007 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29008 <limits.h> exists even on freestanding compilers. */
29010 #ifdef __STDC__
29011 # include <limits.h>
29012 #else
29013 # include <assert.h>
29014 #endif
29016 #undef $ac_func
29018 /* Override any gcc2 internal prototype to avoid an error. */
29019 #ifdef __cplusplus
29020 extern "C"
29022 #endif
29023 /* We use char because int might match the return type of a gcc2
29024 builtin and then its argument prototype would still apply. */
29025 char $ac_func ();
29026 /* The GNU C library defines this for functions which it implements
29027 to always fail with ENOSYS. Some functions are actually named
29028 something starting with __ and the normal name is an alias. */
29029 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29030 choke me
29031 #else
29032 char (*f) () = $ac_func;
29033 #endif
29034 #ifdef __cplusplus
29036 #endif
29039 main ()
29041 return f != $ac_func;
29043 return 0;
29045 _ACEOF
29046 rm -f conftest.$ac_objext conftest$ac_exeext
29047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29048 (eval $ac_link) 2>conftest.er1
29049 ac_status=$?
29050 grep -v '^ *+' conftest.er1 >conftest.err
29051 rm -f conftest.er1
29052 cat conftest.err >&5
29053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29054 (exit $ac_status); } &&
29055 { ac_try='test -z "$ac_c_werror_flag"
29056 || test ! -s conftest.err'
29057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29058 (eval $ac_try) 2>&5
29059 ac_status=$?
29060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29061 (exit $ac_status); }; } &&
29062 { ac_try='test -s conftest$ac_exeext'
29063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29064 (eval $ac_try) 2>&5
29065 ac_status=$?
29066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29067 (exit $ac_status); }; }; then
29068 eval "$as_ac_var=yes"
29069 else
29070 echo "$as_me: failed program was:" >&5
29071 sed 's/^/| /' conftest.$ac_ext >&5
29073 eval "$as_ac_var=no"
29075 rm -f conftest.err conftest.$ac_objext \
29076 conftest$ac_exeext conftest.$ac_ext
29078 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29079 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29080 if test `eval echo '${'$as_ac_var'}'` = yes; then
29081 cat >>confdefs.h <<_ACEOF
29082 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29083 _ACEOF
29086 done
29088 else
29090 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
29091 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
29092 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
29093 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
29094 echo $ECHO_N "(cached) $ECHO_C" >&6
29095 else
29099 ac_ext=cc
29100 ac_cpp='$CXXCPP $CPPFLAGS'
29101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29105 cat >conftest.$ac_ext <<_ACEOF
29106 /* confdefs.h. */
29107 _ACEOF
29108 cat confdefs.h >>conftest.$ac_ext
29109 cat >>conftest.$ac_ext <<_ACEOF
29110 /* end confdefs.h. */
29111 #include <math.h>
29112 #ifdef HAVE_IEEEFP_H
29113 #include <ieeefp.h>
29114 #endif
29117 main ()
29119 _isnanl(0);
29121 return 0;
29123 _ACEOF
29124 rm -f conftest.$ac_objext
29125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29126 (eval $ac_compile) 2>conftest.er1
29127 ac_status=$?
29128 grep -v '^ *+' conftest.er1 >conftest.err
29129 rm -f conftest.er1
29130 cat conftest.err >&5
29131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29132 (exit $ac_status); } &&
29133 { ac_try='test -z "$ac_cxx_werror_flag"
29134 || test ! -s conftest.err'
29135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29136 (eval $ac_try) 2>&5
29137 ac_status=$?
29138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29139 (exit $ac_status); }; } &&
29140 { ac_try='test -s conftest.$ac_objext'
29141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29142 (eval $ac_try) 2>&5
29143 ac_status=$?
29144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29145 (exit $ac_status); }; }; then
29146 glibcxx_cv_func__isnanl_use=yes
29147 else
29148 echo "$as_me: failed program was:" >&5
29149 sed 's/^/| /' conftest.$ac_ext >&5
29151 glibcxx_cv_func__isnanl_use=no
29153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29154 ac_ext=c
29155 ac_cpp='$CPP $CPPFLAGS'
29156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29164 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
29165 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
29167 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
29169 for ac_func in _isnanl
29171 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29172 echo "$as_me:$LINENO: checking for $ac_func" >&5
29173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29174 if eval "test \"\${$as_ac_var+set}\" = set"; then
29175 echo $ECHO_N "(cached) $ECHO_C" >&6
29176 else
29177 if test x$gcc_no_link = xyes; then
29178 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29180 { (exit 1); exit 1; }; }
29182 cat >conftest.$ac_ext <<_ACEOF
29183 /* confdefs.h. */
29184 _ACEOF
29185 cat confdefs.h >>conftest.$ac_ext
29186 cat >>conftest.$ac_ext <<_ACEOF
29187 /* end confdefs.h. */
29188 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29189 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29190 #define $ac_func innocuous_$ac_func
29192 /* System header to define __stub macros and hopefully few prototypes,
29193 which can conflict with char $ac_func (); below.
29194 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29195 <limits.h> exists even on freestanding compilers. */
29197 #ifdef __STDC__
29198 # include <limits.h>
29199 #else
29200 # include <assert.h>
29201 #endif
29203 #undef $ac_func
29205 /* Override any gcc2 internal prototype to avoid an error. */
29206 #ifdef __cplusplus
29207 extern "C"
29209 #endif
29210 /* We use char because int might match the return type of a gcc2
29211 builtin and then its argument prototype would still apply. */
29212 char $ac_func ();
29213 /* The GNU C library defines this for functions which it implements
29214 to always fail with ENOSYS. Some functions are actually named
29215 something starting with __ and the normal name is an alias. */
29216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29217 choke me
29218 #else
29219 char (*f) () = $ac_func;
29220 #endif
29221 #ifdef __cplusplus
29223 #endif
29226 main ()
29228 return f != $ac_func;
29230 return 0;
29232 _ACEOF
29233 rm -f conftest.$ac_objext conftest$ac_exeext
29234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29235 (eval $ac_link) 2>conftest.er1
29236 ac_status=$?
29237 grep -v '^ *+' conftest.er1 >conftest.err
29238 rm -f conftest.er1
29239 cat conftest.err >&5
29240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29241 (exit $ac_status); } &&
29242 { ac_try='test -z "$ac_c_werror_flag"
29243 || test ! -s conftest.err'
29244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29245 (eval $ac_try) 2>&5
29246 ac_status=$?
29247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29248 (exit $ac_status); }; } &&
29249 { ac_try='test -s conftest$ac_exeext'
29250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29251 (eval $ac_try) 2>&5
29252 ac_status=$?
29253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29254 (exit $ac_status); }; }; then
29255 eval "$as_ac_var=yes"
29256 else
29257 echo "$as_me: failed program was:" >&5
29258 sed 's/^/| /' conftest.$ac_ext >&5
29260 eval "$as_ac_var=no"
29262 rm -f conftest.err conftest.$ac_objext \
29263 conftest$ac_exeext conftest.$ac_ext
29265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29266 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29267 if test `eval echo '${'$as_ac_var'}'` = yes; then
29268 cat >>confdefs.h <<_ACEOF
29269 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29270 _ACEOF
29273 done
29283 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
29284 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
29285 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
29286 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
29287 echo $ECHO_N "(cached) $ECHO_C" >&6
29288 else
29292 ac_ext=cc
29293 ac_cpp='$CXXCPP $CPPFLAGS'
29294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29298 cat >conftest.$ac_ext <<_ACEOF
29299 /* confdefs.h. */
29300 _ACEOF
29301 cat confdefs.h >>conftest.$ac_ext
29302 cat >>conftest.$ac_ext <<_ACEOF
29303 /* end confdefs.h. */
29304 #include <math.h>
29305 #ifdef HAVE_IEEEFP_H
29306 #include <ieeefp.h>
29307 #endif
29310 main ()
29312 isinfl(0);
29314 return 0;
29316 _ACEOF
29317 rm -f conftest.$ac_objext
29318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29319 (eval $ac_compile) 2>conftest.er1
29320 ac_status=$?
29321 grep -v '^ *+' conftest.er1 >conftest.err
29322 rm -f conftest.er1
29323 cat conftest.err >&5
29324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29325 (exit $ac_status); } &&
29326 { ac_try='test -z "$ac_cxx_werror_flag"
29327 || test ! -s conftest.err'
29328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29329 (eval $ac_try) 2>&5
29330 ac_status=$?
29331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29332 (exit $ac_status); }; } &&
29333 { ac_try='test -s conftest.$ac_objext'
29334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29335 (eval $ac_try) 2>&5
29336 ac_status=$?
29337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29338 (exit $ac_status); }; }; then
29339 glibcxx_cv_func_isinfl_use=yes
29340 else
29341 echo "$as_me: failed program was:" >&5
29342 sed 's/^/| /' conftest.$ac_ext >&5
29344 glibcxx_cv_func_isinfl_use=no
29346 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29347 ac_ext=c
29348 ac_cpp='$CPP $CPPFLAGS'
29349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29357 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
29358 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
29360 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
29362 for ac_func in isinfl
29364 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29365 echo "$as_me:$LINENO: checking for $ac_func" >&5
29366 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29367 if eval "test \"\${$as_ac_var+set}\" = set"; then
29368 echo $ECHO_N "(cached) $ECHO_C" >&6
29369 else
29370 if test x$gcc_no_link = xyes; then
29371 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29372 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29373 { (exit 1); exit 1; }; }
29375 cat >conftest.$ac_ext <<_ACEOF
29376 /* confdefs.h. */
29377 _ACEOF
29378 cat confdefs.h >>conftest.$ac_ext
29379 cat >>conftest.$ac_ext <<_ACEOF
29380 /* end confdefs.h. */
29381 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29382 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29383 #define $ac_func innocuous_$ac_func
29385 /* System header to define __stub macros and hopefully few prototypes,
29386 which can conflict with char $ac_func (); below.
29387 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29388 <limits.h> exists even on freestanding compilers. */
29390 #ifdef __STDC__
29391 # include <limits.h>
29392 #else
29393 # include <assert.h>
29394 #endif
29396 #undef $ac_func
29398 /* Override any gcc2 internal prototype to avoid an error. */
29399 #ifdef __cplusplus
29400 extern "C"
29402 #endif
29403 /* We use char because int might match the return type of a gcc2
29404 builtin and then its argument prototype would still apply. */
29405 char $ac_func ();
29406 /* The GNU C library defines this for functions which it implements
29407 to always fail with ENOSYS. Some functions are actually named
29408 something starting with __ and the normal name is an alias. */
29409 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29410 choke me
29411 #else
29412 char (*f) () = $ac_func;
29413 #endif
29414 #ifdef __cplusplus
29416 #endif
29419 main ()
29421 return f != $ac_func;
29423 return 0;
29425 _ACEOF
29426 rm -f conftest.$ac_objext conftest$ac_exeext
29427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29428 (eval $ac_link) 2>conftest.er1
29429 ac_status=$?
29430 grep -v '^ *+' conftest.er1 >conftest.err
29431 rm -f conftest.er1
29432 cat conftest.err >&5
29433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29434 (exit $ac_status); } &&
29435 { ac_try='test -z "$ac_c_werror_flag"
29436 || test ! -s conftest.err'
29437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29438 (eval $ac_try) 2>&5
29439 ac_status=$?
29440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29441 (exit $ac_status); }; } &&
29442 { ac_try='test -s conftest$ac_exeext'
29443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29444 (eval $ac_try) 2>&5
29445 ac_status=$?
29446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29447 (exit $ac_status); }; }; then
29448 eval "$as_ac_var=yes"
29449 else
29450 echo "$as_me: failed program was:" >&5
29451 sed 's/^/| /' conftest.$ac_ext >&5
29453 eval "$as_ac_var=no"
29455 rm -f conftest.err conftest.$ac_objext \
29456 conftest$ac_exeext conftest.$ac_ext
29458 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29459 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29460 if test `eval echo '${'$as_ac_var'}'` = yes; then
29461 cat >>confdefs.h <<_ACEOF
29462 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29463 _ACEOF
29466 done
29468 else
29470 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
29471 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
29472 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
29473 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
29474 echo $ECHO_N "(cached) $ECHO_C" >&6
29475 else
29479 ac_ext=cc
29480 ac_cpp='$CXXCPP $CPPFLAGS'
29481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29485 cat >conftest.$ac_ext <<_ACEOF
29486 /* confdefs.h. */
29487 _ACEOF
29488 cat confdefs.h >>conftest.$ac_ext
29489 cat >>conftest.$ac_ext <<_ACEOF
29490 /* end confdefs.h. */
29491 #include <math.h>
29492 #ifdef HAVE_IEEEFP_H
29493 #include <ieeefp.h>
29494 #endif
29497 main ()
29499 _isinfl(0);
29501 return 0;
29503 _ACEOF
29504 rm -f conftest.$ac_objext
29505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29506 (eval $ac_compile) 2>conftest.er1
29507 ac_status=$?
29508 grep -v '^ *+' conftest.er1 >conftest.err
29509 rm -f conftest.er1
29510 cat conftest.err >&5
29511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29512 (exit $ac_status); } &&
29513 { ac_try='test -z "$ac_cxx_werror_flag"
29514 || test ! -s conftest.err'
29515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29516 (eval $ac_try) 2>&5
29517 ac_status=$?
29518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29519 (exit $ac_status); }; } &&
29520 { ac_try='test -s conftest.$ac_objext'
29521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29522 (eval $ac_try) 2>&5
29523 ac_status=$?
29524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29525 (exit $ac_status); }; }; then
29526 glibcxx_cv_func__isinfl_use=yes
29527 else
29528 echo "$as_me: failed program was:" >&5
29529 sed 's/^/| /' conftest.$ac_ext >&5
29531 glibcxx_cv_func__isinfl_use=no
29533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29534 ac_ext=c
29535 ac_cpp='$CPP $CPPFLAGS'
29536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29544 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
29545 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
29547 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
29549 for ac_func in _isinfl
29551 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29552 echo "$as_me:$LINENO: checking for $ac_func" >&5
29553 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29554 if eval "test \"\${$as_ac_var+set}\" = set"; then
29555 echo $ECHO_N "(cached) $ECHO_C" >&6
29556 else
29557 if test x$gcc_no_link = xyes; then
29558 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29559 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29560 { (exit 1); exit 1; }; }
29562 cat >conftest.$ac_ext <<_ACEOF
29563 /* confdefs.h. */
29564 _ACEOF
29565 cat confdefs.h >>conftest.$ac_ext
29566 cat >>conftest.$ac_ext <<_ACEOF
29567 /* end confdefs.h. */
29568 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29569 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29570 #define $ac_func innocuous_$ac_func
29572 /* System header to define __stub macros and hopefully few prototypes,
29573 which can conflict with char $ac_func (); below.
29574 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29575 <limits.h> exists even on freestanding compilers. */
29577 #ifdef __STDC__
29578 # include <limits.h>
29579 #else
29580 # include <assert.h>
29581 #endif
29583 #undef $ac_func
29585 /* Override any gcc2 internal prototype to avoid an error. */
29586 #ifdef __cplusplus
29587 extern "C"
29589 #endif
29590 /* We use char because int might match the return type of a gcc2
29591 builtin and then its argument prototype would still apply. */
29592 char $ac_func ();
29593 /* The GNU C library defines this for functions which it implements
29594 to always fail with ENOSYS. Some functions are actually named
29595 something starting with __ and the normal name is an alias. */
29596 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29597 choke me
29598 #else
29599 char (*f) () = $ac_func;
29600 #endif
29601 #ifdef __cplusplus
29603 #endif
29606 main ()
29608 return f != $ac_func;
29610 return 0;
29612 _ACEOF
29613 rm -f conftest.$ac_objext conftest$ac_exeext
29614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29615 (eval $ac_link) 2>conftest.er1
29616 ac_status=$?
29617 grep -v '^ *+' conftest.er1 >conftest.err
29618 rm -f conftest.er1
29619 cat conftest.err >&5
29620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29621 (exit $ac_status); } &&
29622 { ac_try='test -z "$ac_c_werror_flag"
29623 || test ! -s conftest.err'
29624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29625 (eval $ac_try) 2>&5
29626 ac_status=$?
29627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29628 (exit $ac_status); }; } &&
29629 { ac_try='test -s conftest$ac_exeext'
29630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29631 (eval $ac_try) 2>&5
29632 ac_status=$?
29633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29634 (exit $ac_status); }; }; then
29635 eval "$as_ac_var=yes"
29636 else
29637 echo "$as_me: failed program was:" >&5
29638 sed 's/^/| /' conftest.$ac_ext >&5
29640 eval "$as_ac_var=no"
29642 rm -f conftest.err conftest.$ac_objext \
29643 conftest$ac_exeext conftest.$ac_ext
29645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29646 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29647 if test `eval echo '${'$as_ac_var'}'` = yes; then
29648 cat >>confdefs.h <<_ACEOF
29649 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29650 _ACEOF
29653 done
29663 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
29664 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
29665 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
29666 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
29667 echo $ECHO_N "(cached) $ECHO_C" >&6
29668 else
29672 ac_ext=cc
29673 ac_cpp='$CXXCPP $CPPFLAGS'
29674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29678 cat >conftest.$ac_ext <<_ACEOF
29679 /* confdefs.h. */
29680 _ACEOF
29681 cat confdefs.h >>conftest.$ac_ext
29682 cat >>conftest.$ac_ext <<_ACEOF
29683 /* end confdefs.h. */
29684 #include <math.h>
29686 main ()
29688 copysignl(0, 0);
29690 return 0;
29692 _ACEOF
29693 rm -f conftest.$ac_objext
29694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29695 (eval $ac_compile) 2>conftest.er1
29696 ac_status=$?
29697 grep -v '^ *+' conftest.er1 >conftest.err
29698 rm -f conftest.er1
29699 cat conftest.err >&5
29700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29701 (exit $ac_status); } &&
29702 { ac_try='test -z "$ac_cxx_werror_flag"
29703 || test ! -s conftest.err'
29704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29705 (eval $ac_try) 2>&5
29706 ac_status=$?
29707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29708 (exit $ac_status); }; } &&
29709 { ac_try='test -s conftest.$ac_objext'
29710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29711 (eval $ac_try) 2>&5
29712 ac_status=$?
29713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29714 (exit $ac_status); }; }; then
29715 glibcxx_cv_func_copysignl_use=yes
29716 else
29717 echo "$as_me: failed program was:" >&5
29718 sed 's/^/| /' conftest.$ac_ext >&5
29720 glibcxx_cv_func_copysignl_use=no
29722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29723 ac_ext=c
29724 ac_cpp='$CPP $CPPFLAGS'
29725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29733 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
29734 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
29736 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
29738 for ac_func in copysignl
29740 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29741 echo "$as_me:$LINENO: checking for $ac_func" >&5
29742 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29743 if eval "test \"\${$as_ac_var+set}\" = set"; then
29744 echo $ECHO_N "(cached) $ECHO_C" >&6
29745 else
29746 if test x$gcc_no_link = xyes; then
29747 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29748 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29749 { (exit 1); exit 1; }; }
29751 cat >conftest.$ac_ext <<_ACEOF
29752 /* confdefs.h. */
29753 _ACEOF
29754 cat confdefs.h >>conftest.$ac_ext
29755 cat >>conftest.$ac_ext <<_ACEOF
29756 /* end confdefs.h. */
29757 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29758 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29759 #define $ac_func innocuous_$ac_func
29761 /* System header to define __stub macros and hopefully few prototypes,
29762 which can conflict with char $ac_func (); below.
29763 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29764 <limits.h> exists even on freestanding compilers. */
29766 #ifdef __STDC__
29767 # include <limits.h>
29768 #else
29769 # include <assert.h>
29770 #endif
29772 #undef $ac_func
29774 /* Override any gcc2 internal prototype to avoid an error. */
29775 #ifdef __cplusplus
29776 extern "C"
29778 #endif
29779 /* We use char because int might match the return type of a gcc2
29780 builtin and then its argument prototype would still apply. */
29781 char $ac_func ();
29782 /* The GNU C library defines this for functions which it implements
29783 to always fail with ENOSYS. Some functions are actually named
29784 something starting with __ and the normal name is an alias. */
29785 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29786 choke me
29787 #else
29788 char (*f) () = $ac_func;
29789 #endif
29790 #ifdef __cplusplus
29792 #endif
29795 main ()
29797 return f != $ac_func;
29799 return 0;
29801 _ACEOF
29802 rm -f conftest.$ac_objext conftest$ac_exeext
29803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29804 (eval $ac_link) 2>conftest.er1
29805 ac_status=$?
29806 grep -v '^ *+' conftest.er1 >conftest.err
29807 rm -f conftest.er1
29808 cat conftest.err >&5
29809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29810 (exit $ac_status); } &&
29811 { ac_try='test -z "$ac_c_werror_flag"
29812 || test ! -s conftest.err'
29813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29814 (eval $ac_try) 2>&5
29815 ac_status=$?
29816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29817 (exit $ac_status); }; } &&
29818 { ac_try='test -s conftest$ac_exeext'
29819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29820 (eval $ac_try) 2>&5
29821 ac_status=$?
29822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29823 (exit $ac_status); }; }; then
29824 eval "$as_ac_var=yes"
29825 else
29826 echo "$as_me: failed program was:" >&5
29827 sed 's/^/| /' conftest.$ac_ext >&5
29829 eval "$as_ac_var=no"
29831 rm -f conftest.err conftest.$ac_objext \
29832 conftest$ac_exeext conftest.$ac_ext
29834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29835 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29836 if test `eval echo '${'$as_ac_var'}'` = yes; then
29837 cat >>confdefs.h <<_ACEOF
29838 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29839 _ACEOF
29842 done
29844 else
29846 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
29847 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
29848 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
29849 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
29850 echo $ECHO_N "(cached) $ECHO_C" >&6
29851 else
29855 ac_ext=cc
29856 ac_cpp='$CXXCPP $CPPFLAGS'
29857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29861 cat >conftest.$ac_ext <<_ACEOF
29862 /* confdefs.h. */
29863 _ACEOF
29864 cat confdefs.h >>conftest.$ac_ext
29865 cat >>conftest.$ac_ext <<_ACEOF
29866 /* end confdefs.h. */
29867 #include <math.h>
29869 main ()
29871 _copysignl(0, 0);
29873 return 0;
29875 _ACEOF
29876 rm -f conftest.$ac_objext
29877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29878 (eval $ac_compile) 2>conftest.er1
29879 ac_status=$?
29880 grep -v '^ *+' conftest.er1 >conftest.err
29881 rm -f conftest.er1
29882 cat conftest.err >&5
29883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29884 (exit $ac_status); } &&
29885 { ac_try='test -z "$ac_cxx_werror_flag"
29886 || test ! -s conftest.err'
29887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29888 (eval $ac_try) 2>&5
29889 ac_status=$?
29890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29891 (exit $ac_status); }; } &&
29892 { ac_try='test -s conftest.$ac_objext'
29893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29894 (eval $ac_try) 2>&5
29895 ac_status=$?
29896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29897 (exit $ac_status); }; }; then
29898 glibcxx_cv_func__copysignl_use=yes
29899 else
29900 echo "$as_me: failed program was:" >&5
29901 sed 's/^/| /' conftest.$ac_ext >&5
29903 glibcxx_cv_func__copysignl_use=no
29905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29906 ac_ext=c
29907 ac_cpp='$CPP $CPPFLAGS'
29908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29916 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
29917 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
29919 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
29921 for ac_func in _copysignl
29923 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29924 echo "$as_me:$LINENO: checking for $ac_func" >&5
29925 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29926 if eval "test \"\${$as_ac_var+set}\" = set"; then
29927 echo $ECHO_N "(cached) $ECHO_C" >&6
29928 else
29929 if test x$gcc_no_link = xyes; then
29930 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29931 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29932 { (exit 1); exit 1; }; }
29934 cat >conftest.$ac_ext <<_ACEOF
29935 /* confdefs.h. */
29936 _ACEOF
29937 cat confdefs.h >>conftest.$ac_ext
29938 cat >>conftest.$ac_ext <<_ACEOF
29939 /* end confdefs.h. */
29940 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29941 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29942 #define $ac_func innocuous_$ac_func
29944 /* System header to define __stub macros and hopefully few prototypes,
29945 which can conflict with char $ac_func (); below.
29946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29947 <limits.h> exists even on freestanding compilers. */
29949 #ifdef __STDC__
29950 # include <limits.h>
29951 #else
29952 # include <assert.h>
29953 #endif
29955 #undef $ac_func
29957 /* Override any gcc2 internal prototype to avoid an error. */
29958 #ifdef __cplusplus
29959 extern "C"
29961 #endif
29962 /* We use char because int might match the return type of a gcc2
29963 builtin and then its argument prototype would still apply. */
29964 char $ac_func ();
29965 /* The GNU C library defines this for functions which it implements
29966 to always fail with ENOSYS. Some functions are actually named
29967 something starting with __ and the normal name is an alias. */
29968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29969 choke me
29970 #else
29971 char (*f) () = $ac_func;
29972 #endif
29973 #ifdef __cplusplus
29975 #endif
29978 main ()
29980 return f != $ac_func;
29982 return 0;
29984 _ACEOF
29985 rm -f conftest.$ac_objext conftest$ac_exeext
29986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29987 (eval $ac_link) 2>conftest.er1
29988 ac_status=$?
29989 grep -v '^ *+' conftest.er1 >conftest.err
29990 rm -f conftest.er1
29991 cat conftest.err >&5
29992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29993 (exit $ac_status); } &&
29994 { ac_try='test -z "$ac_c_werror_flag"
29995 || test ! -s conftest.err'
29996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29997 (eval $ac_try) 2>&5
29998 ac_status=$?
29999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30000 (exit $ac_status); }; } &&
30001 { ac_try='test -s conftest$ac_exeext'
30002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30003 (eval $ac_try) 2>&5
30004 ac_status=$?
30005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30006 (exit $ac_status); }; }; then
30007 eval "$as_ac_var=yes"
30008 else
30009 echo "$as_me: failed program was:" >&5
30010 sed 's/^/| /' conftest.$ac_ext >&5
30012 eval "$as_ac_var=no"
30014 rm -f conftest.err conftest.$ac_objext \
30015 conftest$ac_exeext conftest.$ac_ext
30017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30018 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30019 if test `eval echo '${'$as_ac_var'}'` = yes; then
30020 cat >>confdefs.h <<_ACEOF
30021 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30022 _ACEOF
30025 done
30035 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
30036 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
30037 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
30038 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
30039 echo $ECHO_N "(cached) $ECHO_C" >&6
30040 else
30044 ac_ext=cc
30045 ac_cpp='$CXXCPP $CPPFLAGS'
30046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30050 cat >conftest.$ac_ext <<_ACEOF
30051 /* confdefs.h. */
30052 _ACEOF
30053 cat confdefs.h >>conftest.$ac_ext
30054 cat >>conftest.$ac_ext <<_ACEOF
30055 /* end confdefs.h. */
30056 #include <math.h>
30058 main ()
30060 atan2l(0, 0);
30062 return 0;
30064 _ACEOF
30065 rm -f conftest.$ac_objext
30066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30067 (eval $ac_compile) 2>conftest.er1
30068 ac_status=$?
30069 grep -v '^ *+' conftest.er1 >conftest.err
30070 rm -f conftest.er1
30071 cat conftest.err >&5
30072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30073 (exit $ac_status); } &&
30074 { ac_try='test -z "$ac_cxx_werror_flag"
30075 || test ! -s conftest.err'
30076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30077 (eval $ac_try) 2>&5
30078 ac_status=$?
30079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30080 (exit $ac_status); }; } &&
30081 { ac_try='test -s conftest.$ac_objext'
30082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30083 (eval $ac_try) 2>&5
30084 ac_status=$?
30085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30086 (exit $ac_status); }; }; then
30087 glibcxx_cv_func_atan2l_use=yes
30088 else
30089 echo "$as_me: failed program was:" >&5
30090 sed 's/^/| /' conftest.$ac_ext >&5
30092 glibcxx_cv_func_atan2l_use=no
30094 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30095 ac_ext=c
30096 ac_cpp='$CPP $CPPFLAGS'
30097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30105 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
30106 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
30108 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
30110 for ac_func in atan2l
30112 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30113 echo "$as_me:$LINENO: checking for $ac_func" >&5
30114 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30115 if eval "test \"\${$as_ac_var+set}\" = set"; then
30116 echo $ECHO_N "(cached) $ECHO_C" >&6
30117 else
30118 if test x$gcc_no_link = xyes; then
30119 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30120 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30121 { (exit 1); exit 1; }; }
30123 cat >conftest.$ac_ext <<_ACEOF
30124 /* confdefs.h. */
30125 _ACEOF
30126 cat confdefs.h >>conftest.$ac_ext
30127 cat >>conftest.$ac_ext <<_ACEOF
30128 /* end confdefs.h. */
30129 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30130 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30131 #define $ac_func innocuous_$ac_func
30133 /* System header to define __stub macros and hopefully few prototypes,
30134 which can conflict with char $ac_func (); below.
30135 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30136 <limits.h> exists even on freestanding compilers. */
30138 #ifdef __STDC__
30139 # include <limits.h>
30140 #else
30141 # include <assert.h>
30142 #endif
30144 #undef $ac_func
30146 /* Override any gcc2 internal prototype to avoid an error. */
30147 #ifdef __cplusplus
30148 extern "C"
30150 #endif
30151 /* We use char because int might match the return type of a gcc2
30152 builtin and then its argument prototype would still apply. */
30153 char $ac_func ();
30154 /* The GNU C library defines this for functions which it implements
30155 to always fail with ENOSYS. Some functions are actually named
30156 something starting with __ and the normal name is an alias. */
30157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30158 choke me
30159 #else
30160 char (*f) () = $ac_func;
30161 #endif
30162 #ifdef __cplusplus
30164 #endif
30167 main ()
30169 return f != $ac_func;
30171 return 0;
30173 _ACEOF
30174 rm -f conftest.$ac_objext conftest$ac_exeext
30175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30176 (eval $ac_link) 2>conftest.er1
30177 ac_status=$?
30178 grep -v '^ *+' conftest.er1 >conftest.err
30179 rm -f conftest.er1
30180 cat conftest.err >&5
30181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30182 (exit $ac_status); } &&
30183 { ac_try='test -z "$ac_c_werror_flag"
30184 || test ! -s conftest.err'
30185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30186 (eval $ac_try) 2>&5
30187 ac_status=$?
30188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30189 (exit $ac_status); }; } &&
30190 { ac_try='test -s conftest$ac_exeext'
30191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30192 (eval $ac_try) 2>&5
30193 ac_status=$?
30194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30195 (exit $ac_status); }; }; then
30196 eval "$as_ac_var=yes"
30197 else
30198 echo "$as_me: failed program was:" >&5
30199 sed 's/^/| /' conftest.$ac_ext >&5
30201 eval "$as_ac_var=no"
30203 rm -f conftest.err conftest.$ac_objext \
30204 conftest$ac_exeext conftest.$ac_ext
30206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30207 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30208 if test `eval echo '${'$as_ac_var'}'` = yes; then
30209 cat >>confdefs.h <<_ACEOF
30210 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30211 _ACEOF
30214 done
30216 else
30218 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
30219 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
30220 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
30221 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
30222 echo $ECHO_N "(cached) $ECHO_C" >&6
30223 else
30227 ac_ext=cc
30228 ac_cpp='$CXXCPP $CPPFLAGS'
30229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30233 cat >conftest.$ac_ext <<_ACEOF
30234 /* confdefs.h. */
30235 _ACEOF
30236 cat confdefs.h >>conftest.$ac_ext
30237 cat >>conftest.$ac_ext <<_ACEOF
30238 /* end confdefs.h. */
30239 #include <math.h>
30241 main ()
30243 _atan2l(0, 0);
30245 return 0;
30247 _ACEOF
30248 rm -f conftest.$ac_objext
30249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30250 (eval $ac_compile) 2>conftest.er1
30251 ac_status=$?
30252 grep -v '^ *+' conftest.er1 >conftest.err
30253 rm -f conftest.er1
30254 cat conftest.err >&5
30255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30256 (exit $ac_status); } &&
30257 { ac_try='test -z "$ac_cxx_werror_flag"
30258 || test ! -s conftest.err'
30259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30260 (eval $ac_try) 2>&5
30261 ac_status=$?
30262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30263 (exit $ac_status); }; } &&
30264 { ac_try='test -s conftest.$ac_objext'
30265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30266 (eval $ac_try) 2>&5
30267 ac_status=$?
30268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30269 (exit $ac_status); }; }; then
30270 glibcxx_cv_func__atan2l_use=yes
30271 else
30272 echo "$as_me: failed program was:" >&5
30273 sed 's/^/| /' conftest.$ac_ext >&5
30275 glibcxx_cv_func__atan2l_use=no
30277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30278 ac_ext=c
30279 ac_cpp='$CPP $CPPFLAGS'
30280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30288 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
30289 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
30291 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
30293 for ac_func in _atan2l
30295 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30296 echo "$as_me:$LINENO: checking for $ac_func" >&5
30297 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30298 if eval "test \"\${$as_ac_var+set}\" = set"; then
30299 echo $ECHO_N "(cached) $ECHO_C" >&6
30300 else
30301 if test x$gcc_no_link = xyes; then
30302 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30303 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30304 { (exit 1); exit 1; }; }
30306 cat >conftest.$ac_ext <<_ACEOF
30307 /* confdefs.h. */
30308 _ACEOF
30309 cat confdefs.h >>conftest.$ac_ext
30310 cat >>conftest.$ac_ext <<_ACEOF
30311 /* end confdefs.h. */
30312 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30313 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30314 #define $ac_func innocuous_$ac_func
30316 /* System header to define __stub macros and hopefully few prototypes,
30317 which can conflict with char $ac_func (); below.
30318 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30319 <limits.h> exists even on freestanding compilers. */
30321 #ifdef __STDC__
30322 # include <limits.h>
30323 #else
30324 # include <assert.h>
30325 #endif
30327 #undef $ac_func
30329 /* Override any gcc2 internal prototype to avoid an error. */
30330 #ifdef __cplusplus
30331 extern "C"
30333 #endif
30334 /* We use char because int might match the return type of a gcc2
30335 builtin and then its argument prototype would still apply. */
30336 char $ac_func ();
30337 /* The GNU C library defines this for functions which it implements
30338 to always fail with ENOSYS. Some functions are actually named
30339 something starting with __ and the normal name is an alias. */
30340 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30341 choke me
30342 #else
30343 char (*f) () = $ac_func;
30344 #endif
30345 #ifdef __cplusplus
30347 #endif
30350 main ()
30352 return f != $ac_func;
30354 return 0;
30356 _ACEOF
30357 rm -f conftest.$ac_objext conftest$ac_exeext
30358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30359 (eval $ac_link) 2>conftest.er1
30360 ac_status=$?
30361 grep -v '^ *+' conftest.er1 >conftest.err
30362 rm -f conftest.er1
30363 cat conftest.err >&5
30364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30365 (exit $ac_status); } &&
30366 { ac_try='test -z "$ac_c_werror_flag"
30367 || test ! -s conftest.err'
30368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30369 (eval $ac_try) 2>&5
30370 ac_status=$?
30371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30372 (exit $ac_status); }; } &&
30373 { ac_try='test -s conftest$ac_exeext'
30374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30375 (eval $ac_try) 2>&5
30376 ac_status=$?
30377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30378 (exit $ac_status); }; }; then
30379 eval "$as_ac_var=yes"
30380 else
30381 echo "$as_me: failed program was:" >&5
30382 sed 's/^/| /' conftest.$ac_ext >&5
30384 eval "$as_ac_var=no"
30386 rm -f conftest.err conftest.$ac_objext \
30387 conftest$ac_exeext conftest.$ac_ext
30389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30390 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30391 if test `eval echo '${'$as_ac_var'}'` = yes; then
30392 cat >>confdefs.h <<_ACEOF
30393 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30394 _ACEOF
30397 done
30407 echo "$as_me:$LINENO: checking for expl declaration" >&5
30408 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
30409 if test x${glibcxx_cv_func_expl_use+set} != xset; then
30410 if test "${glibcxx_cv_func_expl_use+set}" = set; then
30411 echo $ECHO_N "(cached) $ECHO_C" >&6
30412 else
30416 ac_ext=cc
30417 ac_cpp='$CXXCPP $CPPFLAGS'
30418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30422 cat >conftest.$ac_ext <<_ACEOF
30423 /* confdefs.h. */
30424 _ACEOF
30425 cat confdefs.h >>conftest.$ac_ext
30426 cat >>conftest.$ac_ext <<_ACEOF
30427 /* end confdefs.h. */
30428 #include <math.h>
30429 #ifdef HAVE_IEEEFP_H
30430 #include <ieeefp.h>
30431 #endif
30434 main ()
30436 expl(0);
30438 return 0;
30440 _ACEOF
30441 rm -f conftest.$ac_objext
30442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30443 (eval $ac_compile) 2>conftest.er1
30444 ac_status=$?
30445 grep -v '^ *+' conftest.er1 >conftest.err
30446 rm -f conftest.er1
30447 cat conftest.err >&5
30448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30449 (exit $ac_status); } &&
30450 { ac_try='test -z "$ac_cxx_werror_flag"
30451 || test ! -s conftest.err'
30452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30453 (eval $ac_try) 2>&5
30454 ac_status=$?
30455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30456 (exit $ac_status); }; } &&
30457 { ac_try='test -s conftest.$ac_objext'
30458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30459 (eval $ac_try) 2>&5
30460 ac_status=$?
30461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30462 (exit $ac_status); }; }; then
30463 glibcxx_cv_func_expl_use=yes
30464 else
30465 echo "$as_me: failed program was:" >&5
30466 sed 's/^/| /' conftest.$ac_ext >&5
30468 glibcxx_cv_func_expl_use=no
30470 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30471 ac_ext=c
30472 ac_cpp='$CPP $CPPFLAGS'
30473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30481 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
30482 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
30484 if test x$glibcxx_cv_func_expl_use = x"yes"; then
30486 for ac_func in expl
30488 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30489 echo "$as_me:$LINENO: checking for $ac_func" >&5
30490 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30491 if eval "test \"\${$as_ac_var+set}\" = set"; then
30492 echo $ECHO_N "(cached) $ECHO_C" >&6
30493 else
30494 if test x$gcc_no_link = xyes; then
30495 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30496 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30497 { (exit 1); exit 1; }; }
30499 cat >conftest.$ac_ext <<_ACEOF
30500 /* confdefs.h. */
30501 _ACEOF
30502 cat confdefs.h >>conftest.$ac_ext
30503 cat >>conftest.$ac_ext <<_ACEOF
30504 /* end confdefs.h. */
30505 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30506 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30507 #define $ac_func innocuous_$ac_func
30509 /* System header to define __stub macros and hopefully few prototypes,
30510 which can conflict with char $ac_func (); below.
30511 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30512 <limits.h> exists even on freestanding compilers. */
30514 #ifdef __STDC__
30515 # include <limits.h>
30516 #else
30517 # include <assert.h>
30518 #endif
30520 #undef $ac_func
30522 /* Override any gcc2 internal prototype to avoid an error. */
30523 #ifdef __cplusplus
30524 extern "C"
30526 #endif
30527 /* We use char because int might match the return type of a gcc2
30528 builtin and then its argument prototype would still apply. */
30529 char $ac_func ();
30530 /* The GNU C library defines this for functions which it implements
30531 to always fail with ENOSYS. Some functions are actually named
30532 something starting with __ and the normal name is an alias. */
30533 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30534 choke me
30535 #else
30536 char (*f) () = $ac_func;
30537 #endif
30538 #ifdef __cplusplus
30540 #endif
30543 main ()
30545 return f != $ac_func;
30547 return 0;
30549 _ACEOF
30550 rm -f conftest.$ac_objext conftest$ac_exeext
30551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30552 (eval $ac_link) 2>conftest.er1
30553 ac_status=$?
30554 grep -v '^ *+' conftest.er1 >conftest.err
30555 rm -f conftest.er1
30556 cat conftest.err >&5
30557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30558 (exit $ac_status); } &&
30559 { ac_try='test -z "$ac_c_werror_flag"
30560 || test ! -s conftest.err'
30561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30562 (eval $ac_try) 2>&5
30563 ac_status=$?
30564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30565 (exit $ac_status); }; } &&
30566 { ac_try='test -s conftest$ac_exeext'
30567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30568 (eval $ac_try) 2>&5
30569 ac_status=$?
30570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30571 (exit $ac_status); }; }; then
30572 eval "$as_ac_var=yes"
30573 else
30574 echo "$as_me: failed program was:" >&5
30575 sed 's/^/| /' conftest.$ac_ext >&5
30577 eval "$as_ac_var=no"
30579 rm -f conftest.err conftest.$ac_objext \
30580 conftest$ac_exeext conftest.$ac_ext
30582 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30583 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30584 if test `eval echo '${'$as_ac_var'}'` = yes; then
30585 cat >>confdefs.h <<_ACEOF
30586 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30587 _ACEOF
30590 done
30592 else
30594 echo "$as_me:$LINENO: checking for _expl declaration" >&5
30595 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
30596 if test x${glibcxx_cv_func__expl_use+set} != xset; then
30597 if test "${glibcxx_cv_func__expl_use+set}" = set; then
30598 echo $ECHO_N "(cached) $ECHO_C" >&6
30599 else
30603 ac_ext=cc
30604 ac_cpp='$CXXCPP $CPPFLAGS'
30605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30609 cat >conftest.$ac_ext <<_ACEOF
30610 /* confdefs.h. */
30611 _ACEOF
30612 cat confdefs.h >>conftest.$ac_ext
30613 cat >>conftest.$ac_ext <<_ACEOF
30614 /* end confdefs.h. */
30615 #include <math.h>
30616 #ifdef HAVE_IEEEFP_H
30617 #include <ieeefp.h>
30618 #endif
30621 main ()
30623 _expl(0);
30625 return 0;
30627 _ACEOF
30628 rm -f conftest.$ac_objext
30629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30630 (eval $ac_compile) 2>conftest.er1
30631 ac_status=$?
30632 grep -v '^ *+' conftest.er1 >conftest.err
30633 rm -f conftest.er1
30634 cat conftest.err >&5
30635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30636 (exit $ac_status); } &&
30637 { ac_try='test -z "$ac_cxx_werror_flag"
30638 || test ! -s conftest.err'
30639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30640 (eval $ac_try) 2>&5
30641 ac_status=$?
30642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30643 (exit $ac_status); }; } &&
30644 { ac_try='test -s conftest.$ac_objext'
30645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30646 (eval $ac_try) 2>&5
30647 ac_status=$?
30648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30649 (exit $ac_status); }; }; then
30650 glibcxx_cv_func__expl_use=yes
30651 else
30652 echo "$as_me: failed program was:" >&5
30653 sed 's/^/| /' conftest.$ac_ext >&5
30655 glibcxx_cv_func__expl_use=no
30657 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30658 ac_ext=c
30659 ac_cpp='$CPP $CPPFLAGS'
30660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30668 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
30669 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
30671 if test x$glibcxx_cv_func__expl_use = x"yes"; then
30673 for ac_func in _expl
30675 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30676 echo "$as_me:$LINENO: checking for $ac_func" >&5
30677 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30678 if eval "test \"\${$as_ac_var+set}\" = set"; then
30679 echo $ECHO_N "(cached) $ECHO_C" >&6
30680 else
30681 if test x$gcc_no_link = xyes; then
30682 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30683 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30684 { (exit 1); exit 1; }; }
30686 cat >conftest.$ac_ext <<_ACEOF
30687 /* confdefs.h. */
30688 _ACEOF
30689 cat confdefs.h >>conftest.$ac_ext
30690 cat >>conftest.$ac_ext <<_ACEOF
30691 /* end confdefs.h. */
30692 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30693 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30694 #define $ac_func innocuous_$ac_func
30696 /* System header to define __stub macros and hopefully few prototypes,
30697 which can conflict with char $ac_func (); below.
30698 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30699 <limits.h> exists even on freestanding compilers. */
30701 #ifdef __STDC__
30702 # include <limits.h>
30703 #else
30704 # include <assert.h>
30705 #endif
30707 #undef $ac_func
30709 /* Override any gcc2 internal prototype to avoid an error. */
30710 #ifdef __cplusplus
30711 extern "C"
30713 #endif
30714 /* We use char because int might match the return type of a gcc2
30715 builtin and then its argument prototype would still apply. */
30716 char $ac_func ();
30717 /* The GNU C library defines this for functions which it implements
30718 to always fail with ENOSYS. Some functions are actually named
30719 something starting with __ and the normal name is an alias. */
30720 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30721 choke me
30722 #else
30723 char (*f) () = $ac_func;
30724 #endif
30725 #ifdef __cplusplus
30727 #endif
30730 main ()
30732 return f != $ac_func;
30734 return 0;
30736 _ACEOF
30737 rm -f conftest.$ac_objext conftest$ac_exeext
30738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30739 (eval $ac_link) 2>conftest.er1
30740 ac_status=$?
30741 grep -v '^ *+' conftest.er1 >conftest.err
30742 rm -f conftest.er1
30743 cat conftest.err >&5
30744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30745 (exit $ac_status); } &&
30746 { ac_try='test -z "$ac_c_werror_flag"
30747 || test ! -s conftest.err'
30748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30749 (eval $ac_try) 2>&5
30750 ac_status=$?
30751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30752 (exit $ac_status); }; } &&
30753 { ac_try='test -s conftest$ac_exeext'
30754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30755 (eval $ac_try) 2>&5
30756 ac_status=$?
30757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30758 (exit $ac_status); }; }; then
30759 eval "$as_ac_var=yes"
30760 else
30761 echo "$as_me: failed program was:" >&5
30762 sed 's/^/| /' conftest.$ac_ext >&5
30764 eval "$as_ac_var=no"
30766 rm -f conftest.err conftest.$ac_objext \
30767 conftest$ac_exeext conftest.$ac_ext
30769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30770 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30771 if test `eval echo '${'$as_ac_var'}'` = yes; then
30772 cat >>confdefs.h <<_ACEOF
30773 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30774 _ACEOF
30777 done
30787 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
30788 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
30789 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
30790 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
30791 echo $ECHO_N "(cached) $ECHO_C" >&6
30792 else
30796 ac_ext=cc
30797 ac_cpp='$CXXCPP $CPPFLAGS'
30798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30802 cat >conftest.$ac_ext <<_ACEOF
30803 /* confdefs.h. */
30804 _ACEOF
30805 cat confdefs.h >>conftest.$ac_ext
30806 cat >>conftest.$ac_ext <<_ACEOF
30807 /* end confdefs.h. */
30808 #include <math.h>
30809 #ifdef HAVE_IEEEFP_H
30810 #include <ieeefp.h>
30811 #endif
30814 main ()
30816 fabsl(0);
30818 return 0;
30820 _ACEOF
30821 rm -f conftest.$ac_objext
30822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30823 (eval $ac_compile) 2>conftest.er1
30824 ac_status=$?
30825 grep -v '^ *+' conftest.er1 >conftest.err
30826 rm -f conftest.er1
30827 cat conftest.err >&5
30828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30829 (exit $ac_status); } &&
30830 { ac_try='test -z "$ac_cxx_werror_flag"
30831 || test ! -s conftest.err'
30832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30833 (eval $ac_try) 2>&5
30834 ac_status=$?
30835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30836 (exit $ac_status); }; } &&
30837 { ac_try='test -s conftest.$ac_objext'
30838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30839 (eval $ac_try) 2>&5
30840 ac_status=$?
30841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30842 (exit $ac_status); }; }; then
30843 glibcxx_cv_func_fabsl_use=yes
30844 else
30845 echo "$as_me: failed program was:" >&5
30846 sed 's/^/| /' conftest.$ac_ext >&5
30848 glibcxx_cv_func_fabsl_use=no
30850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30851 ac_ext=c
30852 ac_cpp='$CPP $CPPFLAGS'
30853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30861 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
30862 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
30864 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
30866 for ac_func in fabsl
30868 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30869 echo "$as_me:$LINENO: checking for $ac_func" >&5
30870 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30871 if eval "test \"\${$as_ac_var+set}\" = set"; then
30872 echo $ECHO_N "(cached) $ECHO_C" >&6
30873 else
30874 if test x$gcc_no_link = xyes; then
30875 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30876 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30877 { (exit 1); exit 1; }; }
30879 cat >conftest.$ac_ext <<_ACEOF
30880 /* confdefs.h. */
30881 _ACEOF
30882 cat confdefs.h >>conftest.$ac_ext
30883 cat >>conftest.$ac_ext <<_ACEOF
30884 /* end confdefs.h. */
30885 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30886 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30887 #define $ac_func innocuous_$ac_func
30889 /* System header to define __stub macros and hopefully few prototypes,
30890 which can conflict with char $ac_func (); below.
30891 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30892 <limits.h> exists even on freestanding compilers. */
30894 #ifdef __STDC__
30895 # include <limits.h>
30896 #else
30897 # include <assert.h>
30898 #endif
30900 #undef $ac_func
30902 /* Override any gcc2 internal prototype to avoid an error. */
30903 #ifdef __cplusplus
30904 extern "C"
30906 #endif
30907 /* We use char because int might match the return type of a gcc2
30908 builtin and then its argument prototype would still apply. */
30909 char $ac_func ();
30910 /* The GNU C library defines this for functions which it implements
30911 to always fail with ENOSYS. Some functions are actually named
30912 something starting with __ and the normal name is an alias. */
30913 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30914 choke me
30915 #else
30916 char (*f) () = $ac_func;
30917 #endif
30918 #ifdef __cplusplus
30920 #endif
30923 main ()
30925 return f != $ac_func;
30927 return 0;
30929 _ACEOF
30930 rm -f conftest.$ac_objext conftest$ac_exeext
30931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30932 (eval $ac_link) 2>conftest.er1
30933 ac_status=$?
30934 grep -v '^ *+' conftest.er1 >conftest.err
30935 rm -f conftest.er1
30936 cat conftest.err >&5
30937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30938 (exit $ac_status); } &&
30939 { ac_try='test -z "$ac_c_werror_flag"
30940 || test ! -s conftest.err'
30941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30942 (eval $ac_try) 2>&5
30943 ac_status=$?
30944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30945 (exit $ac_status); }; } &&
30946 { ac_try='test -s conftest$ac_exeext'
30947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30948 (eval $ac_try) 2>&5
30949 ac_status=$?
30950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30951 (exit $ac_status); }; }; then
30952 eval "$as_ac_var=yes"
30953 else
30954 echo "$as_me: failed program was:" >&5
30955 sed 's/^/| /' conftest.$ac_ext >&5
30957 eval "$as_ac_var=no"
30959 rm -f conftest.err conftest.$ac_objext \
30960 conftest$ac_exeext conftest.$ac_ext
30962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30963 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30964 if test `eval echo '${'$as_ac_var'}'` = yes; then
30965 cat >>confdefs.h <<_ACEOF
30966 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30967 _ACEOF
30970 done
30972 else
30974 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
30975 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
30976 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
30977 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
30978 echo $ECHO_N "(cached) $ECHO_C" >&6
30979 else
30983 ac_ext=cc
30984 ac_cpp='$CXXCPP $CPPFLAGS'
30985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30989 cat >conftest.$ac_ext <<_ACEOF
30990 /* confdefs.h. */
30991 _ACEOF
30992 cat confdefs.h >>conftest.$ac_ext
30993 cat >>conftest.$ac_ext <<_ACEOF
30994 /* end confdefs.h. */
30995 #include <math.h>
30996 #ifdef HAVE_IEEEFP_H
30997 #include <ieeefp.h>
30998 #endif
31001 main ()
31003 _fabsl(0);
31005 return 0;
31007 _ACEOF
31008 rm -f conftest.$ac_objext
31009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31010 (eval $ac_compile) 2>conftest.er1
31011 ac_status=$?
31012 grep -v '^ *+' conftest.er1 >conftest.err
31013 rm -f conftest.er1
31014 cat conftest.err >&5
31015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31016 (exit $ac_status); } &&
31017 { ac_try='test -z "$ac_cxx_werror_flag"
31018 || test ! -s conftest.err'
31019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31020 (eval $ac_try) 2>&5
31021 ac_status=$?
31022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31023 (exit $ac_status); }; } &&
31024 { ac_try='test -s conftest.$ac_objext'
31025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31026 (eval $ac_try) 2>&5
31027 ac_status=$?
31028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31029 (exit $ac_status); }; }; then
31030 glibcxx_cv_func__fabsl_use=yes
31031 else
31032 echo "$as_me: failed program was:" >&5
31033 sed 's/^/| /' conftest.$ac_ext >&5
31035 glibcxx_cv_func__fabsl_use=no
31037 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31038 ac_ext=c
31039 ac_cpp='$CPP $CPPFLAGS'
31040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31048 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
31049 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
31051 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
31053 for ac_func in _fabsl
31055 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31056 echo "$as_me:$LINENO: checking for $ac_func" >&5
31057 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31058 if eval "test \"\${$as_ac_var+set}\" = set"; then
31059 echo $ECHO_N "(cached) $ECHO_C" >&6
31060 else
31061 if test x$gcc_no_link = xyes; then
31062 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31063 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31064 { (exit 1); exit 1; }; }
31066 cat >conftest.$ac_ext <<_ACEOF
31067 /* confdefs.h. */
31068 _ACEOF
31069 cat confdefs.h >>conftest.$ac_ext
31070 cat >>conftest.$ac_ext <<_ACEOF
31071 /* end confdefs.h. */
31072 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31073 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31074 #define $ac_func innocuous_$ac_func
31076 /* System header to define __stub macros and hopefully few prototypes,
31077 which can conflict with char $ac_func (); below.
31078 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31079 <limits.h> exists even on freestanding compilers. */
31081 #ifdef __STDC__
31082 # include <limits.h>
31083 #else
31084 # include <assert.h>
31085 #endif
31087 #undef $ac_func
31089 /* Override any gcc2 internal prototype to avoid an error. */
31090 #ifdef __cplusplus
31091 extern "C"
31093 #endif
31094 /* We use char because int might match the return type of a gcc2
31095 builtin and then its argument prototype would still apply. */
31096 char $ac_func ();
31097 /* The GNU C library defines this for functions which it implements
31098 to always fail with ENOSYS. Some functions are actually named
31099 something starting with __ and the normal name is an alias. */
31100 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31101 choke me
31102 #else
31103 char (*f) () = $ac_func;
31104 #endif
31105 #ifdef __cplusplus
31107 #endif
31110 main ()
31112 return f != $ac_func;
31114 return 0;
31116 _ACEOF
31117 rm -f conftest.$ac_objext conftest$ac_exeext
31118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31119 (eval $ac_link) 2>conftest.er1
31120 ac_status=$?
31121 grep -v '^ *+' conftest.er1 >conftest.err
31122 rm -f conftest.er1
31123 cat conftest.err >&5
31124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31125 (exit $ac_status); } &&
31126 { ac_try='test -z "$ac_c_werror_flag"
31127 || test ! -s conftest.err'
31128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31129 (eval $ac_try) 2>&5
31130 ac_status=$?
31131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31132 (exit $ac_status); }; } &&
31133 { ac_try='test -s conftest$ac_exeext'
31134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31135 (eval $ac_try) 2>&5
31136 ac_status=$?
31137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31138 (exit $ac_status); }; }; then
31139 eval "$as_ac_var=yes"
31140 else
31141 echo "$as_me: failed program was:" >&5
31142 sed 's/^/| /' conftest.$ac_ext >&5
31144 eval "$as_ac_var=no"
31146 rm -f conftest.err conftest.$ac_objext \
31147 conftest$ac_exeext conftest.$ac_ext
31149 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31150 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31151 if test `eval echo '${'$as_ac_var'}'` = yes; then
31152 cat >>confdefs.h <<_ACEOF
31153 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31154 _ACEOF
31157 done
31167 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
31168 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
31169 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
31170 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
31171 echo $ECHO_N "(cached) $ECHO_C" >&6
31172 else
31176 ac_ext=cc
31177 ac_cpp='$CXXCPP $CPPFLAGS'
31178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31182 cat >conftest.$ac_ext <<_ACEOF
31183 /* confdefs.h. */
31184 _ACEOF
31185 cat confdefs.h >>conftest.$ac_ext
31186 cat >>conftest.$ac_ext <<_ACEOF
31187 /* end confdefs.h. */
31188 #include <math.h>
31190 main ()
31192 fmodl(0, 0);
31194 return 0;
31196 _ACEOF
31197 rm -f conftest.$ac_objext
31198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31199 (eval $ac_compile) 2>conftest.er1
31200 ac_status=$?
31201 grep -v '^ *+' conftest.er1 >conftest.err
31202 rm -f conftest.er1
31203 cat conftest.err >&5
31204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31205 (exit $ac_status); } &&
31206 { ac_try='test -z "$ac_cxx_werror_flag"
31207 || test ! -s conftest.err'
31208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31209 (eval $ac_try) 2>&5
31210 ac_status=$?
31211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31212 (exit $ac_status); }; } &&
31213 { ac_try='test -s conftest.$ac_objext'
31214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31215 (eval $ac_try) 2>&5
31216 ac_status=$?
31217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31218 (exit $ac_status); }; }; then
31219 glibcxx_cv_func_fmodl_use=yes
31220 else
31221 echo "$as_me: failed program was:" >&5
31222 sed 's/^/| /' conftest.$ac_ext >&5
31224 glibcxx_cv_func_fmodl_use=no
31226 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31227 ac_ext=c
31228 ac_cpp='$CPP $CPPFLAGS'
31229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31237 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
31238 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
31240 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
31242 for ac_func in fmodl
31244 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31245 echo "$as_me:$LINENO: checking for $ac_func" >&5
31246 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31247 if eval "test \"\${$as_ac_var+set}\" = set"; then
31248 echo $ECHO_N "(cached) $ECHO_C" >&6
31249 else
31250 if test x$gcc_no_link = xyes; then
31251 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31252 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31253 { (exit 1); exit 1; }; }
31255 cat >conftest.$ac_ext <<_ACEOF
31256 /* confdefs.h. */
31257 _ACEOF
31258 cat confdefs.h >>conftest.$ac_ext
31259 cat >>conftest.$ac_ext <<_ACEOF
31260 /* end confdefs.h. */
31261 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31262 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31263 #define $ac_func innocuous_$ac_func
31265 /* System header to define __stub macros and hopefully few prototypes,
31266 which can conflict with char $ac_func (); below.
31267 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31268 <limits.h> exists even on freestanding compilers. */
31270 #ifdef __STDC__
31271 # include <limits.h>
31272 #else
31273 # include <assert.h>
31274 #endif
31276 #undef $ac_func
31278 /* Override any gcc2 internal prototype to avoid an error. */
31279 #ifdef __cplusplus
31280 extern "C"
31282 #endif
31283 /* We use char because int might match the return type of a gcc2
31284 builtin and then its argument prototype would still apply. */
31285 char $ac_func ();
31286 /* The GNU C library defines this for functions which it implements
31287 to always fail with ENOSYS. Some functions are actually named
31288 something starting with __ and the normal name is an alias. */
31289 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31290 choke me
31291 #else
31292 char (*f) () = $ac_func;
31293 #endif
31294 #ifdef __cplusplus
31296 #endif
31299 main ()
31301 return f != $ac_func;
31303 return 0;
31305 _ACEOF
31306 rm -f conftest.$ac_objext conftest$ac_exeext
31307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31308 (eval $ac_link) 2>conftest.er1
31309 ac_status=$?
31310 grep -v '^ *+' conftest.er1 >conftest.err
31311 rm -f conftest.er1
31312 cat conftest.err >&5
31313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31314 (exit $ac_status); } &&
31315 { ac_try='test -z "$ac_c_werror_flag"
31316 || test ! -s conftest.err'
31317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31318 (eval $ac_try) 2>&5
31319 ac_status=$?
31320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31321 (exit $ac_status); }; } &&
31322 { ac_try='test -s conftest$ac_exeext'
31323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31324 (eval $ac_try) 2>&5
31325 ac_status=$?
31326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31327 (exit $ac_status); }; }; then
31328 eval "$as_ac_var=yes"
31329 else
31330 echo "$as_me: failed program was:" >&5
31331 sed 's/^/| /' conftest.$ac_ext >&5
31333 eval "$as_ac_var=no"
31335 rm -f conftest.err conftest.$ac_objext \
31336 conftest$ac_exeext conftest.$ac_ext
31338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31339 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31340 if test `eval echo '${'$as_ac_var'}'` = yes; then
31341 cat >>confdefs.h <<_ACEOF
31342 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31343 _ACEOF
31346 done
31348 else
31350 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
31351 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
31352 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
31353 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
31354 echo $ECHO_N "(cached) $ECHO_C" >&6
31355 else
31359 ac_ext=cc
31360 ac_cpp='$CXXCPP $CPPFLAGS'
31361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31365 cat >conftest.$ac_ext <<_ACEOF
31366 /* confdefs.h. */
31367 _ACEOF
31368 cat confdefs.h >>conftest.$ac_ext
31369 cat >>conftest.$ac_ext <<_ACEOF
31370 /* end confdefs.h. */
31371 #include <math.h>
31373 main ()
31375 _fmodl(0, 0);
31377 return 0;
31379 _ACEOF
31380 rm -f conftest.$ac_objext
31381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31382 (eval $ac_compile) 2>conftest.er1
31383 ac_status=$?
31384 grep -v '^ *+' conftest.er1 >conftest.err
31385 rm -f conftest.er1
31386 cat conftest.err >&5
31387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31388 (exit $ac_status); } &&
31389 { ac_try='test -z "$ac_cxx_werror_flag"
31390 || test ! -s conftest.err'
31391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31392 (eval $ac_try) 2>&5
31393 ac_status=$?
31394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31395 (exit $ac_status); }; } &&
31396 { ac_try='test -s conftest.$ac_objext'
31397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31398 (eval $ac_try) 2>&5
31399 ac_status=$?
31400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31401 (exit $ac_status); }; }; then
31402 glibcxx_cv_func__fmodl_use=yes
31403 else
31404 echo "$as_me: failed program was:" >&5
31405 sed 's/^/| /' conftest.$ac_ext >&5
31407 glibcxx_cv_func__fmodl_use=no
31409 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31410 ac_ext=c
31411 ac_cpp='$CPP $CPPFLAGS'
31412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31420 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
31421 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
31423 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
31425 for ac_func in _fmodl
31427 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31428 echo "$as_me:$LINENO: checking for $ac_func" >&5
31429 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31430 if eval "test \"\${$as_ac_var+set}\" = set"; then
31431 echo $ECHO_N "(cached) $ECHO_C" >&6
31432 else
31433 if test x$gcc_no_link = xyes; then
31434 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31435 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31436 { (exit 1); exit 1; }; }
31438 cat >conftest.$ac_ext <<_ACEOF
31439 /* confdefs.h. */
31440 _ACEOF
31441 cat confdefs.h >>conftest.$ac_ext
31442 cat >>conftest.$ac_ext <<_ACEOF
31443 /* end confdefs.h. */
31444 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31445 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31446 #define $ac_func innocuous_$ac_func
31448 /* System header to define __stub macros and hopefully few prototypes,
31449 which can conflict with char $ac_func (); below.
31450 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31451 <limits.h> exists even on freestanding compilers. */
31453 #ifdef __STDC__
31454 # include <limits.h>
31455 #else
31456 # include <assert.h>
31457 #endif
31459 #undef $ac_func
31461 /* Override any gcc2 internal prototype to avoid an error. */
31462 #ifdef __cplusplus
31463 extern "C"
31465 #endif
31466 /* We use char because int might match the return type of a gcc2
31467 builtin and then its argument prototype would still apply. */
31468 char $ac_func ();
31469 /* The GNU C library defines this for functions which it implements
31470 to always fail with ENOSYS. Some functions are actually named
31471 something starting with __ and the normal name is an alias. */
31472 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31473 choke me
31474 #else
31475 char (*f) () = $ac_func;
31476 #endif
31477 #ifdef __cplusplus
31479 #endif
31482 main ()
31484 return f != $ac_func;
31486 return 0;
31488 _ACEOF
31489 rm -f conftest.$ac_objext conftest$ac_exeext
31490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31491 (eval $ac_link) 2>conftest.er1
31492 ac_status=$?
31493 grep -v '^ *+' conftest.er1 >conftest.err
31494 rm -f conftest.er1
31495 cat conftest.err >&5
31496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31497 (exit $ac_status); } &&
31498 { ac_try='test -z "$ac_c_werror_flag"
31499 || test ! -s conftest.err'
31500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31501 (eval $ac_try) 2>&5
31502 ac_status=$?
31503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31504 (exit $ac_status); }; } &&
31505 { ac_try='test -s conftest$ac_exeext'
31506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31507 (eval $ac_try) 2>&5
31508 ac_status=$?
31509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31510 (exit $ac_status); }; }; then
31511 eval "$as_ac_var=yes"
31512 else
31513 echo "$as_me: failed program was:" >&5
31514 sed 's/^/| /' conftest.$ac_ext >&5
31516 eval "$as_ac_var=no"
31518 rm -f conftest.err conftest.$ac_objext \
31519 conftest$ac_exeext conftest.$ac_ext
31521 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31522 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31523 if test `eval echo '${'$as_ac_var'}'` = yes; then
31524 cat >>confdefs.h <<_ACEOF
31525 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31526 _ACEOF
31529 done
31539 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
31540 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
31541 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
31542 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
31543 echo $ECHO_N "(cached) $ECHO_C" >&6
31544 else
31548 ac_ext=cc
31549 ac_cpp='$CXXCPP $CPPFLAGS'
31550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31554 cat >conftest.$ac_ext <<_ACEOF
31555 /* confdefs.h. */
31556 _ACEOF
31557 cat confdefs.h >>conftest.$ac_ext
31558 cat >>conftest.$ac_ext <<_ACEOF
31559 /* end confdefs.h. */
31560 #include <math.h>
31562 main ()
31564 frexpl(0, 0);
31566 return 0;
31568 _ACEOF
31569 rm -f conftest.$ac_objext
31570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31571 (eval $ac_compile) 2>conftest.er1
31572 ac_status=$?
31573 grep -v '^ *+' conftest.er1 >conftest.err
31574 rm -f conftest.er1
31575 cat conftest.err >&5
31576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31577 (exit $ac_status); } &&
31578 { ac_try='test -z "$ac_cxx_werror_flag"
31579 || test ! -s conftest.err'
31580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31581 (eval $ac_try) 2>&5
31582 ac_status=$?
31583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31584 (exit $ac_status); }; } &&
31585 { ac_try='test -s conftest.$ac_objext'
31586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31587 (eval $ac_try) 2>&5
31588 ac_status=$?
31589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31590 (exit $ac_status); }; }; then
31591 glibcxx_cv_func_frexpl_use=yes
31592 else
31593 echo "$as_me: failed program was:" >&5
31594 sed 's/^/| /' conftest.$ac_ext >&5
31596 glibcxx_cv_func_frexpl_use=no
31598 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31599 ac_ext=c
31600 ac_cpp='$CPP $CPPFLAGS'
31601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31609 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
31610 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
31612 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
31614 for ac_func in frexpl
31616 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31617 echo "$as_me:$LINENO: checking for $ac_func" >&5
31618 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31619 if eval "test \"\${$as_ac_var+set}\" = set"; then
31620 echo $ECHO_N "(cached) $ECHO_C" >&6
31621 else
31622 if test x$gcc_no_link = xyes; then
31623 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31624 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31625 { (exit 1); exit 1; }; }
31627 cat >conftest.$ac_ext <<_ACEOF
31628 /* confdefs.h. */
31629 _ACEOF
31630 cat confdefs.h >>conftest.$ac_ext
31631 cat >>conftest.$ac_ext <<_ACEOF
31632 /* end confdefs.h. */
31633 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31634 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31635 #define $ac_func innocuous_$ac_func
31637 /* System header to define __stub macros and hopefully few prototypes,
31638 which can conflict with char $ac_func (); below.
31639 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31640 <limits.h> exists even on freestanding compilers. */
31642 #ifdef __STDC__
31643 # include <limits.h>
31644 #else
31645 # include <assert.h>
31646 #endif
31648 #undef $ac_func
31650 /* Override any gcc2 internal prototype to avoid an error. */
31651 #ifdef __cplusplus
31652 extern "C"
31654 #endif
31655 /* We use char because int might match the return type of a gcc2
31656 builtin and then its argument prototype would still apply. */
31657 char $ac_func ();
31658 /* The GNU C library defines this for functions which it implements
31659 to always fail with ENOSYS. Some functions are actually named
31660 something starting with __ and the normal name is an alias. */
31661 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31662 choke me
31663 #else
31664 char (*f) () = $ac_func;
31665 #endif
31666 #ifdef __cplusplus
31668 #endif
31671 main ()
31673 return f != $ac_func;
31675 return 0;
31677 _ACEOF
31678 rm -f conftest.$ac_objext conftest$ac_exeext
31679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31680 (eval $ac_link) 2>conftest.er1
31681 ac_status=$?
31682 grep -v '^ *+' conftest.er1 >conftest.err
31683 rm -f conftest.er1
31684 cat conftest.err >&5
31685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31686 (exit $ac_status); } &&
31687 { ac_try='test -z "$ac_c_werror_flag"
31688 || test ! -s conftest.err'
31689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31690 (eval $ac_try) 2>&5
31691 ac_status=$?
31692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31693 (exit $ac_status); }; } &&
31694 { ac_try='test -s conftest$ac_exeext'
31695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31696 (eval $ac_try) 2>&5
31697 ac_status=$?
31698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31699 (exit $ac_status); }; }; then
31700 eval "$as_ac_var=yes"
31701 else
31702 echo "$as_me: failed program was:" >&5
31703 sed 's/^/| /' conftest.$ac_ext >&5
31705 eval "$as_ac_var=no"
31707 rm -f conftest.err conftest.$ac_objext \
31708 conftest$ac_exeext conftest.$ac_ext
31710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31711 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31712 if test `eval echo '${'$as_ac_var'}'` = yes; then
31713 cat >>confdefs.h <<_ACEOF
31714 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31715 _ACEOF
31718 done
31720 else
31722 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
31723 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
31724 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
31725 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
31726 echo $ECHO_N "(cached) $ECHO_C" >&6
31727 else
31731 ac_ext=cc
31732 ac_cpp='$CXXCPP $CPPFLAGS'
31733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31737 cat >conftest.$ac_ext <<_ACEOF
31738 /* confdefs.h. */
31739 _ACEOF
31740 cat confdefs.h >>conftest.$ac_ext
31741 cat >>conftest.$ac_ext <<_ACEOF
31742 /* end confdefs.h. */
31743 #include <math.h>
31745 main ()
31747 _frexpl(0, 0);
31749 return 0;
31751 _ACEOF
31752 rm -f conftest.$ac_objext
31753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31754 (eval $ac_compile) 2>conftest.er1
31755 ac_status=$?
31756 grep -v '^ *+' conftest.er1 >conftest.err
31757 rm -f conftest.er1
31758 cat conftest.err >&5
31759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31760 (exit $ac_status); } &&
31761 { ac_try='test -z "$ac_cxx_werror_flag"
31762 || test ! -s conftest.err'
31763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31764 (eval $ac_try) 2>&5
31765 ac_status=$?
31766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31767 (exit $ac_status); }; } &&
31768 { ac_try='test -s conftest.$ac_objext'
31769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31770 (eval $ac_try) 2>&5
31771 ac_status=$?
31772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31773 (exit $ac_status); }; }; then
31774 glibcxx_cv_func__frexpl_use=yes
31775 else
31776 echo "$as_me: failed program was:" >&5
31777 sed 's/^/| /' conftest.$ac_ext >&5
31779 glibcxx_cv_func__frexpl_use=no
31781 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31782 ac_ext=c
31783 ac_cpp='$CPP $CPPFLAGS'
31784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31792 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
31793 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
31795 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
31797 for ac_func in _frexpl
31799 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31800 echo "$as_me:$LINENO: checking for $ac_func" >&5
31801 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31802 if eval "test \"\${$as_ac_var+set}\" = set"; then
31803 echo $ECHO_N "(cached) $ECHO_C" >&6
31804 else
31805 if test x$gcc_no_link = xyes; then
31806 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31807 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31808 { (exit 1); exit 1; }; }
31810 cat >conftest.$ac_ext <<_ACEOF
31811 /* confdefs.h. */
31812 _ACEOF
31813 cat confdefs.h >>conftest.$ac_ext
31814 cat >>conftest.$ac_ext <<_ACEOF
31815 /* end confdefs.h. */
31816 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31817 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31818 #define $ac_func innocuous_$ac_func
31820 /* System header to define __stub macros and hopefully few prototypes,
31821 which can conflict with char $ac_func (); below.
31822 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31823 <limits.h> exists even on freestanding compilers. */
31825 #ifdef __STDC__
31826 # include <limits.h>
31827 #else
31828 # include <assert.h>
31829 #endif
31831 #undef $ac_func
31833 /* Override any gcc2 internal prototype to avoid an error. */
31834 #ifdef __cplusplus
31835 extern "C"
31837 #endif
31838 /* We use char because int might match the return type of a gcc2
31839 builtin and then its argument prototype would still apply. */
31840 char $ac_func ();
31841 /* The GNU C library defines this for functions which it implements
31842 to always fail with ENOSYS. Some functions are actually named
31843 something starting with __ and the normal name is an alias. */
31844 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31845 choke me
31846 #else
31847 char (*f) () = $ac_func;
31848 #endif
31849 #ifdef __cplusplus
31851 #endif
31854 main ()
31856 return f != $ac_func;
31858 return 0;
31860 _ACEOF
31861 rm -f conftest.$ac_objext conftest$ac_exeext
31862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31863 (eval $ac_link) 2>conftest.er1
31864 ac_status=$?
31865 grep -v '^ *+' conftest.er1 >conftest.err
31866 rm -f conftest.er1
31867 cat conftest.err >&5
31868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31869 (exit $ac_status); } &&
31870 { ac_try='test -z "$ac_c_werror_flag"
31871 || test ! -s conftest.err'
31872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31873 (eval $ac_try) 2>&5
31874 ac_status=$?
31875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31876 (exit $ac_status); }; } &&
31877 { ac_try='test -s conftest$ac_exeext'
31878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31879 (eval $ac_try) 2>&5
31880 ac_status=$?
31881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31882 (exit $ac_status); }; }; then
31883 eval "$as_ac_var=yes"
31884 else
31885 echo "$as_me: failed program was:" >&5
31886 sed 's/^/| /' conftest.$ac_ext >&5
31888 eval "$as_ac_var=no"
31890 rm -f conftest.err conftest.$ac_objext \
31891 conftest$ac_exeext conftest.$ac_ext
31893 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31894 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31895 if test `eval echo '${'$as_ac_var'}'` = yes; then
31896 cat >>confdefs.h <<_ACEOF
31897 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31898 _ACEOF
31901 done
31911 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
31912 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
31913 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
31914 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
31915 echo $ECHO_N "(cached) $ECHO_C" >&6
31916 else
31920 ac_ext=cc
31921 ac_cpp='$CXXCPP $CPPFLAGS'
31922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31926 cat >conftest.$ac_ext <<_ACEOF
31927 /* confdefs.h. */
31928 _ACEOF
31929 cat confdefs.h >>conftest.$ac_ext
31930 cat >>conftest.$ac_ext <<_ACEOF
31931 /* end confdefs.h. */
31932 #include <math.h>
31934 main ()
31936 hypotl(0, 0);
31938 return 0;
31940 _ACEOF
31941 rm -f conftest.$ac_objext
31942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31943 (eval $ac_compile) 2>conftest.er1
31944 ac_status=$?
31945 grep -v '^ *+' conftest.er1 >conftest.err
31946 rm -f conftest.er1
31947 cat conftest.err >&5
31948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31949 (exit $ac_status); } &&
31950 { ac_try='test -z "$ac_cxx_werror_flag"
31951 || test ! -s conftest.err'
31952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31953 (eval $ac_try) 2>&5
31954 ac_status=$?
31955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31956 (exit $ac_status); }; } &&
31957 { ac_try='test -s conftest.$ac_objext'
31958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31959 (eval $ac_try) 2>&5
31960 ac_status=$?
31961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31962 (exit $ac_status); }; }; then
31963 glibcxx_cv_func_hypotl_use=yes
31964 else
31965 echo "$as_me: failed program was:" >&5
31966 sed 's/^/| /' conftest.$ac_ext >&5
31968 glibcxx_cv_func_hypotl_use=no
31970 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31971 ac_ext=c
31972 ac_cpp='$CPP $CPPFLAGS'
31973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31981 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
31982 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
31984 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
31986 for ac_func in hypotl
31988 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31989 echo "$as_me:$LINENO: checking for $ac_func" >&5
31990 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31991 if eval "test \"\${$as_ac_var+set}\" = set"; then
31992 echo $ECHO_N "(cached) $ECHO_C" >&6
31993 else
31994 if test x$gcc_no_link = xyes; then
31995 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31996 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31997 { (exit 1); exit 1; }; }
31999 cat >conftest.$ac_ext <<_ACEOF
32000 /* confdefs.h. */
32001 _ACEOF
32002 cat confdefs.h >>conftest.$ac_ext
32003 cat >>conftest.$ac_ext <<_ACEOF
32004 /* end confdefs.h. */
32005 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32006 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32007 #define $ac_func innocuous_$ac_func
32009 /* System header to define __stub macros and hopefully few prototypes,
32010 which can conflict with char $ac_func (); below.
32011 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32012 <limits.h> exists even on freestanding compilers. */
32014 #ifdef __STDC__
32015 # include <limits.h>
32016 #else
32017 # include <assert.h>
32018 #endif
32020 #undef $ac_func
32022 /* Override any gcc2 internal prototype to avoid an error. */
32023 #ifdef __cplusplus
32024 extern "C"
32026 #endif
32027 /* We use char because int might match the return type of a gcc2
32028 builtin and then its argument prototype would still apply. */
32029 char $ac_func ();
32030 /* The GNU C library defines this for functions which it implements
32031 to always fail with ENOSYS. Some functions are actually named
32032 something starting with __ and the normal name is an alias. */
32033 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32034 choke me
32035 #else
32036 char (*f) () = $ac_func;
32037 #endif
32038 #ifdef __cplusplus
32040 #endif
32043 main ()
32045 return f != $ac_func;
32047 return 0;
32049 _ACEOF
32050 rm -f conftest.$ac_objext conftest$ac_exeext
32051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32052 (eval $ac_link) 2>conftest.er1
32053 ac_status=$?
32054 grep -v '^ *+' conftest.er1 >conftest.err
32055 rm -f conftest.er1
32056 cat conftest.err >&5
32057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32058 (exit $ac_status); } &&
32059 { ac_try='test -z "$ac_c_werror_flag"
32060 || test ! -s conftest.err'
32061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32062 (eval $ac_try) 2>&5
32063 ac_status=$?
32064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32065 (exit $ac_status); }; } &&
32066 { ac_try='test -s conftest$ac_exeext'
32067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32068 (eval $ac_try) 2>&5
32069 ac_status=$?
32070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32071 (exit $ac_status); }; }; then
32072 eval "$as_ac_var=yes"
32073 else
32074 echo "$as_me: failed program was:" >&5
32075 sed 's/^/| /' conftest.$ac_ext >&5
32077 eval "$as_ac_var=no"
32079 rm -f conftest.err conftest.$ac_objext \
32080 conftest$ac_exeext conftest.$ac_ext
32082 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32083 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32084 if test `eval echo '${'$as_ac_var'}'` = yes; then
32085 cat >>confdefs.h <<_ACEOF
32086 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32087 _ACEOF
32090 done
32092 else
32094 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
32095 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
32096 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
32097 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
32098 echo $ECHO_N "(cached) $ECHO_C" >&6
32099 else
32103 ac_ext=cc
32104 ac_cpp='$CXXCPP $CPPFLAGS'
32105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32109 cat >conftest.$ac_ext <<_ACEOF
32110 /* confdefs.h. */
32111 _ACEOF
32112 cat confdefs.h >>conftest.$ac_ext
32113 cat >>conftest.$ac_ext <<_ACEOF
32114 /* end confdefs.h. */
32115 #include <math.h>
32117 main ()
32119 _hypotl(0, 0);
32121 return 0;
32123 _ACEOF
32124 rm -f conftest.$ac_objext
32125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32126 (eval $ac_compile) 2>conftest.er1
32127 ac_status=$?
32128 grep -v '^ *+' conftest.er1 >conftest.err
32129 rm -f conftest.er1
32130 cat conftest.err >&5
32131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32132 (exit $ac_status); } &&
32133 { ac_try='test -z "$ac_cxx_werror_flag"
32134 || test ! -s conftest.err'
32135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32136 (eval $ac_try) 2>&5
32137 ac_status=$?
32138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32139 (exit $ac_status); }; } &&
32140 { ac_try='test -s conftest.$ac_objext'
32141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32142 (eval $ac_try) 2>&5
32143 ac_status=$?
32144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32145 (exit $ac_status); }; }; then
32146 glibcxx_cv_func__hypotl_use=yes
32147 else
32148 echo "$as_me: failed program was:" >&5
32149 sed 's/^/| /' conftest.$ac_ext >&5
32151 glibcxx_cv_func__hypotl_use=no
32153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32154 ac_ext=c
32155 ac_cpp='$CPP $CPPFLAGS'
32156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32164 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
32165 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
32167 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32169 for ac_func in _hypotl
32171 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32172 echo "$as_me:$LINENO: checking for $ac_func" >&5
32173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32174 if eval "test \"\${$as_ac_var+set}\" = set"; then
32175 echo $ECHO_N "(cached) $ECHO_C" >&6
32176 else
32177 if test x$gcc_no_link = xyes; then
32178 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32180 { (exit 1); exit 1; }; }
32182 cat >conftest.$ac_ext <<_ACEOF
32183 /* confdefs.h. */
32184 _ACEOF
32185 cat confdefs.h >>conftest.$ac_ext
32186 cat >>conftest.$ac_ext <<_ACEOF
32187 /* end confdefs.h. */
32188 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32189 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32190 #define $ac_func innocuous_$ac_func
32192 /* System header to define __stub macros and hopefully few prototypes,
32193 which can conflict with char $ac_func (); below.
32194 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32195 <limits.h> exists even on freestanding compilers. */
32197 #ifdef __STDC__
32198 # include <limits.h>
32199 #else
32200 # include <assert.h>
32201 #endif
32203 #undef $ac_func
32205 /* Override any gcc2 internal prototype to avoid an error. */
32206 #ifdef __cplusplus
32207 extern "C"
32209 #endif
32210 /* We use char because int might match the return type of a gcc2
32211 builtin and then its argument prototype would still apply. */
32212 char $ac_func ();
32213 /* The GNU C library defines this for functions which it implements
32214 to always fail with ENOSYS. Some functions are actually named
32215 something starting with __ and the normal name is an alias. */
32216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32217 choke me
32218 #else
32219 char (*f) () = $ac_func;
32220 #endif
32221 #ifdef __cplusplus
32223 #endif
32226 main ()
32228 return f != $ac_func;
32230 return 0;
32232 _ACEOF
32233 rm -f conftest.$ac_objext conftest$ac_exeext
32234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32235 (eval $ac_link) 2>conftest.er1
32236 ac_status=$?
32237 grep -v '^ *+' conftest.er1 >conftest.err
32238 rm -f conftest.er1
32239 cat conftest.err >&5
32240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32241 (exit $ac_status); } &&
32242 { ac_try='test -z "$ac_c_werror_flag"
32243 || test ! -s conftest.err'
32244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32245 (eval $ac_try) 2>&5
32246 ac_status=$?
32247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32248 (exit $ac_status); }; } &&
32249 { ac_try='test -s conftest$ac_exeext'
32250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32251 (eval $ac_try) 2>&5
32252 ac_status=$?
32253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32254 (exit $ac_status); }; }; then
32255 eval "$as_ac_var=yes"
32256 else
32257 echo "$as_me: failed program was:" >&5
32258 sed 's/^/| /' conftest.$ac_ext >&5
32260 eval "$as_ac_var=no"
32262 rm -f conftest.err conftest.$ac_objext \
32263 conftest$ac_exeext conftest.$ac_ext
32265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32266 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32267 if test `eval echo '${'$as_ac_var'}'` = yes; then
32268 cat >>confdefs.h <<_ACEOF
32269 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32270 _ACEOF
32273 done
32283 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
32284 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
32285 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
32286 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
32287 echo $ECHO_N "(cached) $ECHO_C" >&6
32288 else
32292 ac_ext=cc
32293 ac_cpp='$CXXCPP $CPPFLAGS'
32294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32298 cat >conftest.$ac_ext <<_ACEOF
32299 /* confdefs.h. */
32300 _ACEOF
32301 cat confdefs.h >>conftest.$ac_ext
32302 cat >>conftest.$ac_ext <<_ACEOF
32303 /* end confdefs.h. */
32304 #include <math.h>
32306 main ()
32308 ldexpl(0, 0);
32310 return 0;
32312 _ACEOF
32313 rm -f conftest.$ac_objext
32314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32315 (eval $ac_compile) 2>conftest.er1
32316 ac_status=$?
32317 grep -v '^ *+' conftest.er1 >conftest.err
32318 rm -f conftest.er1
32319 cat conftest.err >&5
32320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32321 (exit $ac_status); } &&
32322 { ac_try='test -z "$ac_cxx_werror_flag"
32323 || test ! -s conftest.err'
32324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32325 (eval $ac_try) 2>&5
32326 ac_status=$?
32327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32328 (exit $ac_status); }; } &&
32329 { ac_try='test -s conftest.$ac_objext'
32330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32331 (eval $ac_try) 2>&5
32332 ac_status=$?
32333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32334 (exit $ac_status); }; }; then
32335 glibcxx_cv_func_ldexpl_use=yes
32336 else
32337 echo "$as_me: failed program was:" >&5
32338 sed 's/^/| /' conftest.$ac_ext >&5
32340 glibcxx_cv_func_ldexpl_use=no
32342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32343 ac_ext=c
32344 ac_cpp='$CPP $CPPFLAGS'
32345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32353 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
32354 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
32356 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
32358 for ac_func in ldexpl
32360 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32361 echo "$as_me:$LINENO: checking for $ac_func" >&5
32362 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32363 if eval "test \"\${$as_ac_var+set}\" = set"; then
32364 echo $ECHO_N "(cached) $ECHO_C" >&6
32365 else
32366 if test x$gcc_no_link = xyes; then
32367 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32368 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32369 { (exit 1); exit 1; }; }
32371 cat >conftest.$ac_ext <<_ACEOF
32372 /* confdefs.h. */
32373 _ACEOF
32374 cat confdefs.h >>conftest.$ac_ext
32375 cat >>conftest.$ac_ext <<_ACEOF
32376 /* end confdefs.h. */
32377 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32378 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32379 #define $ac_func innocuous_$ac_func
32381 /* System header to define __stub macros and hopefully few prototypes,
32382 which can conflict with char $ac_func (); below.
32383 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32384 <limits.h> exists even on freestanding compilers. */
32386 #ifdef __STDC__
32387 # include <limits.h>
32388 #else
32389 # include <assert.h>
32390 #endif
32392 #undef $ac_func
32394 /* Override any gcc2 internal prototype to avoid an error. */
32395 #ifdef __cplusplus
32396 extern "C"
32398 #endif
32399 /* We use char because int might match the return type of a gcc2
32400 builtin and then its argument prototype would still apply. */
32401 char $ac_func ();
32402 /* The GNU C library defines this for functions which it implements
32403 to always fail with ENOSYS. Some functions are actually named
32404 something starting with __ and the normal name is an alias. */
32405 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32406 choke me
32407 #else
32408 char (*f) () = $ac_func;
32409 #endif
32410 #ifdef __cplusplus
32412 #endif
32415 main ()
32417 return f != $ac_func;
32419 return 0;
32421 _ACEOF
32422 rm -f conftest.$ac_objext conftest$ac_exeext
32423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32424 (eval $ac_link) 2>conftest.er1
32425 ac_status=$?
32426 grep -v '^ *+' conftest.er1 >conftest.err
32427 rm -f conftest.er1
32428 cat conftest.err >&5
32429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32430 (exit $ac_status); } &&
32431 { ac_try='test -z "$ac_c_werror_flag"
32432 || test ! -s conftest.err'
32433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32434 (eval $ac_try) 2>&5
32435 ac_status=$?
32436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32437 (exit $ac_status); }; } &&
32438 { ac_try='test -s conftest$ac_exeext'
32439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32440 (eval $ac_try) 2>&5
32441 ac_status=$?
32442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32443 (exit $ac_status); }; }; then
32444 eval "$as_ac_var=yes"
32445 else
32446 echo "$as_me: failed program was:" >&5
32447 sed 's/^/| /' conftest.$ac_ext >&5
32449 eval "$as_ac_var=no"
32451 rm -f conftest.err conftest.$ac_objext \
32452 conftest$ac_exeext conftest.$ac_ext
32454 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32455 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32456 if test `eval echo '${'$as_ac_var'}'` = yes; then
32457 cat >>confdefs.h <<_ACEOF
32458 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32459 _ACEOF
32462 done
32464 else
32466 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
32467 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
32468 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
32469 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
32470 echo $ECHO_N "(cached) $ECHO_C" >&6
32471 else
32475 ac_ext=cc
32476 ac_cpp='$CXXCPP $CPPFLAGS'
32477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32481 cat >conftest.$ac_ext <<_ACEOF
32482 /* confdefs.h. */
32483 _ACEOF
32484 cat confdefs.h >>conftest.$ac_ext
32485 cat >>conftest.$ac_ext <<_ACEOF
32486 /* end confdefs.h. */
32487 #include <math.h>
32489 main ()
32491 _ldexpl(0, 0);
32493 return 0;
32495 _ACEOF
32496 rm -f conftest.$ac_objext
32497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32498 (eval $ac_compile) 2>conftest.er1
32499 ac_status=$?
32500 grep -v '^ *+' conftest.er1 >conftest.err
32501 rm -f conftest.er1
32502 cat conftest.err >&5
32503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32504 (exit $ac_status); } &&
32505 { ac_try='test -z "$ac_cxx_werror_flag"
32506 || test ! -s conftest.err'
32507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32508 (eval $ac_try) 2>&5
32509 ac_status=$?
32510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32511 (exit $ac_status); }; } &&
32512 { ac_try='test -s conftest.$ac_objext'
32513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32514 (eval $ac_try) 2>&5
32515 ac_status=$?
32516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32517 (exit $ac_status); }; }; then
32518 glibcxx_cv_func__ldexpl_use=yes
32519 else
32520 echo "$as_me: failed program was:" >&5
32521 sed 's/^/| /' conftest.$ac_ext >&5
32523 glibcxx_cv_func__ldexpl_use=no
32525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32526 ac_ext=c
32527 ac_cpp='$CPP $CPPFLAGS'
32528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32536 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
32537 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
32539 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
32541 for ac_func in _ldexpl
32543 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32544 echo "$as_me:$LINENO: checking for $ac_func" >&5
32545 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32546 if eval "test \"\${$as_ac_var+set}\" = set"; then
32547 echo $ECHO_N "(cached) $ECHO_C" >&6
32548 else
32549 if test x$gcc_no_link = xyes; then
32550 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32551 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32552 { (exit 1); exit 1; }; }
32554 cat >conftest.$ac_ext <<_ACEOF
32555 /* confdefs.h. */
32556 _ACEOF
32557 cat confdefs.h >>conftest.$ac_ext
32558 cat >>conftest.$ac_ext <<_ACEOF
32559 /* end confdefs.h. */
32560 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32561 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32562 #define $ac_func innocuous_$ac_func
32564 /* System header to define __stub macros and hopefully few prototypes,
32565 which can conflict with char $ac_func (); below.
32566 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32567 <limits.h> exists even on freestanding compilers. */
32569 #ifdef __STDC__
32570 # include <limits.h>
32571 #else
32572 # include <assert.h>
32573 #endif
32575 #undef $ac_func
32577 /* Override any gcc2 internal prototype to avoid an error. */
32578 #ifdef __cplusplus
32579 extern "C"
32581 #endif
32582 /* We use char because int might match the return type of a gcc2
32583 builtin and then its argument prototype would still apply. */
32584 char $ac_func ();
32585 /* The GNU C library defines this for functions which it implements
32586 to always fail with ENOSYS. Some functions are actually named
32587 something starting with __ and the normal name is an alias. */
32588 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32589 choke me
32590 #else
32591 char (*f) () = $ac_func;
32592 #endif
32593 #ifdef __cplusplus
32595 #endif
32598 main ()
32600 return f != $ac_func;
32602 return 0;
32604 _ACEOF
32605 rm -f conftest.$ac_objext conftest$ac_exeext
32606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32607 (eval $ac_link) 2>conftest.er1
32608 ac_status=$?
32609 grep -v '^ *+' conftest.er1 >conftest.err
32610 rm -f conftest.er1
32611 cat conftest.err >&5
32612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32613 (exit $ac_status); } &&
32614 { ac_try='test -z "$ac_c_werror_flag"
32615 || test ! -s conftest.err'
32616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32617 (eval $ac_try) 2>&5
32618 ac_status=$?
32619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32620 (exit $ac_status); }; } &&
32621 { ac_try='test -s conftest$ac_exeext'
32622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32623 (eval $ac_try) 2>&5
32624 ac_status=$?
32625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32626 (exit $ac_status); }; }; then
32627 eval "$as_ac_var=yes"
32628 else
32629 echo "$as_me: failed program was:" >&5
32630 sed 's/^/| /' conftest.$ac_ext >&5
32632 eval "$as_ac_var=no"
32634 rm -f conftest.err conftest.$ac_objext \
32635 conftest$ac_exeext conftest.$ac_ext
32637 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32638 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32639 if test `eval echo '${'$as_ac_var'}'` = yes; then
32640 cat >>confdefs.h <<_ACEOF
32641 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32642 _ACEOF
32645 done
32655 echo "$as_me:$LINENO: checking for logl declaration" >&5
32656 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
32657 if test x${glibcxx_cv_func_logl_use+set} != xset; then
32658 if test "${glibcxx_cv_func_logl_use+set}" = set; then
32659 echo $ECHO_N "(cached) $ECHO_C" >&6
32660 else
32664 ac_ext=cc
32665 ac_cpp='$CXXCPP $CPPFLAGS'
32666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32670 cat >conftest.$ac_ext <<_ACEOF
32671 /* confdefs.h. */
32672 _ACEOF
32673 cat confdefs.h >>conftest.$ac_ext
32674 cat >>conftest.$ac_ext <<_ACEOF
32675 /* end confdefs.h. */
32676 #include <math.h>
32677 #ifdef HAVE_IEEEFP_H
32678 #include <ieeefp.h>
32679 #endif
32682 main ()
32684 logl(0);
32686 return 0;
32688 _ACEOF
32689 rm -f conftest.$ac_objext
32690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32691 (eval $ac_compile) 2>conftest.er1
32692 ac_status=$?
32693 grep -v '^ *+' conftest.er1 >conftest.err
32694 rm -f conftest.er1
32695 cat conftest.err >&5
32696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32697 (exit $ac_status); } &&
32698 { ac_try='test -z "$ac_cxx_werror_flag"
32699 || test ! -s conftest.err'
32700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32701 (eval $ac_try) 2>&5
32702 ac_status=$?
32703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32704 (exit $ac_status); }; } &&
32705 { ac_try='test -s conftest.$ac_objext'
32706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32707 (eval $ac_try) 2>&5
32708 ac_status=$?
32709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32710 (exit $ac_status); }; }; then
32711 glibcxx_cv_func_logl_use=yes
32712 else
32713 echo "$as_me: failed program was:" >&5
32714 sed 's/^/| /' conftest.$ac_ext >&5
32716 glibcxx_cv_func_logl_use=no
32718 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32719 ac_ext=c
32720 ac_cpp='$CPP $CPPFLAGS'
32721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32729 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
32730 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
32732 if test x$glibcxx_cv_func_logl_use = x"yes"; then
32734 for ac_func in logl
32736 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32737 echo "$as_me:$LINENO: checking for $ac_func" >&5
32738 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32739 if eval "test \"\${$as_ac_var+set}\" = set"; then
32740 echo $ECHO_N "(cached) $ECHO_C" >&6
32741 else
32742 if test x$gcc_no_link = xyes; then
32743 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32744 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32745 { (exit 1); exit 1; }; }
32747 cat >conftest.$ac_ext <<_ACEOF
32748 /* confdefs.h. */
32749 _ACEOF
32750 cat confdefs.h >>conftest.$ac_ext
32751 cat >>conftest.$ac_ext <<_ACEOF
32752 /* end confdefs.h. */
32753 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32754 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32755 #define $ac_func innocuous_$ac_func
32757 /* System header to define __stub macros and hopefully few prototypes,
32758 which can conflict with char $ac_func (); below.
32759 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32760 <limits.h> exists even on freestanding compilers. */
32762 #ifdef __STDC__
32763 # include <limits.h>
32764 #else
32765 # include <assert.h>
32766 #endif
32768 #undef $ac_func
32770 /* Override any gcc2 internal prototype to avoid an error. */
32771 #ifdef __cplusplus
32772 extern "C"
32774 #endif
32775 /* We use char because int might match the return type of a gcc2
32776 builtin and then its argument prototype would still apply. */
32777 char $ac_func ();
32778 /* The GNU C library defines this for functions which it implements
32779 to always fail with ENOSYS. Some functions are actually named
32780 something starting with __ and the normal name is an alias. */
32781 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32782 choke me
32783 #else
32784 char (*f) () = $ac_func;
32785 #endif
32786 #ifdef __cplusplus
32788 #endif
32791 main ()
32793 return f != $ac_func;
32795 return 0;
32797 _ACEOF
32798 rm -f conftest.$ac_objext conftest$ac_exeext
32799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32800 (eval $ac_link) 2>conftest.er1
32801 ac_status=$?
32802 grep -v '^ *+' conftest.er1 >conftest.err
32803 rm -f conftest.er1
32804 cat conftest.err >&5
32805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32806 (exit $ac_status); } &&
32807 { ac_try='test -z "$ac_c_werror_flag"
32808 || test ! -s conftest.err'
32809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32810 (eval $ac_try) 2>&5
32811 ac_status=$?
32812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32813 (exit $ac_status); }; } &&
32814 { ac_try='test -s conftest$ac_exeext'
32815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32816 (eval $ac_try) 2>&5
32817 ac_status=$?
32818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32819 (exit $ac_status); }; }; then
32820 eval "$as_ac_var=yes"
32821 else
32822 echo "$as_me: failed program was:" >&5
32823 sed 's/^/| /' conftest.$ac_ext >&5
32825 eval "$as_ac_var=no"
32827 rm -f conftest.err conftest.$ac_objext \
32828 conftest$ac_exeext conftest.$ac_ext
32830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32831 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32832 if test `eval echo '${'$as_ac_var'}'` = yes; then
32833 cat >>confdefs.h <<_ACEOF
32834 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32835 _ACEOF
32838 done
32840 else
32842 echo "$as_me:$LINENO: checking for _logl declaration" >&5
32843 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
32844 if test x${glibcxx_cv_func__logl_use+set} != xset; then
32845 if test "${glibcxx_cv_func__logl_use+set}" = set; then
32846 echo $ECHO_N "(cached) $ECHO_C" >&6
32847 else
32851 ac_ext=cc
32852 ac_cpp='$CXXCPP $CPPFLAGS'
32853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32857 cat >conftest.$ac_ext <<_ACEOF
32858 /* confdefs.h. */
32859 _ACEOF
32860 cat confdefs.h >>conftest.$ac_ext
32861 cat >>conftest.$ac_ext <<_ACEOF
32862 /* end confdefs.h. */
32863 #include <math.h>
32864 #ifdef HAVE_IEEEFP_H
32865 #include <ieeefp.h>
32866 #endif
32869 main ()
32871 _logl(0);
32873 return 0;
32875 _ACEOF
32876 rm -f conftest.$ac_objext
32877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32878 (eval $ac_compile) 2>conftest.er1
32879 ac_status=$?
32880 grep -v '^ *+' conftest.er1 >conftest.err
32881 rm -f conftest.er1
32882 cat conftest.err >&5
32883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32884 (exit $ac_status); } &&
32885 { ac_try='test -z "$ac_cxx_werror_flag"
32886 || test ! -s conftest.err'
32887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32888 (eval $ac_try) 2>&5
32889 ac_status=$?
32890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32891 (exit $ac_status); }; } &&
32892 { ac_try='test -s conftest.$ac_objext'
32893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32894 (eval $ac_try) 2>&5
32895 ac_status=$?
32896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32897 (exit $ac_status); }; }; then
32898 glibcxx_cv_func__logl_use=yes
32899 else
32900 echo "$as_me: failed program was:" >&5
32901 sed 's/^/| /' conftest.$ac_ext >&5
32903 glibcxx_cv_func__logl_use=no
32905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32906 ac_ext=c
32907 ac_cpp='$CPP $CPPFLAGS'
32908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32916 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
32917 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
32919 if test x$glibcxx_cv_func__logl_use = x"yes"; then
32921 for ac_func in _logl
32923 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32924 echo "$as_me:$LINENO: checking for $ac_func" >&5
32925 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32926 if eval "test \"\${$as_ac_var+set}\" = set"; then
32927 echo $ECHO_N "(cached) $ECHO_C" >&6
32928 else
32929 if test x$gcc_no_link = xyes; then
32930 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32931 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32932 { (exit 1); exit 1; }; }
32934 cat >conftest.$ac_ext <<_ACEOF
32935 /* confdefs.h. */
32936 _ACEOF
32937 cat confdefs.h >>conftest.$ac_ext
32938 cat >>conftest.$ac_ext <<_ACEOF
32939 /* end confdefs.h. */
32940 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32941 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32942 #define $ac_func innocuous_$ac_func
32944 /* System header to define __stub macros and hopefully few prototypes,
32945 which can conflict with char $ac_func (); below.
32946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32947 <limits.h> exists even on freestanding compilers. */
32949 #ifdef __STDC__
32950 # include <limits.h>
32951 #else
32952 # include <assert.h>
32953 #endif
32955 #undef $ac_func
32957 /* Override any gcc2 internal prototype to avoid an error. */
32958 #ifdef __cplusplus
32959 extern "C"
32961 #endif
32962 /* We use char because int might match the return type of a gcc2
32963 builtin and then its argument prototype would still apply. */
32964 char $ac_func ();
32965 /* The GNU C library defines this for functions which it implements
32966 to always fail with ENOSYS. Some functions are actually named
32967 something starting with __ and the normal name is an alias. */
32968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32969 choke me
32970 #else
32971 char (*f) () = $ac_func;
32972 #endif
32973 #ifdef __cplusplus
32975 #endif
32978 main ()
32980 return f != $ac_func;
32982 return 0;
32984 _ACEOF
32985 rm -f conftest.$ac_objext conftest$ac_exeext
32986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32987 (eval $ac_link) 2>conftest.er1
32988 ac_status=$?
32989 grep -v '^ *+' conftest.er1 >conftest.err
32990 rm -f conftest.er1
32991 cat conftest.err >&5
32992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32993 (exit $ac_status); } &&
32994 { ac_try='test -z "$ac_c_werror_flag"
32995 || test ! -s conftest.err'
32996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32997 (eval $ac_try) 2>&5
32998 ac_status=$?
32999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33000 (exit $ac_status); }; } &&
33001 { ac_try='test -s conftest$ac_exeext'
33002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33003 (eval $ac_try) 2>&5
33004 ac_status=$?
33005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33006 (exit $ac_status); }; }; then
33007 eval "$as_ac_var=yes"
33008 else
33009 echo "$as_me: failed program was:" >&5
33010 sed 's/^/| /' conftest.$ac_ext >&5
33012 eval "$as_ac_var=no"
33014 rm -f conftest.err conftest.$ac_objext \
33015 conftest$ac_exeext conftest.$ac_ext
33017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33018 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33019 if test `eval echo '${'$as_ac_var'}'` = yes; then
33020 cat >>confdefs.h <<_ACEOF
33021 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33022 _ACEOF
33025 done
33035 echo "$as_me:$LINENO: checking for log10l declaration" >&5
33036 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
33037 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
33038 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
33039 echo $ECHO_N "(cached) $ECHO_C" >&6
33040 else
33044 ac_ext=cc
33045 ac_cpp='$CXXCPP $CPPFLAGS'
33046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33050 cat >conftest.$ac_ext <<_ACEOF
33051 /* confdefs.h. */
33052 _ACEOF
33053 cat confdefs.h >>conftest.$ac_ext
33054 cat >>conftest.$ac_ext <<_ACEOF
33055 /* end confdefs.h. */
33056 #include <math.h>
33057 #ifdef HAVE_IEEEFP_H
33058 #include <ieeefp.h>
33059 #endif
33062 main ()
33064 log10l(0);
33066 return 0;
33068 _ACEOF
33069 rm -f conftest.$ac_objext
33070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33071 (eval $ac_compile) 2>conftest.er1
33072 ac_status=$?
33073 grep -v '^ *+' conftest.er1 >conftest.err
33074 rm -f conftest.er1
33075 cat conftest.err >&5
33076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33077 (exit $ac_status); } &&
33078 { ac_try='test -z "$ac_cxx_werror_flag"
33079 || test ! -s conftest.err'
33080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33081 (eval $ac_try) 2>&5
33082 ac_status=$?
33083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33084 (exit $ac_status); }; } &&
33085 { ac_try='test -s conftest.$ac_objext'
33086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33087 (eval $ac_try) 2>&5
33088 ac_status=$?
33089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33090 (exit $ac_status); }; }; then
33091 glibcxx_cv_func_log10l_use=yes
33092 else
33093 echo "$as_me: failed program was:" >&5
33094 sed 's/^/| /' conftest.$ac_ext >&5
33096 glibcxx_cv_func_log10l_use=no
33098 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33099 ac_ext=c
33100 ac_cpp='$CPP $CPPFLAGS'
33101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33109 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
33110 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
33112 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
33114 for ac_func in log10l
33116 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33117 echo "$as_me:$LINENO: checking for $ac_func" >&5
33118 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33119 if eval "test \"\${$as_ac_var+set}\" = set"; then
33120 echo $ECHO_N "(cached) $ECHO_C" >&6
33121 else
33122 if test x$gcc_no_link = xyes; then
33123 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33124 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33125 { (exit 1); exit 1; }; }
33127 cat >conftest.$ac_ext <<_ACEOF
33128 /* confdefs.h. */
33129 _ACEOF
33130 cat confdefs.h >>conftest.$ac_ext
33131 cat >>conftest.$ac_ext <<_ACEOF
33132 /* end confdefs.h. */
33133 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33134 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33135 #define $ac_func innocuous_$ac_func
33137 /* System header to define __stub macros and hopefully few prototypes,
33138 which can conflict with char $ac_func (); below.
33139 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33140 <limits.h> exists even on freestanding compilers. */
33142 #ifdef __STDC__
33143 # include <limits.h>
33144 #else
33145 # include <assert.h>
33146 #endif
33148 #undef $ac_func
33150 /* Override any gcc2 internal prototype to avoid an error. */
33151 #ifdef __cplusplus
33152 extern "C"
33154 #endif
33155 /* We use char because int might match the return type of a gcc2
33156 builtin and then its argument prototype would still apply. */
33157 char $ac_func ();
33158 /* The GNU C library defines this for functions which it implements
33159 to always fail with ENOSYS. Some functions are actually named
33160 something starting with __ and the normal name is an alias. */
33161 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33162 choke me
33163 #else
33164 char (*f) () = $ac_func;
33165 #endif
33166 #ifdef __cplusplus
33168 #endif
33171 main ()
33173 return f != $ac_func;
33175 return 0;
33177 _ACEOF
33178 rm -f conftest.$ac_objext conftest$ac_exeext
33179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33180 (eval $ac_link) 2>conftest.er1
33181 ac_status=$?
33182 grep -v '^ *+' conftest.er1 >conftest.err
33183 rm -f conftest.er1
33184 cat conftest.err >&5
33185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33186 (exit $ac_status); } &&
33187 { ac_try='test -z "$ac_c_werror_flag"
33188 || test ! -s conftest.err'
33189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33190 (eval $ac_try) 2>&5
33191 ac_status=$?
33192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33193 (exit $ac_status); }; } &&
33194 { ac_try='test -s conftest$ac_exeext'
33195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33196 (eval $ac_try) 2>&5
33197 ac_status=$?
33198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33199 (exit $ac_status); }; }; then
33200 eval "$as_ac_var=yes"
33201 else
33202 echo "$as_me: failed program was:" >&5
33203 sed 's/^/| /' conftest.$ac_ext >&5
33205 eval "$as_ac_var=no"
33207 rm -f conftest.err conftest.$ac_objext \
33208 conftest$ac_exeext conftest.$ac_ext
33210 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33211 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33212 if test `eval echo '${'$as_ac_var'}'` = yes; then
33213 cat >>confdefs.h <<_ACEOF
33214 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33215 _ACEOF
33218 done
33220 else
33222 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
33223 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
33224 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
33225 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
33226 echo $ECHO_N "(cached) $ECHO_C" >&6
33227 else
33231 ac_ext=cc
33232 ac_cpp='$CXXCPP $CPPFLAGS'
33233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33237 cat >conftest.$ac_ext <<_ACEOF
33238 /* confdefs.h. */
33239 _ACEOF
33240 cat confdefs.h >>conftest.$ac_ext
33241 cat >>conftest.$ac_ext <<_ACEOF
33242 /* end confdefs.h. */
33243 #include <math.h>
33244 #ifdef HAVE_IEEEFP_H
33245 #include <ieeefp.h>
33246 #endif
33249 main ()
33251 _log10l(0);
33253 return 0;
33255 _ACEOF
33256 rm -f conftest.$ac_objext
33257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33258 (eval $ac_compile) 2>conftest.er1
33259 ac_status=$?
33260 grep -v '^ *+' conftest.er1 >conftest.err
33261 rm -f conftest.er1
33262 cat conftest.err >&5
33263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33264 (exit $ac_status); } &&
33265 { ac_try='test -z "$ac_cxx_werror_flag"
33266 || test ! -s conftest.err'
33267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33268 (eval $ac_try) 2>&5
33269 ac_status=$?
33270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33271 (exit $ac_status); }; } &&
33272 { ac_try='test -s conftest.$ac_objext'
33273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33274 (eval $ac_try) 2>&5
33275 ac_status=$?
33276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33277 (exit $ac_status); }; }; then
33278 glibcxx_cv_func__log10l_use=yes
33279 else
33280 echo "$as_me: failed program was:" >&5
33281 sed 's/^/| /' conftest.$ac_ext >&5
33283 glibcxx_cv_func__log10l_use=no
33285 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33286 ac_ext=c
33287 ac_cpp='$CPP $CPPFLAGS'
33288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33296 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
33297 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
33299 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
33301 for ac_func in _log10l
33303 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33304 echo "$as_me:$LINENO: checking for $ac_func" >&5
33305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33306 if eval "test \"\${$as_ac_var+set}\" = set"; then
33307 echo $ECHO_N "(cached) $ECHO_C" >&6
33308 else
33309 if test x$gcc_no_link = xyes; then
33310 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33311 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33312 { (exit 1); exit 1; }; }
33314 cat >conftest.$ac_ext <<_ACEOF
33315 /* confdefs.h. */
33316 _ACEOF
33317 cat confdefs.h >>conftest.$ac_ext
33318 cat >>conftest.$ac_ext <<_ACEOF
33319 /* end confdefs.h. */
33320 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33321 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33322 #define $ac_func innocuous_$ac_func
33324 /* System header to define __stub macros and hopefully few prototypes,
33325 which can conflict with char $ac_func (); below.
33326 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33327 <limits.h> exists even on freestanding compilers. */
33329 #ifdef __STDC__
33330 # include <limits.h>
33331 #else
33332 # include <assert.h>
33333 #endif
33335 #undef $ac_func
33337 /* Override any gcc2 internal prototype to avoid an error. */
33338 #ifdef __cplusplus
33339 extern "C"
33341 #endif
33342 /* We use char because int might match the return type of a gcc2
33343 builtin and then its argument prototype would still apply. */
33344 char $ac_func ();
33345 /* The GNU C library defines this for functions which it implements
33346 to always fail with ENOSYS. Some functions are actually named
33347 something starting with __ and the normal name is an alias. */
33348 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33349 choke me
33350 #else
33351 char (*f) () = $ac_func;
33352 #endif
33353 #ifdef __cplusplus
33355 #endif
33358 main ()
33360 return f != $ac_func;
33362 return 0;
33364 _ACEOF
33365 rm -f conftest.$ac_objext conftest$ac_exeext
33366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33367 (eval $ac_link) 2>conftest.er1
33368 ac_status=$?
33369 grep -v '^ *+' conftest.er1 >conftest.err
33370 rm -f conftest.er1
33371 cat conftest.err >&5
33372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33373 (exit $ac_status); } &&
33374 { ac_try='test -z "$ac_c_werror_flag"
33375 || test ! -s conftest.err'
33376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33377 (eval $ac_try) 2>&5
33378 ac_status=$?
33379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33380 (exit $ac_status); }; } &&
33381 { ac_try='test -s conftest$ac_exeext'
33382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33383 (eval $ac_try) 2>&5
33384 ac_status=$?
33385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33386 (exit $ac_status); }; }; then
33387 eval "$as_ac_var=yes"
33388 else
33389 echo "$as_me: failed program was:" >&5
33390 sed 's/^/| /' conftest.$ac_ext >&5
33392 eval "$as_ac_var=no"
33394 rm -f conftest.err conftest.$ac_objext \
33395 conftest$ac_exeext conftest.$ac_ext
33397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33398 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33399 if test `eval echo '${'$as_ac_var'}'` = yes; then
33400 cat >>confdefs.h <<_ACEOF
33401 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33402 _ACEOF
33405 done
33415 echo "$as_me:$LINENO: checking for modfl declaration" >&5
33416 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
33417 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
33418 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
33419 echo $ECHO_N "(cached) $ECHO_C" >&6
33420 else
33424 ac_ext=cc
33425 ac_cpp='$CXXCPP $CPPFLAGS'
33426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33430 cat >conftest.$ac_ext <<_ACEOF
33431 /* confdefs.h. */
33432 _ACEOF
33433 cat confdefs.h >>conftest.$ac_ext
33434 cat >>conftest.$ac_ext <<_ACEOF
33435 /* end confdefs.h. */
33436 #include <math.h>
33438 main ()
33440 modfl(0, 0);
33442 return 0;
33444 _ACEOF
33445 rm -f conftest.$ac_objext
33446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33447 (eval $ac_compile) 2>conftest.er1
33448 ac_status=$?
33449 grep -v '^ *+' conftest.er1 >conftest.err
33450 rm -f conftest.er1
33451 cat conftest.err >&5
33452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33453 (exit $ac_status); } &&
33454 { ac_try='test -z "$ac_cxx_werror_flag"
33455 || test ! -s conftest.err'
33456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33457 (eval $ac_try) 2>&5
33458 ac_status=$?
33459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33460 (exit $ac_status); }; } &&
33461 { ac_try='test -s conftest.$ac_objext'
33462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33463 (eval $ac_try) 2>&5
33464 ac_status=$?
33465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33466 (exit $ac_status); }; }; then
33467 glibcxx_cv_func_modfl_use=yes
33468 else
33469 echo "$as_me: failed program was:" >&5
33470 sed 's/^/| /' conftest.$ac_ext >&5
33472 glibcxx_cv_func_modfl_use=no
33474 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33475 ac_ext=c
33476 ac_cpp='$CPP $CPPFLAGS'
33477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33485 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
33486 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
33488 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
33490 for ac_func in modfl
33492 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33493 echo "$as_me:$LINENO: checking for $ac_func" >&5
33494 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33495 if eval "test \"\${$as_ac_var+set}\" = set"; then
33496 echo $ECHO_N "(cached) $ECHO_C" >&6
33497 else
33498 if test x$gcc_no_link = xyes; then
33499 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33500 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33501 { (exit 1); exit 1; }; }
33503 cat >conftest.$ac_ext <<_ACEOF
33504 /* confdefs.h. */
33505 _ACEOF
33506 cat confdefs.h >>conftest.$ac_ext
33507 cat >>conftest.$ac_ext <<_ACEOF
33508 /* end confdefs.h. */
33509 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33510 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33511 #define $ac_func innocuous_$ac_func
33513 /* System header to define __stub macros and hopefully few prototypes,
33514 which can conflict with char $ac_func (); below.
33515 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33516 <limits.h> exists even on freestanding compilers. */
33518 #ifdef __STDC__
33519 # include <limits.h>
33520 #else
33521 # include <assert.h>
33522 #endif
33524 #undef $ac_func
33526 /* Override any gcc2 internal prototype to avoid an error. */
33527 #ifdef __cplusplus
33528 extern "C"
33530 #endif
33531 /* We use char because int might match the return type of a gcc2
33532 builtin and then its argument prototype would still apply. */
33533 char $ac_func ();
33534 /* The GNU C library defines this for functions which it implements
33535 to always fail with ENOSYS. Some functions are actually named
33536 something starting with __ and the normal name is an alias. */
33537 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33538 choke me
33539 #else
33540 char (*f) () = $ac_func;
33541 #endif
33542 #ifdef __cplusplus
33544 #endif
33547 main ()
33549 return f != $ac_func;
33551 return 0;
33553 _ACEOF
33554 rm -f conftest.$ac_objext conftest$ac_exeext
33555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33556 (eval $ac_link) 2>conftest.er1
33557 ac_status=$?
33558 grep -v '^ *+' conftest.er1 >conftest.err
33559 rm -f conftest.er1
33560 cat conftest.err >&5
33561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33562 (exit $ac_status); } &&
33563 { ac_try='test -z "$ac_c_werror_flag"
33564 || test ! -s conftest.err'
33565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33566 (eval $ac_try) 2>&5
33567 ac_status=$?
33568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33569 (exit $ac_status); }; } &&
33570 { ac_try='test -s conftest$ac_exeext'
33571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33572 (eval $ac_try) 2>&5
33573 ac_status=$?
33574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33575 (exit $ac_status); }; }; then
33576 eval "$as_ac_var=yes"
33577 else
33578 echo "$as_me: failed program was:" >&5
33579 sed 's/^/| /' conftest.$ac_ext >&5
33581 eval "$as_ac_var=no"
33583 rm -f conftest.err conftest.$ac_objext \
33584 conftest$ac_exeext conftest.$ac_ext
33586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33587 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33588 if test `eval echo '${'$as_ac_var'}'` = yes; then
33589 cat >>confdefs.h <<_ACEOF
33590 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33591 _ACEOF
33594 done
33596 else
33598 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
33599 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
33600 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
33601 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
33602 echo $ECHO_N "(cached) $ECHO_C" >&6
33603 else
33607 ac_ext=cc
33608 ac_cpp='$CXXCPP $CPPFLAGS'
33609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33613 cat >conftest.$ac_ext <<_ACEOF
33614 /* confdefs.h. */
33615 _ACEOF
33616 cat confdefs.h >>conftest.$ac_ext
33617 cat >>conftest.$ac_ext <<_ACEOF
33618 /* end confdefs.h. */
33619 #include <math.h>
33621 main ()
33623 _modfl(0, 0);
33625 return 0;
33627 _ACEOF
33628 rm -f conftest.$ac_objext
33629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33630 (eval $ac_compile) 2>conftest.er1
33631 ac_status=$?
33632 grep -v '^ *+' conftest.er1 >conftest.err
33633 rm -f conftest.er1
33634 cat conftest.err >&5
33635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33636 (exit $ac_status); } &&
33637 { ac_try='test -z "$ac_cxx_werror_flag"
33638 || test ! -s conftest.err'
33639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33640 (eval $ac_try) 2>&5
33641 ac_status=$?
33642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33643 (exit $ac_status); }; } &&
33644 { ac_try='test -s conftest.$ac_objext'
33645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33646 (eval $ac_try) 2>&5
33647 ac_status=$?
33648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33649 (exit $ac_status); }; }; then
33650 glibcxx_cv_func__modfl_use=yes
33651 else
33652 echo "$as_me: failed program was:" >&5
33653 sed 's/^/| /' conftest.$ac_ext >&5
33655 glibcxx_cv_func__modfl_use=no
33657 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33658 ac_ext=c
33659 ac_cpp='$CPP $CPPFLAGS'
33660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33668 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
33669 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
33671 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
33673 for ac_func in _modfl
33675 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33676 echo "$as_me:$LINENO: checking for $ac_func" >&5
33677 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33678 if eval "test \"\${$as_ac_var+set}\" = set"; then
33679 echo $ECHO_N "(cached) $ECHO_C" >&6
33680 else
33681 if test x$gcc_no_link = xyes; then
33682 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33683 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33684 { (exit 1); exit 1; }; }
33686 cat >conftest.$ac_ext <<_ACEOF
33687 /* confdefs.h. */
33688 _ACEOF
33689 cat confdefs.h >>conftest.$ac_ext
33690 cat >>conftest.$ac_ext <<_ACEOF
33691 /* end confdefs.h. */
33692 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33693 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33694 #define $ac_func innocuous_$ac_func
33696 /* System header to define __stub macros and hopefully few prototypes,
33697 which can conflict with char $ac_func (); below.
33698 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33699 <limits.h> exists even on freestanding compilers. */
33701 #ifdef __STDC__
33702 # include <limits.h>
33703 #else
33704 # include <assert.h>
33705 #endif
33707 #undef $ac_func
33709 /* Override any gcc2 internal prototype to avoid an error. */
33710 #ifdef __cplusplus
33711 extern "C"
33713 #endif
33714 /* We use char because int might match the return type of a gcc2
33715 builtin and then its argument prototype would still apply. */
33716 char $ac_func ();
33717 /* The GNU C library defines this for functions which it implements
33718 to always fail with ENOSYS. Some functions are actually named
33719 something starting with __ and the normal name is an alias. */
33720 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33721 choke me
33722 #else
33723 char (*f) () = $ac_func;
33724 #endif
33725 #ifdef __cplusplus
33727 #endif
33730 main ()
33732 return f != $ac_func;
33734 return 0;
33736 _ACEOF
33737 rm -f conftest.$ac_objext conftest$ac_exeext
33738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33739 (eval $ac_link) 2>conftest.er1
33740 ac_status=$?
33741 grep -v '^ *+' conftest.er1 >conftest.err
33742 rm -f conftest.er1
33743 cat conftest.err >&5
33744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33745 (exit $ac_status); } &&
33746 { ac_try='test -z "$ac_c_werror_flag"
33747 || test ! -s conftest.err'
33748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33749 (eval $ac_try) 2>&5
33750 ac_status=$?
33751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33752 (exit $ac_status); }; } &&
33753 { ac_try='test -s conftest$ac_exeext'
33754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33755 (eval $ac_try) 2>&5
33756 ac_status=$?
33757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33758 (exit $ac_status); }; }; then
33759 eval "$as_ac_var=yes"
33760 else
33761 echo "$as_me: failed program was:" >&5
33762 sed 's/^/| /' conftest.$ac_ext >&5
33764 eval "$as_ac_var=no"
33766 rm -f conftest.err conftest.$ac_objext \
33767 conftest$ac_exeext conftest.$ac_ext
33769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33770 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33771 if test `eval echo '${'$as_ac_var'}'` = yes; then
33772 cat >>confdefs.h <<_ACEOF
33773 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33774 _ACEOF
33777 done
33787 echo "$as_me:$LINENO: checking for powl declaration" >&5
33788 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
33789 if test x${glibcxx_cv_func_powl_use+set} != xset; then
33790 if test "${glibcxx_cv_func_powl_use+set}" = set; then
33791 echo $ECHO_N "(cached) $ECHO_C" >&6
33792 else
33796 ac_ext=cc
33797 ac_cpp='$CXXCPP $CPPFLAGS'
33798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33802 cat >conftest.$ac_ext <<_ACEOF
33803 /* confdefs.h. */
33804 _ACEOF
33805 cat confdefs.h >>conftest.$ac_ext
33806 cat >>conftest.$ac_ext <<_ACEOF
33807 /* end confdefs.h. */
33808 #include <math.h>
33810 main ()
33812 powl(0, 0);
33814 return 0;
33816 _ACEOF
33817 rm -f conftest.$ac_objext
33818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33819 (eval $ac_compile) 2>conftest.er1
33820 ac_status=$?
33821 grep -v '^ *+' conftest.er1 >conftest.err
33822 rm -f conftest.er1
33823 cat conftest.err >&5
33824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33825 (exit $ac_status); } &&
33826 { ac_try='test -z "$ac_cxx_werror_flag"
33827 || test ! -s conftest.err'
33828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33829 (eval $ac_try) 2>&5
33830 ac_status=$?
33831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33832 (exit $ac_status); }; } &&
33833 { ac_try='test -s conftest.$ac_objext'
33834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33835 (eval $ac_try) 2>&5
33836 ac_status=$?
33837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33838 (exit $ac_status); }; }; then
33839 glibcxx_cv_func_powl_use=yes
33840 else
33841 echo "$as_me: failed program was:" >&5
33842 sed 's/^/| /' conftest.$ac_ext >&5
33844 glibcxx_cv_func_powl_use=no
33846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33847 ac_ext=c
33848 ac_cpp='$CPP $CPPFLAGS'
33849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33857 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
33858 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
33860 if test x$glibcxx_cv_func_powl_use = x"yes"; then
33862 for ac_func in powl
33864 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33865 echo "$as_me:$LINENO: checking for $ac_func" >&5
33866 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33867 if eval "test \"\${$as_ac_var+set}\" = set"; then
33868 echo $ECHO_N "(cached) $ECHO_C" >&6
33869 else
33870 if test x$gcc_no_link = xyes; then
33871 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33872 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33873 { (exit 1); exit 1; }; }
33875 cat >conftest.$ac_ext <<_ACEOF
33876 /* confdefs.h. */
33877 _ACEOF
33878 cat confdefs.h >>conftest.$ac_ext
33879 cat >>conftest.$ac_ext <<_ACEOF
33880 /* end confdefs.h. */
33881 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33882 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33883 #define $ac_func innocuous_$ac_func
33885 /* System header to define __stub macros and hopefully few prototypes,
33886 which can conflict with char $ac_func (); below.
33887 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33888 <limits.h> exists even on freestanding compilers. */
33890 #ifdef __STDC__
33891 # include <limits.h>
33892 #else
33893 # include <assert.h>
33894 #endif
33896 #undef $ac_func
33898 /* Override any gcc2 internal prototype to avoid an error. */
33899 #ifdef __cplusplus
33900 extern "C"
33902 #endif
33903 /* We use char because int might match the return type of a gcc2
33904 builtin and then its argument prototype would still apply. */
33905 char $ac_func ();
33906 /* The GNU C library defines this for functions which it implements
33907 to always fail with ENOSYS. Some functions are actually named
33908 something starting with __ and the normal name is an alias. */
33909 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33910 choke me
33911 #else
33912 char (*f) () = $ac_func;
33913 #endif
33914 #ifdef __cplusplus
33916 #endif
33919 main ()
33921 return f != $ac_func;
33923 return 0;
33925 _ACEOF
33926 rm -f conftest.$ac_objext conftest$ac_exeext
33927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33928 (eval $ac_link) 2>conftest.er1
33929 ac_status=$?
33930 grep -v '^ *+' conftest.er1 >conftest.err
33931 rm -f conftest.er1
33932 cat conftest.err >&5
33933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33934 (exit $ac_status); } &&
33935 { ac_try='test -z "$ac_c_werror_flag"
33936 || test ! -s conftest.err'
33937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33938 (eval $ac_try) 2>&5
33939 ac_status=$?
33940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33941 (exit $ac_status); }; } &&
33942 { ac_try='test -s conftest$ac_exeext'
33943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33944 (eval $ac_try) 2>&5
33945 ac_status=$?
33946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33947 (exit $ac_status); }; }; then
33948 eval "$as_ac_var=yes"
33949 else
33950 echo "$as_me: failed program was:" >&5
33951 sed 's/^/| /' conftest.$ac_ext >&5
33953 eval "$as_ac_var=no"
33955 rm -f conftest.err conftest.$ac_objext \
33956 conftest$ac_exeext conftest.$ac_ext
33958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33959 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33960 if test `eval echo '${'$as_ac_var'}'` = yes; then
33961 cat >>confdefs.h <<_ACEOF
33962 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33963 _ACEOF
33966 done
33968 else
33970 echo "$as_me:$LINENO: checking for _powl declaration" >&5
33971 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
33972 if test x${glibcxx_cv_func__powl_use+set} != xset; then
33973 if test "${glibcxx_cv_func__powl_use+set}" = set; then
33974 echo $ECHO_N "(cached) $ECHO_C" >&6
33975 else
33979 ac_ext=cc
33980 ac_cpp='$CXXCPP $CPPFLAGS'
33981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33985 cat >conftest.$ac_ext <<_ACEOF
33986 /* confdefs.h. */
33987 _ACEOF
33988 cat confdefs.h >>conftest.$ac_ext
33989 cat >>conftest.$ac_ext <<_ACEOF
33990 /* end confdefs.h. */
33991 #include <math.h>
33993 main ()
33995 _powl(0, 0);
33997 return 0;
33999 _ACEOF
34000 rm -f conftest.$ac_objext
34001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34002 (eval $ac_compile) 2>conftest.er1
34003 ac_status=$?
34004 grep -v '^ *+' conftest.er1 >conftest.err
34005 rm -f conftest.er1
34006 cat conftest.err >&5
34007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34008 (exit $ac_status); } &&
34009 { ac_try='test -z "$ac_cxx_werror_flag"
34010 || test ! -s conftest.err'
34011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34012 (eval $ac_try) 2>&5
34013 ac_status=$?
34014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34015 (exit $ac_status); }; } &&
34016 { ac_try='test -s conftest.$ac_objext'
34017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34018 (eval $ac_try) 2>&5
34019 ac_status=$?
34020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34021 (exit $ac_status); }; }; then
34022 glibcxx_cv_func__powl_use=yes
34023 else
34024 echo "$as_me: failed program was:" >&5
34025 sed 's/^/| /' conftest.$ac_ext >&5
34027 glibcxx_cv_func__powl_use=no
34029 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34030 ac_ext=c
34031 ac_cpp='$CPP $CPPFLAGS'
34032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34040 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
34041 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
34043 if test x$glibcxx_cv_func__powl_use = x"yes"; then
34045 for ac_func in _powl
34047 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34048 echo "$as_me:$LINENO: checking for $ac_func" >&5
34049 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34050 if eval "test \"\${$as_ac_var+set}\" = set"; then
34051 echo $ECHO_N "(cached) $ECHO_C" >&6
34052 else
34053 if test x$gcc_no_link = xyes; then
34054 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34055 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34056 { (exit 1); exit 1; }; }
34058 cat >conftest.$ac_ext <<_ACEOF
34059 /* confdefs.h. */
34060 _ACEOF
34061 cat confdefs.h >>conftest.$ac_ext
34062 cat >>conftest.$ac_ext <<_ACEOF
34063 /* end confdefs.h. */
34064 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34065 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34066 #define $ac_func innocuous_$ac_func
34068 /* System header to define __stub macros and hopefully few prototypes,
34069 which can conflict with char $ac_func (); below.
34070 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34071 <limits.h> exists even on freestanding compilers. */
34073 #ifdef __STDC__
34074 # include <limits.h>
34075 #else
34076 # include <assert.h>
34077 #endif
34079 #undef $ac_func
34081 /* Override any gcc2 internal prototype to avoid an error. */
34082 #ifdef __cplusplus
34083 extern "C"
34085 #endif
34086 /* We use char because int might match the return type of a gcc2
34087 builtin and then its argument prototype would still apply. */
34088 char $ac_func ();
34089 /* The GNU C library defines this for functions which it implements
34090 to always fail with ENOSYS. Some functions are actually named
34091 something starting with __ and the normal name is an alias. */
34092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34093 choke me
34094 #else
34095 char (*f) () = $ac_func;
34096 #endif
34097 #ifdef __cplusplus
34099 #endif
34102 main ()
34104 return f != $ac_func;
34106 return 0;
34108 _ACEOF
34109 rm -f conftest.$ac_objext conftest$ac_exeext
34110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34111 (eval $ac_link) 2>conftest.er1
34112 ac_status=$?
34113 grep -v '^ *+' conftest.er1 >conftest.err
34114 rm -f conftest.er1
34115 cat conftest.err >&5
34116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34117 (exit $ac_status); } &&
34118 { ac_try='test -z "$ac_c_werror_flag"
34119 || test ! -s conftest.err'
34120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34121 (eval $ac_try) 2>&5
34122 ac_status=$?
34123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34124 (exit $ac_status); }; } &&
34125 { ac_try='test -s conftest$ac_exeext'
34126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34127 (eval $ac_try) 2>&5
34128 ac_status=$?
34129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34130 (exit $ac_status); }; }; then
34131 eval "$as_ac_var=yes"
34132 else
34133 echo "$as_me: failed program was:" >&5
34134 sed 's/^/| /' conftest.$ac_ext >&5
34136 eval "$as_ac_var=no"
34138 rm -f conftest.err conftest.$ac_objext \
34139 conftest$ac_exeext conftest.$ac_ext
34141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34142 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34143 if test `eval echo '${'$as_ac_var'}'` = yes; then
34144 cat >>confdefs.h <<_ACEOF
34145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34146 _ACEOF
34149 done
34159 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
34160 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
34161 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
34162 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
34163 echo $ECHO_N "(cached) $ECHO_C" >&6
34164 else
34168 ac_ext=cc
34169 ac_cpp='$CXXCPP $CPPFLAGS'
34170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34174 cat >conftest.$ac_ext <<_ACEOF
34175 /* confdefs.h. */
34176 _ACEOF
34177 cat confdefs.h >>conftest.$ac_ext
34178 cat >>conftest.$ac_ext <<_ACEOF
34179 /* end confdefs.h. */
34180 #include <math.h>
34181 #ifdef HAVE_IEEEFP_H
34182 #include <ieeefp.h>
34183 #endif
34186 main ()
34188 sqrtl(0);
34190 return 0;
34192 _ACEOF
34193 rm -f conftest.$ac_objext
34194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34195 (eval $ac_compile) 2>conftest.er1
34196 ac_status=$?
34197 grep -v '^ *+' conftest.er1 >conftest.err
34198 rm -f conftest.er1
34199 cat conftest.err >&5
34200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34201 (exit $ac_status); } &&
34202 { ac_try='test -z "$ac_cxx_werror_flag"
34203 || test ! -s conftest.err'
34204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34205 (eval $ac_try) 2>&5
34206 ac_status=$?
34207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34208 (exit $ac_status); }; } &&
34209 { ac_try='test -s conftest.$ac_objext'
34210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34211 (eval $ac_try) 2>&5
34212 ac_status=$?
34213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34214 (exit $ac_status); }; }; then
34215 glibcxx_cv_func_sqrtl_use=yes
34216 else
34217 echo "$as_me: failed program was:" >&5
34218 sed 's/^/| /' conftest.$ac_ext >&5
34220 glibcxx_cv_func_sqrtl_use=no
34222 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34223 ac_ext=c
34224 ac_cpp='$CPP $CPPFLAGS'
34225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34233 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
34234 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
34236 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
34238 for ac_func in sqrtl
34240 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34241 echo "$as_me:$LINENO: checking for $ac_func" >&5
34242 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34243 if eval "test \"\${$as_ac_var+set}\" = set"; then
34244 echo $ECHO_N "(cached) $ECHO_C" >&6
34245 else
34246 if test x$gcc_no_link = xyes; then
34247 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34248 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34249 { (exit 1); exit 1; }; }
34251 cat >conftest.$ac_ext <<_ACEOF
34252 /* confdefs.h. */
34253 _ACEOF
34254 cat confdefs.h >>conftest.$ac_ext
34255 cat >>conftest.$ac_ext <<_ACEOF
34256 /* end confdefs.h. */
34257 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34258 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34259 #define $ac_func innocuous_$ac_func
34261 /* System header to define __stub macros and hopefully few prototypes,
34262 which can conflict with char $ac_func (); below.
34263 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34264 <limits.h> exists even on freestanding compilers. */
34266 #ifdef __STDC__
34267 # include <limits.h>
34268 #else
34269 # include <assert.h>
34270 #endif
34272 #undef $ac_func
34274 /* Override any gcc2 internal prototype to avoid an error. */
34275 #ifdef __cplusplus
34276 extern "C"
34278 #endif
34279 /* We use char because int might match the return type of a gcc2
34280 builtin and then its argument prototype would still apply. */
34281 char $ac_func ();
34282 /* The GNU C library defines this for functions which it implements
34283 to always fail with ENOSYS. Some functions are actually named
34284 something starting with __ and the normal name is an alias. */
34285 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34286 choke me
34287 #else
34288 char (*f) () = $ac_func;
34289 #endif
34290 #ifdef __cplusplus
34292 #endif
34295 main ()
34297 return f != $ac_func;
34299 return 0;
34301 _ACEOF
34302 rm -f conftest.$ac_objext conftest$ac_exeext
34303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34304 (eval $ac_link) 2>conftest.er1
34305 ac_status=$?
34306 grep -v '^ *+' conftest.er1 >conftest.err
34307 rm -f conftest.er1
34308 cat conftest.err >&5
34309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34310 (exit $ac_status); } &&
34311 { ac_try='test -z "$ac_c_werror_flag"
34312 || test ! -s conftest.err'
34313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34314 (eval $ac_try) 2>&5
34315 ac_status=$?
34316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34317 (exit $ac_status); }; } &&
34318 { ac_try='test -s conftest$ac_exeext'
34319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34320 (eval $ac_try) 2>&5
34321 ac_status=$?
34322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34323 (exit $ac_status); }; }; then
34324 eval "$as_ac_var=yes"
34325 else
34326 echo "$as_me: failed program was:" >&5
34327 sed 's/^/| /' conftest.$ac_ext >&5
34329 eval "$as_ac_var=no"
34331 rm -f conftest.err conftest.$ac_objext \
34332 conftest$ac_exeext conftest.$ac_ext
34334 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34335 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34336 if test `eval echo '${'$as_ac_var'}'` = yes; then
34337 cat >>confdefs.h <<_ACEOF
34338 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34339 _ACEOF
34342 done
34344 else
34346 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
34347 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
34348 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
34349 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
34350 echo $ECHO_N "(cached) $ECHO_C" >&6
34351 else
34355 ac_ext=cc
34356 ac_cpp='$CXXCPP $CPPFLAGS'
34357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34361 cat >conftest.$ac_ext <<_ACEOF
34362 /* confdefs.h. */
34363 _ACEOF
34364 cat confdefs.h >>conftest.$ac_ext
34365 cat >>conftest.$ac_ext <<_ACEOF
34366 /* end confdefs.h. */
34367 #include <math.h>
34368 #ifdef HAVE_IEEEFP_H
34369 #include <ieeefp.h>
34370 #endif
34373 main ()
34375 _sqrtl(0);
34377 return 0;
34379 _ACEOF
34380 rm -f conftest.$ac_objext
34381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34382 (eval $ac_compile) 2>conftest.er1
34383 ac_status=$?
34384 grep -v '^ *+' conftest.er1 >conftest.err
34385 rm -f conftest.er1
34386 cat conftest.err >&5
34387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34388 (exit $ac_status); } &&
34389 { ac_try='test -z "$ac_cxx_werror_flag"
34390 || test ! -s conftest.err'
34391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34392 (eval $ac_try) 2>&5
34393 ac_status=$?
34394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34395 (exit $ac_status); }; } &&
34396 { ac_try='test -s conftest.$ac_objext'
34397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34398 (eval $ac_try) 2>&5
34399 ac_status=$?
34400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34401 (exit $ac_status); }; }; then
34402 glibcxx_cv_func__sqrtl_use=yes
34403 else
34404 echo "$as_me: failed program was:" >&5
34405 sed 's/^/| /' conftest.$ac_ext >&5
34407 glibcxx_cv_func__sqrtl_use=no
34409 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34410 ac_ext=c
34411 ac_cpp='$CPP $CPPFLAGS'
34412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34420 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
34421 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
34423 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
34425 for ac_func in _sqrtl
34427 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34428 echo "$as_me:$LINENO: checking for $ac_func" >&5
34429 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34430 if eval "test \"\${$as_ac_var+set}\" = set"; then
34431 echo $ECHO_N "(cached) $ECHO_C" >&6
34432 else
34433 if test x$gcc_no_link = xyes; then
34434 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34435 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34436 { (exit 1); exit 1; }; }
34438 cat >conftest.$ac_ext <<_ACEOF
34439 /* confdefs.h. */
34440 _ACEOF
34441 cat confdefs.h >>conftest.$ac_ext
34442 cat >>conftest.$ac_ext <<_ACEOF
34443 /* end confdefs.h. */
34444 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34445 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34446 #define $ac_func innocuous_$ac_func
34448 /* System header to define __stub macros and hopefully few prototypes,
34449 which can conflict with char $ac_func (); below.
34450 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34451 <limits.h> exists even on freestanding compilers. */
34453 #ifdef __STDC__
34454 # include <limits.h>
34455 #else
34456 # include <assert.h>
34457 #endif
34459 #undef $ac_func
34461 /* Override any gcc2 internal prototype to avoid an error. */
34462 #ifdef __cplusplus
34463 extern "C"
34465 #endif
34466 /* We use char because int might match the return type of a gcc2
34467 builtin and then its argument prototype would still apply. */
34468 char $ac_func ();
34469 /* The GNU C library defines this for functions which it implements
34470 to always fail with ENOSYS. Some functions are actually named
34471 something starting with __ and the normal name is an alias. */
34472 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34473 choke me
34474 #else
34475 char (*f) () = $ac_func;
34476 #endif
34477 #ifdef __cplusplus
34479 #endif
34482 main ()
34484 return f != $ac_func;
34486 return 0;
34488 _ACEOF
34489 rm -f conftest.$ac_objext conftest$ac_exeext
34490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34491 (eval $ac_link) 2>conftest.er1
34492 ac_status=$?
34493 grep -v '^ *+' conftest.er1 >conftest.err
34494 rm -f conftest.er1
34495 cat conftest.err >&5
34496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34497 (exit $ac_status); } &&
34498 { ac_try='test -z "$ac_c_werror_flag"
34499 || test ! -s conftest.err'
34500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34501 (eval $ac_try) 2>&5
34502 ac_status=$?
34503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34504 (exit $ac_status); }; } &&
34505 { ac_try='test -s conftest$ac_exeext'
34506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34507 (eval $ac_try) 2>&5
34508 ac_status=$?
34509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34510 (exit $ac_status); }; }; then
34511 eval "$as_ac_var=yes"
34512 else
34513 echo "$as_me: failed program was:" >&5
34514 sed 's/^/| /' conftest.$ac_ext >&5
34516 eval "$as_ac_var=no"
34518 rm -f conftest.err conftest.$ac_objext \
34519 conftest$ac_exeext conftest.$ac_ext
34521 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34522 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34523 if test `eval echo '${'$as_ac_var'}'` = yes; then
34524 cat >>confdefs.h <<_ACEOF
34525 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34526 _ACEOF
34529 done
34539 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
34540 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
34541 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
34542 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
34543 echo $ECHO_N "(cached) $ECHO_C" >&6
34544 else
34548 ac_ext=cc
34549 ac_cpp='$CXXCPP $CPPFLAGS'
34550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34554 cat >conftest.$ac_ext <<_ACEOF
34555 /* confdefs.h. */
34556 _ACEOF
34557 cat confdefs.h >>conftest.$ac_ext
34558 cat >>conftest.$ac_ext <<_ACEOF
34559 /* end confdefs.h. */
34560 #include <math.h>
34562 main ()
34564 sincosl(0, 0, 0);
34566 return 0;
34568 _ACEOF
34569 rm -f conftest.$ac_objext
34570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34571 (eval $ac_compile) 2>conftest.er1
34572 ac_status=$?
34573 grep -v '^ *+' conftest.er1 >conftest.err
34574 rm -f conftest.er1
34575 cat conftest.err >&5
34576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34577 (exit $ac_status); } &&
34578 { ac_try='test -z "$ac_cxx_werror_flag"
34579 || test ! -s conftest.err'
34580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34581 (eval $ac_try) 2>&5
34582 ac_status=$?
34583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34584 (exit $ac_status); }; } &&
34585 { ac_try='test -s conftest.$ac_objext'
34586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34587 (eval $ac_try) 2>&5
34588 ac_status=$?
34589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34590 (exit $ac_status); }; }; then
34591 glibcxx_cv_func_sincosl_use=yes
34592 else
34593 echo "$as_me: failed program was:" >&5
34594 sed 's/^/| /' conftest.$ac_ext >&5
34596 glibcxx_cv_func_sincosl_use=no
34598 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34599 ac_ext=c
34600 ac_cpp='$CPP $CPPFLAGS'
34601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34609 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
34610 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
34612 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
34614 for ac_func in sincosl
34616 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34617 echo "$as_me:$LINENO: checking for $ac_func" >&5
34618 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34619 if eval "test \"\${$as_ac_var+set}\" = set"; then
34620 echo $ECHO_N "(cached) $ECHO_C" >&6
34621 else
34622 if test x$gcc_no_link = xyes; then
34623 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34624 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34625 { (exit 1); exit 1; }; }
34627 cat >conftest.$ac_ext <<_ACEOF
34628 /* confdefs.h. */
34629 _ACEOF
34630 cat confdefs.h >>conftest.$ac_ext
34631 cat >>conftest.$ac_ext <<_ACEOF
34632 /* end confdefs.h. */
34633 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34634 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34635 #define $ac_func innocuous_$ac_func
34637 /* System header to define __stub macros and hopefully few prototypes,
34638 which can conflict with char $ac_func (); below.
34639 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34640 <limits.h> exists even on freestanding compilers. */
34642 #ifdef __STDC__
34643 # include <limits.h>
34644 #else
34645 # include <assert.h>
34646 #endif
34648 #undef $ac_func
34650 /* Override any gcc2 internal prototype to avoid an error. */
34651 #ifdef __cplusplus
34652 extern "C"
34654 #endif
34655 /* We use char because int might match the return type of a gcc2
34656 builtin and then its argument prototype would still apply. */
34657 char $ac_func ();
34658 /* The GNU C library defines this for functions which it implements
34659 to always fail with ENOSYS. Some functions are actually named
34660 something starting with __ and the normal name is an alias. */
34661 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34662 choke me
34663 #else
34664 char (*f) () = $ac_func;
34665 #endif
34666 #ifdef __cplusplus
34668 #endif
34671 main ()
34673 return f != $ac_func;
34675 return 0;
34677 _ACEOF
34678 rm -f conftest.$ac_objext conftest$ac_exeext
34679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34680 (eval $ac_link) 2>conftest.er1
34681 ac_status=$?
34682 grep -v '^ *+' conftest.er1 >conftest.err
34683 rm -f conftest.er1
34684 cat conftest.err >&5
34685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34686 (exit $ac_status); } &&
34687 { ac_try='test -z "$ac_c_werror_flag"
34688 || test ! -s conftest.err'
34689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34690 (eval $ac_try) 2>&5
34691 ac_status=$?
34692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34693 (exit $ac_status); }; } &&
34694 { ac_try='test -s conftest$ac_exeext'
34695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34696 (eval $ac_try) 2>&5
34697 ac_status=$?
34698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34699 (exit $ac_status); }; }; then
34700 eval "$as_ac_var=yes"
34701 else
34702 echo "$as_me: failed program was:" >&5
34703 sed 's/^/| /' conftest.$ac_ext >&5
34705 eval "$as_ac_var=no"
34707 rm -f conftest.err conftest.$ac_objext \
34708 conftest$ac_exeext conftest.$ac_ext
34710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34711 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34712 if test `eval echo '${'$as_ac_var'}'` = yes; then
34713 cat >>confdefs.h <<_ACEOF
34714 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34715 _ACEOF
34718 done
34720 else
34722 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
34723 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
34724 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
34725 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
34726 echo $ECHO_N "(cached) $ECHO_C" >&6
34727 else
34731 ac_ext=cc
34732 ac_cpp='$CXXCPP $CPPFLAGS'
34733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34737 cat >conftest.$ac_ext <<_ACEOF
34738 /* confdefs.h. */
34739 _ACEOF
34740 cat confdefs.h >>conftest.$ac_ext
34741 cat >>conftest.$ac_ext <<_ACEOF
34742 /* end confdefs.h. */
34743 #include <math.h>
34745 main ()
34747 _sincosl(0, 0, 0);
34749 return 0;
34751 _ACEOF
34752 rm -f conftest.$ac_objext
34753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34754 (eval $ac_compile) 2>conftest.er1
34755 ac_status=$?
34756 grep -v '^ *+' conftest.er1 >conftest.err
34757 rm -f conftest.er1
34758 cat conftest.err >&5
34759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34760 (exit $ac_status); } &&
34761 { ac_try='test -z "$ac_cxx_werror_flag"
34762 || test ! -s conftest.err'
34763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34764 (eval $ac_try) 2>&5
34765 ac_status=$?
34766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34767 (exit $ac_status); }; } &&
34768 { ac_try='test -s conftest.$ac_objext'
34769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34770 (eval $ac_try) 2>&5
34771 ac_status=$?
34772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34773 (exit $ac_status); }; }; then
34774 glibcxx_cv_func__sincosl_use=yes
34775 else
34776 echo "$as_me: failed program was:" >&5
34777 sed 's/^/| /' conftest.$ac_ext >&5
34779 glibcxx_cv_func__sincosl_use=no
34781 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34782 ac_ext=c
34783 ac_cpp='$CPP $CPPFLAGS'
34784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34792 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
34793 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
34795 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
34797 for ac_func in _sincosl
34799 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34800 echo "$as_me:$LINENO: checking for $ac_func" >&5
34801 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34802 if eval "test \"\${$as_ac_var+set}\" = set"; then
34803 echo $ECHO_N "(cached) $ECHO_C" >&6
34804 else
34805 if test x$gcc_no_link = xyes; then
34806 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34807 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34808 { (exit 1); exit 1; }; }
34810 cat >conftest.$ac_ext <<_ACEOF
34811 /* confdefs.h. */
34812 _ACEOF
34813 cat confdefs.h >>conftest.$ac_ext
34814 cat >>conftest.$ac_ext <<_ACEOF
34815 /* end confdefs.h. */
34816 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34817 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34818 #define $ac_func innocuous_$ac_func
34820 /* System header to define __stub macros and hopefully few prototypes,
34821 which can conflict with char $ac_func (); below.
34822 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34823 <limits.h> exists even on freestanding compilers. */
34825 #ifdef __STDC__
34826 # include <limits.h>
34827 #else
34828 # include <assert.h>
34829 #endif
34831 #undef $ac_func
34833 /* Override any gcc2 internal prototype to avoid an error. */
34834 #ifdef __cplusplus
34835 extern "C"
34837 #endif
34838 /* We use char because int might match the return type of a gcc2
34839 builtin and then its argument prototype would still apply. */
34840 char $ac_func ();
34841 /* The GNU C library defines this for functions which it implements
34842 to always fail with ENOSYS. Some functions are actually named
34843 something starting with __ and the normal name is an alias. */
34844 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34845 choke me
34846 #else
34847 char (*f) () = $ac_func;
34848 #endif
34849 #ifdef __cplusplus
34851 #endif
34854 main ()
34856 return f != $ac_func;
34858 return 0;
34860 _ACEOF
34861 rm -f conftest.$ac_objext conftest$ac_exeext
34862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34863 (eval $ac_link) 2>conftest.er1
34864 ac_status=$?
34865 grep -v '^ *+' conftest.er1 >conftest.err
34866 rm -f conftest.er1
34867 cat conftest.err >&5
34868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34869 (exit $ac_status); } &&
34870 { ac_try='test -z "$ac_c_werror_flag"
34871 || test ! -s conftest.err'
34872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34873 (eval $ac_try) 2>&5
34874 ac_status=$?
34875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34876 (exit $ac_status); }; } &&
34877 { ac_try='test -s conftest$ac_exeext'
34878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34879 (eval $ac_try) 2>&5
34880 ac_status=$?
34881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34882 (exit $ac_status); }; }; then
34883 eval "$as_ac_var=yes"
34884 else
34885 echo "$as_me: failed program was:" >&5
34886 sed 's/^/| /' conftest.$ac_ext >&5
34888 eval "$as_ac_var=no"
34890 rm -f conftest.err conftest.$ac_objext \
34891 conftest$ac_exeext conftest.$ac_ext
34893 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34894 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34895 if test `eval echo '${'$as_ac_var'}'` = yes; then
34896 cat >>confdefs.h <<_ACEOF
34897 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34898 _ACEOF
34901 done
34911 echo "$as_me:$LINENO: checking for finitel declaration" >&5
34912 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
34913 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
34914 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
34915 echo $ECHO_N "(cached) $ECHO_C" >&6
34916 else
34920 ac_ext=cc
34921 ac_cpp='$CXXCPP $CPPFLAGS'
34922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34926 cat >conftest.$ac_ext <<_ACEOF
34927 /* confdefs.h. */
34928 _ACEOF
34929 cat confdefs.h >>conftest.$ac_ext
34930 cat >>conftest.$ac_ext <<_ACEOF
34931 /* end confdefs.h. */
34932 #include <math.h>
34933 #ifdef HAVE_IEEEFP_H
34934 #include <ieeefp.h>
34935 #endif
34938 main ()
34940 finitel(0);
34942 return 0;
34944 _ACEOF
34945 rm -f conftest.$ac_objext
34946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34947 (eval $ac_compile) 2>conftest.er1
34948 ac_status=$?
34949 grep -v '^ *+' conftest.er1 >conftest.err
34950 rm -f conftest.er1
34951 cat conftest.err >&5
34952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34953 (exit $ac_status); } &&
34954 { ac_try='test -z "$ac_cxx_werror_flag"
34955 || test ! -s conftest.err'
34956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34957 (eval $ac_try) 2>&5
34958 ac_status=$?
34959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34960 (exit $ac_status); }; } &&
34961 { ac_try='test -s conftest.$ac_objext'
34962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34963 (eval $ac_try) 2>&5
34964 ac_status=$?
34965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34966 (exit $ac_status); }; }; then
34967 glibcxx_cv_func_finitel_use=yes
34968 else
34969 echo "$as_me: failed program was:" >&5
34970 sed 's/^/| /' conftest.$ac_ext >&5
34972 glibcxx_cv_func_finitel_use=no
34974 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34975 ac_ext=c
34976 ac_cpp='$CPP $CPPFLAGS'
34977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34985 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
34986 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
34988 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
34990 for ac_func in finitel
34992 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34993 echo "$as_me:$LINENO: checking for $ac_func" >&5
34994 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34995 if eval "test \"\${$as_ac_var+set}\" = set"; then
34996 echo $ECHO_N "(cached) $ECHO_C" >&6
34997 else
34998 if test x$gcc_no_link = xyes; then
34999 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35000 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35001 { (exit 1); exit 1; }; }
35003 cat >conftest.$ac_ext <<_ACEOF
35004 /* confdefs.h. */
35005 _ACEOF
35006 cat confdefs.h >>conftest.$ac_ext
35007 cat >>conftest.$ac_ext <<_ACEOF
35008 /* end confdefs.h. */
35009 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35010 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35011 #define $ac_func innocuous_$ac_func
35013 /* System header to define __stub macros and hopefully few prototypes,
35014 which can conflict with char $ac_func (); below.
35015 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35016 <limits.h> exists even on freestanding compilers. */
35018 #ifdef __STDC__
35019 # include <limits.h>
35020 #else
35021 # include <assert.h>
35022 #endif
35024 #undef $ac_func
35026 /* Override any gcc2 internal prototype to avoid an error. */
35027 #ifdef __cplusplus
35028 extern "C"
35030 #endif
35031 /* We use char because int might match the return type of a gcc2
35032 builtin and then its argument prototype would still apply. */
35033 char $ac_func ();
35034 /* The GNU C library defines this for functions which it implements
35035 to always fail with ENOSYS. Some functions are actually named
35036 something starting with __ and the normal name is an alias. */
35037 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35038 choke me
35039 #else
35040 char (*f) () = $ac_func;
35041 #endif
35042 #ifdef __cplusplus
35044 #endif
35047 main ()
35049 return f != $ac_func;
35051 return 0;
35053 _ACEOF
35054 rm -f conftest.$ac_objext conftest$ac_exeext
35055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35056 (eval $ac_link) 2>conftest.er1
35057 ac_status=$?
35058 grep -v '^ *+' conftest.er1 >conftest.err
35059 rm -f conftest.er1
35060 cat conftest.err >&5
35061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35062 (exit $ac_status); } &&
35063 { ac_try='test -z "$ac_c_werror_flag"
35064 || test ! -s conftest.err'
35065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35066 (eval $ac_try) 2>&5
35067 ac_status=$?
35068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35069 (exit $ac_status); }; } &&
35070 { ac_try='test -s conftest$ac_exeext'
35071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35072 (eval $ac_try) 2>&5
35073 ac_status=$?
35074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35075 (exit $ac_status); }; }; then
35076 eval "$as_ac_var=yes"
35077 else
35078 echo "$as_me: failed program was:" >&5
35079 sed 's/^/| /' conftest.$ac_ext >&5
35081 eval "$as_ac_var=no"
35083 rm -f conftest.err conftest.$ac_objext \
35084 conftest$ac_exeext conftest.$ac_ext
35086 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35087 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35088 if test `eval echo '${'$as_ac_var'}'` = yes; then
35089 cat >>confdefs.h <<_ACEOF
35090 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35091 _ACEOF
35094 done
35096 else
35098 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
35099 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
35100 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
35101 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
35102 echo $ECHO_N "(cached) $ECHO_C" >&6
35103 else
35107 ac_ext=cc
35108 ac_cpp='$CXXCPP $CPPFLAGS'
35109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35113 cat >conftest.$ac_ext <<_ACEOF
35114 /* confdefs.h. */
35115 _ACEOF
35116 cat confdefs.h >>conftest.$ac_ext
35117 cat >>conftest.$ac_ext <<_ACEOF
35118 /* end confdefs.h. */
35119 #include <math.h>
35120 #ifdef HAVE_IEEEFP_H
35121 #include <ieeefp.h>
35122 #endif
35125 main ()
35127 _finitel(0);
35129 return 0;
35131 _ACEOF
35132 rm -f conftest.$ac_objext
35133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35134 (eval $ac_compile) 2>conftest.er1
35135 ac_status=$?
35136 grep -v '^ *+' conftest.er1 >conftest.err
35137 rm -f conftest.er1
35138 cat conftest.err >&5
35139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35140 (exit $ac_status); } &&
35141 { ac_try='test -z "$ac_cxx_werror_flag"
35142 || test ! -s conftest.err'
35143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35144 (eval $ac_try) 2>&5
35145 ac_status=$?
35146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35147 (exit $ac_status); }; } &&
35148 { ac_try='test -s conftest.$ac_objext'
35149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35150 (eval $ac_try) 2>&5
35151 ac_status=$?
35152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35153 (exit $ac_status); }; }; then
35154 glibcxx_cv_func__finitel_use=yes
35155 else
35156 echo "$as_me: failed program was:" >&5
35157 sed 's/^/| /' conftest.$ac_ext >&5
35159 glibcxx_cv_func__finitel_use=no
35161 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35162 ac_ext=c
35163 ac_cpp='$CPP $CPPFLAGS'
35164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35172 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
35173 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
35175 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
35177 for ac_func in _finitel
35179 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35180 echo "$as_me:$LINENO: checking for $ac_func" >&5
35181 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35182 if eval "test \"\${$as_ac_var+set}\" = set"; then
35183 echo $ECHO_N "(cached) $ECHO_C" >&6
35184 else
35185 if test x$gcc_no_link = xyes; then
35186 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35187 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35188 { (exit 1); exit 1; }; }
35190 cat >conftest.$ac_ext <<_ACEOF
35191 /* confdefs.h. */
35192 _ACEOF
35193 cat confdefs.h >>conftest.$ac_ext
35194 cat >>conftest.$ac_ext <<_ACEOF
35195 /* end confdefs.h. */
35196 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35197 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35198 #define $ac_func innocuous_$ac_func
35200 /* System header to define __stub macros and hopefully few prototypes,
35201 which can conflict with char $ac_func (); below.
35202 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35203 <limits.h> exists even on freestanding compilers. */
35205 #ifdef __STDC__
35206 # include <limits.h>
35207 #else
35208 # include <assert.h>
35209 #endif
35211 #undef $ac_func
35213 /* Override any gcc2 internal prototype to avoid an error. */
35214 #ifdef __cplusplus
35215 extern "C"
35217 #endif
35218 /* We use char because int might match the return type of a gcc2
35219 builtin and then its argument prototype would still apply. */
35220 char $ac_func ();
35221 /* The GNU C library defines this for functions which it implements
35222 to always fail with ENOSYS. Some functions are actually named
35223 something starting with __ and the normal name is an alias. */
35224 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35225 choke me
35226 #else
35227 char (*f) () = $ac_func;
35228 #endif
35229 #ifdef __cplusplus
35231 #endif
35234 main ()
35236 return f != $ac_func;
35238 return 0;
35240 _ACEOF
35241 rm -f conftest.$ac_objext conftest$ac_exeext
35242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35243 (eval $ac_link) 2>conftest.er1
35244 ac_status=$?
35245 grep -v '^ *+' conftest.er1 >conftest.err
35246 rm -f conftest.er1
35247 cat conftest.err >&5
35248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35249 (exit $ac_status); } &&
35250 { ac_try='test -z "$ac_c_werror_flag"
35251 || test ! -s conftest.err'
35252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35253 (eval $ac_try) 2>&5
35254 ac_status=$?
35255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35256 (exit $ac_status); }; } &&
35257 { ac_try='test -s conftest$ac_exeext'
35258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35259 (eval $ac_try) 2>&5
35260 ac_status=$?
35261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35262 (exit $ac_status); }; }; then
35263 eval "$as_ac_var=yes"
35264 else
35265 echo "$as_me: failed program was:" >&5
35266 sed 's/^/| /' conftest.$ac_ext >&5
35268 eval "$as_ac_var=no"
35270 rm -f conftest.err conftest.$ac_objext \
35271 conftest$ac_exeext conftest.$ac_ext
35273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35274 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35275 if test `eval echo '${'$as_ac_var'}'` = yes; then
35276 cat >>confdefs.h <<_ACEOF
35277 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35278 _ACEOF
35281 done
35290 LIBS="$ac_save_LIBS"
35291 CXXFLAGS="$ac_save_CXXFLAGS"
35295 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
35296 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
35297 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
35298 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
35299 echo $ECHO_N "(cached) $ECHO_C" >&6
35300 else
35304 ac_ext=cc
35305 ac_cpp='$CXXCPP $CPPFLAGS'
35306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35310 cat >conftest.$ac_ext <<_ACEOF
35311 /* confdefs.h. */
35312 _ACEOF
35313 cat confdefs.h >>conftest.$ac_ext
35314 cat >>conftest.$ac_ext <<_ACEOF
35315 /* end confdefs.h. */
35316 #include <math.h>
35318 main ()
35320 __builtin_abs(0);
35322 return 0;
35324 _ACEOF
35325 rm -f conftest.$ac_objext
35326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35327 (eval $ac_compile) 2>conftest.er1
35328 ac_status=$?
35329 grep -v '^ *+' conftest.er1 >conftest.err
35330 rm -f conftest.er1
35331 cat conftest.err >&5
35332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35333 (exit $ac_status); } &&
35334 { ac_try='test -z "$ac_cxx_werror_flag"
35335 || test ! -s conftest.err'
35336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35337 (eval $ac_try) 2>&5
35338 ac_status=$?
35339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35340 (exit $ac_status); }; } &&
35341 { ac_try='test -s conftest.$ac_objext'
35342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35343 (eval $ac_try) 2>&5
35344 ac_status=$?
35345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35346 (exit $ac_status); }; }; then
35347 glibcxx_cv_func___builtin_abs_use=yes
35348 else
35349 echo "$as_me: failed program was:" >&5
35350 sed 's/^/| /' conftest.$ac_ext >&5
35352 glibcxx_cv_func___builtin_abs_use=no
35354 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35355 ac_ext=c
35356 ac_cpp='$CPP $CPPFLAGS'
35357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35365 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
35366 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
35367 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
35368 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
35369 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
35370 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
35371 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
35372 echo $ECHO_N "(cached) $ECHO_C" >&6
35373 else
35375 if test x$gcc_no_link = xyes; then
35376 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35377 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35378 { (exit 1); exit 1; }; }
35380 cat >conftest.$ac_ext <<_ACEOF
35381 /* confdefs.h. */
35382 _ACEOF
35383 cat confdefs.h >>conftest.$ac_ext
35384 cat >>conftest.$ac_ext <<_ACEOF
35385 /* end confdefs.h. */
35386 #include <math.h>
35388 main ()
35390 __builtin_abs(0);
35392 return 0;
35394 _ACEOF
35395 rm -f conftest.$ac_objext conftest$ac_exeext
35396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35397 (eval $ac_link) 2>conftest.er1
35398 ac_status=$?
35399 grep -v '^ *+' conftest.er1 >conftest.err
35400 rm -f conftest.er1
35401 cat conftest.err >&5
35402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35403 (exit $ac_status); } &&
35404 { ac_try='test -z "$ac_c_werror_flag"
35405 || test ! -s conftest.err'
35406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35407 (eval $ac_try) 2>&5
35408 ac_status=$?
35409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35410 (exit $ac_status); }; } &&
35411 { ac_try='test -s conftest$ac_exeext'
35412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35413 (eval $ac_try) 2>&5
35414 ac_status=$?
35415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35416 (exit $ac_status); }; }; then
35417 glibcxx_cv_func___builtin_abs_link=yes
35418 else
35419 echo "$as_me: failed program was:" >&5
35420 sed 's/^/| /' conftest.$ac_ext >&5
35422 glibcxx_cv_func___builtin_abs_link=no
35424 rm -f conftest.err conftest.$ac_objext \
35425 conftest$ac_exeext conftest.$ac_ext
35430 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
35431 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
35433 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
35435 cat >>confdefs.h <<\_ACEOF
35436 #define HAVE___BUILTIN_ABS 1
35437 _ACEOF
35444 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
35445 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
35446 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
35447 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
35448 echo $ECHO_N "(cached) $ECHO_C" >&6
35449 else
35453 ac_ext=cc
35454 ac_cpp='$CXXCPP $CPPFLAGS'
35455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35459 cat >conftest.$ac_ext <<_ACEOF
35460 /* confdefs.h. */
35461 _ACEOF
35462 cat confdefs.h >>conftest.$ac_ext
35463 cat >>conftest.$ac_ext <<_ACEOF
35464 /* end confdefs.h. */
35465 #include <math.h>
35467 main ()
35469 __builtin_fabsf(0);
35471 return 0;
35473 _ACEOF
35474 rm -f conftest.$ac_objext
35475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35476 (eval $ac_compile) 2>conftest.er1
35477 ac_status=$?
35478 grep -v '^ *+' conftest.er1 >conftest.err
35479 rm -f conftest.er1
35480 cat conftest.err >&5
35481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35482 (exit $ac_status); } &&
35483 { ac_try='test -z "$ac_cxx_werror_flag"
35484 || test ! -s conftest.err'
35485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35486 (eval $ac_try) 2>&5
35487 ac_status=$?
35488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35489 (exit $ac_status); }; } &&
35490 { ac_try='test -s conftest.$ac_objext'
35491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35492 (eval $ac_try) 2>&5
35493 ac_status=$?
35494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35495 (exit $ac_status); }; }; then
35496 glibcxx_cv_func___builtin_fabsf_use=yes
35497 else
35498 echo "$as_me: failed program was:" >&5
35499 sed 's/^/| /' conftest.$ac_ext >&5
35501 glibcxx_cv_func___builtin_fabsf_use=no
35503 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35504 ac_ext=c
35505 ac_cpp='$CPP $CPPFLAGS'
35506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35514 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
35515 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
35516 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
35517 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
35518 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
35519 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
35520 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
35521 echo $ECHO_N "(cached) $ECHO_C" >&6
35522 else
35524 if test x$gcc_no_link = xyes; then
35525 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35526 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35527 { (exit 1); exit 1; }; }
35529 cat >conftest.$ac_ext <<_ACEOF
35530 /* confdefs.h. */
35531 _ACEOF
35532 cat confdefs.h >>conftest.$ac_ext
35533 cat >>conftest.$ac_ext <<_ACEOF
35534 /* end confdefs.h. */
35535 #include <math.h>
35537 main ()
35539 __builtin_fabsf(0);
35541 return 0;
35543 _ACEOF
35544 rm -f conftest.$ac_objext conftest$ac_exeext
35545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35546 (eval $ac_link) 2>conftest.er1
35547 ac_status=$?
35548 grep -v '^ *+' conftest.er1 >conftest.err
35549 rm -f conftest.er1
35550 cat conftest.err >&5
35551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35552 (exit $ac_status); } &&
35553 { ac_try='test -z "$ac_c_werror_flag"
35554 || test ! -s conftest.err'
35555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35556 (eval $ac_try) 2>&5
35557 ac_status=$?
35558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35559 (exit $ac_status); }; } &&
35560 { ac_try='test -s conftest$ac_exeext'
35561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35562 (eval $ac_try) 2>&5
35563 ac_status=$?
35564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35565 (exit $ac_status); }; }; then
35566 glibcxx_cv_func___builtin_fabsf_link=yes
35567 else
35568 echo "$as_me: failed program was:" >&5
35569 sed 's/^/| /' conftest.$ac_ext >&5
35571 glibcxx_cv_func___builtin_fabsf_link=no
35573 rm -f conftest.err conftest.$ac_objext \
35574 conftest$ac_exeext conftest.$ac_ext
35579 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
35580 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
35582 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
35584 cat >>confdefs.h <<\_ACEOF
35585 #define HAVE___BUILTIN_FABSF 1
35586 _ACEOF
35593 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
35594 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
35595 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
35596 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
35597 echo $ECHO_N "(cached) $ECHO_C" >&6
35598 else
35602 ac_ext=cc
35603 ac_cpp='$CXXCPP $CPPFLAGS'
35604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35608 cat >conftest.$ac_ext <<_ACEOF
35609 /* confdefs.h. */
35610 _ACEOF
35611 cat confdefs.h >>conftest.$ac_ext
35612 cat >>conftest.$ac_ext <<_ACEOF
35613 /* end confdefs.h. */
35614 #include <math.h>
35616 main ()
35618 __builtin_fabs(0);
35620 return 0;
35622 _ACEOF
35623 rm -f conftest.$ac_objext
35624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35625 (eval $ac_compile) 2>conftest.er1
35626 ac_status=$?
35627 grep -v '^ *+' conftest.er1 >conftest.err
35628 rm -f conftest.er1
35629 cat conftest.err >&5
35630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35631 (exit $ac_status); } &&
35632 { ac_try='test -z "$ac_cxx_werror_flag"
35633 || test ! -s conftest.err'
35634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35635 (eval $ac_try) 2>&5
35636 ac_status=$?
35637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35638 (exit $ac_status); }; } &&
35639 { ac_try='test -s conftest.$ac_objext'
35640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35641 (eval $ac_try) 2>&5
35642 ac_status=$?
35643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35644 (exit $ac_status); }; }; then
35645 glibcxx_cv_func___builtin_fabs_use=yes
35646 else
35647 echo "$as_me: failed program was:" >&5
35648 sed 's/^/| /' conftest.$ac_ext >&5
35650 glibcxx_cv_func___builtin_fabs_use=no
35652 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35653 ac_ext=c
35654 ac_cpp='$CPP $CPPFLAGS'
35655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35663 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
35664 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
35665 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
35666 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
35667 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
35668 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
35669 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
35670 echo $ECHO_N "(cached) $ECHO_C" >&6
35671 else
35673 if test x$gcc_no_link = xyes; then
35674 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35675 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35676 { (exit 1); exit 1; }; }
35678 cat >conftest.$ac_ext <<_ACEOF
35679 /* confdefs.h. */
35680 _ACEOF
35681 cat confdefs.h >>conftest.$ac_ext
35682 cat >>conftest.$ac_ext <<_ACEOF
35683 /* end confdefs.h. */
35684 #include <math.h>
35686 main ()
35688 __builtin_fabs(0);
35690 return 0;
35692 _ACEOF
35693 rm -f conftest.$ac_objext conftest$ac_exeext
35694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35695 (eval $ac_link) 2>conftest.er1
35696 ac_status=$?
35697 grep -v '^ *+' conftest.er1 >conftest.err
35698 rm -f conftest.er1
35699 cat conftest.err >&5
35700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35701 (exit $ac_status); } &&
35702 { ac_try='test -z "$ac_c_werror_flag"
35703 || test ! -s conftest.err'
35704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35705 (eval $ac_try) 2>&5
35706 ac_status=$?
35707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35708 (exit $ac_status); }; } &&
35709 { ac_try='test -s conftest$ac_exeext'
35710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35711 (eval $ac_try) 2>&5
35712 ac_status=$?
35713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35714 (exit $ac_status); }; }; then
35715 glibcxx_cv_func___builtin_fabs_link=yes
35716 else
35717 echo "$as_me: failed program was:" >&5
35718 sed 's/^/| /' conftest.$ac_ext >&5
35720 glibcxx_cv_func___builtin_fabs_link=no
35722 rm -f conftest.err conftest.$ac_objext \
35723 conftest$ac_exeext conftest.$ac_ext
35728 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
35729 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
35731 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
35733 cat >>confdefs.h <<\_ACEOF
35734 #define HAVE___BUILTIN_FABS 1
35735 _ACEOF
35742 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
35743 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
35744 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
35745 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
35746 echo $ECHO_N "(cached) $ECHO_C" >&6
35747 else
35751 ac_ext=cc
35752 ac_cpp='$CXXCPP $CPPFLAGS'
35753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35757 cat >conftest.$ac_ext <<_ACEOF
35758 /* confdefs.h. */
35759 _ACEOF
35760 cat confdefs.h >>conftest.$ac_ext
35761 cat >>conftest.$ac_ext <<_ACEOF
35762 /* end confdefs.h. */
35763 #include <math.h>
35765 main ()
35767 __builtin_fabsl(0);
35769 return 0;
35771 _ACEOF
35772 rm -f conftest.$ac_objext
35773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35774 (eval $ac_compile) 2>conftest.er1
35775 ac_status=$?
35776 grep -v '^ *+' conftest.er1 >conftest.err
35777 rm -f conftest.er1
35778 cat conftest.err >&5
35779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35780 (exit $ac_status); } &&
35781 { ac_try='test -z "$ac_cxx_werror_flag"
35782 || test ! -s conftest.err'
35783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35784 (eval $ac_try) 2>&5
35785 ac_status=$?
35786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35787 (exit $ac_status); }; } &&
35788 { ac_try='test -s conftest.$ac_objext'
35789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35790 (eval $ac_try) 2>&5
35791 ac_status=$?
35792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35793 (exit $ac_status); }; }; then
35794 glibcxx_cv_func___builtin_fabsl_use=yes
35795 else
35796 echo "$as_me: failed program was:" >&5
35797 sed 's/^/| /' conftest.$ac_ext >&5
35799 glibcxx_cv_func___builtin_fabsl_use=no
35801 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35802 ac_ext=c
35803 ac_cpp='$CPP $CPPFLAGS'
35804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35812 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
35813 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
35814 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
35815 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
35816 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
35817 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
35818 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
35819 echo $ECHO_N "(cached) $ECHO_C" >&6
35820 else
35822 if test x$gcc_no_link = xyes; then
35823 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35824 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35825 { (exit 1); exit 1; }; }
35827 cat >conftest.$ac_ext <<_ACEOF
35828 /* confdefs.h. */
35829 _ACEOF
35830 cat confdefs.h >>conftest.$ac_ext
35831 cat >>conftest.$ac_ext <<_ACEOF
35832 /* end confdefs.h. */
35833 #include <math.h>
35835 main ()
35837 __builtin_fabsl(0);
35839 return 0;
35841 _ACEOF
35842 rm -f conftest.$ac_objext conftest$ac_exeext
35843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35844 (eval $ac_link) 2>conftest.er1
35845 ac_status=$?
35846 grep -v '^ *+' conftest.er1 >conftest.err
35847 rm -f conftest.er1
35848 cat conftest.err >&5
35849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35850 (exit $ac_status); } &&
35851 { ac_try='test -z "$ac_c_werror_flag"
35852 || test ! -s conftest.err'
35853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35854 (eval $ac_try) 2>&5
35855 ac_status=$?
35856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35857 (exit $ac_status); }; } &&
35858 { ac_try='test -s conftest$ac_exeext'
35859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35860 (eval $ac_try) 2>&5
35861 ac_status=$?
35862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35863 (exit $ac_status); }; }; then
35864 glibcxx_cv_func___builtin_fabsl_link=yes
35865 else
35866 echo "$as_me: failed program was:" >&5
35867 sed 's/^/| /' conftest.$ac_ext >&5
35869 glibcxx_cv_func___builtin_fabsl_link=no
35871 rm -f conftest.err conftest.$ac_objext \
35872 conftest$ac_exeext conftest.$ac_ext
35877 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
35878 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
35880 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
35882 cat >>confdefs.h <<\_ACEOF
35883 #define HAVE___BUILTIN_FABSL 1
35884 _ACEOF
35891 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
35892 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
35893 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
35894 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
35895 echo $ECHO_N "(cached) $ECHO_C" >&6
35896 else
35900 ac_ext=cc
35901 ac_cpp='$CXXCPP $CPPFLAGS'
35902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35906 cat >conftest.$ac_ext <<_ACEOF
35907 /* confdefs.h. */
35908 _ACEOF
35909 cat confdefs.h >>conftest.$ac_ext
35910 cat >>conftest.$ac_ext <<_ACEOF
35911 /* end confdefs.h. */
35912 #include <math.h>
35914 main ()
35916 __builtin_labs(0);
35918 return 0;
35920 _ACEOF
35921 rm -f conftest.$ac_objext
35922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35923 (eval $ac_compile) 2>conftest.er1
35924 ac_status=$?
35925 grep -v '^ *+' conftest.er1 >conftest.err
35926 rm -f conftest.er1
35927 cat conftest.err >&5
35928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35929 (exit $ac_status); } &&
35930 { ac_try='test -z "$ac_cxx_werror_flag"
35931 || test ! -s conftest.err'
35932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35933 (eval $ac_try) 2>&5
35934 ac_status=$?
35935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35936 (exit $ac_status); }; } &&
35937 { ac_try='test -s conftest.$ac_objext'
35938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35939 (eval $ac_try) 2>&5
35940 ac_status=$?
35941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35942 (exit $ac_status); }; }; then
35943 glibcxx_cv_func___builtin_labs_use=yes
35944 else
35945 echo "$as_me: failed program was:" >&5
35946 sed 's/^/| /' conftest.$ac_ext >&5
35948 glibcxx_cv_func___builtin_labs_use=no
35950 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35951 ac_ext=c
35952 ac_cpp='$CPP $CPPFLAGS'
35953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35961 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
35962 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
35963 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
35964 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
35965 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
35966 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
35967 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
35968 echo $ECHO_N "(cached) $ECHO_C" >&6
35969 else
35971 if test x$gcc_no_link = xyes; then
35972 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35973 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35974 { (exit 1); exit 1; }; }
35976 cat >conftest.$ac_ext <<_ACEOF
35977 /* confdefs.h. */
35978 _ACEOF
35979 cat confdefs.h >>conftest.$ac_ext
35980 cat >>conftest.$ac_ext <<_ACEOF
35981 /* end confdefs.h. */
35982 #include <math.h>
35984 main ()
35986 __builtin_labs(0);
35988 return 0;
35990 _ACEOF
35991 rm -f conftest.$ac_objext conftest$ac_exeext
35992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35993 (eval $ac_link) 2>conftest.er1
35994 ac_status=$?
35995 grep -v '^ *+' conftest.er1 >conftest.err
35996 rm -f conftest.er1
35997 cat conftest.err >&5
35998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35999 (exit $ac_status); } &&
36000 { ac_try='test -z "$ac_c_werror_flag"
36001 || test ! -s conftest.err'
36002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36003 (eval $ac_try) 2>&5
36004 ac_status=$?
36005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36006 (exit $ac_status); }; } &&
36007 { ac_try='test -s conftest$ac_exeext'
36008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36009 (eval $ac_try) 2>&5
36010 ac_status=$?
36011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36012 (exit $ac_status); }; }; then
36013 glibcxx_cv_func___builtin_labs_link=yes
36014 else
36015 echo "$as_me: failed program was:" >&5
36016 sed 's/^/| /' conftest.$ac_ext >&5
36018 glibcxx_cv_func___builtin_labs_link=no
36020 rm -f conftest.err conftest.$ac_objext \
36021 conftest$ac_exeext conftest.$ac_ext
36026 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
36027 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
36029 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
36031 cat >>confdefs.h <<\_ACEOF
36032 #define HAVE___BUILTIN_LABS 1
36033 _ACEOF
36041 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
36042 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
36043 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
36044 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
36045 echo $ECHO_N "(cached) $ECHO_C" >&6
36046 else
36050 ac_ext=cc
36051 ac_cpp='$CXXCPP $CPPFLAGS'
36052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36056 cat >conftest.$ac_ext <<_ACEOF
36057 /* confdefs.h. */
36058 _ACEOF
36059 cat confdefs.h >>conftest.$ac_ext
36060 cat >>conftest.$ac_ext <<_ACEOF
36061 /* end confdefs.h. */
36062 #include <math.h>
36064 main ()
36066 __builtin_sqrtf(0);
36068 return 0;
36070 _ACEOF
36071 rm -f conftest.$ac_objext
36072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36073 (eval $ac_compile) 2>conftest.er1
36074 ac_status=$?
36075 grep -v '^ *+' conftest.er1 >conftest.err
36076 rm -f conftest.er1
36077 cat conftest.err >&5
36078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36079 (exit $ac_status); } &&
36080 { ac_try='test -z "$ac_cxx_werror_flag"
36081 || test ! -s conftest.err'
36082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36083 (eval $ac_try) 2>&5
36084 ac_status=$?
36085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36086 (exit $ac_status); }; } &&
36087 { ac_try='test -s conftest.$ac_objext'
36088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36089 (eval $ac_try) 2>&5
36090 ac_status=$?
36091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36092 (exit $ac_status); }; }; then
36093 glibcxx_cv_func___builtin_sqrtf_use=yes
36094 else
36095 echo "$as_me: failed program was:" >&5
36096 sed 's/^/| /' conftest.$ac_ext >&5
36098 glibcxx_cv_func___builtin_sqrtf_use=no
36100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36101 ac_ext=c
36102 ac_cpp='$CPP $CPPFLAGS'
36103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36111 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
36112 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
36113 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
36114 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
36115 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
36116 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
36117 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
36118 echo $ECHO_N "(cached) $ECHO_C" >&6
36119 else
36121 if test x$gcc_no_link = xyes; then
36122 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36123 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36124 { (exit 1); exit 1; }; }
36126 cat >conftest.$ac_ext <<_ACEOF
36127 /* confdefs.h. */
36128 _ACEOF
36129 cat confdefs.h >>conftest.$ac_ext
36130 cat >>conftest.$ac_ext <<_ACEOF
36131 /* end confdefs.h. */
36132 #include <math.h>
36134 main ()
36136 __builtin_sqrtf(0);
36138 return 0;
36140 _ACEOF
36141 rm -f conftest.$ac_objext conftest$ac_exeext
36142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36143 (eval $ac_link) 2>conftest.er1
36144 ac_status=$?
36145 grep -v '^ *+' conftest.er1 >conftest.err
36146 rm -f conftest.er1
36147 cat conftest.err >&5
36148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36149 (exit $ac_status); } &&
36150 { ac_try='test -z "$ac_c_werror_flag"
36151 || test ! -s conftest.err'
36152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36153 (eval $ac_try) 2>&5
36154 ac_status=$?
36155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36156 (exit $ac_status); }; } &&
36157 { ac_try='test -s conftest$ac_exeext'
36158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36159 (eval $ac_try) 2>&5
36160 ac_status=$?
36161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36162 (exit $ac_status); }; }; then
36163 glibcxx_cv_func___builtin_sqrtf_link=yes
36164 else
36165 echo "$as_me: failed program was:" >&5
36166 sed 's/^/| /' conftest.$ac_ext >&5
36168 glibcxx_cv_func___builtin_sqrtf_link=no
36170 rm -f conftest.err conftest.$ac_objext \
36171 conftest$ac_exeext conftest.$ac_ext
36176 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
36177 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
36179 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
36181 cat >>confdefs.h <<\_ACEOF
36182 #define HAVE___BUILTIN_SQRTF 1
36183 _ACEOF
36190 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
36191 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
36192 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
36193 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
36194 echo $ECHO_N "(cached) $ECHO_C" >&6
36195 else
36199 ac_ext=cc
36200 ac_cpp='$CXXCPP $CPPFLAGS'
36201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36205 cat >conftest.$ac_ext <<_ACEOF
36206 /* confdefs.h. */
36207 _ACEOF
36208 cat confdefs.h >>conftest.$ac_ext
36209 cat >>conftest.$ac_ext <<_ACEOF
36210 /* end confdefs.h. */
36211 #include <math.h>
36213 main ()
36215 __builtin_sqrt(0);
36217 return 0;
36219 _ACEOF
36220 rm -f conftest.$ac_objext
36221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36222 (eval $ac_compile) 2>conftest.er1
36223 ac_status=$?
36224 grep -v '^ *+' conftest.er1 >conftest.err
36225 rm -f conftest.er1
36226 cat conftest.err >&5
36227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36228 (exit $ac_status); } &&
36229 { ac_try='test -z "$ac_cxx_werror_flag"
36230 || test ! -s conftest.err'
36231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36232 (eval $ac_try) 2>&5
36233 ac_status=$?
36234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36235 (exit $ac_status); }; } &&
36236 { ac_try='test -s conftest.$ac_objext'
36237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36238 (eval $ac_try) 2>&5
36239 ac_status=$?
36240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36241 (exit $ac_status); }; }; then
36242 glibcxx_cv_func___builtin_sqrt_use=yes
36243 else
36244 echo "$as_me: failed program was:" >&5
36245 sed 's/^/| /' conftest.$ac_ext >&5
36247 glibcxx_cv_func___builtin_sqrt_use=no
36249 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36250 ac_ext=c
36251 ac_cpp='$CPP $CPPFLAGS'
36252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36260 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
36261 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
36262 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
36263 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
36264 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
36265 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
36266 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
36267 echo $ECHO_N "(cached) $ECHO_C" >&6
36268 else
36270 if test x$gcc_no_link = xyes; then
36271 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36272 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36273 { (exit 1); exit 1; }; }
36275 cat >conftest.$ac_ext <<_ACEOF
36276 /* confdefs.h. */
36277 _ACEOF
36278 cat confdefs.h >>conftest.$ac_ext
36279 cat >>conftest.$ac_ext <<_ACEOF
36280 /* end confdefs.h. */
36281 #include <math.h>
36283 main ()
36285 __builtin_sqrt(0);
36287 return 0;
36289 _ACEOF
36290 rm -f conftest.$ac_objext conftest$ac_exeext
36291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36292 (eval $ac_link) 2>conftest.er1
36293 ac_status=$?
36294 grep -v '^ *+' conftest.er1 >conftest.err
36295 rm -f conftest.er1
36296 cat conftest.err >&5
36297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36298 (exit $ac_status); } &&
36299 { ac_try='test -z "$ac_c_werror_flag"
36300 || test ! -s conftest.err'
36301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36302 (eval $ac_try) 2>&5
36303 ac_status=$?
36304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36305 (exit $ac_status); }; } &&
36306 { ac_try='test -s conftest$ac_exeext'
36307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36308 (eval $ac_try) 2>&5
36309 ac_status=$?
36310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36311 (exit $ac_status); }; }; then
36312 glibcxx_cv_func___builtin_sqrt_link=yes
36313 else
36314 echo "$as_me: failed program was:" >&5
36315 sed 's/^/| /' conftest.$ac_ext >&5
36317 glibcxx_cv_func___builtin_sqrt_link=no
36319 rm -f conftest.err conftest.$ac_objext \
36320 conftest$ac_exeext conftest.$ac_ext
36325 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
36326 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
36328 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
36330 cat >>confdefs.h <<\_ACEOF
36331 #define HAVE___BUILTIN_SQRT 1
36332 _ACEOF
36339 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
36340 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
36341 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
36342 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
36343 echo $ECHO_N "(cached) $ECHO_C" >&6
36344 else
36348 ac_ext=cc
36349 ac_cpp='$CXXCPP $CPPFLAGS'
36350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36354 cat >conftest.$ac_ext <<_ACEOF
36355 /* confdefs.h. */
36356 _ACEOF
36357 cat confdefs.h >>conftest.$ac_ext
36358 cat >>conftest.$ac_ext <<_ACEOF
36359 /* end confdefs.h. */
36360 #include <math.h>
36362 main ()
36364 __builtin_sqrtl(0);
36366 return 0;
36368 _ACEOF
36369 rm -f conftest.$ac_objext
36370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36371 (eval $ac_compile) 2>conftest.er1
36372 ac_status=$?
36373 grep -v '^ *+' conftest.er1 >conftest.err
36374 rm -f conftest.er1
36375 cat conftest.err >&5
36376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36377 (exit $ac_status); } &&
36378 { ac_try='test -z "$ac_cxx_werror_flag"
36379 || test ! -s conftest.err'
36380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36381 (eval $ac_try) 2>&5
36382 ac_status=$?
36383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36384 (exit $ac_status); }; } &&
36385 { ac_try='test -s conftest.$ac_objext'
36386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36387 (eval $ac_try) 2>&5
36388 ac_status=$?
36389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36390 (exit $ac_status); }; }; then
36391 glibcxx_cv_func___builtin_sqrtl_use=yes
36392 else
36393 echo "$as_me: failed program was:" >&5
36394 sed 's/^/| /' conftest.$ac_ext >&5
36396 glibcxx_cv_func___builtin_sqrtl_use=no
36398 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36399 ac_ext=c
36400 ac_cpp='$CPP $CPPFLAGS'
36401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36409 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
36410 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
36411 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
36412 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
36413 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
36414 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
36415 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
36416 echo $ECHO_N "(cached) $ECHO_C" >&6
36417 else
36419 if test x$gcc_no_link = xyes; then
36420 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36421 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36422 { (exit 1); exit 1; }; }
36424 cat >conftest.$ac_ext <<_ACEOF
36425 /* confdefs.h. */
36426 _ACEOF
36427 cat confdefs.h >>conftest.$ac_ext
36428 cat >>conftest.$ac_ext <<_ACEOF
36429 /* end confdefs.h. */
36430 #include <math.h>
36432 main ()
36434 __builtin_sqrtl(0);
36436 return 0;
36438 _ACEOF
36439 rm -f conftest.$ac_objext conftest$ac_exeext
36440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36441 (eval $ac_link) 2>conftest.er1
36442 ac_status=$?
36443 grep -v '^ *+' conftest.er1 >conftest.err
36444 rm -f conftest.er1
36445 cat conftest.err >&5
36446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36447 (exit $ac_status); } &&
36448 { ac_try='test -z "$ac_c_werror_flag"
36449 || test ! -s conftest.err'
36450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36451 (eval $ac_try) 2>&5
36452 ac_status=$?
36453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36454 (exit $ac_status); }; } &&
36455 { ac_try='test -s conftest$ac_exeext'
36456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36457 (eval $ac_try) 2>&5
36458 ac_status=$?
36459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36460 (exit $ac_status); }; }; then
36461 glibcxx_cv_func___builtin_sqrtl_link=yes
36462 else
36463 echo "$as_me: failed program was:" >&5
36464 sed 's/^/| /' conftest.$ac_ext >&5
36466 glibcxx_cv_func___builtin_sqrtl_link=no
36468 rm -f conftest.err conftest.$ac_objext \
36469 conftest$ac_exeext conftest.$ac_ext
36474 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
36475 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
36477 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
36479 cat >>confdefs.h <<\_ACEOF
36480 #define HAVE___BUILTIN_SQRTL 1
36481 _ACEOF
36489 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
36490 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
36491 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
36492 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
36493 echo $ECHO_N "(cached) $ECHO_C" >&6
36494 else
36498 ac_ext=cc
36499 ac_cpp='$CXXCPP $CPPFLAGS'
36500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36504 cat >conftest.$ac_ext <<_ACEOF
36505 /* confdefs.h. */
36506 _ACEOF
36507 cat confdefs.h >>conftest.$ac_ext
36508 cat >>conftest.$ac_ext <<_ACEOF
36509 /* end confdefs.h. */
36510 #include <math.h>
36512 main ()
36514 __builtin_sinf(0);
36516 return 0;
36518 _ACEOF
36519 rm -f conftest.$ac_objext
36520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36521 (eval $ac_compile) 2>conftest.er1
36522 ac_status=$?
36523 grep -v '^ *+' conftest.er1 >conftest.err
36524 rm -f conftest.er1
36525 cat conftest.err >&5
36526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36527 (exit $ac_status); } &&
36528 { ac_try='test -z "$ac_cxx_werror_flag"
36529 || test ! -s conftest.err'
36530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36531 (eval $ac_try) 2>&5
36532 ac_status=$?
36533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36534 (exit $ac_status); }; } &&
36535 { ac_try='test -s conftest.$ac_objext'
36536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36537 (eval $ac_try) 2>&5
36538 ac_status=$?
36539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36540 (exit $ac_status); }; }; then
36541 glibcxx_cv_func___builtin_sinf_use=yes
36542 else
36543 echo "$as_me: failed program was:" >&5
36544 sed 's/^/| /' conftest.$ac_ext >&5
36546 glibcxx_cv_func___builtin_sinf_use=no
36548 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36549 ac_ext=c
36550 ac_cpp='$CPP $CPPFLAGS'
36551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36559 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
36560 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
36561 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
36562 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
36563 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
36564 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
36565 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
36566 echo $ECHO_N "(cached) $ECHO_C" >&6
36567 else
36569 if test x$gcc_no_link = xyes; then
36570 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36571 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36572 { (exit 1); exit 1; }; }
36574 cat >conftest.$ac_ext <<_ACEOF
36575 /* confdefs.h. */
36576 _ACEOF
36577 cat confdefs.h >>conftest.$ac_ext
36578 cat >>conftest.$ac_ext <<_ACEOF
36579 /* end confdefs.h. */
36580 #include <math.h>
36582 main ()
36584 __builtin_sinf(0);
36586 return 0;
36588 _ACEOF
36589 rm -f conftest.$ac_objext conftest$ac_exeext
36590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36591 (eval $ac_link) 2>conftest.er1
36592 ac_status=$?
36593 grep -v '^ *+' conftest.er1 >conftest.err
36594 rm -f conftest.er1
36595 cat conftest.err >&5
36596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36597 (exit $ac_status); } &&
36598 { ac_try='test -z "$ac_c_werror_flag"
36599 || test ! -s conftest.err'
36600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36601 (eval $ac_try) 2>&5
36602 ac_status=$?
36603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36604 (exit $ac_status); }; } &&
36605 { ac_try='test -s conftest$ac_exeext'
36606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36607 (eval $ac_try) 2>&5
36608 ac_status=$?
36609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36610 (exit $ac_status); }; }; then
36611 glibcxx_cv_func___builtin_sinf_link=yes
36612 else
36613 echo "$as_me: failed program was:" >&5
36614 sed 's/^/| /' conftest.$ac_ext >&5
36616 glibcxx_cv_func___builtin_sinf_link=no
36618 rm -f conftest.err conftest.$ac_objext \
36619 conftest$ac_exeext conftest.$ac_ext
36624 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
36625 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
36627 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
36629 cat >>confdefs.h <<\_ACEOF
36630 #define HAVE___BUILTIN_SINF 1
36631 _ACEOF
36638 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
36639 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
36640 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
36641 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
36642 echo $ECHO_N "(cached) $ECHO_C" >&6
36643 else
36647 ac_ext=cc
36648 ac_cpp='$CXXCPP $CPPFLAGS'
36649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36653 cat >conftest.$ac_ext <<_ACEOF
36654 /* confdefs.h. */
36655 _ACEOF
36656 cat confdefs.h >>conftest.$ac_ext
36657 cat >>conftest.$ac_ext <<_ACEOF
36658 /* end confdefs.h. */
36659 #include <math.h>
36661 main ()
36663 __builtin_sin(0);
36665 return 0;
36667 _ACEOF
36668 rm -f conftest.$ac_objext
36669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36670 (eval $ac_compile) 2>conftest.er1
36671 ac_status=$?
36672 grep -v '^ *+' conftest.er1 >conftest.err
36673 rm -f conftest.er1
36674 cat conftest.err >&5
36675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36676 (exit $ac_status); } &&
36677 { ac_try='test -z "$ac_cxx_werror_flag"
36678 || test ! -s conftest.err'
36679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36680 (eval $ac_try) 2>&5
36681 ac_status=$?
36682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36683 (exit $ac_status); }; } &&
36684 { ac_try='test -s conftest.$ac_objext'
36685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36686 (eval $ac_try) 2>&5
36687 ac_status=$?
36688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36689 (exit $ac_status); }; }; then
36690 glibcxx_cv_func___builtin_sin_use=yes
36691 else
36692 echo "$as_me: failed program was:" >&5
36693 sed 's/^/| /' conftest.$ac_ext >&5
36695 glibcxx_cv_func___builtin_sin_use=no
36697 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36698 ac_ext=c
36699 ac_cpp='$CPP $CPPFLAGS'
36700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36708 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
36709 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
36710 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
36711 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
36712 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
36713 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
36714 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
36715 echo $ECHO_N "(cached) $ECHO_C" >&6
36716 else
36718 if test x$gcc_no_link = xyes; then
36719 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36720 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36721 { (exit 1); exit 1; }; }
36723 cat >conftest.$ac_ext <<_ACEOF
36724 /* confdefs.h. */
36725 _ACEOF
36726 cat confdefs.h >>conftest.$ac_ext
36727 cat >>conftest.$ac_ext <<_ACEOF
36728 /* end confdefs.h. */
36729 #include <math.h>
36731 main ()
36733 __builtin_sin(0);
36735 return 0;
36737 _ACEOF
36738 rm -f conftest.$ac_objext conftest$ac_exeext
36739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36740 (eval $ac_link) 2>conftest.er1
36741 ac_status=$?
36742 grep -v '^ *+' conftest.er1 >conftest.err
36743 rm -f conftest.er1
36744 cat conftest.err >&5
36745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36746 (exit $ac_status); } &&
36747 { ac_try='test -z "$ac_c_werror_flag"
36748 || test ! -s conftest.err'
36749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36750 (eval $ac_try) 2>&5
36751 ac_status=$?
36752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36753 (exit $ac_status); }; } &&
36754 { ac_try='test -s conftest$ac_exeext'
36755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36756 (eval $ac_try) 2>&5
36757 ac_status=$?
36758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36759 (exit $ac_status); }; }; then
36760 glibcxx_cv_func___builtin_sin_link=yes
36761 else
36762 echo "$as_me: failed program was:" >&5
36763 sed 's/^/| /' conftest.$ac_ext >&5
36765 glibcxx_cv_func___builtin_sin_link=no
36767 rm -f conftest.err conftest.$ac_objext \
36768 conftest$ac_exeext conftest.$ac_ext
36773 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
36774 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
36776 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
36778 cat >>confdefs.h <<\_ACEOF
36779 #define HAVE___BUILTIN_SIN 1
36780 _ACEOF
36787 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
36788 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
36789 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
36790 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
36791 echo $ECHO_N "(cached) $ECHO_C" >&6
36792 else
36796 ac_ext=cc
36797 ac_cpp='$CXXCPP $CPPFLAGS'
36798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36802 cat >conftest.$ac_ext <<_ACEOF
36803 /* confdefs.h. */
36804 _ACEOF
36805 cat confdefs.h >>conftest.$ac_ext
36806 cat >>conftest.$ac_ext <<_ACEOF
36807 /* end confdefs.h. */
36808 #include <math.h>
36810 main ()
36812 __builtin_sinl(0);
36814 return 0;
36816 _ACEOF
36817 rm -f conftest.$ac_objext
36818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36819 (eval $ac_compile) 2>conftest.er1
36820 ac_status=$?
36821 grep -v '^ *+' conftest.er1 >conftest.err
36822 rm -f conftest.er1
36823 cat conftest.err >&5
36824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36825 (exit $ac_status); } &&
36826 { ac_try='test -z "$ac_cxx_werror_flag"
36827 || test ! -s conftest.err'
36828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36829 (eval $ac_try) 2>&5
36830 ac_status=$?
36831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36832 (exit $ac_status); }; } &&
36833 { ac_try='test -s conftest.$ac_objext'
36834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36835 (eval $ac_try) 2>&5
36836 ac_status=$?
36837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36838 (exit $ac_status); }; }; then
36839 glibcxx_cv_func___builtin_sinl_use=yes
36840 else
36841 echo "$as_me: failed program was:" >&5
36842 sed 's/^/| /' conftest.$ac_ext >&5
36844 glibcxx_cv_func___builtin_sinl_use=no
36846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36847 ac_ext=c
36848 ac_cpp='$CPP $CPPFLAGS'
36849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36857 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
36858 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
36859 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
36860 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
36861 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
36862 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
36863 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
36864 echo $ECHO_N "(cached) $ECHO_C" >&6
36865 else
36867 if test x$gcc_no_link = xyes; then
36868 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36869 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36870 { (exit 1); exit 1; }; }
36872 cat >conftest.$ac_ext <<_ACEOF
36873 /* confdefs.h. */
36874 _ACEOF
36875 cat confdefs.h >>conftest.$ac_ext
36876 cat >>conftest.$ac_ext <<_ACEOF
36877 /* end confdefs.h. */
36878 #include <math.h>
36880 main ()
36882 __builtin_sinl(0);
36884 return 0;
36886 _ACEOF
36887 rm -f conftest.$ac_objext conftest$ac_exeext
36888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36889 (eval $ac_link) 2>conftest.er1
36890 ac_status=$?
36891 grep -v '^ *+' conftest.er1 >conftest.err
36892 rm -f conftest.er1
36893 cat conftest.err >&5
36894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36895 (exit $ac_status); } &&
36896 { ac_try='test -z "$ac_c_werror_flag"
36897 || test ! -s conftest.err'
36898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36899 (eval $ac_try) 2>&5
36900 ac_status=$?
36901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36902 (exit $ac_status); }; } &&
36903 { ac_try='test -s conftest$ac_exeext'
36904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36905 (eval $ac_try) 2>&5
36906 ac_status=$?
36907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36908 (exit $ac_status); }; }; then
36909 glibcxx_cv_func___builtin_sinl_link=yes
36910 else
36911 echo "$as_me: failed program was:" >&5
36912 sed 's/^/| /' conftest.$ac_ext >&5
36914 glibcxx_cv_func___builtin_sinl_link=no
36916 rm -f conftest.err conftest.$ac_objext \
36917 conftest$ac_exeext conftest.$ac_ext
36922 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
36923 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
36925 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
36927 cat >>confdefs.h <<\_ACEOF
36928 #define HAVE___BUILTIN_SINL 1
36929 _ACEOF
36937 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
36938 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
36939 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
36940 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
36941 echo $ECHO_N "(cached) $ECHO_C" >&6
36942 else
36946 ac_ext=cc
36947 ac_cpp='$CXXCPP $CPPFLAGS'
36948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36952 cat >conftest.$ac_ext <<_ACEOF
36953 /* confdefs.h. */
36954 _ACEOF
36955 cat confdefs.h >>conftest.$ac_ext
36956 cat >>conftest.$ac_ext <<_ACEOF
36957 /* end confdefs.h. */
36958 #include <math.h>
36960 main ()
36962 __builtin_cosf(0);
36964 return 0;
36966 _ACEOF
36967 rm -f conftest.$ac_objext
36968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36969 (eval $ac_compile) 2>conftest.er1
36970 ac_status=$?
36971 grep -v '^ *+' conftest.er1 >conftest.err
36972 rm -f conftest.er1
36973 cat conftest.err >&5
36974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36975 (exit $ac_status); } &&
36976 { ac_try='test -z "$ac_cxx_werror_flag"
36977 || test ! -s conftest.err'
36978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36979 (eval $ac_try) 2>&5
36980 ac_status=$?
36981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36982 (exit $ac_status); }; } &&
36983 { ac_try='test -s conftest.$ac_objext'
36984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36985 (eval $ac_try) 2>&5
36986 ac_status=$?
36987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36988 (exit $ac_status); }; }; then
36989 glibcxx_cv_func___builtin_cosf_use=yes
36990 else
36991 echo "$as_me: failed program was:" >&5
36992 sed 's/^/| /' conftest.$ac_ext >&5
36994 glibcxx_cv_func___builtin_cosf_use=no
36996 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36997 ac_ext=c
36998 ac_cpp='$CPP $CPPFLAGS'
36999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37007 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
37008 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
37009 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
37010 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
37011 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
37012 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
37013 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
37014 echo $ECHO_N "(cached) $ECHO_C" >&6
37015 else
37017 if test x$gcc_no_link = xyes; then
37018 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37019 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37020 { (exit 1); exit 1; }; }
37022 cat >conftest.$ac_ext <<_ACEOF
37023 /* confdefs.h. */
37024 _ACEOF
37025 cat confdefs.h >>conftest.$ac_ext
37026 cat >>conftest.$ac_ext <<_ACEOF
37027 /* end confdefs.h. */
37028 #include <math.h>
37030 main ()
37032 __builtin_cosf(0);
37034 return 0;
37036 _ACEOF
37037 rm -f conftest.$ac_objext conftest$ac_exeext
37038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37039 (eval $ac_link) 2>conftest.er1
37040 ac_status=$?
37041 grep -v '^ *+' conftest.er1 >conftest.err
37042 rm -f conftest.er1
37043 cat conftest.err >&5
37044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37045 (exit $ac_status); } &&
37046 { ac_try='test -z "$ac_c_werror_flag"
37047 || test ! -s conftest.err'
37048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37049 (eval $ac_try) 2>&5
37050 ac_status=$?
37051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37052 (exit $ac_status); }; } &&
37053 { ac_try='test -s conftest$ac_exeext'
37054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37055 (eval $ac_try) 2>&5
37056 ac_status=$?
37057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37058 (exit $ac_status); }; }; then
37059 glibcxx_cv_func___builtin_cosf_link=yes
37060 else
37061 echo "$as_me: failed program was:" >&5
37062 sed 's/^/| /' conftest.$ac_ext >&5
37064 glibcxx_cv_func___builtin_cosf_link=no
37066 rm -f conftest.err conftest.$ac_objext \
37067 conftest$ac_exeext conftest.$ac_ext
37072 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
37073 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
37075 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
37077 cat >>confdefs.h <<\_ACEOF
37078 #define HAVE___BUILTIN_COSF 1
37079 _ACEOF
37086 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
37087 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
37088 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
37089 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
37090 echo $ECHO_N "(cached) $ECHO_C" >&6
37091 else
37095 ac_ext=cc
37096 ac_cpp='$CXXCPP $CPPFLAGS'
37097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37101 cat >conftest.$ac_ext <<_ACEOF
37102 /* confdefs.h. */
37103 _ACEOF
37104 cat confdefs.h >>conftest.$ac_ext
37105 cat >>conftest.$ac_ext <<_ACEOF
37106 /* end confdefs.h. */
37107 #include <math.h>
37109 main ()
37111 __builtin_cos(0);
37113 return 0;
37115 _ACEOF
37116 rm -f conftest.$ac_objext
37117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37118 (eval $ac_compile) 2>conftest.er1
37119 ac_status=$?
37120 grep -v '^ *+' conftest.er1 >conftest.err
37121 rm -f conftest.er1
37122 cat conftest.err >&5
37123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37124 (exit $ac_status); } &&
37125 { ac_try='test -z "$ac_cxx_werror_flag"
37126 || test ! -s conftest.err'
37127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37128 (eval $ac_try) 2>&5
37129 ac_status=$?
37130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37131 (exit $ac_status); }; } &&
37132 { ac_try='test -s conftest.$ac_objext'
37133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37134 (eval $ac_try) 2>&5
37135 ac_status=$?
37136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37137 (exit $ac_status); }; }; then
37138 glibcxx_cv_func___builtin_cos_use=yes
37139 else
37140 echo "$as_me: failed program was:" >&5
37141 sed 's/^/| /' conftest.$ac_ext >&5
37143 glibcxx_cv_func___builtin_cos_use=no
37145 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37146 ac_ext=c
37147 ac_cpp='$CPP $CPPFLAGS'
37148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37156 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
37157 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
37158 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
37159 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
37160 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
37161 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
37162 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
37163 echo $ECHO_N "(cached) $ECHO_C" >&6
37164 else
37166 if test x$gcc_no_link = xyes; then
37167 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37168 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37169 { (exit 1); exit 1; }; }
37171 cat >conftest.$ac_ext <<_ACEOF
37172 /* confdefs.h. */
37173 _ACEOF
37174 cat confdefs.h >>conftest.$ac_ext
37175 cat >>conftest.$ac_ext <<_ACEOF
37176 /* end confdefs.h. */
37177 #include <math.h>
37179 main ()
37181 __builtin_cos(0);
37183 return 0;
37185 _ACEOF
37186 rm -f conftest.$ac_objext conftest$ac_exeext
37187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37188 (eval $ac_link) 2>conftest.er1
37189 ac_status=$?
37190 grep -v '^ *+' conftest.er1 >conftest.err
37191 rm -f conftest.er1
37192 cat conftest.err >&5
37193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37194 (exit $ac_status); } &&
37195 { ac_try='test -z "$ac_c_werror_flag"
37196 || test ! -s conftest.err'
37197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37198 (eval $ac_try) 2>&5
37199 ac_status=$?
37200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37201 (exit $ac_status); }; } &&
37202 { ac_try='test -s conftest$ac_exeext'
37203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37204 (eval $ac_try) 2>&5
37205 ac_status=$?
37206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37207 (exit $ac_status); }; }; then
37208 glibcxx_cv_func___builtin_cos_link=yes
37209 else
37210 echo "$as_me: failed program was:" >&5
37211 sed 's/^/| /' conftest.$ac_ext >&5
37213 glibcxx_cv_func___builtin_cos_link=no
37215 rm -f conftest.err conftest.$ac_objext \
37216 conftest$ac_exeext conftest.$ac_ext
37221 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
37222 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
37224 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
37226 cat >>confdefs.h <<\_ACEOF
37227 #define HAVE___BUILTIN_COS 1
37228 _ACEOF
37235 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
37236 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
37237 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
37238 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
37239 echo $ECHO_N "(cached) $ECHO_C" >&6
37240 else
37244 ac_ext=cc
37245 ac_cpp='$CXXCPP $CPPFLAGS'
37246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37250 cat >conftest.$ac_ext <<_ACEOF
37251 /* confdefs.h. */
37252 _ACEOF
37253 cat confdefs.h >>conftest.$ac_ext
37254 cat >>conftest.$ac_ext <<_ACEOF
37255 /* end confdefs.h. */
37256 #include <math.h>
37258 main ()
37260 __builtin_cosl(0);
37262 return 0;
37264 _ACEOF
37265 rm -f conftest.$ac_objext
37266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37267 (eval $ac_compile) 2>conftest.er1
37268 ac_status=$?
37269 grep -v '^ *+' conftest.er1 >conftest.err
37270 rm -f conftest.er1
37271 cat conftest.err >&5
37272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37273 (exit $ac_status); } &&
37274 { ac_try='test -z "$ac_cxx_werror_flag"
37275 || test ! -s conftest.err'
37276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37277 (eval $ac_try) 2>&5
37278 ac_status=$?
37279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37280 (exit $ac_status); }; } &&
37281 { ac_try='test -s conftest.$ac_objext'
37282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37283 (eval $ac_try) 2>&5
37284 ac_status=$?
37285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37286 (exit $ac_status); }; }; then
37287 glibcxx_cv_func___builtin_cosl_use=yes
37288 else
37289 echo "$as_me: failed program was:" >&5
37290 sed 's/^/| /' conftest.$ac_ext >&5
37292 glibcxx_cv_func___builtin_cosl_use=no
37294 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37295 ac_ext=c
37296 ac_cpp='$CPP $CPPFLAGS'
37297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37305 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
37306 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
37307 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
37308 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
37309 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
37310 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
37311 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
37312 echo $ECHO_N "(cached) $ECHO_C" >&6
37313 else
37315 if test x$gcc_no_link = xyes; then
37316 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37317 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37318 { (exit 1); exit 1; }; }
37320 cat >conftest.$ac_ext <<_ACEOF
37321 /* confdefs.h. */
37322 _ACEOF
37323 cat confdefs.h >>conftest.$ac_ext
37324 cat >>conftest.$ac_ext <<_ACEOF
37325 /* end confdefs.h. */
37326 #include <math.h>
37328 main ()
37330 __builtin_cosl(0);
37332 return 0;
37334 _ACEOF
37335 rm -f conftest.$ac_objext conftest$ac_exeext
37336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37337 (eval $ac_link) 2>conftest.er1
37338 ac_status=$?
37339 grep -v '^ *+' conftest.er1 >conftest.err
37340 rm -f conftest.er1
37341 cat conftest.err >&5
37342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37343 (exit $ac_status); } &&
37344 { ac_try='test -z "$ac_c_werror_flag"
37345 || test ! -s conftest.err'
37346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37347 (eval $ac_try) 2>&5
37348 ac_status=$?
37349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37350 (exit $ac_status); }; } &&
37351 { ac_try='test -s conftest$ac_exeext'
37352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37353 (eval $ac_try) 2>&5
37354 ac_status=$?
37355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37356 (exit $ac_status); }; }; then
37357 glibcxx_cv_func___builtin_cosl_link=yes
37358 else
37359 echo "$as_me: failed program was:" >&5
37360 sed 's/^/| /' conftest.$ac_ext >&5
37362 glibcxx_cv_func___builtin_cosl_link=no
37364 rm -f conftest.err conftest.$ac_objext \
37365 conftest$ac_exeext conftest.$ac_ext
37370 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
37371 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
37373 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
37375 cat >>confdefs.h <<\_ACEOF
37376 #define HAVE___BUILTIN_COSL 1
37377 _ACEOF
37386 echo "$as_me:$LINENO: checking for main in -lm" >&5
37387 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
37388 if test "${ac_cv_lib_m_main+set}" = set; then
37389 echo $ECHO_N "(cached) $ECHO_C" >&6
37390 else
37391 ac_check_lib_save_LIBS=$LIBS
37392 LIBS="-lm $LIBS"
37393 if test x$gcc_no_link = xyes; then
37394 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37395 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37396 { (exit 1); exit 1; }; }
37398 cat >conftest.$ac_ext <<_ACEOF
37399 /* confdefs.h. */
37400 _ACEOF
37401 cat confdefs.h >>conftest.$ac_ext
37402 cat >>conftest.$ac_ext <<_ACEOF
37403 /* end confdefs.h. */
37407 main ()
37409 main ();
37411 return 0;
37413 _ACEOF
37414 rm -f conftest.$ac_objext conftest$ac_exeext
37415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37416 (eval $ac_link) 2>conftest.er1
37417 ac_status=$?
37418 grep -v '^ *+' conftest.er1 >conftest.err
37419 rm -f conftest.er1
37420 cat conftest.err >&5
37421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37422 (exit $ac_status); } &&
37423 { ac_try='test -z "$ac_c_werror_flag"
37424 || test ! -s conftest.err'
37425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37426 (eval $ac_try) 2>&5
37427 ac_status=$?
37428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37429 (exit $ac_status); }; } &&
37430 { ac_try='test -s conftest$ac_exeext'
37431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37432 (eval $ac_try) 2>&5
37433 ac_status=$?
37434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37435 (exit $ac_status); }; }; then
37436 ac_cv_lib_m_main=yes
37437 else
37438 echo "$as_me: failed program was:" >&5
37439 sed 's/^/| /' conftest.$ac_ext >&5
37441 ac_cv_lib_m_main=no
37443 rm -f conftest.err conftest.$ac_objext \
37444 conftest$ac_exeext conftest.$ac_ext
37445 LIBS=$ac_check_lib_save_LIBS
37447 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
37448 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
37449 if test $ac_cv_lib_m_main = yes; then
37450 cat >>confdefs.h <<_ACEOF
37451 #define HAVE_LIBM 1
37452 _ACEOF
37454 LIBS="-lm $LIBS"
37459 for ac_func in copysignf
37461 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37462 echo "$as_me:$LINENO: checking for $ac_func" >&5
37463 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37464 if eval "test \"\${$as_ac_var+set}\" = set"; then
37465 echo $ECHO_N "(cached) $ECHO_C" >&6
37466 else
37467 if test x$gcc_no_link = xyes; then
37468 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37469 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37470 { (exit 1); exit 1; }; }
37472 cat >conftest.$ac_ext <<_ACEOF
37473 /* confdefs.h. */
37474 _ACEOF
37475 cat confdefs.h >>conftest.$ac_ext
37476 cat >>conftest.$ac_ext <<_ACEOF
37477 /* end confdefs.h. */
37478 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37479 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37480 #define $ac_func innocuous_$ac_func
37482 /* System header to define __stub macros and hopefully few prototypes,
37483 which can conflict with char $ac_func (); below.
37484 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37485 <limits.h> exists even on freestanding compilers. */
37487 #ifdef __STDC__
37488 # include <limits.h>
37489 #else
37490 # include <assert.h>
37491 #endif
37493 #undef $ac_func
37495 /* Override any gcc2 internal prototype to avoid an error. */
37496 #ifdef __cplusplus
37497 extern "C"
37499 #endif
37500 /* We use char because int might match the return type of a gcc2
37501 builtin and then its argument prototype would still apply. */
37502 char $ac_func ();
37503 /* The GNU C library defines this for functions which it implements
37504 to always fail with ENOSYS. Some functions are actually named
37505 something starting with __ and the normal name is an alias. */
37506 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37507 choke me
37508 #else
37509 char (*f) () = $ac_func;
37510 #endif
37511 #ifdef __cplusplus
37513 #endif
37516 main ()
37518 return f != $ac_func;
37520 return 0;
37522 _ACEOF
37523 rm -f conftest.$ac_objext conftest$ac_exeext
37524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37525 (eval $ac_link) 2>conftest.er1
37526 ac_status=$?
37527 grep -v '^ *+' conftest.er1 >conftest.err
37528 rm -f conftest.er1
37529 cat conftest.err >&5
37530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37531 (exit $ac_status); } &&
37532 { ac_try='test -z "$ac_c_werror_flag"
37533 || test ! -s conftest.err'
37534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37535 (eval $ac_try) 2>&5
37536 ac_status=$?
37537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37538 (exit $ac_status); }; } &&
37539 { ac_try='test -s conftest$ac_exeext'
37540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37541 (eval $ac_try) 2>&5
37542 ac_status=$?
37543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37544 (exit $ac_status); }; }; then
37545 eval "$as_ac_var=yes"
37546 else
37547 echo "$as_me: failed program was:" >&5
37548 sed 's/^/| /' conftest.$ac_ext >&5
37550 eval "$as_ac_var=no"
37552 rm -f conftest.err conftest.$ac_objext \
37553 conftest$ac_exeext conftest.$ac_ext
37555 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37556 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37557 if test `eval echo '${'$as_ac_var'}'` = yes; then
37558 cat >>confdefs.h <<_ACEOF
37559 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37560 _ACEOF
37562 else
37563 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
37565 done
37569 for ac_func in __signbit
37571 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37572 echo "$as_me:$LINENO: checking for $ac_func" >&5
37573 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37574 if eval "test \"\${$as_ac_var+set}\" = set"; then
37575 echo $ECHO_N "(cached) $ECHO_C" >&6
37576 else
37577 if test x$gcc_no_link = xyes; then
37578 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37579 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37580 { (exit 1); exit 1; }; }
37582 cat >conftest.$ac_ext <<_ACEOF
37583 /* confdefs.h. */
37584 _ACEOF
37585 cat confdefs.h >>conftest.$ac_ext
37586 cat >>conftest.$ac_ext <<_ACEOF
37587 /* end confdefs.h. */
37588 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37589 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37590 #define $ac_func innocuous_$ac_func
37592 /* System header to define __stub macros and hopefully few prototypes,
37593 which can conflict with char $ac_func (); below.
37594 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37595 <limits.h> exists even on freestanding compilers. */
37597 #ifdef __STDC__
37598 # include <limits.h>
37599 #else
37600 # include <assert.h>
37601 #endif
37603 #undef $ac_func
37605 /* Override any gcc2 internal prototype to avoid an error. */
37606 #ifdef __cplusplus
37607 extern "C"
37609 #endif
37610 /* We use char because int might match the return type of a gcc2
37611 builtin and then its argument prototype would still apply. */
37612 char $ac_func ();
37613 /* The GNU C library defines this for functions which it implements
37614 to always fail with ENOSYS. Some functions are actually named
37615 something starting with __ and the normal name is an alias. */
37616 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37617 choke me
37618 #else
37619 char (*f) () = $ac_func;
37620 #endif
37621 #ifdef __cplusplus
37623 #endif
37626 main ()
37628 return f != $ac_func;
37630 return 0;
37632 _ACEOF
37633 rm -f conftest.$ac_objext conftest$ac_exeext
37634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37635 (eval $ac_link) 2>conftest.er1
37636 ac_status=$?
37637 grep -v '^ *+' conftest.er1 >conftest.err
37638 rm -f conftest.er1
37639 cat conftest.err >&5
37640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37641 (exit $ac_status); } &&
37642 { ac_try='test -z "$ac_c_werror_flag"
37643 || test ! -s conftest.err'
37644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37645 (eval $ac_try) 2>&5
37646 ac_status=$?
37647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37648 (exit $ac_status); }; } &&
37649 { ac_try='test -s conftest$ac_exeext'
37650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37651 (eval $ac_try) 2>&5
37652 ac_status=$?
37653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37654 (exit $ac_status); }; }; then
37655 eval "$as_ac_var=yes"
37656 else
37657 echo "$as_me: failed program was:" >&5
37658 sed 's/^/| /' conftest.$ac_ext >&5
37660 eval "$as_ac_var=no"
37662 rm -f conftest.err conftest.$ac_objext \
37663 conftest$ac_exeext conftest.$ac_ext
37665 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37666 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37667 if test `eval echo '${'$as_ac_var'}'` = yes; then
37668 cat >>confdefs.h <<_ACEOF
37669 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37670 _ACEOF
37672 else
37673 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
37675 done
37679 for ac_func in __signbitf
37681 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37682 echo "$as_me:$LINENO: checking for $ac_func" >&5
37683 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37684 if eval "test \"\${$as_ac_var+set}\" = set"; then
37685 echo $ECHO_N "(cached) $ECHO_C" >&6
37686 else
37687 if test x$gcc_no_link = xyes; then
37688 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37689 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37690 { (exit 1); exit 1; }; }
37692 cat >conftest.$ac_ext <<_ACEOF
37693 /* confdefs.h. */
37694 _ACEOF
37695 cat confdefs.h >>conftest.$ac_ext
37696 cat >>conftest.$ac_ext <<_ACEOF
37697 /* end confdefs.h. */
37698 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37699 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37700 #define $ac_func innocuous_$ac_func
37702 /* System header to define __stub macros and hopefully few prototypes,
37703 which can conflict with char $ac_func (); below.
37704 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37705 <limits.h> exists even on freestanding compilers. */
37707 #ifdef __STDC__
37708 # include <limits.h>
37709 #else
37710 # include <assert.h>
37711 #endif
37713 #undef $ac_func
37715 /* Override any gcc2 internal prototype to avoid an error. */
37716 #ifdef __cplusplus
37717 extern "C"
37719 #endif
37720 /* We use char because int might match the return type of a gcc2
37721 builtin and then its argument prototype would still apply. */
37722 char $ac_func ();
37723 /* The GNU C library defines this for functions which it implements
37724 to always fail with ENOSYS. Some functions are actually named
37725 something starting with __ and the normal name is an alias. */
37726 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37727 choke me
37728 #else
37729 char (*f) () = $ac_func;
37730 #endif
37731 #ifdef __cplusplus
37733 #endif
37736 main ()
37738 return f != $ac_func;
37740 return 0;
37742 _ACEOF
37743 rm -f conftest.$ac_objext conftest$ac_exeext
37744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37745 (eval $ac_link) 2>conftest.er1
37746 ac_status=$?
37747 grep -v '^ *+' conftest.er1 >conftest.err
37748 rm -f conftest.er1
37749 cat conftest.err >&5
37750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37751 (exit $ac_status); } &&
37752 { ac_try='test -z "$ac_c_werror_flag"
37753 || test ! -s conftest.err'
37754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37755 (eval $ac_try) 2>&5
37756 ac_status=$?
37757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37758 (exit $ac_status); }; } &&
37759 { ac_try='test -s conftest$ac_exeext'
37760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37761 (eval $ac_try) 2>&5
37762 ac_status=$?
37763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37764 (exit $ac_status); }; }; then
37765 eval "$as_ac_var=yes"
37766 else
37767 echo "$as_me: failed program was:" >&5
37768 sed 's/^/| /' conftest.$ac_ext >&5
37770 eval "$as_ac_var=no"
37772 rm -f conftest.err conftest.$ac_objext \
37773 conftest$ac_exeext conftest.$ac_ext
37775 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37776 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37777 if test `eval echo '${'$as_ac_var'}'` = yes; then
37778 cat >>confdefs.h <<_ACEOF
37779 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37780 _ACEOF
37782 else
37783 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
37785 done
37788 if test x$ac_cv_func_copysignl = x"yes"; then
37790 for ac_func in __signbitl
37792 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37793 echo "$as_me:$LINENO: checking for $ac_func" >&5
37794 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37795 if eval "test \"\${$as_ac_var+set}\" = set"; then
37796 echo $ECHO_N "(cached) $ECHO_C" >&6
37797 else
37798 if test x$gcc_no_link = xyes; then
37799 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37800 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37801 { (exit 1); exit 1; }; }
37803 cat >conftest.$ac_ext <<_ACEOF
37804 /* confdefs.h. */
37805 _ACEOF
37806 cat confdefs.h >>conftest.$ac_ext
37807 cat >>conftest.$ac_ext <<_ACEOF
37808 /* end confdefs.h. */
37809 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37810 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37811 #define $ac_func innocuous_$ac_func
37813 /* System header to define __stub macros and hopefully few prototypes,
37814 which can conflict with char $ac_func (); below.
37815 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37816 <limits.h> exists even on freestanding compilers. */
37818 #ifdef __STDC__
37819 # include <limits.h>
37820 #else
37821 # include <assert.h>
37822 #endif
37824 #undef $ac_func
37826 /* Override any gcc2 internal prototype to avoid an error. */
37827 #ifdef __cplusplus
37828 extern "C"
37830 #endif
37831 /* We use char because int might match the return type of a gcc2
37832 builtin and then its argument prototype would still apply. */
37833 char $ac_func ();
37834 /* The GNU C library defines this for functions which it implements
37835 to always fail with ENOSYS. Some functions are actually named
37836 something starting with __ and the normal name is an alias. */
37837 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37838 choke me
37839 #else
37840 char (*f) () = $ac_func;
37841 #endif
37842 #ifdef __cplusplus
37844 #endif
37847 main ()
37849 return f != $ac_func;
37851 return 0;
37853 _ACEOF
37854 rm -f conftest.$ac_objext conftest$ac_exeext
37855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37856 (eval $ac_link) 2>conftest.er1
37857 ac_status=$?
37858 grep -v '^ *+' conftest.er1 >conftest.err
37859 rm -f conftest.er1
37860 cat conftest.err >&5
37861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37862 (exit $ac_status); } &&
37863 { ac_try='test -z "$ac_c_werror_flag"
37864 || test ! -s conftest.err'
37865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37866 (eval $ac_try) 2>&5
37867 ac_status=$?
37868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37869 (exit $ac_status); }; } &&
37870 { ac_try='test -s conftest$ac_exeext'
37871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37872 (eval $ac_try) 2>&5
37873 ac_status=$?
37874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37875 (exit $ac_status); }; }; then
37876 eval "$as_ac_var=yes"
37877 else
37878 echo "$as_me: failed program was:" >&5
37879 sed 's/^/| /' conftest.$ac_ext >&5
37881 eval "$as_ac_var=no"
37883 rm -f conftest.err conftest.$ac_objext \
37884 conftest$ac_exeext conftest.$ac_ext
37886 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37887 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37888 if test `eval echo '${'$as_ac_var'}'` = yes; then
37889 cat >>confdefs.h <<_ACEOF
37890 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37891 _ACEOF
37893 else
37894 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
37896 done
37900 # Used in libmath/Makefile.am.
37901 if test -n "$LIBMATHOBJS"; then
37902 need_libmath=yes
37907 ac_test_CXXFLAGS="${CXXFLAGS+set}"
37908 ac_save_CXXFLAGS="$CXXFLAGS"
37909 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
37912 echo "$as_me:$LINENO: checking for strtold declaration" >&5
37913 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
37914 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
37915 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
37916 echo $ECHO_N "(cached) $ECHO_C" >&6
37917 else
37921 ac_ext=cc
37922 ac_cpp='$CXXCPP $CPPFLAGS'
37923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37927 cat >conftest.$ac_ext <<_ACEOF
37928 /* confdefs.h. */
37929 _ACEOF
37930 cat confdefs.h >>conftest.$ac_ext
37931 cat >>conftest.$ac_ext <<_ACEOF
37932 /* end confdefs.h. */
37933 #include <stdlib.h>
37935 main ()
37937 strtold(0, 0);
37939 return 0;
37941 _ACEOF
37942 rm -f conftest.$ac_objext
37943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37944 (eval $ac_compile) 2>conftest.er1
37945 ac_status=$?
37946 grep -v '^ *+' conftest.er1 >conftest.err
37947 rm -f conftest.er1
37948 cat conftest.err >&5
37949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37950 (exit $ac_status); } &&
37951 { ac_try='test -z "$ac_cxx_werror_flag"
37952 || test ! -s conftest.err'
37953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37954 (eval $ac_try) 2>&5
37955 ac_status=$?
37956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37957 (exit $ac_status); }; } &&
37958 { ac_try='test -s conftest.$ac_objext'
37959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37960 (eval $ac_try) 2>&5
37961 ac_status=$?
37962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37963 (exit $ac_status); }; }; then
37964 glibcxx_cv_func_strtold_use=yes
37965 else
37966 echo "$as_me: failed program was:" >&5
37967 sed 's/^/| /' conftest.$ac_ext >&5
37969 glibcxx_cv_func_strtold_use=no
37971 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37972 ac_ext=c
37973 ac_cpp='$CPP $CPPFLAGS'
37974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37982 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
37983 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
37984 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
37986 for ac_func in strtold
37988 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37989 echo "$as_me:$LINENO: checking for $ac_func" >&5
37990 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37991 if eval "test \"\${$as_ac_var+set}\" = set"; then
37992 echo $ECHO_N "(cached) $ECHO_C" >&6
37993 else
37994 if test x$gcc_no_link = xyes; then
37995 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37996 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37997 { (exit 1); exit 1; }; }
37999 cat >conftest.$ac_ext <<_ACEOF
38000 /* confdefs.h. */
38001 _ACEOF
38002 cat confdefs.h >>conftest.$ac_ext
38003 cat >>conftest.$ac_ext <<_ACEOF
38004 /* end confdefs.h. */
38005 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38006 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38007 #define $ac_func innocuous_$ac_func
38009 /* System header to define __stub macros and hopefully few prototypes,
38010 which can conflict with char $ac_func (); below.
38011 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38012 <limits.h> exists even on freestanding compilers. */
38014 #ifdef __STDC__
38015 # include <limits.h>
38016 #else
38017 # include <assert.h>
38018 #endif
38020 #undef $ac_func
38022 /* Override any gcc2 internal prototype to avoid an error. */
38023 #ifdef __cplusplus
38024 extern "C"
38026 #endif
38027 /* We use char because int might match the return type of a gcc2
38028 builtin and then its argument prototype would still apply. */
38029 char $ac_func ();
38030 /* The GNU C library defines this for functions which it implements
38031 to always fail with ENOSYS. Some functions are actually named
38032 something starting with __ and the normal name is an alias. */
38033 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38034 choke me
38035 #else
38036 char (*f) () = $ac_func;
38037 #endif
38038 #ifdef __cplusplus
38040 #endif
38043 main ()
38045 return f != $ac_func;
38047 return 0;
38049 _ACEOF
38050 rm -f conftest.$ac_objext conftest$ac_exeext
38051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38052 (eval $ac_link) 2>conftest.er1
38053 ac_status=$?
38054 grep -v '^ *+' conftest.er1 >conftest.err
38055 rm -f conftest.er1
38056 cat conftest.err >&5
38057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38058 (exit $ac_status); } &&
38059 { ac_try='test -z "$ac_c_werror_flag"
38060 || test ! -s conftest.err'
38061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38062 (eval $ac_try) 2>&5
38063 ac_status=$?
38064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38065 (exit $ac_status); }; } &&
38066 { ac_try='test -s conftest$ac_exeext'
38067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38068 (eval $ac_try) 2>&5
38069 ac_status=$?
38070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38071 (exit $ac_status); }; }; then
38072 eval "$as_ac_var=yes"
38073 else
38074 echo "$as_me: failed program was:" >&5
38075 sed 's/^/| /' conftest.$ac_ext >&5
38077 eval "$as_ac_var=no"
38079 rm -f conftest.err conftest.$ac_objext \
38080 conftest$ac_exeext conftest.$ac_ext
38082 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38083 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38084 if test `eval echo '${'$as_ac_var'}'` = yes; then
38085 cat >>confdefs.h <<_ACEOF
38086 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38087 _ACEOF
38090 done
38098 echo "$as_me:$LINENO: checking for strtof declaration" >&5
38099 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
38100 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
38101 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
38102 echo $ECHO_N "(cached) $ECHO_C" >&6
38103 else
38107 ac_ext=cc
38108 ac_cpp='$CXXCPP $CPPFLAGS'
38109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38113 cat >conftest.$ac_ext <<_ACEOF
38114 /* confdefs.h. */
38115 _ACEOF
38116 cat confdefs.h >>conftest.$ac_ext
38117 cat >>conftest.$ac_ext <<_ACEOF
38118 /* end confdefs.h. */
38119 #include <stdlib.h>
38121 main ()
38123 strtof(0, 0);
38125 return 0;
38127 _ACEOF
38128 rm -f conftest.$ac_objext
38129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38130 (eval $ac_compile) 2>conftest.er1
38131 ac_status=$?
38132 grep -v '^ *+' conftest.er1 >conftest.err
38133 rm -f conftest.er1
38134 cat conftest.err >&5
38135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38136 (exit $ac_status); } &&
38137 { ac_try='test -z "$ac_cxx_werror_flag"
38138 || test ! -s conftest.err'
38139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38140 (eval $ac_try) 2>&5
38141 ac_status=$?
38142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38143 (exit $ac_status); }; } &&
38144 { ac_try='test -s conftest.$ac_objext'
38145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38146 (eval $ac_try) 2>&5
38147 ac_status=$?
38148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38149 (exit $ac_status); }; }; then
38150 glibcxx_cv_func_strtof_use=yes
38151 else
38152 echo "$as_me: failed program was:" >&5
38153 sed 's/^/| /' conftest.$ac_ext >&5
38155 glibcxx_cv_func_strtof_use=no
38157 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38158 ac_ext=c
38159 ac_cpp='$CPP $CPPFLAGS'
38160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38168 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
38169 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
38170 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
38172 for ac_func in strtof
38174 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38175 echo "$as_me:$LINENO: checking for $ac_func" >&5
38176 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38177 if eval "test \"\${$as_ac_var+set}\" = set"; then
38178 echo $ECHO_N "(cached) $ECHO_C" >&6
38179 else
38180 if test x$gcc_no_link = xyes; then
38181 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38182 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38183 { (exit 1); exit 1; }; }
38185 cat >conftest.$ac_ext <<_ACEOF
38186 /* confdefs.h. */
38187 _ACEOF
38188 cat confdefs.h >>conftest.$ac_ext
38189 cat >>conftest.$ac_ext <<_ACEOF
38190 /* end confdefs.h. */
38191 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38192 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38193 #define $ac_func innocuous_$ac_func
38195 /* System header to define __stub macros and hopefully few prototypes,
38196 which can conflict with char $ac_func (); below.
38197 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38198 <limits.h> exists even on freestanding compilers. */
38200 #ifdef __STDC__
38201 # include <limits.h>
38202 #else
38203 # include <assert.h>
38204 #endif
38206 #undef $ac_func
38208 /* Override any gcc2 internal prototype to avoid an error. */
38209 #ifdef __cplusplus
38210 extern "C"
38212 #endif
38213 /* We use char because int might match the return type of a gcc2
38214 builtin and then its argument prototype would still apply. */
38215 char $ac_func ();
38216 /* The GNU C library defines this for functions which it implements
38217 to always fail with ENOSYS. Some functions are actually named
38218 something starting with __ and the normal name is an alias. */
38219 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38220 choke me
38221 #else
38222 char (*f) () = $ac_func;
38223 #endif
38224 #ifdef __cplusplus
38226 #endif
38229 main ()
38231 return f != $ac_func;
38233 return 0;
38235 _ACEOF
38236 rm -f conftest.$ac_objext conftest$ac_exeext
38237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38238 (eval $ac_link) 2>conftest.er1
38239 ac_status=$?
38240 grep -v '^ *+' conftest.er1 >conftest.err
38241 rm -f conftest.er1
38242 cat conftest.err >&5
38243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38244 (exit $ac_status); } &&
38245 { ac_try='test -z "$ac_c_werror_flag"
38246 || test ! -s conftest.err'
38247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38248 (eval $ac_try) 2>&5
38249 ac_status=$?
38250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38251 (exit $ac_status); }; } &&
38252 { ac_try='test -s conftest$ac_exeext'
38253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38254 (eval $ac_try) 2>&5
38255 ac_status=$?
38256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38257 (exit $ac_status); }; }; then
38258 eval "$as_ac_var=yes"
38259 else
38260 echo "$as_me: failed program was:" >&5
38261 sed 's/^/| /' conftest.$ac_ext >&5
38263 eval "$as_ac_var=no"
38265 rm -f conftest.err conftest.$ac_objext \
38266 conftest$ac_exeext conftest.$ac_ext
38268 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38269 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38270 if test `eval echo '${'$as_ac_var'}'` = yes; then
38271 cat >>confdefs.h <<_ACEOF
38272 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38273 _ACEOF
38276 done
38284 CXXFLAGS="$ac_save_CXXFLAGS"
38287 # For showmanyc_helper().
38290 for ac_header in sys/ioctl.h sys/filio.h
38292 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38293 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38294 echo "$as_me:$LINENO: checking for $ac_header" >&5
38295 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38296 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38297 echo $ECHO_N "(cached) $ECHO_C" >&6
38299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38300 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38301 else
38302 # Is the header compilable?
38303 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38304 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38305 cat >conftest.$ac_ext <<_ACEOF
38306 /* confdefs.h. */
38307 _ACEOF
38308 cat confdefs.h >>conftest.$ac_ext
38309 cat >>conftest.$ac_ext <<_ACEOF
38310 /* end confdefs.h. */
38311 $ac_includes_default
38312 #include <$ac_header>
38313 _ACEOF
38314 rm -f conftest.$ac_objext
38315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38316 (eval $ac_compile) 2>conftest.er1
38317 ac_status=$?
38318 grep -v '^ *+' conftest.er1 >conftest.err
38319 rm -f conftest.er1
38320 cat conftest.err >&5
38321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38322 (exit $ac_status); } &&
38323 { ac_try='test -z "$ac_c_werror_flag"
38324 || test ! -s conftest.err'
38325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38326 (eval $ac_try) 2>&5
38327 ac_status=$?
38328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38329 (exit $ac_status); }; } &&
38330 { ac_try='test -s conftest.$ac_objext'
38331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38332 (eval $ac_try) 2>&5
38333 ac_status=$?
38334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38335 (exit $ac_status); }; }; then
38336 ac_header_compiler=yes
38337 else
38338 echo "$as_me: failed program was:" >&5
38339 sed 's/^/| /' conftest.$ac_ext >&5
38341 ac_header_compiler=no
38343 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38344 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38345 echo "${ECHO_T}$ac_header_compiler" >&6
38347 # Is the header present?
38348 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38349 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38350 cat >conftest.$ac_ext <<_ACEOF
38351 /* confdefs.h. */
38352 _ACEOF
38353 cat confdefs.h >>conftest.$ac_ext
38354 cat >>conftest.$ac_ext <<_ACEOF
38355 /* end confdefs.h. */
38356 #include <$ac_header>
38357 _ACEOF
38358 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38359 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
38360 ac_status=$?
38361 grep -v '^ *+' conftest.er1 >conftest.err
38362 rm -f conftest.er1
38363 cat conftest.err >&5
38364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38365 (exit $ac_status); } >/dev/null; then
38366 if test -s conftest.err; then
38367 ac_cpp_err=$ac_c_preproc_warn_flag
38368 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
38369 else
38370 ac_cpp_err=
38372 else
38373 ac_cpp_err=yes
38375 if test -z "$ac_cpp_err"; then
38376 ac_header_preproc=yes
38377 else
38378 echo "$as_me: failed program was:" >&5
38379 sed 's/^/| /' conftest.$ac_ext >&5
38381 ac_header_preproc=no
38383 rm -f conftest.err conftest.$ac_ext
38384 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38385 echo "${ECHO_T}$ac_header_preproc" >&6
38387 # So? What about this header?
38388 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
38389 yes:no: )
38390 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38391 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38392 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38393 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38394 ac_header_preproc=yes
38396 no:yes:* )
38397 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38398 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38399 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38400 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38401 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38402 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38403 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38404 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38405 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38406 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38407 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38408 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38410 cat <<\_ASBOX
38411 ## ----------------------------------------- ##
38412 ## Report this to the package-unused lists. ##
38413 ## ----------------------------------------- ##
38414 _ASBOX
38416 sed "s/^/$as_me: WARNING: /" >&2
38418 esac
38419 echo "$as_me:$LINENO: checking for $ac_header" >&5
38420 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38421 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38422 echo $ECHO_N "(cached) $ECHO_C" >&6
38423 else
38424 eval "$as_ac_Header=\$ac_header_preproc"
38426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38427 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38430 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38431 cat >>confdefs.h <<_ACEOF
38432 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38433 _ACEOF
38437 done
38440 echo "$as_me:$LINENO: checking for poll" >&5
38441 echo $ECHO_N "checking for poll... $ECHO_C" >&6
38442 if test "${glibcxx_cv_POLL+set}" = set; then
38443 echo $ECHO_N "(cached) $ECHO_C" >&6
38444 else
38446 if test x$gcc_no_link = xyes; then
38447 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38448 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38449 { (exit 1); exit 1; }; }
38451 cat >conftest.$ac_ext <<_ACEOF
38452 /* confdefs.h. */
38453 _ACEOF
38454 cat confdefs.h >>conftest.$ac_ext
38455 cat >>conftest.$ac_ext <<_ACEOF
38456 /* end confdefs.h. */
38457 #include <poll.h>
38459 main ()
38461 struct pollfd pfd[1];
38462 pfd[0].events = POLLIN;
38463 poll(pfd, 1, 0);
38465 return 0;
38467 _ACEOF
38468 rm -f conftest.$ac_objext conftest$ac_exeext
38469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38470 (eval $ac_link) 2>conftest.er1
38471 ac_status=$?
38472 grep -v '^ *+' conftest.er1 >conftest.err
38473 rm -f conftest.er1
38474 cat conftest.err >&5
38475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38476 (exit $ac_status); } &&
38477 { ac_try='test -z "$ac_c_werror_flag"
38478 || test ! -s conftest.err'
38479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38480 (eval $ac_try) 2>&5
38481 ac_status=$?
38482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38483 (exit $ac_status); }; } &&
38484 { ac_try='test -s conftest$ac_exeext'
38485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38486 (eval $ac_try) 2>&5
38487 ac_status=$?
38488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38489 (exit $ac_status); }; }; then
38490 glibcxx_cv_POLL=yes
38491 else
38492 echo "$as_me: failed program was:" >&5
38493 sed 's/^/| /' conftest.$ac_ext >&5
38495 glibcxx_cv_POLL=no
38497 rm -f conftest.err conftest.$ac_objext \
38498 conftest$ac_exeext conftest.$ac_ext
38502 if test $glibcxx_cv_POLL = yes; then
38504 cat >>confdefs.h <<\_ACEOF
38505 #define HAVE_POLL 1
38506 _ACEOF
38509 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
38510 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
38513 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
38514 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
38515 if test "${glibcxx_cv_S_ISREG+set}" = set; then
38516 echo $ECHO_N "(cached) $ECHO_C" >&6
38517 else
38519 if test x$gcc_no_link = xyes; then
38520 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38521 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38522 { (exit 1); exit 1; }; }
38524 cat >conftest.$ac_ext <<_ACEOF
38525 /* confdefs.h. */
38526 _ACEOF
38527 cat confdefs.h >>conftest.$ac_ext
38528 cat >>conftest.$ac_ext <<_ACEOF
38529 /* end confdefs.h. */
38530 #include <sys/stat.h>
38532 main ()
38534 struct stat buffer;
38535 fstat(0, &buffer);
38536 S_ISREG(buffer.st_mode);
38538 return 0;
38540 _ACEOF
38541 rm -f conftest.$ac_objext conftest$ac_exeext
38542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38543 (eval $ac_link) 2>conftest.er1
38544 ac_status=$?
38545 grep -v '^ *+' conftest.er1 >conftest.err
38546 rm -f conftest.er1
38547 cat conftest.err >&5
38548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38549 (exit $ac_status); } &&
38550 { ac_try='test -z "$ac_c_werror_flag"
38551 || test ! -s conftest.err'
38552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38553 (eval $ac_try) 2>&5
38554 ac_status=$?
38555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38556 (exit $ac_status); }; } &&
38557 { ac_try='test -s conftest$ac_exeext'
38558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38559 (eval $ac_try) 2>&5
38560 ac_status=$?
38561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38562 (exit $ac_status); }; }; then
38563 glibcxx_cv_S_ISREG=yes
38564 else
38565 echo "$as_me: failed program was:" >&5
38566 sed 's/^/| /' conftest.$ac_ext >&5
38568 glibcxx_cv_S_ISREG=no
38570 rm -f conftest.err conftest.$ac_objext \
38571 conftest$ac_exeext conftest.$ac_ext
38575 if test "${glibcxx_cv_S_IFREG+set}" = set; then
38576 echo $ECHO_N "(cached) $ECHO_C" >&6
38577 else
38579 if test x$gcc_no_link = xyes; then
38580 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38581 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38582 { (exit 1); exit 1; }; }
38584 cat >conftest.$ac_ext <<_ACEOF
38585 /* confdefs.h. */
38586 _ACEOF
38587 cat confdefs.h >>conftest.$ac_ext
38588 cat >>conftest.$ac_ext <<_ACEOF
38589 /* end confdefs.h. */
38590 #include <sys/stat.h>
38592 main ()
38594 struct stat buffer;
38595 fstat(0, &buffer);
38596 S_IFREG & buffer.st_mode;
38598 return 0;
38600 _ACEOF
38601 rm -f conftest.$ac_objext conftest$ac_exeext
38602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38603 (eval $ac_link) 2>conftest.er1
38604 ac_status=$?
38605 grep -v '^ *+' conftest.er1 >conftest.err
38606 rm -f conftest.er1
38607 cat conftest.err >&5
38608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38609 (exit $ac_status); } &&
38610 { ac_try='test -z "$ac_c_werror_flag"
38611 || test ! -s conftest.err'
38612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38613 (eval $ac_try) 2>&5
38614 ac_status=$?
38615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38616 (exit $ac_status); }; } &&
38617 { ac_try='test -s conftest$ac_exeext'
38618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38619 (eval $ac_try) 2>&5
38620 ac_status=$?
38621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38622 (exit $ac_status); }; }; then
38623 glibcxx_cv_S_IFREG=yes
38624 else
38625 echo "$as_me: failed program was:" >&5
38626 sed 's/^/| /' conftest.$ac_ext >&5
38628 glibcxx_cv_S_IFREG=no
38630 rm -f conftest.err conftest.$ac_objext \
38631 conftest$ac_exeext conftest.$ac_ext
38635 res=no
38636 if test $glibcxx_cv_S_ISREG = yes; then
38638 cat >>confdefs.h <<\_ACEOF
38639 #define HAVE_S_ISREG 1
38640 _ACEOF
38642 res=S_ISREG
38643 elif test $glibcxx_cv_S_IFREG = yes; then
38645 cat >>confdefs.h <<\_ACEOF
38646 #define HAVE_S_IFREG 1
38647 _ACEOF
38649 res=S_IFREG
38651 echo "$as_me:$LINENO: result: $res" >&5
38652 echo "${ECHO_T}$res" >&6
38655 # For xsputn_2().
38657 for ac_header in sys/uio.h
38659 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38660 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38661 echo "$as_me:$LINENO: checking for $ac_header" >&5
38662 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38663 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38664 echo $ECHO_N "(cached) $ECHO_C" >&6
38666 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38667 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38668 else
38669 # Is the header compilable?
38670 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38671 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38672 cat >conftest.$ac_ext <<_ACEOF
38673 /* confdefs.h. */
38674 _ACEOF
38675 cat confdefs.h >>conftest.$ac_ext
38676 cat >>conftest.$ac_ext <<_ACEOF
38677 /* end confdefs.h. */
38678 $ac_includes_default
38679 #include <$ac_header>
38680 _ACEOF
38681 rm -f conftest.$ac_objext
38682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38683 (eval $ac_compile) 2>conftest.er1
38684 ac_status=$?
38685 grep -v '^ *+' conftest.er1 >conftest.err
38686 rm -f conftest.er1
38687 cat conftest.err >&5
38688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38689 (exit $ac_status); } &&
38690 { ac_try='test -z "$ac_c_werror_flag"
38691 || test ! -s conftest.err'
38692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38693 (eval $ac_try) 2>&5
38694 ac_status=$?
38695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38696 (exit $ac_status); }; } &&
38697 { ac_try='test -s conftest.$ac_objext'
38698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38699 (eval $ac_try) 2>&5
38700 ac_status=$?
38701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38702 (exit $ac_status); }; }; then
38703 ac_header_compiler=yes
38704 else
38705 echo "$as_me: failed program was:" >&5
38706 sed 's/^/| /' conftest.$ac_ext >&5
38708 ac_header_compiler=no
38710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38711 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38712 echo "${ECHO_T}$ac_header_compiler" >&6
38714 # Is the header present?
38715 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38716 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38717 cat >conftest.$ac_ext <<_ACEOF
38718 /* confdefs.h. */
38719 _ACEOF
38720 cat confdefs.h >>conftest.$ac_ext
38721 cat >>conftest.$ac_ext <<_ACEOF
38722 /* end confdefs.h. */
38723 #include <$ac_header>
38724 _ACEOF
38725 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38726 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
38727 ac_status=$?
38728 grep -v '^ *+' conftest.er1 >conftest.err
38729 rm -f conftest.er1
38730 cat conftest.err >&5
38731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38732 (exit $ac_status); } >/dev/null; then
38733 if test -s conftest.err; then
38734 ac_cpp_err=$ac_c_preproc_warn_flag
38735 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
38736 else
38737 ac_cpp_err=
38739 else
38740 ac_cpp_err=yes
38742 if test -z "$ac_cpp_err"; then
38743 ac_header_preproc=yes
38744 else
38745 echo "$as_me: failed program was:" >&5
38746 sed 's/^/| /' conftest.$ac_ext >&5
38748 ac_header_preproc=no
38750 rm -f conftest.err conftest.$ac_ext
38751 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38752 echo "${ECHO_T}$ac_header_preproc" >&6
38754 # So? What about this header?
38755 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
38756 yes:no: )
38757 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38758 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38759 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38760 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38761 ac_header_preproc=yes
38763 no:yes:* )
38764 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38765 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38766 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38767 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38768 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38769 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38770 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38771 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38772 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38773 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38774 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38775 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38777 cat <<\_ASBOX
38778 ## ----------------------------------------- ##
38779 ## Report this to the package-unused lists. ##
38780 ## ----------------------------------------- ##
38781 _ASBOX
38783 sed "s/^/$as_me: WARNING: /" >&2
38785 esac
38786 echo "$as_me:$LINENO: checking for $ac_header" >&5
38787 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38788 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38789 echo $ECHO_N "(cached) $ECHO_C" >&6
38790 else
38791 eval "$as_ac_Header=\$ac_header_preproc"
38793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38794 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38797 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38798 cat >>confdefs.h <<_ACEOF
38799 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38800 _ACEOF
38804 done
38807 echo "$as_me:$LINENO: checking for writev" >&5
38808 echo $ECHO_N "checking for writev... $ECHO_C" >&6
38809 if test "${glibcxx_cv_WRITEV+set}" = set; then
38810 echo $ECHO_N "(cached) $ECHO_C" >&6
38811 else
38813 if test x$gcc_no_link = xyes; then
38814 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38815 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38816 { (exit 1); exit 1; }; }
38818 cat >conftest.$ac_ext <<_ACEOF
38819 /* confdefs.h. */
38820 _ACEOF
38821 cat confdefs.h >>conftest.$ac_ext
38822 cat >>conftest.$ac_ext <<_ACEOF
38823 /* end confdefs.h. */
38824 #include <sys/uio.h>
38826 main ()
38828 struct iovec iov[2];
38829 writev(0, iov, 0);
38831 return 0;
38833 _ACEOF
38834 rm -f conftest.$ac_objext conftest$ac_exeext
38835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38836 (eval $ac_link) 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); } &&
38843 { ac_try='test -z "$ac_c_werror_flag"
38844 || test ! -s conftest.err'
38845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38846 (eval $ac_try) 2>&5
38847 ac_status=$?
38848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38849 (exit $ac_status); }; } &&
38850 { ac_try='test -s conftest$ac_exeext'
38851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38852 (eval $ac_try) 2>&5
38853 ac_status=$?
38854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38855 (exit $ac_status); }; }; then
38856 glibcxx_cv_WRITEV=yes
38857 else
38858 echo "$as_me: failed program was:" >&5
38859 sed 's/^/| /' conftest.$ac_ext >&5
38861 glibcxx_cv_WRITEV=no
38863 rm -f conftest.err conftest.$ac_objext \
38864 conftest$ac_exeext conftest.$ac_ext
38868 if test $glibcxx_cv_WRITEV = yes; then
38870 cat >>confdefs.h <<\_ACEOF
38871 #define HAVE_WRITEV 1
38872 _ACEOF
38875 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
38876 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
38879 # For the __streamoff_base_type typedef.
38881 echo "$as_me:$LINENO: checking for int64_t" >&5
38882 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
38883 if test "${glibcxx_cv_INT64_T+set}" = set; then
38884 echo $ECHO_N "(cached) $ECHO_C" >&6
38885 else
38887 cat >conftest.$ac_ext <<_ACEOF
38888 /* confdefs.h. */
38889 _ACEOF
38890 cat confdefs.h >>conftest.$ac_ext
38891 cat >>conftest.$ac_ext <<_ACEOF
38892 /* end confdefs.h. */
38893 #include <stdint.h>
38895 main ()
38897 int64_t var;
38899 return 0;
38901 _ACEOF
38902 rm -f conftest.$ac_objext
38903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38904 (eval $ac_compile) 2>conftest.er1
38905 ac_status=$?
38906 grep -v '^ *+' conftest.er1 >conftest.err
38907 rm -f conftest.er1
38908 cat conftest.err >&5
38909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38910 (exit $ac_status); } &&
38911 { ac_try='test -z "$ac_c_werror_flag"
38912 || test ! -s conftest.err'
38913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38914 (eval $ac_try) 2>&5
38915 ac_status=$?
38916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38917 (exit $ac_status); }; } &&
38918 { ac_try='test -s conftest.$ac_objext'
38919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38920 (eval $ac_try) 2>&5
38921 ac_status=$?
38922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38923 (exit $ac_status); }; }; then
38924 glibcxx_cv_INT64_T=yes
38925 else
38926 echo "$as_me: failed program was:" >&5
38927 sed 's/^/| /' conftest.$ac_ext >&5
38929 glibcxx_cv_INT64_T=no
38931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38935 if test $glibcxx_cv_INT64_T = yes; then
38937 cat >>confdefs.h <<\_ACEOF
38938 #define HAVE_INT64_T 1
38939 _ACEOF
38942 echo "$as_me:$LINENO: result: $glibcxx_cv_INT64_T" >&5
38943 echo "${ECHO_T}$glibcxx_cv_INT64_T" >&6
38946 # For LFS support.
38950 ac_ext=cc
38951 ac_cpp='$CXXCPP $CPPFLAGS'
38952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38956 ac_save_CXXFLAGS="$CXXFLAGS"
38957 CXXFLAGS="$CXXFLAGS -fno-exceptions"
38958 echo "$as_me:$LINENO: checking for LFS support" >&5
38959 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
38960 if test "${glibcxx_cv_LFS+set}" = set; then
38961 echo $ECHO_N "(cached) $ECHO_C" >&6
38962 else
38964 if test x$gcc_no_link = xyes; then
38965 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38966 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38967 { (exit 1); exit 1; }; }
38969 cat >conftest.$ac_ext <<_ACEOF
38970 /* confdefs.h. */
38971 _ACEOF
38972 cat confdefs.h >>conftest.$ac_ext
38973 cat >>conftest.$ac_ext <<_ACEOF
38974 /* end confdefs.h. */
38975 #include <unistd.h>
38976 #include <stdio.h>
38977 #include <sys/stat.h>
38980 main ()
38982 FILE* fp;
38983 fopen64("t", "w");
38984 fseeko64(fp, 0, SEEK_CUR);
38985 ftello64(fp);
38986 lseek64(1, 0, SEEK_CUR);
38987 struct stat64 buf;
38988 fstat64(1, &buf);
38990 return 0;
38992 _ACEOF
38993 rm -f conftest.$ac_objext conftest$ac_exeext
38994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38995 (eval $ac_link) 2>conftest.er1
38996 ac_status=$?
38997 grep -v '^ *+' conftest.er1 >conftest.err
38998 rm -f conftest.er1
38999 cat conftest.err >&5
39000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39001 (exit $ac_status); } &&
39002 { ac_try='test -z "$ac_cxx_werror_flag"
39003 || test ! -s conftest.err'
39004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39005 (eval $ac_try) 2>&5
39006 ac_status=$?
39007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39008 (exit $ac_status); }; } &&
39009 { ac_try='test -s conftest$ac_exeext'
39010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39011 (eval $ac_try) 2>&5
39012 ac_status=$?
39013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39014 (exit $ac_status); }; }; then
39015 glibcxx_cv_LFS=yes
39016 else
39017 echo "$as_me: failed program was:" >&5
39018 sed 's/^/| /' conftest.$ac_ext >&5
39020 glibcxx_cv_LFS=no
39022 rm -f conftest.err conftest.$ac_objext \
39023 conftest$ac_exeext conftest.$ac_ext
39027 if test $glibcxx_cv_LFS = yes; then
39029 cat >>confdefs.h <<\_ACEOF
39030 #define _GLIBCXX_USE_LFS 1
39031 _ACEOF
39034 echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
39035 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
39036 CXXFLAGS="$ac_save_CXXFLAGS"
39037 ac_ext=c
39038 ac_cpp='$CPP $CPPFLAGS'
39039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39045 # For C99 support to TR1.
39050 ac_ext=cc
39051 ac_cpp='$CXXCPP $CPPFLAGS'
39052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39057 # Check for the existence of <complex.h> complex math functions used
39058 # by tr1/complex.
39060 for ac_header in complex.h
39062 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39063 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39064 echo "$as_me:$LINENO: checking for $ac_header" >&5
39065 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39066 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39067 echo $ECHO_N "(cached) $ECHO_C" >&6
39069 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39070 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39071 else
39072 # Is the header compilable?
39073 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39074 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39075 cat >conftest.$ac_ext <<_ACEOF
39076 /* confdefs.h. */
39077 _ACEOF
39078 cat confdefs.h >>conftest.$ac_ext
39079 cat >>conftest.$ac_ext <<_ACEOF
39080 /* end confdefs.h. */
39081 $ac_includes_default
39082 #include <$ac_header>
39083 _ACEOF
39084 rm -f conftest.$ac_objext
39085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39086 (eval $ac_compile) 2>conftest.er1
39087 ac_status=$?
39088 grep -v '^ *+' conftest.er1 >conftest.err
39089 rm -f conftest.er1
39090 cat conftest.err >&5
39091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39092 (exit $ac_status); } &&
39093 { ac_try='test -z "$ac_cxx_werror_flag"
39094 || test ! -s conftest.err'
39095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39096 (eval $ac_try) 2>&5
39097 ac_status=$?
39098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39099 (exit $ac_status); }; } &&
39100 { ac_try='test -s conftest.$ac_objext'
39101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39102 (eval $ac_try) 2>&5
39103 ac_status=$?
39104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39105 (exit $ac_status); }; }; then
39106 ac_header_compiler=yes
39107 else
39108 echo "$as_me: failed program was:" >&5
39109 sed 's/^/| /' conftest.$ac_ext >&5
39111 ac_header_compiler=no
39113 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39114 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39115 echo "${ECHO_T}$ac_header_compiler" >&6
39117 # Is the header present?
39118 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39119 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39120 cat >conftest.$ac_ext <<_ACEOF
39121 /* confdefs.h. */
39122 _ACEOF
39123 cat confdefs.h >>conftest.$ac_ext
39124 cat >>conftest.$ac_ext <<_ACEOF
39125 /* end confdefs.h. */
39126 #include <$ac_header>
39127 _ACEOF
39128 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39129 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39130 ac_status=$?
39131 grep -v '^ *+' conftest.er1 >conftest.err
39132 rm -f conftest.er1
39133 cat conftest.err >&5
39134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39135 (exit $ac_status); } >/dev/null; then
39136 if test -s conftest.err; then
39137 ac_cpp_err=$ac_cxx_preproc_warn_flag
39138 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
39139 else
39140 ac_cpp_err=
39142 else
39143 ac_cpp_err=yes
39145 if test -z "$ac_cpp_err"; then
39146 ac_header_preproc=yes
39147 else
39148 echo "$as_me: failed program was:" >&5
39149 sed 's/^/| /' conftest.$ac_ext >&5
39151 ac_header_preproc=no
39153 rm -f conftest.err conftest.$ac_ext
39154 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39155 echo "${ECHO_T}$ac_header_preproc" >&6
39157 # So? What about this header?
39158 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
39159 yes:no: )
39160 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39161 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39162 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39163 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39164 ac_header_preproc=yes
39166 no:yes:* )
39167 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39168 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39169 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39170 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39171 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39172 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39173 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39174 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39175 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39176 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39177 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39178 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39180 cat <<\_ASBOX
39181 ## ----------------------------------------- ##
39182 ## Report this to the package-unused lists. ##
39183 ## ----------------------------------------- ##
39184 _ASBOX
39186 sed "s/^/$as_me: WARNING: /" >&2
39188 esac
39189 echo "$as_me:$LINENO: checking for $ac_header" >&5
39190 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39191 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39192 echo $ECHO_N "(cached) $ECHO_C" >&6
39193 else
39194 eval "$as_ac_Header=\$ac_header_preproc"
39196 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39197 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39200 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39201 cat >>confdefs.h <<_ACEOF
39202 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39203 _ACEOF
39204 ac_has_complex_h=yes
39205 else
39206 ac_has_complex_h=no
39209 done
39211 ac_c99_complex_tr1=no;
39212 if test x"$ac_has_complex_h" = x"yes"; then
39213 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <complex.h>" >&5
39214 echo $ECHO_N "checking for ISO C99 support to TR1 in <complex.h>... $ECHO_C" >&6
39215 cat >conftest.$ac_ext <<_ACEOF
39216 /* confdefs.h. */
39217 _ACEOF
39218 cat confdefs.h >>conftest.$ac_ext
39219 cat >>conftest.$ac_ext <<_ACEOF
39220 /* end confdefs.h. */
39221 #include <complex.h>
39223 main ()
39225 typedef __complex__ float float_type; float_type tmpf;
39226 cacosf(tmpf);
39227 casinf(tmpf);
39228 catanf(tmpf);
39229 cacoshf(tmpf);
39230 casinhf(tmpf);
39231 catanhf(tmpf);
39232 typedef __complex__ double double_type; double_type tmpd;
39233 cacos(tmpd);
39234 casin(tmpd);
39235 catan(tmpd);
39236 cacosh(tmpd);
39237 casinh(tmpd);
39238 catanh(tmpd);
39239 typedef __complex__ long double ld_type; ld_type tmpld;
39240 cacosl(tmpld);
39241 casinl(tmpld);
39242 catanl(tmpld);
39243 cacoshl(tmpld);
39244 casinhl(tmpld);
39245 catanhl(tmpld);
39248 return 0;
39250 _ACEOF
39251 rm -f conftest.$ac_objext
39252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39253 (eval $ac_compile) 2>conftest.er1
39254 ac_status=$?
39255 grep -v '^ *+' conftest.er1 >conftest.err
39256 rm -f conftest.er1
39257 cat conftest.err >&5
39258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39259 (exit $ac_status); } &&
39260 { ac_try='test -z "$ac_cxx_werror_flag"
39261 || test ! -s conftest.err'
39262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39263 (eval $ac_try) 2>&5
39264 ac_status=$?
39265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39266 (exit $ac_status); }; } &&
39267 { ac_try='test -s conftest.$ac_objext'
39268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39269 (eval $ac_try) 2>&5
39270 ac_status=$?
39271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39272 (exit $ac_status); }; }; then
39273 ac_c99_complex_tr1=yes
39274 else
39275 echo "$as_me: failed program was:" >&5
39276 sed 's/^/| /' conftest.$ac_ext >&5
39278 ac_c99_complex_tr1=no
39280 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39282 echo "$as_me:$LINENO: result: $ac_c99_complex_tr1" >&5
39283 echo "${ECHO_T}$ac_c99_complex_tr1" >&6
39284 if test x"$ac_c99_complex_tr1" = x"yes"; then
39286 cat >>confdefs.h <<\_ACEOF
39287 #define _GLIBCXX_USE_C99_COMPLEX_TR1 1
39288 _ACEOF
39292 # Check for the existence of <ctype.h> functions.
39293 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <ctype.h>" >&5
39294 echo $ECHO_N "checking for ISO C99 support to TR1 in <ctype.h>... $ECHO_C" >&6
39295 if test "${ac_c99_ctype_tr1+set}" = set; then
39296 echo $ECHO_N "(cached) $ECHO_C" >&6
39297 else
39299 cat >conftest.$ac_ext <<_ACEOF
39300 /* confdefs.h. */
39301 _ACEOF
39302 cat confdefs.h >>conftest.$ac_ext
39303 cat >>conftest.$ac_ext <<_ACEOF
39304 /* end confdefs.h. */
39305 #include <ctype.h>
39307 main ()
39309 int ch;
39310 int ret;
39311 ret = isblank(ch);
39314 return 0;
39316 _ACEOF
39317 rm -f conftest.$ac_objext
39318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39319 (eval $ac_compile) 2>conftest.er1
39320 ac_status=$?
39321 grep -v '^ *+' conftest.er1 >conftest.err
39322 rm -f conftest.er1
39323 cat conftest.err >&5
39324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39325 (exit $ac_status); } &&
39326 { ac_try='test -z "$ac_cxx_werror_flag"
39327 || test ! -s conftest.err'
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); }; } &&
39333 { ac_try='test -s conftest.$ac_objext'
39334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39335 (eval $ac_try) 2>&5
39336 ac_status=$?
39337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39338 (exit $ac_status); }; }; then
39339 ac_c99_ctype_tr1=yes
39340 else
39341 echo "$as_me: failed program was:" >&5
39342 sed 's/^/| /' conftest.$ac_ext >&5
39344 ac_c99_ctype_tr1=no
39346 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39350 echo "$as_me:$LINENO: result: $ac_c99_ctype_tr1" >&5
39351 echo "${ECHO_T}$ac_c99_ctype_tr1" >&6
39352 if test x"$ac_c99_ctype_tr1" = x"yes"; then
39354 cat >>confdefs.h <<\_ACEOF
39355 #define _GLIBCXX_USE_C99_CTYPE_TR1 1
39356 _ACEOF
39360 # Check for the existence of <fenv.h> functions.
39362 for ac_header in fenv.h
39364 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39365 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39366 echo "$as_me:$LINENO: checking for $ac_header" >&5
39367 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39368 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39369 echo $ECHO_N "(cached) $ECHO_C" >&6
39371 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39372 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39373 else
39374 # Is the header compilable?
39375 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39376 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39377 cat >conftest.$ac_ext <<_ACEOF
39378 /* confdefs.h. */
39379 _ACEOF
39380 cat confdefs.h >>conftest.$ac_ext
39381 cat >>conftest.$ac_ext <<_ACEOF
39382 /* end confdefs.h. */
39383 $ac_includes_default
39384 #include <$ac_header>
39385 _ACEOF
39386 rm -f conftest.$ac_objext
39387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39388 (eval $ac_compile) 2>conftest.er1
39389 ac_status=$?
39390 grep -v '^ *+' conftest.er1 >conftest.err
39391 rm -f conftest.er1
39392 cat conftest.err >&5
39393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39394 (exit $ac_status); } &&
39395 { ac_try='test -z "$ac_cxx_werror_flag"
39396 || test ! -s conftest.err'
39397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39398 (eval $ac_try) 2>&5
39399 ac_status=$?
39400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39401 (exit $ac_status); }; } &&
39402 { ac_try='test -s conftest.$ac_objext'
39403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39404 (eval $ac_try) 2>&5
39405 ac_status=$?
39406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39407 (exit $ac_status); }; }; then
39408 ac_header_compiler=yes
39409 else
39410 echo "$as_me: failed program was:" >&5
39411 sed 's/^/| /' conftest.$ac_ext >&5
39413 ac_header_compiler=no
39415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39416 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39417 echo "${ECHO_T}$ac_header_compiler" >&6
39419 # Is the header present?
39420 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39421 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39422 cat >conftest.$ac_ext <<_ACEOF
39423 /* confdefs.h. */
39424 _ACEOF
39425 cat confdefs.h >>conftest.$ac_ext
39426 cat >>conftest.$ac_ext <<_ACEOF
39427 /* end confdefs.h. */
39428 #include <$ac_header>
39429 _ACEOF
39430 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39431 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39432 ac_status=$?
39433 grep -v '^ *+' conftest.er1 >conftest.err
39434 rm -f conftest.er1
39435 cat conftest.err >&5
39436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39437 (exit $ac_status); } >/dev/null; then
39438 if test -s conftest.err; then
39439 ac_cpp_err=$ac_cxx_preproc_warn_flag
39440 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
39441 else
39442 ac_cpp_err=
39444 else
39445 ac_cpp_err=yes
39447 if test -z "$ac_cpp_err"; then
39448 ac_header_preproc=yes
39449 else
39450 echo "$as_me: failed program was:" >&5
39451 sed 's/^/| /' conftest.$ac_ext >&5
39453 ac_header_preproc=no
39455 rm -f conftest.err conftest.$ac_ext
39456 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39457 echo "${ECHO_T}$ac_header_preproc" >&6
39459 # So? What about this header?
39460 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
39461 yes:no: )
39462 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39463 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39464 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39465 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39466 ac_header_preproc=yes
39468 no:yes:* )
39469 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39470 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39471 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39472 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39473 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39474 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39475 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39476 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39477 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39478 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39479 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39480 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39482 cat <<\_ASBOX
39483 ## ----------------------------------------- ##
39484 ## Report this to the package-unused lists. ##
39485 ## ----------------------------------------- ##
39486 _ASBOX
39488 sed "s/^/$as_me: WARNING: /" >&2
39490 esac
39491 echo "$as_me:$LINENO: checking for $ac_header" >&5
39492 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39493 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39494 echo $ECHO_N "(cached) $ECHO_C" >&6
39495 else
39496 eval "$as_ac_Header=\$ac_header_preproc"
39498 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39499 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39502 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39503 cat >>confdefs.h <<_ACEOF
39504 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39505 _ACEOF
39506 ac_has_fenv_h=yes
39507 else
39508 ac_has_fenv_h=no
39511 done
39513 ac_c99_fenv_tr1=no;
39514 if test x"$ac_has_fenv_h" = x"yes"; then
39515 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <fenv.h>" >&5
39516 echo $ECHO_N "checking for ISO C99 support to TR1 in <fenv.h>... $ECHO_C" >&6
39517 cat >conftest.$ac_ext <<_ACEOF
39518 /* confdefs.h. */
39519 _ACEOF
39520 cat confdefs.h >>conftest.$ac_ext
39521 cat >>conftest.$ac_ext <<_ACEOF
39522 /* end confdefs.h. */
39523 #include <fenv.h>
39525 main ()
39527 int except, mode;
39528 fexcept_t* pflag;
39529 fenv_t* penv;
39530 int ret;
39531 ret = feclearexcept(except);
39532 ret = fegetexceptflag(pflag, except);
39533 ret = feraiseexcept(except);
39534 ret = fesetexceptflag(pflag, except);
39535 ret = fetestexcept(except);
39536 ret = fegetround();
39537 ret = fesetround(mode);
39538 ret = fegetenv(penv);
39539 ret = feholdexcept(penv);
39540 ret = fesetenv(penv);
39541 ret = feupdateenv(penv);
39544 return 0;
39546 _ACEOF
39547 rm -f conftest.$ac_objext
39548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39549 (eval $ac_compile) 2>conftest.er1
39550 ac_status=$?
39551 grep -v '^ *+' conftest.er1 >conftest.err
39552 rm -f conftest.er1
39553 cat conftest.err >&5
39554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39555 (exit $ac_status); } &&
39556 { ac_try='test -z "$ac_cxx_werror_flag"
39557 || test ! -s conftest.err'
39558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39559 (eval $ac_try) 2>&5
39560 ac_status=$?
39561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39562 (exit $ac_status); }; } &&
39563 { ac_try='test -s conftest.$ac_objext'
39564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39565 (eval $ac_try) 2>&5
39566 ac_status=$?
39567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39568 (exit $ac_status); }; }; then
39569 ac_c99_fenv_tr1=yes
39570 else
39571 echo "$as_me: failed program was:" >&5
39572 sed 's/^/| /' conftest.$ac_ext >&5
39574 ac_c99_fenv_tr1=no
39576 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39578 echo "$as_me:$LINENO: result: $ac_c99_fenv_tr1" >&5
39579 echo "${ECHO_T}$ac_c99_fenv_tr1" >&6
39580 if test x"$ac_c99_fenv_tr1" = x"yes"; then
39582 cat >>confdefs.h <<\_ACEOF
39583 #define _GLIBCXX_USE_C99_FENV_TR1 1
39584 _ACEOF
39588 # Check for the existence of <stdint.h> types.
39589 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <stdint.h>" >&5
39590 echo $ECHO_N "checking for ISO C99 support to TR1 in <stdint.h>... $ECHO_C" >&6
39591 if test "${ac_c99_stdint_tr1+set}" = set; then
39592 echo $ECHO_N "(cached) $ECHO_C" >&6
39593 else
39595 cat >conftest.$ac_ext <<_ACEOF
39596 /* confdefs.h. */
39597 _ACEOF
39598 cat confdefs.h >>conftest.$ac_ext
39599 cat >>conftest.$ac_ext <<_ACEOF
39600 /* end confdefs.h. */
39601 #include <stdint.h>
39603 main ()
39605 typedef int8_t my_int8_t;
39606 typedef int16_t my_int16_t;
39607 typedef int32_t my_int32_t;
39608 typedef int64_t my_int64_t;
39609 typedef int_fast8_t my_int_fast8_t;
39610 typedef int_fast16_t my_int_fast16_t;
39611 typedef int_fast32_t my_int_fast32_t;
39612 typedef int_fast64_t my_int_fast64_t;
39613 typedef int_least8_t my_int_least8_t;
39614 typedef int_least16_t my_int_least16_t;
39615 typedef int_least32_t my_int_least32_t;
39616 typedef int_least64_t my_int_least64_t;
39617 typedef intmax_t my_intmax_t;
39618 typedef intptr_t my_intptr_t;
39619 typedef uint8_t my_uint8_t;
39620 typedef uint16_t my_uint16_t;
39621 typedef uint32_t my_uint32_t;
39622 typedef uint64_t my_uint64_t;
39623 typedef uint_fast8_t my_uint_fast8_t;
39624 typedef uint_fast16_t my_uint_fast16_t;
39625 typedef uint_fast32_t my_uint_fast32_t;
39626 typedef uint_fast64_t my_uint_fast64_t;
39627 typedef uint_least8_t my_uint_least8_t;
39628 typedef uint_least16_t my_uint_least16_t;
39629 typedef uint_least32_t my_uint_least32_t;
39630 typedef uint_least64_t my_uint_least64_t;
39631 typedef uintmax_t my_uintmax_t;
39632 typedef uintptr_t my_uintptr_t;
39635 return 0;
39637 _ACEOF
39638 rm -f conftest.$ac_objext
39639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39640 (eval $ac_compile) 2>conftest.er1
39641 ac_status=$?
39642 grep -v '^ *+' conftest.er1 >conftest.err
39643 rm -f conftest.er1
39644 cat conftest.err >&5
39645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39646 (exit $ac_status); } &&
39647 { ac_try='test -z "$ac_cxx_werror_flag"
39648 || test ! -s conftest.err'
39649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39650 (eval $ac_try) 2>&5
39651 ac_status=$?
39652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39653 (exit $ac_status); }; } &&
39654 { ac_try='test -s conftest.$ac_objext'
39655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39656 (eval $ac_try) 2>&5
39657 ac_status=$?
39658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39659 (exit $ac_status); }; }; then
39660 ac_c99_stdint_tr1=yes
39661 else
39662 echo "$as_me: failed program was:" >&5
39663 sed 's/^/| /' conftest.$ac_ext >&5
39665 ac_c99_stdint_tr1=no
39667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39671 echo "$as_me:$LINENO: result: $ac_c99_stdint_tr1" >&5
39672 echo "${ECHO_T}$ac_c99_stdint_tr1" >&6
39673 if test x"$ac_c99_stdint_tr1" = x"yes"; then
39675 cat >>confdefs.h <<\_ACEOF
39676 #define _GLIBCXX_USE_C99_STDINT_TR1 1
39677 _ACEOF
39681 # Check for the existence of <math.h> functions.
39682 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <math.h>" >&5
39683 echo $ECHO_N "checking for ISO C99 support to TR1 in <math.h>... $ECHO_C" >&6
39684 if test "${ac_c99_math_tr1+set}" = set; then
39685 echo $ECHO_N "(cached) $ECHO_C" >&6
39686 else
39688 cat >conftest.$ac_ext <<_ACEOF
39689 /* confdefs.h. */
39690 _ACEOF
39691 cat confdefs.h >>conftest.$ac_ext
39692 cat >>conftest.$ac_ext <<_ACEOF
39693 /* end confdefs.h. */
39694 #include <math.h>
39696 main ()
39698 typedef double_t my_double_t;
39699 typedef float_t my_float_t;
39700 acosh(0.0);
39701 acoshf(0.0f);
39702 acoshl(0.0l);
39703 asinh(0.0);
39704 asinhf(0.0f);
39705 asinhl(0.0l);
39706 atanh(0.0);
39707 atanhf(0.0f);
39708 atanhl(0.0l);
39709 cbrt(0.0);
39710 cbrtf(0.0f);
39711 cbrtl(0.0l);
39712 copysign(0.0, 0.0);
39713 copysignf(0.0f, 0.0f);
39714 copysignl(0.0l, 0.0l);
39715 erf(0.0);
39716 erff(0.0f);
39717 erfl(0.0l);
39718 erfc(0.0);
39719 erfcf(0.0f);
39720 erfcl(0.0l);
39721 exp2(0.0);
39722 exp2f(0.0f);
39723 exp2l(0.0l);
39724 expm1(0.0);
39725 expm1f(0.0f);
39726 expm1l(0.0l);
39727 fdim(0.0, 0.0);
39728 fdimf(0.0f, 0.0f);
39729 fdiml(0.0l, 0.0l);
39730 fma(0.0, 0.0, 0.0);
39731 fmaf(0.0f, 0.0f, 0.0f);
39732 fmal(0.0l, 0.0l, 0.0l);
39733 fmax(0.0, 0.0);
39734 fmaxf(0.0f, 0.0f);
39735 fmaxl(0.0l, 0.0l);
39736 fmin(0.0, 0.0);
39737 fminf(0.0f, 0.0f);
39738 fminl(0.0l, 0.0l);
39739 hypot(0.0, 0.0);
39740 hypotf(0.0f, 0.0f);
39741 hypotl(0.0l, 0.0l);
39742 ilogb(0.0);
39743 ilogbf(0.0f);
39744 ilogbl(0.0l);
39745 lgamma(0.0);
39746 lgammaf(0.0f);
39747 lgammal(0.0l);
39748 llrint(0.0);
39749 llrintf(0.0f);
39750 llrintl(0.0l);
39751 llround(0.0);
39752 llroundf(0.0f);
39753 llroundl(0.0l);
39754 log1p(0.0);
39755 log1pf(0.0f);
39756 log1pl(0.0l);
39757 log2(0.0);
39758 log2f(0.0f);
39759 log2l(0.0l);
39760 logb(0.0);
39761 logbf(0.0f);
39762 logbl(0.0l);
39763 lrint(0.0);
39764 lrintf(0.0f);
39765 lrintl(0.0l);
39766 lround(0.0);
39767 lroundf(0.0f);
39768 lroundl(0.0l);
39769 nan(0);
39770 nanf(0);
39771 nanl(0);
39772 nearbyint(0.0);
39773 nearbyintf(0.0f);
39774 nearbyintl(0.0l);
39775 nextafter(0.0, 0.0);
39776 nextafterf(0.0f, 0.0f);
39777 nextafterl(0.0l, 0.0l);
39778 nexttoward(0.0, 0.0);
39779 nexttowardf(0.0f, 0.0f);
39780 nexttowardl(0.0l, 0.0l);
39781 remainder(0.0, 0.0);
39782 remainderf(0.0f, 0.0f);
39783 remainderl(0.0l, 0.0l);
39784 remquo(0.0, 0.0, 0);
39785 remquo(0.0f, 0.0f, 0);
39786 remquo(0.0l, 0.0l, 0);
39787 rint(0.0);
39788 rintf(0.0f);
39789 rintl(0.0l);
39790 round(0.0);
39791 roundf(0.0f);
39792 roundl(0.0l);
39793 scalbln(0.0, 0l);
39794 scalblnf(0.0f, 0l);
39795 scalblnl(0.0l, 0l);
39796 scalbn(0.0, 0);
39797 scalbnf(0.0f, 0);
39798 scalbnl(0.0l, 0);
39799 tgamma(0.0);
39800 tgammaf(0.0f);
39801 tgammal(0.0l);
39802 trunc(0.0);
39803 truncf(0.0f);
39804 truncl(0.0l);
39807 return 0;
39809 _ACEOF
39810 rm -f conftest.$ac_objext
39811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39812 (eval $ac_compile) 2>conftest.er1
39813 ac_status=$?
39814 grep -v '^ *+' conftest.er1 >conftest.err
39815 rm -f conftest.er1
39816 cat conftest.err >&5
39817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39818 (exit $ac_status); } &&
39819 { ac_try='test -z "$ac_cxx_werror_flag"
39820 || test ! -s conftest.err'
39821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39822 (eval $ac_try) 2>&5
39823 ac_status=$?
39824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39825 (exit $ac_status); }; } &&
39826 { ac_try='test -s conftest.$ac_objext'
39827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39828 (eval $ac_try) 2>&5
39829 ac_status=$?
39830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39831 (exit $ac_status); }; }; then
39832 ac_c99_math_tr1=yes
39833 else
39834 echo "$as_me: failed program was:" >&5
39835 sed 's/^/| /' conftest.$ac_ext >&5
39837 ac_c99_math_tr1=no
39839 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39843 echo "$as_me:$LINENO: result: $ac_c99_math_tr1" >&5
39844 echo "${ECHO_T}$ac_c99_math_tr1" >&6
39845 if test x"$ac_c99_math_tr1" = x"yes"; then
39847 cat >>confdefs.h <<\_ACEOF
39848 #define _GLIBCXX_USE_C99_MATH_TR1 1
39849 _ACEOF
39853 # Check for the existence of <inttypes.h> functions (NB: doesn't make
39854 # sense if the previous check fails, per C99, 7.8/1).
39855 ac_c99_inttypes_tr1=no;
39856 if test x"$ac_c99_stdint_tr1" = x"yes"; then
39857 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
39858 echo $ECHO_N "checking for ISO C99 support to TR1 in <inttypes.h>... $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 #include <inttypes.h>
39867 main ()
39869 intmax_t i, numer, denom, base;
39870 const char* s;
39871 char** endptr;
39872 intmax_t ret = imaxabs(i);
39873 imaxdiv_t dret = imaxdiv(numer, denom);
39874 ret = strtoimax(s, endptr, base);
39875 uintmax_t uret = strtoumax(s, endptr, base);
39878 return 0;
39880 _ACEOF
39881 rm -f conftest.$ac_objext
39882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39883 (eval $ac_compile) 2>conftest.er1
39884 ac_status=$?
39885 grep -v '^ *+' conftest.er1 >conftest.err
39886 rm -f conftest.er1
39887 cat conftest.err >&5
39888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39889 (exit $ac_status); } &&
39890 { ac_try='test -z "$ac_cxx_werror_flag"
39891 || test ! -s conftest.err'
39892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39893 (eval $ac_try) 2>&5
39894 ac_status=$?
39895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39896 (exit $ac_status); }; } &&
39897 { ac_try='test -s conftest.$ac_objext'
39898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39899 (eval $ac_try) 2>&5
39900 ac_status=$?
39901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39902 (exit $ac_status); }; }; then
39903 ac_c99_inttypes_tr1=yes
39904 else
39905 echo "$as_me: failed program was:" >&5
39906 sed 's/^/| /' conftest.$ac_ext >&5
39908 ac_c99_inttypes_tr1=no
39910 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39912 echo "$as_me:$LINENO: result: $ac_c99_inttypes_tr1" >&5
39913 echo "${ECHO_T}$ac_c99_inttypes_tr1" >&6
39914 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
39916 cat >>confdefs.h <<\_ACEOF
39917 #define _GLIBCXX_USE_C99_INTTYPES_TR1 1
39918 _ACEOF
39922 # Check for the existence of the <stdbool.h> header.
39924 for ac_header in stdbool.h
39926 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39927 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39928 echo "$as_me:$LINENO: checking for $ac_header" >&5
39929 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39930 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39931 echo $ECHO_N "(cached) $ECHO_C" >&6
39933 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39934 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39935 else
39936 # Is the header compilable?
39937 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39938 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39939 cat >conftest.$ac_ext <<_ACEOF
39940 /* confdefs.h. */
39941 _ACEOF
39942 cat confdefs.h >>conftest.$ac_ext
39943 cat >>conftest.$ac_ext <<_ACEOF
39944 /* end confdefs.h. */
39945 $ac_includes_default
39946 #include <$ac_header>
39947 _ACEOF
39948 rm -f conftest.$ac_objext
39949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39950 (eval $ac_compile) 2>conftest.er1
39951 ac_status=$?
39952 grep -v '^ *+' conftest.er1 >conftest.err
39953 rm -f conftest.er1
39954 cat conftest.err >&5
39955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39956 (exit $ac_status); } &&
39957 { ac_try='test -z "$ac_cxx_werror_flag"
39958 || test ! -s conftest.err'
39959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39960 (eval $ac_try) 2>&5
39961 ac_status=$?
39962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39963 (exit $ac_status); }; } &&
39964 { ac_try='test -s conftest.$ac_objext'
39965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39966 (eval $ac_try) 2>&5
39967 ac_status=$?
39968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39969 (exit $ac_status); }; }; then
39970 ac_header_compiler=yes
39971 else
39972 echo "$as_me: failed program was:" >&5
39973 sed 's/^/| /' conftest.$ac_ext >&5
39975 ac_header_compiler=no
39977 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39978 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39979 echo "${ECHO_T}$ac_header_compiler" >&6
39981 # Is the header present?
39982 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39983 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39984 cat >conftest.$ac_ext <<_ACEOF
39985 /* confdefs.h. */
39986 _ACEOF
39987 cat confdefs.h >>conftest.$ac_ext
39988 cat >>conftest.$ac_ext <<_ACEOF
39989 /* end confdefs.h. */
39990 #include <$ac_header>
39991 _ACEOF
39992 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39993 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39994 ac_status=$?
39995 grep -v '^ *+' conftest.er1 >conftest.err
39996 rm -f conftest.er1
39997 cat conftest.err >&5
39998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39999 (exit $ac_status); } >/dev/null; then
40000 if test -s conftest.err; then
40001 ac_cpp_err=$ac_cxx_preproc_warn_flag
40002 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
40003 else
40004 ac_cpp_err=
40006 else
40007 ac_cpp_err=yes
40009 if test -z "$ac_cpp_err"; then
40010 ac_header_preproc=yes
40011 else
40012 echo "$as_me: failed program was:" >&5
40013 sed 's/^/| /' conftest.$ac_ext >&5
40015 ac_header_preproc=no
40017 rm -f conftest.err conftest.$ac_ext
40018 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
40019 echo "${ECHO_T}$ac_header_preproc" >&6
40021 # So? What about this header?
40022 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
40023 yes:no: )
40024 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
40025 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
40026 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
40027 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
40028 ac_header_preproc=yes
40030 no:yes:* )
40031 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
40032 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
40033 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
40034 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
40035 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
40036 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
40037 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
40038 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
40039 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
40040 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
40041 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
40042 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
40044 cat <<\_ASBOX
40045 ## ----------------------------------------- ##
40046 ## Report this to the package-unused lists. ##
40047 ## ----------------------------------------- ##
40048 _ASBOX
40050 sed "s/^/$as_me: WARNING: /" >&2
40052 esac
40053 echo "$as_me:$LINENO: checking for $ac_header" >&5
40054 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40055 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40056 echo $ECHO_N "(cached) $ECHO_C" >&6
40057 else
40058 eval "$as_ac_Header=\$ac_header_preproc"
40060 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40061 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40064 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40065 cat >>confdefs.h <<_ACEOF
40066 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40067 _ACEOF
40071 done
40074 ac_ext=c
40075 ac_cpp='$CPP $CPPFLAGS'
40076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40082 # For dev/random and dev/urandom for TR1.
40085 echo "$as_me:$LINENO: checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device" >&5
40086 echo $ECHO_N "checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device... $ECHO_C" >&6
40087 if test "${ac_random_tr1+set}" = set; then
40088 echo $ECHO_N "(cached) $ECHO_C" >&6
40089 else
40091 if test "$cross_compiling" = yes; then
40092 ac_random_tr1=no
40093 else
40094 cat >conftest.$ac_ext <<_ACEOF
40095 /* confdefs.h. */
40096 _ACEOF
40097 cat confdefs.h >>conftest.$ac_ext
40098 cat >>conftest.$ac_ext <<_ACEOF
40099 /* end confdefs.h. */
40100 #include <stdio.h>
40101 int main()
40103 return !(fopen("/dev/random", "r")
40104 && fopen("/dev/urandom", "r"));
40107 _ACEOF
40108 rm -f conftest$ac_exeext
40109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40110 (eval $ac_link) 2>&5
40111 ac_status=$?
40112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40113 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
40114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40115 (eval $ac_try) 2>&5
40116 ac_status=$?
40117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40118 (exit $ac_status); }; }; then
40119 ac_random_tr1=yes
40120 else
40121 echo "$as_me: program exited with status $ac_status" >&5
40122 echo "$as_me: failed program was:" >&5
40123 sed 's/^/| /' conftest.$ac_ext >&5
40125 ( exit $ac_status )
40126 ac_random_tr1=no
40128 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
40133 echo "$as_me:$LINENO: result: $ac_random_tr1" >&5
40134 echo "${ECHO_T}$ac_random_tr1" >&6
40135 if test x"$ac_random_tr1" = x"yes"; then
40137 cat >>confdefs.h <<\_ACEOF
40138 #define _GLIBCXX_USE_RANDOM_TR1 1
40139 _ACEOF
40145 # For TLS support.
40147 # Check whether --enable-tls or --disable-tls was given.
40148 if test "${enable_tls+set}" = set; then
40149 enableval="$enable_tls"
40151 case "$enableval" in
40152 yes|no) ;;
40153 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
40154 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
40155 { (exit 1); exit 1; }; } ;;
40156 esac
40158 else
40159 enable_tls=yes
40162 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
40163 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
40164 if test "${have_tls+set}" = set; then
40165 echo $ECHO_N "(cached) $ECHO_C" >&6
40166 else
40168 if test "$cross_compiling" = yes; then
40169 if test x$gcc_no_link = xyes; then
40170 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40171 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40172 { (exit 1); exit 1; }; }
40174 cat >conftest.$ac_ext <<_ACEOF
40175 __thread int a; int b; int main() { return a = b; }
40176 _ACEOF
40177 rm -f conftest.$ac_objext conftest$ac_exeext
40178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40179 (eval $ac_link) 2>conftest.er1
40180 ac_status=$?
40181 grep -v '^ *+' conftest.er1 >conftest.err
40182 rm -f conftest.er1
40183 cat conftest.err >&5
40184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40185 (exit $ac_status); } &&
40186 { ac_try='test -z "$ac_c_werror_flag"
40187 || test ! -s conftest.err'
40188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40189 (eval $ac_try) 2>&5
40190 ac_status=$?
40191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40192 (exit $ac_status); }; } &&
40193 { ac_try='test -s conftest$ac_exeext'
40194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40195 (eval $ac_try) 2>&5
40196 ac_status=$?
40197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40198 (exit $ac_status); }; }; then
40199 have_tls=yes
40200 else
40201 echo "$as_me: failed program was:" >&5
40202 sed 's/^/| /' conftest.$ac_ext >&5
40204 have_tls=no
40206 rm -f conftest.err conftest.$ac_objext \
40207 conftest$ac_exeext conftest.$ac_ext
40210 else
40211 cat >conftest.$ac_ext <<_ACEOF
40212 __thread int a; int b; int main() { return a = b; }
40213 _ACEOF
40214 rm -f conftest$ac_exeext
40215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40216 (eval $ac_link) 2>&5
40217 ac_status=$?
40218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40219 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
40220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40221 (eval $ac_try) 2>&5
40222 ac_status=$?
40223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40224 (exit $ac_status); }; }; then
40225 chktls_save_LDFLAGS="$LDFLAGS"
40226 LDFLAGS="-static $LDFLAGS"
40227 if test x$gcc_no_link = xyes; then
40228 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40229 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40230 { (exit 1); exit 1; }; }
40232 cat >conftest.$ac_ext <<_ACEOF
40233 int main() { return 0; }
40234 _ACEOF
40235 rm -f conftest.$ac_objext conftest$ac_exeext
40236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40237 (eval $ac_link) 2>conftest.er1
40238 ac_status=$?
40239 grep -v '^ *+' conftest.er1 >conftest.err
40240 rm -f conftest.er1
40241 cat conftest.err >&5
40242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40243 (exit $ac_status); } &&
40244 { ac_try='test -z "$ac_c_werror_flag"
40245 || test ! -s conftest.err'
40246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40247 (eval $ac_try) 2>&5
40248 ac_status=$?
40249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40250 (exit $ac_status); }; } &&
40251 { ac_try='test -s conftest$ac_exeext'
40252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40253 (eval $ac_try) 2>&5
40254 ac_status=$?
40255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40256 (exit $ac_status); }; }; then
40257 if test "$cross_compiling" = yes; then
40258 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
40259 See \`config.log' for more details." >&5
40260 echo "$as_me: error: cannot run test program while cross compiling
40261 See \`config.log' for more details." >&2;}
40262 { (exit 1); exit 1; }; }
40263 else
40264 cat >conftest.$ac_ext <<_ACEOF
40265 __thread int a; int b; int main() { return a = b; }
40266 _ACEOF
40267 rm -f conftest$ac_exeext
40268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40269 (eval $ac_link) 2>&5
40270 ac_status=$?
40271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40272 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
40273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40274 (eval $ac_try) 2>&5
40275 ac_status=$?
40276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40277 (exit $ac_status); }; }; then
40278 have_tls=yes
40279 else
40280 echo "$as_me: program exited with status $ac_status" >&5
40281 echo "$as_me: failed program was:" >&5
40282 sed 's/^/| /' conftest.$ac_ext >&5
40284 ( exit $ac_status )
40285 have_tls=no
40287 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
40289 else
40290 echo "$as_me: failed program was:" >&5
40291 sed 's/^/| /' conftest.$ac_ext >&5
40293 have_tls=yes
40295 rm -f conftest.err conftest.$ac_objext \
40296 conftest$ac_exeext conftest.$ac_ext
40297 LDFLAGS="$chktls_save_LDFLAGS"
40298 if test $have_tls = yes; then
40299 chktls_save_CFLAGS="$CFLAGS"
40300 thread_CFLAGS=failed
40301 for flag in '' '-pthread' '-lpthread'; do
40302 CFLAGS="$flag $chktls_save_CFLAGS"
40303 if test x$gcc_no_link = xyes; then
40304 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40305 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40306 { (exit 1); exit 1; }; }
40308 cat >conftest.$ac_ext <<_ACEOF
40309 /* confdefs.h. */
40310 _ACEOF
40311 cat confdefs.h >>conftest.$ac_ext
40312 cat >>conftest.$ac_ext <<_ACEOF
40313 /* end confdefs.h. */
40314 #include <pthread.h>
40315 void *g(void *d) { return NULL; }
40317 main ()
40319 pthread_t t; pthread_create(&t,NULL,g,NULL);
40321 return 0;
40323 _ACEOF
40324 rm -f conftest.$ac_objext conftest$ac_exeext
40325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40326 (eval $ac_link) 2>conftest.er1
40327 ac_status=$?
40328 grep -v '^ *+' conftest.er1 >conftest.err
40329 rm -f conftest.er1
40330 cat conftest.err >&5
40331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40332 (exit $ac_status); } &&
40333 { ac_try='test -z "$ac_c_werror_flag"
40334 || test ! -s conftest.err'
40335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40336 (eval $ac_try) 2>&5
40337 ac_status=$?
40338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40339 (exit $ac_status); }; } &&
40340 { ac_try='test -s conftest$ac_exeext'
40341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40342 (eval $ac_try) 2>&5
40343 ac_status=$?
40344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40345 (exit $ac_status); }; }; then
40346 thread_CFLAGS="$flag"
40347 else
40348 echo "$as_me: failed program was:" >&5
40349 sed 's/^/| /' conftest.$ac_ext >&5
40352 rm -f conftest.err conftest.$ac_objext \
40353 conftest$ac_exeext conftest.$ac_ext
40354 if test "X$thread_CFLAGS" != Xfailed; then
40355 break
40357 done
40358 CFLAGS="$chktls_save_CFLAGS"
40359 if test "X$thread_CFLAGS" != Xfailed; then
40360 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
40361 if test "$cross_compiling" = yes; then
40362 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
40363 See \`config.log' for more details." >&5
40364 echo "$as_me: error: cannot run test program while cross compiling
40365 See \`config.log' for more details." >&2;}
40366 { (exit 1); exit 1; }; }
40367 else
40368 cat >conftest.$ac_ext <<_ACEOF
40369 /* confdefs.h. */
40370 _ACEOF
40371 cat confdefs.h >>conftest.$ac_ext
40372 cat >>conftest.$ac_ext <<_ACEOF
40373 /* end confdefs.h. */
40374 #include <pthread.h>
40375 __thread int a;
40376 static int *a_in_other_thread;
40377 static void *
40378 thread_func (void *arg)
40380 a_in_other_thread = &a;
40381 return (void *)0;
40384 main ()
40386 pthread_t thread;
40387 void *thread_retval;
40388 int *a_in_main_thread;
40389 if (pthread_create (&thread, (pthread_attr_t *)0,
40390 thread_func, (void *)0))
40391 return 0;
40392 a_in_main_thread = &a;
40393 if (pthread_join (thread, &thread_retval))
40394 return 0;
40395 return (a_in_other_thread == a_in_main_thread);
40397 return 0;
40399 _ACEOF
40400 rm -f conftest$ac_exeext
40401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40402 (eval $ac_link) 2>&5
40403 ac_status=$?
40404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40405 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
40406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40407 (eval $ac_try) 2>&5
40408 ac_status=$?
40409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40410 (exit $ac_status); }; }; then
40411 have_tls=yes
40412 else
40413 echo "$as_me: program exited with status $ac_status" >&5
40414 echo "$as_me: failed program was:" >&5
40415 sed 's/^/| /' conftest.$ac_ext >&5
40417 ( exit $ac_status )
40418 have_tls=no
40420 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
40422 CFLAGS="$chktls_save_CFLAGS"
40425 else
40426 echo "$as_me: program exited with status $ac_status" >&5
40427 echo "$as_me: failed program was:" >&5
40428 sed 's/^/| /' conftest.$ac_ext >&5
40430 ( exit $ac_status )
40431 have_tls=no
40433 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
40436 echo "$as_me:$LINENO: result: $have_tls" >&5
40437 echo "${ECHO_T}$have_tls" >&6
40438 if test "$enable_tls $have_tls" = "yes yes"; then
40440 cat >>confdefs.h <<\_ACEOF
40441 #define HAVE_TLS 1
40442 _ACEOF
40446 # For _Unwind_GetIPInfo.
40450 ac_ext=cc
40451 ac_cpp='$CXXCPP $CPPFLAGS'
40452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40456 ac_save_CXXFLAGS="$CXXFLAGS"
40457 CXXFLAGS="$CXXFLAGS -fno-exceptions"
40458 echo "$as_me:$LINENO: checking for _Unwind_GetIPInfo" >&5
40459 echo $ECHO_N "checking for _Unwind_GetIPInfo... $ECHO_C" >&6
40460 if test "${gcc_cv_getipinfo+set}" = set; then
40461 echo $ECHO_N "(cached) $ECHO_C" >&6
40462 else
40464 if test x$gcc_no_link = xyes; then
40465 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40466 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40467 { (exit 1); exit 1; }; }
40469 cat >conftest.$ac_ext <<_ACEOF
40470 /* confdefs.h. */
40471 _ACEOF
40472 cat confdefs.h >>conftest.$ac_ext
40473 cat >>conftest.$ac_ext <<_ACEOF
40474 /* end confdefs.h. */
40475 extern "C" { extern void _Unwind_GetIPInfo(); }
40477 main ()
40479 _Unwind_GetIPInfo();
40481 return 0;
40483 _ACEOF
40484 rm -f conftest.$ac_objext conftest$ac_exeext
40485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40486 (eval $ac_link) 2>conftest.er1
40487 ac_status=$?
40488 grep -v '^ *+' conftest.er1 >conftest.err
40489 rm -f conftest.er1
40490 cat conftest.err >&5
40491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40492 (exit $ac_status); } &&
40493 { ac_try='test -z "$ac_cxx_werror_flag"
40494 || test ! -s conftest.err'
40495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40496 (eval $ac_try) 2>&5
40497 ac_status=$?
40498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40499 (exit $ac_status); }; } &&
40500 { ac_try='test -s conftest$ac_exeext'
40501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40502 (eval $ac_try) 2>&5
40503 ac_status=$?
40504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40505 (exit $ac_status); }; }; then
40506 gcc_cv_getipinfo=yes
40507 else
40508 echo "$as_me: failed program was:" >&5
40509 sed 's/^/| /' conftest.$ac_ext >&5
40511 gcc_cv_getipinfo=no
40513 rm -f conftest.err conftest.$ac_objext \
40514 conftest$ac_exeext conftest.$ac_ext
40518 if test $gcc_cv_getipinfo = yes; then
40520 cat >>confdefs.h <<\_ACEOF
40521 #define HAVE_GETIPINFO 1
40522 _ACEOF
40525 echo "$as_me:$LINENO: result: $gcc_cv_getipinfo" >&5
40526 echo "${ECHO_T}$gcc_cv_getipinfo" >&6
40527 CXXFLAGS="$ac_save_CXXFLAGS"
40528 ac_ext=c
40529 ac_cpp='$CPP $CPPFLAGS'
40530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40537 if test "${ac_cv_header_locale_h+set}" = set; then
40538 echo "$as_me:$LINENO: checking for locale.h" >&5
40539 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
40540 if test "${ac_cv_header_locale_h+set}" = set; then
40541 echo $ECHO_N "(cached) $ECHO_C" >&6
40543 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
40544 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
40545 else
40546 # Is the header compilable?
40547 echo "$as_me:$LINENO: checking locale.h usability" >&5
40548 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
40549 cat >conftest.$ac_ext <<_ACEOF
40550 /* confdefs.h. */
40551 _ACEOF
40552 cat confdefs.h >>conftest.$ac_ext
40553 cat >>conftest.$ac_ext <<_ACEOF
40554 /* end confdefs.h. */
40555 $ac_includes_default
40556 #include <locale.h>
40557 _ACEOF
40558 rm -f conftest.$ac_objext
40559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40560 (eval $ac_compile) 2>conftest.er1
40561 ac_status=$?
40562 grep -v '^ *+' conftest.er1 >conftest.err
40563 rm -f conftest.er1
40564 cat conftest.err >&5
40565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40566 (exit $ac_status); } &&
40567 { ac_try='test -z "$ac_c_werror_flag"
40568 || test ! -s conftest.err'
40569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40570 (eval $ac_try) 2>&5
40571 ac_status=$?
40572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40573 (exit $ac_status); }; } &&
40574 { ac_try='test -s conftest.$ac_objext'
40575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40576 (eval $ac_try) 2>&5
40577 ac_status=$?
40578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40579 (exit $ac_status); }; }; then
40580 ac_header_compiler=yes
40581 else
40582 echo "$as_me: failed program was:" >&5
40583 sed 's/^/| /' conftest.$ac_ext >&5
40585 ac_header_compiler=no
40587 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40588 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
40589 echo "${ECHO_T}$ac_header_compiler" >&6
40591 # Is the header present?
40592 echo "$as_me:$LINENO: checking locale.h presence" >&5
40593 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
40594 cat >conftest.$ac_ext <<_ACEOF
40595 /* confdefs.h. */
40596 _ACEOF
40597 cat confdefs.h >>conftest.$ac_ext
40598 cat >>conftest.$ac_ext <<_ACEOF
40599 /* end confdefs.h. */
40600 #include <locale.h>
40601 _ACEOF
40602 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40603 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
40604 ac_status=$?
40605 grep -v '^ *+' conftest.er1 >conftest.err
40606 rm -f conftest.er1
40607 cat conftest.err >&5
40608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40609 (exit $ac_status); } >/dev/null; then
40610 if test -s conftest.err; then
40611 ac_cpp_err=$ac_c_preproc_warn_flag
40612 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
40613 else
40614 ac_cpp_err=
40616 else
40617 ac_cpp_err=yes
40619 if test -z "$ac_cpp_err"; then
40620 ac_header_preproc=yes
40621 else
40622 echo "$as_me: failed program was:" >&5
40623 sed 's/^/| /' conftest.$ac_ext >&5
40625 ac_header_preproc=no
40627 rm -f conftest.err conftest.$ac_ext
40628 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
40629 echo "${ECHO_T}$ac_header_preproc" >&6
40631 # So? What about this header?
40632 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
40633 yes:no: )
40634 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
40635 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
40636 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
40637 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
40638 ac_header_preproc=yes
40640 no:yes:* )
40641 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
40642 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
40643 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
40644 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
40645 { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
40646 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
40647 { echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
40648 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
40649 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
40650 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
40651 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
40652 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
40654 cat <<\_ASBOX
40655 ## ----------------------------------------- ##
40656 ## Report this to the package-unused lists. ##
40657 ## ----------------------------------------- ##
40658 _ASBOX
40660 sed "s/^/$as_me: WARNING: /" >&2
40662 esac
40663 echo "$as_me:$LINENO: checking for locale.h" >&5
40664 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
40665 if test "${ac_cv_header_locale_h+set}" = set; then
40666 echo $ECHO_N "(cached) $ECHO_C" >&6
40667 else
40668 ac_cv_header_locale_h=$ac_header_preproc
40670 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
40671 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
40674 if test $ac_cv_header_locale_h = yes; then
40676 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
40677 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
40678 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
40679 echo $ECHO_N "(cached) $ECHO_C" >&6
40680 else
40681 if test x$gcc_no_link = xyes; then
40682 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40683 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40684 { (exit 1); exit 1; }; }
40686 cat >conftest.$ac_ext <<_ACEOF
40687 /* confdefs.h. */
40688 _ACEOF
40689 cat confdefs.h >>conftest.$ac_ext
40690 cat >>conftest.$ac_ext <<_ACEOF
40691 /* end confdefs.h. */
40692 #include <locale.h>
40694 main ()
40696 return LC_MESSAGES
40698 return 0;
40700 _ACEOF
40701 rm -f conftest.$ac_objext conftest$ac_exeext
40702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40703 (eval $ac_link) 2>conftest.er1
40704 ac_status=$?
40705 grep -v '^ *+' conftest.er1 >conftest.err
40706 rm -f conftest.er1
40707 cat conftest.err >&5
40708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40709 (exit $ac_status); } &&
40710 { ac_try='test -z "$ac_c_werror_flag"
40711 || test ! -s conftest.err'
40712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40713 (eval $ac_try) 2>&5
40714 ac_status=$?
40715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40716 (exit $ac_status); }; } &&
40717 { ac_try='test -s conftest$ac_exeext'
40718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40719 (eval $ac_try) 2>&5
40720 ac_status=$?
40721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40722 (exit $ac_status); }; }; then
40723 ac_cv_val_LC_MESSAGES=yes
40724 else
40725 echo "$as_me: failed program was:" >&5
40726 sed 's/^/| /' conftest.$ac_ext >&5
40728 ac_cv_val_LC_MESSAGES=no
40730 rm -f conftest.err conftest.$ac_objext \
40731 conftest$ac_exeext conftest.$ac_ext
40733 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
40734 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
40735 if test $ac_cv_val_LC_MESSAGES = yes; then
40737 cat >>confdefs.h <<\_ACEOF
40738 #define HAVE_LC_MESSAGES 1
40739 _ACEOF
40748 cat >conftest.$ac_ext <<_ACEOF
40749 /* confdefs.h. */
40750 _ACEOF
40751 cat confdefs.h >>conftest.$ac_ext
40752 cat >>conftest.$ac_ext <<_ACEOF
40753 /* end confdefs.h. */
40754 #include <setjmp.h>
40756 main ()
40758 sigjmp_buf env;
40759 while (! sigsetjmp (env, 1))
40760 siglongjmp (env, 1);
40763 return 0;
40765 _ACEOF
40766 rm -f conftest.$ac_objext
40767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40768 (eval $ac_compile) 2>conftest.er1
40769 ac_status=$?
40770 grep -v '^ *+' conftest.er1 >conftest.err
40771 rm -f conftest.er1
40772 cat conftest.err >&5
40773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40774 (exit $ac_status); } &&
40775 { ac_try='test -z "$ac_c_werror_flag"
40776 || test ! -s conftest.err'
40777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40778 (eval $ac_try) 2>&5
40779 ac_status=$?
40780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40781 (exit $ac_status); }; } &&
40782 { ac_try='test -s conftest.$ac_objext'
40783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40784 (eval $ac_try) 2>&5
40785 ac_status=$?
40786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40787 (exit $ac_status); }; }; then
40789 cat >>confdefs.h <<\_ACEOF
40790 #define HAVE_SIGSETJMP 1
40791 _ACEOF
40793 else
40794 echo "$as_me: failed program was:" >&5
40795 sed 's/^/| /' conftest.$ac_ext >&5
40798 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40800 if test x$gcc_no_link = xyes; then
40801 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
40802 ac_cv_func_mmap_fixed_mapped=no
40805 if test "x${ac_cv_func_mmap_fixed_mapped}" != xno; then
40808 for ac_header in stdlib.h unistd.h
40810 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40811 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40812 echo "$as_me:$LINENO: checking for $ac_header" >&5
40813 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40814 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40815 echo $ECHO_N "(cached) $ECHO_C" >&6
40817 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40818 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40819 else
40820 # Is the header compilable?
40821 echo "$as_me:$LINENO: checking $ac_header usability" >&5
40822 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
40823 cat >conftest.$ac_ext <<_ACEOF
40824 /* confdefs.h. */
40825 _ACEOF
40826 cat confdefs.h >>conftest.$ac_ext
40827 cat >>conftest.$ac_ext <<_ACEOF
40828 /* end confdefs.h. */
40829 $ac_includes_default
40830 #include <$ac_header>
40831 _ACEOF
40832 rm -f conftest.$ac_objext
40833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40834 (eval $ac_compile) 2>conftest.er1
40835 ac_status=$?
40836 grep -v '^ *+' conftest.er1 >conftest.err
40837 rm -f conftest.er1
40838 cat conftest.err >&5
40839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40840 (exit $ac_status); } &&
40841 { ac_try='test -z "$ac_c_werror_flag"
40842 || test ! -s conftest.err'
40843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40844 (eval $ac_try) 2>&5
40845 ac_status=$?
40846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40847 (exit $ac_status); }; } &&
40848 { ac_try='test -s conftest.$ac_objext'
40849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40850 (eval $ac_try) 2>&5
40851 ac_status=$?
40852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40853 (exit $ac_status); }; }; then
40854 ac_header_compiler=yes
40855 else
40856 echo "$as_me: failed program was:" >&5
40857 sed 's/^/| /' conftest.$ac_ext >&5
40859 ac_header_compiler=no
40861 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40862 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
40863 echo "${ECHO_T}$ac_header_compiler" >&6
40865 # Is the header present?
40866 echo "$as_me:$LINENO: checking $ac_header presence" >&5
40867 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
40868 cat >conftest.$ac_ext <<_ACEOF
40869 /* confdefs.h. */
40870 _ACEOF
40871 cat confdefs.h >>conftest.$ac_ext
40872 cat >>conftest.$ac_ext <<_ACEOF
40873 /* end confdefs.h. */
40874 #include <$ac_header>
40875 _ACEOF
40876 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40877 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
40878 ac_status=$?
40879 grep -v '^ *+' conftest.er1 >conftest.err
40880 rm -f conftest.er1
40881 cat conftest.err >&5
40882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40883 (exit $ac_status); } >/dev/null; then
40884 if test -s conftest.err; then
40885 ac_cpp_err=$ac_c_preproc_warn_flag
40886 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
40887 else
40888 ac_cpp_err=
40890 else
40891 ac_cpp_err=yes
40893 if test -z "$ac_cpp_err"; then
40894 ac_header_preproc=yes
40895 else
40896 echo "$as_me: failed program was:" >&5
40897 sed 's/^/| /' conftest.$ac_ext >&5
40899 ac_header_preproc=no
40901 rm -f conftest.err conftest.$ac_ext
40902 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
40903 echo "${ECHO_T}$ac_header_preproc" >&6
40905 # So? What about this header?
40906 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
40907 yes:no: )
40908 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
40909 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
40910 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
40911 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
40912 ac_header_preproc=yes
40914 no:yes:* )
40915 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
40916 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
40917 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
40918 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
40919 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
40920 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
40921 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
40922 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
40923 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
40924 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
40925 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
40926 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
40928 cat <<\_ASBOX
40929 ## ----------------------------------------- ##
40930 ## Report this to the package-unused lists. ##
40931 ## ----------------------------------------- ##
40932 _ASBOX
40934 sed "s/^/$as_me: WARNING: /" >&2
40936 esac
40937 echo "$as_me:$LINENO: checking for $ac_header" >&5
40938 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40939 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40940 echo $ECHO_N "(cached) $ECHO_C" >&6
40941 else
40942 eval "$as_ac_Header=\$ac_header_preproc"
40944 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40945 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40948 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40949 cat >>confdefs.h <<_ACEOF
40950 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40951 _ACEOF
40955 done
40958 for ac_func in getpagesize
40960 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40961 echo "$as_me:$LINENO: checking for $ac_func" >&5
40962 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40963 if eval "test \"\${$as_ac_var+set}\" = set"; then
40964 echo $ECHO_N "(cached) $ECHO_C" >&6
40965 else
40966 if test x$gcc_no_link = xyes; then
40967 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40968 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40969 { (exit 1); exit 1; }; }
40971 cat >conftest.$ac_ext <<_ACEOF
40972 /* confdefs.h. */
40973 _ACEOF
40974 cat confdefs.h >>conftest.$ac_ext
40975 cat >>conftest.$ac_ext <<_ACEOF
40976 /* end confdefs.h. */
40977 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40978 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40979 #define $ac_func innocuous_$ac_func
40981 /* System header to define __stub macros and hopefully few prototypes,
40982 which can conflict with char $ac_func (); below.
40983 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40984 <limits.h> exists even on freestanding compilers. */
40986 #ifdef __STDC__
40987 # include <limits.h>
40988 #else
40989 # include <assert.h>
40990 #endif
40992 #undef $ac_func
40994 /* Override any gcc2 internal prototype to avoid an error. */
40995 #ifdef __cplusplus
40996 extern "C"
40998 #endif
40999 /* We use char because int might match the return type of a gcc2
41000 builtin and then its argument prototype would still apply. */
41001 char $ac_func ();
41002 /* The GNU C library defines this for functions which it implements
41003 to always fail with ENOSYS. Some functions are actually named
41004 something starting with __ and the normal name is an alias. */
41005 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41006 choke me
41007 #else
41008 char (*f) () = $ac_func;
41009 #endif
41010 #ifdef __cplusplus
41012 #endif
41015 main ()
41017 return f != $ac_func;
41019 return 0;
41021 _ACEOF
41022 rm -f conftest.$ac_objext conftest$ac_exeext
41023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41024 (eval $ac_link) 2>conftest.er1
41025 ac_status=$?
41026 grep -v '^ *+' conftest.er1 >conftest.err
41027 rm -f conftest.er1
41028 cat conftest.err >&5
41029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41030 (exit $ac_status); } &&
41031 { ac_try='test -z "$ac_c_werror_flag"
41032 || test ! -s conftest.err'
41033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41034 (eval $ac_try) 2>&5
41035 ac_status=$?
41036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41037 (exit $ac_status); }; } &&
41038 { ac_try='test -s conftest$ac_exeext'
41039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41040 (eval $ac_try) 2>&5
41041 ac_status=$?
41042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41043 (exit $ac_status); }; }; then
41044 eval "$as_ac_var=yes"
41045 else
41046 echo "$as_me: failed program was:" >&5
41047 sed 's/^/| /' conftest.$ac_ext >&5
41049 eval "$as_ac_var=no"
41051 rm -f conftest.err conftest.$ac_objext \
41052 conftest$ac_exeext conftest.$ac_ext
41054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41055 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41056 if test `eval echo '${'$as_ac_var'}'` = yes; then
41057 cat >>confdefs.h <<_ACEOF
41058 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41059 _ACEOF
41062 done
41064 echo "$as_me:$LINENO: checking for working mmap" >&5
41065 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
41066 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
41067 echo $ECHO_N "(cached) $ECHO_C" >&6
41068 else
41069 if test "$cross_compiling" = yes; then
41070 ac_cv_func_mmap_fixed_mapped=no
41071 else
41072 cat >conftest.$ac_ext <<_ACEOF
41073 /* confdefs.h. */
41074 _ACEOF
41075 cat confdefs.h >>conftest.$ac_ext
41076 cat >>conftest.$ac_ext <<_ACEOF
41077 /* end confdefs.h. */
41078 $ac_includes_default
41079 /* malloc might have been renamed as rpl_malloc. */
41080 #undef malloc
41082 /* Thanks to Mike Haertel and Jim Avera for this test.
41083 Here is a matrix of mmap possibilities:
41084 mmap private not fixed
41085 mmap private fixed at somewhere currently unmapped
41086 mmap private fixed at somewhere already mapped
41087 mmap shared not fixed
41088 mmap shared fixed at somewhere currently unmapped
41089 mmap shared fixed at somewhere already mapped
41090 For private mappings, we should verify that changes cannot be read()
41091 back from the file, nor mmap's back from the file at a different
41092 address. (There have been systems where private was not correctly
41093 implemented like the infamous i386 svr4.0, and systems where the
41094 VM page cache was not coherent with the file system buffer cache
41095 like early versions of FreeBSD and possibly contemporary NetBSD.)
41096 For shared mappings, we should conversely verify that changes get
41097 propagated back to all the places they're supposed to be.
41099 Grep wants private fixed already mapped.
41100 The main things grep needs to know about mmap are:
41101 * does it exist and is it safe to write into the mmap'd area
41102 * how to use it (BSD variants) */
41104 #include <fcntl.h>
41105 #include <sys/mman.h>
41107 #if !STDC_HEADERS && !HAVE_STDLIB_H
41108 char *malloc ();
41109 #endif
41111 /* This mess was copied from the GNU getpagesize.h. */
41112 #if !HAVE_GETPAGESIZE
41113 /* Assume that all systems that can run configure have sys/param.h. */
41114 # if !HAVE_SYS_PARAM_H
41115 # define HAVE_SYS_PARAM_H 1
41116 # endif
41118 # ifdef _SC_PAGESIZE
41119 # define getpagesize() sysconf(_SC_PAGESIZE)
41120 # else /* no _SC_PAGESIZE */
41121 # if HAVE_SYS_PARAM_H
41122 # include <sys/param.h>
41123 # ifdef EXEC_PAGESIZE
41124 # define getpagesize() EXEC_PAGESIZE
41125 # else /* no EXEC_PAGESIZE */
41126 # ifdef NBPG
41127 # define getpagesize() NBPG * CLSIZE
41128 # ifndef CLSIZE
41129 # define CLSIZE 1
41130 # endif /* no CLSIZE */
41131 # else /* no NBPG */
41132 # ifdef NBPC
41133 # define getpagesize() NBPC
41134 # else /* no NBPC */
41135 # ifdef PAGESIZE
41136 # define getpagesize() PAGESIZE
41137 # endif /* PAGESIZE */
41138 # endif /* no NBPC */
41139 # endif /* no NBPG */
41140 # endif /* no EXEC_PAGESIZE */
41141 # else /* no HAVE_SYS_PARAM_H */
41142 # define getpagesize() 8192 /* punt totally */
41143 # endif /* no HAVE_SYS_PARAM_H */
41144 # endif /* no _SC_PAGESIZE */
41146 #endif /* no HAVE_GETPAGESIZE */
41149 main ()
41151 char *data, *data2, *data3;
41152 int i, pagesize;
41153 int fd;
41155 pagesize = getpagesize ();
41157 /* First, make a file with some known garbage in it. */
41158 data = (char *) malloc (pagesize);
41159 if (!data)
41160 exit (1);
41161 for (i = 0; i < pagesize; ++i)
41162 *(data + i) = rand ();
41163 umask (0);
41164 fd = creat ("conftest.mmap", 0600);
41165 if (fd < 0)
41166 exit (1);
41167 if (write (fd, data, pagesize) != pagesize)
41168 exit (1);
41169 close (fd);
41171 /* Next, try to mmap the file at a fixed address which already has
41172 something else allocated at it. If we can, also make sure that
41173 we see the same garbage. */
41174 fd = open ("conftest.mmap", O_RDWR);
41175 if (fd < 0)
41176 exit (1);
41177 data2 = (char *) malloc (2 * pagesize);
41178 if (!data2)
41179 exit (1);
41180 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
41181 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
41182 MAP_PRIVATE | MAP_FIXED, fd, 0L))
41183 exit (1);
41184 for (i = 0; i < pagesize; ++i)
41185 if (*(data + i) != *(data2 + i))
41186 exit (1);
41188 /* Finally, make sure that changes to the mapped area do not
41189 percolate back to the file as seen by read(). (This is a bug on
41190 some variants of i386 svr4.0.) */
41191 for (i = 0; i < pagesize; ++i)
41192 *(data2 + i) = *(data2 + i) + 1;
41193 data3 = (char *) malloc (pagesize);
41194 if (!data3)
41195 exit (1);
41196 if (read (fd, data3, pagesize) != pagesize)
41197 exit (1);
41198 for (i = 0; i < pagesize; ++i)
41199 if (*(data + i) != *(data3 + i))
41200 exit (1);
41201 close (fd);
41202 exit (0);
41204 _ACEOF
41205 rm -f conftest$ac_exeext
41206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41207 (eval $ac_link) 2>&5
41208 ac_status=$?
41209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41210 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41212 (eval $ac_try) 2>&5
41213 ac_status=$?
41214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41215 (exit $ac_status); }; }; then
41216 ac_cv_func_mmap_fixed_mapped=yes
41217 else
41218 echo "$as_me: program exited with status $ac_status" >&5
41219 echo "$as_me: failed program was:" >&5
41220 sed 's/^/| /' conftest.$ac_ext >&5
41222 ( exit $ac_status )
41223 ac_cv_func_mmap_fixed_mapped=no
41225 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41228 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
41229 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
41230 if test $ac_cv_func_mmap_fixed_mapped = yes; then
41232 cat >>confdefs.h <<\_ACEOF
41233 #define HAVE_MMAP 1
41234 _ACEOF
41237 rm -f conftest.mmap
41241 # For iconv support.
41243 if test "X$prefix" = "XNONE"; then
41244 acl_final_prefix="$ac_default_prefix"
41245 else
41246 acl_final_prefix="$prefix"
41248 if test "X$exec_prefix" = "XNONE"; then
41249 acl_final_exec_prefix='${prefix}'
41250 else
41251 acl_final_exec_prefix="$exec_prefix"
41253 acl_save_prefix="$prefix"
41254 prefix="$acl_final_prefix"
41255 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
41256 prefix="$acl_save_prefix"
41259 # Check whether --with-gnu-ld or --without-gnu-ld was given.
41260 if test "${with_gnu_ld+set}" = set; then
41261 withval="$with_gnu_ld"
41262 test "$withval" = no || with_gnu_ld=yes
41263 else
41264 with_gnu_ld=no
41266 # Prepare PATH_SEPARATOR.
41267 # The user is always right.
41268 if test "${PATH_SEPARATOR+set}" != set; then
41269 echo "#! /bin/sh" >conf$$.sh
41270 echo "exit 0" >>conf$$.sh
41271 chmod +x conf$$.sh
41272 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
41273 PATH_SEPARATOR=';'
41274 else
41275 PATH_SEPARATOR=:
41277 rm -f conf$$.sh
41279 ac_prog=ld
41280 if test "$GCC" = yes; then
41281 # Check if gcc -print-prog-name=ld gives a path.
41282 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
41283 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
41284 case $host in
41285 *-*-mingw*)
41286 # gcc leaves a trailing carriage return which upsets mingw
41287 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
41289 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
41290 esac
41291 case $ac_prog in
41292 # Accept absolute paths.
41293 [\\/]* | [A-Za-z]:[\\/]*)
41294 re_direlt='/[^/][^/]*/\.\./'
41295 # Canonicalize the path of ld
41296 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
41297 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
41298 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
41299 done
41300 test -z "$LD" && LD="$ac_prog"
41303 # If it fails, then pretend we aren't using GCC.
41304 ac_prog=ld
41307 # If it is relative, then search for the first ld in PATH.
41308 with_gnu_ld=unknown
41310 esac
41311 elif test "$with_gnu_ld" = yes; then
41312 echo "$as_me:$LINENO: checking for GNU ld" >&5
41313 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
41314 else
41315 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
41316 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
41318 if test "${acl_cv_path_LD+set}" = set; then
41319 echo $ECHO_N "(cached) $ECHO_C" >&6
41320 else
41321 if test -z "$LD"; then
41322 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
41323 for ac_dir in $PATH; do
41324 test -z "$ac_dir" && ac_dir=.
41325 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
41326 acl_cv_path_LD="$ac_dir/$ac_prog"
41327 # Check to see if the program is GNU ld. I'd rather use --version,
41328 # but apparently some GNU ld's only accept -v.
41329 # Break only if it was the GNU/non-GNU ld that we prefer.
41330 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
41331 test "$with_gnu_ld" != no && break
41332 else
41333 test "$with_gnu_ld" != yes && break
41336 done
41337 IFS="$ac_save_ifs"
41338 else
41339 acl_cv_path_LD="$LD" # Let the user override the test with a path.
41343 LD="$acl_cv_path_LD"
41344 if test -n "$LD"; then
41345 echo "$as_me:$LINENO: result: $LD" >&5
41346 echo "${ECHO_T}$LD" >&6
41347 else
41348 echo "$as_me:$LINENO: result: no" >&5
41349 echo "${ECHO_T}no" >&6
41351 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
41352 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
41353 { (exit 1); exit 1; }; }
41354 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
41355 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
41356 if test "${acl_cv_prog_gnu_ld+set}" = set; then
41357 echo $ECHO_N "(cached) $ECHO_C" >&6
41358 else
41359 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
41360 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
41361 acl_cv_prog_gnu_ld=yes
41362 else
41363 acl_cv_prog_gnu_ld=no
41366 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
41367 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
41368 with_gnu_ld=$acl_cv_prog_gnu_ld
41372 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
41373 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
41374 if test "${acl_cv_rpath+set}" = set; then
41375 echo $ECHO_N "(cached) $ECHO_C" >&6
41376 else
41378 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
41379 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
41380 . ./conftest.sh
41381 rm -f ./conftest.sh
41382 acl_cv_rpath=done
41385 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
41386 echo "${ECHO_T}$acl_cv_rpath" >&6
41387 wl="$acl_cv_wl"
41388 libext="$acl_cv_libext"
41389 shlibext="$acl_cv_shlibext"
41390 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
41391 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
41392 hardcode_direct="$acl_cv_hardcode_direct"
41393 hardcode_minus_L="$acl_cv_hardcode_minus_L"
41394 # Check whether --enable-rpath or --disable-rpath was given.
41395 if test "${enable_rpath+set}" = set; then
41396 enableval="$enable_rpath"
41398 else
41399 enable_rpath=yes
41408 use_additional=yes
41410 acl_save_prefix="$prefix"
41411 prefix="$acl_final_prefix"
41412 acl_save_exec_prefix="$exec_prefix"
41413 exec_prefix="$acl_final_exec_prefix"
41415 eval additional_includedir=\"$includedir\"
41416 eval additional_libdir=\"$libdir\"
41418 exec_prefix="$acl_save_exec_prefix"
41419 prefix="$acl_save_prefix"
41422 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
41423 if test "${with_libiconv_prefix+set}" = set; then
41424 withval="$with_libiconv_prefix"
41426 if test "X$withval" = "Xno"; then
41427 use_additional=no
41428 else
41429 if test "X$withval" = "X"; then
41431 acl_save_prefix="$prefix"
41432 prefix="$acl_final_prefix"
41433 acl_save_exec_prefix="$exec_prefix"
41434 exec_prefix="$acl_final_exec_prefix"
41436 eval additional_includedir=\"$includedir\"
41437 eval additional_libdir=\"$libdir\"
41439 exec_prefix="$acl_save_exec_prefix"
41440 prefix="$acl_save_prefix"
41442 else
41443 additional_includedir="$withval/include"
41444 additional_libdir="$withval/lib"
41449 LIBICONV=
41450 LTLIBICONV=
41451 INCICONV=
41452 rpathdirs=
41453 ltrpathdirs=
41454 names_already_handled=
41455 names_next_round='iconv '
41456 while test -n "$names_next_round"; do
41457 names_this_round="$names_next_round"
41458 names_next_round=
41459 for name in $names_this_round; do
41460 already_handled=
41461 for n in $names_already_handled; do
41462 if test "$n" = "$name"; then
41463 already_handled=yes
41464 break
41466 done
41467 if test -z "$already_handled"; then
41468 names_already_handled="$names_already_handled $name"
41469 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
41470 eval value=\"\$HAVE_LIB$uppername\"
41471 if test -n "$value"; then
41472 if test "$value" = yes; then
41473 eval value=\"\$LIB$uppername\"
41474 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
41475 eval value=\"\$LTLIB$uppername\"
41476 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
41477 else
41480 else
41481 found_dir=
41482 found_la=
41483 found_so=
41484 found_a=
41485 if test $use_additional = yes; then
41486 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
41487 found_dir="$additional_libdir"
41488 found_so="$additional_libdir/lib$name.$shlibext"
41489 if test -f "$additional_libdir/lib$name.la"; then
41490 found_la="$additional_libdir/lib$name.la"
41492 else
41493 if test -f "$additional_libdir/lib$name.$libext"; then
41494 found_dir="$additional_libdir"
41495 found_a="$additional_libdir/lib$name.$libext"
41496 if test -f "$additional_libdir/lib$name.la"; then
41497 found_la="$additional_libdir/lib$name.la"
41502 if test "X$found_dir" = "X"; then
41503 for x in $LDFLAGS $LTLIBICONV; do
41505 acl_save_prefix="$prefix"
41506 prefix="$acl_final_prefix"
41507 acl_save_exec_prefix="$exec_prefix"
41508 exec_prefix="$acl_final_exec_prefix"
41509 eval x=\"$x\"
41510 exec_prefix="$acl_save_exec_prefix"
41511 prefix="$acl_save_prefix"
41513 case "$x" in
41514 -L*)
41515 dir=`echo "X$x" | sed -e 's/^X-L//'`
41516 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
41517 found_dir="$dir"
41518 found_so="$dir/lib$name.$shlibext"
41519 if test -f "$dir/lib$name.la"; then
41520 found_la="$dir/lib$name.la"
41522 else
41523 if test -f "$dir/lib$name.$libext"; then
41524 found_dir="$dir"
41525 found_a="$dir/lib$name.$libext"
41526 if test -f "$dir/lib$name.la"; then
41527 found_la="$dir/lib$name.la"
41532 esac
41533 if test "X$found_dir" != "X"; then
41534 break
41536 done
41538 if test "X$found_dir" != "X"; then
41539 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
41540 if test "X$found_so" != "X"; then
41541 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
41542 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
41543 else
41544 haveit=
41545 for x in $ltrpathdirs; do
41546 if test "X$x" = "X$found_dir"; then
41547 haveit=yes
41548 break
41550 done
41551 if test -z "$haveit"; then
41552 ltrpathdirs="$ltrpathdirs $found_dir"
41554 if test "$hardcode_direct" = yes; then
41555 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
41556 else
41557 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
41558 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
41559 haveit=
41560 for x in $rpathdirs; do
41561 if test "X$x" = "X$found_dir"; then
41562 haveit=yes
41563 break
41565 done
41566 if test -z "$haveit"; then
41567 rpathdirs="$rpathdirs $found_dir"
41569 else
41570 haveit=
41571 for x in $LDFLAGS $LIBICONV; do
41573 acl_save_prefix="$prefix"
41574 prefix="$acl_final_prefix"
41575 acl_save_exec_prefix="$exec_prefix"
41576 exec_prefix="$acl_final_exec_prefix"
41577 eval x=\"$x\"
41578 exec_prefix="$acl_save_exec_prefix"
41579 prefix="$acl_save_prefix"
41581 if test "X$x" = "X-L$found_dir"; then
41582 haveit=yes
41583 break
41585 done
41586 if test -z "$haveit"; then
41587 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
41589 if test "$hardcode_minus_L" != no; then
41590 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
41591 else
41592 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
41597 else
41598 if test "X$found_a" != "X"; then
41599 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
41600 else
41601 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
41604 additional_includedir=
41605 case "$found_dir" in
41606 */lib | */lib/)
41607 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
41608 additional_includedir="$basedir/include"
41610 esac
41611 if test "X$additional_includedir" != "X"; then
41612 if test "X$additional_includedir" != "X/usr/include"; then
41613 haveit=
41614 if test "X$additional_includedir" = "X/usr/local/include"; then
41615 if test -n "$GCC"; then
41616 case $host_os in
41617 linux*) haveit=yes;;
41618 esac
41621 if test -z "$haveit"; then
41622 for x in $CPPFLAGS $INCICONV; do
41624 acl_save_prefix="$prefix"
41625 prefix="$acl_final_prefix"
41626 acl_save_exec_prefix="$exec_prefix"
41627 exec_prefix="$acl_final_exec_prefix"
41628 eval x=\"$x\"
41629 exec_prefix="$acl_save_exec_prefix"
41630 prefix="$acl_save_prefix"
41632 if test "X$x" = "X-I$additional_includedir"; then
41633 haveit=yes
41634 break
41636 done
41637 if test -z "$haveit"; then
41638 if test -d "$additional_includedir"; then
41639 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
41645 if test -n "$found_la"; then
41646 save_libdir="$libdir"
41647 case "$found_la" in
41648 */* | *\\*) . "$found_la" ;;
41649 *) . "./$found_la" ;;
41650 esac
41651 libdir="$save_libdir"
41652 for dep in $dependency_libs; do
41653 case "$dep" in
41654 -L*)
41655 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
41656 if test "X$additional_libdir" != "X/usr/lib"; then
41657 haveit=
41658 if test "X$additional_libdir" = "X/usr/local/lib"; then
41659 if test -n "$GCC"; then
41660 case $host_os in
41661 linux*) haveit=yes;;
41662 esac
41665 if test -z "$haveit"; then
41666 haveit=
41667 for x in $LDFLAGS $LIBICONV; do
41669 acl_save_prefix="$prefix"
41670 prefix="$acl_final_prefix"
41671 acl_save_exec_prefix="$exec_prefix"
41672 exec_prefix="$acl_final_exec_prefix"
41673 eval x=\"$x\"
41674 exec_prefix="$acl_save_exec_prefix"
41675 prefix="$acl_save_prefix"
41677 if test "X$x" = "X-L$additional_libdir"; then
41678 haveit=yes
41679 break
41681 done
41682 if test -z "$haveit"; then
41683 if test -d "$additional_libdir"; then
41684 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
41687 haveit=
41688 for x in $LDFLAGS $LTLIBICONV; do
41690 acl_save_prefix="$prefix"
41691 prefix="$acl_final_prefix"
41692 acl_save_exec_prefix="$exec_prefix"
41693 exec_prefix="$acl_final_exec_prefix"
41694 eval x=\"$x\"
41695 exec_prefix="$acl_save_exec_prefix"
41696 prefix="$acl_save_prefix"
41698 if test "X$x" = "X-L$additional_libdir"; then
41699 haveit=yes
41700 break
41702 done
41703 if test -z "$haveit"; then
41704 if test -d "$additional_libdir"; then
41705 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
41711 -R*)
41712 dir=`echo "X$dep" | sed -e 's/^X-R//'`
41713 if test "$enable_rpath" != no; then
41714 haveit=
41715 for x in $rpathdirs; do
41716 if test "X$x" = "X$dir"; then
41717 haveit=yes
41718 break
41720 done
41721 if test -z "$haveit"; then
41722 rpathdirs="$rpathdirs $dir"
41724 haveit=
41725 for x in $ltrpathdirs; do
41726 if test "X$x" = "X$dir"; then
41727 haveit=yes
41728 break
41730 done
41731 if test -z "$haveit"; then
41732 ltrpathdirs="$ltrpathdirs $dir"
41736 -l*)
41737 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
41739 *.la)
41740 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
41743 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
41744 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
41746 esac
41747 done
41749 else
41750 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
41751 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
41755 done
41756 done
41757 if test "X$rpathdirs" != "X"; then
41758 if test -n "$hardcode_libdir_separator"; then
41759 alldirs=
41760 for found_dir in $rpathdirs; do
41761 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
41762 done
41763 acl_save_libdir="$libdir"
41764 libdir="$alldirs"
41765 eval flag=\"$hardcode_libdir_flag_spec\"
41766 libdir="$acl_save_libdir"
41767 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
41768 else
41769 for found_dir in $rpathdirs; do
41770 acl_save_libdir="$libdir"
41771 libdir="$found_dir"
41772 eval flag=\"$hardcode_libdir_flag_spec\"
41773 libdir="$acl_save_libdir"
41774 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
41775 done
41778 if test "X$ltrpathdirs" != "X"; then
41779 for found_dir in $ltrpathdirs; do
41780 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
41781 done
41790 am_save_CPPFLAGS="$CPPFLAGS"
41792 for element in $INCICONV; do
41793 haveit=
41794 for x in $CPPFLAGS; do
41796 acl_save_prefix="$prefix"
41797 prefix="$acl_final_prefix"
41798 acl_save_exec_prefix="$exec_prefix"
41799 exec_prefix="$acl_final_exec_prefix"
41800 eval x=\"$x\"
41801 exec_prefix="$acl_save_exec_prefix"
41802 prefix="$acl_save_prefix"
41804 if test "X$x" = "X$element"; then
41805 haveit=yes
41806 break
41808 done
41809 if test -z "$haveit"; then
41810 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
41812 done
41815 echo "$as_me:$LINENO: checking for iconv" >&5
41816 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
41817 if test "${am_cv_func_iconv+set}" = set; then
41818 echo $ECHO_N "(cached) $ECHO_C" >&6
41819 else
41821 am_cv_func_iconv="no, consider installing GNU libiconv"
41822 am_cv_lib_iconv=no
41823 if test x$gcc_no_link = xyes; then
41824 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41825 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41826 { (exit 1); exit 1; }; }
41828 cat >conftest.$ac_ext <<_ACEOF
41829 /* confdefs.h. */
41830 _ACEOF
41831 cat confdefs.h >>conftest.$ac_ext
41832 cat >>conftest.$ac_ext <<_ACEOF
41833 /* end confdefs.h. */
41834 #include <stdlib.h>
41835 #include <iconv.h>
41837 main ()
41839 iconv_t cd = iconv_open("","");
41840 iconv(cd,NULL,NULL,NULL,NULL);
41841 iconv_close(cd);
41843 return 0;
41845 _ACEOF
41846 rm -f conftest.$ac_objext conftest$ac_exeext
41847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41848 (eval $ac_link) 2>conftest.er1
41849 ac_status=$?
41850 grep -v '^ *+' conftest.er1 >conftest.err
41851 rm -f conftest.er1
41852 cat conftest.err >&5
41853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41854 (exit $ac_status); } &&
41855 { ac_try='test -z "$ac_c_werror_flag"
41856 || test ! -s conftest.err'
41857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41858 (eval $ac_try) 2>&5
41859 ac_status=$?
41860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41861 (exit $ac_status); }; } &&
41862 { ac_try='test -s conftest$ac_exeext'
41863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41864 (eval $ac_try) 2>&5
41865 ac_status=$?
41866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41867 (exit $ac_status); }; }; then
41868 am_cv_func_iconv=yes
41869 else
41870 echo "$as_me: failed program was:" >&5
41871 sed 's/^/| /' conftest.$ac_ext >&5
41874 rm -f conftest.err conftest.$ac_objext \
41875 conftest$ac_exeext conftest.$ac_ext
41876 if test "$am_cv_func_iconv" != yes; then
41877 am_save_LIBS="$LIBS"
41878 LIBS="$LIBS $LIBICONV"
41879 if test x$gcc_no_link = xyes; then
41880 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41881 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41882 { (exit 1); exit 1; }; }
41884 cat >conftest.$ac_ext <<_ACEOF
41885 /* confdefs.h. */
41886 _ACEOF
41887 cat confdefs.h >>conftest.$ac_ext
41888 cat >>conftest.$ac_ext <<_ACEOF
41889 /* end confdefs.h. */
41890 #include <stdlib.h>
41891 #include <iconv.h>
41893 main ()
41895 iconv_t cd = iconv_open("","");
41896 iconv(cd,NULL,NULL,NULL,NULL);
41897 iconv_close(cd);
41899 return 0;
41901 _ACEOF
41902 rm -f conftest.$ac_objext conftest$ac_exeext
41903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41904 (eval $ac_link) 2>conftest.er1
41905 ac_status=$?
41906 grep -v '^ *+' conftest.er1 >conftest.err
41907 rm -f conftest.er1
41908 cat conftest.err >&5
41909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41910 (exit $ac_status); } &&
41911 { ac_try='test -z "$ac_c_werror_flag"
41912 || test ! -s conftest.err'
41913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41914 (eval $ac_try) 2>&5
41915 ac_status=$?
41916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41917 (exit $ac_status); }; } &&
41918 { ac_try='test -s conftest$ac_exeext'
41919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41920 (eval $ac_try) 2>&5
41921 ac_status=$?
41922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41923 (exit $ac_status); }; }; then
41924 am_cv_lib_iconv=yes
41925 am_cv_func_iconv=yes
41926 else
41927 echo "$as_me: failed program was:" >&5
41928 sed 's/^/| /' conftest.$ac_ext >&5
41931 rm -f conftest.err conftest.$ac_objext \
41932 conftest$ac_exeext conftest.$ac_ext
41933 LIBS="$am_save_LIBS"
41937 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
41938 echo "${ECHO_T}$am_cv_func_iconv" >&6
41939 if test "$am_cv_func_iconv" = yes; then
41941 cat >>confdefs.h <<\_ACEOF
41942 #define HAVE_ICONV 1
41943 _ACEOF
41946 if test "$am_cv_lib_iconv" = yes; then
41947 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
41948 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
41949 echo "$as_me:$LINENO: result: $LIBICONV" >&5
41950 echo "${ECHO_T}$LIBICONV" >&6
41951 else
41952 CPPFLAGS="$am_save_CPPFLAGS"
41953 LIBICONV=
41954 LTLIBICONV=
41959 if test "$am_cv_func_iconv" = yes; then
41960 echo "$as_me:$LINENO: checking for iconv declaration" >&5
41961 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
41962 if test "${am_cv_proto_iconv+set}" = set; then
41963 echo $ECHO_N "(cached) $ECHO_C" >&6
41964 else
41966 cat >conftest.$ac_ext <<_ACEOF
41967 /* confdefs.h. */
41968 _ACEOF
41969 cat confdefs.h >>conftest.$ac_ext
41970 cat >>conftest.$ac_ext <<_ACEOF
41971 /* end confdefs.h. */
41973 #include <stdlib.h>
41974 #include <iconv.h>
41975 extern
41976 #ifdef __cplusplus
41978 #endif
41979 #if defined(__STDC__) || defined(__cplusplus)
41980 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
41981 #else
41982 size_t iconv();
41983 #endif
41986 main ()
41990 return 0;
41992 _ACEOF
41993 rm -f conftest.$ac_objext
41994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41995 (eval $ac_compile) 2>conftest.er1
41996 ac_status=$?
41997 grep -v '^ *+' conftest.er1 >conftest.err
41998 rm -f conftest.er1
41999 cat conftest.err >&5
42000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42001 (exit $ac_status); } &&
42002 { ac_try='test -z "$ac_c_werror_flag"
42003 || test ! -s conftest.err'
42004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42005 (eval $ac_try) 2>&5
42006 ac_status=$?
42007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42008 (exit $ac_status); }; } &&
42009 { ac_try='test -s conftest.$ac_objext'
42010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42011 (eval $ac_try) 2>&5
42012 ac_status=$?
42013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42014 (exit $ac_status); }; }; then
42015 am_cv_proto_iconv_arg1=""
42016 else
42017 echo "$as_me: failed program was:" >&5
42018 sed 's/^/| /' conftest.$ac_ext >&5
42020 am_cv_proto_iconv_arg1="const"
42022 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42023 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);"
42026 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
42027 echo "$as_me:$LINENO: result: ${ac_t:-
42028 }$am_cv_proto_iconv" >&5
42029 echo "${ECHO_T}${ac_t:-
42030 }$am_cv_proto_iconv" >&6
42032 cat >>confdefs.h <<_ACEOF
42033 #define ICONV_CONST $am_cv_proto_iconv_arg1
42034 _ACEOF
42039 else
42041 # This lets us hard-code the functionality we know we'll have in the cross
42042 # target environment. "Let" is a sugar-coated word placed on an especially
42043 # dull and tedious hack, actually.
42045 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
42046 # that involve linking, can't be used:
42047 # "cannot open sim-crt0.o"
42048 # "cannot open crt0.o"
42049 # etc. All this is because there currently exists no unified, consistent
42050 # way for top level CC information to be passed down to target directories:
42051 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
42052 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
42053 # crosses can be removed.
42055 # If Canadian cross, then don't pick up tools from the build directory.
42056 # Used only in GLIBCXX_EXPORT_INCLUDES.
42057 if test -n "$with_cross_host" &&
42058 test x"$build_alias" != x"$with_cross_host" &&
42059 test x"$build" != x"$target";
42060 then
42061 CANADIAN=yes
42062 else
42063 CANADIAN=no
42066 # Construct crosses by hand, eliminating bits that need ld...
42067 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
42068 # GLIBCXX_CHECK_MATH_SUPPORT
42070 # First, test for "known" system libraries. We may be using newlib even
42071 # on a hosted environment.
42072 if test "x${with_newlib}" = "xyes"; then
42073 os_include_dir="os/newlib"
42074 cat >>confdefs.h <<\_ACEOF
42075 #define HAVE_HYPOT 1
42076 _ACEOF
42079 # GLIBCXX_CHECK_STDLIB_SUPPORT
42080 cat >>confdefs.h <<\_ACEOF
42081 #define HAVE_STRTOF 1
42082 _ACEOF
42084 # AC_FUNC_MMAP
42085 cat >>confdefs.h <<\_ACEOF
42086 #define HAVE_MMAP 1
42087 _ACEOF
42090 cat >>confdefs.h <<\_ACEOF
42091 #define HAVE_ACOSF 1
42092 _ACEOF
42094 cat >>confdefs.h <<\_ACEOF
42095 #define HAVE_ASINF 1
42096 _ACEOF
42098 cat >>confdefs.h <<\_ACEOF
42099 #define HAVE_ATAN2F 1
42100 _ACEOF
42102 cat >>confdefs.h <<\_ACEOF
42103 #define HAVE_ATANF 1
42104 _ACEOF
42106 cat >>confdefs.h <<\_ACEOF
42107 #define HAVE_CEILF 1
42108 _ACEOF
42110 cat >>confdefs.h <<\_ACEOF
42111 #define HAVE_COPYSIGN 1
42112 _ACEOF
42114 cat >>confdefs.h <<\_ACEOF
42115 #define HAVE_COPYSIGNF 1
42116 _ACEOF
42118 cat >>confdefs.h <<\_ACEOF
42119 #define HAVE_COSF 1
42120 _ACEOF
42122 cat >>confdefs.h <<\_ACEOF
42123 #define HAVE_COSHF 1
42124 _ACEOF
42126 cat >>confdefs.h <<\_ACEOF
42127 #define HAVE_EXPF 1
42128 _ACEOF
42130 cat >>confdefs.h <<\_ACEOF
42131 #define HAVE_FABSF 1
42132 _ACEOF
42134 cat >>confdefs.h <<\_ACEOF
42135 #define HAVE_FLOORF 1
42136 _ACEOF
42138 cat >>confdefs.h <<\_ACEOF
42139 #define HAVE_FMODF 1
42140 _ACEOF
42142 cat >>confdefs.h <<\_ACEOF
42143 #define HAVE_FREXPF 1
42144 _ACEOF
42146 cat >>confdefs.h <<\_ACEOF
42147 #define HAVE_LDEXPF 1
42148 _ACEOF
42150 cat >>confdefs.h <<\_ACEOF
42151 #define HAVE_LOG10F 1
42152 _ACEOF
42154 cat >>confdefs.h <<\_ACEOF
42155 #define HAVE_LOGF 1
42156 _ACEOF
42158 cat >>confdefs.h <<\_ACEOF
42159 #define HAVE_MODFF 1
42160 _ACEOF
42162 cat >>confdefs.h <<\_ACEOF
42163 #define HAVE_POWF 1
42164 _ACEOF
42166 cat >>confdefs.h <<\_ACEOF
42167 #define HAVE_SINF 1
42168 _ACEOF
42170 cat >>confdefs.h <<\_ACEOF
42171 #define HAVE_SINHF 1
42172 _ACEOF
42174 cat >>confdefs.h <<\_ACEOF
42175 #define HAVE_SQRTF 1
42176 _ACEOF
42178 cat >>confdefs.h <<\_ACEOF
42179 #define HAVE_TANF 1
42180 _ACEOF
42182 cat >>confdefs.h <<\_ACEOF
42183 #define HAVE_TANHF 1
42184 _ACEOF
42187 cat >>confdefs.h <<\_ACEOF
42188 #define HAVE_S_ISREG 1
42189 _ACEOF
42191 cat >>confdefs.h <<\_ACEOF
42192 #define HAVE_S_IFREG 1
42193 _ACEOF
42196 cat >>confdefs.h <<\_ACEOF
42197 #define HAVE_ICONV 1
42198 _ACEOF
42200 else
42202 # Base decisions on target environment.
42203 case "${host}" in
42204 arm*-*-symbianelf*)
42205 # This is a freestanding configuration; there is nothing to do here.
42208 mips*-sde-elf*)
42209 # These definitions are for the SDE C library rather than newlib.
42225 for ac_header in float.h inttypes.h locale.h \
42226 stdint.h stdlib.h string.h unistd.h wchar.h \
42227 machine/endian.h sys/ioctl.h sys/resource.h \
42228 sys/stat.h sys/time.h sys/types.h sys/uio.h
42230 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42231 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42232 echo "$as_me:$LINENO: checking for $ac_header" >&5
42233 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
42234 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42235 echo $ECHO_N "(cached) $ECHO_C" >&6
42237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
42238 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
42239 else
42240 # Is the header compilable?
42241 echo "$as_me:$LINENO: checking $ac_header usability" >&5
42242 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
42243 cat >conftest.$ac_ext <<_ACEOF
42244 /* confdefs.h. */
42245 _ACEOF
42246 cat confdefs.h >>conftest.$ac_ext
42247 cat >>conftest.$ac_ext <<_ACEOF
42248 /* end confdefs.h. */
42249 $ac_includes_default
42250 #include <$ac_header>
42251 _ACEOF
42252 rm -f conftest.$ac_objext
42253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42254 (eval $ac_compile) 2>conftest.er1
42255 ac_status=$?
42256 grep -v '^ *+' conftest.er1 >conftest.err
42257 rm -f conftest.er1
42258 cat conftest.err >&5
42259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42260 (exit $ac_status); } &&
42261 { ac_try='test -z "$ac_c_werror_flag"
42262 || test ! -s conftest.err'
42263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42264 (eval $ac_try) 2>&5
42265 ac_status=$?
42266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42267 (exit $ac_status); }; } &&
42268 { ac_try='test -s conftest.$ac_objext'
42269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42270 (eval $ac_try) 2>&5
42271 ac_status=$?
42272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42273 (exit $ac_status); }; }; then
42274 ac_header_compiler=yes
42275 else
42276 echo "$as_me: failed program was:" >&5
42277 sed 's/^/| /' conftest.$ac_ext >&5
42279 ac_header_compiler=no
42281 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42282 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
42283 echo "${ECHO_T}$ac_header_compiler" >&6
42285 # Is the header present?
42286 echo "$as_me:$LINENO: checking $ac_header presence" >&5
42287 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
42288 cat >conftest.$ac_ext <<_ACEOF
42289 /* confdefs.h. */
42290 _ACEOF
42291 cat confdefs.h >>conftest.$ac_ext
42292 cat >>conftest.$ac_ext <<_ACEOF
42293 /* end confdefs.h. */
42294 #include <$ac_header>
42295 _ACEOF
42296 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
42297 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
42298 ac_status=$?
42299 grep -v '^ *+' conftest.er1 >conftest.err
42300 rm -f conftest.er1
42301 cat conftest.err >&5
42302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42303 (exit $ac_status); } >/dev/null; then
42304 if test -s conftest.err; then
42305 ac_cpp_err=$ac_c_preproc_warn_flag
42306 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
42307 else
42308 ac_cpp_err=
42310 else
42311 ac_cpp_err=yes
42313 if test -z "$ac_cpp_err"; then
42314 ac_header_preproc=yes
42315 else
42316 echo "$as_me: failed program was:" >&5
42317 sed 's/^/| /' conftest.$ac_ext >&5
42319 ac_header_preproc=no
42321 rm -f conftest.err conftest.$ac_ext
42322 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
42323 echo "${ECHO_T}$ac_header_preproc" >&6
42325 # So? What about this header?
42326 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
42327 yes:no: )
42328 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
42329 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
42330 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
42331 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
42332 ac_header_preproc=yes
42334 no:yes:* )
42335 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
42336 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
42337 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
42338 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
42339 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
42340 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
42341 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
42342 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
42343 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
42344 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
42345 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
42346 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
42348 cat <<\_ASBOX
42349 ## ----------------------------------------- ##
42350 ## Report this to the package-unused lists. ##
42351 ## ----------------------------------------- ##
42352 _ASBOX
42354 sed "s/^/$as_me: WARNING: /" >&2
42356 esac
42357 echo "$as_me:$LINENO: checking for $ac_header" >&5
42358 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
42359 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42360 echo $ECHO_N "(cached) $ECHO_C" >&6
42361 else
42362 eval "$as_ac_Header=\$ac_header_preproc"
42364 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
42365 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
42368 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42369 cat >>confdefs.h <<_ACEOF
42370 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42371 _ACEOF
42375 done
42377 SECTION_FLAGS='-ffunction-sections -fdata-sections'
42380 # All these tests are for C++; save the language and the compiler flags.
42381 # The CXXFLAGS thing is suspicious, but based on similar bits previously
42382 # found in GLIBCXX_CONFIGURE.
42385 ac_ext=cc
42386 ac_cpp='$CXXCPP $CPPFLAGS'
42387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42391 ac_test_CXXFLAGS="${CXXFLAGS+set}"
42392 ac_save_CXXFLAGS="$CXXFLAGS"
42394 # Check for maintainer-mode bits.
42395 if test x"$USE_MAINTAINER_MODE" = xno; then
42396 WERROR=''
42397 else
42398 WERROR='-Werror'
42401 # Check for -ffunction-sections -fdata-sections
42402 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
42403 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
42404 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
42405 cat >conftest.$ac_ext <<_ACEOF
42406 /* confdefs.h. */
42407 _ACEOF
42408 cat confdefs.h >>conftest.$ac_ext
42409 cat >>conftest.$ac_ext <<_ACEOF
42410 /* end confdefs.h. */
42411 int foo; void bar() { };
42413 main ()
42417 return 0;
42419 _ACEOF
42420 rm -f conftest.$ac_objext
42421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42422 (eval $ac_compile) 2>conftest.er1
42423 ac_status=$?
42424 grep -v '^ *+' conftest.er1 >conftest.err
42425 rm -f conftest.er1
42426 cat conftest.err >&5
42427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42428 (exit $ac_status); } &&
42429 { ac_try='test -z "$ac_cxx_werror_flag"
42430 || test ! -s conftest.err'
42431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42432 (eval $ac_try) 2>&5
42433 ac_status=$?
42434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42435 (exit $ac_status); }; } &&
42436 { ac_try='test -s conftest.$ac_objext'
42437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42438 (eval $ac_try) 2>&5
42439 ac_status=$?
42440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42441 (exit $ac_status); }; }; then
42442 ac_fdsections=yes
42443 else
42444 echo "$as_me: failed program was:" >&5
42445 sed 's/^/| /' conftest.$ac_ext >&5
42447 ac_fdsections=no
42449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42450 if test "$ac_test_CXXFLAGS" = set; then
42451 CXXFLAGS="$ac_save_CXXFLAGS"
42452 else
42453 # this is the suspicious part
42454 CXXFLAGS=''
42456 if test x"$ac_fdsections" = x"yes"; then
42457 SECTION_FLAGS='-ffunction-sections -fdata-sections'
42459 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
42460 echo "${ECHO_T}$ac_fdsections" >&6
42462 ac_ext=c
42463 ac_cpp='$CPP $CPPFLAGS'
42464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42472 # If we're not using GNU ld, then there's no point in even trying these
42473 # tests. Check for that first. We should have already tested for gld
42474 # by now (in libtool), but require it now just to be safe...
42475 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
42476 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
42480 # The name set by libtool depends on the version of libtool. Shame on us
42481 # for depending on an impl detail, but c'est la vie. Older versions used
42482 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
42483 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
42484 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
42485 # set (hence we're using an older libtool), then set it.
42486 if test x${with_gnu_ld+set} != xset; then
42487 if test x${ac_cv_prog_gnu_ld+set} != xset; then
42488 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
42489 with_gnu_ld=no
42490 else
42491 with_gnu_ld=$ac_cv_prog_gnu_ld
42495 # Start by getting the version number. I think the libtool test already
42496 # does some of this, but throws away the result.
42497 if test x"$with_gnu_ld" = x"yes"; then
42498 echo "$as_me:$LINENO: checking for ld version" >&5
42499 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
42501 ldver=`$LD --version 2>/dev/null | head -1 | \
42502 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
42504 glibcxx_gnu_ld_version=`echo $ldver | \
42505 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
42506 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
42507 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
42510 # Set --gc-sections.
42511 glibcxx_gcsections_min_ld=21602
42512 if test x"$with_gnu_ld" = x"yes" &&
42513 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
42515 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
42516 # NB: This flag only works reliably after 2.16.1. Configure tests
42517 # for this are difficult, so hard wire a value that should work.
42519 ac_test_CFLAGS="${CFLAGS+set}"
42520 ac_save_CFLAGS="$CFLAGS"
42521 CFLAGS='-Wl,--gc-sections'
42523 # Check for -Wl,--gc-sections
42524 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
42525 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
42526 if test x$gcc_no_link = xyes; then
42527 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42528 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42529 { (exit 1); exit 1; }; }
42531 cat >conftest.$ac_ext <<_ACEOF
42532 /* confdefs.h. */
42533 _ACEOF
42534 cat confdefs.h >>conftest.$ac_ext
42535 cat >>conftest.$ac_ext <<_ACEOF
42536 /* end confdefs.h. */
42537 int one(void) { return 1; }
42538 int two(void) { return 2; }
42541 main ()
42543 two();
42545 return 0;
42547 _ACEOF
42548 rm -f conftest.$ac_objext conftest$ac_exeext
42549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42550 (eval $ac_link) 2>conftest.er1
42551 ac_status=$?
42552 grep -v '^ *+' conftest.er1 >conftest.err
42553 rm -f conftest.er1
42554 cat conftest.err >&5
42555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42556 (exit $ac_status); } &&
42557 { ac_try='test -z "$ac_c_werror_flag"
42558 || test ! -s conftest.err'
42559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42560 (eval $ac_try) 2>&5
42561 ac_status=$?
42562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42563 (exit $ac_status); }; } &&
42564 { ac_try='test -s conftest$ac_exeext'
42565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42566 (eval $ac_try) 2>&5
42567 ac_status=$?
42568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42569 (exit $ac_status); }; }; then
42570 ac_gcsections=yes
42571 else
42572 echo "$as_me: failed program was:" >&5
42573 sed 's/^/| /' conftest.$ac_ext >&5
42575 ac_gcsections=no
42577 rm -f conftest.err conftest.$ac_objext \
42578 conftest$ac_exeext conftest.$ac_ext
42579 if test "$ac_gcsections" = "yes"; then
42580 rm -f conftest.c
42581 touch conftest.c
42582 if $CC -c conftest.c; then
42583 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
42584 grep "Warning: gc-sections option ignored" > /dev/null; then
42585 ac_gcsections=no
42588 rm -f conftest.c conftest.o conftest
42590 if test "$ac_gcsections" = "yes"; then
42591 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
42593 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
42594 echo "${ECHO_T}$ac_gcsections" >&6
42596 if test "$ac_test_CFLAGS" = set; then
42597 CFLAGS="$ac_save_CFLAGS"
42598 else
42599 # this is the suspicious part
42600 CFLAGS=''
42604 # Set -z,relro.
42605 # Note this is only for shared objects.
42606 ac_ld_relro=no
42607 if test x"$with_gnu_ld" = x"yes"; then
42608 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
42609 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
42610 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
42611 if test -n "$cxx_z_relo"; then
42612 OPT_LDFLAGS="-Wl,-z,relro"
42613 ac_ld_relro=yes
42615 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
42616 echo "${ECHO_T}$ac_ld_relro" >&6
42619 # Set linker optimization flags.
42620 if test x"$with_gnu_ld" = x"yes"; then
42621 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
42628 ac_test_CXXFLAGS="${CXXFLAGS+set}"
42629 ac_save_CXXFLAGS="$CXXFLAGS"
42630 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
42632 echo "$as_me:$LINENO: checking for sin in -lm" >&5
42633 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
42634 if test "${ac_cv_lib_m_sin+set}" = set; then
42635 echo $ECHO_N "(cached) $ECHO_C" >&6
42636 else
42637 ac_check_lib_save_LIBS=$LIBS
42638 LIBS="-lm $LIBS"
42639 if test x$gcc_no_link = xyes; then
42640 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42641 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42642 { (exit 1); exit 1; }; }
42644 cat >conftest.$ac_ext <<_ACEOF
42645 /* confdefs.h. */
42646 _ACEOF
42647 cat confdefs.h >>conftest.$ac_ext
42648 cat >>conftest.$ac_ext <<_ACEOF
42649 /* end confdefs.h. */
42651 /* Override any gcc2 internal prototype to avoid an error. */
42652 #ifdef __cplusplus
42653 extern "C"
42654 #endif
42655 /* We use char because int might match the return type of a gcc2
42656 builtin and then its argument prototype would still apply. */
42657 char sin ();
42659 main ()
42661 sin ();
42663 return 0;
42665 _ACEOF
42666 rm -f conftest.$ac_objext conftest$ac_exeext
42667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42668 (eval $ac_link) 2>conftest.er1
42669 ac_status=$?
42670 grep -v '^ *+' conftest.er1 >conftest.err
42671 rm -f conftest.er1
42672 cat conftest.err >&5
42673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42674 (exit $ac_status); } &&
42675 { ac_try='test -z "$ac_c_werror_flag"
42676 || test ! -s conftest.err'
42677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42678 (eval $ac_try) 2>&5
42679 ac_status=$?
42680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42681 (exit $ac_status); }; } &&
42682 { ac_try='test -s conftest$ac_exeext'
42683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42684 (eval $ac_try) 2>&5
42685 ac_status=$?
42686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42687 (exit $ac_status); }; }; then
42688 ac_cv_lib_m_sin=yes
42689 else
42690 echo "$as_me: failed program was:" >&5
42691 sed 's/^/| /' conftest.$ac_ext >&5
42693 ac_cv_lib_m_sin=no
42695 rm -f conftest.err conftest.$ac_objext \
42696 conftest$ac_exeext conftest.$ac_ext
42697 LIBS=$ac_check_lib_save_LIBS
42699 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
42700 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
42701 if test $ac_cv_lib_m_sin = yes; then
42702 libm="-lm"
42705 ac_save_LIBS="$LIBS"
42706 LIBS="$LIBS $libm"
42710 echo "$as_me:$LINENO: checking for isinf declaration" >&5
42711 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
42712 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
42713 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
42714 echo $ECHO_N "(cached) $ECHO_C" >&6
42715 else
42719 ac_ext=cc
42720 ac_cpp='$CXXCPP $CPPFLAGS'
42721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42725 cat >conftest.$ac_ext <<_ACEOF
42726 /* confdefs.h. */
42727 _ACEOF
42728 cat confdefs.h >>conftest.$ac_ext
42729 cat >>conftest.$ac_ext <<_ACEOF
42730 /* end confdefs.h. */
42731 #include <math.h>
42732 #ifdef HAVE_IEEEFP_H
42733 #include <ieeefp.h>
42734 #endif
42737 main ()
42739 isinf(0);
42741 return 0;
42743 _ACEOF
42744 rm -f conftest.$ac_objext
42745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42746 (eval $ac_compile) 2>conftest.er1
42747 ac_status=$?
42748 grep -v '^ *+' conftest.er1 >conftest.err
42749 rm -f conftest.er1
42750 cat conftest.err >&5
42751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42752 (exit $ac_status); } &&
42753 { ac_try='test -z "$ac_cxx_werror_flag"
42754 || test ! -s conftest.err'
42755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42756 (eval $ac_try) 2>&5
42757 ac_status=$?
42758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42759 (exit $ac_status); }; } &&
42760 { ac_try='test -s conftest.$ac_objext'
42761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42762 (eval $ac_try) 2>&5
42763 ac_status=$?
42764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42765 (exit $ac_status); }; }; then
42766 glibcxx_cv_func_isinf_use=yes
42767 else
42768 echo "$as_me: failed program was:" >&5
42769 sed 's/^/| /' conftest.$ac_ext >&5
42771 glibcxx_cv_func_isinf_use=no
42773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42774 ac_ext=c
42775 ac_cpp='$CPP $CPPFLAGS'
42776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42784 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
42785 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
42787 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
42789 for ac_func in isinf
42791 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42792 echo "$as_me:$LINENO: checking for $ac_func" >&5
42793 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42794 if eval "test \"\${$as_ac_var+set}\" = set"; then
42795 echo $ECHO_N "(cached) $ECHO_C" >&6
42796 else
42797 if test x$gcc_no_link = xyes; then
42798 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42799 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42800 { (exit 1); exit 1; }; }
42802 cat >conftest.$ac_ext <<_ACEOF
42803 /* confdefs.h. */
42804 _ACEOF
42805 cat confdefs.h >>conftest.$ac_ext
42806 cat >>conftest.$ac_ext <<_ACEOF
42807 /* end confdefs.h. */
42808 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42809 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42810 #define $ac_func innocuous_$ac_func
42812 /* System header to define __stub macros and hopefully few prototypes,
42813 which can conflict with char $ac_func (); below.
42814 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42815 <limits.h> exists even on freestanding compilers. */
42817 #ifdef __STDC__
42818 # include <limits.h>
42819 #else
42820 # include <assert.h>
42821 #endif
42823 #undef $ac_func
42825 /* Override any gcc2 internal prototype to avoid an error. */
42826 #ifdef __cplusplus
42827 extern "C"
42829 #endif
42830 /* We use char because int might match the return type of a gcc2
42831 builtin and then its argument prototype would still apply. */
42832 char $ac_func ();
42833 /* The GNU C library defines this for functions which it implements
42834 to always fail with ENOSYS. Some functions are actually named
42835 something starting with __ and the normal name is an alias. */
42836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42837 choke me
42838 #else
42839 char (*f) () = $ac_func;
42840 #endif
42841 #ifdef __cplusplus
42843 #endif
42846 main ()
42848 return f != $ac_func;
42850 return 0;
42852 _ACEOF
42853 rm -f conftest.$ac_objext conftest$ac_exeext
42854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42855 (eval $ac_link) 2>conftest.er1
42856 ac_status=$?
42857 grep -v '^ *+' conftest.er1 >conftest.err
42858 rm -f conftest.er1
42859 cat conftest.err >&5
42860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42861 (exit $ac_status); } &&
42862 { ac_try='test -z "$ac_c_werror_flag"
42863 || test ! -s conftest.err'
42864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42865 (eval $ac_try) 2>&5
42866 ac_status=$?
42867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42868 (exit $ac_status); }; } &&
42869 { ac_try='test -s conftest$ac_exeext'
42870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42871 (eval $ac_try) 2>&5
42872 ac_status=$?
42873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42874 (exit $ac_status); }; }; then
42875 eval "$as_ac_var=yes"
42876 else
42877 echo "$as_me: failed program was:" >&5
42878 sed 's/^/| /' conftest.$ac_ext >&5
42880 eval "$as_ac_var=no"
42882 rm -f conftest.err conftest.$ac_objext \
42883 conftest$ac_exeext conftest.$ac_ext
42885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42886 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42887 if test `eval echo '${'$as_ac_var'}'` = yes; then
42888 cat >>confdefs.h <<_ACEOF
42889 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42890 _ACEOF
42893 done
42895 else
42897 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
42898 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
42899 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
42900 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
42901 echo $ECHO_N "(cached) $ECHO_C" >&6
42902 else
42906 ac_ext=cc
42907 ac_cpp='$CXXCPP $CPPFLAGS'
42908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42912 cat >conftest.$ac_ext <<_ACEOF
42913 /* confdefs.h. */
42914 _ACEOF
42915 cat confdefs.h >>conftest.$ac_ext
42916 cat >>conftest.$ac_ext <<_ACEOF
42917 /* end confdefs.h. */
42918 #include <math.h>
42919 #ifdef HAVE_IEEEFP_H
42920 #include <ieeefp.h>
42921 #endif
42924 main ()
42926 _isinf(0);
42928 return 0;
42930 _ACEOF
42931 rm -f conftest.$ac_objext
42932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42933 (eval $ac_compile) 2>conftest.er1
42934 ac_status=$?
42935 grep -v '^ *+' conftest.er1 >conftest.err
42936 rm -f conftest.er1
42937 cat conftest.err >&5
42938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42939 (exit $ac_status); } &&
42940 { ac_try='test -z "$ac_cxx_werror_flag"
42941 || test ! -s conftest.err'
42942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42943 (eval $ac_try) 2>&5
42944 ac_status=$?
42945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42946 (exit $ac_status); }; } &&
42947 { ac_try='test -s conftest.$ac_objext'
42948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42949 (eval $ac_try) 2>&5
42950 ac_status=$?
42951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42952 (exit $ac_status); }; }; then
42953 glibcxx_cv_func__isinf_use=yes
42954 else
42955 echo "$as_me: failed program was:" >&5
42956 sed 's/^/| /' conftest.$ac_ext >&5
42958 glibcxx_cv_func__isinf_use=no
42960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42961 ac_ext=c
42962 ac_cpp='$CPP $CPPFLAGS'
42963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42971 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
42972 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
42974 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
42976 for ac_func in _isinf
42978 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42979 echo "$as_me:$LINENO: checking for $ac_func" >&5
42980 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42981 if eval "test \"\${$as_ac_var+set}\" = set"; then
42982 echo $ECHO_N "(cached) $ECHO_C" >&6
42983 else
42984 if test x$gcc_no_link = xyes; then
42985 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42986 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42987 { (exit 1); exit 1; }; }
42989 cat >conftest.$ac_ext <<_ACEOF
42990 /* confdefs.h. */
42991 _ACEOF
42992 cat confdefs.h >>conftest.$ac_ext
42993 cat >>conftest.$ac_ext <<_ACEOF
42994 /* end confdefs.h. */
42995 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42996 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42997 #define $ac_func innocuous_$ac_func
42999 /* System header to define __stub macros and hopefully few prototypes,
43000 which can conflict with char $ac_func (); below.
43001 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43002 <limits.h> exists even on freestanding compilers. */
43004 #ifdef __STDC__
43005 # include <limits.h>
43006 #else
43007 # include <assert.h>
43008 #endif
43010 #undef $ac_func
43012 /* Override any gcc2 internal prototype to avoid an error. */
43013 #ifdef __cplusplus
43014 extern "C"
43016 #endif
43017 /* We use char because int might match the return type of a gcc2
43018 builtin and then its argument prototype would still apply. */
43019 char $ac_func ();
43020 /* The GNU C library defines this for functions which it implements
43021 to always fail with ENOSYS. Some functions are actually named
43022 something starting with __ and the normal name is an alias. */
43023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43024 choke me
43025 #else
43026 char (*f) () = $ac_func;
43027 #endif
43028 #ifdef __cplusplus
43030 #endif
43033 main ()
43035 return f != $ac_func;
43037 return 0;
43039 _ACEOF
43040 rm -f conftest.$ac_objext conftest$ac_exeext
43041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43042 (eval $ac_link) 2>conftest.er1
43043 ac_status=$?
43044 grep -v '^ *+' conftest.er1 >conftest.err
43045 rm -f conftest.er1
43046 cat conftest.err >&5
43047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43048 (exit $ac_status); } &&
43049 { ac_try='test -z "$ac_c_werror_flag"
43050 || test ! -s conftest.err'
43051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43052 (eval $ac_try) 2>&5
43053 ac_status=$?
43054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43055 (exit $ac_status); }; } &&
43056 { ac_try='test -s conftest$ac_exeext'
43057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43058 (eval $ac_try) 2>&5
43059 ac_status=$?
43060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43061 (exit $ac_status); }; }; then
43062 eval "$as_ac_var=yes"
43063 else
43064 echo "$as_me: failed program was:" >&5
43065 sed 's/^/| /' conftest.$ac_ext >&5
43067 eval "$as_ac_var=no"
43069 rm -f conftest.err conftest.$ac_objext \
43070 conftest$ac_exeext conftest.$ac_ext
43072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43073 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43074 if test `eval echo '${'$as_ac_var'}'` = yes; then
43075 cat >>confdefs.h <<_ACEOF
43076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43077 _ACEOF
43080 done
43090 echo "$as_me:$LINENO: checking for isnan declaration" >&5
43091 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
43092 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
43093 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
43094 echo $ECHO_N "(cached) $ECHO_C" >&6
43095 else
43099 ac_ext=cc
43100 ac_cpp='$CXXCPP $CPPFLAGS'
43101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43105 cat >conftest.$ac_ext <<_ACEOF
43106 /* confdefs.h. */
43107 _ACEOF
43108 cat confdefs.h >>conftest.$ac_ext
43109 cat >>conftest.$ac_ext <<_ACEOF
43110 /* end confdefs.h. */
43111 #include <math.h>
43112 #ifdef HAVE_IEEEFP_H
43113 #include <ieeefp.h>
43114 #endif
43117 main ()
43119 isnan(0);
43121 return 0;
43123 _ACEOF
43124 rm -f conftest.$ac_objext
43125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43126 (eval $ac_compile) 2>conftest.er1
43127 ac_status=$?
43128 grep -v '^ *+' conftest.er1 >conftest.err
43129 rm -f conftest.er1
43130 cat conftest.err >&5
43131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43132 (exit $ac_status); } &&
43133 { ac_try='test -z "$ac_cxx_werror_flag"
43134 || test ! -s conftest.err'
43135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43136 (eval $ac_try) 2>&5
43137 ac_status=$?
43138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43139 (exit $ac_status); }; } &&
43140 { ac_try='test -s conftest.$ac_objext'
43141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43142 (eval $ac_try) 2>&5
43143 ac_status=$?
43144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43145 (exit $ac_status); }; }; then
43146 glibcxx_cv_func_isnan_use=yes
43147 else
43148 echo "$as_me: failed program was:" >&5
43149 sed 's/^/| /' conftest.$ac_ext >&5
43151 glibcxx_cv_func_isnan_use=no
43153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43154 ac_ext=c
43155 ac_cpp='$CPP $CPPFLAGS'
43156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43164 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
43165 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
43167 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
43169 for ac_func in isnan
43171 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43172 echo "$as_me:$LINENO: checking for $ac_func" >&5
43173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43174 if eval "test \"\${$as_ac_var+set}\" = set"; then
43175 echo $ECHO_N "(cached) $ECHO_C" >&6
43176 else
43177 if test x$gcc_no_link = xyes; then
43178 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43180 { (exit 1); exit 1; }; }
43182 cat >conftest.$ac_ext <<_ACEOF
43183 /* confdefs.h. */
43184 _ACEOF
43185 cat confdefs.h >>conftest.$ac_ext
43186 cat >>conftest.$ac_ext <<_ACEOF
43187 /* end confdefs.h. */
43188 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43189 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43190 #define $ac_func innocuous_$ac_func
43192 /* System header to define __stub macros and hopefully few prototypes,
43193 which can conflict with char $ac_func (); below.
43194 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43195 <limits.h> exists even on freestanding compilers. */
43197 #ifdef __STDC__
43198 # include <limits.h>
43199 #else
43200 # include <assert.h>
43201 #endif
43203 #undef $ac_func
43205 /* Override any gcc2 internal prototype to avoid an error. */
43206 #ifdef __cplusplus
43207 extern "C"
43209 #endif
43210 /* We use char because int might match the return type of a gcc2
43211 builtin and then its argument prototype would still apply. */
43212 char $ac_func ();
43213 /* The GNU C library defines this for functions which it implements
43214 to always fail with ENOSYS. Some functions are actually named
43215 something starting with __ and the normal name is an alias. */
43216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43217 choke me
43218 #else
43219 char (*f) () = $ac_func;
43220 #endif
43221 #ifdef __cplusplus
43223 #endif
43226 main ()
43228 return f != $ac_func;
43230 return 0;
43232 _ACEOF
43233 rm -f conftest.$ac_objext conftest$ac_exeext
43234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43235 (eval $ac_link) 2>conftest.er1
43236 ac_status=$?
43237 grep -v '^ *+' conftest.er1 >conftest.err
43238 rm -f conftest.er1
43239 cat conftest.err >&5
43240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43241 (exit $ac_status); } &&
43242 { ac_try='test -z "$ac_c_werror_flag"
43243 || test ! -s conftest.err'
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); }; } &&
43249 { ac_try='test -s conftest$ac_exeext'
43250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43251 (eval $ac_try) 2>&5
43252 ac_status=$?
43253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43254 (exit $ac_status); }; }; then
43255 eval "$as_ac_var=yes"
43256 else
43257 echo "$as_me: failed program was:" >&5
43258 sed 's/^/| /' conftest.$ac_ext >&5
43260 eval "$as_ac_var=no"
43262 rm -f conftest.err conftest.$ac_objext \
43263 conftest$ac_exeext conftest.$ac_ext
43265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43266 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43267 if test `eval echo '${'$as_ac_var'}'` = yes; then
43268 cat >>confdefs.h <<_ACEOF
43269 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43270 _ACEOF
43273 done
43275 else
43277 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
43278 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
43279 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
43280 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
43281 echo $ECHO_N "(cached) $ECHO_C" >&6
43282 else
43286 ac_ext=cc
43287 ac_cpp='$CXXCPP $CPPFLAGS'
43288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43292 cat >conftest.$ac_ext <<_ACEOF
43293 /* confdefs.h. */
43294 _ACEOF
43295 cat confdefs.h >>conftest.$ac_ext
43296 cat >>conftest.$ac_ext <<_ACEOF
43297 /* end confdefs.h. */
43298 #include <math.h>
43299 #ifdef HAVE_IEEEFP_H
43300 #include <ieeefp.h>
43301 #endif
43304 main ()
43306 _isnan(0);
43308 return 0;
43310 _ACEOF
43311 rm -f conftest.$ac_objext
43312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43313 (eval $ac_compile) 2>conftest.er1
43314 ac_status=$?
43315 grep -v '^ *+' conftest.er1 >conftest.err
43316 rm -f conftest.er1
43317 cat conftest.err >&5
43318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43319 (exit $ac_status); } &&
43320 { ac_try='test -z "$ac_cxx_werror_flag"
43321 || test ! -s conftest.err'
43322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43323 (eval $ac_try) 2>&5
43324 ac_status=$?
43325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43326 (exit $ac_status); }; } &&
43327 { ac_try='test -s conftest.$ac_objext'
43328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43329 (eval $ac_try) 2>&5
43330 ac_status=$?
43331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43332 (exit $ac_status); }; }; then
43333 glibcxx_cv_func__isnan_use=yes
43334 else
43335 echo "$as_me: failed program was:" >&5
43336 sed 's/^/| /' conftest.$ac_ext >&5
43338 glibcxx_cv_func__isnan_use=no
43340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43341 ac_ext=c
43342 ac_cpp='$CPP $CPPFLAGS'
43343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43351 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
43352 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
43354 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
43356 for ac_func in _isnan
43358 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43359 echo "$as_me:$LINENO: checking for $ac_func" >&5
43360 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43361 if eval "test \"\${$as_ac_var+set}\" = set"; then
43362 echo $ECHO_N "(cached) $ECHO_C" >&6
43363 else
43364 if test x$gcc_no_link = xyes; then
43365 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43366 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43367 { (exit 1); exit 1; }; }
43369 cat >conftest.$ac_ext <<_ACEOF
43370 /* confdefs.h. */
43371 _ACEOF
43372 cat confdefs.h >>conftest.$ac_ext
43373 cat >>conftest.$ac_ext <<_ACEOF
43374 /* end confdefs.h. */
43375 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43376 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43377 #define $ac_func innocuous_$ac_func
43379 /* System header to define __stub macros and hopefully few prototypes,
43380 which can conflict with char $ac_func (); below.
43381 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43382 <limits.h> exists even on freestanding compilers. */
43384 #ifdef __STDC__
43385 # include <limits.h>
43386 #else
43387 # include <assert.h>
43388 #endif
43390 #undef $ac_func
43392 /* Override any gcc2 internal prototype to avoid an error. */
43393 #ifdef __cplusplus
43394 extern "C"
43396 #endif
43397 /* We use char because int might match the return type of a gcc2
43398 builtin and then its argument prototype would still apply. */
43399 char $ac_func ();
43400 /* The GNU C library defines this for functions which it implements
43401 to always fail with ENOSYS. Some functions are actually named
43402 something starting with __ and the normal name is an alias. */
43403 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43404 choke me
43405 #else
43406 char (*f) () = $ac_func;
43407 #endif
43408 #ifdef __cplusplus
43410 #endif
43413 main ()
43415 return f != $ac_func;
43417 return 0;
43419 _ACEOF
43420 rm -f conftest.$ac_objext conftest$ac_exeext
43421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43422 (eval $ac_link) 2>conftest.er1
43423 ac_status=$?
43424 grep -v '^ *+' conftest.er1 >conftest.err
43425 rm -f conftest.er1
43426 cat conftest.err >&5
43427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43428 (exit $ac_status); } &&
43429 { ac_try='test -z "$ac_c_werror_flag"
43430 || test ! -s conftest.err'
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); }; } &&
43436 { ac_try='test -s conftest$ac_exeext'
43437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43438 (eval $ac_try) 2>&5
43439 ac_status=$?
43440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43441 (exit $ac_status); }; }; then
43442 eval "$as_ac_var=yes"
43443 else
43444 echo "$as_me: failed program was:" >&5
43445 sed 's/^/| /' conftest.$ac_ext >&5
43447 eval "$as_ac_var=no"
43449 rm -f conftest.err conftest.$ac_objext \
43450 conftest$ac_exeext conftest.$ac_ext
43452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43453 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43454 if test `eval echo '${'$as_ac_var'}'` = yes; then
43455 cat >>confdefs.h <<_ACEOF
43456 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43457 _ACEOF
43460 done
43470 echo "$as_me:$LINENO: checking for finite declaration" >&5
43471 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
43472 if test x${glibcxx_cv_func_finite_use+set} != xset; then
43473 if test "${glibcxx_cv_func_finite_use+set}" = set; then
43474 echo $ECHO_N "(cached) $ECHO_C" >&6
43475 else
43479 ac_ext=cc
43480 ac_cpp='$CXXCPP $CPPFLAGS'
43481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43485 cat >conftest.$ac_ext <<_ACEOF
43486 /* confdefs.h. */
43487 _ACEOF
43488 cat confdefs.h >>conftest.$ac_ext
43489 cat >>conftest.$ac_ext <<_ACEOF
43490 /* end confdefs.h. */
43491 #include <math.h>
43492 #ifdef HAVE_IEEEFP_H
43493 #include <ieeefp.h>
43494 #endif
43497 main ()
43499 finite(0);
43501 return 0;
43503 _ACEOF
43504 rm -f conftest.$ac_objext
43505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43506 (eval $ac_compile) 2>conftest.er1
43507 ac_status=$?
43508 grep -v '^ *+' conftest.er1 >conftest.err
43509 rm -f conftest.er1
43510 cat conftest.err >&5
43511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43512 (exit $ac_status); } &&
43513 { ac_try='test -z "$ac_cxx_werror_flag"
43514 || test ! -s conftest.err'
43515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43516 (eval $ac_try) 2>&5
43517 ac_status=$?
43518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43519 (exit $ac_status); }; } &&
43520 { ac_try='test -s conftest.$ac_objext'
43521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43522 (eval $ac_try) 2>&5
43523 ac_status=$?
43524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43525 (exit $ac_status); }; }; then
43526 glibcxx_cv_func_finite_use=yes
43527 else
43528 echo "$as_me: failed program was:" >&5
43529 sed 's/^/| /' conftest.$ac_ext >&5
43531 glibcxx_cv_func_finite_use=no
43533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43534 ac_ext=c
43535 ac_cpp='$CPP $CPPFLAGS'
43536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43544 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
43545 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
43547 if test x$glibcxx_cv_func_finite_use = x"yes"; then
43549 for ac_func in finite
43551 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43552 echo "$as_me:$LINENO: checking for $ac_func" >&5
43553 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43554 if eval "test \"\${$as_ac_var+set}\" = set"; then
43555 echo $ECHO_N "(cached) $ECHO_C" >&6
43556 else
43557 if test x$gcc_no_link = xyes; then
43558 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43559 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43560 { (exit 1); exit 1; }; }
43562 cat >conftest.$ac_ext <<_ACEOF
43563 /* confdefs.h. */
43564 _ACEOF
43565 cat confdefs.h >>conftest.$ac_ext
43566 cat >>conftest.$ac_ext <<_ACEOF
43567 /* end confdefs.h. */
43568 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43569 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43570 #define $ac_func innocuous_$ac_func
43572 /* System header to define __stub macros and hopefully few prototypes,
43573 which can conflict with char $ac_func (); below.
43574 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43575 <limits.h> exists even on freestanding compilers. */
43577 #ifdef __STDC__
43578 # include <limits.h>
43579 #else
43580 # include <assert.h>
43581 #endif
43583 #undef $ac_func
43585 /* Override any gcc2 internal prototype to avoid an error. */
43586 #ifdef __cplusplus
43587 extern "C"
43589 #endif
43590 /* We use char because int might match the return type of a gcc2
43591 builtin and then its argument prototype would still apply. */
43592 char $ac_func ();
43593 /* The GNU C library defines this for functions which it implements
43594 to always fail with ENOSYS. Some functions are actually named
43595 something starting with __ and the normal name is an alias. */
43596 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43597 choke me
43598 #else
43599 char (*f) () = $ac_func;
43600 #endif
43601 #ifdef __cplusplus
43603 #endif
43606 main ()
43608 return f != $ac_func;
43610 return 0;
43612 _ACEOF
43613 rm -f conftest.$ac_objext conftest$ac_exeext
43614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43615 (eval $ac_link) 2>conftest.er1
43616 ac_status=$?
43617 grep -v '^ *+' conftest.er1 >conftest.err
43618 rm -f conftest.er1
43619 cat conftest.err >&5
43620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43621 (exit $ac_status); } &&
43622 { ac_try='test -z "$ac_c_werror_flag"
43623 || test ! -s conftest.err'
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); }; } &&
43629 { ac_try='test -s conftest$ac_exeext'
43630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43631 (eval $ac_try) 2>&5
43632 ac_status=$?
43633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43634 (exit $ac_status); }; }; then
43635 eval "$as_ac_var=yes"
43636 else
43637 echo "$as_me: failed program was:" >&5
43638 sed 's/^/| /' conftest.$ac_ext >&5
43640 eval "$as_ac_var=no"
43642 rm -f conftest.err conftest.$ac_objext \
43643 conftest$ac_exeext conftest.$ac_ext
43645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43646 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43647 if test `eval echo '${'$as_ac_var'}'` = yes; then
43648 cat >>confdefs.h <<_ACEOF
43649 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43650 _ACEOF
43653 done
43655 else
43657 echo "$as_me:$LINENO: checking for _finite declaration" >&5
43658 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
43659 if test x${glibcxx_cv_func__finite_use+set} != xset; then
43660 if test "${glibcxx_cv_func__finite_use+set}" = set; then
43661 echo $ECHO_N "(cached) $ECHO_C" >&6
43662 else
43666 ac_ext=cc
43667 ac_cpp='$CXXCPP $CPPFLAGS'
43668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43672 cat >conftest.$ac_ext <<_ACEOF
43673 /* confdefs.h. */
43674 _ACEOF
43675 cat confdefs.h >>conftest.$ac_ext
43676 cat >>conftest.$ac_ext <<_ACEOF
43677 /* end confdefs.h. */
43678 #include <math.h>
43679 #ifdef HAVE_IEEEFP_H
43680 #include <ieeefp.h>
43681 #endif
43684 main ()
43686 _finite(0);
43688 return 0;
43690 _ACEOF
43691 rm -f conftest.$ac_objext
43692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43693 (eval $ac_compile) 2>conftest.er1
43694 ac_status=$?
43695 grep -v '^ *+' conftest.er1 >conftest.err
43696 rm -f conftest.er1
43697 cat conftest.err >&5
43698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43699 (exit $ac_status); } &&
43700 { ac_try='test -z "$ac_cxx_werror_flag"
43701 || test ! -s conftest.err'
43702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43703 (eval $ac_try) 2>&5
43704 ac_status=$?
43705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43706 (exit $ac_status); }; } &&
43707 { ac_try='test -s conftest.$ac_objext'
43708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43709 (eval $ac_try) 2>&5
43710 ac_status=$?
43711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43712 (exit $ac_status); }; }; then
43713 glibcxx_cv_func__finite_use=yes
43714 else
43715 echo "$as_me: failed program was:" >&5
43716 sed 's/^/| /' conftest.$ac_ext >&5
43718 glibcxx_cv_func__finite_use=no
43720 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43721 ac_ext=c
43722 ac_cpp='$CPP $CPPFLAGS'
43723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43731 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
43732 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
43734 if test x$glibcxx_cv_func__finite_use = x"yes"; then
43736 for ac_func in _finite
43738 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43739 echo "$as_me:$LINENO: checking for $ac_func" >&5
43740 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43741 if eval "test \"\${$as_ac_var+set}\" = set"; then
43742 echo $ECHO_N "(cached) $ECHO_C" >&6
43743 else
43744 if test x$gcc_no_link = xyes; then
43745 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43746 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43747 { (exit 1); exit 1; }; }
43749 cat >conftest.$ac_ext <<_ACEOF
43750 /* confdefs.h. */
43751 _ACEOF
43752 cat confdefs.h >>conftest.$ac_ext
43753 cat >>conftest.$ac_ext <<_ACEOF
43754 /* end confdefs.h. */
43755 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43756 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43757 #define $ac_func innocuous_$ac_func
43759 /* System header to define __stub macros and hopefully few prototypes,
43760 which can conflict with char $ac_func (); below.
43761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43762 <limits.h> exists even on freestanding compilers. */
43764 #ifdef __STDC__
43765 # include <limits.h>
43766 #else
43767 # include <assert.h>
43768 #endif
43770 #undef $ac_func
43772 /* Override any gcc2 internal prototype to avoid an error. */
43773 #ifdef __cplusplus
43774 extern "C"
43776 #endif
43777 /* We use char because int might match the return type of a gcc2
43778 builtin and then its argument prototype would still apply. */
43779 char $ac_func ();
43780 /* The GNU C library defines this for functions which it implements
43781 to always fail with ENOSYS. Some functions are actually named
43782 something starting with __ and the normal name is an alias. */
43783 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43784 choke me
43785 #else
43786 char (*f) () = $ac_func;
43787 #endif
43788 #ifdef __cplusplus
43790 #endif
43793 main ()
43795 return f != $ac_func;
43797 return 0;
43799 _ACEOF
43800 rm -f conftest.$ac_objext conftest$ac_exeext
43801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43802 (eval $ac_link) 2>conftest.er1
43803 ac_status=$?
43804 grep -v '^ *+' conftest.er1 >conftest.err
43805 rm -f conftest.er1
43806 cat conftest.err >&5
43807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43808 (exit $ac_status); } &&
43809 { ac_try='test -z "$ac_c_werror_flag"
43810 || test ! -s conftest.err'
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); }; } &&
43816 { ac_try='test -s conftest$ac_exeext'
43817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43818 (eval $ac_try) 2>&5
43819 ac_status=$?
43820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43821 (exit $ac_status); }; }; then
43822 eval "$as_ac_var=yes"
43823 else
43824 echo "$as_me: failed program was:" >&5
43825 sed 's/^/| /' conftest.$ac_ext >&5
43827 eval "$as_ac_var=no"
43829 rm -f conftest.err conftest.$ac_objext \
43830 conftest$ac_exeext conftest.$ac_ext
43832 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43833 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43834 if test `eval echo '${'$as_ac_var'}'` = yes; then
43835 cat >>confdefs.h <<_ACEOF
43836 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43837 _ACEOF
43840 done
43850 echo "$as_me:$LINENO: checking for copysign declaration" >&5
43851 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
43852 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
43853 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
43854 echo $ECHO_N "(cached) $ECHO_C" >&6
43855 else
43859 ac_ext=cc
43860 ac_cpp='$CXXCPP $CPPFLAGS'
43861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43865 cat >conftest.$ac_ext <<_ACEOF
43866 /* confdefs.h. */
43867 _ACEOF
43868 cat confdefs.h >>conftest.$ac_ext
43869 cat >>conftest.$ac_ext <<_ACEOF
43870 /* end confdefs.h. */
43871 #include <math.h>
43873 main ()
43875 copysign(0, 0);
43877 return 0;
43879 _ACEOF
43880 rm -f conftest.$ac_objext
43881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43882 (eval $ac_compile) 2>conftest.er1
43883 ac_status=$?
43884 grep -v '^ *+' conftest.er1 >conftest.err
43885 rm -f conftest.er1
43886 cat conftest.err >&5
43887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43888 (exit $ac_status); } &&
43889 { ac_try='test -z "$ac_cxx_werror_flag"
43890 || test ! -s conftest.err'
43891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43892 (eval $ac_try) 2>&5
43893 ac_status=$?
43894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43895 (exit $ac_status); }; } &&
43896 { ac_try='test -s conftest.$ac_objext'
43897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43898 (eval $ac_try) 2>&5
43899 ac_status=$?
43900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43901 (exit $ac_status); }; }; then
43902 glibcxx_cv_func_copysign_use=yes
43903 else
43904 echo "$as_me: failed program was:" >&5
43905 sed 's/^/| /' conftest.$ac_ext >&5
43907 glibcxx_cv_func_copysign_use=no
43909 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43910 ac_ext=c
43911 ac_cpp='$CPP $CPPFLAGS'
43912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43920 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
43921 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
43923 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
43925 for ac_func in copysign
43927 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43928 echo "$as_me:$LINENO: checking for $ac_func" >&5
43929 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43930 if eval "test \"\${$as_ac_var+set}\" = set"; then
43931 echo $ECHO_N "(cached) $ECHO_C" >&6
43932 else
43933 if test x$gcc_no_link = xyes; then
43934 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43935 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43936 { (exit 1); exit 1; }; }
43938 cat >conftest.$ac_ext <<_ACEOF
43939 /* confdefs.h. */
43940 _ACEOF
43941 cat confdefs.h >>conftest.$ac_ext
43942 cat >>conftest.$ac_ext <<_ACEOF
43943 /* end confdefs.h. */
43944 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43945 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43946 #define $ac_func innocuous_$ac_func
43948 /* System header to define __stub macros and hopefully few prototypes,
43949 which can conflict with char $ac_func (); below.
43950 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43951 <limits.h> exists even on freestanding compilers. */
43953 #ifdef __STDC__
43954 # include <limits.h>
43955 #else
43956 # include <assert.h>
43957 #endif
43959 #undef $ac_func
43961 /* Override any gcc2 internal prototype to avoid an error. */
43962 #ifdef __cplusplus
43963 extern "C"
43965 #endif
43966 /* We use char because int might match the return type of a gcc2
43967 builtin and then its argument prototype would still apply. */
43968 char $ac_func ();
43969 /* The GNU C library defines this for functions which it implements
43970 to always fail with ENOSYS. Some functions are actually named
43971 something starting with __ and the normal name is an alias. */
43972 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43973 choke me
43974 #else
43975 char (*f) () = $ac_func;
43976 #endif
43977 #ifdef __cplusplus
43979 #endif
43982 main ()
43984 return f != $ac_func;
43986 return 0;
43988 _ACEOF
43989 rm -f conftest.$ac_objext conftest$ac_exeext
43990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43991 (eval $ac_link) 2>conftest.er1
43992 ac_status=$?
43993 grep -v '^ *+' conftest.er1 >conftest.err
43994 rm -f conftest.er1
43995 cat conftest.err >&5
43996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43997 (exit $ac_status); } &&
43998 { ac_try='test -z "$ac_c_werror_flag"
43999 || test ! -s conftest.err'
44000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44001 (eval $ac_try) 2>&5
44002 ac_status=$?
44003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44004 (exit $ac_status); }; } &&
44005 { ac_try='test -s conftest$ac_exeext'
44006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44007 (eval $ac_try) 2>&5
44008 ac_status=$?
44009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44010 (exit $ac_status); }; }; then
44011 eval "$as_ac_var=yes"
44012 else
44013 echo "$as_me: failed program was:" >&5
44014 sed 's/^/| /' conftest.$ac_ext >&5
44016 eval "$as_ac_var=no"
44018 rm -f conftest.err conftest.$ac_objext \
44019 conftest$ac_exeext conftest.$ac_ext
44021 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44022 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44023 if test `eval echo '${'$as_ac_var'}'` = yes; then
44024 cat >>confdefs.h <<_ACEOF
44025 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44026 _ACEOF
44029 done
44031 else
44033 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
44034 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
44035 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
44036 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
44037 echo $ECHO_N "(cached) $ECHO_C" >&6
44038 else
44042 ac_ext=cc
44043 ac_cpp='$CXXCPP $CPPFLAGS'
44044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44048 cat >conftest.$ac_ext <<_ACEOF
44049 /* confdefs.h. */
44050 _ACEOF
44051 cat confdefs.h >>conftest.$ac_ext
44052 cat >>conftest.$ac_ext <<_ACEOF
44053 /* end confdefs.h. */
44054 #include <math.h>
44056 main ()
44058 _copysign(0, 0);
44060 return 0;
44062 _ACEOF
44063 rm -f conftest.$ac_objext
44064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44065 (eval $ac_compile) 2>conftest.er1
44066 ac_status=$?
44067 grep -v '^ *+' conftest.er1 >conftest.err
44068 rm -f conftest.er1
44069 cat conftest.err >&5
44070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44071 (exit $ac_status); } &&
44072 { ac_try='test -z "$ac_cxx_werror_flag"
44073 || test ! -s conftest.err'
44074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44075 (eval $ac_try) 2>&5
44076 ac_status=$?
44077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44078 (exit $ac_status); }; } &&
44079 { ac_try='test -s conftest.$ac_objext'
44080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44081 (eval $ac_try) 2>&5
44082 ac_status=$?
44083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44084 (exit $ac_status); }; }; then
44085 glibcxx_cv_func__copysign_use=yes
44086 else
44087 echo "$as_me: failed program was:" >&5
44088 sed 's/^/| /' conftest.$ac_ext >&5
44090 glibcxx_cv_func__copysign_use=no
44092 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44093 ac_ext=c
44094 ac_cpp='$CPP $CPPFLAGS'
44095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44103 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
44104 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
44106 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
44108 for ac_func in _copysign
44110 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44111 echo "$as_me:$LINENO: checking for $ac_func" >&5
44112 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44113 if eval "test \"\${$as_ac_var+set}\" = set"; then
44114 echo $ECHO_N "(cached) $ECHO_C" >&6
44115 else
44116 if test x$gcc_no_link = xyes; then
44117 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44118 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44119 { (exit 1); exit 1; }; }
44121 cat >conftest.$ac_ext <<_ACEOF
44122 /* confdefs.h. */
44123 _ACEOF
44124 cat confdefs.h >>conftest.$ac_ext
44125 cat >>conftest.$ac_ext <<_ACEOF
44126 /* end confdefs.h. */
44127 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44128 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44129 #define $ac_func innocuous_$ac_func
44131 /* System header to define __stub macros and hopefully few prototypes,
44132 which can conflict with char $ac_func (); below.
44133 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44134 <limits.h> exists even on freestanding compilers. */
44136 #ifdef __STDC__
44137 # include <limits.h>
44138 #else
44139 # include <assert.h>
44140 #endif
44142 #undef $ac_func
44144 /* Override any gcc2 internal prototype to avoid an error. */
44145 #ifdef __cplusplus
44146 extern "C"
44148 #endif
44149 /* We use char because int might match the return type of a gcc2
44150 builtin and then its argument prototype would still apply. */
44151 char $ac_func ();
44152 /* The GNU C library defines this for functions which it implements
44153 to always fail with ENOSYS. Some functions are actually named
44154 something starting with __ and the normal name is an alias. */
44155 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44156 choke me
44157 #else
44158 char (*f) () = $ac_func;
44159 #endif
44160 #ifdef __cplusplus
44162 #endif
44165 main ()
44167 return f != $ac_func;
44169 return 0;
44171 _ACEOF
44172 rm -f conftest.$ac_objext conftest$ac_exeext
44173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44174 (eval $ac_link) 2>conftest.er1
44175 ac_status=$?
44176 grep -v '^ *+' conftest.er1 >conftest.err
44177 rm -f conftest.er1
44178 cat conftest.err >&5
44179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44180 (exit $ac_status); } &&
44181 { ac_try='test -z "$ac_c_werror_flag"
44182 || test ! -s conftest.err'
44183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44184 (eval $ac_try) 2>&5
44185 ac_status=$?
44186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44187 (exit $ac_status); }; } &&
44188 { ac_try='test -s conftest$ac_exeext'
44189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44190 (eval $ac_try) 2>&5
44191 ac_status=$?
44192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44193 (exit $ac_status); }; }; then
44194 eval "$as_ac_var=yes"
44195 else
44196 echo "$as_me: failed program was:" >&5
44197 sed 's/^/| /' conftest.$ac_ext >&5
44199 eval "$as_ac_var=no"
44201 rm -f conftest.err conftest.$ac_objext \
44202 conftest$ac_exeext conftest.$ac_ext
44204 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44205 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44206 if test `eval echo '${'$as_ac_var'}'` = yes; then
44207 cat >>confdefs.h <<_ACEOF
44208 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44209 _ACEOF
44212 done
44222 echo "$as_me:$LINENO: checking for sincos declaration" >&5
44223 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
44224 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
44225 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
44226 echo $ECHO_N "(cached) $ECHO_C" >&6
44227 else
44231 ac_ext=cc
44232 ac_cpp='$CXXCPP $CPPFLAGS'
44233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44237 cat >conftest.$ac_ext <<_ACEOF
44238 /* confdefs.h. */
44239 _ACEOF
44240 cat confdefs.h >>conftest.$ac_ext
44241 cat >>conftest.$ac_ext <<_ACEOF
44242 /* end confdefs.h. */
44243 #include <math.h>
44245 main ()
44247 sincos(0, 0, 0);
44249 return 0;
44251 _ACEOF
44252 rm -f conftest.$ac_objext
44253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44254 (eval $ac_compile) 2>conftest.er1
44255 ac_status=$?
44256 grep -v '^ *+' conftest.er1 >conftest.err
44257 rm -f conftest.er1
44258 cat conftest.err >&5
44259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44260 (exit $ac_status); } &&
44261 { ac_try='test -z "$ac_cxx_werror_flag"
44262 || test ! -s conftest.err'
44263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44264 (eval $ac_try) 2>&5
44265 ac_status=$?
44266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44267 (exit $ac_status); }; } &&
44268 { ac_try='test -s conftest.$ac_objext'
44269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44270 (eval $ac_try) 2>&5
44271 ac_status=$?
44272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44273 (exit $ac_status); }; }; then
44274 glibcxx_cv_func_sincos_use=yes
44275 else
44276 echo "$as_me: failed program was:" >&5
44277 sed 's/^/| /' conftest.$ac_ext >&5
44279 glibcxx_cv_func_sincos_use=no
44281 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44282 ac_ext=c
44283 ac_cpp='$CPP $CPPFLAGS'
44284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44292 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
44293 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
44295 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
44297 for ac_func in sincos
44299 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44300 echo "$as_me:$LINENO: checking for $ac_func" >&5
44301 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44302 if eval "test \"\${$as_ac_var+set}\" = set"; then
44303 echo $ECHO_N "(cached) $ECHO_C" >&6
44304 else
44305 if test x$gcc_no_link = xyes; then
44306 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44307 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44308 { (exit 1); exit 1; }; }
44310 cat >conftest.$ac_ext <<_ACEOF
44311 /* confdefs.h. */
44312 _ACEOF
44313 cat confdefs.h >>conftest.$ac_ext
44314 cat >>conftest.$ac_ext <<_ACEOF
44315 /* end confdefs.h. */
44316 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44317 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44318 #define $ac_func innocuous_$ac_func
44320 /* System header to define __stub macros and hopefully few prototypes,
44321 which can conflict with char $ac_func (); below.
44322 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44323 <limits.h> exists even on freestanding compilers. */
44325 #ifdef __STDC__
44326 # include <limits.h>
44327 #else
44328 # include <assert.h>
44329 #endif
44331 #undef $ac_func
44333 /* Override any gcc2 internal prototype to avoid an error. */
44334 #ifdef __cplusplus
44335 extern "C"
44337 #endif
44338 /* We use char because int might match the return type of a gcc2
44339 builtin and then its argument prototype would still apply. */
44340 char $ac_func ();
44341 /* The GNU C library defines this for functions which it implements
44342 to always fail with ENOSYS. Some functions are actually named
44343 something starting with __ and the normal name is an alias. */
44344 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44345 choke me
44346 #else
44347 char (*f) () = $ac_func;
44348 #endif
44349 #ifdef __cplusplus
44351 #endif
44354 main ()
44356 return f != $ac_func;
44358 return 0;
44360 _ACEOF
44361 rm -f conftest.$ac_objext conftest$ac_exeext
44362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44363 (eval $ac_link) 2>conftest.er1
44364 ac_status=$?
44365 grep -v '^ *+' conftest.er1 >conftest.err
44366 rm -f conftest.er1
44367 cat conftest.err >&5
44368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44369 (exit $ac_status); } &&
44370 { ac_try='test -z "$ac_c_werror_flag"
44371 || test ! -s conftest.err'
44372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44373 (eval $ac_try) 2>&5
44374 ac_status=$?
44375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44376 (exit $ac_status); }; } &&
44377 { ac_try='test -s conftest$ac_exeext'
44378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44379 (eval $ac_try) 2>&5
44380 ac_status=$?
44381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44382 (exit $ac_status); }; }; then
44383 eval "$as_ac_var=yes"
44384 else
44385 echo "$as_me: failed program was:" >&5
44386 sed 's/^/| /' conftest.$ac_ext >&5
44388 eval "$as_ac_var=no"
44390 rm -f conftest.err conftest.$ac_objext \
44391 conftest$ac_exeext conftest.$ac_ext
44393 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44394 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44395 if test `eval echo '${'$as_ac_var'}'` = yes; then
44396 cat >>confdefs.h <<_ACEOF
44397 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44398 _ACEOF
44401 done
44403 else
44405 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
44406 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
44407 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
44408 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
44409 echo $ECHO_N "(cached) $ECHO_C" >&6
44410 else
44414 ac_ext=cc
44415 ac_cpp='$CXXCPP $CPPFLAGS'
44416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44420 cat >conftest.$ac_ext <<_ACEOF
44421 /* confdefs.h. */
44422 _ACEOF
44423 cat confdefs.h >>conftest.$ac_ext
44424 cat >>conftest.$ac_ext <<_ACEOF
44425 /* end confdefs.h. */
44426 #include <math.h>
44428 main ()
44430 _sincos(0, 0, 0);
44432 return 0;
44434 _ACEOF
44435 rm -f conftest.$ac_objext
44436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44437 (eval $ac_compile) 2>conftest.er1
44438 ac_status=$?
44439 grep -v '^ *+' conftest.er1 >conftest.err
44440 rm -f conftest.er1
44441 cat conftest.err >&5
44442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44443 (exit $ac_status); } &&
44444 { ac_try='test -z "$ac_cxx_werror_flag"
44445 || test ! -s conftest.err'
44446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44447 (eval $ac_try) 2>&5
44448 ac_status=$?
44449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44450 (exit $ac_status); }; } &&
44451 { ac_try='test -s conftest.$ac_objext'
44452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44453 (eval $ac_try) 2>&5
44454 ac_status=$?
44455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44456 (exit $ac_status); }; }; then
44457 glibcxx_cv_func__sincos_use=yes
44458 else
44459 echo "$as_me: failed program was:" >&5
44460 sed 's/^/| /' conftest.$ac_ext >&5
44462 glibcxx_cv_func__sincos_use=no
44464 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44465 ac_ext=c
44466 ac_cpp='$CPP $CPPFLAGS'
44467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44475 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
44476 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
44478 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
44480 for ac_func in _sincos
44482 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44483 echo "$as_me:$LINENO: checking for $ac_func" >&5
44484 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44485 if eval "test \"\${$as_ac_var+set}\" = set"; then
44486 echo $ECHO_N "(cached) $ECHO_C" >&6
44487 else
44488 if test x$gcc_no_link = xyes; then
44489 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44490 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44491 { (exit 1); exit 1; }; }
44493 cat >conftest.$ac_ext <<_ACEOF
44494 /* confdefs.h. */
44495 _ACEOF
44496 cat confdefs.h >>conftest.$ac_ext
44497 cat >>conftest.$ac_ext <<_ACEOF
44498 /* end confdefs.h. */
44499 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44500 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44501 #define $ac_func innocuous_$ac_func
44503 /* System header to define __stub macros and hopefully few prototypes,
44504 which can conflict with char $ac_func (); below.
44505 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44506 <limits.h> exists even on freestanding compilers. */
44508 #ifdef __STDC__
44509 # include <limits.h>
44510 #else
44511 # include <assert.h>
44512 #endif
44514 #undef $ac_func
44516 /* Override any gcc2 internal prototype to avoid an error. */
44517 #ifdef __cplusplus
44518 extern "C"
44520 #endif
44521 /* We use char because int might match the return type of a gcc2
44522 builtin and then its argument prototype would still apply. */
44523 char $ac_func ();
44524 /* The GNU C library defines this for functions which it implements
44525 to always fail with ENOSYS. Some functions are actually named
44526 something starting with __ and the normal name is an alias. */
44527 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44528 choke me
44529 #else
44530 char (*f) () = $ac_func;
44531 #endif
44532 #ifdef __cplusplus
44534 #endif
44537 main ()
44539 return f != $ac_func;
44541 return 0;
44543 _ACEOF
44544 rm -f conftest.$ac_objext conftest$ac_exeext
44545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44546 (eval $ac_link) 2>conftest.er1
44547 ac_status=$?
44548 grep -v '^ *+' conftest.er1 >conftest.err
44549 rm -f conftest.er1
44550 cat conftest.err >&5
44551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44552 (exit $ac_status); } &&
44553 { ac_try='test -z "$ac_c_werror_flag"
44554 || test ! -s conftest.err'
44555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44556 (eval $ac_try) 2>&5
44557 ac_status=$?
44558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44559 (exit $ac_status); }; } &&
44560 { ac_try='test -s conftest$ac_exeext'
44561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44562 (eval $ac_try) 2>&5
44563 ac_status=$?
44564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44565 (exit $ac_status); }; }; then
44566 eval "$as_ac_var=yes"
44567 else
44568 echo "$as_me: failed program was:" >&5
44569 sed 's/^/| /' conftest.$ac_ext >&5
44571 eval "$as_ac_var=no"
44573 rm -f conftest.err conftest.$ac_objext \
44574 conftest$ac_exeext conftest.$ac_ext
44576 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44577 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44578 if test `eval echo '${'$as_ac_var'}'` = yes; then
44579 cat >>confdefs.h <<_ACEOF
44580 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44581 _ACEOF
44584 done
44594 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
44595 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
44596 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
44597 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
44598 echo $ECHO_N "(cached) $ECHO_C" >&6
44599 else
44603 ac_ext=cc
44604 ac_cpp='$CXXCPP $CPPFLAGS'
44605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44609 cat >conftest.$ac_ext <<_ACEOF
44610 /* confdefs.h. */
44611 _ACEOF
44612 cat confdefs.h >>conftest.$ac_ext
44613 cat >>conftest.$ac_ext <<_ACEOF
44614 /* end confdefs.h. */
44615 #include <math.h>
44616 #ifdef HAVE_IEEEFP_H
44617 #include <ieeefp.h>
44618 #endif
44621 main ()
44623 fpclass(0);
44625 return 0;
44627 _ACEOF
44628 rm -f conftest.$ac_objext
44629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44630 (eval $ac_compile) 2>conftest.er1
44631 ac_status=$?
44632 grep -v '^ *+' conftest.er1 >conftest.err
44633 rm -f conftest.er1
44634 cat conftest.err >&5
44635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44636 (exit $ac_status); } &&
44637 { ac_try='test -z "$ac_cxx_werror_flag"
44638 || test ! -s conftest.err'
44639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44640 (eval $ac_try) 2>&5
44641 ac_status=$?
44642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44643 (exit $ac_status); }; } &&
44644 { ac_try='test -s conftest.$ac_objext'
44645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44646 (eval $ac_try) 2>&5
44647 ac_status=$?
44648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44649 (exit $ac_status); }; }; then
44650 glibcxx_cv_func_fpclass_use=yes
44651 else
44652 echo "$as_me: failed program was:" >&5
44653 sed 's/^/| /' conftest.$ac_ext >&5
44655 glibcxx_cv_func_fpclass_use=no
44657 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44658 ac_ext=c
44659 ac_cpp='$CPP $CPPFLAGS'
44660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44668 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
44669 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
44671 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
44673 for ac_func in fpclass
44675 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44676 echo "$as_me:$LINENO: checking for $ac_func" >&5
44677 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44678 if eval "test \"\${$as_ac_var+set}\" = set"; then
44679 echo $ECHO_N "(cached) $ECHO_C" >&6
44680 else
44681 if test x$gcc_no_link = xyes; then
44682 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44683 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44684 { (exit 1); exit 1; }; }
44686 cat >conftest.$ac_ext <<_ACEOF
44687 /* confdefs.h. */
44688 _ACEOF
44689 cat confdefs.h >>conftest.$ac_ext
44690 cat >>conftest.$ac_ext <<_ACEOF
44691 /* end confdefs.h. */
44692 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44693 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44694 #define $ac_func innocuous_$ac_func
44696 /* System header to define __stub macros and hopefully few prototypes,
44697 which can conflict with char $ac_func (); below.
44698 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44699 <limits.h> exists even on freestanding compilers. */
44701 #ifdef __STDC__
44702 # include <limits.h>
44703 #else
44704 # include <assert.h>
44705 #endif
44707 #undef $ac_func
44709 /* Override any gcc2 internal prototype to avoid an error. */
44710 #ifdef __cplusplus
44711 extern "C"
44713 #endif
44714 /* We use char because int might match the return type of a gcc2
44715 builtin and then its argument prototype would still apply. */
44716 char $ac_func ();
44717 /* The GNU C library defines this for functions which it implements
44718 to always fail with ENOSYS. Some functions are actually named
44719 something starting with __ and the normal name is an alias. */
44720 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44721 choke me
44722 #else
44723 char (*f) () = $ac_func;
44724 #endif
44725 #ifdef __cplusplus
44727 #endif
44730 main ()
44732 return f != $ac_func;
44734 return 0;
44736 _ACEOF
44737 rm -f conftest.$ac_objext conftest$ac_exeext
44738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44739 (eval $ac_link) 2>conftest.er1
44740 ac_status=$?
44741 grep -v '^ *+' conftest.er1 >conftest.err
44742 rm -f conftest.er1
44743 cat conftest.err >&5
44744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44745 (exit $ac_status); } &&
44746 { ac_try='test -z "$ac_c_werror_flag"
44747 || test ! -s conftest.err'
44748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44749 (eval $ac_try) 2>&5
44750 ac_status=$?
44751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44752 (exit $ac_status); }; } &&
44753 { ac_try='test -s conftest$ac_exeext'
44754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44755 (eval $ac_try) 2>&5
44756 ac_status=$?
44757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44758 (exit $ac_status); }; }; then
44759 eval "$as_ac_var=yes"
44760 else
44761 echo "$as_me: failed program was:" >&5
44762 sed 's/^/| /' conftest.$ac_ext >&5
44764 eval "$as_ac_var=no"
44766 rm -f conftest.err conftest.$ac_objext \
44767 conftest$ac_exeext conftest.$ac_ext
44769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44770 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44771 if test `eval echo '${'$as_ac_var'}'` = yes; then
44772 cat >>confdefs.h <<_ACEOF
44773 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44774 _ACEOF
44777 done
44779 else
44781 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
44782 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
44783 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
44784 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
44785 echo $ECHO_N "(cached) $ECHO_C" >&6
44786 else
44790 ac_ext=cc
44791 ac_cpp='$CXXCPP $CPPFLAGS'
44792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44796 cat >conftest.$ac_ext <<_ACEOF
44797 /* confdefs.h. */
44798 _ACEOF
44799 cat confdefs.h >>conftest.$ac_ext
44800 cat >>conftest.$ac_ext <<_ACEOF
44801 /* end confdefs.h. */
44802 #include <math.h>
44803 #ifdef HAVE_IEEEFP_H
44804 #include <ieeefp.h>
44805 #endif
44808 main ()
44810 _fpclass(0);
44812 return 0;
44814 _ACEOF
44815 rm -f conftest.$ac_objext
44816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44817 (eval $ac_compile) 2>conftest.er1
44818 ac_status=$?
44819 grep -v '^ *+' conftest.er1 >conftest.err
44820 rm -f conftest.er1
44821 cat conftest.err >&5
44822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44823 (exit $ac_status); } &&
44824 { ac_try='test -z "$ac_cxx_werror_flag"
44825 || test ! -s conftest.err'
44826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44827 (eval $ac_try) 2>&5
44828 ac_status=$?
44829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44830 (exit $ac_status); }; } &&
44831 { ac_try='test -s conftest.$ac_objext'
44832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44833 (eval $ac_try) 2>&5
44834 ac_status=$?
44835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44836 (exit $ac_status); }; }; then
44837 glibcxx_cv_func__fpclass_use=yes
44838 else
44839 echo "$as_me: failed program was:" >&5
44840 sed 's/^/| /' conftest.$ac_ext >&5
44842 glibcxx_cv_func__fpclass_use=no
44844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44845 ac_ext=c
44846 ac_cpp='$CPP $CPPFLAGS'
44847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44855 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
44856 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
44858 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
44860 for ac_func in _fpclass
44862 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44863 echo "$as_me:$LINENO: checking for $ac_func" >&5
44864 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44865 if eval "test \"\${$as_ac_var+set}\" = set"; then
44866 echo $ECHO_N "(cached) $ECHO_C" >&6
44867 else
44868 if test x$gcc_no_link = xyes; then
44869 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44870 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44871 { (exit 1); exit 1; }; }
44873 cat >conftest.$ac_ext <<_ACEOF
44874 /* confdefs.h. */
44875 _ACEOF
44876 cat confdefs.h >>conftest.$ac_ext
44877 cat >>conftest.$ac_ext <<_ACEOF
44878 /* end confdefs.h. */
44879 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44880 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44881 #define $ac_func innocuous_$ac_func
44883 /* System header to define __stub macros and hopefully few prototypes,
44884 which can conflict with char $ac_func (); below.
44885 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44886 <limits.h> exists even on freestanding compilers. */
44888 #ifdef __STDC__
44889 # include <limits.h>
44890 #else
44891 # include <assert.h>
44892 #endif
44894 #undef $ac_func
44896 /* Override any gcc2 internal prototype to avoid an error. */
44897 #ifdef __cplusplus
44898 extern "C"
44900 #endif
44901 /* We use char because int might match the return type of a gcc2
44902 builtin and then its argument prototype would still apply. */
44903 char $ac_func ();
44904 /* The GNU C library defines this for functions which it implements
44905 to always fail with ENOSYS. Some functions are actually named
44906 something starting with __ and the normal name is an alias. */
44907 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44908 choke me
44909 #else
44910 char (*f) () = $ac_func;
44911 #endif
44912 #ifdef __cplusplus
44914 #endif
44917 main ()
44919 return f != $ac_func;
44921 return 0;
44923 _ACEOF
44924 rm -f conftest.$ac_objext conftest$ac_exeext
44925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44926 (eval $ac_link) 2>conftest.er1
44927 ac_status=$?
44928 grep -v '^ *+' conftest.er1 >conftest.err
44929 rm -f conftest.er1
44930 cat conftest.err >&5
44931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44932 (exit $ac_status); } &&
44933 { ac_try='test -z "$ac_c_werror_flag"
44934 || test ! -s conftest.err'
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); }; } &&
44940 { ac_try='test -s conftest$ac_exeext'
44941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44942 (eval $ac_try) 2>&5
44943 ac_status=$?
44944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44945 (exit $ac_status); }; }; then
44946 eval "$as_ac_var=yes"
44947 else
44948 echo "$as_me: failed program was:" >&5
44949 sed 's/^/| /' conftest.$ac_ext >&5
44951 eval "$as_ac_var=no"
44953 rm -f conftest.err conftest.$ac_objext \
44954 conftest$ac_exeext conftest.$ac_ext
44956 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44957 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44958 if test `eval echo '${'$as_ac_var'}'` = yes; then
44959 cat >>confdefs.h <<_ACEOF
44960 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44961 _ACEOF
44964 done
44974 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
44975 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
44976 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
44977 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
44978 echo $ECHO_N "(cached) $ECHO_C" >&6
44979 else
44983 ac_ext=cc
44984 ac_cpp='$CXXCPP $CPPFLAGS'
44985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44989 cat >conftest.$ac_ext <<_ACEOF
44990 /* confdefs.h. */
44991 _ACEOF
44992 cat confdefs.h >>conftest.$ac_ext
44993 cat >>conftest.$ac_ext <<_ACEOF
44994 /* end confdefs.h. */
44995 #include <math.h>
44996 #ifdef HAVE_IEEEFP_H
44997 #include <ieeefp.h>
44998 #endif
45001 main ()
45003 qfpclass(0);
45005 return 0;
45007 _ACEOF
45008 rm -f conftest.$ac_objext
45009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45010 (eval $ac_compile) 2>conftest.er1
45011 ac_status=$?
45012 grep -v '^ *+' conftest.er1 >conftest.err
45013 rm -f conftest.er1
45014 cat conftest.err >&5
45015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45016 (exit $ac_status); } &&
45017 { ac_try='test -z "$ac_cxx_werror_flag"
45018 || test ! -s conftest.err'
45019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45020 (eval $ac_try) 2>&5
45021 ac_status=$?
45022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45023 (exit $ac_status); }; } &&
45024 { ac_try='test -s conftest.$ac_objext'
45025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45026 (eval $ac_try) 2>&5
45027 ac_status=$?
45028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45029 (exit $ac_status); }; }; then
45030 glibcxx_cv_func_qfpclass_use=yes
45031 else
45032 echo "$as_me: failed program was:" >&5
45033 sed 's/^/| /' conftest.$ac_ext >&5
45035 glibcxx_cv_func_qfpclass_use=no
45037 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45038 ac_ext=c
45039 ac_cpp='$CPP $CPPFLAGS'
45040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45048 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
45049 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
45051 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
45053 for ac_func in qfpclass
45055 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45056 echo "$as_me:$LINENO: checking for $ac_func" >&5
45057 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45058 if eval "test \"\${$as_ac_var+set}\" = set"; then
45059 echo $ECHO_N "(cached) $ECHO_C" >&6
45060 else
45061 if test x$gcc_no_link = xyes; then
45062 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45063 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45064 { (exit 1); exit 1; }; }
45066 cat >conftest.$ac_ext <<_ACEOF
45067 /* confdefs.h. */
45068 _ACEOF
45069 cat confdefs.h >>conftest.$ac_ext
45070 cat >>conftest.$ac_ext <<_ACEOF
45071 /* end confdefs.h. */
45072 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45073 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45074 #define $ac_func innocuous_$ac_func
45076 /* System header to define __stub macros and hopefully few prototypes,
45077 which can conflict with char $ac_func (); below.
45078 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45079 <limits.h> exists even on freestanding compilers. */
45081 #ifdef __STDC__
45082 # include <limits.h>
45083 #else
45084 # include <assert.h>
45085 #endif
45087 #undef $ac_func
45089 /* Override any gcc2 internal prototype to avoid an error. */
45090 #ifdef __cplusplus
45091 extern "C"
45093 #endif
45094 /* We use char because int might match the return type of a gcc2
45095 builtin and then its argument prototype would still apply. */
45096 char $ac_func ();
45097 /* The GNU C library defines this for functions which it implements
45098 to always fail with ENOSYS. Some functions are actually named
45099 something starting with __ and the normal name is an alias. */
45100 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45101 choke me
45102 #else
45103 char (*f) () = $ac_func;
45104 #endif
45105 #ifdef __cplusplus
45107 #endif
45110 main ()
45112 return f != $ac_func;
45114 return 0;
45116 _ACEOF
45117 rm -f conftest.$ac_objext conftest$ac_exeext
45118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45119 (eval $ac_link) 2>conftest.er1
45120 ac_status=$?
45121 grep -v '^ *+' conftest.er1 >conftest.err
45122 rm -f conftest.er1
45123 cat conftest.err >&5
45124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45125 (exit $ac_status); } &&
45126 { ac_try='test -z "$ac_c_werror_flag"
45127 || test ! -s conftest.err'
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); }; } &&
45133 { ac_try='test -s conftest$ac_exeext'
45134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45135 (eval $ac_try) 2>&5
45136 ac_status=$?
45137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45138 (exit $ac_status); }; }; then
45139 eval "$as_ac_var=yes"
45140 else
45141 echo "$as_me: failed program was:" >&5
45142 sed 's/^/| /' conftest.$ac_ext >&5
45144 eval "$as_ac_var=no"
45146 rm -f conftest.err conftest.$ac_objext \
45147 conftest$ac_exeext conftest.$ac_ext
45149 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45150 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45151 if test `eval echo '${'$as_ac_var'}'` = yes; then
45152 cat >>confdefs.h <<_ACEOF
45153 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45154 _ACEOF
45157 done
45159 else
45161 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
45162 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
45163 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
45164 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
45165 echo $ECHO_N "(cached) $ECHO_C" >&6
45166 else
45170 ac_ext=cc
45171 ac_cpp='$CXXCPP $CPPFLAGS'
45172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45176 cat >conftest.$ac_ext <<_ACEOF
45177 /* confdefs.h. */
45178 _ACEOF
45179 cat confdefs.h >>conftest.$ac_ext
45180 cat >>conftest.$ac_ext <<_ACEOF
45181 /* end confdefs.h. */
45182 #include <math.h>
45183 #ifdef HAVE_IEEEFP_H
45184 #include <ieeefp.h>
45185 #endif
45188 main ()
45190 _qfpclass(0);
45192 return 0;
45194 _ACEOF
45195 rm -f conftest.$ac_objext
45196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45197 (eval $ac_compile) 2>conftest.er1
45198 ac_status=$?
45199 grep -v '^ *+' conftest.er1 >conftest.err
45200 rm -f conftest.er1
45201 cat conftest.err >&5
45202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45203 (exit $ac_status); } &&
45204 { ac_try='test -z "$ac_cxx_werror_flag"
45205 || test ! -s conftest.err'
45206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45207 (eval $ac_try) 2>&5
45208 ac_status=$?
45209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45210 (exit $ac_status); }; } &&
45211 { ac_try='test -s conftest.$ac_objext'
45212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45213 (eval $ac_try) 2>&5
45214 ac_status=$?
45215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45216 (exit $ac_status); }; }; then
45217 glibcxx_cv_func__qfpclass_use=yes
45218 else
45219 echo "$as_me: failed program was:" >&5
45220 sed 's/^/| /' conftest.$ac_ext >&5
45222 glibcxx_cv_func__qfpclass_use=no
45224 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45225 ac_ext=c
45226 ac_cpp='$CPP $CPPFLAGS'
45227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45235 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
45236 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
45238 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
45240 for ac_func in _qfpclass
45242 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45243 echo "$as_me:$LINENO: checking for $ac_func" >&5
45244 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45245 if eval "test \"\${$as_ac_var+set}\" = set"; then
45246 echo $ECHO_N "(cached) $ECHO_C" >&6
45247 else
45248 if test x$gcc_no_link = xyes; then
45249 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45250 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45251 { (exit 1); exit 1; }; }
45253 cat >conftest.$ac_ext <<_ACEOF
45254 /* confdefs.h. */
45255 _ACEOF
45256 cat confdefs.h >>conftest.$ac_ext
45257 cat >>conftest.$ac_ext <<_ACEOF
45258 /* end confdefs.h. */
45259 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45260 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45261 #define $ac_func innocuous_$ac_func
45263 /* System header to define __stub macros and hopefully few prototypes,
45264 which can conflict with char $ac_func (); below.
45265 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45266 <limits.h> exists even on freestanding compilers. */
45268 #ifdef __STDC__
45269 # include <limits.h>
45270 #else
45271 # include <assert.h>
45272 #endif
45274 #undef $ac_func
45276 /* Override any gcc2 internal prototype to avoid an error. */
45277 #ifdef __cplusplus
45278 extern "C"
45280 #endif
45281 /* We use char because int might match the return type of a gcc2
45282 builtin and then its argument prototype would still apply. */
45283 char $ac_func ();
45284 /* The GNU C library defines this for functions which it implements
45285 to always fail with ENOSYS. Some functions are actually named
45286 something starting with __ and the normal name is an alias. */
45287 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45288 choke me
45289 #else
45290 char (*f) () = $ac_func;
45291 #endif
45292 #ifdef __cplusplus
45294 #endif
45297 main ()
45299 return f != $ac_func;
45301 return 0;
45303 _ACEOF
45304 rm -f conftest.$ac_objext conftest$ac_exeext
45305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45306 (eval $ac_link) 2>conftest.er1
45307 ac_status=$?
45308 grep -v '^ *+' conftest.er1 >conftest.err
45309 rm -f conftest.er1
45310 cat conftest.err >&5
45311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45312 (exit $ac_status); } &&
45313 { ac_try='test -z "$ac_c_werror_flag"
45314 || test ! -s conftest.err'
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); }; } &&
45320 { ac_try='test -s conftest$ac_exeext'
45321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45322 (eval $ac_try) 2>&5
45323 ac_status=$?
45324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45325 (exit $ac_status); }; }; then
45326 eval "$as_ac_var=yes"
45327 else
45328 echo "$as_me: failed program was:" >&5
45329 sed 's/^/| /' conftest.$ac_ext >&5
45331 eval "$as_ac_var=no"
45333 rm -f conftest.err conftest.$ac_objext \
45334 conftest$ac_exeext conftest.$ac_ext
45336 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45337 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45338 if test `eval echo '${'$as_ac_var'}'` = yes; then
45339 cat >>confdefs.h <<_ACEOF
45340 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45341 _ACEOF
45344 done
45354 echo "$as_me:$LINENO: checking for hypot declaration" >&5
45355 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
45356 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
45357 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
45358 echo $ECHO_N "(cached) $ECHO_C" >&6
45359 else
45363 ac_ext=cc
45364 ac_cpp='$CXXCPP $CPPFLAGS'
45365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45369 cat >conftest.$ac_ext <<_ACEOF
45370 /* confdefs.h. */
45371 _ACEOF
45372 cat confdefs.h >>conftest.$ac_ext
45373 cat >>conftest.$ac_ext <<_ACEOF
45374 /* end confdefs.h. */
45375 #include <math.h>
45377 main ()
45379 hypot(0, 0);
45381 return 0;
45383 _ACEOF
45384 rm -f conftest.$ac_objext
45385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45386 (eval $ac_compile) 2>conftest.er1
45387 ac_status=$?
45388 grep -v '^ *+' conftest.er1 >conftest.err
45389 rm -f conftest.er1
45390 cat conftest.err >&5
45391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45392 (exit $ac_status); } &&
45393 { ac_try='test -z "$ac_cxx_werror_flag"
45394 || test ! -s conftest.err'
45395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45396 (eval $ac_try) 2>&5
45397 ac_status=$?
45398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45399 (exit $ac_status); }; } &&
45400 { ac_try='test -s conftest.$ac_objext'
45401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45402 (eval $ac_try) 2>&5
45403 ac_status=$?
45404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45405 (exit $ac_status); }; }; then
45406 glibcxx_cv_func_hypot_use=yes
45407 else
45408 echo "$as_me: failed program was:" >&5
45409 sed 's/^/| /' conftest.$ac_ext >&5
45411 glibcxx_cv_func_hypot_use=no
45413 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45414 ac_ext=c
45415 ac_cpp='$CPP $CPPFLAGS'
45416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45424 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
45425 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
45427 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
45429 for ac_func in hypot
45431 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45432 echo "$as_me:$LINENO: checking for $ac_func" >&5
45433 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45434 if eval "test \"\${$as_ac_var+set}\" = set"; then
45435 echo $ECHO_N "(cached) $ECHO_C" >&6
45436 else
45437 if test x$gcc_no_link = xyes; then
45438 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45439 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45440 { (exit 1); exit 1; }; }
45442 cat >conftest.$ac_ext <<_ACEOF
45443 /* confdefs.h. */
45444 _ACEOF
45445 cat confdefs.h >>conftest.$ac_ext
45446 cat >>conftest.$ac_ext <<_ACEOF
45447 /* end confdefs.h. */
45448 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45449 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45450 #define $ac_func innocuous_$ac_func
45452 /* System header to define __stub macros and hopefully few prototypes,
45453 which can conflict with char $ac_func (); below.
45454 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45455 <limits.h> exists even on freestanding compilers. */
45457 #ifdef __STDC__
45458 # include <limits.h>
45459 #else
45460 # include <assert.h>
45461 #endif
45463 #undef $ac_func
45465 /* Override any gcc2 internal prototype to avoid an error. */
45466 #ifdef __cplusplus
45467 extern "C"
45469 #endif
45470 /* We use char because int might match the return type of a gcc2
45471 builtin and then its argument prototype would still apply. */
45472 char $ac_func ();
45473 /* The GNU C library defines this for functions which it implements
45474 to always fail with ENOSYS. Some functions are actually named
45475 something starting with __ and the normal name is an alias. */
45476 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45477 choke me
45478 #else
45479 char (*f) () = $ac_func;
45480 #endif
45481 #ifdef __cplusplus
45483 #endif
45486 main ()
45488 return f != $ac_func;
45490 return 0;
45492 _ACEOF
45493 rm -f conftest.$ac_objext conftest$ac_exeext
45494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45495 (eval $ac_link) 2>conftest.er1
45496 ac_status=$?
45497 grep -v '^ *+' conftest.er1 >conftest.err
45498 rm -f conftest.er1
45499 cat conftest.err >&5
45500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45501 (exit $ac_status); } &&
45502 { ac_try='test -z "$ac_c_werror_flag"
45503 || test ! -s conftest.err'
45504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45505 (eval $ac_try) 2>&5
45506 ac_status=$?
45507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45508 (exit $ac_status); }; } &&
45509 { ac_try='test -s conftest$ac_exeext'
45510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45511 (eval $ac_try) 2>&5
45512 ac_status=$?
45513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45514 (exit $ac_status); }; }; then
45515 eval "$as_ac_var=yes"
45516 else
45517 echo "$as_me: failed program was:" >&5
45518 sed 's/^/| /' conftest.$ac_ext >&5
45520 eval "$as_ac_var=no"
45522 rm -f conftest.err conftest.$ac_objext \
45523 conftest$ac_exeext conftest.$ac_ext
45525 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45526 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45527 if test `eval echo '${'$as_ac_var'}'` = yes; then
45528 cat >>confdefs.h <<_ACEOF
45529 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45530 _ACEOF
45533 done
45535 else
45537 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
45538 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
45539 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
45540 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
45541 echo $ECHO_N "(cached) $ECHO_C" >&6
45542 else
45546 ac_ext=cc
45547 ac_cpp='$CXXCPP $CPPFLAGS'
45548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45552 cat >conftest.$ac_ext <<_ACEOF
45553 /* confdefs.h. */
45554 _ACEOF
45555 cat confdefs.h >>conftest.$ac_ext
45556 cat >>conftest.$ac_ext <<_ACEOF
45557 /* end confdefs.h. */
45558 #include <math.h>
45560 main ()
45562 _hypot(0, 0);
45564 return 0;
45566 _ACEOF
45567 rm -f conftest.$ac_objext
45568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45569 (eval $ac_compile) 2>conftest.er1
45570 ac_status=$?
45571 grep -v '^ *+' conftest.er1 >conftest.err
45572 rm -f conftest.er1
45573 cat conftest.err >&5
45574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45575 (exit $ac_status); } &&
45576 { ac_try='test -z "$ac_cxx_werror_flag"
45577 || test ! -s conftest.err'
45578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45579 (eval $ac_try) 2>&5
45580 ac_status=$?
45581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45582 (exit $ac_status); }; } &&
45583 { ac_try='test -s conftest.$ac_objext'
45584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45585 (eval $ac_try) 2>&5
45586 ac_status=$?
45587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45588 (exit $ac_status); }; }; then
45589 glibcxx_cv_func__hypot_use=yes
45590 else
45591 echo "$as_me: failed program was:" >&5
45592 sed 's/^/| /' conftest.$ac_ext >&5
45594 glibcxx_cv_func__hypot_use=no
45596 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45597 ac_ext=c
45598 ac_cpp='$CPP $CPPFLAGS'
45599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45607 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
45608 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
45610 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
45612 for ac_func in _hypot
45614 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45615 echo "$as_me:$LINENO: checking for $ac_func" >&5
45616 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45617 if eval "test \"\${$as_ac_var+set}\" = set"; then
45618 echo $ECHO_N "(cached) $ECHO_C" >&6
45619 else
45620 if test x$gcc_no_link = xyes; then
45621 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45622 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45623 { (exit 1); exit 1; }; }
45625 cat >conftest.$ac_ext <<_ACEOF
45626 /* confdefs.h. */
45627 _ACEOF
45628 cat confdefs.h >>conftest.$ac_ext
45629 cat >>conftest.$ac_ext <<_ACEOF
45630 /* end confdefs.h. */
45631 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45632 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45633 #define $ac_func innocuous_$ac_func
45635 /* System header to define __stub macros and hopefully few prototypes,
45636 which can conflict with char $ac_func (); below.
45637 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45638 <limits.h> exists even on freestanding compilers. */
45640 #ifdef __STDC__
45641 # include <limits.h>
45642 #else
45643 # include <assert.h>
45644 #endif
45646 #undef $ac_func
45648 /* Override any gcc2 internal prototype to avoid an error. */
45649 #ifdef __cplusplus
45650 extern "C"
45652 #endif
45653 /* We use char because int might match the return type of a gcc2
45654 builtin and then its argument prototype would still apply. */
45655 char $ac_func ();
45656 /* The GNU C library defines this for functions which it implements
45657 to always fail with ENOSYS. Some functions are actually named
45658 something starting with __ and the normal name is an alias. */
45659 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45660 choke me
45661 #else
45662 char (*f) () = $ac_func;
45663 #endif
45664 #ifdef __cplusplus
45666 #endif
45669 main ()
45671 return f != $ac_func;
45673 return 0;
45675 _ACEOF
45676 rm -f conftest.$ac_objext conftest$ac_exeext
45677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45678 (eval $ac_link) 2>conftest.er1
45679 ac_status=$?
45680 grep -v '^ *+' conftest.er1 >conftest.err
45681 rm -f conftest.er1
45682 cat conftest.err >&5
45683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45684 (exit $ac_status); } &&
45685 { ac_try='test -z "$ac_c_werror_flag"
45686 || test ! -s conftest.err'
45687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45688 (eval $ac_try) 2>&5
45689 ac_status=$?
45690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45691 (exit $ac_status); }; } &&
45692 { ac_try='test -s conftest$ac_exeext'
45693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45694 (eval $ac_try) 2>&5
45695 ac_status=$?
45696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45697 (exit $ac_status); }; }; then
45698 eval "$as_ac_var=yes"
45699 else
45700 echo "$as_me: failed program was:" >&5
45701 sed 's/^/| /' conftest.$ac_ext >&5
45703 eval "$as_ac_var=no"
45705 rm -f conftest.err conftest.$ac_objext \
45706 conftest$ac_exeext conftest.$ac_ext
45708 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45709 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45710 if test `eval echo '${'$as_ac_var'}'` = yes; then
45711 cat >>confdefs.h <<_ACEOF
45712 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45713 _ACEOF
45716 done
45726 echo "$as_me:$LINENO: checking for float trig functions" >&5
45727 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
45728 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
45729 echo $ECHO_N "(cached) $ECHO_C" >&6
45730 else
45734 ac_ext=cc
45735 ac_cpp='$CXXCPP $CPPFLAGS'
45736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45740 cat >conftest.$ac_ext <<_ACEOF
45741 /* confdefs.h. */
45742 _ACEOF
45743 cat confdefs.h >>conftest.$ac_ext
45744 cat >>conftest.$ac_ext <<_ACEOF
45745 /* end confdefs.h. */
45746 #include <math.h>
45748 main ()
45750 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
45752 return 0;
45754 _ACEOF
45755 rm -f conftest.$ac_objext
45756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45757 (eval $ac_compile) 2>conftest.er1
45758 ac_status=$?
45759 grep -v '^ *+' conftest.er1 >conftest.err
45760 rm -f conftest.er1
45761 cat conftest.err >&5
45762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45763 (exit $ac_status); } &&
45764 { ac_try='test -z "$ac_cxx_werror_flag"
45765 || test ! -s conftest.err'
45766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45767 (eval $ac_try) 2>&5
45768 ac_status=$?
45769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45770 (exit $ac_status); }; } &&
45771 { ac_try='test -s conftest.$ac_objext'
45772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45773 (eval $ac_try) 2>&5
45774 ac_status=$?
45775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45776 (exit $ac_status); }; }; then
45777 glibcxx_cv_func_float_trig_use=yes
45778 else
45779 echo "$as_me: failed program was:" >&5
45780 sed 's/^/| /' conftest.$ac_ext >&5
45782 glibcxx_cv_func_float_trig_use=no
45784 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45785 ac_ext=c
45786 ac_cpp='$CPP $CPPFLAGS'
45787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45793 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
45794 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
45795 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
45805 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
45807 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45808 echo "$as_me:$LINENO: checking for $ac_func" >&5
45809 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45810 if eval "test \"\${$as_ac_var+set}\" = set"; then
45811 echo $ECHO_N "(cached) $ECHO_C" >&6
45812 else
45813 if test x$gcc_no_link = xyes; then
45814 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45815 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45816 { (exit 1); exit 1; }; }
45818 cat >conftest.$ac_ext <<_ACEOF
45819 /* confdefs.h. */
45820 _ACEOF
45821 cat confdefs.h >>conftest.$ac_ext
45822 cat >>conftest.$ac_ext <<_ACEOF
45823 /* end confdefs.h. */
45824 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45825 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45826 #define $ac_func innocuous_$ac_func
45828 /* System header to define __stub macros and hopefully few prototypes,
45829 which can conflict with char $ac_func (); below.
45830 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45831 <limits.h> exists even on freestanding compilers. */
45833 #ifdef __STDC__
45834 # include <limits.h>
45835 #else
45836 # include <assert.h>
45837 #endif
45839 #undef $ac_func
45841 /* Override any gcc2 internal prototype to avoid an error. */
45842 #ifdef __cplusplus
45843 extern "C"
45845 #endif
45846 /* We use char because int might match the return type of a gcc2
45847 builtin and then its argument prototype would still apply. */
45848 char $ac_func ();
45849 /* The GNU C library defines this for functions which it implements
45850 to always fail with ENOSYS. Some functions are actually named
45851 something starting with __ and the normal name is an alias. */
45852 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45853 choke me
45854 #else
45855 char (*f) () = $ac_func;
45856 #endif
45857 #ifdef __cplusplus
45859 #endif
45862 main ()
45864 return f != $ac_func;
45866 return 0;
45868 _ACEOF
45869 rm -f conftest.$ac_objext conftest$ac_exeext
45870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45871 (eval $ac_link) 2>conftest.er1
45872 ac_status=$?
45873 grep -v '^ *+' conftest.er1 >conftest.err
45874 rm -f conftest.er1
45875 cat conftest.err >&5
45876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45877 (exit $ac_status); } &&
45878 { ac_try='test -z "$ac_c_werror_flag"
45879 || test ! -s conftest.err'
45880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45881 (eval $ac_try) 2>&5
45882 ac_status=$?
45883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45884 (exit $ac_status); }; } &&
45885 { ac_try='test -s conftest$ac_exeext'
45886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45887 (eval $ac_try) 2>&5
45888 ac_status=$?
45889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45890 (exit $ac_status); }; }; then
45891 eval "$as_ac_var=yes"
45892 else
45893 echo "$as_me: failed program was:" >&5
45894 sed 's/^/| /' conftest.$ac_ext >&5
45896 eval "$as_ac_var=no"
45898 rm -f conftest.err conftest.$ac_objext \
45899 conftest$ac_exeext conftest.$ac_ext
45901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45902 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45903 if test `eval echo '${'$as_ac_var'}'` = yes; then
45904 cat >>confdefs.h <<_ACEOF
45905 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45906 _ACEOF
45909 done
45911 else
45912 echo "$as_me:$LINENO: checking for _float trig functions" >&5
45913 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
45914 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
45915 echo $ECHO_N "(cached) $ECHO_C" >&6
45916 else
45920 ac_ext=cc
45921 ac_cpp='$CXXCPP $CPPFLAGS'
45922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45926 cat >conftest.$ac_ext <<_ACEOF
45927 /* confdefs.h. */
45928 _ACEOF
45929 cat confdefs.h >>conftest.$ac_ext
45930 cat >>conftest.$ac_ext <<_ACEOF
45931 /* end confdefs.h. */
45932 #include <math.h>
45934 main ()
45936 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
45938 return 0;
45940 _ACEOF
45941 rm -f conftest.$ac_objext
45942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45943 (eval $ac_compile) 2>conftest.er1
45944 ac_status=$?
45945 grep -v '^ *+' conftest.er1 >conftest.err
45946 rm -f conftest.er1
45947 cat conftest.err >&5
45948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45949 (exit $ac_status); } &&
45950 { ac_try='test -z "$ac_cxx_werror_flag"
45951 || test ! -s conftest.err'
45952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45953 (eval $ac_try) 2>&5
45954 ac_status=$?
45955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45956 (exit $ac_status); }; } &&
45957 { ac_try='test -s conftest.$ac_objext'
45958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45959 (eval $ac_try) 2>&5
45960 ac_status=$?
45961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45962 (exit $ac_status); }; }; then
45963 glibcxx_cv_func__float_trig_use=yes
45964 else
45965 echo "$as_me: failed program was:" >&5
45966 sed 's/^/| /' conftest.$ac_ext >&5
45968 glibcxx_cv_func__float_trig_use=no
45970 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45971 ac_ext=c
45972 ac_cpp='$CPP $CPPFLAGS'
45973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45979 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
45980 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
45981 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
45991 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
45993 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45994 echo "$as_me:$LINENO: checking for $ac_func" >&5
45995 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45996 if eval "test \"\${$as_ac_var+set}\" = set"; then
45997 echo $ECHO_N "(cached) $ECHO_C" >&6
45998 else
45999 if test x$gcc_no_link = xyes; then
46000 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46001 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46002 { (exit 1); exit 1; }; }
46004 cat >conftest.$ac_ext <<_ACEOF
46005 /* confdefs.h. */
46006 _ACEOF
46007 cat confdefs.h >>conftest.$ac_ext
46008 cat >>conftest.$ac_ext <<_ACEOF
46009 /* end confdefs.h. */
46010 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46011 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46012 #define $ac_func innocuous_$ac_func
46014 /* System header to define __stub macros and hopefully few prototypes,
46015 which can conflict with char $ac_func (); below.
46016 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46017 <limits.h> exists even on freestanding compilers. */
46019 #ifdef __STDC__
46020 # include <limits.h>
46021 #else
46022 # include <assert.h>
46023 #endif
46025 #undef $ac_func
46027 /* Override any gcc2 internal prototype to avoid an error. */
46028 #ifdef __cplusplus
46029 extern "C"
46031 #endif
46032 /* We use char because int might match the return type of a gcc2
46033 builtin and then its argument prototype would still apply. */
46034 char $ac_func ();
46035 /* The GNU C library defines this for functions which it implements
46036 to always fail with ENOSYS. Some functions are actually named
46037 something starting with __ and the normal name is an alias. */
46038 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46039 choke me
46040 #else
46041 char (*f) () = $ac_func;
46042 #endif
46043 #ifdef __cplusplus
46045 #endif
46048 main ()
46050 return f != $ac_func;
46052 return 0;
46054 _ACEOF
46055 rm -f conftest.$ac_objext conftest$ac_exeext
46056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46057 (eval $ac_link) 2>conftest.er1
46058 ac_status=$?
46059 grep -v '^ *+' conftest.er1 >conftest.err
46060 rm -f conftest.er1
46061 cat conftest.err >&5
46062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46063 (exit $ac_status); } &&
46064 { ac_try='test -z "$ac_c_werror_flag"
46065 || test ! -s conftest.err'
46066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46067 (eval $ac_try) 2>&5
46068 ac_status=$?
46069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46070 (exit $ac_status); }; } &&
46071 { ac_try='test -s conftest$ac_exeext'
46072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46073 (eval $ac_try) 2>&5
46074 ac_status=$?
46075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46076 (exit $ac_status); }; }; then
46077 eval "$as_ac_var=yes"
46078 else
46079 echo "$as_me: failed program was:" >&5
46080 sed 's/^/| /' conftest.$ac_ext >&5
46082 eval "$as_ac_var=no"
46084 rm -f conftest.err conftest.$ac_objext \
46085 conftest$ac_exeext conftest.$ac_ext
46087 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46088 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46089 if test `eval echo '${'$as_ac_var'}'` = yes; then
46090 cat >>confdefs.h <<_ACEOF
46091 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46092 _ACEOF
46095 done
46113 echo "$as_me:$LINENO: checking for float round functions" >&5
46114 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
46115 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
46116 echo $ECHO_N "(cached) $ECHO_C" >&6
46117 else
46121 ac_ext=cc
46122 ac_cpp='$CXXCPP $CPPFLAGS'
46123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46127 cat >conftest.$ac_ext <<_ACEOF
46128 /* confdefs.h. */
46129 _ACEOF
46130 cat confdefs.h >>conftest.$ac_ext
46131 cat >>conftest.$ac_ext <<_ACEOF
46132 /* end confdefs.h. */
46133 #include <math.h>
46135 main ()
46137 ceilf (0); floorf (0);
46139 return 0;
46141 _ACEOF
46142 rm -f conftest.$ac_objext
46143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46144 (eval $ac_compile) 2>conftest.er1
46145 ac_status=$?
46146 grep -v '^ *+' conftest.er1 >conftest.err
46147 rm -f conftest.er1
46148 cat conftest.err >&5
46149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46150 (exit $ac_status); } &&
46151 { ac_try='test -z "$ac_cxx_werror_flag"
46152 || test ! -s conftest.err'
46153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46154 (eval $ac_try) 2>&5
46155 ac_status=$?
46156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46157 (exit $ac_status); }; } &&
46158 { ac_try='test -s conftest.$ac_objext'
46159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46160 (eval $ac_try) 2>&5
46161 ac_status=$?
46162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46163 (exit $ac_status); }; }; then
46164 glibcxx_cv_func_float_round_use=yes
46165 else
46166 echo "$as_me: failed program was:" >&5
46167 sed 's/^/| /' conftest.$ac_ext >&5
46169 glibcxx_cv_func_float_round_use=no
46171 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46172 ac_ext=c
46173 ac_cpp='$CPP $CPPFLAGS'
46174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46180 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
46181 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
46182 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
46185 for ac_func in ceilf floorf
46187 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46188 echo "$as_me:$LINENO: checking for $ac_func" >&5
46189 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46190 if eval "test \"\${$as_ac_var+set}\" = set"; then
46191 echo $ECHO_N "(cached) $ECHO_C" >&6
46192 else
46193 if test x$gcc_no_link = xyes; then
46194 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46195 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46196 { (exit 1); exit 1; }; }
46198 cat >conftest.$ac_ext <<_ACEOF
46199 /* confdefs.h. */
46200 _ACEOF
46201 cat confdefs.h >>conftest.$ac_ext
46202 cat >>conftest.$ac_ext <<_ACEOF
46203 /* end confdefs.h. */
46204 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46205 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46206 #define $ac_func innocuous_$ac_func
46208 /* System header to define __stub macros and hopefully few prototypes,
46209 which can conflict with char $ac_func (); below.
46210 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46211 <limits.h> exists even on freestanding compilers. */
46213 #ifdef __STDC__
46214 # include <limits.h>
46215 #else
46216 # include <assert.h>
46217 #endif
46219 #undef $ac_func
46221 /* Override any gcc2 internal prototype to avoid an error. */
46222 #ifdef __cplusplus
46223 extern "C"
46225 #endif
46226 /* We use char because int might match the return type of a gcc2
46227 builtin and then its argument prototype would still apply. */
46228 char $ac_func ();
46229 /* The GNU C library defines this for functions which it implements
46230 to always fail with ENOSYS. Some functions are actually named
46231 something starting with __ and the normal name is an alias. */
46232 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46233 choke me
46234 #else
46235 char (*f) () = $ac_func;
46236 #endif
46237 #ifdef __cplusplus
46239 #endif
46242 main ()
46244 return f != $ac_func;
46246 return 0;
46248 _ACEOF
46249 rm -f conftest.$ac_objext conftest$ac_exeext
46250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46251 (eval $ac_link) 2>conftest.er1
46252 ac_status=$?
46253 grep -v '^ *+' conftest.er1 >conftest.err
46254 rm -f conftest.er1
46255 cat conftest.err >&5
46256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46257 (exit $ac_status); } &&
46258 { ac_try='test -z "$ac_c_werror_flag"
46259 || test ! -s conftest.err'
46260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46261 (eval $ac_try) 2>&5
46262 ac_status=$?
46263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46264 (exit $ac_status); }; } &&
46265 { ac_try='test -s conftest$ac_exeext'
46266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46267 (eval $ac_try) 2>&5
46268 ac_status=$?
46269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46270 (exit $ac_status); }; }; then
46271 eval "$as_ac_var=yes"
46272 else
46273 echo "$as_me: failed program was:" >&5
46274 sed 's/^/| /' conftest.$ac_ext >&5
46276 eval "$as_ac_var=no"
46278 rm -f conftest.err conftest.$ac_objext \
46279 conftest$ac_exeext conftest.$ac_ext
46281 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46282 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46283 if test `eval echo '${'$as_ac_var'}'` = yes; then
46284 cat >>confdefs.h <<_ACEOF
46285 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46286 _ACEOF
46289 done
46291 else
46292 echo "$as_me:$LINENO: checking for _float round functions" >&5
46293 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
46294 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
46295 echo $ECHO_N "(cached) $ECHO_C" >&6
46296 else
46300 ac_ext=cc
46301 ac_cpp='$CXXCPP $CPPFLAGS'
46302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46306 cat >conftest.$ac_ext <<_ACEOF
46307 /* confdefs.h. */
46308 _ACEOF
46309 cat confdefs.h >>conftest.$ac_ext
46310 cat >>conftest.$ac_ext <<_ACEOF
46311 /* end confdefs.h. */
46312 #include <math.h>
46314 main ()
46316 _ceilf (0); _floorf (0);
46318 return 0;
46320 _ACEOF
46321 rm -f conftest.$ac_objext
46322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46323 (eval $ac_compile) 2>conftest.er1
46324 ac_status=$?
46325 grep -v '^ *+' conftest.er1 >conftest.err
46326 rm -f conftest.er1
46327 cat conftest.err >&5
46328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46329 (exit $ac_status); } &&
46330 { ac_try='test -z "$ac_cxx_werror_flag"
46331 || test ! -s conftest.err'
46332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46333 (eval $ac_try) 2>&5
46334 ac_status=$?
46335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46336 (exit $ac_status); }; } &&
46337 { ac_try='test -s conftest.$ac_objext'
46338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46339 (eval $ac_try) 2>&5
46340 ac_status=$?
46341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46342 (exit $ac_status); }; }; then
46343 glibcxx_cv_func__float_round_use=yes
46344 else
46345 echo "$as_me: failed program was:" >&5
46346 sed 's/^/| /' conftest.$ac_ext >&5
46348 glibcxx_cv_func__float_round_use=no
46350 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46351 ac_ext=c
46352 ac_cpp='$CPP $CPPFLAGS'
46353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46359 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
46360 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
46361 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
46364 for ac_func in _ceilf _floorf
46366 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46367 echo "$as_me:$LINENO: checking for $ac_func" >&5
46368 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46369 if eval "test \"\${$as_ac_var+set}\" = set"; then
46370 echo $ECHO_N "(cached) $ECHO_C" >&6
46371 else
46372 if test x$gcc_no_link = xyes; then
46373 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46374 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46375 { (exit 1); exit 1; }; }
46377 cat >conftest.$ac_ext <<_ACEOF
46378 /* confdefs.h. */
46379 _ACEOF
46380 cat confdefs.h >>conftest.$ac_ext
46381 cat >>conftest.$ac_ext <<_ACEOF
46382 /* end confdefs.h. */
46383 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46384 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46385 #define $ac_func innocuous_$ac_func
46387 /* System header to define __stub macros and hopefully few prototypes,
46388 which can conflict with char $ac_func (); below.
46389 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46390 <limits.h> exists even on freestanding compilers. */
46392 #ifdef __STDC__
46393 # include <limits.h>
46394 #else
46395 # include <assert.h>
46396 #endif
46398 #undef $ac_func
46400 /* Override any gcc2 internal prototype to avoid an error. */
46401 #ifdef __cplusplus
46402 extern "C"
46404 #endif
46405 /* We use char because int might match the return type of a gcc2
46406 builtin and then its argument prototype would still apply. */
46407 char $ac_func ();
46408 /* The GNU C library defines this for functions which it implements
46409 to always fail with ENOSYS. Some functions are actually named
46410 something starting with __ and the normal name is an alias. */
46411 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46412 choke me
46413 #else
46414 char (*f) () = $ac_func;
46415 #endif
46416 #ifdef __cplusplus
46418 #endif
46421 main ()
46423 return f != $ac_func;
46425 return 0;
46427 _ACEOF
46428 rm -f conftest.$ac_objext conftest$ac_exeext
46429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46430 (eval $ac_link) 2>conftest.er1
46431 ac_status=$?
46432 grep -v '^ *+' conftest.er1 >conftest.err
46433 rm -f conftest.er1
46434 cat conftest.err >&5
46435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46436 (exit $ac_status); } &&
46437 { ac_try='test -z "$ac_c_werror_flag"
46438 || test ! -s conftest.err'
46439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46440 (eval $ac_try) 2>&5
46441 ac_status=$?
46442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46443 (exit $ac_status); }; } &&
46444 { ac_try='test -s conftest$ac_exeext'
46445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46446 (eval $ac_try) 2>&5
46447 ac_status=$?
46448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46449 (exit $ac_status); }; }; then
46450 eval "$as_ac_var=yes"
46451 else
46452 echo "$as_me: failed program was:" >&5
46453 sed 's/^/| /' conftest.$ac_ext >&5
46455 eval "$as_ac_var=no"
46457 rm -f conftest.err conftest.$ac_objext \
46458 conftest$ac_exeext conftest.$ac_ext
46460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46461 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46462 if test `eval echo '${'$as_ac_var'}'` = yes; then
46463 cat >>confdefs.h <<_ACEOF
46464 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46465 _ACEOF
46468 done
46480 echo "$as_me:$LINENO: checking for expf declaration" >&5
46481 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
46482 if test x${glibcxx_cv_func_expf_use+set} != xset; then
46483 if test "${glibcxx_cv_func_expf_use+set}" = set; then
46484 echo $ECHO_N "(cached) $ECHO_C" >&6
46485 else
46489 ac_ext=cc
46490 ac_cpp='$CXXCPP $CPPFLAGS'
46491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46495 cat >conftest.$ac_ext <<_ACEOF
46496 /* confdefs.h. */
46497 _ACEOF
46498 cat confdefs.h >>conftest.$ac_ext
46499 cat >>conftest.$ac_ext <<_ACEOF
46500 /* end confdefs.h. */
46501 #include <math.h>
46502 #ifdef HAVE_IEEEFP_H
46503 #include <ieeefp.h>
46504 #endif
46507 main ()
46509 expf(0);
46511 return 0;
46513 _ACEOF
46514 rm -f conftest.$ac_objext
46515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46516 (eval $ac_compile) 2>conftest.er1
46517 ac_status=$?
46518 grep -v '^ *+' conftest.er1 >conftest.err
46519 rm -f conftest.er1
46520 cat conftest.err >&5
46521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46522 (exit $ac_status); } &&
46523 { ac_try='test -z "$ac_cxx_werror_flag"
46524 || test ! -s conftest.err'
46525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46526 (eval $ac_try) 2>&5
46527 ac_status=$?
46528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46529 (exit $ac_status); }; } &&
46530 { ac_try='test -s conftest.$ac_objext'
46531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46532 (eval $ac_try) 2>&5
46533 ac_status=$?
46534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46535 (exit $ac_status); }; }; then
46536 glibcxx_cv_func_expf_use=yes
46537 else
46538 echo "$as_me: failed program was:" >&5
46539 sed 's/^/| /' conftest.$ac_ext >&5
46541 glibcxx_cv_func_expf_use=no
46543 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46544 ac_ext=c
46545 ac_cpp='$CPP $CPPFLAGS'
46546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46554 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
46555 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
46557 if test x$glibcxx_cv_func_expf_use = x"yes"; then
46559 for ac_func in expf
46561 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46562 echo "$as_me:$LINENO: checking for $ac_func" >&5
46563 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46564 if eval "test \"\${$as_ac_var+set}\" = set"; then
46565 echo $ECHO_N "(cached) $ECHO_C" >&6
46566 else
46567 if test x$gcc_no_link = xyes; then
46568 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46569 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46570 { (exit 1); exit 1; }; }
46572 cat >conftest.$ac_ext <<_ACEOF
46573 /* confdefs.h. */
46574 _ACEOF
46575 cat confdefs.h >>conftest.$ac_ext
46576 cat >>conftest.$ac_ext <<_ACEOF
46577 /* end confdefs.h. */
46578 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46579 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46580 #define $ac_func innocuous_$ac_func
46582 /* System header to define __stub macros and hopefully few prototypes,
46583 which can conflict with char $ac_func (); below.
46584 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46585 <limits.h> exists even on freestanding compilers. */
46587 #ifdef __STDC__
46588 # include <limits.h>
46589 #else
46590 # include <assert.h>
46591 #endif
46593 #undef $ac_func
46595 /* Override any gcc2 internal prototype to avoid an error. */
46596 #ifdef __cplusplus
46597 extern "C"
46599 #endif
46600 /* We use char because int might match the return type of a gcc2
46601 builtin and then its argument prototype would still apply. */
46602 char $ac_func ();
46603 /* The GNU C library defines this for functions which it implements
46604 to always fail with ENOSYS. Some functions are actually named
46605 something starting with __ and the normal name is an alias. */
46606 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46607 choke me
46608 #else
46609 char (*f) () = $ac_func;
46610 #endif
46611 #ifdef __cplusplus
46613 #endif
46616 main ()
46618 return f != $ac_func;
46620 return 0;
46622 _ACEOF
46623 rm -f conftest.$ac_objext conftest$ac_exeext
46624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46625 (eval $ac_link) 2>conftest.er1
46626 ac_status=$?
46627 grep -v '^ *+' conftest.er1 >conftest.err
46628 rm -f conftest.er1
46629 cat conftest.err >&5
46630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46631 (exit $ac_status); } &&
46632 { ac_try='test -z "$ac_c_werror_flag"
46633 || test ! -s conftest.err'
46634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46635 (eval $ac_try) 2>&5
46636 ac_status=$?
46637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46638 (exit $ac_status); }; } &&
46639 { ac_try='test -s conftest$ac_exeext'
46640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46641 (eval $ac_try) 2>&5
46642 ac_status=$?
46643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46644 (exit $ac_status); }; }; then
46645 eval "$as_ac_var=yes"
46646 else
46647 echo "$as_me: failed program was:" >&5
46648 sed 's/^/| /' conftest.$ac_ext >&5
46650 eval "$as_ac_var=no"
46652 rm -f conftest.err conftest.$ac_objext \
46653 conftest$ac_exeext conftest.$ac_ext
46655 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46656 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46657 if test `eval echo '${'$as_ac_var'}'` = yes; then
46658 cat >>confdefs.h <<_ACEOF
46659 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46660 _ACEOF
46663 done
46665 else
46667 echo "$as_me:$LINENO: checking for _expf declaration" >&5
46668 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
46669 if test x${glibcxx_cv_func__expf_use+set} != xset; then
46670 if test "${glibcxx_cv_func__expf_use+set}" = set; then
46671 echo $ECHO_N "(cached) $ECHO_C" >&6
46672 else
46676 ac_ext=cc
46677 ac_cpp='$CXXCPP $CPPFLAGS'
46678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46682 cat >conftest.$ac_ext <<_ACEOF
46683 /* confdefs.h. */
46684 _ACEOF
46685 cat confdefs.h >>conftest.$ac_ext
46686 cat >>conftest.$ac_ext <<_ACEOF
46687 /* end confdefs.h. */
46688 #include <math.h>
46689 #ifdef HAVE_IEEEFP_H
46690 #include <ieeefp.h>
46691 #endif
46694 main ()
46696 _expf(0);
46698 return 0;
46700 _ACEOF
46701 rm -f conftest.$ac_objext
46702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46703 (eval $ac_compile) 2>conftest.er1
46704 ac_status=$?
46705 grep -v '^ *+' conftest.er1 >conftest.err
46706 rm -f conftest.er1
46707 cat conftest.err >&5
46708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46709 (exit $ac_status); } &&
46710 { ac_try='test -z "$ac_cxx_werror_flag"
46711 || test ! -s conftest.err'
46712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46713 (eval $ac_try) 2>&5
46714 ac_status=$?
46715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46716 (exit $ac_status); }; } &&
46717 { ac_try='test -s conftest.$ac_objext'
46718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46719 (eval $ac_try) 2>&5
46720 ac_status=$?
46721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46722 (exit $ac_status); }; }; then
46723 glibcxx_cv_func__expf_use=yes
46724 else
46725 echo "$as_me: failed program was:" >&5
46726 sed 's/^/| /' conftest.$ac_ext >&5
46728 glibcxx_cv_func__expf_use=no
46730 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46731 ac_ext=c
46732 ac_cpp='$CPP $CPPFLAGS'
46733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46741 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
46742 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
46744 if test x$glibcxx_cv_func__expf_use = x"yes"; then
46746 for ac_func in _expf
46748 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46749 echo "$as_me:$LINENO: checking for $ac_func" >&5
46750 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46751 if eval "test \"\${$as_ac_var+set}\" = set"; then
46752 echo $ECHO_N "(cached) $ECHO_C" >&6
46753 else
46754 if test x$gcc_no_link = xyes; then
46755 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46756 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46757 { (exit 1); exit 1; }; }
46759 cat >conftest.$ac_ext <<_ACEOF
46760 /* confdefs.h. */
46761 _ACEOF
46762 cat confdefs.h >>conftest.$ac_ext
46763 cat >>conftest.$ac_ext <<_ACEOF
46764 /* end confdefs.h. */
46765 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46766 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46767 #define $ac_func innocuous_$ac_func
46769 /* System header to define __stub macros and hopefully few prototypes,
46770 which can conflict with char $ac_func (); below.
46771 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46772 <limits.h> exists even on freestanding compilers. */
46774 #ifdef __STDC__
46775 # include <limits.h>
46776 #else
46777 # include <assert.h>
46778 #endif
46780 #undef $ac_func
46782 /* Override any gcc2 internal prototype to avoid an error. */
46783 #ifdef __cplusplus
46784 extern "C"
46786 #endif
46787 /* We use char because int might match the return type of a gcc2
46788 builtin and then its argument prototype would still apply. */
46789 char $ac_func ();
46790 /* The GNU C library defines this for functions which it implements
46791 to always fail with ENOSYS. Some functions are actually named
46792 something starting with __ and the normal name is an alias. */
46793 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46794 choke me
46795 #else
46796 char (*f) () = $ac_func;
46797 #endif
46798 #ifdef __cplusplus
46800 #endif
46803 main ()
46805 return f != $ac_func;
46807 return 0;
46809 _ACEOF
46810 rm -f conftest.$ac_objext conftest$ac_exeext
46811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46812 (eval $ac_link) 2>conftest.er1
46813 ac_status=$?
46814 grep -v '^ *+' conftest.er1 >conftest.err
46815 rm -f conftest.er1
46816 cat conftest.err >&5
46817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46818 (exit $ac_status); } &&
46819 { ac_try='test -z "$ac_c_werror_flag"
46820 || test ! -s conftest.err'
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); }; } &&
46826 { ac_try='test -s conftest$ac_exeext'
46827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46828 (eval $ac_try) 2>&5
46829 ac_status=$?
46830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46831 (exit $ac_status); }; }; then
46832 eval "$as_ac_var=yes"
46833 else
46834 echo "$as_me: failed program was:" >&5
46835 sed 's/^/| /' conftest.$ac_ext >&5
46837 eval "$as_ac_var=no"
46839 rm -f conftest.err conftest.$ac_objext \
46840 conftest$ac_exeext conftest.$ac_ext
46842 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46843 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46844 if test `eval echo '${'$as_ac_var'}'` = yes; then
46845 cat >>confdefs.h <<_ACEOF
46846 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46847 _ACEOF
46850 done
46860 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
46861 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
46862 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
46863 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
46864 echo $ECHO_N "(cached) $ECHO_C" >&6
46865 else
46869 ac_ext=cc
46870 ac_cpp='$CXXCPP $CPPFLAGS'
46871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46875 cat >conftest.$ac_ext <<_ACEOF
46876 /* confdefs.h. */
46877 _ACEOF
46878 cat confdefs.h >>conftest.$ac_ext
46879 cat >>conftest.$ac_ext <<_ACEOF
46880 /* end confdefs.h. */
46881 #include <math.h>
46882 #ifdef HAVE_IEEEFP_H
46883 #include <ieeefp.h>
46884 #endif
46887 main ()
46889 isnanf(0);
46891 return 0;
46893 _ACEOF
46894 rm -f conftest.$ac_objext
46895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46896 (eval $ac_compile) 2>conftest.er1
46897 ac_status=$?
46898 grep -v '^ *+' conftest.er1 >conftest.err
46899 rm -f conftest.er1
46900 cat conftest.err >&5
46901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46902 (exit $ac_status); } &&
46903 { ac_try='test -z "$ac_cxx_werror_flag"
46904 || test ! -s conftest.err'
46905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46906 (eval $ac_try) 2>&5
46907 ac_status=$?
46908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46909 (exit $ac_status); }; } &&
46910 { ac_try='test -s conftest.$ac_objext'
46911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46912 (eval $ac_try) 2>&5
46913 ac_status=$?
46914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46915 (exit $ac_status); }; }; then
46916 glibcxx_cv_func_isnanf_use=yes
46917 else
46918 echo "$as_me: failed program was:" >&5
46919 sed 's/^/| /' conftest.$ac_ext >&5
46921 glibcxx_cv_func_isnanf_use=no
46923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46924 ac_ext=c
46925 ac_cpp='$CPP $CPPFLAGS'
46926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46934 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
46935 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
46937 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
46939 for ac_func in isnanf
46941 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46942 echo "$as_me:$LINENO: checking for $ac_func" >&5
46943 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46944 if eval "test \"\${$as_ac_var+set}\" = set"; then
46945 echo $ECHO_N "(cached) $ECHO_C" >&6
46946 else
46947 if test x$gcc_no_link = xyes; then
46948 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46949 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46950 { (exit 1); exit 1; }; }
46952 cat >conftest.$ac_ext <<_ACEOF
46953 /* confdefs.h. */
46954 _ACEOF
46955 cat confdefs.h >>conftest.$ac_ext
46956 cat >>conftest.$ac_ext <<_ACEOF
46957 /* end confdefs.h. */
46958 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46959 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46960 #define $ac_func innocuous_$ac_func
46962 /* System header to define __stub macros and hopefully few prototypes,
46963 which can conflict with char $ac_func (); below.
46964 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46965 <limits.h> exists even on freestanding compilers. */
46967 #ifdef __STDC__
46968 # include <limits.h>
46969 #else
46970 # include <assert.h>
46971 #endif
46973 #undef $ac_func
46975 /* Override any gcc2 internal prototype to avoid an error. */
46976 #ifdef __cplusplus
46977 extern "C"
46979 #endif
46980 /* We use char because int might match the return type of a gcc2
46981 builtin and then its argument prototype would still apply. */
46982 char $ac_func ();
46983 /* The GNU C library defines this for functions which it implements
46984 to always fail with ENOSYS. Some functions are actually named
46985 something starting with __ and the normal name is an alias. */
46986 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46987 choke me
46988 #else
46989 char (*f) () = $ac_func;
46990 #endif
46991 #ifdef __cplusplus
46993 #endif
46996 main ()
46998 return f != $ac_func;
47000 return 0;
47002 _ACEOF
47003 rm -f conftest.$ac_objext conftest$ac_exeext
47004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47005 (eval $ac_link) 2>conftest.er1
47006 ac_status=$?
47007 grep -v '^ *+' conftest.er1 >conftest.err
47008 rm -f conftest.er1
47009 cat conftest.err >&5
47010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47011 (exit $ac_status); } &&
47012 { ac_try='test -z "$ac_c_werror_flag"
47013 || test ! -s conftest.err'
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); }; } &&
47019 { ac_try='test -s conftest$ac_exeext'
47020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47021 (eval $ac_try) 2>&5
47022 ac_status=$?
47023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47024 (exit $ac_status); }; }; then
47025 eval "$as_ac_var=yes"
47026 else
47027 echo "$as_me: failed program was:" >&5
47028 sed 's/^/| /' conftest.$ac_ext >&5
47030 eval "$as_ac_var=no"
47032 rm -f conftest.err conftest.$ac_objext \
47033 conftest$ac_exeext conftest.$ac_ext
47035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47036 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47037 if test `eval echo '${'$as_ac_var'}'` = yes; then
47038 cat >>confdefs.h <<_ACEOF
47039 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47040 _ACEOF
47043 done
47045 else
47047 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
47048 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
47049 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47050 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
47051 echo $ECHO_N "(cached) $ECHO_C" >&6
47052 else
47056 ac_ext=cc
47057 ac_cpp='$CXXCPP $CPPFLAGS'
47058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47062 cat >conftest.$ac_ext <<_ACEOF
47063 /* confdefs.h. */
47064 _ACEOF
47065 cat confdefs.h >>conftest.$ac_ext
47066 cat >>conftest.$ac_ext <<_ACEOF
47067 /* end confdefs.h. */
47068 #include <math.h>
47069 #ifdef HAVE_IEEEFP_H
47070 #include <ieeefp.h>
47071 #endif
47074 main ()
47076 _isnanf(0);
47078 return 0;
47080 _ACEOF
47081 rm -f conftest.$ac_objext
47082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47083 (eval $ac_compile) 2>conftest.er1
47084 ac_status=$?
47085 grep -v '^ *+' conftest.er1 >conftest.err
47086 rm -f conftest.er1
47087 cat conftest.err >&5
47088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47089 (exit $ac_status); } &&
47090 { ac_try='test -z "$ac_cxx_werror_flag"
47091 || test ! -s conftest.err'
47092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47093 (eval $ac_try) 2>&5
47094 ac_status=$?
47095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47096 (exit $ac_status); }; } &&
47097 { ac_try='test -s conftest.$ac_objext'
47098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47099 (eval $ac_try) 2>&5
47100 ac_status=$?
47101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47102 (exit $ac_status); }; }; then
47103 glibcxx_cv_func__isnanf_use=yes
47104 else
47105 echo "$as_me: failed program was:" >&5
47106 sed 's/^/| /' conftest.$ac_ext >&5
47108 glibcxx_cv_func__isnanf_use=no
47110 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47111 ac_ext=c
47112 ac_cpp='$CPP $CPPFLAGS'
47113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47121 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
47122 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
47124 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47126 for ac_func in _isnanf
47128 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47129 echo "$as_me:$LINENO: checking for $ac_func" >&5
47130 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47131 if eval "test \"\${$as_ac_var+set}\" = set"; then
47132 echo $ECHO_N "(cached) $ECHO_C" >&6
47133 else
47134 if test x$gcc_no_link = xyes; then
47135 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47136 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47137 { (exit 1); exit 1; }; }
47139 cat >conftest.$ac_ext <<_ACEOF
47140 /* confdefs.h. */
47141 _ACEOF
47142 cat confdefs.h >>conftest.$ac_ext
47143 cat >>conftest.$ac_ext <<_ACEOF
47144 /* end confdefs.h. */
47145 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47146 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47147 #define $ac_func innocuous_$ac_func
47149 /* System header to define __stub macros and hopefully few prototypes,
47150 which can conflict with char $ac_func (); below.
47151 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47152 <limits.h> exists even on freestanding compilers. */
47154 #ifdef __STDC__
47155 # include <limits.h>
47156 #else
47157 # include <assert.h>
47158 #endif
47160 #undef $ac_func
47162 /* Override any gcc2 internal prototype to avoid an error. */
47163 #ifdef __cplusplus
47164 extern "C"
47166 #endif
47167 /* We use char because int might match the return type of a gcc2
47168 builtin and then its argument prototype would still apply. */
47169 char $ac_func ();
47170 /* The GNU C library defines this for functions which it implements
47171 to always fail with ENOSYS. Some functions are actually named
47172 something starting with __ and the normal name is an alias. */
47173 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47174 choke me
47175 #else
47176 char (*f) () = $ac_func;
47177 #endif
47178 #ifdef __cplusplus
47180 #endif
47183 main ()
47185 return f != $ac_func;
47187 return 0;
47189 _ACEOF
47190 rm -f conftest.$ac_objext conftest$ac_exeext
47191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47192 (eval $ac_link) 2>conftest.er1
47193 ac_status=$?
47194 grep -v '^ *+' conftest.er1 >conftest.err
47195 rm -f conftest.er1
47196 cat conftest.err >&5
47197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47198 (exit $ac_status); } &&
47199 { ac_try='test -z "$ac_c_werror_flag"
47200 || test ! -s conftest.err'
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); }; } &&
47206 { ac_try='test -s conftest$ac_exeext'
47207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47208 (eval $ac_try) 2>&5
47209 ac_status=$?
47210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47211 (exit $ac_status); }; }; then
47212 eval "$as_ac_var=yes"
47213 else
47214 echo "$as_me: failed program was:" >&5
47215 sed 's/^/| /' conftest.$ac_ext >&5
47217 eval "$as_ac_var=no"
47219 rm -f conftest.err conftest.$ac_objext \
47220 conftest$ac_exeext conftest.$ac_ext
47222 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47223 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47224 if test `eval echo '${'$as_ac_var'}'` = yes; then
47225 cat >>confdefs.h <<_ACEOF
47226 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47227 _ACEOF
47230 done
47240 echo "$as_me:$LINENO: checking for isinff declaration" >&5
47241 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
47242 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47243 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
47244 echo $ECHO_N "(cached) $ECHO_C" >&6
47245 else
47249 ac_ext=cc
47250 ac_cpp='$CXXCPP $CPPFLAGS'
47251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47255 cat >conftest.$ac_ext <<_ACEOF
47256 /* confdefs.h. */
47257 _ACEOF
47258 cat confdefs.h >>conftest.$ac_ext
47259 cat >>conftest.$ac_ext <<_ACEOF
47260 /* end confdefs.h. */
47261 #include <math.h>
47262 #ifdef HAVE_IEEEFP_H
47263 #include <ieeefp.h>
47264 #endif
47267 main ()
47269 isinff(0);
47271 return 0;
47273 _ACEOF
47274 rm -f conftest.$ac_objext
47275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47276 (eval $ac_compile) 2>conftest.er1
47277 ac_status=$?
47278 grep -v '^ *+' conftest.er1 >conftest.err
47279 rm -f conftest.er1
47280 cat conftest.err >&5
47281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47282 (exit $ac_status); } &&
47283 { ac_try='test -z "$ac_cxx_werror_flag"
47284 || test ! -s conftest.err'
47285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47286 (eval $ac_try) 2>&5
47287 ac_status=$?
47288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47289 (exit $ac_status); }; } &&
47290 { ac_try='test -s conftest.$ac_objext'
47291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47292 (eval $ac_try) 2>&5
47293 ac_status=$?
47294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47295 (exit $ac_status); }; }; then
47296 glibcxx_cv_func_isinff_use=yes
47297 else
47298 echo "$as_me: failed program was:" >&5
47299 sed 's/^/| /' conftest.$ac_ext >&5
47301 glibcxx_cv_func_isinff_use=no
47303 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47304 ac_ext=c
47305 ac_cpp='$CPP $CPPFLAGS'
47306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47314 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
47315 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
47317 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47319 for ac_func in isinff
47321 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47322 echo "$as_me:$LINENO: checking for $ac_func" >&5
47323 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47324 if eval "test \"\${$as_ac_var+set}\" = set"; then
47325 echo $ECHO_N "(cached) $ECHO_C" >&6
47326 else
47327 if test x$gcc_no_link = xyes; then
47328 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47329 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47330 { (exit 1); exit 1; }; }
47332 cat >conftest.$ac_ext <<_ACEOF
47333 /* confdefs.h. */
47334 _ACEOF
47335 cat confdefs.h >>conftest.$ac_ext
47336 cat >>conftest.$ac_ext <<_ACEOF
47337 /* end confdefs.h. */
47338 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47339 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47340 #define $ac_func innocuous_$ac_func
47342 /* System header to define __stub macros and hopefully few prototypes,
47343 which can conflict with char $ac_func (); below.
47344 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47345 <limits.h> exists even on freestanding compilers. */
47347 #ifdef __STDC__
47348 # include <limits.h>
47349 #else
47350 # include <assert.h>
47351 #endif
47353 #undef $ac_func
47355 /* Override any gcc2 internal prototype to avoid an error. */
47356 #ifdef __cplusplus
47357 extern "C"
47359 #endif
47360 /* We use char because int might match the return type of a gcc2
47361 builtin and then its argument prototype would still apply. */
47362 char $ac_func ();
47363 /* The GNU C library defines this for functions which it implements
47364 to always fail with ENOSYS. Some functions are actually named
47365 something starting with __ and the normal name is an alias. */
47366 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47367 choke me
47368 #else
47369 char (*f) () = $ac_func;
47370 #endif
47371 #ifdef __cplusplus
47373 #endif
47376 main ()
47378 return f != $ac_func;
47380 return 0;
47382 _ACEOF
47383 rm -f conftest.$ac_objext conftest$ac_exeext
47384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47385 (eval $ac_link) 2>conftest.er1
47386 ac_status=$?
47387 grep -v '^ *+' conftest.er1 >conftest.err
47388 rm -f conftest.er1
47389 cat conftest.err >&5
47390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47391 (exit $ac_status); } &&
47392 { ac_try='test -z "$ac_c_werror_flag"
47393 || test ! -s conftest.err'
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); }; } &&
47399 { ac_try='test -s conftest$ac_exeext'
47400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47401 (eval $ac_try) 2>&5
47402 ac_status=$?
47403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47404 (exit $ac_status); }; }; then
47405 eval "$as_ac_var=yes"
47406 else
47407 echo "$as_me: failed program was:" >&5
47408 sed 's/^/| /' conftest.$ac_ext >&5
47410 eval "$as_ac_var=no"
47412 rm -f conftest.err conftest.$ac_objext \
47413 conftest$ac_exeext conftest.$ac_ext
47415 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47416 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47417 if test `eval echo '${'$as_ac_var'}'` = yes; then
47418 cat >>confdefs.h <<_ACEOF
47419 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47420 _ACEOF
47423 done
47425 else
47427 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
47428 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
47429 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
47430 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
47431 echo $ECHO_N "(cached) $ECHO_C" >&6
47432 else
47436 ac_ext=cc
47437 ac_cpp='$CXXCPP $CPPFLAGS'
47438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47442 cat >conftest.$ac_ext <<_ACEOF
47443 /* confdefs.h. */
47444 _ACEOF
47445 cat confdefs.h >>conftest.$ac_ext
47446 cat >>conftest.$ac_ext <<_ACEOF
47447 /* end confdefs.h. */
47448 #include <math.h>
47449 #ifdef HAVE_IEEEFP_H
47450 #include <ieeefp.h>
47451 #endif
47454 main ()
47456 _isinff(0);
47458 return 0;
47460 _ACEOF
47461 rm -f conftest.$ac_objext
47462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47463 (eval $ac_compile) 2>conftest.er1
47464 ac_status=$?
47465 grep -v '^ *+' conftest.er1 >conftest.err
47466 rm -f conftest.er1
47467 cat conftest.err >&5
47468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47469 (exit $ac_status); } &&
47470 { ac_try='test -z "$ac_cxx_werror_flag"
47471 || test ! -s conftest.err'
47472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47473 (eval $ac_try) 2>&5
47474 ac_status=$?
47475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47476 (exit $ac_status); }; } &&
47477 { ac_try='test -s conftest.$ac_objext'
47478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47479 (eval $ac_try) 2>&5
47480 ac_status=$?
47481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47482 (exit $ac_status); }; }; then
47483 glibcxx_cv_func__isinff_use=yes
47484 else
47485 echo "$as_me: failed program was:" >&5
47486 sed 's/^/| /' conftest.$ac_ext >&5
47488 glibcxx_cv_func__isinff_use=no
47490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47491 ac_ext=c
47492 ac_cpp='$CPP $CPPFLAGS'
47493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47501 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
47502 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
47504 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47506 for ac_func in _isinff
47508 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47509 echo "$as_me:$LINENO: checking for $ac_func" >&5
47510 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47511 if eval "test \"\${$as_ac_var+set}\" = set"; then
47512 echo $ECHO_N "(cached) $ECHO_C" >&6
47513 else
47514 if test x$gcc_no_link = xyes; then
47515 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47516 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47517 { (exit 1); exit 1; }; }
47519 cat >conftest.$ac_ext <<_ACEOF
47520 /* confdefs.h. */
47521 _ACEOF
47522 cat confdefs.h >>conftest.$ac_ext
47523 cat >>conftest.$ac_ext <<_ACEOF
47524 /* end confdefs.h. */
47525 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47526 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47527 #define $ac_func innocuous_$ac_func
47529 /* System header to define __stub macros and hopefully few prototypes,
47530 which can conflict with char $ac_func (); below.
47531 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47532 <limits.h> exists even on freestanding compilers. */
47534 #ifdef __STDC__
47535 # include <limits.h>
47536 #else
47537 # include <assert.h>
47538 #endif
47540 #undef $ac_func
47542 /* Override any gcc2 internal prototype to avoid an error. */
47543 #ifdef __cplusplus
47544 extern "C"
47546 #endif
47547 /* We use char because int might match the return type of a gcc2
47548 builtin and then its argument prototype would still apply. */
47549 char $ac_func ();
47550 /* The GNU C library defines this for functions which it implements
47551 to always fail with ENOSYS. Some functions are actually named
47552 something starting with __ and the normal name is an alias. */
47553 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47554 choke me
47555 #else
47556 char (*f) () = $ac_func;
47557 #endif
47558 #ifdef __cplusplus
47560 #endif
47563 main ()
47565 return f != $ac_func;
47567 return 0;
47569 _ACEOF
47570 rm -f conftest.$ac_objext conftest$ac_exeext
47571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47572 (eval $ac_link) 2>conftest.er1
47573 ac_status=$?
47574 grep -v '^ *+' conftest.er1 >conftest.err
47575 rm -f conftest.er1
47576 cat conftest.err >&5
47577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47578 (exit $ac_status); } &&
47579 { ac_try='test -z "$ac_c_werror_flag"
47580 || test ! -s conftest.err'
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); }; } &&
47586 { ac_try='test -s conftest$ac_exeext'
47587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47588 (eval $ac_try) 2>&5
47589 ac_status=$?
47590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47591 (exit $ac_status); }; }; then
47592 eval "$as_ac_var=yes"
47593 else
47594 echo "$as_me: failed program was:" >&5
47595 sed 's/^/| /' conftest.$ac_ext >&5
47597 eval "$as_ac_var=no"
47599 rm -f conftest.err conftest.$ac_objext \
47600 conftest$ac_exeext conftest.$ac_ext
47602 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47603 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47604 if test `eval echo '${'$as_ac_var'}'` = yes; then
47605 cat >>confdefs.h <<_ACEOF
47606 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47607 _ACEOF
47610 done
47620 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
47621 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
47622 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
47623 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
47624 echo $ECHO_N "(cached) $ECHO_C" >&6
47625 else
47629 ac_ext=cc
47630 ac_cpp='$CXXCPP $CPPFLAGS'
47631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47635 cat >conftest.$ac_ext <<_ACEOF
47636 /* confdefs.h. */
47637 _ACEOF
47638 cat confdefs.h >>conftest.$ac_ext
47639 cat >>conftest.$ac_ext <<_ACEOF
47640 /* end confdefs.h. */
47641 #include <math.h>
47643 main ()
47645 atan2f(0, 0);
47647 return 0;
47649 _ACEOF
47650 rm -f conftest.$ac_objext
47651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47652 (eval $ac_compile) 2>conftest.er1
47653 ac_status=$?
47654 grep -v '^ *+' conftest.er1 >conftest.err
47655 rm -f conftest.er1
47656 cat conftest.err >&5
47657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47658 (exit $ac_status); } &&
47659 { ac_try='test -z "$ac_cxx_werror_flag"
47660 || test ! -s conftest.err'
47661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47662 (eval $ac_try) 2>&5
47663 ac_status=$?
47664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47665 (exit $ac_status); }; } &&
47666 { ac_try='test -s conftest.$ac_objext'
47667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47668 (eval $ac_try) 2>&5
47669 ac_status=$?
47670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47671 (exit $ac_status); }; }; then
47672 glibcxx_cv_func_atan2f_use=yes
47673 else
47674 echo "$as_me: failed program was:" >&5
47675 sed 's/^/| /' conftest.$ac_ext >&5
47677 glibcxx_cv_func_atan2f_use=no
47679 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47680 ac_ext=c
47681 ac_cpp='$CPP $CPPFLAGS'
47682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47690 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
47691 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
47693 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
47695 for ac_func in atan2f
47697 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47698 echo "$as_me:$LINENO: checking for $ac_func" >&5
47699 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47700 if eval "test \"\${$as_ac_var+set}\" = set"; then
47701 echo $ECHO_N "(cached) $ECHO_C" >&6
47702 else
47703 if test x$gcc_no_link = xyes; then
47704 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47705 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47706 { (exit 1); exit 1; }; }
47708 cat >conftest.$ac_ext <<_ACEOF
47709 /* confdefs.h. */
47710 _ACEOF
47711 cat confdefs.h >>conftest.$ac_ext
47712 cat >>conftest.$ac_ext <<_ACEOF
47713 /* end confdefs.h. */
47714 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47715 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47716 #define $ac_func innocuous_$ac_func
47718 /* System header to define __stub macros and hopefully few prototypes,
47719 which can conflict with char $ac_func (); below.
47720 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47721 <limits.h> exists even on freestanding compilers. */
47723 #ifdef __STDC__
47724 # include <limits.h>
47725 #else
47726 # include <assert.h>
47727 #endif
47729 #undef $ac_func
47731 /* Override any gcc2 internal prototype to avoid an error. */
47732 #ifdef __cplusplus
47733 extern "C"
47735 #endif
47736 /* We use char because int might match the return type of a gcc2
47737 builtin and then its argument prototype would still apply. */
47738 char $ac_func ();
47739 /* The GNU C library defines this for functions which it implements
47740 to always fail with ENOSYS. Some functions are actually named
47741 something starting with __ and the normal name is an alias. */
47742 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47743 choke me
47744 #else
47745 char (*f) () = $ac_func;
47746 #endif
47747 #ifdef __cplusplus
47749 #endif
47752 main ()
47754 return f != $ac_func;
47756 return 0;
47758 _ACEOF
47759 rm -f conftest.$ac_objext conftest$ac_exeext
47760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47761 (eval $ac_link) 2>conftest.er1
47762 ac_status=$?
47763 grep -v '^ *+' conftest.er1 >conftest.err
47764 rm -f conftest.er1
47765 cat conftest.err >&5
47766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47767 (exit $ac_status); } &&
47768 { ac_try='test -z "$ac_c_werror_flag"
47769 || test ! -s conftest.err'
47770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47771 (eval $ac_try) 2>&5
47772 ac_status=$?
47773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47774 (exit $ac_status); }; } &&
47775 { ac_try='test -s conftest$ac_exeext'
47776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47777 (eval $ac_try) 2>&5
47778 ac_status=$?
47779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47780 (exit $ac_status); }; }; then
47781 eval "$as_ac_var=yes"
47782 else
47783 echo "$as_me: failed program was:" >&5
47784 sed 's/^/| /' conftest.$ac_ext >&5
47786 eval "$as_ac_var=no"
47788 rm -f conftest.err conftest.$ac_objext \
47789 conftest$ac_exeext conftest.$ac_ext
47791 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47792 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47793 if test `eval echo '${'$as_ac_var'}'` = yes; then
47794 cat >>confdefs.h <<_ACEOF
47795 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47796 _ACEOF
47799 done
47801 else
47803 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
47804 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
47805 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
47806 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
47807 echo $ECHO_N "(cached) $ECHO_C" >&6
47808 else
47812 ac_ext=cc
47813 ac_cpp='$CXXCPP $CPPFLAGS'
47814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47818 cat >conftest.$ac_ext <<_ACEOF
47819 /* confdefs.h. */
47820 _ACEOF
47821 cat confdefs.h >>conftest.$ac_ext
47822 cat >>conftest.$ac_ext <<_ACEOF
47823 /* end confdefs.h. */
47824 #include <math.h>
47826 main ()
47828 _atan2f(0, 0);
47830 return 0;
47832 _ACEOF
47833 rm -f conftest.$ac_objext
47834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47835 (eval $ac_compile) 2>conftest.er1
47836 ac_status=$?
47837 grep -v '^ *+' conftest.er1 >conftest.err
47838 rm -f conftest.er1
47839 cat conftest.err >&5
47840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47841 (exit $ac_status); } &&
47842 { ac_try='test -z "$ac_cxx_werror_flag"
47843 || test ! -s conftest.err'
47844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47845 (eval $ac_try) 2>&5
47846 ac_status=$?
47847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47848 (exit $ac_status); }; } &&
47849 { ac_try='test -s conftest.$ac_objext'
47850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47851 (eval $ac_try) 2>&5
47852 ac_status=$?
47853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47854 (exit $ac_status); }; }; then
47855 glibcxx_cv_func__atan2f_use=yes
47856 else
47857 echo "$as_me: failed program was:" >&5
47858 sed 's/^/| /' conftest.$ac_ext >&5
47860 glibcxx_cv_func__atan2f_use=no
47862 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47863 ac_ext=c
47864 ac_cpp='$CPP $CPPFLAGS'
47865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47873 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
47874 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
47876 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
47878 for ac_func in _atan2f
47880 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47881 echo "$as_me:$LINENO: checking for $ac_func" >&5
47882 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47883 if eval "test \"\${$as_ac_var+set}\" = set"; then
47884 echo $ECHO_N "(cached) $ECHO_C" >&6
47885 else
47886 if test x$gcc_no_link = xyes; then
47887 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47888 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47889 { (exit 1); exit 1; }; }
47891 cat >conftest.$ac_ext <<_ACEOF
47892 /* confdefs.h. */
47893 _ACEOF
47894 cat confdefs.h >>conftest.$ac_ext
47895 cat >>conftest.$ac_ext <<_ACEOF
47896 /* end confdefs.h. */
47897 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47898 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47899 #define $ac_func innocuous_$ac_func
47901 /* System header to define __stub macros and hopefully few prototypes,
47902 which can conflict with char $ac_func (); below.
47903 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47904 <limits.h> exists even on freestanding compilers. */
47906 #ifdef __STDC__
47907 # include <limits.h>
47908 #else
47909 # include <assert.h>
47910 #endif
47912 #undef $ac_func
47914 /* Override any gcc2 internal prototype to avoid an error. */
47915 #ifdef __cplusplus
47916 extern "C"
47918 #endif
47919 /* We use char because int might match the return type of a gcc2
47920 builtin and then its argument prototype would still apply. */
47921 char $ac_func ();
47922 /* The GNU C library defines this for functions which it implements
47923 to always fail with ENOSYS. Some functions are actually named
47924 something starting with __ and the normal name is an alias. */
47925 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47926 choke me
47927 #else
47928 char (*f) () = $ac_func;
47929 #endif
47930 #ifdef __cplusplus
47932 #endif
47935 main ()
47937 return f != $ac_func;
47939 return 0;
47941 _ACEOF
47942 rm -f conftest.$ac_objext conftest$ac_exeext
47943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47944 (eval $ac_link) 2>conftest.er1
47945 ac_status=$?
47946 grep -v '^ *+' conftest.er1 >conftest.err
47947 rm -f conftest.er1
47948 cat conftest.err >&5
47949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47950 (exit $ac_status); } &&
47951 { ac_try='test -z "$ac_c_werror_flag"
47952 || test ! -s conftest.err'
47953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47954 (eval $ac_try) 2>&5
47955 ac_status=$?
47956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47957 (exit $ac_status); }; } &&
47958 { ac_try='test -s conftest$ac_exeext'
47959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47960 (eval $ac_try) 2>&5
47961 ac_status=$?
47962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47963 (exit $ac_status); }; }; then
47964 eval "$as_ac_var=yes"
47965 else
47966 echo "$as_me: failed program was:" >&5
47967 sed 's/^/| /' conftest.$ac_ext >&5
47969 eval "$as_ac_var=no"
47971 rm -f conftest.err conftest.$ac_objext \
47972 conftest$ac_exeext conftest.$ac_ext
47974 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47975 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47976 if test `eval echo '${'$as_ac_var'}'` = yes; then
47977 cat >>confdefs.h <<_ACEOF
47978 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47979 _ACEOF
47982 done
47992 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
47993 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
47994 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
47995 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
47996 echo $ECHO_N "(cached) $ECHO_C" >&6
47997 else
48001 ac_ext=cc
48002 ac_cpp='$CXXCPP $CPPFLAGS'
48003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48007 cat >conftest.$ac_ext <<_ACEOF
48008 /* confdefs.h. */
48009 _ACEOF
48010 cat confdefs.h >>conftest.$ac_ext
48011 cat >>conftest.$ac_ext <<_ACEOF
48012 /* end confdefs.h. */
48013 #include <math.h>
48014 #ifdef HAVE_IEEEFP_H
48015 #include <ieeefp.h>
48016 #endif
48019 main ()
48021 fabsf(0);
48023 return 0;
48025 _ACEOF
48026 rm -f conftest.$ac_objext
48027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48028 (eval $ac_compile) 2>conftest.er1
48029 ac_status=$?
48030 grep -v '^ *+' conftest.er1 >conftest.err
48031 rm -f conftest.er1
48032 cat conftest.err >&5
48033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48034 (exit $ac_status); } &&
48035 { ac_try='test -z "$ac_cxx_werror_flag"
48036 || test ! -s conftest.err'
48037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48038 (eval $ac_try) 2>&5
48039 ac_status=$?
48040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48041 (exit $ac_status); }; } &&
48042 { ac_try='test -s conftest.$ac_objext'
48043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48044 (eval $ac_try) 2>&5
48045 ac_status=$?
48046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48047 (exit $ac_status); }; }; then
48048 glibcxx_cv_func_fabsf_use=yes
48049 else
48050 echo "$as_me: failed program was:" >&5
48051 sed 's/^/| /' conftest.$ac_ext >&5
48053 glibcxx_cv_func_fabsf_use=no
48055 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48056 ac_ext=c
48057 ac_cpp='$CPP $CPPFLAGS'
48058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48066 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
48067 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
48069 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
48071 for ac_func in fabsf
48073 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48074 echo "$as_me:$LINENO: checking for $ac_func" >&5
48075 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48076 if eval "test \"\${$as_ac_var+set}\" = set"; then
48077 echo $ECHO_N "(cached) $ECHO_C" >&6
48078 else
48079 if test x$gcc_no_link = xyes; then
48080 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48081 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48082 { (exit 1); exit 1; }; }
48084 cat >conftest.$ac_ext <<_ACEOF
48085 /* confdefs.h. */
48086 _ACEOF
48087 cat confdefs.h >>conftest.$ac_ext
48088 cat >>conftest.$ac_ext <<_ACEOF
48089 /* end confdefs.h. */
48090 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48091 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48092 #define $ac_func innocuous_$ac_func
48094 /* System header to define __stub macros and hopefully few prototypes,
48095 which can conflict with char $ac_func (); below.
48096 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48097 <limits.h> exists even on freestanding compilers. */
48099 #ifdef __STDC__
48100 # include <limits.h>
48101 #else
48102 # include <assert.h>
48103 #endif
48105 #undef $ac_func
48107 /* Override any gcc2 internal prototype to avoid an error. */
48108 #ifdef __cplusplus
48109 extern "C"
48111 #endif
48112 /* We use char because int might match the return type of a gcc2
48113 builtin and then its argument prototype would still apply. */
48114 char $ac_func ();
48115 /* The GNU C library defines this for functions which it implements
48116 to always fail with ENOSYS. Some functions are actually named
48117 something starting with __ and the normal name is an alias. */
48118 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48119 choke me
48120 #else
48121 char (*f) () = $ac_func;
48122 #endif
48123 #ifdef __cplusplus
48125 #endif
48128 main ()
48130 return f != $ac_func;
48132 return 0;
48134 _ACEOF
48135 rm -f conftest.$ac_objext conftest$ac_exeext
48136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48137 (eval $ac_link) 2>conftest.er1
48138 ac_status=$?
48139 grep -v '^ *+' conftest.er1 >conftest.err
48140 rm -f conftest.er1
48141 cat conftest.err >&5
48142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48143 (exit $ac_status); } &&
48144 { ac_try='test -z "$ac_c_werror_flag"
48145 || test ! -s conftest.err'
48146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48147 (eval $ac_try) 2>&5
48148 ac_status=$?
48149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48150 (exit $ac_status); }; } &&
48151 { ac_try='test -s conftest$ac_exeext'
48152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48153 (eval $ac_try) 2>&5
48154 ac_status=$?
48155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48156 (exit $ac_status); }; }; then
48157 eval "$as_ac_var=yes"
48158 else
48159 echo "$as_me: failed program was:" >&5
48160 sed 's/^/| /' conftest.$ac_ext >&5
48162 eval "$as_ac_var=no"
48164 rm -f conftest.err conftest.$ac_objext \
48165 conftest$ac_exeext conftest.$ac_ext
48167 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48168 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48169 if test `eval echo '${'$as_ac_var'}'` = yes; then
48170 cat >>confdefs.h <<_ACEOF
48171 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48172 _ACEOF
48175 done
48177 else
48179 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
48180 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
48181 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
48182 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
48183 echo $ECHO_N "(cached) $ECHO_C" >&6
48184 else
48188 ac_ext=cc
48189 ac_cpp='$CXXCPP $CPPFLAGS'
48190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48194 cat >conftest.$ac_ext <<_ACEOF
48195 /* confdefs.h. */
48196 _ACEOF
48197 cat confdefs.h >>conftest.$ac_ext
48198 cat >>conftest.$ac_ext <<_ACEOF
48199 /* end confdefs.h. */
48200 #include <math.h>
48201 #ifdef HAVE_IEEEFP_H
48202 #include <ieeefp.h>
48203 #endif
48206 main ()
48208 _fabsf(0);
48210 return 0;
48212 _ACEOF
48213 rm -f conftest.$ac_objext
48214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48215 (eval $ac_compile) 2>conftest.er1
48216 ac_status=$?
48217 grep -v '^ *+' conftest.er1 >conftest.err
48218 rm -f conftest.er1
48219 cat conftest.err >&5
48220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48221 (exit $ac_status); } &&
48222 { ac_try='test -z "$ac_cxx_werror_flag"
48223 || test ! -s conftest.err'
48224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48225 (eval $ac_try) 2>&5
48226 ac_status=$?
48227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48228 (exit $ac_status); }; } &&
48229 { ac_try='test -s conftest.$ac_objext'
48230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48231 (eval $ac_try) 2>&5
48232 ac_status=$?
48233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48234 (exit $ac_status); }; }; then
48235 glibcxx_cv_func__fabsf_use=yes
48236 else
48237 echo "$as_me: failed program was:" >&5
48238 sed 's/^/| /' conftest.$ac_ext >&5
48240 glibcxx_cv_func__fabsf_use=no
48242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48243 ac_ext=c
48244 ac_cpp='$CPP $CPPFLAGS'
48245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48253 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
48254 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
48256 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
48258 for ac_func in _fabsf
48260 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48261 echo "$as_me:$LINENO: checking for $ac_func" >&5
48262 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48263 if eval "test \"\${$as_ac_var+set}\" = set"; then
48264 echo $ECHO_N "(cached) $ECHO_C" >&6
48265 else
48266 if test x$gcc_no_link = xyes; then
48267 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48268 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48269 { (exit 1); exit 1; }; }
48271 cat >conftest.$ac_ext <<_ACEOF
48272 /* confdefs.h. */
48273 _ACEOF
48274 cat confdefs.h >>conftest.$ac_ext
48275 cat >>conftest.$ac_ext <<_ACEOF
48276 /* end confdefs.h. */
48277 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48278 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48279 #define $ac_func innocuous_$ac_func
48281 /* System header to define __stub macros and hopefully few prototypes,
48282 which can conflict with char $ac_func (); below.
48283 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48284 <limits.h> exists even on freestanding compilers. */
48286 #ifdef __STDC__
48287 # include <limits.h>
48288 #else
48289 # include <assert.h>
48290 #endif
48292 #undef $ac_func
48294 /* Override any gcc2 internal prototype to avoid an error. */
48295 #ifdef __cplusplus
48296 extern "C"
48298 #endif
48299 /* We use char because int might match the return type of a gcc2
48300 builtin and then its argument prototype would still apply. */
48301 char $ac_func ();
48302 /* The GNU C library defines this for functions which it implements
48303 to always fail with ENOSYS. Some functions are actually named
48304 something starting with __ and the normal name is an alias. */
48305 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48306 choke me
48307 #else
48308 char (*f) () = $ac_func;
48309 #endif
48310 #ifdef __cplusplus
48312 #endif
48315 main ()
48317 return f != $ac_func;
48319 return 0;
48321 _ACEOF
48322 rm -f conftest.$ac_objext conftest$ac_exeext
48323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48324 (eval $ac_link) 2>conftest.er1
48325 ac_status=$?
48326 grep -v '^ *+' conftest.er1 >conftest.err
48327 rm -f conftest.er1
48328 cat conftest.err >&5
48329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48330 (exit $ac_status); } &&
48331 { ac_try='test -z "$ac_c_werror_flag"
48332 || test ! -s conftest.err'
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); }; } &&
48338 { ac_try='test -s conftest$ac_exeext'
48339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48340 (eval $ac_try) 2>&5
48341 ac_status=$?
48342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48343 (exit $ac_status); }; }; then
48344 eval "$as_ac_var=yes"
48345 else
48346 echo "$as_me: failed program was:" >&5
48347 sed 's/^/| /' conftest.$ac_ext >&5
48349 eval "$as_ac_var=no"
48351 rm -f conftest.err conftest.$ac_objext \
48352 conftest$ac_exeext conftest.$ac_ext
48354 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48355 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48356 if test `eval echo '${'$as_ac_var'}'` = yes; then
48357 cat >>confdefs.h <<_ACEOF
48358 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48359 _ACEOF
48362 done
48372 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
48373 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
48374 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
48375 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
48376 echo $ECHO_N "(cached) $ECHO_C" >&6
48377 else
48381 ac_ext=cc
48382 ac_cpp='$CXXCPP $CPPFLAGS'
48383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48387 cat >conftest.$ac_ext <<_ACEOF
48388 /* confdefs.h. */
48389 _ACEOF
48390 cat confdefs.h >>conftest.$ac_ext
48391 cat >>conftest.$ac_ext <<_ACEOF
48392 /* end confdefs.h. */
48393 #include <math.h>
48395 main ()
48397 fmodf(0, 0);
48399 return 0;
48401 _ACEOF
48402 rm -f conftest.$ac_objext
48403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48404 (eval $ac_compile) 2>conftest.er1
48405 ac_status=$?
48406 grep -v '^ *+' conftest.er1 >conftest.err
48407 rm -f conftest.er1
48408 cat conftest.err >&5
48409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48410 (exit $ac_status); } &&
48411 { ac_try='test -z "$ac_cxx_werror_flag"
48412 || test ! -s conftest.err'
48413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48414 (eval $ac_try) 2>&5
48415 ac_status=$?
48416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48417 (exit $ac_status); }; } &&
48418 { ac_try='test -s conftest.$ac_objext'
48419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48420 (eval $ac_try) 2>&5
48421 ac_status=$?
48422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48423 (exit $ac_status); }; }; then
48424 glibcxx_cv_func_fmodf_use=yes
48425 else
48426 echo "$as_me: failed program was:" >&5
48427 sed 's/^/| /' conftest.$ac_ext >&5
48429 glibcxx_cv_func_fmodf_use=no
48431 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48432 ac_ext=c
48433 ac_cpp='$CPP $CPPFLAGS'
48434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48442 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
48443 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
48445 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
48447 for ac_func in fmodf
48449 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48450 echo "$as_me:$LINENO: checking for $ac_func" >&5
48451 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48452 if eval "test \"\${$as_ac_var+set}\" = set"; then
48453 echo $ECHO_N "(cached) $ECHO_C" >&6
48454 else
48455 if test x$gcc_no_link = xyes; then
48456 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48457 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48458 { (exit 1); exit 1; }; }
48460 cat >conftest.$ac_ext <<_ACEOF
48461 /* confdefs.h. */
48462 _ACEOF
48463 cat confdefs.h >>conftest.$ac_ext
48464 cat >>conftest.$ac_ext <<_ACEOF
48465 /* end confdefs.h. */
48466 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48467 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48468 #define $ac_func innocuous_$ac_func
48470 /* System header to define __stub macros and hopefully few prototypes,
48471 which can conflict with char $ac_func (); below.
48472 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48473 <limits.h> exists even on freestanding compilers. */
48475 #ifdef __STDC__
48476 # include <limits.h>
48477 #else
48478 # include <assert.h>
48479 #endif
48481 #undef $ac_func
48483 /* Override any gcc2 internal prototype to avoid an error. */
48484 #ifdef __cplusplus
48485 extern "C"
48487 #endif
48488 /* We use char because int might match the return type of a gcc2
48489 builtin and then its argument prototype would still apply. */
48490 char $ac_func ();
48491 /* The GNU C library defines this for functions which it implements
48492 to always fail with ENOSYS. Some functions are actually named
48493 something starting with __ and the normal name is an alias. */
48494 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48495 choke me
48496 #else
48497 char (*f) () = $ac_func;
48498 #endif
48499 #ifdef __cplusplus
48501 #endif
48504 main ()
48506 return f != $ac_func;
48508 return 0;
48510 _ACEOF
48511 rm -f conftest.$ac_objext conftest$ac_exeext
48512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48513 (eval $ac_link) 2>conftest.er1
48514 ac_status=$?
48515 grep -v '^ *+' conftest.er1 >conftest.err
48516 rm -f conftest.er1
48517 cat conftest.err >&5
48518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48519 (exit $ac_status); } &&
48520 { ac_try='test -z "$ac_c_werror_flag"
48521 || test ! -s conftest.err'
48522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48523 (eval $ac_try) 2>&5
48524 ac_status=$?
48525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48526 (exit $ac_status); }; } &&
48527 { ac_try='test -s conftest$ac_exeext'
48528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48529 (eval $ac_try) 2>&5
48530 ac_status=$?
48531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48532 (exit $ac_status); }; }; then
48533 eval "$as_ac_var=yes"
48534 else
48535 echo "$as_me: failed program was:" >&5
48536 sed 's/^/| /' conftest.$ac_ext >&5
48538 eval "$as_ac_var=no"
48540 rm -f conftest.err conftest.$ac_objext \
48541 conftest$ac_exeext conftest.$ac_ext
48543 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48544 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48545 if test `eval echo '${'$as_ac_var'}'` = yes; then
48546 cat >>confdefs.h <<_ACEOF
48547 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48548 _ACEOF
48551 done
48553 else
48555 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
48556 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
48557 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
48558 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
48559 echo $ECHO_N "(cached) $ECHO_C" >&6
48560 else
48564 ac_ext=cc
48565 ac_cpp='$CXXCPP $CPPFLAGS'
48566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48570 cat >conftest.$ac_ext <<_ACEOF
48571 /* confdefs.h. */
48572 _ACEOF
48573 cat confdefs.h >>conftest.$ac_ext
48574 cat >>conftest.$ac_ext <<_ACEOF
48575 /* end confdefs.h. */
48576 #include <math.h>
48578 main ()
48580 _fmodf(0, 0);
48582 return 0;
48584 _ACEOF
48585 rm -f conftest.$ac_objext
48586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48587 (eval $ac_compile) 2>conftest.er1
48588 ac_status=$?
48589 grep -v '^ *+' conftest.er1 >conftest.err
48590 rm -f conftest.er1
48591 cat conftest.err >&5
48592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48593 (exit $ac_status); } &&
48594 { ac_try='test -z "$ac_cxx_werror_flag"
48595 || test ! -s conftest.err'
48596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48597 (eval $ac_try) 2>&5
48598 ac_status=$?
48599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48600 (exit $ac_status); }; } &&
48601 { ac_try='test -s conftest.$ac_objext'
48602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48603 (eval $ac_try) 2>&5
48604 ac_status=$?
48605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48606 (exit $ac_status); }; }; then
48607 glibcxx_cv_func__fmodf_use=yes
48608 else
48609 echo "$as_me: failed program was:" >&5
48610 sed 's/^/| /' conftest.$ac_ext >&5
48612 glibcxx_cv_func__fmodf_use=no
48614 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48615 ac_ext=c
48616 ac_cpp='$CPP $CPPFLAGS'
48617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48625 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
48626 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
48628 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
48630 for ac_func in _fmodf
48632 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48633 echo "$as_me:$LINENO: checking for $ac_func" >&5
48634 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48635 if eval "test \"\${$as_ac_var+set}\" = set"; then
48636 echo $ECHO_N "(cached) $ECHO_C" >&6
48637 else
48638 if test x$gcc_no_link = xyes; then
48639 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48640 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48641 { (exit 1); exit 1; }; }
48643 cat >conftest.$ac_ext <<_ACEOF
48644 /* confdefs.h. */
48645 _ACEOF
48646 cat confdefs.h >>conftest.$ac_ext
48647 cat >>conftest.$ac_ext <<_ACEOF
48648 /* end confdefs.h. */
48649 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48650 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48651 #define $ac_func innocuous_$ac_func
48653 /* System header to define __stub macros and hopefully few prototypes,
48654 which can conflict with char $ac_func (); below.
48655 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48656 <limits.h> exists even on freestanding compilers. */
48658 #ifdef __STDC__
48659 # include <limits.h>
48660 #else
48661 # include <assert.h>
48662 #endif
48664 #undef $ac_func
48666 /* Override any gcc2 internal prototype to avoid an error. */
48667 #ifdef __cplusplus
48668 extern "C"
48670 #endif
48671 /* We use char because int might match the return type of a gcc2
48672 builtin and then its argument prototype would still apply. */
48673 char $ac_func ();
48674 /* The GNU C library defines this for functions which it implements
48675 to always fail with ENOSYS. Some functions are actually named
48676 something starting with __ and the normal name is an alias. */
48677 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48678 choke me
48679 #else
48680 char (*f) () = $ac_func;
48681 #endif
48682 #ifdef __cplusplus
48684 #endif
48687 main ()
48689 return f != $ac_func;
48691 return 0;
48693 _ACEOF
48694 rm -f conftest.$ac_objext conftest$ac_exeext
48695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48696 (eval $ac_link) 2>conftest.er1
48697 ac_status=$?
48698 grep -v '^ *+' conftest.er1 >conftest.err
48699 rm -f conftest.er1
48700 cat conftest.err >&5
48701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48702 (exit $ac_status); } &&
48703 { ac_try='test -z "$ac_c_werror_flag"
48704 || test ! -s conftest.err'
48705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48706 (eval $ac_try) 2>&5
48707 ac_status=$?
48708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48709 (exit $ac_status); }; } &&
48710 { ac_try='test -s conftest$ac_exeext'
48711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48712 (eval $ac_try) 2>&5
48713 ac_status=$?
48714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48715 (exit $ac_status); }; }; then
48716 eval "$as_ac_var=yes"
48717 else
48718 echo "$as_me: failed program was:" >&5
48719 sed 's/^/| /' conftest.$ac_ext >&5
48721 eval "$as_ac_var=no"
48723 rm -f conftest.err conftest.$ac_objext \
48724 conftest$ac_exeext conftest.$ac_ext
48726 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48727 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48728 if test `eval echo '${'$as_ac_var'}'` = yes; then
48729 cat >>confdefs.h <<_ACEOF
48730 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48731 _ACEOF
48734 done
48744 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
48745 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
48746 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
48747 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
48748 echo $ECHO_N "(cached) $ECHO_C" >&6
48749 else
48753 ac_ext=cc
48754 ac_cpp='$CXXCPP $CPPFLAGS'
48755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48759 cat >conftest.$ac_ext <<_ACEOF
48760 /* confdefs.h. */
48761 _ACEOF
48762 cat confdefs.h >>conftest.$ac_ext
48763 cat >>conftest.$ac_ext <<_ACEOF
48764 /* end confdefs.h. */
48765 #include <math.h>
48767 main ()
48769 frexpf(0, 0);
48771 return 0;
48773 _ACEOF
48774 rm -f conftest.$ac_objext
48775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48776 (eval $ac_compile) 2>conftest.er1
48777 ac_status=$?
48778 grep -v '^ *+' conftest.er1 >conftest.err
48779 rm -f conftest.er1
48780 cat conftest.err >&5
48781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48782 (exit $ac_status); } &&
48783 { ac_try='test -z "$ac_cxx_werror_flag"
48784 || test ! -s conftest.err'
48785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48786 (eval $ac_try) 2>&5
48787 ac_status=$?
48788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48789 (exit $ac_status); }; } &&
48790 { ac_try='test -s conftest.$ac_objext'
48791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48792 (eval $ac_try) 2>&5
48793 ac_status=$?
48794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48795 (exit $ac_status); }; }; then
48796 glibcxx_cv_func_frexpf_use=yes
48797 else
48798 echo "$as_me: failed program was:" >&5
48799 sed 's/^/| /' conftest.$ac_ext >&5
48801 glibcxx_cv_func_frexpf_use=no
48803 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48804 ac_ext=c
48805 ac_cpp='$CPP $CPPFLAGS'
48806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48814 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
48815 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
48817 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
48819 for ac_func in frexpf
48821 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48822 echo "$as_me:$LINENO: checking for $ac_func" >&5
48823 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48824 if eval "test \"\${$as_ac_var+set}\" = set"; then
48825 echo $ECHO_N "(cached) $ECHO_C" >&6
48826 else
48827 if test x$gcc_no_link = xyes; then
48828 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48829 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48830 { (exit 1); exit 1; }; }
48832 cat >conftest.$ac_ext <<_ACEOF
48833 /* confdefs.h. */
48834 _ACEOF
48835 cat confdefs.h >>conftest.$ac_ext
48836 cat >>conftest.$ac_ext <<_ACEOF
48837 /* end confdefs.h. */
48838 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48839 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48840 #define $ac_func innocuous_$ac_func
48842 /* System header to define __stub macros and hopefully few prototypes,
48843 which can conflict with char $ac_func (); below.
48844 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48845 <limits.h> exists even on freestanding compilers. */
48847 #ifdef __STDC__
48848 # include <limits.h>
48849 #else
48850 # include <assert.h>
48851 #endif
48853 #undef $ac_func
48855 /* Override any gcc2 internal prototype to avoid an error. */
48856 #ifdef __cplusplus
48857 extern "C"
48859 #endif
48860 /* We use char because int might match the return type of a gcc2
48861 builtin and then its argument prototype would still apply. */
48862 char $ac_func ();
48863 /* The GNU C library defines this for functions which it implements
48864 to always fail with ENOSYS. Some functions are actually named
48865 something starting with __ and the normal name is an alias. */
48866 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48867 choke me
48868 #else
48869 char (*f) () = $ac_func;
48870 #endif
48871 #ifdef __cplusplus
48873 #endif
48876 main ()
48878 return f != $ac_func;
48880 return 0;
48882 _ACEOF
48883 rm -f conftest.$ac_objext conftest$ac_exeext
48884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48885 (eval $ac_link) 2>conftest.er1
48886 ac_status=$?
48887 grep -v '^ *+' conftest.er1 >conftest.err
48888 rm -f conftest.er1
48889 cat conftest.err >&5
48890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48891 (exit $ac_status); } &&
48892 { ac_try='test -z "$ac_c_werror_flag"
48893 || test ! -s conftest.err'
48894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48895 (eval $ac_try) 2>&5
48896 ac_status=$?
48897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48898 (exit $ac_status); }; } &&
48899 { ac_try='test -s conftest$ac_exeext'
48900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48901 (eval $ac_try) 2>&5
48902 ac_status=$?
48903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48904 (exit $ac_status); }; }; then
48905 eval "$as_ac_var=yes"
48906 else
48907 echo "$as_me: failed program was:" >&5
48908 sed 's/^/| /' conftest.$ac_ext >&5
48910 eval "$as_ac_var=no"
48912 rm -f conftest.err conftest.$ac_objext \
48913 conftest$ac_exeext conftest.$ac_ext
48915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48916 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48917 if test `eval echo '${'$as_ac_var'}'` = yes; then
48918 cat >>confdefs.h <<_ACEOF
48919 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48920 _ACEOF
48923 done
48925 else
48927 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
48928 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
48929 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
48930 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
48931 echo $ECHO_N "(cached) $ECHO_C" >&6
48932 else
48936 ac_ext=cc
48937 ac_cpp='$CXXCPP $CPPFLAGS'
48938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48942 cat >conftest.$ac_ext <<_ACEOF
48943 /* confdefs.h. */
48944 _ACEOF
48945 cat confdefs.h >>conftest.$ac_ext
48946 cat >>conftest.$ac_ext <<_ACEOF
48947 /* end confdefs.h. */
48948 #include <math.h>
48950 main ()
48952 _frexpf(0, 0);
48954 return 0;
48956 _ACEOF
48957 rm -f conftest.$ac_objext
48958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48959 (eval $ac_compile) 2>conftest.er1
48960 ac_status=$?
48961 grep -v '^ *+' conftest.er1 >conftest.err
48962 rm -f conftest.er1
48963 cat conftest.err >&5
48964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48965 (exit $ac_status); } &&
48966 { ac_try='test -z "$ac_cxx_werror_flag"
48967 || test ! -s conftest.err'
48968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48969 (eval $ac_try) 2>&5
48970 ac_status=$?
48971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48972 (exit $ac_status); }; } &&
48973 { ac_try='test -s conftest.$ac_objext'
48974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48975 (eval $ac_try) 2>&5
48976 ac_status=$?
48977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48978 (exit $ac_status); }; }; then
48979 glibcxx_cv_func__frexpf_use=yes
48980 else
48981 echo "$as_me: failed program was:" >&5
48982 sed 's/^/| /' conftest.$ac_ext >&5
48984 glibcxx_cv_func__frexpf_use=no
48986 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48987 ac_ext=c
48988 ac_cpp='$CPP $CPPFLAGS'
48989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48997 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
48998 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
49000 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
49002 for ac_func in _frexpf
49004 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49005 echo "$as_me:$LINENO: checking for $ac_func" >&5
49006 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49007 if eval "test \"\${$as_ac_var+set}\" = set"; then
49008 echo $ECHO_N "(cached) $ECHO_C" >&6
49009 else
49010 if test x$gcc_no_link = xyes; then
49011 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49012 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49013 { (exit 1); exit 1; }; }
49015 cat >conftest.$ac_ext <<_ACEOF
49016 /* confdefs.h. */
49017 _ACEOF
49018 cat confdefs.h >>conftest.$ac_ext
49019 cat >>conftest.$ac_ext <<_ACEOF
49020 /* end confdefs.h. */
49021 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49022 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49023 #define $ac_func innocuous_$ac_func
49025 /* System header to define __stub macros and hopefully few prototypes,
49026 which can conflict with char $ac_func (); below.
49027 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49028 <limits.h> exists even on freestanding compilers. */
49030 #ifdef __STDC__
49031 # include <limits.h>
49032 #else
49033 # include <assert.h>
49034 #endif
49036 #undef $ac_func
49038 /* Override any gcc2 internal prototype to avoid an error. */
49039 #ifdef __cplusplus
49040 extern "C"
49042 #endif
49043 /* We use char because int might match the return type of a gcc2
49044 builtin and then its argument prototype would still apply. */
49045 char $ac_func ();
49046 /* The GNU C library defines this for functions which it implements
49047 to always fail with ENOSYS. Some functions are actually named
49048 something starting with __ and the normal name is an alias. */
49049 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49050 choke me
49051 #else
49052 char (*f) () = $ac_func;
49053 #endif
49054 #ifdef __cplusplus
49056 #endif
49059 main ()
49061 return f != $ac_func;
49063 return 0;
49065 _ACEOF
49066 rm -f conftest.$ac_objext conftest$ac_exeext
49067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49068 (eval $ac_link) 2>conftest.er1
49069 ac_status=$?
49070 grep -v '^ *+' conftest.er1 >conftest.err
49071 rm -f conftest.er1
49072 cat conftest.err >&5
49073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49074 (exit $ac_status); } &&
49075 { ac_try='test -z "$ac_c_werror_flag"
49076 || test ! -s conftest.err'
49077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49078 (eval $ac_try) 2>&5
49079 ac_status=$?
49080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49081 (exit $ac_status); }; } &&
49082 { ac_try='test -s conftest$ac_exeext'
49083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49084 (eval $ac_try) 2>&5
49085 ac_status=$?
49086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49087 (exit $ac_status); }; }; then
49088 eval "$as_ac_var=yes"
49089 else
49090 echo "$as_me: failed program was:" >&5
49091 sed 's/^/| /' conftest.$ac_ext >&5
49093 eval "$as_ac_var=no"
49095 rm -f conftest.err conftest.$ac_objext \
49096 conftest$ac_exeext conftest.$ac_ext
49098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49099 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49100 if test `eval echo '${'$as_ac_var'}'` = yes; then
49101 cat >>confdefs.h <<_ACEOF
49102 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49103 _ACEOF
49106 done
49116 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
49117 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
49118 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
49119 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
49120 echo $ECHO_N "(cached) $ECHO_C" >&6
49121 else
49125 ac_ext=cc
49126 ac_cpp='$CXXCPP $CPPFLAGS'
49127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49131 cat >conftest.$ac_ext <<_ACEOF
49132 /* confdefs.h. */
49133 _ACEOF
49134 cat confdefs.h >>conftest.$ac_ext
49135 cat >>conftest.$ac_ext <<_ACEOF
49136 /* end confdefs.h. */
49137 #include <math.h>
49139 main ()
49141 hypotf(0, 0);
49143 return 0;
49145 _ACEOF
49146 rm -f conftest.$ac_objext
49147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49148 (eval $ac_compile) 2>conftest.er1
49149 ac_status=$?
49150 grep -v '^ *+' conftest.er1 >conftest.err
49151 rm -f conftest.er1
49152 cat conftest.err >&5
49153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49154 (exit $ac_status); } &&
49155 { ac_try='test -z "$ac_cxx_werror_flag"
49156 || test ! -s conftest.err'
49157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49158 (eval $ac_try) 2>&5
49159 ac_status=$?
49160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49161 (exit $ac_status); }; } &&
49162 { ac_try='test -s conftest.$ac_objext'
49163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49164 (eval $ac_try) 2>&5
49165 ac_status=$?
49166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49167 (exit $ac_status); }; }; then
49168 glibcxx_cv_func_hypotf_use=yes
49169 else
49170 echo "$as_me: failed program was:" >&5
49171 sed 's/^/| /' conftest.$ac_ext >&5
49173 glibcxx_cv_func_hypotf_use=no
49175 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49176 ac_ext=c
49177 ac_cpp='$CPP $CPPFLAGS'
49178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49186 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
49187 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
49189 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
49191 for ac_func in hypotf
49193 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49194 echo "$as_me:$LINENO: checking for $ac_func" >&5
49195 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49196 if eval "test \"\${$as_ac_var+set}\" = set"; then
49197 echo $ECHO_N "(cached) $ECHO_C" >&6
49198 else
49199 if test x$gcc_no_link = xyes; then
49200 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49201 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49202 { (exit 1); exit 1; }; }
49204 cat >conftest.$ac_ext <<_ACEOF
49205 /* confdefs.h. */
49206 _ACEOF
49207 cat confdefs.h >>conftest.$ac_ext
49208 cat >>conftest.$ac_ext <<_ACEOF
49209 /* end confdefs.h. */
49210 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49211 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49212 #define $ac_func innocuous_$ac_func
49214 /* System header to define __stub macros and hopefully few prototypes,
49215 which can conflict with char $ac_func (); below.
49216 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49217 <limits.h> exists even on freestanding compilers. */
49219 #ifdef __STDC__
49220 # include <limits.h>
49221 #else
49222 # include <assert.h>
49223 #endif
49225 #undef $ac_func
49227 /* Override any gcc2 internal prototype to avoid an error. */
49228 #ifdef __cplusplus
49229 extern "C"
49231 #endif
49232 /* We use char because int might match the return type of a gcc2
49233 builtin and then its argument prototype would still apply. */
49234 char $ac_func ();
49235 /* The GNU C library defines this for functions which it implements
49236 to always fail with ENOSYS. Some functions are actually named
49237 something starting with __ and the normal name is an alias. */
49238 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49239 choke me
49240 #else
49241 char (*f) () = $ac_func;
49242 #endif
49243 #ifdef __cplusplus
49245 #endif
49248 main ()
49250 return f != $ac_func;
49252 return 0;
49254 _ACEOF
49255 rm -f conftest.$ac_objext conftest$ac_exeext
49256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49257 (eval $ac_link) 2>conftest.er1
49258 ac_status=$?
49259 grep -v '^ *+' conftest.er1 >conftest.err
49260 rm -f conftest.er1
49261 cat conftest.err >&5
49262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49263 (exit $ac_status); } &&
49264 { ac_try='test -z "$ac_c_werror_flag"
49265 || test ! -s conftest.err'
49266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49267 (eval $ac_try) 2>&5
49268 ac_status=$?
49269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49270 (exit $ac_status); }; } &&
49271 { ac_try='test -s conftest$ac_exeext'
49272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49273 (eval $ac_try) 2>&5
49274 ac_status=$?
49275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49276 (exit $ac_status); }; }; then
49277 eval "$as_ac_var=yes"
49278 else
49279 echo "$as_me: failed program was:" >&5
49280 sed 's/^/| /' conftest.$ac_ext >&5
49282 eval "$as_ac_var=no"
49284 rm -f conftest.err conftest.$ac_objext \
49285 conftest$ac_exeext conftest.$ac_ext
49287 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49288 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49289 if test `eval echo '${'$as_ac_var'}'` = yes; then
49290 cat >>confdefs.h <<_ACEOF
49291 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49292 _ACEOF
49295 done
49297 else
49299 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
49300 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
49301 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
49302 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
49303 echo $ECHO_N "(cached) $ECHO_C" >&6
49304 else
49308 ac_ext=cc
49309 ac_cpp='$CXXCPP $CPPFLAGS'
49310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49314 cat >conftest.$ac_ext <<_ACEOF
49315 /* confdefs.h. */
49316 _ACEOF
49317 cat confdefs.h >>conftest.$ac_ext
49318 cat >>conftest.$ac_ext <<_ACEOF
49319 /* end confdefs.h. */
49320 #include <math.h>
49322 main ()
49324 _hypotf(0, 0);
49326 return 0;
49328 _ACEOF
49329 rm -f conftest.$ac_objext
49330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49331 (eval $ac_compile) 2>conftest.er1
49332 ac_status=$?
49333 grep -v '^ *+' conftest.er1 >conftest.err
49334 rm -f conftest.er1
49335 cat conftest.err >&5
49336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49337 (exit $ac_status); } &&
49338 { ac_try='test -z "$ac_cxx_werror_flag"
49339 || test ! -s conftest.err'
49340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49341 (eval $ac_try) 2>&5
49342 ac_status=$?
49343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49344 (exit $ac_status); }; } &&
49345 { ac_try='test -s conftest.$ac_objext'
49346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49347 (eval $ac_try) 2>&5
49348 ac_status=$?
49349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49350 (exit $ac_status); }; }; then
49351 glibcxx_cv_func__hypotf_use=yes
49352 else
49353 echo "$as_me: failed program was:" >&5
49354 sed 's/^/| /' conftest.$ac_ext >&5
49356 glibcxx_cv_func__hypotf_use=no
49358 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49359 ac_ext=c
49360 ac_cpp='$CPP $CPPFLAGS'
49361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49369 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
49370 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
49372 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
49374 for ac_func in _hypotf
49376 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49377 echo "$as_me:$LINENO: checking for $ac_func" >&5
49378 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49379 if eval "test \"\${$as_ac_var+set}\" = set"; then
49380 echo $ECHO_N "(cached) $ECHO_C" >&6
49381 else
49382 if test x$gcc_no_link = xyes; then
49383 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49384 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49385 { (exit 1); exit 1; }; }
49387 cat >conftest.$ac_ext <<_ACEOF
49388 /* confdefs.h. */
49389 _ACEOF
49390 cat confdefs.h >>conftest.$ac_ext
49391 cat >>conftest.$ac_ext <<_ACEOF
49392 /* end confdefs.h. */
49393 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49394 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49395 #define $ac_func innocuous_$ac_func
49397 /* System header to define __stub macros and hopefully few prototypes,
49398 which can conflict with char $ac_func (); below.
49399 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49400 <limits.h> exists even on freestanding compilers. */
49402 #ifdef __STDC__
49403 # include <limits.h>
49404 #else
49405 # include <assert.h>
49406 #endif
49408 #undef $ac_func
49410 /* Override any gcc2 internal prototype to avoid an error. */
49411 #ifdef __cplusplus
49412 extern "C"
49414 #endif
49415 /* We use char because int might match the return type of a gcc2
49416 builtin and then its argument prototype would still apply. */
49417 char $ac_func ();
49418 /* The GNU C library defines this for functions which it implements
49419 to always fail with ENOSYS. Some functions are actually named
49420 something starting with __ and the normal name is an alias. */
49421 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49422 choke me
49423 #else
49424 char (*f) () = $ac_func;
49425 #endif
49426 #ifdef __cplusplus
49428 #endif
49431 main ()
49433 return f != $ac_func;
49435 return 0;
49437 _ACEOF
49438 rm -f conftest.$ac_objext conftest$ac_exeext
49439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49440 (eval $ac_link) 2>conftest.er1
49441 ac_status=$?
49442 grep -v '^ *+' conftest.er1 >conftest.err
49443 rm -f conftest.er1
49444 cat conftest.err >&5
49445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49446 (exit $ac_status); } &&
49447 { ac_try='test -z "$ac_c_werror_flag"
49448 || test ! -s conftest.err'
49449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49450 (eval $ac_try) 2>&5
49451 ac_status=$?
49452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49453 (exit $ac_status); }; } &&
49454 { ac_try='test -s conftest$ac_exeext'
49455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49456 (eval $ac_try) 2>&5
49457 ac_status=$?
49458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49459 (exit $ac_status); }; }; then
49460 eval "$as_ac_var=yes"
49461 else
49462 echo "$as_me: failed program was:" >&5
49463 sed 's/^/| /' conftest.$ac_ext >&5
49465 eval "$as_ac_var=no"
49467 rm -f conftest.err conftest.$ac_objext \
49468 conftest$ac_exeext conftest.$ac_ext
49470 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49471 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49472 if test `eval echo '${'$as_ac_var'}'` = yes; then
49473 cat >>confdefs.h <<_ACEOF
49474 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49475 _ACEOF
49478 done
49488 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
49489 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
49490 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
49491 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
49492 echo $ECHO_N "(cached) $ECHO_C" >&6
49493 else
49497 ac_ext=cc
49498 ac_cpp='$CXXCPP $CPPFLAGS'
49499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49503 cat >conftest.$ac_ext <<_ACEOF
49504 /* confdefs.h. */
49505 _ACEOF
49506 cat confdefs.h >>conftest.$ac_ext
49507 cat >>conftest.$ac_ext <<_ACEOF
49508 /* end confdefs.h. */
49509 #include <math.h>
49511 main ()
49513 ldexpf(0, 0);
49515 return 0;
49517 _ACEOF
49518 rm -f conftest.$ac_objext
49519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49520 (eval $ac_compile) 2>conftest.er1
49521 ac_status=$?
49522 grep -v '^ *+' conftest.er1 >conftest.err
49523 rm -f conftest.er1
49524 cat conftest.err >&5
49525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49526 (exit $ac_status); } &&
49527 { ac_try='test -z "$ac_cxx_werror_flag"
49528 || test ! -s conftest.err'
49529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49530 (eval $ac_try) 2>&5
49531 ac_status=$?
49532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49533 (exit $ac_status); }; } &&
49534 { ac_try='test -s conftest.$ac_objext'
49535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49536 (eval $ac_try) 2>&5
49537 ac_status=$?
49538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49539 (exit $ac_status); }; }; then
49540 glibcxx_cv_func_ldexpf_use=yes
49541 else
49542 echo "$as_me: failed program was:" >&5
49543 sed 's/^/| /' conftest.$ac_ext >&5
49545 glibcxx_cv_func_ldexpf_use=no
49547 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49548 ac_ext=c
49549 ac_cpp='$CPP $CPPFLAGS'
49550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49558 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
49559 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
49561 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
49563 for ac_func in ldexpf
49565 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49566 echo "$as_me:$LINENO: checking for $ac_func" >&5
49567 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49568 if eval "test \"\${$as_ac_var+set}\" = set"; then
49569 echo $ECHO_N "(cached) $ECHO_C" >&6
49570 else
49571 if test x$gcc_no_link = xyes; then
49572 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49573 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49574 { (exit 1); exit 1; }; }
49576 cat >conftest.$ac_ext <<_ACEOF
49577 /* confdefs.h. */
49578 _ACEOF
49579 cat confdefs.h >>conftest.$ac_ext
49580 cat >>conftest.$ac_ext <<_ACEOF
49581 /* end confdefs.h. */
49582 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49583 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49584 #define $ac_func innocuous_$ac_func
49586 /* System header to define __stub macros and hopefully few prototypes,
49587 which can conflict with char $ac_func (); below.
49588 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49589 <limits.h> exists even on freestanding compilers. */
49591 #ifdef __STDC__
49592 # include <limits.h>
49593 #else
49594 # include <assert.h>
49595 #endif
49597 #undef $ac_func
49599 /* Override any gcc2 internal prototype to avoid an error. */
49600 #ifdef __cplusplus
49601 extern "C"
49603 #endif
49604 /* We use char because int might match the return type of a gcc2
49605 builtin and then its argument prototype would still apply. */
49606 char $ac_func ();
49607 /* The GNU C library defines this for functions which it implements
49608 to always fail with ENOSYS. Some functions are actually named
49609 something starting with __ and the normal name is an alias. */
49610 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49611 choke me
49612 #else
49613 char (*f) () = $ac_func;
49614 #endif
49615 #ifdef __cplusplus
49617 #endif
49620 main ()
49622 return f != $ac_func;
49624 return 0;
49626 _ACEOF
49627 rm -f conftest.$ac_objext conftest$ac_exeext
49628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49629 (eval $ac_link) 2>conftest.er1
49630 ac_status=$?
49631 grep -v '^ *+' conftest.er1 >conftest.err
49632 rm -f conftest.er1
49633 cat conftest.err >&5
49634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49635 (exit $ac_status); } &&
49636 { ac_try='test -z "$ac_c_werror_flag"
49637 || test ! -s conftest.err'
49638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49639 (eval $ac_try) 2>&5
49640 ac_status=$?
49641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49642 (exit $ac_status); }; } &&
49643 { ac_try='test -s conftest$ac_exeext'
49644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49645 (eval $ac_try) 2>&5
49646 ac_status=$?
49647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49648 (exit $ac_status); }; }; then
49649 eval "$as_ac_var=yes"
49650 else
49651 echo "$as_me: failed program was:" >&5
49652 sed 's/^/| /' conftest.$ac_ext >&5
49654 eval "$as_ac_var=no"
49656 rm -f conftest.err conftest.$ac_objext \
49657 conftest$ac_exeext conftest.$ac_ext
49659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49660 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49661 if test `eval echo '${'$as_ac_var'}'` = yes; then
49662 cat >>confdefs.h <<_ACEOF
49663 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49664 _ACEOF
49667 done
49669 else
49671 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
49672 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
49673 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
49674 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
49675 echo $ECHO_N "(cached) $ECHO_C" >&6
49676 else
49680 ac_ext=cc
49681 ac_cpp='$CXXCPP $CPPFLAGS'
49682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49686 cat >conftest.$ac_ext <<_ACEOF
49687 /* confdefs.h. */
49688 _ACEOF
49689 cat confdefs.h >>conftest.$ac_ext
49690 cat >>conftest.$ac_ext <<_ACEOF
49691 /* end confdefs.h. */
49692 #include <math.h>
49694 main ()
49696 _ldexpf(0, 0);
49698 return 0;
49700 _ACEOF
49701 rm -f conftest.$ac_objext
49702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49703 (eval $ac_compile) 2>conftest.er1
49704 ac_status=$?
49705 grep -v '^ *+' conftest.er1 >conftest.err
49706 rm -f conftest.er1
49707 cat conftest.err >&5
49708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49709 (exit $ac_status); } &&
49710 { ac_try='test -z "$ac_cxx_werror_flag"
49711 || test ! -s conftest.err'
49712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49713 (eval $ac_try) 2>&5
49714 ac_status=$?
49715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49716 (exit $ac_status); }; } &&
49717 { ac_try='test -s conftest.$ac_objext'
49718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49719 (eval $ac_try) 2>&5
49720 ac_status=$?
49721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49722 (exit $ac_status); }; }; then
49723 glibcxx_cv_func__ldexpf_use=yes
49724 else
49725 echo "$as_me: failed program was:" >&5
49726 sed 's/^/| /' conftest.$ac_ext >&5
49728 glibcxx_cv_func__ldexpf_use=no
49730 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49731 ac_ext=c
49732 ac_cpp='$CPP $CPPFLAGS'
49733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49741 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
49742 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
49744 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
49746 for ac_func in _ldexpf
49748 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49749 echo "$as_me:$LINENO: checking for $ac_func" >&5
49750 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49751 if eval "test \"\${$as_ac_var+set}\" = set"; then
49752 echo $ECHO_N "(cached) $ECHO_C" >&6
49753 else
49754 if test x$gcc_no_link = xyes; then
49755 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49756 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49757 { (exit 1); exit 1; }; }
49759 cat >conftest.$ac_ext <<_ACEOF
49760 /* confdefs.h. */
49761 _ACEOF
49762 cat confdefs.h >>conftest.$ac_ext
49763 cat >>conftest.$ac_ext <<_ACEOF
49764 /* end confdefs.h. */
49765 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49766 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49767 #define $ac_func innocuous_$ac_func
49769 /* System header to define __stub macros and hopefully few prototypes,
49770 which can conflict with char $ac_func (); below.
49771 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49772 <limits.h> exists even on freestanding compilers. */
49774 #ifdef __STDC__
49775 # include <limits.h>
49776 #else
49777 # include <assert.h>
49778 #endif
49780 #undef $ac_func
49782 /* Override any gcc2 internal prototype to avoid an error. */
49783 #ifdef __cplusplus
49784 extern "C"
49786 #endif
49787 /* We use char because int might match the return type of a gcc2
49788 builtin and then its argument prototype would still apply. */
49789 char $ac_func ();
49790 /* The GNU C library defines this for functions which it implements
49791 to always fail with ENOSYS. Some functions are actually named
49792 something starting with __ and the normal name is an alias. */
49793 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49794 choke me
49795 #else
49796 char (*f) () = $ac_func;
49797 #endif
49798 #ifdef __cplusplus
49800 #endif
49803 main ()
49805 return f != $ac_func;
49807 return 0;
49809 _ACEOF
49810 rm -f conftest.$ac_objext conftest$ac_exeext
49811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49812 (eval $ac_link) 2>conftest.er1
49813 ac_status=$?
49814 grep -v '^ *+' conftest.er1 >conftest.err
49815 rm -f conftest.er1
49816 cat conftest.err >&5
49817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49818 (exit $ac_status); } &&
49819 { ac_try='test -z "$ac_c_werror_flag"
49820 || test ! -s conftest.err'
49821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49822 (eval $ac_try) 2>&5
49823 ac_status=$?
49824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49825 (exit $ac_status); }; } &&
49826 { ac_try='test -s conftest$ac_exeext'
49827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49828 (eval $ac_try) 2>&5
49829 ac_status=$?
49830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49831 (exit $ac_status); }; }; then
49832 eval "$as_ac_var=yes"
49833 else
49834 echo "$as_me: failed program was:" >&5
49835 sed 's/^/| /' conftest.$ac_ext >&5
49837 eval "$as_ac_var=no"
49839 rm -f conftest.err conftest.$ac_objext \
49840 conftest$ac_exeext conftest.$ac_ext
49842 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49843 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49844 if test `eval echo '${'$as_ac_var'}'` = yes; then
49845 cat >>confdefs.h <<_ACEOF
49846 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49847 _ACEOF
49850 done
49860 echo "$as_me:$LINENO: checking for logf declaration" >&5
49861 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
49862 if test x${glibcxx_cv_func_logf_use+set} != xset; then
49863 if test "${glibcxx_cv_func_logf_use+set}" = set; then
49864 echo $ECHO_N "(cached) $ECHO_C" >&6
49865 else
49869 ac_ext=cc
49870 ac_cpp='$CXXCPP $CPPFLAGS'
49871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49875 cat >conftest.$ac_ext <<_ACEOF
49876 /* confdefs.h. */
49877 _ACEOF
49878 cat confdefs.h >>conftest.$ac_ext
49879 cat >>conftest.$ac_ext <<_ACEOF
49880 /* end confdefs.h. */
49881 #include <math.h>
49882 #ifdef HAVE_IEEEFP_H
49883 #include <ieeefp.h>
49884 #endif
49887 main ()
49889 logf(0);
49891 return 0;
49893 _ACEOF
49894 rm -f conftest.$ac_objext
49895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49896 (eval $ac_compile) 2>conftest.er1
49897 ac_status=$?
49898 grep -v '^ *+' conftest.er1 >conftest.err
49899 rm -f conftest.er1
49900 cat conftest.err >&5
49901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49902 (exit $ac_status); } &&
49903 { ac_try='test -z "$ac_cxx_werror_flag"
49904 || test ! -s conftest.err'
49905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49906 (eval $ac_try) 2>&5
49907 ac_status=$?
49908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49909 (exit $ac_status); }; } &&
49910 { ac_try='test -s conftest.$ac_objext'
49911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49912 (eval $ac_try) 2>&5
49913 ac_status=$?
49914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49915 (exit $ac_status); }; }; then
49916 glibcxx_cv_func_logf_use=yes
49917 else
49918 echo "$as_me: failed program was:" >&5
49919 sed 's/^/| /' conftest.$ac_ext >&5
49921 glibcxx_cv_func_logf_use=no
49923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49924 ac_ext=c
49925 ac_cpp='$CPP $CPPFLAGS'
49926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49934 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
49935 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
49937 if test x$glibcxx_cv_func_logf_use = x"yes"; then
49939 for ac_func in logf
49941 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49942 echo "$as_me:$LINENO: checking for $ac_func" >&5
49943 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49944 if eval "test \"\${$as_ac_var+set}\" = set"; then
49945 echo $ECHO_N "(cached) $ECHO_C" >&6
49946 else
49947 if test x$gcc_no_link = xyes; then
49948 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49949 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49950 { (exit 1); exit 1; }; }
49952 cat >conftest.$ac_ext <<_ACEOF
49953 /* confdefs.h. */
49954 _ACEOF
49955 cat confdefs.h >>conftest.$ac_ext
49956 cat >>conftest.$ac_ext <<_ACEOF
49957 /* end confdefs.h. */
49958 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49959 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49960 #define $ac_func innocuous_$ac_func
49962 /* System header to define __stub macros and hopefully few prototypes,
49963 which can conflict with char $ac_func (); below.
49964 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49965 <limits.h> exists even on freestanding compilers. */
49967 #ifdef __STDC__
49968 # include <limits.h>
49969 #else
49970 # include <assert.h>
49971 #endif
49973 #undef $ac_func
49975 /* Override any gcc2 internal prototype to avoid an error. */
49976 #ifdef __cplusplus
49977 extern "C"
49979 #endif
49980 /* We use char because int might match the return type of a gcc2
49981 builtin and then its argument prototype would still apply. */
49982 char $ac_func ();
49983 /* The GNU C library defines this for functions which it implements
49984 to always fail with ENOSYS. Some functions are actually named
49985 something starting with __ and the normal name is an alias. */
49986 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49987 choke me
49988 #else
49989 char (*f) () = $ac_func;
49990 #endif
49991 #ifdef __cplusplus
49993 #endif
49996 main ()
49998 return f != $ac_func;
50000 return 0;
50002 _ACEOF
50003 rm -f conftest.$ac_objext conftest$ac_exeext
50004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50005 (eval $ac_link) 2>conftest.er1
50006 ac_status=$?
50007 grep -v '^ *+' conftest.er1 >conftest.err
50008 rm -f conftest.er1
50009 cat conftest.err >&5
50010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50011 (exit $ac_status); } &&
50012 { ac_try='test -z "$ac_c_werror_flag"
50013 || test ! -s conftest.err'
50014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50015 (eval $ac_try) 2>&5
50016 ac_status=$?
50017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50018 (exit $ac_status); }; } &&
50019 { ac_try='test -s conftest$ac_exeext'
50020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50021 (eval $ac_try) 2>&5
50022 ac_status=$?
50023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50024 (exit $ac_status); }; }; then
50025 eval "$as_ac_var=yes"
50026 else
50027 echo "$as_me: failed program was:" >&5
50028 sed 's/^/| /' conftest.$ac_ext >&5
50030 eval "$as_ac_var=no"
50032 rm -f conftest.err conftest.$ac_objext \
50033 conftest$ac_exeext conftest.$ac_ext
50035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50036 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50037 if test `eval echo '${'$as_ac_var'}'` = yes; then
50038 cat >>confdefs.h <<_ACEOF
50039 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50040 _ACEOF
50043 done
50045 else
50047 echo "$as_me:$LINENO: checking for _logf declaration" >&5
50048 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
50049 if test x${glibcxx_cv_func__logf_use+set} != xset; then
50050 if test "${glibcxx_cv_func__logf_use+set}" = set; then
50051 echo $ECHO_N "(cached) $ECHO_C" >&6
50052 else
50056 ac_ext=cc
50057 ac_cpp='$CXXCPP $CPPFLAGS'
50058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50062 cat >conftest.$ac_ext <<_ACEOF
50063 /* confdefs.h. */
50064 _ACEOF
50065 cat confdefs.h >>conftest.$ac_ext
50066 cat >>conftest.$ac_ext <<_ACEOF
50067 /* end confdefs.h. */
50068 #include <math.h>
50069 #ifdef HAVE_IEEEFP_H
50070 #include <ieeefp.h>
50071 #endif
50074 main ()
50076 _logf(0);
50078 return 0;
50080 _ACEOF
50081 rm -f conftest.$ac_objext
50082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50083 (eval $ac_compile) 2>conftest.er1
50084 ac_status=$?
50085 grep -v '^ *+' conftest.er1 >conftest.err
50086 rm -f conftest.er1
50087 cat conftest.err >&5
50088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50089 (exit $ac_status); } &&
50090 { ac_try='test -z "$ac_cxx_werror_flag"
50091 || test ! -s conftest.err'
50092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50093 (eval $ac_try) 2>&5
50094 ac_status=$?
50095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50096 (exit $ac_status); }; } &&
50097 { ac_try='test -s conftest.$ac_objext'
50098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50099 (eval $ac_try) 2>&5
50100 ac_status=$?
50101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50102 (exit $ac_status); }; }; then
50103 glibcxx_cv_func__logf_use=yes
50104 else
50105 echo "$as_me: failed program was:" >&5
50106 sed 's/^/| /' conftest.$ac_ext >&5
50108 glibcxx_cv_func__logf_use=no
50110 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50111 ac_ext=c
50112 ac_cpp='$CPP $CPPFLAGS'
50113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50121 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
50122 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
50124 if test x$glibcxx_cv_func__logf_use = x"yes"; then
50126 for ac_func in _logf
50128 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50129 echo "$as_me:$LINENO: checking for $ac_func" >&5
50130 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50131 if eval "test \"\${$as_ac_var+set}\" = set"; then
50132 echo $ECHO_N "(cached) $ECHO_C" >&6
50133 else
50134 if test x$gcc_no_link = xyes; then
50135 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50136 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50137 { (exit 1); exit 1; }; }
50139 cat >conftest.$ac_ext <<_ACEOF
50140 /* confdefs.h. */
50141 _ACEOF
50142 cat confdefs.h >>conftest.$ac_ext
50143 cat >>conftest.$ac_ext <<_ACEOF
50144 /* end confdefs.h. */
50145 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50146 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50147 #define $ac_func innocuous_$ac_func
50149 /* System header to define __stub macros and hopefully few prototypes,
50150 which can conflict with char $ac_func (); below.
50151 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50152 <limits.h> exists even on freestanding compilers. */
50154 #ifdef __STDC__
50155 # include <limits.h>
50156 #else
50157 # include <assert.h>
50158 #endif
50160 #undef $ac_func
50162 /* Override any gcc2 internal prototype to avoid an error. */
50163 #ifdef __cplusplus
50164 extern "C"
50166 #endif
50167 /* We use char because int might match the return type of a gcc2
50168 builtin and then its argument prototype would still apply. */
50169 char $ac_func ();
50170 /* The GNU C library defines this for functions which it implements
50171 to always fail with ENOSYS. Some functions are actually named
50172 something starting with __ and the normal name is an alias. */
50173 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50174 choke me
50175 #else
50176 char (*f) () = $ac_func;
50177 #endif
50178 #ifdef __cplusplus
50180 #endif
50183 main ()
50185 return f != $ac_func;
50187 return 0;
50189 _ACEOF
50190 rm -f conftest.$ac_objext conftest$ac_exeext
50191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50192 (eval $ac_link) 2>conftest.er1
50193 ac_status=$?
50194 grep -v '^ *+' conftest.er1 >conftest.err
50195 rm -f conftest.er1
50196 cat conftest.err >&5
50197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50198 (exit $ac_status); } &&
50199 { ac_try='test -z "$ac_c_werror_flag"
50200 || test ! -s conftest.err'
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); }; } &&
50206 { ac_try='test -s conftest$ac_exeext'
50207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50208 (eval $ac_try) 2>&5
50209 ac_status=$?
50210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50211 (exit $ac_status); }; }; then
50212 eval "$as_ac_var=yes"
50213 else
50214 echo "$as_me: failed program was:" >&5
50215 sed 's/^/| /' conftest.$ac_ext >&5
50217 eval "$as_ac_var=no"
50219 rm -f conftest.err conftest.$ac_objext \
50220 conftest$ac_exeext conftest.$ac_ext
50222 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50223 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50224 if test `eval echo '${'$as_ac_var'}'` = yes; then
50225 cat >>confdefs.h <<_ACEOF
50226 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50227 _ACEOF
50230 done
50240 echo "$as_me:$LINENO: checking for log10f declaration" >&5
50241 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
50242 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
50243 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
50244 echo $ECHO_N "(cached) $ECHO_C" >&6
50245 else
50249 ac_ext=cc
50250 ac_cpp='$CXXCPP $CPPFLAGS'
50251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50255 cat >conftest.$ac_ext <<_ACEOF
50256 /* confdefs.h. */
50257 _ACEOF
50258 cat confdefs.h >>conftest.$ac_ext
50259 cat >>conftest.$ac_ext <<_ACEOF
50260 /* end confdefs.h. */
50261 #include <math.h>
50262 #ifdef HAVE_IEEEFP_H
50263 #include <ieeefp.h>
50264 #endif
50267 main ()
50269 log10f(0);
50271 return 0;
50273 _ACEOF
50274 rm -f conftest.$ac_objext
50275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50276 (eval $ac_compile) 2>conftest.er1
50277 ac_status=$?
50278 grep -v '^ *+' conftest.er1 >conftest.err
50279 rm -f conftest.er1
50280 cat conftest.err >&5
50281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50282 (exit $ac_status); } &&
50283 { ac_try='test -z "$ac_cxx_werror_flag"
50284 || test ! -s conftest.err'
50285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50286 (eval $ac_try) 2>&5
50287 ac_status=$?
50288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50289 (exit $ac_status); }; } &&
50290 { ac_try='test -s conftest.$ac_objext'
50291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50292 (eval $ac_try) 2>&5
50293 ac_status=$?
50294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50295 (exit $ac_status); }; }; then
50296 glibcxx_cv_func_log10f_use=yes
50297 else
50298 echo "$as_me: failed program was:" >&5
50299 sed 's/^/| /' conftest.$ac_ext >&5
50301 glibcxx_cv_func_log10f_use=no
50303 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50304 ac_ext=c
50305 ac_cpp='$CPP $CPPFLAGS'
50306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50314 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
50315 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
50317 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
50319 for ac_func in log10f
50321 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50322 echo "$as_me:$LINENO: checking for $ac_func" >&5
50323 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50324 if eval "test \"\${$as_ac_var+set}\" = set"; then
50325 echo $ECHO_N "(cached) $ECHO_C" >&6
50326 else
50327 if test x$gcc_no_link = xyes; then
50328 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50329 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50330 { (exit 1); exit 1; }; }
50332 cat >conftest.$ac_ext <<_ACEOF
50333 /* confdefs.h. */
50334 _ACEOF
50335 cat confdefs.h >>conftest.$ac_ext
50336 cat >>conftest.$ac_ext <<_ACEOF
50337 /* end confdefs.h. */
50338 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50339 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50340 #define $ac_func innocuous_$ac_func
50342 /* System header to define __stub macros and hopefully few prototypes,
50343 which can conflict with char $ac_func (); below.
50344 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50345 <limits.h> exists even on freestanding compilers. */
50347 #ifdef __STDC__
50348 # include <limits.h>
50349 #else
50350 # include <assert.h>
50351 #endif
50353 #undef $ac_func
50355 /* Override any gcc2 internal prototype to avoid an error. */
50356 #ifdef __cplusplus
50357 extern "C"
50359 #endif
50360 /* We use char because int might match the return type of a gcc2
50361 builtin and then its argument prototype would still apply. */
50362 char $ac_func ();
50363 /* The GNU C library defines this for functions which it implements
50364 to always fail with ENOSYS. Some functions are actually named
50365 something starting with __ and the normal name is an alias. */
50366 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50367 choke me
50368 #else
50369 char (*f) () = $ac_func;
50370 #endif
50371 #ifdef __cplusplus
50373 #endif
50376 main ()
50378 return f != $ac_func;
50380 return 0;
50382 _ACEOF
50383 rm -f conftest.$ac_objext conftest$ac_exeext
50384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50385 (eval $ac_link) 2>conftest.er1
50386 ac_status=$?
50387 grep -v '^ *+' conftest.er1 >conftest.err
50388 rm -f conftest.er1
50389 cat conftest.err >&5
50390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50391 (exit $ac_status); } &&
50392 { ac_try='test -z "$ac_c_werror_flag"
50393 || test ! -s conftest.err'
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); }; } &&
50399 { ac_try='test -s conftest$ac_exeext'
50400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50401 (eval $ac_try) 2>&5
50402 ac_status=$?
50403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50404 (exit $ac_status); }; }; then
50405 eval "$as_ac_var=yes"
50406 else
50407 echo "$as_me: failed program was:" >&5
50408 sed 's/^/| /' conftest.$ac_ext >&5
50410 eval "$as_ac_var=no"
50412 rm -f conftest.err conftest.$ac_objext \
50413 conftest$ac_exeext conftest.$ac_ext
50415 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50416 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50417 if test `eval echo '${'$as_ac_var'}'` = yes; then
50418 cat >>confdefs.h <<_ACEOF
50419 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50420 _ACEOF
50423 done
50425 else
50427 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
50428 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
50429 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
50430 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
50431 echo $ECHO_N "(cached) $ECHO_C" >&6
50432 else
50436 ac_ext=cc
50437 ac_cpp='$CXXCPP $CPPFLAGS'
50438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50442 cat >conftest.$ac_ext <<_ACEOF
50443 /* confdefs.h. */
50444 _ACEOF
50445 cat confdefs.h >>conftest.$ac_ext
50446 cat >>conftest.$ac_ext <<_ACEOF
50447 /* end confdefs.h. */
50448 #include <math.h>
50449 #ifdef HAVE_IEEEFP_H
50450 #include <ieeefp.h>
50451 #endif
50454 main ()
50456 _log10f(0);
50458 return 0;
50460 _ACEOF
50461 rm -f conftest.$ac_objext
50462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50463 (eval $ac_compile) 2>conftest.er1
50464 ac_status=$?
50465 grep -v '^ *+' conftest.er1 >conftest.err
50466 rm -f conftest.er1
50467 cat conftest.err >&5
50468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50469 (exit $ac_status); } &&
50470 { ac_try='test -z "$ac_cxx_werror_flag"
50471 || test ! -s conftest.err'
50472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50473 (eval $ac_try) 2>&5
50474 ac_status=$?
50475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50476 (exit $ac_status); }; } &&
50477 { ac_try='test -s conftest.$ac_objext'
50478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50479 (eval $ac_try) 2>&5
50480 ac_status=$?
50481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50482 (exit $ac_status); }; }; then
50483 glibcxx_cv_func__log10f_use=yes
50484 else
50485 echo "$as_me: failed program was:" >&5
50486 sed 's/^/| /' conftest.$ac_ext >&5
50488 glibcxx_cv_func__log10f_use=no
50490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50491 ac_ext=c
50492 ac_cpp='$CPP $CPPFLAGS'
50493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50501 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
50502 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
50504 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
50506 for ac_func in _log10f
50508 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50509 echo "$as_me:$LINENO: checking for $ac_func" >&5
50510 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50511 if eval "test \"\${$as_ac_var+set}\" = set"; then
50512 echo $ECHO_N "(cached) $ECHO_C" >&6
50513 else
50514 if test x$gcc_no_link = xyes; then
50515 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50516 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50517 { (exit 1); exit 1; }; }
50519 cat >conftest.$ac_ext <<_ACEOF
50520 /* confdefs.h. */
50521 _ACEOF
50522 cat confdefs.h >>conftest.$ac_ext
50523 cat >>conftest.$ac_ext <<_ACEOF
50524 /* end confdefs.h. */
50525 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50526 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50527 #define $ac_func innocuous_$ac_func
50529 /* System header to define __stub macros and hopefully few prototypes,
50530 which can conflict with char $ac_func (); below.
50531 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50532 <limits.h> exists even on freestanding compilers. */
50534 #ifdef __STDC__
50535 # include <limits.h>
50536 #else
50537 # include <assert.h>
50538 #endif
50540 #undef $ac_func
50542 /* Override any gcc2 internal prototype to avoid an error. */
50543 #ifdef __cplusplus
50544 extern "C"
50546 #endif
50547 /* We use char because int might match the return type of a gcc2
50548 builtin and then its argument prototype would still apply. */
50549 char $ac_func ();
50550 /* The GNU C library defines this for functions which it implements
50551 to always fail with ENOSYS. Some functions are actually named
50552 something starting with __ and the normal name is an alias. */
50553 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50554 choke me
50555 #else
50556 char (*f) () = $ac_func;
50557 #endif
50558 #ifdef __cplusplus
50560 #endif
50563 main ()
50565 return f != $ac_func;
50567 return 0;
50569 _ACEOF
50570 rm -f conftest.$ac_objext conftest$ac_exeext
50571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50572 (eval $ac_link) 2>conftest.er1
50573 ac_status=$?
50574 grep -v '^ *+' conftest.er1 >conftest.err
50575 rm -f conftest.er1
50576 cat conftest.err >&5
50577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50578 (exit $ac_status); } &&
50579 { ac_try='test -z "$ac_c_werror_flag"
50580 || test ! -s conftest.err'
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); }; } &&
50586 { ac_try='test -s conftest$ac_exeext'
50587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50588 (eval $ac_try) 2>&5
50589 ac_status=$?
50590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50591 (exit $ac_status); }; }; then
50592 eval "$as_ac_var=yes"
50593 else
50594 echo "$as_me: failed program was:" >&5
50595 sed 's/^/| /' conftest.$ac_ext >&5
50597 eval "$as_ac_var=no"
50599 rm -f conftest.err conftest.$ac_objext \
50600 conftest$ac_exeext conftest.$ac_ext
50602 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50603 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50604 if test `eval echo '${'$as_ac_var'}'` = yes; then
50605 cat >>confdefs.h <<_ACEOF
50606 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50607 _ACEOF
50610 done
50620 echo "$as_me:$LINENO: checking for modff declaration" >&5
50621 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
50622 if test x${glibcxx_cv_func_modff_use+set} != xset; then
50623 if test "${glibcxx_cv_func_modff_use+set}" = set; then
50624 echo $ECHO_N "(cached) $ECHO_C" >&6
50625 else
50629 ac_ext=cc
50630 ac_cpp='$CXXCPP $CPPFLAGS'
50631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50635 cat >conftest.$ac_ext <<_ACEOF
50636 /* confdefs.h. */
50637 _ACEOF
50638 cat confdefs.h >>conftest.$ac_ext
50639 cat >>conftest.$ac_ext <<_ACEOF
50640 /* end confdefs.h. */
50641 #include <math.h>
50643 main ()
50645 modff(0, 0);
50647 return 0;
50649 _ACEOF
50650 rm -f conftest.$ac_objext
50651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50652 (eval $ac_compile) 2>conftest.er1
50653 ac_status=$?
50654 grep -v '^ *+' conftest.er1 >conftest.err
50655 rm -f conftest.er1
50656 cat conftest.err >&5
50657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50658 (exit $ac_status); } &&
50659 { ac_try='test -z "$ac_cxx_werror_flag"
50660 || test ! -s conftest.err'
50661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50662 (eval $ac_try) 2>&5
50663 ac_status=$?
50664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50665 (exit $ac_status); }; } &&
50666 { ac_try='test -s conftest.$ac_objext'
50667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50668 (eval $ac_try) 2>&5
50669 ac_status=$?
50670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50671 (exit $ac_status); }; }; then
50672 glibcxx_cv_func_modff_use=yes
50673 else
50674 echo "$as_me: failed program was:" >&5
50675 sed 's/^/| /' conftest.$ac_ext >&5
50677 glibcxx_cv_func_modff_use=no
50679 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50680 ac_ext=c
50681 ac_cpp='$CPP $CPPFLAGS'
50682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50690 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
50691 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
50693 if test x$glibcxx_cv_func_modff_use = x"yes"; then
50695 for ac_func in modff
50697 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50698 echo "$as_me:$LINENO: checking for $ac_func" >&5
50699 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50700 if eval "test \"\${$as_ac_var+set}\" = set"; then
50701 echo $ECHO_N "(cached) $ECHO_C" >&6
50702 else
50703 if test x$gcc_no_link = xyes; then
50704 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50705 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50706 { (exit 1); exit 1; }; }
50708 cat >conftest.$ac_ext <<_ACEOF
50709 /* confdefs.h. */
50710 _ACEOF
50711 cat confdefs.h >>conftest.$ac_ext
50712 cat >>conftest.$ac_ext <<_ACEOF
50713 /* end confdefs.h. */
50714 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50715 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50716 #define $ac_func innocuous_$ac_func
50718 /* System header to define __stub macros and hopefully few prototypes,
50719 which can conflict with char $ac_func (); below.
50720 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50721 <limits.h> exists even on freestanding compilers. */
50723 #ifdef __STDC__
50724 # include <limits.h>
50725 #else
50726 # include <assert.h>
50727 #endif
50729 #undef $ac_func
50731 /* Override any gcc2 internal prototype to avoid an error. */
50732 #ifdef __cplusplus
50733 extern "C"
50735 #endif
50736 /* We use char because int might match the return type of a gcc2
50737 builtin and then its argument prototype would still apply. */
50738 char $ac_func ();
50739 /* The GNU C library defines this for functions which it implements
50740 to always fail with ENOSYS. Some functions are actually named
50741 something starting with __ and the normal name is an alias. */
50742 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50743 choke me
50744 #else
50745 char (*f) () = $ac_func;
50746 #endif
50747 #ifdef __cplusplus
50749 #endif
50752 main ()
50754 return f != $ac_func;
50756 return 0;
50758 _ACEOF
50759 rm -f conftest.$ac_objext conftest$ac_exeext
50760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50761 (eval $ac_link) 2>conftest.er1
50762 ac_status=$?
50763 grep -v '^ *+' conftest.er1 >conftest.err
50764 rm -f conftest.er1
50765 cat conftest.err >&5
50766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50767 (exit $ac_status); } &&
50768 { ac_try='test -z "$ac_c_werror_flag"
50769 || test ! -s conftest.err'
50770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50771 (eval $ac_try) 2>&5
50772 ac_status=$?
50773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50774 (exit $ac_status); }; } &&
50775 { ac_try='test -s conftest$ac_exeext'
50776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50777 (eval $ac_try) 2>&5
50778 ac_status=$?
50779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50780 (exit $ac_status); }; }; then
50781 eval "$as_ac_var=yes"
50782 else
50783 echo "$as_me: failed program was:" >&5
50784 sed 's/^/| /' conftest.$ac_ext >&5
50786 eval "$as_ac_var=no"
50788 rm -f conftest.err conftest.$ac_objext \
50789 conftest$ac_exeext conftest.$ac_ext
50791 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50792 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50793 if test `eval echo '${'$as_ac_var'}'` = yes; then
50794 cat >>confdefs.h <<_ACEOF
50795 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50796 _ACEOF
50799 done
50801 else
50803 echo "$as_me:$LINENO: checking for _modff declaration" >&5
50804 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
50805 if test x${glibcxx_cv_func__modff_use+set} != xset; then
50806 if test "${glibcxx_cv_func__modff_use+set}" = set; then
50807 echo $ECHO_N "(cached) $ECHO_C" >&6
50808 else
50812 ac_ext=cc
50813 ac_cpp='$CXXCPP $CPPFLAGS'
50814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50818 cat >conftest.$ac_ext <<_ACEOF
50819 /* confdefs.h. */
50820 _ACEOF
50821 cat confdefs.h >>conftest.$ac_ext
50822 cat >>conftest.$ac_ext <<_ACEOF
50823 /* end confdefs.h. */
50824 #include <math.h>
50826 main ()
50828 _modff(0, 0);
50830 return 0;
50832 _ACEOF
50833 rm -f conftest.$ac_objext
50834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50835 (eval $ac_compile) 2>conftest.er1
50836 ac_status=$?
50837 grep -v '^ *+' conftest.er1 >conftest.err
50838 rm -f conftest.er1
50839 cat conftest.err >&5
50840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50841 (exit $ac_status); } &&
50842 { ac_try='test -z "$ac_cxx_werror_flag"
50843 || test ! -s conftest.err'
50844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50845 (eval $ac_try) 2>&5
50846 ac_status=$?
50847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50848 (exit $ac_status); }; } &&
50849 { ac_try='test -s conftest.$ac_objext'
50850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50851 (eval $ac_try) 2>&5
50852 ac_status=$?
50853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50854 (exit $ac_status); }; }; then
50855 glibcxx_cv_func__modff_use=yes
50856 else
50857 echo "$as_me: failed program was:" >&5
50858 sed 's/^/| /' conftest.$ac_ext >&5
50860 glibcxx_cv_func__modff_use=no
50862 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50863 ac_ext=c
50864 ac_cpp='$CPP $CPPFLAGS'
50865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50873 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
50874 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
50876 if test x$glibcxx_cv_func__modff_use = x"yes"; then
50878 for ac_func in _modff
50880 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50881 echo "$as_me:$LINENO: checking for $ac_func" >&5
50882 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50883 if eval "test \"\${$as_ac_var+set}\" = set"; then
50884 echo $ECHO_N "(cached) $ECHO_C" >&6
50885 else
50886 if test x$gcc_no_link = xyes; then
50887 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50888 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50889 { (exit 1); exit 1; }; }
50891 cat >conftest.$ac_ext <<_ACEOF
50892 /* confdefs.h. */
50893 _ACEOF
50894 cat confdefs.h >>conftest.$ac_ext
50895 cat >>conftest.$ac_ext <<_ACEOF
50896 /* end confdefs.h. */
50897 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50898 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50899 #define $ac_func innocuous_$ac_func
50901 /* System header to define __stub macros and hopefully few prototypes,
50902 which can conflict with char $ac_func (); below.
50903 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50904 <limits.h> exists even on freestanding compilers. */
50906 #ifdef __STDC__
50907 # include <limits.h>
50908 #else
50909 # include <assert.h>
50910 #endif
50912 #undef $ac_func
50914 /* Override any gcc2 internal prototype to avoid an error. */
50915 #ifdef __cplusplus
50916 extern "C"
50918 #endif
50919 /* We use char because int might match the return type of a gcc2
50920 builtin and then its argument prototype would still apply. */
50921 char $ac_func ();
50922 /* The GNU C library defines this for functions which it implements
50923 to always fail with ENOSYS. Some functions are actually named
50924 something starting with __ and the normal name is an alias. */
50925 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50926 choke me
50927 #else
50928 char (*f) () = $ac_func;
50929 #endif
50930 #ifdef __cplusplus
50932 #endif
50935 main ()
50937 return f != $ac_func;
50939 return 0;
50941 _ACEOF
50942 rm -f conftest.$ac_objext conftest$ac_exeext
50943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50944 (eval $ac_link) 2>conftest.er1
50945 ac_status=$?
50946 grep -v '^ *+' conftest.er1 >conftest.err
50947 rm -f conftest.er1
50948 cat conftest.err >&5
50949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50950 (exit $ac_status); } &&
50951 { ac_try='test -z "$ac_c_werror_flag"
50952 || test ! -s conftest.err'
50953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50954 (eval $ac_try) 2>&5
50955 ac_status=$?
50956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50957 (exit $ac_status); }; } &&
50958 { ac_try='test -s conftest$ac_exeext'
50959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50960 (eval $ac_try) 2>&5
50961 ac_status=$?
50962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50963 (exit $ac_status); }; }; then
50964 eval "$as_ac_var=yes"
50965 else
50966 echo "$as_me: failed program was:" >&5
50967 sed 's/^/| /' conftest.$ac_ext >&5
50969 eval "$as_ac_var=no"
50971 rm -f conftest.err conftest.$ac_objext \
50972 conftest$ac_exeext conftest.$ac_ext
50974 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50975 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50976 if test `eval echo '${'$as_ac_var'}'` = yes; then
50977 cat >>confdefs.h <<_ACEOF
50978 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50979 _ACEOF
50982 done
50992 echo "$as_me:$LINENO: checking for modf declaration" >&5
50993 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
50994 if test x${glibcxx_cv_func_modf_use+set} != xset; then
50995 if test "${glibcxx_cv_func_modf_use+set}" = set; then
50996 echo $ECHO_N "(cached) $ECHO_C" >&6
50997 else
51001 ac_ext=cc
51002 ac_cpp='$CXXCPP $CPPFLAGS'
51003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51007 cat >conftest.$ac_ext <<_ACEOF
51008 /* confdefs.h. */
51009 _ACEOF
51010 cat confdefs.h >>conftest.$ac_ext
51011 cat >>conftest.$ac_ext <<_ACEOF
51012 /* end confdefs.h. */
51013 #include <math.h>
51015 main ()
51017 modf(0, 0);
51019 return 0;
51021 _ACEOF
51022 rm -f conftest.$ac_objext
51023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51024 (eval $ac_compile) 2>conftest.er1
51025 ac_status=$?
51026 grep -v '^ *+' conftest.er1 >conftest.err
51027 rm -f conftest.er1
51028 cat conftest.err >&5
51029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51030 (exit $ac_status); } &&
51031 { ac_try='test -z "$ac_cxx_werror_flag"
51032 || test ! -s conftest.err'
51033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51034 (eval $ac_try) 2>&5
51035 ac_status=$?
51036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51037 (exit $ac_status); }; } &&
51038 { ac_try='test -s conftest.$ac_objext'
51039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51040 (eval $ac_try) 2>&5
51041 ac_status=$?
51042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51043 (exit $ac_status); }; }; then
51044 glibcxx_cv_func_modf_use=yes
51045 else
51046 echo "$as_me: failed program was:" >&5
51047 sed 's/^/| /' conftest.$ac_ext >&5
51049 glibcxx_cv_func_modf_use=no
51051 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51052 ac_ext=c
51053 ac_cpp='$CPP $CPPFLAGS'
51054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51062 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
51063 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
51065 if test x$glibcxx_cv_func_modf_use = x"yes"; then
51067 for ac_func in modf
51069 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51070 echo "$as_me:$LINENO: checking for $ac_func" >&5
51071 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51072 if eval "test \"\${$as_ac_var+set}\" = set"; then
51073 echo $ECHO_N "(cached) $ECHO_C" >&6
51074 else
51075 if test x$gcc_no_link = xyes; then
51076 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51077 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51078 { (exit 1); exit 1; }; }
51080 cat >conftest.$ac_ext <<_ACEOF
51081 /* confdefs.h. */
51082 _ACEOF
51083 cat confdefs.h >>conftest.$ac_ext
51084 cat >>conftest.$ac_ext <<_ACEOF
51085 /* end confdefs.h. */
51086 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51087 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51088 #define $ac_func innocuous_$ac_func
51090 /* System header to define __stub macros and hopefully few prototypes,
51091 which can conflict with char $ac_func (); below.
51092 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51093 <limits.h> exists even on freestanding compilers. */
51095 #ifdef __STDC__
51096 # include <limits.h>
51097 #else
51098 # include <assert.h>
51099 #endif
51101 #undef $ac_func
51103 /* Override any gcc2 internal prototype to avoid an error. */
51104 #ifdef __cplusplus
51105 extern "C"
51107 #endif
51108 /* We use char because int might match the return type of a gcc2
51109 builtin and then its argument prototype would still apply. */
51110 char $ac_func ();
51111 /* The GNU C library defines this for functions which it implements
51112 to always fail with ENOSYS. Some functions are actually named
51113 something starting with __ and the normal name is an alias. */
51114 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51115 choke me
51116 #else
51117 char (*f) () = $ac_func;
51118 #endif
51119 #ifdef __cplusplus
51121 #endif
51124 main ()
51126 return f != $ac_func;
51128 return 0;
51130 _ACEOF
51131 rm -f conftest.$ac_objext conftest$ac_exeext
51132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51133 (eval $ac_link) 2>conftest.er1
51134 ac_status=$?
51135 grep -v '^ *+' conftest.er1 >conftest.err
51136 rm -f conftest.er1
51137 cat conftest.err >&5
51138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51139 (exit $ac_status); } &&
51140 { ac_try='test -z "$ac_c_werror_flag"
51141 || test ! -s conftest.err'
51142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51143 (eval $ac_try) 2>&5
51144 ac_status=$?
51145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51146 (exit $ac_status); }; } &&
51147 { ac_try='test -s conftest$ac_exeext'
51148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51149 (eval $ac_try) 2>&5
51150 ac_status=$?
51151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51152 (exit $ac_status); }; }; then
51153 eval "$as_ac_var=yes"
51154 else
51155 echo "$as_me: failed program was:" >&5
51156 sed 's/^/| /' conftest.$ac_ext >&5
51158 eval "$as_ac_var=no"
51160 rm -f conftest.err conftest.$ac_objext \
51161 conftest$ac_exeext conftest.$ac_ext
51163 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51164 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51165 if test `eval echo '${'$as_ac_var'}'` = yes; then
51166 cat >>confdefs.h <<_ACEOF
51167 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51168 _ACEOF
51171 done
51173 else
51175 echo "$as_me:$LINENO: checking for _modf declaration" >&5
51176 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
51177 if test x${glibcxx_cv_func__modf_use+set} != xset; then
51178 if test "${glibcxx_cv_func__modf_use+set}" = set; then
51179 echo $ECHO_N "(cached) $ECHO_C" >&6
51180 else
51184 ac_ext=cc
51185 ac_cpp='$CXXCPP $CPPFLAGS'
51186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51190 cat >conftest.$ac_ext <<_ACEOF
51191 /* confdefs.h. */
51192 _ACEOF
51193 cat confdefs.h >>conftest.$ac_ext
51194 cat >>conftest.$ac_ext <<_ACEOF
51195 /* end confdefs.h. */
51196 #include <math.h>
51198 main ()
51200 _modf(0, 0);
51202 return 0;
51204 _ACEOF
51205 rm -f conftest.$ac_objext
51206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51207 (eval $ac_compile) 2>conftest.er1
51208 ac_status=$?
51209 grep -v '^ *+' conftest.er1 >conftest.err
51210 rm -f conftest.er1
51211 cat conftest.err >&5
51212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51213 (exit $ac_status); } &&
51214 { ac_try='test -z "$ac_cxx_werror_flag"
51215 || test ! -s conftest.err'
51216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51217 (eval $ac_try) 2>&5
51218 ac_status=$?
51219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51220 (exit $ac_status); }; } &&
51221 { ac_try='test -s conftest.$ac_objext'
51222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51223 (eval $ac_try) 2>&5
51224 ac_status=$?
51225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51226 (exit $ac_status); }; }; then
51227 glibcxx_cv_func__modf_use=yes
51228 else
51229 echo "$as_me: failed program was:" >&5
51230 sed 's/^/| /' conftest.$ac_ext >&5
51232 glibcxx_cv_func__modf_use=no
51234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51235 ac_ext=c
51236 ac_cpp='$CPP $CPPFLAGS'
51237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51245 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
51246 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
51248 if test x$glibcxx_cv_func__modf_use = x"yes"; then
51250 for ac_func in _modf
51252 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51253 echo "$as_me:$LINENO: checking for $ac_func" >&5
51254 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51255 if eval "test \"\${$as_ac_var+set}\" = set"; then
51256 echo $ECHO_N "(cached) $ECHO_C" >&6
51257 else
51258 if test x$gcc_no_link = xyes; then
51259 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51260 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51261 { (exit 1); exit 1; }; }
51263 cat >conftest.$ac_ext <<_ACEOF
51264 /* confdefs.h. */
51265 _ACEOF
51266 cat confdefs.h >>conftest.$ac_ext
51267 cat >>conftest.$ac_ext <<_ACEOF
51268 /* end confdefs.h. */
51269 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51270 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51271 #define $ac_func innocuous_$ac_func
51273 /* System header to define __stub macros and hopefully few prototypes,
51274 which can conflict with char $ac_func (); below.
51275 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51276 <limits.h> exists even on freestanding compilers. */
51278 #ifdef __STDC__
51279 # include <limits.h>
51280 #else
51281 # include <assert.h>
51282 #endif
51284 #undef $ac_func
51286 /* Override any gcc2 internal prototype to avoid an error. */
51287 #ifdef __cplusplus
51288 extern "C"
51290 #endif
51291 /* We use char because int might match the return type of a gcc2
51292 builtin and then its argument prototype would still apply. */
51293 char $ac_func ();
51294 /* The GNU C library defines this for functions which it implements
51295 to always fail with ENOSYS. Some functions are actually named
51296 something starting with __ and the normal name is an alias. */
51297 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51298 choke me
51299 #else
51300 char (*f) () = $ac_func;
51301 #endif
51302 #ifdef __cplusplus
51304 #endif
51307 main ()
51309 return f != $ac_func;
51311 return 0;
51313 _ACEOF
51314 rm -f conftest.$ac_objext conftest$ac_exeext
51315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51316 (eval $ac_link) 2>conftest.er1
51317 ac_status=$?
51318 grep -v '^ *+' conftest.er1 >conftest.err
51319 rm -f conftest.er1
51320 cat conftest.err >&5
51321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51322 (exit $ac_status); } &&
51323 { ac_try='test -z "$ac_c_werror_flag"
51324 || test ! -s conftest.err'
51325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51326 (eval $ac_try) 2>&5
51327 ac_status=$?
51328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51329 (exit $ac_status); }; } &&
51330 { ac_try='test -s conftest$ac_exeext'
51331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51332 (eval $ac_try) 2>&5
51333 ac_status=$?
51334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51335 (exit $ac_status); }; }; then
51336 eval "$as_ac_var=yes"
51337 else
51338 echo "$as_me: failed program was:" >&5
51339 sed 's/^/| /' conftest.$ac_ext >&5
51341 eval "$as_ac_var=no"
51343 rm -f conftest.err conftest.$ac_objext \
51344 conftest$ac_exeext conftest.$ac_ext
51346 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51347 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51348 if test `eval echo '${'$as_ac_var'}'` = yes; then
51349 cat >>confdefs.h <<_ACEOF
51350 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51351 _ACEOF
51354 done
51364 echo "$as_me:$LINENO: checking for powf declaration" >&5
51365 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
51366 if test x${glibcxx_cv_func_powf_use+set} != xset; then
51367 if test "${glibcxx_cv_func_powf_use+set}" = set; then
51368 echo $ECHO_N "(cached) $ECHO_C" >&6
51369 else
51373 ac_ext=cc
51374 ac_cpp='$CXXCPP $CPPFLAGS'
51375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51379 cat >conftest.$ac_ext <<_ACEOF
51380 /* confdefs.h. */
51381 _ACEOF
51382 cat confdefs.h >>conftest.$ac_ext
51383 cat >>conftest.$ac_ext <<_ACEOF
51384 /* end confdefs.h. */
51385 #include <math.h>
51387 main ()
51389 powf(0, 0);
51391 return 0;
51393 _ACEOF
51394 rm -f conftest.$ac_objext
51395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51396 (eval $ac_compile) 2>conftest.er1
51397 ac_status=$?
51398 grep -v '^ *+' conftest.er1 >conftest.err
51399 rm -f conftest.er1
51400 cat conftest.err >&5
51401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51402 (exit $ac_status); } &&
51403 { ac_try='test -z "$ac_cxx_werror_flag"
51404 || test ! -s conftest.err'
51405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51406 (eval $ac_try) 2>&5
51407 ac_status=$?
51408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51409 (exit $ac_status); }; } &&
51410 { ac_try='test -s conftest.$ac_objext'
51411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51412 (eval $ac_try) 2>&5
51413 ac_status=$?
51414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51415 (exit $ac_status); }; }; then
51416 glibcxx_cv_func_powf_use=yes
51417 else
51418 echo "$as_me: failed program was:" >&5
51419 sed 's/^/| /' conftest.$ac_ext >&5
51421 glibcxx_cv_func_powf_use=no
51423 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51424 ac_ext=c
51425 ac_cpp='$CPP $CPPFLAGS'
51426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51434 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
51435 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
51437 if test x$glibcxx_cv_func_powf_use = x"yes"; then
51439 for ac_func in powf
51441 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51442 echo "$as_me:$LINENO: checking for $ac_func" >&5
51443 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51444 if eval "test \"\${$as_ac_var+set}\" = set"; then
51445 echo $ECHO_N "(cached) $ECHO_C" >&6
51446 else
51447 if test x$gcc_no_link = xyes; then
51448 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51449 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51450 { (exit 1); exit 1; }; }
51452 cat >conftest.$ac_ext <<_ACEOF
51453 /* confdefs.h. */
51454 _ACEOF
51455 cat confdefs.h >>conftest.$ac_ext
51456 cat >>conftest.$ac_ext <<_ACEOF
51457 /* end confdefs.h. */
51458 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51459 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51460 #define $ac_func innocuous_$ac_func
51462 /* System header to define __stub macros and hopefully few prototypes,
51463 which can conflict with char $ac_func (); below.
51464 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51465 <limits.h> exists even on freestanding compilers. */
51467 #ifdef __STDC__
51468 # include <limits.h>
51469 #else
51470 # include <assert.h>
51471 #endif
51473 #undef $ac_func
51475 /* Override any gcc2 internal prototype to avoid an error. */
51476 #ifdef __cplusplus
51477 extern "C"
51479 #endif
51480 /* We use char because int might match the return type of a gcc2
51481 builtin and then its argument prototype would still apply. */
51482 char $ac_func ();
51483 /* The GNU C library defines this for functions which it implements
51484 to always fail with ENOSYS. Some functions are actually named
51485 something starting with __ and the normal name is an alias. */
51486 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51487 choke me
51488 #else
51489 char (*f) () = $ac_func;
51490 #endif
51491 #ifdef __cplusplus
51493 #endif
51496 main ()
51498 return f != $ac_func;
51500 return 0;
51502 _ACEOF
51503 rm -f conftest.$ac_objext conftest$ac_exeext
51504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51505 (eval $ac_link) 2>conftest.er1
51506 ac_status=$?
51507 grep -v '^ *+' conftest.er1 >conftest.err
51508 rm -f conftest.er1
51509 cat conftest.err >&5
51510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51511 (exit $ac_status); } &&
51512 { ac_try='test -z "$ac_c_werror_flag"
51513 || test ! -s conftest.err'
51514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51515 (eval $ac_try) 2>&5
51516 ac_status=$?
51517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51518 (exit $ac_status); }; } &&
51519 { ac_try='test -s conftest$ac_exeext'
51520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51521 (eval $ac_try) 2>&5
51522 ac_status=$?
51523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51524 (exit $ac_status); }; }; then
51525 eval "$as_ac_var=yes"
51526 else
51527 echo "$as_me: failed program was:" >&5
51528 sed 's/^/| /' conftest.$ac_ext >&5
51530 eval "$as_ac_var=no"
51532 rm -f conftest.err conftest.$ac_objext \
51533 conftest$ac_exeext conftest.$ac_ext
51535 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51536 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51537 if test `eval echo '${'$as_ac_var'}'` = yes; then
51538 cat >>confdefs.h <<_ACEOF
51539 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51540 _ACEOF
51543 done
51545 else
51547 echo "$as_me:$LINENO: checking for _powf declaration" >&5
51548 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
51549 if test x${glibcxx_cv_func__powf_use+set} != xset; then
51550 if test "${glibcxx_cv_func__powf_use+set}" = set; then
51551 echo $ECHO_N "(cached) $ECHO_C" >&6
51552 else
51556 ac_ext=cc
51557 ac_cpp='$CXXCPP $CPPFLAGS'
51558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51562 cat >conftest.$ac_ext <<_ACEOF
51563 /* confdefs.h. */
51564 _ACEOF
51565 cat confdefs.h >>conftest.$ac_ext
51566 cat >>conftest.$ac_ext <<_ACEOF
51567 /* end confdefs.h. */
51568 #include <math.h>
51570 main ()
51572 _powf(0, 0);
51574 return 0;
51576 _ACEOF
51577 rm -f conftest.$ac_objext
51578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51579 (eval $ac_compile) 2>conftest.er1
51580 ac_status=$?
51581 grep -v '^ *+' conftest.er1 >conftest.err
51582 rm -f conftest.er1
51583 cat conftest.err >&5
51584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51585 (exit $ac_status); } &&
51586 { ac_try='test -z "$ac_cxx_werror_flag"
51587 || test ! -s conftest.err'
51588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51589 (eval $ac_try) 2>&5
51590 ac_status=$?
51591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51592 (exit $ac_status); }; } &&
51593 { ac_try='test -s conftest.$ac_objext'
51594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51595 (eval $ac_try) 2>&5
51596 ac_status=$?
51597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51598 (exit $ac_status); }; }; then
51599 glibcxx_cv_func__powf_use=yes
51600 else
51601 echo "$as_me: failed program was:" >&5
51602 sed 's/^/| /' conftest.$ac_ext >&5
51604 glibcxx_cv_func__powf_use=no
51606 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51607 ac_ext=c
51608 ac_cpp='$CPP $CPPFLAGS'
51609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51617 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
51618 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
51620 if test x$glibcxx_cv_func__powf_use = x"yes"; then
51622 for ac_func in _powf
51624 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51625 echo "$as_me:$LINENO: checking for $ac_func" >&5
51626 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51627 if eval "test \"\${$as_ac_var+set}\" = set"; then
51628 echo $ECHO_N "(cached) $ECHO_C" >&6
51629 else
51630 if test x$gcc_no_link = xyes; then
51631 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51632 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51633 { (exit 1); exit 1; }; }
51635 cat >conftest.$ac_ext <<_ACEOF
51636 /* confdefs.h. */
51637 _ACEOF
51638 cat confdefs.h >>conftest.$ac_ext
51639 cat >>conftest.$ac_ext <<_ACEOF
51640 /* end confdefs.h. */
51641 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51642 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51643 #define $ac_func innocuous_$ac_func
51645 /* System header to define __stub macros and hopefully few prototypes,
51646 which can conflict with char $ac_func (); below.
51647 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51648 <limits.h> exists even on freestanding compilers. */
51650 #ifdef __STDC__
51651 # include <limits.h>
51652 #else
51653 # include <assert.h>
51654 #endif
51656 #undef $ac_func
51658 /* Override any gcc2 internal prototype to avoid an error. */
51659 #ifdef __cplusplus
51660 extern "C"
51662 #endif
51663 /* We use char because int might match the return type of a gcc2
51664 builtin and then its argument prototype would still apply. */
51665 char $ac_func ();
51666 /* The GNU C library defines this for functions which it implements
51667 to always fail with ENOSYS. Some functions are actually named
51668 something starting with __ and the normal name is an alias. */
51669 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51670 choke me
51671 #else
51672 char (*f) () = $ac_func;
51673 #endif
51674 #ifdef __cplusplus
51676 #endif
51679 main ()
51681 return f != $ac_func;
51683 return 0;
51685 _ACEOF
51686 rm -f conftest.$ac_objext conftest$ac_exeext
51687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51688 (eval $ac_link) 2>conftest.er1
51689 ac_status=$?
51690 grep -v '^ *+' conftest.er1 >conftest.err
51691 rm -f conftest.er1
51692 cat conftest.err >&5
51693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51694 (exit $ac_status); } &&
51695 { ac_try='test -z "$ac_c_werror_flag"
51696 || test ! -s conftest.err'
51697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51698 (eval $ac_try) 2>&5
51699 ac_status=$?
51700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51701 (exit $ac_status); }; } &&
51702 { ac_try='test -s conftest$ac_exeext'
51703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51704 (eval $ac_try) 2>&5
51705 ac_status=$?
51706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51707 (exit $ac_status); }; }; then
51708 eval "$as_ac_var=yes"
51709 else
51710 echo "$as_me: failed program was:" >&5
51711 sed 's/^/| /' conftest.$ac_ext >&5
51713 eval "$as_ac_var=no"
51715 rm -f conftest.err conftest.$ac_objext \
51716 conftest$ac_exeext conftest.$ac_ext
51718 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51719 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51720 if test `eval echo '${'$as_ac_var'}'` = yes; then
51721 cat >>confdefs.h <<_ACEOF
51722 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51723 _ACEOF
51726 done
51736 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
51737 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
51738 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
51739 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
51740 echo $ECHO_N "(cached) $ECHO_C" >&6
51741 else
51745 ac_ext=cc
51746 ac_cpp='$CXXCPP $CPPFLAGS'
51747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51751 cat >conftest.$ac_ext <<_ACEOF
51752 /* confdefs.h. */
51753 _ACEOF
51754 cat confdefs.h >>conftest.$ac_ext
51755 cat >>conftest.$ac_ext <<_ACEOF
51756 /* end confdefs.h. */
51757 #include <math.h>
51758 #ifdef HAVE_IEEEFP_H
51759 #include <ieeefp.h>
51760 #endif
51763 main ()
51765 sqrtf(0);
51767 return 0;
51769 _ACEOF
51770 rm -f conftest.$ac_objext
51771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51772 (eval $ac_compile) 2>conftest.er1
51773 ac_status=$?
51774 grep -v '^ *+' conftest.er1 >conftest.err
51775 rm -f conftest.er1
51776 cat conftest.err >&5
51777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51778 (exit $ac_status); } &&
51779 { ac_try='test -z "$ac_cxx_werror_flag"
51780 || test ! -s conftest.err'
51781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51782 (eval $ac_try) 2>&5
51783 ac_status=$?
51784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51785 (exit $ac_status); }; } &&
51786 { ac_try='test -s conftest.$ac_objext'
51787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51788 (eval $ac_try) 2>&5
51789 ac_status=$?
51790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51791 (exit $ac_status); }; }; then
51792 glibcxx_cv_func_sqrtf_use=yes
51793 else
51794 echo "$as_me: failed program was:" >&5
51795 sed 's/^/| /' conftest.$ac_ext >&5
51797 glibcxx_cv_func_sqrtf_use=no
51799 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51800 ac_ext=c
51801 ac_cpp='$CPP $CPPFLAGS'
51802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51810 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
51811 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
51813 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
51815 for ac_func in sqrtf
51817 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51818 echo "$as_me:$LINENO: checking for $ac_func" >&5
51819 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51820 if eval "test \"\${$as_ac_var+set}\" = set"; then
51821 echo $ECHO_N "(cached) $ECHO_C" >&6
51822 else
51823 if test x$gcc_no_link = xyes; then
51824 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51825 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51826 { (exit 1); exit 1; }; }
51828 cat >conftest.$ac_ext <<_ACEOF
51829 /* confdefs.h. */
51830 _ACEOF
51831 cat confdefs.h >>conftest.$ac_ext
51832 cat >>conftest.$ac_ext <<_ACEOF
51833 /* end confdefs.h. */
51834 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51835 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51836 #define $ac_func innocuous_$ac_func
51838 /* System header to define __stub macros and hopefully few prototypes,
51839 which can conflict with char $ac_func (); below.
51840 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51841 <limits.h> exists even on freestanding compilers. */
51843 #ifdef __STDC__
51844 # include <limits.h>
51845 #else
51846 # include <assert.h>
51847 #endif
51849 #undef $ac_func
51851 /* Override any gcc2 internal prototype to avoid an error. */
51852 #ifdef __cplusplus
51853 extern "C"
51855 #endif
51856 /* We use char because int might match the return type of a gcc2
51857 builtin and then its argument prototype would still apply. */
51858 char $ac_func ();
51859 /* The GNU C library defines this for functions which it implements
51860 to always fail with ENOSYS. Some functions are actually named
51861 something starting with __ and the normal name is an alias. */
51862 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51863 choke me
51864 #else
51865 char (*f) () = $ac_func;
51866 #endif
51867 #ifdef __cplusplus
51869 #endif
51872 main ()
51874 return f != $ac_func;
51876 return 0;
51878 _ACEOF
51879 rm -f conftest.$ac_objext conftest$ac_exeext
51880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51881 (eval $ac_link) 2>conftest.er1
51882 ac_status=$?
51883 grep -v '^ *+' conftest.er1 >conftest.err
51884 rm -f conftest.er1
51885 cat conftest.err >&5
51886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51887 (exit $ac_status); } &&
51888 { ac_try='test -z "$ac_c_werror_flag"
51889 || test ! -s conftest.err'
51890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51891 (eval $ac_try) 2>&5
51892 ac_status=$?
51893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51894 (exit $ac_status); }; } &&
51895 { ac_try='test -s conftest$ac_exeext'
51896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51897 (eval $ac_try) 2>&5
51898 ac_status=$?
51899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51900 (exit $ac_status); }; }; then
51901 eval "$as_ac_var=yes"
51902 else
51903 echo "$as_me: failed program was:" >&5
51904 sed 's/^/| /' conftest.$ac_ext >&5
51906 eval "$as_ac_var=no"
51908 rm -f conftest.err conftest.$ac_objext \
51909 conftest$ac_exeext conftest.$ac_ext
51911 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51912 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51913 if test `eval echo '${'$as_ac_var'}'` = yes; then
51914 cat >>confdefs.h <<_ACEOF
51915 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51916 _ACEOF
51919 done
51921 else
51923 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
51924 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
51925 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
51926 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
51927 echo $ECHO_N "(cached) $ECHO_C" >&6
51928 else
51932 ac_ext=cc
51933 ac_cpp='$CXXCPP $CPPFLAGS'
51934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51938 cat >conftest.$ac_ext <<_ACEOF
51939 /* confdefs.h. */
51940 _ACEOF
51941 cat confdefs.h >>conftest.$ac_ext
51942 cat >>conftest.$ac_ext <<_ACEOF
51943 /* end confdefs.h. */
51944 #include <math.h>
51945 #ifdef HAVE_IEEEFP_H
51946 #include <ieeefp.h>
51947 #endif
51950 main ()
51952 _sqrtf(0);
51954 return 0;
51956 _ACEOF
51957 rm -f conftest.$ac_objext
51958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51959 (eval $ac_compile) 2>conftest.er1
51960 ac_status=$?
51961 grep -v '^ *+' conftest.er1 >conftest.err
51962 rm -f conftest.er1
51963 cat conftest.err >&5
51964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51965 (exit $ac_status); } &&
51966 { ac_try='test -z "$ac_cxx_werror_flag"
51967 || test ! -s conftest.err'
51968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51969 (eval $ac_try) 2>&5
51970 ac_status=$?
51971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51972 (exit $ac_status); }; } &&
51973 { ac_try='test -s conftest.$ac_objext'
51974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51975 (eval $ac_try) 2>&5
51976 ac_status=$?
51977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51978 (exit $ac_status); }; }; then
51979 glibcxx_cv_func__sqrtf_use=yes
51980 else
51981 echo "$as_me: failed program was:" >&5
51982 sed 's/^/| /' conftest.$ac_ext >&5
51984 glibcxx_cv_func__sqrtf_use=no
51986 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51987 ac_ext=c
51988 ac_cpp='$CPP $CPPFLAGS'
51989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51997 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
51998 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
52000 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
52002 for ac_func in _sqrtf
52004 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52005 echo "$as_me:$LINENO: checking for $ac_func" >&5
52006 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52007 if eval "test \"\${$as_ac_var+set}\" = set"; then
52008 echo $ECHO_N "(cached) $ECHO_C" >&6
52009 else
52010 if test x$gcc_no_link = xyes; then
52011 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52012 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52013 { (exit 1); exit 1; }; }
52015 cat >conftest.$ac_ext <<_ACEOF
52016 /* confdefs.h. */
52017 _ACEOF
52018 cat confdefs.h >>conftest.$ac_ext
52019 cat >>conftest.$ac_ext <<_ACEOF
52020 /* end confdefs.h. */
52021 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52022 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52023 #define $ac_func innocuous_$ac_func
52025 /* System header to define __stub macros and hopefully few prototypes,
52026 which can conflict with char $ac_func (); below.
52027 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52028 <limits.h> exists even on freestanding compilers. */
52030 #ifdef __STDC__
52031 # include <limits.h>
52032 #else
52033 # include <assert.h>
52034 #endif
52036 #undef $ac_func
52038 /* Override any gcc2 internal prototype to avoid an error. */
52039 #ifdef __cplusplus
52040 extern "C"
52042 #endif
52043 /* We use char because int might match the return type of a gcc2
52044 builtin and then its argument prototype would still apply. */
52045 char $ac_func ();
52046 /* The GNU C library defines this for functions which it implements
52047 to always fail with ENOSYS. Some functions are actually named
52048 something starting with __ and the normal name is an alias. */
52049 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52050 choke me
52051 #else
52052 char (*f) () = $ac_func;
52053 #endif
52054 #ifdef __cplusplus
52056 #endif
52059 main ()
52061 return f != $ac_func;
52063 return 0;
52065 _ACEOF
52066 rm -f conftest.$ac_objext conftest$ac_exeext
52067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52068 (eval $ac_link) 2>conftest.er1
52069 ac_status=$?
52070 grep -v '^ *+' conftest.er1 >conftest.err
52071 rm -f conftest.er1
52072 cat conftest.err >&5
52073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52074 (exit $ac_status); } &&
52075 { ac_try='test -z "$ac_c_werror_flag"
52076 || test ! -s conftest.err'
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); }; } &&
52082 { ac_try='test -s conftest$ac_exeext'
52083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52084 (eval $ac_try) 2>&5
52085 ac_status=$?
52086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52087 (exit $ac_status); }; }; then
52088 eval "$as_ac_var=yes"
52089 else
52090 echo "$as_me: failed program was:" >&5
52091 sed 's/^/| /' conftest.$ac_ext >&5
52093 eval "$as_ac_var=no"
52095 rm -f conftest.err conftest.$ac_objext \
52096 conftest$ac_exeext conftest.$ac_ext
52098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52099 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52100 if test `eval echo '${'$as_ac_var'}'` = yes; then
52101 cat >>confdefs.h <<_ACEOF
52102 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52103 _ACEOF
52106 done
52116 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
52117 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
52118 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
52119 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
52120 echo $ECHO_N "(cached) $ECHO_C" >&6
52121 else
52125 ac_ext=cc
52126 ac_cpp='$CXXCPP $CPPFLAGS'
52127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52131 cat >conftest.$ac_ext <<_ACEOF
52132 /* confdefs.h. */
52133 _ACEOF
52134 cat confdefs.h >>conftest.$ac_ext
52135 cat >>conftest.$ac_ext <<_ACEOF
52136 /* end confdefs.h. */
52137 #include <math.h>
52139 main ()
52141 sincosf(0, 0, 0);
52143 return 0;
52145 _ACEOF
52146 rm -f conftest.$ac_objext
52147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52148 (eval $ac_compile) 2>conftest.er1
52149 ac_status=$?
52150 grep -v '^ *+' conftest.er1 >conftest.err
52151 rm -f conftest.er1
52152 cat conftest.err >&5
52153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52154 (exit $ac_status); } &&
52155 { ac_try='test -z "$ac_cxx_werror_flag"
52156 || test ! -s conftest.err'
52157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52158 (eval $ac_try) 2>&5
52159 ac_status=$?
52160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52161 (exit $ac_status); }; } &&
52162 { ac_try='test -s conftest.$ac_objext'
52163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52164 (eval $ac_try) 2>&5
52165 ac_status=$?
52166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52167 (exit $ac_status); }; }; then
52168 glibcxx_cv_func_sincosf_use=yes
52169 else
52170 echo "$as_me: failed program was:" >&5
52171 sed 's/^/| /' conftest.$ac_ext >&5
52173 glibcxx_cv_func_sincosf_use=no
52175 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52176 ac_ext=c
52177 ac_cpp='$CPP $CPPFLAGS'
52178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52186 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
52187 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
52189 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
52191 for ac_func in sincosf
52193 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52194 echo "$as_me:$LINENO: checking for $ac_func" >&5
52195 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52196 if eval "test \"\${$as_ac_var+set}\" = set"; then
52197 echo $ECHO_N "(cached) $ECHO_C" >&6
52198 else
52199 if test x$gcc_no_link = xyes; then
52200 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52201 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52202 { (exit 1); exit 1; }; }
52204 cat >conftest.$ac_ext <<_ACEOF
52205 /* confdefs.h. */
52206 _ACEOF
52207 cat confdefs.h >>conftest.$ac_ext
52208 cat >>conftest.$ac_ext <<_ACEOF
52209 /* end confdefs.h. */
52210 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52211 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52212 #define $ac_func innocuous_$ac_func
52214 /* System header to define __stub macros and hopefully few prototypes,
52215 which can conflict with char $ac_func (); below.
52216 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52217 <limits.h> exists even on freestanding compilers. */
52219 #ifdef __STDC__
52220 # include <limits.h>
52221 #else
52222 # include <assert.h>
52223 #endif
52225 #undef $ac_func
52227 /* Override any gcc2 internal prototype to avoid an error. */
52228 #ifdef __cplusplus
52229 extern "C"
52231 #endif
52232 /* We use char because int might match the return type of a gcc2
52233 builtin and then its argument prototype would still apply. */
52234 char $ac_func ();
52235 /* The GNU C library defines this for functions which it implements
52236 to always fail with ENOSYS. Some functions are actually named
52237 something starting with __ and the normal name is an alias. */
52238 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52239 choke me
52240 #else
52241 char (*f) () = $ac_func;
52242 #endif
52243 #ifdef __cplusplus
52245 #endif
52248 main ()
52250 return f != $ac_func;
52252 return 0;
52254 _ACEOF
52255 rm -f conftest.$ac_objext conftest$ac_exeext
52256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52257 (eval $ac_link) 2>conftest.er1
52258 ac_status=$?
52259 grep -v '^ *+' conftest.er1 >conftest.err
52260 rm -f conftest.er1
52261 cat conftest.err >&5
52262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52263 (exit $ac_status); } &&
52264 { ac_try='test -z "$ac_c_werror_flag"
52265 || test ! -s conftest.err'
52266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52267 (eval $ac_try) 2>&5
52268 ac_status=$?
52269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52270 (exit $ac_status); }; } &&
52271 { ac_try='test -s conftest$ac_exeext'
52272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52273 (eval $ac_try) 2>&5
52274 ac_status=$?
52275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52276 (exit $ac_status); }; }; then
52277 eval "$as_ac_var=yes"
52278 else
52279 echo "$as_me: failed program was:" >&5
52280 sed 's/^/| /' conftest.$ac_ext >&5
52282 eval "$as_ac_var=no"
52284 rm -f conftest.err conftest.$ac_objext \
52285 conftest$ac_exeext conftest.$ac_ext
52287 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52288 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52289 if test `eval echo '${'$as_ac_var'}'` = yes; then
52290 cat >>confdefs.h <<_ACEOF
52291 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52292 _ACEOF
52295 done
52297 else
52299 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
52300 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
52301 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
52302 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
52303 echo $ECHO_N "(cached) $ECHO_C" >&6
52304 else
52308 ac_ext=cc
52309 ac_cpp='$CXXCPP $CPPFLAGS'
52310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52314 cat >conftest.$ac_ext <<_ACEOF
52315 /* confdefs.h. */
52316 _ACEOF
52317 cat confdefs.h >>conftest.$ac_ext
52318 cat >>conftest.$ac_ext <<_ACEOF
52319 /* end confdefs.h. */
52320 #include <math.h>
52322 main ()
52324 _sincosf(0, 0, 0);
52326 return 0;
52328 _ACEOF
52329 rm -f conftest.$ac_objext
52330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52331 (eval $ac_compile) 2>conftest.er1
52332 ac_status=$?
52333 grep -v '^ *+' conftest.er1 >conftest.err
52334 rm -f conftest.er1
52335 cat conftest.err >&5
52336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52337 (exit $ac_status); } &&
52338 { ac_try='test -z "$ac_cxx_werror_flag"
52339 || test ! -s conftest.err'
52340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52341 (eval $ac_try) 2>&5
52342 ac_status=$?
52343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52344 (exit $ac_status); }; } &&
52345 { ac_try='test -s conftest.$ac_objext'
52346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52347 (eval $ac_try) 2>&5
52348 ac_status=$?
52349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52350 (exit $ac_status); }; }; then
52351 glibcxx_cv_func__sincosf_use=yes
52352 else
52353 echo "$as_me: failed program was:" >&5
52354 sed 's/^/| /' conftest.$ac_ext >&5
52356 glibcxx_cv_func__sincosf_use=no
52358 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52359 ac_ext=c
52360 ac_cpp='$CPP $CPPFLAGS'
52361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52369 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
52370 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
52372 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
52374 for ac_func in _sincosf
52376 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52377 echo "$as_me:$LINENO: checking for $ac_func" >&5
52378 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52379 if eval "test \"\${$as_ac_var+set}\" = set"; then
52380 echo $ECHO_N "(cached) $ECHO_C" >&6
52381 else
52382 if test x$gcc_no_link = xyes; then
52383 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52384 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52385 { (exit 1); exit 1; }; }
52387 cat >conftest.$ac_ext <<_ACEOF
52388 /* confdefs.h. */
52389 _ACEOF
52390 cat confdefs.h >>conftest.$ac_ext
52391 cat >>conftest.$ac_ext <<_ACEOF
52392 /* end confdefs.h. */
52393 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52394 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52395 #define $ac_func innocuous_$ac_func
52397 /* System header to define __stub macros and hopefully few prototypes,
52398 which can conflict with char $ac_func (); below.
52399 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52400 <limits.h> exists even on freestanding compilers. */
52402 #ifdef __STDC__
52403 # include <limits.h>
52404 #else
52405 # include <assert.h>
52406 #endif
52408 #undef $ac_func
52410 /* Override any gcc2 internal prototype to avoid an error. */
52411 #ifdef __cplusplus
52412 extern "C"
52414 #endif
52415 /* We use char because int might match the return type of a gcc2
52416 builtin and then its argument prototype would still apply. */
52417 char $ac_func ();
52418 /* The GNU C library defines this for functions which it implements
52419 to always fail with ENOSYS. Some functions are actually named
52420 something starting with __ and the normal name is an alias. */
52421 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52422 choke me
52423 #else
52424 char (*f) () = $ac_func;
52425 #endif
52426 #ifdef __cplusplus
52428 #endif
52431 main ()
52433 return f != $ac_func;
52435 return 0;
52437 _ACEOF
52438 rm -f conftest.$ac_objext conftest$ac_exeext
52439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52440 (eval $ac_link) 2>conftest.er1
52441 ac_status=$?
52442 grep -v '^ *+' conftest.er1 >conftest.err
52443 rm -f conftest.er1
52444 cat conftest.err >&5
52445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52446 (exit $ac_status); } &&
52447 { ac_try='test -z "$ac_c_werror_flag"
52448 || test ! -s conftest.err'
52449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52450 (eval $ac_try) 2>&5
52451 ac_status=$?
52452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52453 (exit $ac_status); }; } &&
52454 { ac_try='test -s conftest$ac_exeext'
52455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52456 (eval $ac_try) 2>&5
52457 ac_status=$?
52458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52459 (exit $ac_status); }; }; then
52460 eval "$as_ac_var=yes"
52461 else
52462 echo "$as_me: failed program was:" >&5
52463 sed 's/^/| /' conftest.$ac_ext >&5
52465 eval "$as_ac_var=no"
52467 rm -f conftest.err conftest.$ac_objext \
52468 conftest$ac_exeext conftest.$ac_ext
52470 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52471 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52472 if test `eval echo '${'$as_ac_var'}'` = yes; then
52473 cat >>confdefs.h <<_ACEOF
52474 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52475 _ACEOF
52478 done
52488 echo "$as_me:$LINENO: checking for finitef declaration" >&5
52489 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
52490 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
52491 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
52492 echo $ECHO_N "(cached) $ECHO_C" >&6
52493 else
52497 ac_ext=cc
52498 ac_cpp='$CXXCPP $CPPFLAGS'
52499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52503 cat >conftest.$ac_ext <<_ACEOF
52504 /* confdefs.h. */
52505 _ACEOF
52506 cat confdefs.h >>conftest.$ac_ext
52507 cat >>conftest.$ac_ext <<_ACEOF
52508 /* end confdefs.h. */
52509 #include <math.h>
52510 #ifdef HAVE_IEEEFP_H
52511 #include <ieeefp.h>
52512 #endif
52515 main ()
52517 finitef(0);
52519 return 0;
52521 _ACEOF
52522 rm -f conftest.$ac_objext
52523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52524 (eval $ac_compile) 2>conftest.er1
52525 ac_status=$?
52526 grep -v '^ *+' conftest.er1 >conftest.err
52527 rm -f conftest.er1
52528 cat conftest.err >&5
52529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52530 (exit $ac_status); } &&
52531 { ac_try='test -z "$ac_cxx_werror_flag"
52532 || test ! -s conftest.err'
52533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52534 (eval $ac_try) 2>&5
52535 ac_status=$?
52536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52537 (exit $ac_status); }; } &&
52538 { ac_try='test -s conftest.$ac_objext'
52539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52540 (eval $ac_try) 2>&5
52541 ac_status=$?
52542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52543 (exit $ac_status); }; }; then
52544 glibcxx_cv_func_finitef_use=yes
52545 else
52546 echo "$as_me: failed program was:" >&5
52547 sed 's/^/| /' conftest.$ac_ext >&5
52549 glibcxx_cv_func_finitef_use=no
52551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52552 ac_ext=c
52553 ac_cpp='$CPP $CPPFLAGS'
52554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52562 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
52563 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
52565 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
52567 for ac_func in finitef
52569 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52570 echo "$as_me:$LINENO: checking for $ac_func" >&5
52571 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52572 if eval "test \"\${$as_ac_var+set}\" = set"; then
52573 echo $ECHO_N "(cached) $ECHO_C" >&6
52574 else
52575 if test x$gcc_no_link = xyes; then
52576 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52577 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52578 { (exit 1); exit 1; }; }
52580 cat >conftest.$ac_ext <<_ACEOF
52581 /* confdefs.h. */
52582 _ACEOF
52583 cat confdefs.h >>conftest.$ac_ext
52584 cat >>conftest.$ac_ext <<_ACEOF
52585 /* end confdefs.h. */
52586 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52587 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52588 #define $ac_func innocuous_$ac_func
52590 /* System header to define __stub macros and hopefully few prototypes,
52591 which can conflict with char $ac_func (); below.
52592 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52593 <limits.h> exists even on freestanding compilers. */
52595 #ifdef __STDC__
52596 # include <limits.h>
52597 #else
52598 # include <assert.h>
52599 #endif
52601 #undef $ac_func
52603 /* Override any gcc2 internal prototype to avoid an error. */
52604 #ifdef __cplusplus
52605 extern "C"
52607 #endif
52608 /* We use char because int might match the return type of a gcc2
52609 builtin and then its argument prototype would still apply. */
52610 char $ac_func ();
52611 /* The GNU C library defines this for functions which it implements
52612 to always fail with ENOSYS. Some functions are actually named
52613 something starting with __ and the normal name is an alias. */
52614 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52615 choke me
52616 #else
52617 char (*f) () = $ac_func;
52618 #endif
52619 #ifdef __cplusplus
52621 #endif
52624 main ()
52626 return f != $ac_func;
52628 return 0;
52630 _ACEOF
52631 rm -f conftest.$ac_objext conftest$ac_exeext
52632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52633 (eval $ac_link) 2>conftest.er1
52634 ac_status=$?
52635 grep -v '^ *+' conftest.er1 >conftest.err
52636 rm -f conftest.er1
52637 cat conftest.err >&5
52638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52639 (exit $ac_status); } &&
52640 { ac_try='test -z "$ac_c_werror_flag"
52641 || test ! -s conftest.err'
52642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52643 (eval $ac_try) 2>&5
52644 ac_status=$?
52645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52646 (exit $ac_status); }; } &&
52647 { ac_try='test -s conftest$ac_exeext'
52648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52649 (eval $ac_try) 2>&5
52650 ac_status=$?
52651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52652 (exit $ac_status); }; }; then
52653 eval "$as_ac_var=yes"
52654 else
52655 echo "$as_me: failed program was:" >&5
52656 sed 's/^/| /' conftest.$ac_ext >&5
52658 eval "$as_ac_var=no"
52660 rm -f conftest.err conftest.$ac_objext \
52661 conftest$ac_exeext conftest.$ac_ext
52663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52664 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52665 if test `eval echo '${'$as_ac_var'}'` = yes; then
52666 cat >>confdefs.h <<_ACEOF
52667 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52668 _ACEOF
52671 done
52673 else
52675 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
52676 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
52677 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
52678 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
52679 echo $ECHO_N "(cached) $ECHO_C" >&6
52680 else
52684 ac_ext=cc
52685 ac_cpp='$CXXCPP $CPPFLAGS'
52686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52690 cat >conftest.$ac_ext <<_ACEOF
52691 /* confdefs.h. */
52692 _ACEOF
52693 cat confdefs.h >>conftest.$ac_ext
52694 cat >>conftest.$ac_ext <<_ACEOF
52695 /* end confdefs.h. */
52696 #include <math.h>
52697 #ifdef HAVE_IEEEFP_H
52698 #include <ieeefp.h>
52699 #endif
52702 main ()
52704 _finitef(0);
52706 return 0;
52708 _ACEOF
52709 rm -f conftest.$ac_objext
52710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52711 (eval $ac_compile) 2>conftest.er1
52712 ac_status=$?
52713 grep -v '^ *+' conftest.er1 >conftest.err
52714 rm -f conftest.er1
52715 cat conftest.err >&5
52716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52717 (exit $ac_status); } &&
52718 { ac_try='test -z "$ac_cxx_werror_flag"
52719 || test ! -s conftest.err'
52720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52721 (eval $ac_try) 2>&5
52722 ac_status=$?
52723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52724 (exit $ac_status); }; } &&
52725 { ac_try='test -s conftest.$ac_objext'
52726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52727 (eval $ac_try) 2>&5
52728 ac_status=$?
52729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52730 (exit $ac_status); }; }; then
52731 glibcxx_cv_func__finitef_use=yes
52732 else
52733 echo "$as_me: failed program was:" >&5
52734 sed 's/^/| /' conftest.$ac_ext >&5
52736 glibcxx_cv_func__finitef_use=no
52738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52739 ac_ext=c
52740 ac_cpp='$CPP $CPPFLAGS'
52741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52749 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
52750 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
52752 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
52754 for ac_func in _finitef
52756 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52757 echo "$as_me:$LINENO: checking for $ac_func" >&5
52758 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52759 if eval "test \"\${$as_ac_var+set}\" = set"; then
52760 echo $ECHO_N "(cached) $ECHO_C" >&6
52761 else
52762 if test x$gcc_no_link = xyes; then
52763 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52764 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52765 { (exit 1); exit 1; }; }
52767 cat >conftest.$ac_ext <<_ACEOF
52768 /* confdefs.h. */
52769 _ACEOF
52770 cat confdefs.h >>conftest.$ac_ext
52771 cat >>conftest.$ac_ext <<_ACEOF
52772 /* end confdefs.h. */
52773 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52774 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52775 #define $ac_func innocuous_$ac_func
52777 /* System header to define __stub macros and hopefully few prototypes,
52778 which can conflict with char $ac_func (); below.
52779 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52780 <limits.h> exists even on freestanding compilers. */
52782 #ifdef __STDC__
52783 # include <limits.h>
52784 #else
52785 # include <assert.h>
52786 #endif
52788 #undef $ac_func
52790 /* Override any gcc2 internal prototype to avoid an error. */
52791 #ifdef __cplusplus
52792 extern "C"
52794 #endif
52795 /* We use char because int might match the return type of a gcc2
52796 builtin and then its argument prototype would still apply. */
52797 char $ac_func ();
52798 /* The GNU C library defines this for functions which it implements
52799 to always fail with ENOSYS. Some functions are actually named
52800 something starting with __ and the normal name is an alias. */
52801 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52802 choke me
52803 #else
52804 char (*f) () = $ac_func;
52805 #endif
52806 #ifdef __cplusplus
52808 #endif
52811 main ()
52813 return f != $ac_func;
52815 return 0;
52817 _ACEOF
52818 rm -f conftest.$ac_objext conftest$ac_exeext
52819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52820 (eval $ac_link) 2>conftest.er1
52821 ac_status=$?
52822 grep -v '^ *+' conftest.er1 >conftest.err
52823 rm -f conftest.er1
52824 cat conftest.err >&5
52825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52826 (exit $ac_status); } &&
52827 { ac_try='test -z "$ac_c_werror_flag"
52828 || test ! -s conftest.err'
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); }; } &&
52834 { ac_try='test -s conftest$ac_exeext'
52835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52836 (eval $ac_try) 2>&5
52837 ac_status=$?
52838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52839 (exit $ac_status); }; }; then
52840 eval "$as_ac_var=yes"
52841 else
52842 echo "$as_me: failed program was:" >&5
52843 sed 's/^/| /' conftest.$ac_ext >&5
52845 eval "$as_ac_var=no"
52847 rm -f conftest.err conftest.$ac_objext \
52848 conftest$ac_exeext conftest.$ac_ext
52850 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52851 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52852 if test `eval echo '${'$as_ac_var'}'` = yes; then
52853 cat >>confdefs.h <<_ACEOF
52854 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52855 _ACEOF
52858 done
52868 echo "$as_me:$LINENO: checking for long double trig functions" >&5
52869 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
52870 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
52871 echo $ECHO_N "(cached) $ECHO_C" >&6
52872 else
52876 ac_ext=cc
52877 ac_cpp='$CXXCPP $CPPFLAGS'
52878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52882 cat >conftest.$ac_ext <<_ACEOF
52883 /* confdefs.h. */
52884 _ACEOF
52885 cat confdefs.h >>conftest.$ac_ext
52886 cat >>conftest.$ac_ext <<_ACEOF
52887 /* end confdefs.h. */
52888 #include <math.h>
52890 main ()
52892 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
52894 return 0;
52896 _ACEOF
52897 rm -f conftest.$ac_objext
52898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52899 (eval $ac_compile) 2>conftest.er1
52900 ac_status=$?
52901 grep -v '^ *+' conftest.er1 >conftest.err
52902 rm -f conftest.er1
52903 cat conftest.err >&5
52904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52905 (exit $ac_status); } &&
52906 { ac_try='test -z "$ac_cxx_werror_flag"
52907 || test ! -s conftest.err'
52908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52909 (eval $ac_try) 2>&5
52910 ac_status=$?
52911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52912 (exit $ac_status); }; } &&
52913 { ac_try='test -s conftest.$ac_objext'
52914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52915 (eval $ac_try) 2>&5
52916 ac_status=$?
52917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52918 (exit $ac_status); }; }; then
52919 glibcxx_cv_func_long_double_trig_use=yes
52920 else
52921 echo "$as_me: failed program was:" >&5
52922 sed 's/^/| /' conftest.$ac_ext >&5
52924 glibcxx_cv_func_long_double_trig_use=no
52926 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52927 ac_ext=c
52928 ac_cpp='$CPP $CPPFLAGS'
52929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52935 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
52936 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
52937 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
52947 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
52949 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52950 echo "$as_me:$LINENO: checking for $ac_func" >&5
52951 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52952 if eval "test \"\${$as_ac_var+set}\" = set"; then
52953 echo $ECHO_N "(cached) $ECHO_C" >&6
52954 else
52955 if test x$gcc_no_link = xyes; then
52956 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52957 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52958 { (exit 1); exit 1; }; }
52960 cat >conftest.$ac_ext <<_ACEOF
52961 /* confdefs.h. */
52962 _ACEOF
52963 cat confdefs.h >>conftest.$ac_ext
52964 cat >>conftest.$ac_ext <<_ACEOF
52965 /* end confdefs.h. */
52966 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52967 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52968 #define $ac_func innocuous_$ac_func
52970 /* System header to define __stub macros and hopefully few prototypes,
52971 which can conflict with char $ac_func (); below.
52972 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52973 <limits.h> exists even on freestanding compilers. */
52975 #ifdef __STDC__
52976 # include <limits.h>
52977 #else
52978 # include <assert.h>
52979 #endif
52981 #undef $ac_func
52983 /* Override any gcc2 internal prototype to avoid an error. */
52984 #ifdef __cplusplus
52985 extern "C"
52987 #endif
52988 /* We use char because int might match the return type of a gcc2
52989 builtin and then its argument prototype would still apply. */
52990 char $ac_func ();
52991 /* The GNU C library defines this for functions which it implements
52992 to always fail with ENOSYS. Some functions are actually named
52993 something starting with __ and the normal name is an alias. */
52994 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52995 choke me
52996 #else
52997 char (*f) () = $ac_func;
52998 #endif
52999 #ifdef __cplusplus
53001 #endif
53004 main ()
53006 return f != $ac_func;
53008 return 0;
53010 _ACEOF
53011 rm -f conftest.$ac_objext conftest$ac_exeext
53012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53013 (eval $ac_link) 2>conftest.er1
53014 ac_status=$?
53015 grep -v '^ *+' conftest.er1 >conftest.err
53016 rm -f conftest.er1
53017 cat conftest.err >&5
53018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53019 (exit $ac_status); } &&
53020 { ac_try='test -z "$ac_c_werror_flag"
53021 || test ! -s conftest.err'
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); }; } &&
53027 { ac_try='test -s conftest$ac_exeext'
53028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53029 (eval $ac_try) 2>&5
53030 ac_status=$?
53031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53032 (exit $ac_status); }; }; then
53033 eval "$as_ac_var=yes"
53034 else
53035 echo "$as_me: failed program was:" >&5
53036 sed 's/^/| /' conftest.$ac_ext >&5
53038 eval "$as_ac_var=no"
53040 rm -f conftest.err conftest.$ac_objext \
53041 conftest$ac_exeext conftest.$ac_ext
53043 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53044 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53045 if test `eval echo '${'$as_ac_var'}'` = yes; then
53046 cat >>confdefs.h <<_ACEOF
53047 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53048 _ACEOF
53051 done
53053 else
53054 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
53055 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
53056 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
53057 echo $ECHO_N "(cached) $ECHO_C" >&6
53058 else
53062 ac_ext=cc
53063 ac_cpp='$CXXCPP $CPPFLAGS'
53064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53068 cat >conftest.$ac_ext <<_ACEOF
53069 /* confdefs.h. */
53070 _ACEOF
53071 cat confdefs.h >>conftest.$ac_ext
53072 cat >>conftest.$ac_ext <<_ACEOF
53073 /* end confdefs.h. */
53074 #include <math.h>
53076 main ()
53078 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
53080 return 0;
53082 _ACEOF
53083 rm -f conftest.$ac_objext
53084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53085 (eval $ac_compile) 2>conftest.er1
53086 ac_status=$?
53087 grep -v '^ *+' conftest.er1 >conftest.err
53088 rm -f conftest.er1
53089 cat conftest.err >&5
53090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53091 (exit $ac_status); } &&
53092 { ac_try='test -z "$ac_cxx_werror_flag"
53093 || test ! -s conftest.err'
53094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53095 (eval $ac_try) 2>&5
53096 ac_status=$?
53097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53098 (exit $ac_status); }; } &&
53099 { ac_try='test -s conftest.$ac_objext'
53100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53101 (eval $ac_try) 2>&5
53102 ac_status=$?
53103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53104 (exit $ac_status); }; }; then
53105 glibcxx_cv_func__long_double_trig_use=yes
53106 else
53107 echo "$as_me: failed program was:" >&5
53108 sed 's/^/| /' conftest.$ac_ext >&5
53110 glibcxx_cv_func__long_double_trig_use=no
53112 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53113 ac_ext=c
53114 ac_cpp='$CPP $CPPFLAGS'
53115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53121 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
53122 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
53123 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
53133 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
53135 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53136 echo "$as_me:$LINENO: checking for $ac_func" >&5
53137 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53138 if eval "test \"\${$as_ac_var+set}\" = set"; then
53139 echo $ECHO_N "(cached) $ECHO_C" >&6
53140 else
53141 if test x$gcc_no_link = xyes; then
53142 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53143 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53144 { (exit 1); exit 1; }; }
53146 cat >conftest.$ac_ext <<_ACEOF
53147 /* confdefs.h. */
53148 _ACEOF
53149 cat confdefs.h >>conftest.$ac_ext
53150 cat >>conftest.$ac_ext <<_ACEOF
53151 /* end confdefs.h. */
53152 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53153 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53154 #define $ac_func innocuous_$ac_func
53156 /* System header to define __stub macros and hopefully few prototypes,
53157 which can conflict with char $ac_func (); below.
53158 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53159 <limits.h> exists even on freestanding compilers. */
53161 #ifdef __STDC__
53162 # include <limits.h>
53163 #else
53164 # include <assert.h>
53165 #endif
53167 #undef $ac_func
53169 /* Override any gcc2 internal prototype to avoid an error. */
53170 #ifdef __cplusplus
53171 extern "C"
53173 #endif
53174 /* We use char because int might match the return type of a gcc2
53175 builtin and then its argument prototype would still apply. */
53176 char $ac_func ();
53177 /* The GNU C library defines this for functions which it implements
53178 to always fail with ENOSYS. Some functions are actually named
53179 something starting with __ and the normal name is an alias. */
53180 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53181 choke me
53182 #else
53183 char (*f) () = $ac_func;
53184 #endif
53185 #ifdef __cplusplus
53187 #endif
53190 main ()
53192 return f != $ac_func;
53194 return 0;
53196 _ACEOF
53197 rm -f conftest.$ac_objext conftest$ac_exeext
53198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53199 (eval $ac_link) 2>conftest.er1
53200 ac_status=$?
53201 grep -v '^ *+' conftest.er1 >conftest.err
53202 rm -f conftest.er1
53203 cat conftest.err >&5
53204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53205 (exit $ac_status); } &&
53206 { ac_try='test -z "$ac_c_werror_flag"
53207 || test ! -s conftest.err'
53208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53209 (eval $ac_try) 2>&5
53210 ac_status=$?
53211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53212 (exit $ac_status); }; } &&
53213 { ac_try='test -s conftest$ac_exeext'
53214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53215 (eval $ac_try) 2>&5
53216 ac_status=$?
53217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53218 (exit $ac_status); }; }; then
53219 eval "$as_ac_var=yes"
53220 else
53221 echo "$as_me: failed program was:" >&5
53222 sed 's/^/| /' conftest.$ac_ext >&5
53224 eval "$as_ac_var=no"
53226 rm -f conftest.err conftest.$ac_objext \
53227 conftest$ac_exeext conftest.$ac_ext
53229 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53230 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53231 if test `eval echo '${'$as_ac_var'}'` = yes; then
53232 cat >>confdefs.h <<_ACEOF
53233 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53234 _ACEOF
53237 done
53255 echo "$as_me:$LINENO: checking for long double round functions" >&5
53256 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
53257 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
53258 echo $ECHO_N "(cached) $ECHO_C" >&6
53259 else
53263 ac_ext=cc
53264 ac_cpp='$CXXCPP $CPPFLAGS'
53265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53269 cat >conftest.$ac_ext <<_ACEOF
53270 /* confdefs.h. */
53271 _ACEOF
53272 cat confdefs.h >>conftest.$ac_ext
53273 cat >>conftest.$ac_ext <<_ACEOF
53274 /* end confdefs.h. */
53275 #include <math.h>
53277 main ()
53279 ceill (0); floorl (0);
53281 return 0;
53283 _ACEOF
53284 rm -f conftest.$ac_objext
53285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53286 (eval $ac_compile) 2>conftest.er1
53287 ac_status=$?
53288 grep -v '^ *+' conftest.er1 >conftest.err
53289 rm -f conftest.er1
53290 cat conftest.err >&5
53291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53292 (exit $ac_status); } &&
53293 { ac_try='test -z "$ac_cxx_werror_flag"
53294 || test ! -s conftest.err'
53295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53296 (eval $ac_try) 2>&5
53297 ac_status=$?
53298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53299 (exit $ac_status); }; } &&
53300 { ac_try='test -s conftest.$ac_objext'
53301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53302 (eval $ac_try) 2>&5
53303 ac_status=$?
53304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53305 (exit $ac_status); }; }; then
53306 glibcxx_cv_func_long_double_round_use=yes
53307 else
53308 echo "$as_me: failed program was:" >&5
53309 sed 's/^/| /' conftest.$ac_ext >&5
53311 glibcxx_cv_func_long_double_round_use=no
53313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53314 ac_ext=c
53315 ac_cpp='$CPP $CPPFLAGS'
53316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53322 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
53323 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
53324 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
53327 for ac_func in ceill floorl
53329 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53330 echo "$as_me:$LINENO: checking for $ac_func" >&5
53331 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53332 if eval "test \"\${$as_ac_var+set}\" = set"; then
53333 echo $ECHO_N "(cached) $ECHO_C" >&6
53334 else
53335 if test x$gcc_no_link = xyes; then
53336 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53337 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53338 { (exit 1); exit 1; }; }
53340 cat >conftest.$ac_ext <<_ACEOF
53341 /* confdefs.h. */
53342 _ACEOF
53343 cat confdefs.h >>conftest.$ac_ext
53344 cat >>conftest.$ac_ext <<_ACEOF
53345 /* end confdefs.h. */
53346 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53347 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53348 #define $ac_func innocuous_$ac_func
53350 /* System header to define __stub macros and hopefully few prototypes,
53351 which can conflict with char $ac_func (); below.
53352 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53353 <limits.h> exists even on freestanding compilers. */
53355 #ifdef __STDC__
53356 # include <limits.h>
53357 #else
53358 # include <assert.h>
53359 #endif
53361 #undef $ac_func
53363 /* Override any gcc2 internal prototype to avoid an error. */
53364 #ifdef __cplusplus
53365 extern "C"
53367 #endif
53368 /* We use char because int might match the return type of a gcc2
53369 builtin and then its argument prototype would still apply. */
53370 char $ac_func ();
53371 /* The GNU C library defines this for functions which it implements
53372 to always fail with ENOSYS. Some functions are actually named
53373 something starting with __ and the normal name is an alias. */
53374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53375 choke me
53376 #else
53377 char (*f) () = $ac_func;
53378 #endif
53379 #ifdef __cplusplus
53381 #endif
53384 main ()
53386 return f != $ac_func;
53388 return 0;
53390 _ACEOF
53391 rm -f conftest.$ac_objext conftest$ac_exeext
53392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53393 (eval $ac_link) 2>conftest.er1
53394 ac_status=$?
53395 grep -v '^ *+' conftest.er1 >conftest.err
53396 rm -f conftest.er1
53397 cat conftest.err >&5
53398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53399 (exit $ac_status); } &&
53400 { ac_try='test -z "$ac_c_werror_flag"
53401 || test ! -s conftest.err'
53402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53403 (eval $ac_try) 2>&5
53404 ac_status=$?
53405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53406 (exit $ac_status); }; } &&
53407 { ac_try='test -s conftest$ac_exeext'
53408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53409 (eval $ac_try) 2>&5
53410 ac_status=$?
53411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53412 (exit $ac_status); }; }; then
53413 eval "$as_ac_var=yes"
53414 else
53415 echo "$as_me: failed program was:" >&5
53416 sed 's/^/| /' conftest.$ac_ext >&5
53418 eval "$as_ac_var=no"
53420 rm -f conftest.err conftest.$ac_objext \
53421 conftest$ac_exeext conftest.$ac_ext
53423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53424 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53425 if test `eval echo '${'$as_ac_var'}'` = yes; then
53426 cat >>confdefs.h <<_ACEOF
53427 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53428 _ACEOF
53431 done
53433 else
53434 echo "$as_me:$LINENO: checking for _long double round functions" >&5
53435 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
53436 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
53437 echo $ECHO_N "(cached) $ECHO_C" >&6
53438 else
53442 ac_ext=cc
53443 ac_cpp='$CXXCPP $CPPFLAGS'
53444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53448 cat >conftest.$ac_ext <<_ACEOF
53449 /* confdefs.h. */
53450 _ACEOF
53451 cat confdefs.h >>conftest.$ac_ext
53452 cat >>conftest.$ac_ext <<_ACEOF
53453 /* end confdefs.h. */
53454 #include <math.h>
53456 main ()
53458 _ceill (0); _floorl (0);
53460 return 0;
53462 _ACEOF
53463 rm -f conftest.$ac_objext
53464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53465 (eval $ac_compile) 2>conftest.er1
53466 ac_status=$?
53467 grep -v '^ *+' conftest.er1 >conftest.err
53468 rm -f conftest.er1
53469 cat conftest.err >&5
53470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53471 (exit $ac_status); } &&
53472 { ac_try='test -z "$ac_cxx_werror_flag"
53473 || test ! -s conftest.err'
53474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53475 (eval $ac_try) 2>&5
53476 ac_status=$?
53477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53478 (exit $ac_status); }; } &&
53479 { ac_try='test -s conftest.$ac_objext'
53480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53481 (eval $ac_try) 2>&5
53482 ac_status=$?
53483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53484 (exit $ac_status); }; }; then
53485 glibcxx_cv_func__long_double_round_use=yes
53486 else
53487 echo "$as_me: failed program was:" >&5
53488 sed 's/^/| /' conftest.$ac_ext >&5
53490 glibcxx_cv_func__long_double_round_use=no
53492 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53493 ac_ext=c
53494 ac_cpp='$CPP $CPPFLAGS'
53495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53501 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
53502 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
53503 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
53506 for ac_func in _ceill _floorl
53508 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53509 echo "$as_me:$LINENO: checking for $ac_func" >&5
53510 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53511 if eval "test \"\${$as_ac_var+set}\" = set"; then
53512 echo $ECHO_N "(cached) $ECHO_C" >&6
53513 else
53514 if test x$gcc_no_link = xyes; then
53515 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53516 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53517 { (exit 1); exit 1; }; }
53519 cat >conftest.$ac_ext <<_ACEOF
53520 /* confdefs.h. */
53521 _ACEOF
53522 cat confdefs.h >>conftest.$ac_ext
53523 cat >>conftest.$ac_ext <<_ACEOF
53524 /* end confdefs.h. */
53525 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53526 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53527 #define $ac_func innocuous_$ac_func
53529 /* System header to define __stub macros and hopefully few prototypes,
53530 which can conflict with char $ac_func (); below.
53531 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53532 <limits.h> exists even on freestanding compilers. */
53534 #ifdef __STDC__
53535 # include <limits.h>
53536 #else
53537 # include <assert.h>
53538 #endif
53540 #undef $ac_func
53542 /* Override any gcc2 internal prototype to avoid an error. */
53543 #ifdef __cplusplus
53544 extern "C"
53546 #endif
53547 /* We use char because int might match the return type of a gcc2
53548 builtin and then its argument prototype would still apply. */
53549 char $ac_func ();
53550 /* The GNU C library defines this for functions which it implements
53551 to always fail with ENOSYS. Some functions are actually named
53552 something starting with __ and the normal name is an alias. */
53553 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53554 choke me
53555 #else
53556 char (*f) () = $ac_func;
53557 #endif
53558 #ifdef __cplusplus
53560 #endif
53563 main ()
53565 return f != $ac_func;
53567 return 0;
53569 _ACEOF
53570 rm -f conftest.$ac_objext conftest$ac_exeext
53571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53572 (eval $ac_link) 2>conftest.er1
53573 ac_status=$?
53574 grep -v '^ *+' conftest.er1 >conftest.err
53575 rm -f conftest.er1
53576 cat conftest.err >&5
53577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53578 (exit $ac_status); } &&
53579 { ac_try='test -z "$ac_c_werror_flag"
53580 || test ! -s conftest.err'
53581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53582 (eval $ac_try) 2>&5
53583 ac_status=$?
53584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53585 (exit $ac_status); }; } &&
53586 { ac_try='test -s conftest$ac_exeext'
53587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53588 (eval $ac_try) 2>&5
53589 ac_status=$?
53590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53591 (exit $ac_status); }; }; then
53592 eval "$as_ac_var=yes"
53593 else
53594 echo "$as_me: failed program was:" >&5
53595 sed 's/^/| /' conftest.$ac_ext >&5
53597 eval "$as_ac_var=no"
53599 rm -f conftest.err conftest.$ac_objext \
53600 conftest$ac_exeext conftest.$ac_ext
53602 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53603 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53604 if test `eval echo '${'$as_ac_var'}'` = yes; then
53605 cat >>confdefs.h <<_ACEOF
53606 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53607 _ACEOF
53610 done
53622 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
53623 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
53624 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
53625 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
53626 echo $ECHO_N "(cached) $ECHO_C" >&6
53627 else
53631 ac_ext=cc
53632 ac_cpp='$CXXCPP $CPPFLAGS'
53633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53637 cat >conftest.$ac_ext <<_ACEOF
53638 /* confdefs.h. */
53639 _ACEOF
53640 cat confdefs.h >>conftest.$ac_ext
53641 cat >>conftest.$ac_ext <<_ACEOF
53642 /* end confdefs.h. */
53643 #include <math.h>
53644 #ifdef HAVE_IEEEFP_H
53645 #include <ieeefp.h>
53646 #endif
53649 main ()
53651 isnanl(0);
53653 return 0;
53655 _ACEOF
53656 rm -f conftest.$ac_objext
53657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53658 (eval $ac_compile) 2>conftest.er1
53659 ac_status=$?
53660 grep -v '^ *+' conftest.er1 >conftest.err
53661 rm -f conftest.er1
53662 cat conftest.err >&5
53663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53664 (exit $ac_status); } &&
53665 { ac_try='test -z "$ac_cxx_werror_flag"
53666 || test ! -s conftest.err'
53667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53668 (eval $ac_try) 2>&5
53669 ac_status=$?
53670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53671 (exit $ac_status); }; } &&
53672 { ac_try='test -s conftest.$ac_objext'
53673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53674 (eval $ac_try) 2>&5
53675 ac_status=$?
53676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53677 (exit $ac_status); }; }; then
53678 glibcxx_cv_func_isnanl_use=yes
53679 else
53680 echo "$as_me: failed program was:" >&5
53681 sed 's/^/| /' conftest.$ac_ext >&5
53683 glibcxx_cv_func_isnanl_use=no
53685 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53686 ac_ext=c
53687 ac_cpp='$CPP $CPPFLAGS'
53688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53696 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
53697 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
53699 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
53701 for ac_func in isnanl
53703 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53704 echo "$as_me:$LINENO: checking for $ac_func" >&5
53705 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53706 if eval "test \"\${$as_ac_var+set}\" = set"; then
53707 echo $ECHO_N "(cached) $ECHO_C" >&6
53708 else
53709 if test x$gcc_no_link = xyes; then
53710 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53711 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53712 { (exit 1); exit 1; }; }
53714 cat >conftest.$ac_ext <<_ACEOF
53715 /* confdefs.h. */
53716 _ACEOF
53717 cat confdefs.h >>conftest.$ac_ext
53718 cat >>conftest.$ac_ext <<_ACEOF
53719 /* end confdefs.h. */
53720 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53721 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53722 #define $ac_func innocuous_$ac_func
53724 /* System header to define __stub macros and hopefully few prototypes,
53725 which can conflict with char $ac_func (); below.
53726 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53727 <limits.h> exists even on freestanding compilers. */
53729 #ifdef __STDC__
53730 # include <limits.h>
53731 #else
53732 # include <assert.h>
53733 #endif
53735 #undef $ac_func
53737 /* Override any gcc2 internal prototype to avoid an error. */
53738 #ifdef __cplusplus
53739 extern "C"
53741 #endif
53742 /* We use char because int might match the return type of a gcc2
53743 builtin and then its argument prototype would still apply. */
53744 char $ac_func ();
53745 /* The GNU C library defines this for functions which it implements
53746 to always fail with ENOSYS. Some functions are actually named
53747 something starting with __ and the normal name is an alias. */
53748 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53749 choke me
53750 #else
53751 char (*f) () = $ac_func;
53752 #endif
53753 #ifdef __cplusplus
53755 #endif
53758 main ()
53760 return f != $ac_func;
53762 return 0;
53764 _ACEOF
53765 rm -f conftest.$ac_objext conftest$ac_exeext
53766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53767 (eval $ac_link) 2>conftest.er1
53768 ac_status=$?
53769 grep -v '^ *+' conftest.er1 >conftest.err
53770 rm -f conftest.er1
53771 cat conftest.err >&5
53772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53773 (exit $ac_status); } &&
53774 { ac_try='test -z "$ac_c_werror_flag"
53775 || test ! -s conftest.err'
53776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53777 (eval $ac_try) 2>&5
53778 ac_status=$?
53779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53780 (exit $ac_status); }; } &&
53781 { ac_try='test -s conftest$ac_exeext'
53782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53783 (eval $ac_try) 2>&5
53784 ac_status=$?
53785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53786 (exit $ac_status); }; }; then
53787 eval "$as_ac_var=yes"
53788 else
53789 echo "$as_me: failed program was:" >&5
53790 sed 's/^/| /' conftest.$ac_ext >&5
53792 eval "$as_ac_var=no"
53794 rm -f conftest.err conftest.$ac_objext \
53795 conftest$ac_exeext conftest.$ac_ext
53797 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53798 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53799 if test `eval echo '${'$as_ac_var'}'` = yes; then
53800 cat >>confdefs.h <<_ACEOF
53801 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53802 _ACEOF
53805 done
53807 else
53809 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
53810 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
53811 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
53812 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
53813 echo $ECHO_N "(cached) $ECHO_C" >&6
53814 else
53818 ac_ext=cc
53819 ac_cpp='$CXXCPP $CPPFLAGS'
53820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53824 cat >conftest.$ac_ext <<_ACEOF
53825 /* confdefs.h. */
53826 _ACEOF
53827 cat confdefs.h >>conftest.$ac_ext
53828 cat >>conftest.$ac_ext <<_ACEOF
53829 /* end confdefs.h. */
53830 #include <math.h>
53831 #ifdef HAVE_IEEEFP_H
53832 #include <ieeefp.h>
53833 #endif
53836 main ()
53838 _isnanl(0);
53840 return 0;
53842 _ACEOF
53843 rm -f conftest.$ac_objext
53844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53845 (eval $ac_compile) 2>conftest.er1
53846 ac_status=$?
53847 grep -v '^ *+' conftest.er1 >conftest.err
53848 rm -f conftest.er1
53849 cat conftest.err >&5
53850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53851 (exit $ac_status); } &&
53852 { ac_try='test -z "$ac_cxx_werror_flag"
53853 || test ! -s conftest.err'
53854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53855 (eval $ac_try) 2>&5
53856 ac_status=$?
53857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53858 (exit $ac_status); }; } &&
53859 { ac_try='test -s conftest.$ac_objext'
53860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53861 (eval $ac_try) 2>&5
53862 ac_status=$?
53863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53864 (exit $ac_status); }; }; then
53865 glibcxx_cv_func__isnanl_use=yes
53866 else
53867 echo "$as_me: failed program was:" >&5
53868 sed 's/^/| /' conftest.$ac_ext >&5
53870 glibcxx_cv_func__isnanl_use=no
53872 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53873 ac_ext=c
53874 ac_cpp='$CPP $CPPFLAGS'
53875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53883 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
53884 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
53886 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
53888 for ac_func in _isnanl
53890 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53891 echo "$as_me:$LINENO: checking for $ac_func" >&5
53892 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53893 if eval "test \"\${$as_ac_var+set}\" = set"; then
53894 echo $ECHO_N "(cached) $ECHO_C" >&6
53895 else
53896 if test x$gcc_no_link = xyes; then
53897 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53898 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53899 { (exit 1); exit 1; }; }
53901 cat >conftest.$ac_ext <<_ACEOF
53902 /* confdefs.h. */
53903 _ACEOF
53904 cat confdefs.h >>conftest.$ac_ext
53905 cat >>conftest.$ac_ext <<_ACEOF
53906 /* end confdefs.h. */
53907 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53908 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53909 #define $ac_func innocuous_$ac_func
53911 /* System header to define __stub macros and hopefully few prototypes,
53912 which can conflict with char $ac_func (); below.
53913 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53914 <limits.h> exists even on freestanding compilers. */
53916 #ifdef __STDC__
53917 # include <limits.h>
53918 #else
53919 # include <assert.h>
53920 #endif
53922 #undef $ac_func
53924 /* Override any gcc2 internal prototype to avoid an error. */
53925 #ifdef __cplusplus
53926 extern "C"
53928 #endif
53929 /* We use char because int might match the return type of a gcc2
53930 builtin and then its argument prototype would still apply. */
53931 char $ac_func ();
53932 /* The GNU C library defines this for functions which it implements
53933 to always fail with ENOSYS. Some functions are actually named
53934 something starting with __ and the normal name is an alias. */
53935 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53936 choke me
53937 #else
53938 char (*f) () = $ac_func;
53939 #endif
53940 #ifdef __cplusplus
53942 #endif
53945 main ()
53947 return f != $ac_func;
53949 return 0;
53951 _ACEOF
53952 rm -f conftest.$ac_objext conftest$ac_exeext
53953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53954 (eval $ac_link) 2>conftest.er1
53955 ac_status=$?
53956 grep -v '^ *+' conftest.er1 >conftest.err
53957 rm -f conftest.er1
53958 cat conftest.err >&5
53959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53960 (exit $ac_status); } &&
53961 { ac_try='test -z "$ac_c_werror_flag"
53962 || test ! -s conftest.err'
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); }; } &&
53968 { ac_try='test -s conftest$ac_exeext'
53969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53970 (eval $ac_try) 2>&5
53971 ac_status=$?
53972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53973 (exit $ac_status); }; }; then
53974 eval "$as_ac_var=yes"
53975 else
53976 echo "$as_me: failed program was:" >&5
53977 sed 's/^/| /' conftest.$ac_ext >&5
53979 eval "$as_ac_var=no"
53981 rm -f conftest.err conftest.$ac_objext \
53982 conftest$ac_exeext conftest.$ac_ext
53984 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53985 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53986 if test `eval echo '${'$as_ac_var'}'` = yes; then
53987 cat >>confdefs.h <<_ACEOF
53988 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53989 _ACEOF
53992 done
54002 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
54003 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
54004 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
54005 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
54006 echo $ECHO_N "(cached) $ECHO_C" >&6
54007 else
54011 ac_ext=cc
54012 ac_cpp='$CXXCPP $CPPFLAGS'
54013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54017 cat >conftest.$ac_ext <<_ACEOF
54018 /* confdefs.h. */
54019 _ACEOF
54020 cat confdefs.h >>conftest.$ac_ext
54021 cat >>conftest.$ac_ext <<_ACEOF
54022 /* end confdefs.h. */
54023 #include <math.h>
54024 #ifdef HAVE_IEEEFP_H
54025 #include <ieeefp.h>
54026 #endif
54029 main ()
54031 isinfl(0);
54033 return 0;
54035 _ACEOF
54036 rm -f conftest.$ac_objext
54037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54038 (eval $ac_compile) 2>conftest.er1
54039 ac_status=$?
54040 grep -v '^ *+' conftest.er1 >conftest.err
54041 rm -f conftest.er1
54042 cat conftest.err >&5
54043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54044 (exit $ac_status); } &&
54045 { ac_try='test -z "$ac_cxx_werror_flag"
54046 || test ! -s conftest.err'
54047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54048 (eval $ac_try) 2>&5
54049 ac_status=$?
54050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54051 (exit $ac_status); }; } &&
54052 { ac_try='test -s conftest.$ac_objext'
54053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54054 (eval $ac_try) 2>&5
54055 ac_status=$?
54056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54057 (exit $ac_status); }; }; then
54058 glibcxx_cv_func_isinfl_use=yes
54059 else
54060 echo "$as_me: failed program was:" >&5
54061 sed 's/^/| /' conftest.$ac_ext >&5
54063 glibcxx_cv_func_isinfl_use=no
54065 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54066 ac_ext=c
54067 ac_cpp='$CPP $CPPFLAGS'
54068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54076 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
54077 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
54079 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
54081 for ac_func in isinfl
54083 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54084 echo "$as_me:$LINENO: checking for $ac_func" >&5
54085 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54086 if eval "test \"\${$as_ac_var+set}\" = set"; then
54087 echo $ECHO_N "(cached) $ECHO_C" >&6
54088 else
54089 if test x$gcc_no_link = xyes; then
54090 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54091 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54092 { (exit 1); exit 1; }; }
54094 cat >conftest.$ac_ext <<_ACEOF
54095 /* confdefs.h. */
54096 _ACEOF
54097 cat confdefs.h >>conftest.$ac_ext
54098 cat >>conftest.$ac_ext <<_ACEOF
54099 /* end confdefs.h. */
54100 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54101 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54102 #define $ac_func innocuous_$ac_func
54104 /* System header to define __stub macros and hopefully few prototypes,
54105 which can conflict with char $ac_func (); below.
54106 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54107 <limits.h> exists even on freestanding compilers. */
54109 #ifdef __STDC__
54110 # include <limits.h>
54111 #else
54112 # include <assert.h>
54113 #endif
54115 #undef $ac_func
54117 /* Override any gcc2 internal prototype to avoid an error. */
54118 #ifdef __cplusplus
54119 extern "C"
54121 #endif
54122 /* We use char because int might match the return type of a gcc2
54123 builtin and then its argument prototype would still apply. */
54124 char $ac_func ();
54125 /* The GNU C library defines this for functions which it implements
54126 to always fail with ENOSYS. Some functions are actually named
54127 something starting with __ and the normal name is an alias. */
54128 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54129 choke me
54130 #else
54131 char (*f) () = $ac_func;
54132 #endif
54133 #ifdef __cplusplus
54135 #endif
54138 main ()
54140 return f != $ac_func;
54142 return 0;
54144 _ACEOF
54145 rm -f conftest.$ac_objext conftest$ac_exeext
54146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54147 (eval $ac_link) 2>conftest.er1
54148 ac_status=$?
54149 grep -v '^ *+' conftest.er1 >conftest.err
54150 rm -f conftest.er1
54151 cat conftest.err >&5
54152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54153 (exit $ac_status); } &&
54154 { ac_try='test -z "$ac_c_werror_flag"
54155 || test ! -s conftest.err'
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); }; } &&
54161 { ac_try='test -s conftest$ac_exeext'
54162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54163 (eval $ac_try) 2>&5
54164 ac_status=$?
54165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54166 (exit $ac_status); }; }; then
54167 eval "$as_ac_var=yes"
54168 else
54169 echo "$as_me: failed program was:" >&5
54170 sed 's/^/| /' conftest.$ac_ext >&5
54172 eval "$as_ac_var=no"
54174 rm -f conftest.err conftest.$ac_objext \
54175 conftest$ac_exeext conftest.$ac_ext
54177 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54178 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54179 if test `eval echo '${'$as_ac_var'}'` = yes; then
54180 cat >>confdefs.h <<_ACEOF
54181 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54182 _ACEOF
54185 done
54187 else
54189 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
54190 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
54191 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
54192 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
54193 echo $ECHO_N "(cached) $ECHO_C" >&6
54194 else
54198 ac_ext=cc
54199 ac_cpp='$CXXCPP $CPPFLAGS'
54200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54204 cat >conftest.$ac_ext <<_ACEOF
54205 /* confdefs.h. */
54206 _ACEOF
54207 cat confdefs.h >>conftest.$ac_ext
54208 cat >>conftest.$ac_ext <<_ACEOF
54209 /* end confdefs.h. */
54210 #include <math.h>
54211 #ifdef HAVE_IEEEFP_H
54212 #include <ieeefp.h>
54213 #endif
54216 main ()
54218 _isinfl(0);
54220 return 0;
54222 _ACEOF
54223 rm -f conftest.$ac_objext
54224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54225 (eval $ac_compile) 2>conftest.er1
54226 ac_status=$?
54227 grep -v '^ *+' conftest.er1 >conftest.err
54228 rm -f conftest.er1
54229 cat conftest.err >&5
54230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54231 (exit $ac_status); } &&
54232 { ac_try='test -z "$ac_cxx_werror_flag"
54233 || test ! -s conftest.err'
54234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54235 (eval $ac_try) 2>&5
54236 ac_status=$?
54237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54238 (exit $ac_status); }; } &&
54239 { ac_try='test -s conftest.$ac_objext'
54240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54241 (eval $ac_try) 2>&5
54242 ac_status=$?
54243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54244 (exit $ac_status); }; }; then
54245 glibcxx_cv_func__isinfl_use=yes
54246 else
54247 echo "$as_me: failed program was:" >&5
54248 sed 's/^/| /' conftest.$ac_ext >&5
54250 glibcxx_cv_func__isinfl_use=no
54252 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54253 ac_ext=c
54254 ac_cpp='$CPP $CPPFLAGS'
54255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54263 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
54264 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
54266 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
54268 for ac_func in _isinfl
54270 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54271 echo "$as_me:$LINENO: checking for $ac_func" >&5
54272 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54273 if eval "test \"\${$as_ac_var+set}\" = set"; then
54274 echo $ECHO_N "(cached) $ECHO_C" >&6
54275 else
54276 if test x$gcc_no_link = xyes; then
54277 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54278 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54279 { (exit 1); exit 1; }; }
54281 cat >conftest.$ac_ext <<_ACEOF
54282 /* confdefs.h. */
54283 _ACEOF
54284 cat confdefs.h >>conftest.$ac_ext
54285 cat >>conftest.$ac_ext <<_ACEOF
54286 /* end confdefs.h. */
54287 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54288 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54289 #define $ac_func innocuous_$ac_func
54291 /* System header to define __stub macros and hopefully few prototypes,
54292 which can conflict with char $ac_func (); below.
54293 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54294 <limits.h> exists even on freestanding compilers. */
54296 #ifdef __STDC__
54297 # include <limits.h>
54298 #else
54299 # include <assert.h>
54300 #endif
54302 #undef $ac_func
54304 /* Override any gcc2 internal prototype to avoid an error. */
54305 #ifdef __cplusplus
54306 extern "C"
54308 #endif
54309 /* We use char because int might match the return type of a gcc2
54310 builtin and then its argument prototype would still apply. */
54311 char $ac_func ();
54312 /* The GNU C library defines this for functions which it implements
54313 to always fail with ENOSYS. Some functions are actually named
54314 something starting with __ and the normal name is an alias. */
54315 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54316 choke me
54317 #else
54318 char (*f) () = $ac_func;
54319 #endif
54320 #ifdef __cplusplus
54322 #endif
54325 main ()
54327 return f != $ac_func;
54329 return 0;
54331 _ACEOF
54332 rm -f conftest.$ac_objext conftest$ac_exeext
54333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54334 (eval $ac_link) 2>conftest.er1
54335 ac_status=$?
54336 grep -v '^ *+' conftest.er1 >conftest.err
54337 rm -f conftest.er1
54338 cat conftest.err >&5
54339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54340 (exit $ac_status); } &&
54341 { ac_try='test -z "$ac_c_werror_flag"
54342 || test ! -s conftest.err'
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); }; } &&
54348 { ac_try='test -s conftest$ac_exeext'
54349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54350 (eval $ac_try) 2>&5
54351 ac_status=$?
54352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54353 (exit $ac_status); }; }; then
54354 eval "$as_ac_var=yes"
54355 else
54356 echo "$as_me: failed program was:" >&5
54357 sed 's/^/| /' conftest.$ac_ext >&5
54359 eval "$as_ac_var=no"
54361 rm -f conftest.err conftest.$ac_objext \
54362 conftest$ac_exeext conftest.$ac_ext
54364 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54365 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54366 if test `eval echo '${'$as_ac_var'}'` = yes; then
54367 cat >>confdefs.h <<_ACEOF
54368 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54369 _ACEOF
54372 done
54382 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
54383 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
54384 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
54385 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
54386 echo $ECHO_N "(cached) $ECHO_C" >&6
54387 else
54391 ac_ext=cc
54392 ac_cpp='$CXXCPP $CPPFLAGS'
54393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54397 cat >conftest.$ac_ext <<_ACEOF
54398 /* confdefs.h. */
54399 _ACEOF
54400 cat confdefs.h >>conftest.$ac_ext
54401 cat >>conftest.$ac_ext <<_ACEOF
54402 /* end confdefs.h. */
54403 #include <math.h>
54405 main ()
54407 copysignl(0, 0);
54409 return 0;
54411 _ACEOF
54412 rm -f conftest.$ac_objext
54413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54414 (eval $ac_compile) 2>conftest.er1
54415 ac_status=$?
54416 grep -v '^ *+' conftest.er1 >conftest.err
54417 rm -f conftest.er1
54418 cat conftest.err >&5
54419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54420 (exit $ac_status); } &&
54421 { ac_try='test -z "$ac_cxx_werror_flag"
54422 || test ! -s conftest.err'
54423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54424 (eval $ac_try) 2>&5
54425 ac_status=$?
54426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54427 (exit $ac_status); }; } &&
54428 { ac_try='test -s conftest.$ac_objext'
54429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54430 (eval $ac_try) 2>&5
54431 ac_status=$?
54432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54433 (exit $ac_status); }; }; then
54434 glibcxx_cv_func_copysignl_use=yes
54435 else
54436 echo "$as_me: failed program was:" >&5
54437 sed 's/^/| /' conftest.$ac_ext >&5
54439 glibcxx_cv_func_copysignl_use=no
54441 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54442 ac_ext=c
54443 ac_cpp='$CPP $CPPFLAGS'
54444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54452 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
54453 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
54455 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
54457 for ac_func in copysignl
54459 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54460 echo "$as_me:$LINENO: checking for $ac_func" >&5
54461 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54462 if eval "test \"\${$as_ac_var+set}\" = set"; then
54463 echo $ECHO_N "(cached) $ECHO_C" >&6
54464 else
54465 if test x$gcc_no_link = xyes; then
54466 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54467 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54468 { (exit 1); exit 1; }; }
54470 cat >conftest.$ac_ext <<_ACEOF
54471 /* confdefs.h. */
54472 _ACEOF
54473 cat confdefs.h >>conftest.$ac_ext
54474 cat >>conftest.$ac_ext <<_ACEOF
54475 /* end confdefs.h. */
54476 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54477 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54478 #define $ac_func innocuous_$ac_func
54480 /* System header to define __stub macros and hopefully few prototypes,
54481 which can conflict with char $ac_func (); below.
54482 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54483 <limits.h> exists even on freestanding compilers. */
54485 #ifdef __STDC__
54486 # include <limits.h>
54487 #else
54488 # include <assert.h>
54489 #endif
54491 #undef $ac_func
54493 /* Override any gcc2 internal prototype to avoid an error. */
54494 #ifdef __cplusplus
54495 extern "C"
54497 #endif
54498 /* We use char because int might match the return type of a gcc2
54499 builtin and then its argument prototype would still apply. */
54500 char $ac_func ();
54501 /* The GNU C library defines this for functions which it implements
54502 to always fail with ENOSYS. Some functions are actually named
54503 something starting with __ and the normal name is an alias. */
54504 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54505 choke me
54506 #else
54507 char (*f) () = $ac_func;
54508 #endif
54509 #ifdef __cplusplus
54511 #endif
54514 main ()
54516 return f != $ac_func;
54518 return 0;
54520 _ACEOF
54521 rm -f conftest.$ac_objext conftest$ac_exeext
54522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54523 (eval $ac_link) 2>conftest.er1
54524 ac_status=$?
54525 grep -v '^ *+' conftest.er1 >conftest.err
54526 rm -f conftest.er1
54527 cat conftest.err >&5
54528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54529 (exit $ac_status); } &&
54530 { ac_try='test -z "$ac_c_werror_flag"
54531 || test ! -s conftest.err'
54532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54533 (eval $ac_try) 2>&5
54534 ac_status=$?
54535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54536 (exit $ac_status); }; } &&
54537 { ac_try='test -s conftest$ac_exeext'
54538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54539 (eval $ac_try) 2>&5
54540 ac_status=$?
54541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54542 (exit $ac_status); }; }; then
54543 eval "$as_ac_var=yes"
54544 else
54545 echo "$as_me: failed program was:" >&5
54546 sed 's/^/| /' conftest.$ac_ext >&5
54548 eval "$as_ac_var=no"
54550 rm -f conftest.err conftest.$ac_objext \
54551 conftest$ac_exeext conftest.$ac_ext
54553 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54554 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54555 if test `eval echo '${'$as_ac_var'}'` = yes; then
54556 cat >>confdefs.h <<_ACEOF
54557 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54558 _ACEOF
54561 done
54563 else
54565 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
54566 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
54567 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
54568 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
54569 echo $ECHO_N "(cached) $ECHO_C" >&6
54570 else
54574 ac_ext=cc
54575 ac_cpp='$CXXCPP $CPPFLAGS'
54576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54580 cat >conftest.$ac_ext <<_ACEOF
54581 /* confdefs.h. */
54582 _ACEOF
54583 cat confdefs.h >>conftest.$ac_ext
54584 cat >>conftest.$ac_ext <<_ACEOF
54585 /* end confdefs.h. */
54586 #include <math.h>
54588 main ()
54590 _copysignl(0, 0);
54592 return 0;
54594 _ACEOF
54595 rm -f conftest.$ac_objext
54596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54597 (eval $ac_compile) 2>conftest.er1
54598 ac_status=$?
54599 grep -v '^ *+' conftest.er1 >conftest.err
54600 rm -f conftest.er1
54601 cat conftest.err >&5
54602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54603 (exit $ac_status); } &&
54604 { ac_try='test -z "$ac_cxx_werror_flag"
54605 || test ! -s conftest.err'
54606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54607 (eval $ac_try) 2>&5
54608 ac_status=$?
54609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54610 (exit $ac_status); }; } &&
54611 { ac_try='test -s conftest.$ac_objext'
54612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54613 (eval $ac_try) 2>&5
54614 ac_status=$?
54615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54616 (exit $ac_status); }; }; then
54617 glibcxx_cv_func__copysignl_use=yes
54618 else
54619 echo "$as_me: failed program was:" >&5
54620 sed 's/^/| /' conftest.$ac_ext >&5
54622 glibcxx_cv_func__copysignl_use=no
54624 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54625 ac_ext=c
54626 ac_cpp='$CPP $CPPFLAGS'
54627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54635 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
54636 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
54638 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
54640 for ac_func in _copysignl
54642 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54643 echo "$as_me:$LINENO: checking for $ac_func" >&5
54644 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54645 if eval "test \"\${$as_ac_var+set}\" = set"; then
54646 echo $ECHO_N "(cached) $ECHO_C" >&6
54647 else
54648 if test x$gcc_no_link = xyes; then
54649 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54650 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54651 { (exit 1); exit 1; }; }
54653 cat >conftest.$ac_ext <<_ACEOF
54654 /* confdefs.h. */
54655 _ACEOF
54656 cat confdefs.h >>conftest.$ac_ext
54657 cat >>conftest.$ac_ext <<_ACEOF
54658 /* end confdefs.h. */
54659 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54660 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54661 #define $ac_func innocuous_$ac_func
54663 /* System header to define __stub macros and hopefully few prototypes,
54664 which can conflict with char $ac_func (); below.
54665 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54666 <limits.h> exists even on freestanding compilers. */
54668 #ifdef __STDC__
54669 # include <limits.h>
54670 #else
54671 # include <assert.h>
54672 #endif
54674 #undef $ac_func
54676 /* Override any gcc2 internal prototype to avoid an error. */
54677 #ifdef __cplusplus
54678 extern "C"
54680 #endif
54681 /* We use char because int might match the return type of a gcc2
54682 builtin and then its argument prototype would still apply. */
54683 char $ac_func ();
54684 /* The GNU C library defines this for functions which it implements
54685 to always fail with ENOSYS. Some functions are actually named
54686 something starting with __ and the normal name is an alias. */
54687 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54688 choke me
54689 #else
54690 char (*f) () = $ac_func;
54691 #endif
54692 #ifdef __cplusplus
54694 #endif
54697 main ()
54699 return f != $ac_func;
54701 return 0;
54703 _ACEOF
54704 rm -f conftest.$ac_objext conftest$ac_exeext
54705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54706 (eval $ac_link) 2>conftest.er1
54707 ac_status=$?
54708 grep -v '^ *+' conftest.er1 >conftest.err
54709 rm -f conftest.er1
54710 cat conftest.err >&5
54711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54712 (exit $ac_status); } &&
54713 { ac_try='test -z "$ac_c_werror_flag"
54714 || test ! -s conftest.err'
54715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54716 (eval $ac_try) 2>&5
54717 ac_status=$?
54718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54719 (exit $ac_status); }; } &&
54720 { ac_try='test -s conftest$ac_exeext'
54721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54722 (eval $ac_try) 2>&5
54723 ac_status=$?
54724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54725 (exit $ac_status); }; }; then
54726 eval "$as_ac_var=yes"
54727 else
54728 echo "$as_me: failed program was:" >&5
54729 sed 's/^/| /' conftest.$ac_ext >&5
54731 eval "$as_ac_var=no"
54733 rm -f conftest.err conftest.$ac_objext \
54734 conftest$ac_exeext conftest.$ac_ext
54736 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54737 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54738 if test `eval echo '${'$as_ac_var'}'` = yes; then
54739 cat >>confdefs.h <<_ACEOF
54740 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54741 _ACEOF
54744 done
54754 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
54755 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
54756 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
54757 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
54758 echo $ECHO_N "(cached) $ECHO_C" >&6
54759 else
54763 ac_ext=cc
54764 ac_cpp='$CXXCPP $CPPFLAGS'
54765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54769 cat >conftest.$ac_ext <<_ACEOF
54770 /* confdefs.h. */
54771 _ACEOF
54772 cat confdefs.h >>conftest.$ac_ext
54773 cat >>conftest.$ac_ext <<_ACEOF
54774 /* end confdefs.h. */
54775 #include <math.h>
54777 main ()
54779 atan2l(0, 0);
54781 return 0;
54783 _ACEOF
54784 rm -f conftest.$ac_objext
54785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54786 (eval $ac_compile) 2>conftest.er1
54787 ac_status=$?
54788 grep -v '^ *+' conftest.er1 >conftest.err
54789 rm -f conftest.er1
54790 cat conftest.err >&5
54791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54792 (exit $ac_status); } &&
54793 { ac_try='test -z "$ac_cxx_werror_flag"
54794 || test ! -s conftest.err'
54795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54796 (eval $ac_try) 2>&5
54797 ac_status=$?
54798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54799 (exit $ac_status); }; } &&
54800 { ac_try='test -s conftest.$ac_objext'
54801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54802 (eval $ac_try) 2>&5
54803 ac_status=$?
54804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54805 (exit $ac_status); }; }; then
54806 glibcxx_cv_func_atan2l_use=yes
54807 else
54808 echo "$as_me: failed program was:" >&5
54809 sed 's/^/| /' conftest.$ac_ext >&5
54811 glibcxx_cv_func_atan2l_use=no
54813 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54814 ac_ext=c
54815 ac_cpp='$CPP $CPPFLAGS'
54816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54824 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
54825 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
54827 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
54829 for ac_func in atan2l
54831 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54832 echo "$as_me:$LINENO: checking for $ac_func" >&5
54833 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54834 if eval "test \"\${$as_ac_var+set}\" = set"; then
54835 echo $ECHO_N "(cached) $ECHO_C" >&6
54836 else
54837 if test x$gcc_no_link = xyes; then
54838 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54839 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54840 { (exit 1); exit 1; }; }
54842 cat >conftest.$ac_ext <<_ACEOF
54843 /* confdefs.h. */
54844 _ACEOF
54845 cat confdefs.h >>conftest.$ac_ext
54846 cat >>conftest.$ac_ext <<_ACEOF
54847 /* end confdefs.h. */
54848 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54849 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54850 #define $ac_func innocuous_$ac_func
54852 /* System header to define __stub macros and hopefully few prototypes,
54853 which can conflict with char $ac_func (); below.
54854 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54855 <limits.h> exists even on freestanding compilers. */
54857 #ifdef __STDC__
54858 # include <limits.h>
54859 #else
54860 # include <assert.h>
54861 #endif
54863 #undef $ac_func
54865 /* Override any gcc2 internal prototype to avoid an error. */
54866 #ifdef __cplusplus
54867 extern "C"
54869 #endif
54870 /* We use char because int might match the return type of a gcc2
54871 builtin and then its argument prototype would still apply. */
54872 char $ac_func ();
54873 /* The GNU C library defines this for functions which it implements
54874 to always fail with ENOSYS. Some functions are actually named
54875 something starting with __ and the normal name is an alias. */
54876 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54877 choke me
54878 #else
54879 char (*f) () = $ac_func;
54880 #endif
54881 #ifdef __cplusplus
54883 #endif
54886 main ()
54888 return f != $ac_func;
54890 return 0;
54892 _ACEOF
54893 rm -f conftest.$ac_objext conftest$ac_exeext
54894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54895 (eval $ac_link) 2>conftest.er1
54896 ac_status=$?
54897 grep -v '^ *+' conftest.er1 >conftest.err
54898 rm -f conftest.er1
54899 cat conftest.err >&5
54900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54901 (exit $ac_status); } &&
54902 { ac_try='test -z "$ac_c_werror_flag"
54903 || test ! -s conftest.err'
54904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54905 (eval $ac_try) 2>&5
54906 ac_status=$?
54907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54908 (exit $ac_status); }; } &&
54909 { ac_try='test -s conftest$ac_exeext'
54910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54911 (eval $ac_try) 2>&5
54912 ac_status=$?
54913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54914 (exit $ac_status); }; }; then
54915 eval "$as_ac_var=yes"
54916 else
54917 echo "$as_me: failed program was:" >&5
54918 sed 's/^/| /' conftest.$ac_ext >&5
54920 eval "$as_ac_var=no"
54922 rm -f conftest.err conftest.$ac_objext \
54923 conftest$ac_exeext conftest.$ac_ext
54925 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54926 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54927 if test `eval echo '${'$as_ac_var'}'` = yes; then
54928 cat >>confdefs.h <<_ACEOF
54929 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54930 _ACEOF
54933 done
54935 else
54937 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
54938 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
54939 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
54940 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
54941 echo $ECHO_N "(cached) $ECHO_C" >&6
54942 else
54946 ac_ext=cc
54947 ac_cpp='$CXXCPP $CPPFLAGS'
54948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54952 cat >conftest.$ac_ext <<_ACEOF
54953 /* confdefs.h. */
54954 _ACEOF
54955 cat confdefs.h >>conftest.$ac_ext
54956 cat >>conftest.$ac_ext <<_ACEOF
54957 /* end confdefs.h. */
54958 #include <math.h>
54960 main ()
54962 _atan2l(0, 0);
54964 return 0;
54966 _ACEOF
54967 rm -f conftest.$ac_objext
54968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54969 (eval $ac_compile) 2>conftest.er1
54970 ac_status=$?
54971 grep -v '^ *+' conftest.er1 >conftest.err
54972 rm -f conftest.er1
54973 cat conftest.err >&5
54974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54975 (exit $ac_status); } &&
54976 { ac_try='test -z "$ac_cxx_werror_flag"
54977 || test ! -s conftest.err'
54978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54979 (eval $ac_try) 2>&5
54980 ac_status=$?
54981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54982 (exit $ac_status); }; } &&
54983 { ac_try='test -s conftest.$ac_objext'
54984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54985 (eval $ac_try) 2>&5
54986 ac_status=$?
54987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54988 (exit $ac_status); }; }; then
54989 glibcxx_cv_func__atan2l_use=yes
54990 else
54991 echo "$as_me: failed program was:" >&5
54992 sed 's/^/| /' conftest.$ac_ext >&5
54994 glibcxx_cv_func__atan2l_use=no
54996 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54997 ac_ext=c
54998 ac_cpp='$CPP $CPPFLAGS'
54999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55007 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
55008 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
55010 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
55012 for ac_func in _atan2l
55014 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55015 echo "$as_me:$LINENO: checking for $ac_func" >&5
55016 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55017 if eval "test \"\${$as_ac_var+set}\" = set"; then
55018 echo $ECHO_N "(cached) $ECHO_C" >&6
55019 else
55020 if test x$gcc_no_link = xyes; then
55021 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55022 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55023 { (exit 1); exit 1; }; }
55025 cat >conftest.$ac_ext <<_ACEOF
55026 /* confdefs.h. */
55027 _ACEOF
55028 cat confdefs.h >>conftest.$ac_ext
55029 cat >>conftest.$ac_ext <<_ACEOF
55030 /* end confdefs.h. */
55031 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55032 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55033 #define $ac_func innocuous_$ac_func
55035 /* System header to define __stub macros and hopefully few prototypes,
55036 which can conflict with char $ac_func (); below.
55037 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55038 <limits.h> exists even on freestanding compilers. */
55040 #ifdef __STDC__
55041 # include <limits.h>
55042 #else
55043 # include <assert.h>
55044 #endif
55046 #undef $ac_func
55048 /* Override any gcc2 internal prototype to avoid an error. */
55049 #ifdef __cplusplus
55050 extern "C"
55052 #endif
55053 /* We use char because int might match the return type of a gcc2
55054 builtin and then its argument prototype would still apply. */
55055 char $ac_func ();
55056 /* The GNU C library defines this for functions which it implements
55057 to always fail with ENOSYS. Some functions are actually named
55058 something starting with __ and the normal name is an alias. */
55059 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55060 choke me
55061 #else
55062 char (*f) () = $ac_func;
55063 #endif
55064 #ifdef __cplusplus
55066 #endif
55069 main ()
55071 return f != $ac_func;
55073 return 0;
55075 _ACEOF
55076 rm -f conftest.$ac_objext conftest$ac_exeext
55077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55078 (eval $ac_link) 2>conftest.er1
55079 ac_status=$?
55080 grep -v '^ *+' conftest.er1 >conftest.err
55081 rm -f conftest.er1
55082 cat conftest.err >&5
55083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55084 (exit $ac_status); } &&
55085 { ac_try='test -z "$ac_c_werror_flag"
55086 || test ! -s conftest.err'
55087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55088 (eval $ac_try) 2>&5
55089 ac_status=$?
55090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55091 (exit $ac_status); }; } &&
55092 { ac_try='test -s conftest$ac_exeext'
55093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55094 (eval $ac_try) 2>&5
55095 ac_status=$?
55096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55097 (exit $ac_status); }; }; then
55098 eval "$as_ac_var=yes"
55099 else
55100 echo "$as_me: failed program was:" >&5
55101 sed 's/^/| /' conftest.$ac_ext >&5
55103 eval "$as_ac_var=no"
55105 rm -f conftest.err conftest.$ac_objext \
55106 conftest$ac_exeext conftest.$ac_ext
55108 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55109 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55110 if test `eval echo '${'$as_ac_var'}'` = yes; then
55111 cat >>confdefs.h <<_ACEOF
55112 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55113 _ACEOF
55116 done
55126 echo "$as_me:$LINENO: checking for expl declaration" >&5
55127 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
55128 if test x${glibcxx_cv_func_expl_use+set} != xset; then
55129 if test "${glibcxx_cv_func_expl_use+set}" = set; then
55130 echo $ECHO_N "(cached) $ECHO_C" >&6
55131 else
55135 ac_ext=cc
55136 ac_cpp='$CXXCPP $CPPFLAGS'
55137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55141 cat >conftest.$ac_ext <<_ACEOF
55142 /* confdefs.h. */
55143 _ACEOF
55144 cat confdefs.h >>conftest.$ac_ext
55145 cat >>conftest.$ac_ext <<_ACEOF
55146 /* end confdefs.h. */
55147 #include <math.h>
55148 #ifdef HAVE_IEEEFP_H
55149 #include <ieeefp.h>
55150 #endif
55153 main ()
55155 expl(0);
55157 return 0;
55159 _ACEOF
55160 rm -f conftest.$ac_objext
55161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55162 (eval $ac_compile) 2>conftest.er1
55163 ac_status=$?
55164 grep -v '^ *+' conftest.er1 >conftest.err
55165 rm -f conftest.er1
55166 cat conftest.err >&5
55167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55168 (exit $ac_status); } &&
55169 { ac_try='test -z "$ac_cxx_werror_flag"
55170 || test ! -s conftest.err'
55171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55172 (eval $ac_try) 2>&5
55173 ac_status=$?
55174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55175 (exit $ac_status); }; } &&
55176 { ac_try='test -s conftest.$ac_objext'
55177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55178 (eval $ac_try) 2>&5
55179 ac_status=$?
55180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55181 (exit $ac_status); }; }; then
55182 glibcxx_cv_func_expl_use=yes
55183 else
55184 echo "$as_me: failed program was:" >&5
55185 sed 's/^/| /' conftest.$ac_ext >&5
55187 glibcxx_cv_func_expl_use=no
55189 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55190 ac_ext=c
55191 ac_cpp='$CPP $CPPFLAGS'
55192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55200 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
55201 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
55203 if test x$glibcxx_cv_func_expl_use = x"yes"; then
55205 for ac_func in expl
55207 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55208 echo "$as_me:$LINENO: checking for $ac_func" >&5
55209 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55210 if eval "test \"\${$as_ac_var+set}\" = set"; then
55211 echo $ECHO_N "(cached) $ECHO_C" >&6
55212 else
55213 if test x$gcc_no_link = xyes; then
55214 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55215 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55216 { (exit 1); exit 1; }; }
55218 cat >conftest.$ac_ext <<_ACEOF
55219 /* confdefs.h. */
55220 _ACEOF
55221 cat confdefs.h >>conftest.$ac_ext
55222 cat >>conftest.$ac_ext <<_ACEOF
55223 /* end confdefs.h. */
55224 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55225 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55226 #define $ac_func innocuous_$ac_func
55228 /* System header to define __stub macros and hopefully few prototypes,
55229 which can conflict with char $ac_func (); below.
55230 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55231 <limits.h> exists even on freestanding compilers. */
55233 #ifdef __STDC__
55234 # include <limits.h>
55235 #else
55236 # include <assert.h>
55237 #endif
55239 #undef $ac_func
55241 /* Override any gcc2 internal prototype to avoid an error. */
55242 #ifdef __cplusplus
55243 extern "C"
55245 #endif
55246 /* We use char because int might match the return type of a gcc2
55247 builtin and then its argument prototype would still apply. */
55248 char $ac_func ();
55249 /* The GNU C library defines this for functions which it implements
55250 to always fail with ENOSYS. Some functions are actually named
55251 something starting with __ and the normal name is an alias. */
55252 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55253 choke me
55254 #else
55255 char (*f) () = $ac_func;
55256 #endif
55257 #ifdef __cplusplus
55259 #endif
55262 main ()
55264 return f != $ac_func;
55266 return 0;
55268 _ACEOF
55269 rm -f conftest.$ac_objext conftest$ac_exeext
55270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55271 (eval $ac_link) 2>conftest.er1
55272 ac_status=$?
55273 grep -v '^ *+' conftest.er1 >conftest.err
55274 rm -f conftest.er1
55275 cat conftest.err >&5
55276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55277 (exit $ac_status); } &&
55278 { ac_try='test -z "$ac_c_werror_flag"
55279 || test ! -s conftest.err'
55280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55281 (eval $ac_try) 2>&5
55282 ac_status=$?
55283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55284 (exit $ac_status); }; } &&
55285 { ac_try='test -s conftest$ac_exeext'
55286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55287 (eval $ac_try) 2>&5
55288 ac_status=$?
55289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55290 (exit $ac_status); }; }; then
55291 eval "$as_ac_var=yes"
55292 else
55293 echo "$as_me: failed program was:" >&5
55294 sed 's/^/| /' conftest.$ac_ext >&5
55296 eval "$as_ac_var=no"
55298 rm -f conftest.err conftest.$ac_objext \
55299 conftest$ac_exeext conftest.$ac_ext
55301 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55302 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55303 if test `eval echo '${'$as_ac_var'}'` = yes; then
55304 cat >>confdefs.h <<_ACEOF
55305 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55306 _ACEOF
55309 done
55311 else
55313 echo "$as_me:$LINENO: checking for _expl declaration" >&5
55314 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
55315 if test x${glibcxx_cv_func__expl_use+set} != xset; then
55316 if test "${glibcxx_cv_func__expl_use+set}" = set; then
55317 echo $ECHO_N "(cached) $ECHO_C" >&6
55318 else
55322 ac_ext=cc
55323 ac_cpp='$CXXCPP $CPPFLAGS'
55324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55328 cat >conftest.$ac_ext <<_ACEOF
55329 /* confdefs.h. */
55330 _ACEOF
55331 cat confdefs.h >>conftest.$ac_ext
55332 cat >>conftest.$ac_ext <<_ACEOF
55333 /* end confdefs.h. */
55334 #include <math.h>
55335 #ifdef HAVE_IEEEFP_H
55336 #include <ieeefp.h>
55337 #endif
55340 main ()
55342 _expl(0);
55344 return 0;
55346 _ACEOF
55347 rm -f conftest.$ac_objext
55348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55349 (eval $ac_compile) 2>conftest.er1
55350 ac_status=$?
55351 grep -v '^ *+' conftest.er1 >conftest.err
55352 rm -f conftest.er1
55353 cat conftest.err >&5
55354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55355 (exit $ac_status); } &&
55356 { ac_try='test -z "$ac_cxx_werror_flag"
55357 || test ! -s conftest.err'
55358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55359 (eval $ac_try) 2>&5
55360 ac_status=$?
55361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55362 (exit $ac_status); }; } &&
55363 { ac_try='test -s conftest.$ac_objext'
55364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55365 (eval $ac_try) 2>&5
55366 ac_status=$?
55367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55368 (exit $ac_status); }; }; then
55369 glibcxx_cv_func__expl_use=yes
55370 else
55371 echo "$as_me: failed program was:" >&5
55372 sed 's/^/| /' conftest.$ac_ext >&5
55374 glibcxx_cv_func__expl_use=no
55376 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55377 ac_ext=c
55378 ac_cpp='$CPP $CPPFLAGS'
55379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55387 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
55388 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
55390 if test x$glibcxx_cv_func__expl_use = x"yes"; then
55392 for ac_func in _expl
55394 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55395 echo "$as_me:$LINENO: checking for $ac_func" >&5
55396 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55397 if eval "test \"\${$as_ac_var+set}\" = set"; then
55398 echo $ECHO_N "(cached) $ECHO_C" >&6
55399 else
55400 if test x$gcc_no_link = xyes; then
55401 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55402 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55403 { (exit 1); exit 1; }; }
55405 cat >conftest.$ac_ext <<_ACEOF
55406 /* confdefs.h. */
55407 _ACEOF
55408 cat confdefs.h >>conftest.$ac_ext
55409 cat >>conftest.$ac_ext <<_ACEOF
55410 /* end confdefs.h. */
55411 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55412 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55413 #define $ac_func innocuous_$ac_func
55415 /* System header to define __stub macros and hopefully few prototypes,
55416 which can conflict with char $ac_func (); below.
55417 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55418 <limits.h> exists even on freestanding compilers. */
55420 #ifdef __STDC__
55421 # include <limits.h>
55422 #else
55423 # include <assert.h>
55424 #endif
55426 #undef $ac_func
55428 /* Override any gcc2 internal prototype to avoid an error. */
55429 #ifdef __cplusplus
55430 extern "C"
55432 #endif
55433 /* We use char because int might match the return type of a gcc2
55434 builtin and then its argument prototype would still apply. */
55435 char $ac_func ();
55436 /* The GNU C library defines this for functions which it implements
55437 to always fail with ENOSYS. Some functions are actually named
55438 something starting with __ and the normal name is an alias. */
55439 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55440 choke me
55441 #else
55442 char (*f) () = $ac_func;
55443 #endif
55444 #ifdef __cplusplus
55446 #endif
55449 main ()
55451 return f != $ac_func;
55453 return 0;
55455 _ACEOF
55456 rm -f conftest.$ac_objext conftest$ac_exeext
55457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55458 (eval $ac_link) 2>conftest.er1
55459 ac_status=$?
55460 grep -v '^ *+' conftest.er1 >conftest.err
55461 rm -f conftest.er1
55462 cat conftest.err >&5
55463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55464 (exit $ac_status); } &&
55465 { ac_try='test -z "$ac_c_werror_flag"
55466 || test ! -s conftest.err'
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); }; } &&
55472 { ac_try='test -s conftest$ac_exeext'
55473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55474 (eval $ac_try) 2>&5
55475 ac_status=$?
55476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55477 (exit $ac_status); }; }; then
55478 eval "$as_ac_var=yes"
55479 else
55480 echo "$as_me: failed program was:" >&5
55481 sed 's/^/| /' conftest.$ac_ext >&5
55483 eval "$as_ac_var=no"
55485 rm -f conftest.err conftest.$ac_objext \
55486 conftest$ac_exeext conftest.$ac_ext
55488 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55489 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55490 if test `eval echo '${'$as_ac_var'}'` = yes; then
55491 cat >>confdefs.h <<_ACEOF
55492 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55493 _ACEOF
55496 done
55506 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
55507 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
55508 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
55509 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
55510 echo $ECHO_N "(cached) $ECHO_C" >&6
55511 else
55515 ac_ext=cc
55516 ac_cpp='$CXXCPP $CPPFLAGS'
55517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55521 cat >conftest.$ac_ext <<_ACEOF
55522 /* confdefs.h. */
55523 _ACEOF
55524 cat confdefs.h >>conftest.$ac_ext
55525 cat >>conftest.$ac_ext <<_ACEOF
55526 /* end confdefs.h. */
55527 #include <math.h>
55528 #ifdef HAVE_IEEEFP_H
55529 #include <ieeefp.h>
55530 #endif
55533 main ()
55535 fabsl(0);
55537 return 0;
55539 _ACEOF
55540 rm -f conftest.$ac_objext
55541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55542 (eval $ac_compile) 2>conftest.er1
55543 ac_status=$?
55544 grep -v '^ *+' conftest.er1 >conftest.err
55545 rm -f conftest.er1
55546 cat conftest.err >&5
55547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55548 (exit $ac_status); } &&
55549 { ac_try='test -z "$ac_cxx_werror_flag"
55550 || test ! -s conftest.err'
55551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55552 (eval $ac_try) 2>&5
55553 ac_status=$?
55554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55555 (exit $ac_status); }; } &&
55556 { ac_try='test -s conftest.$ac_objext'
55557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55558 (eval $ac_try) 2>&5
55559 ac_status=$?
55560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55561 (exit $ac_status); }; }; then
55562 glibcxx_cv_func_fabsl_use=yes
55563 else
55564 echo "$as_me: failed program was:" >&5
55565 sed 's/^/| /' conftest.$ac_ext >&5
55567 glibcxx_cv_func_fabsl_use=no
55569 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55570 ac_ext=c
55571 ac_cpp='$CPP $CPPFLAGS'
55572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55580 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
55581 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
55583 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
55585 for ac_func in fabsl
55587 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55588 echo "$as_me:$LINENO: checking for $ac_func" >&5
55589 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55590 if eval "test \"\${$as_ac_var+set}\" = set"; then
55591 echo $ECHO_N "(cached) $ECHO_C" >&6
55592 else
55593 if test x$gcc_no_link = xyes; then
55594 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55595 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55596 { (exit 1); exit 1; }; }
55598 cat >conftest.$ac_ext <<_ACEOF
55599 /* confdefs.h. */
55600 _ACEOF
55601 cat confdefs.h >>conftest.$ac_ext
55602 cat >>conftest.$ac_ext <<_ACEOF
55603 /* end confdefs.h. */
55604 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55605 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55606 #define $ac_func innocuous_$ac_func
55608 /* System header to define __stub macros and hopefully few prototypes,
55609 which can conflict with char $ac_func (); below.
55610 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55611 <limits.h> exists even on freestanding compilers. */
55613 #ifdef __STDC__
55614 # include <limits.h>
55615 #else
55616 # include <assert.h>
55617 #endif
55619 #undef $ac_func
55621 /* Override any gcc2 internal prototype to avoid an error. */
55622 #ifdef __cplusplus
55623 extern "C"
55625 #endif
55626 /* We use char because int might match the return type of a gcc2
55627 builtin and then its argument prototype would still apply. */
55628 char $ac_func ();
55629 /* The GNU C library defines this for functions which it implements
55630 to always fail with ENOSYS. Some functions are actually named
55631 something starting with __ and the normal name is an alias. */
55632 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55633 choke me
55634 #else
55635 char (*f) () = $ac_func;
55636 #endif
55637 #ifdef __cplusplus
55639 #endif
55642 main ()
55644 return f != $ac_func;
55646 return 0;
55648 _ACEOF
55649 rm -f conftest.$ac_objext conftest$ac_exeext
55650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55651 (eval $ac_link) 2>conftest.er1
55652 ac_status=$?
55653 grep -v '^ *+' conftest.er1 >conftest.err
55654 rm -f conftest.er1
55655 cat conftest.err >&5
55656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55657 (exit $ac_status); } &&
55658 { ac_try='test -z "$ac_c_werror_flag"
55659 || test ! -s conftest.err'
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); }; } &&
55665 { ac_try='test -s conftest$ac_exeext'
55666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55667 (eval $ac_try) 2>&5
55668 ac_status=$?
55669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55670 (exit $ac_status); }; }; then
55671 eval "$as_ac_var=yes"
55672 else
55673 echo "$as_me: failed program was:" >&5
55674 sed 's/^/| /' conftest.$ac_ext >&5
55676 eval "$as_ac_var=no"
55678 rm -f conftest.err conftest.$ac_objext \
55679 conftest$ac_exeext conftest.$ac_ext
55681 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55682 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55683 if test `eval echo '${'$as_ac_var'}'` = yes; then
55684 cat >>confdefs.h <<_ACEOF
55685 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55686 _ACEOF
55689 done
55691 else
55693 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
55694 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
55695 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
55696 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
55697 echo $ECHO_N "(cached) $ECHO_C" >&6
55698 else
55702 ac_ext=cc
55703 ac_cpp='$CXXCPP $CPPFLAGS'
55704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55708 cat >conftest.$ac_ext <<_ACEOF
55709 /* confdefs.h. */
55710 _ACEOF
55711 cat confdefs.h >>conftest.$ac_ext
55712 cat >>conftest.$ac_ext <<_ACEOF
55713 /* end confdefs.h. */
55714 #include <math.h>
55715 #ifdef HAVE_IEEEFP_H
55716 #include <ieeefp.h>
55717 #endif
55720 main ()
55722 _fabsl(0);
55724 return 0;
55726 _ACEOF
55727 rm -f conftest.$ac_objext
55728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55729 (eval $ac_compile) 2>conftest.er1
55730 ac_status=$?
55731 grep -v '^ *+' conftest.er1 >conftest.err
55732 rm -f conftest.er1
55733 cat conftest.err >&5
55734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55735 (exit $ac_status); } &&
55736 { ac_try='test -z "$ac_cxx_werror_flag"
55737 || test ! -s conftest.err'
55738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55739 (eval $ac_try) 2>&5
55740 ac_status=$?
55741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55742 (exit $ac_status); }; } &&
55743 { ac_try='test -s conftest.$ac_objext'
55744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55745 (eval $ac_try) 2>&5
55746 ac_status=$?
55747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55748 (exit $ac_status); }; }; then
55749 glibcxx_cv_func__fabsl_use=yes
55750 else
55751 echo "$as_me: failed program was:" >&5
55752 sed 's/^/| /' conftest.$ac_ext >&5
55754 glibcxx_cv_func__fabsl_use=no
55756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55757 ac_ext=c
55758 ac_cpp='$CPP $CPPFLAGS'
55759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55767 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
55768 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
55770 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
55772 for ac_func in _fabsl
55774 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55775 echo "$as_me:$LINENO: checking for $ac_func" >&5
55776 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55777 if eval "test \"\${$as_ac_var+set}\" = set"; then
55778 echo $ECHO_N "(cached) $ECHO_C" >&6
55779 else
55780 if test x$gcc_no_link = xyes; then
55781 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55782 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55783 { (exit 1); exit 1; }; }
55785 cat >conftest.$ac_ext <<_ACEOF
55786 /* confdefs.h. */
55787 _ACEOF
55788 cat confdefs.h >>conftest.$ac_ext
55789 cat >>conftest.$ac_ext <<_ACEOF
55790 /* end confdefs.h. */
55791 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55792 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55793 #define $ac_func innocuous_$ac_func
55795 /* System header to define __stub macros and hopefully few prototypes,
55796 which can conflict with char $ac_func (); below.
55797 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55798 <limits.h> exists even on freestanding compilers. */
55800 #ifdef __STDC__
55801 # include <limits.h>
55802 #else
55803 # include <assert.h>
55804 #endif
55806 #undef $ac_func
55808 /* Override any gcc2 internal prototype to avoid an error. */
55809 #ifdef __cplusplus
55810 extern "C"
55812 #endif
55813 /* We use char because int might match the return type of a gcc2
55814 builtin and then its argument prototype would still apply. */
55815 char $ac_func ();
55816 /* The GNU C library defines this for functions which it implements
55817 to always fail with ENOSYS. Some functions are actually named
55818 something starting with __ and the normal name is an alias. */
55819 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55820 choke me
55821 #else
55822 char (*f) () = $ac_func;
55823 #endif
55824 #ifdef __cplusplus
55826 #endif
55829 main ()
55831 return f != $ac_func;
55833 return 0;
55835 _ACEOF
55836 rm -f conftest.$ac_objext conftest$ac_exeext
55837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55838 (eval $ac_link) 2>conftest.er1
55839 ac_status=$?
55840 grep -v '^ *+' conftest.er1 >conftest.err
55841 rm -f conftest.er1
55842 cat conftest.err >&5
55843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55844 (exit $ac_status); } &&
55845 { ac_try='test -z "$ac_c_werror_flag"
55846 || test ! -s conftest.err'
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); }; } &&
55852 { ac_try='test -s conftest$ac_exeext'
55853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55854 (eval $ac_try) 2>&5
55855 ac_status=$?
55856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55857 (exit $ac_status); }; }; then
55858 eval "$as_ac_var=yes"
55859 else
55860 echo "$as_me: failed program was:" >&5
55861 sed 's/^/| /' conftest.$ac_ext >&5
55863 eval "$as_ac_var=no"
55865 rm -f conftest.err conftest.$ac_objext \
55866 conftest$ac_exeext conftest.$ac_ext
55868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55869 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55870 if test `eval echo '${'$as_ac_var'}'` = yes; then
55871 cat >>confdefs.h <<_ACEOF
55872 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55873 _ACEOF
55876 done
55886 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
55887 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
55888 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
55889 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
55890 echo $ECHO_N "(cached) $ECHO_C" >&6
55891 else
55895 ac_ext=cc
55896 ac_cpp='$CXXCPP $CPPFLAGS'
55897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55901 cat >conftest.$ac_ext <<_ACEOF
55902 /* confdefs.h. */
55903 _ACEOF
55904 cat confdefs.h >>conftest.$ac_ext
55905 cat >>conftest.$ac_ext <<_ACEOF
55906 /* end confdefs.h. */
55907 #include <math.h>
55909 main ()
55911 fmodl(0, 0);
55913 return 0;
55915 _ACEOF
55916 rm -f conftest.$ac_objext
55917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55918 (eval $ac_compile) 2>conftest.er1
55919 ac_status=$?
55920 grep -v '^ *+' conftest.er1 >conftest.err
55921 rm -f conftest.er1
55922 cat conftest.err >&5
55923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55924 (exit $ac_status); } &&
55925 { ac_try='test -z "$ac_cxx_werror_flag"
55926 || test ! -s conftest.err'
55927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55928 (eval $ac_try) 2>&5
55929 ac_status=$?
55930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55931 (exit $ac_status); }; } &&
55932 { ac_try='test -s conftest.$ac_objext'
55933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55934 (eval $ac_try) 2>&5
55935 ac_status=$?
55936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55937 (exit $ac_status); }; }; then
55938 glibcxx_cv_func_fmodl_use=yes
55939 else
55940 echo "$as_me: failed program was:" >&5
55941 sed 's/^/| /' conftest.$ac_ext >&5
55943 glibcxx_cv_func_fmodl_use=no
55945 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55946 ac_ext=c
55947 ac_cpp='$CPP $CPPFLAGS'
55948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55956 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
55957 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
55959 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
55961 for ac_func in fmodl
55963 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55964 echo "$as_me:$LINENO: checking for $ac_func" >&5
55965 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55966 if eval "test \"\${$as_ac_var+set}\" = set"; then
55967 echo $ECHO_N "(cached) $ECHO_C" >&6
55968 else
55969 if test x$gcc_no_link = xyes; then
55970 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55971 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55972 { (exit 1); exit 1; }; }
55974 cat >conftest.$ac_ext <<_ACEOF
55975 /* confdefs.h. */
55976 _ACEOF
55977 cat confdefs.h >>conftest.$ac_ext
55978 cat >>conftest.$ac_ext <<_ACEOF
55979 /* end confdefs.h. */
55980 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55981 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55982 #define $ac_func innocuous_$ac_func
55984 /* System header to define __stub macros and hopefully few prototypes,
55985 which can conflict with char $ac_func (); below.
55986 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55987 <limits.h> exists even on freestanding compilers. */
55989 #ifdef __STDC__
55990 # include <limits.h>
55991 #else
55992 # include <assert.h>
55993 #endif
55995 #undef $ac_func
55997 /* Override any gcc2 internal prototype to avoid an error. */
55998 #ifdef __cplusplus
55999 extern "C"
56001 #endif
56002 /* We use char because int might match the return type of a gcc2
56003 builtin and then its argument prototype would still apply. */
56004 char $ac_func ();
56005 /* The GNU C library defines this for functions which it implements
56006 to always fail with ENOSYS. Some functions are actually named
56007 something starting with __ and the normal name is an alias. */
56008 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56009 choke me
56010 #else
56011 char (*f) () = $ac_func;
56012 #endif
56013 #ifdef __cplusplus
56015 #endif
56018 main ()
56020 return f != $ac_func;
56022 return 0;
56024 _ACEOF
56025 rm -f conftest.$ac_objext conftest$ac_exeext
56026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56027 (eval $ac_link) 2>conftest.er1
56028 ac_status=$?
56029 grep -v '^ *+' conftest.er1 >conftest.err
56030 rm -f conftest.er1
56031 cat conftest.err >&5
56032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56033 (exit $ac_status); } &&
56034 { ac_try='test -z "$ac_c_werror_flag"
56035 || test ! -s conftest.err'
56036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56037 (eval $ac_try) 2>&5
56038 ac_status=$?
56039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56040 (exit $ac_status); }; } &&
56041 { ac_try='test -s conftest$ac_exeext'
56042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56043 (eval $ac_try) 2>&5
56044 ac_status=$?
56045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56046 (exit $ac_status); }; }; then
56047 eval "$as_ac_var=yes"
56048 else
56049 echo "$as_me: failed program was:" >&5
56050 sed 's/^/| /' conftest.$ac_ext >&5
56052 eval "$as_ac_var=no"
56054 rm -f conftest.err conftest.$ac_objext \
56055 conftest$ac_exeext conftest.$ac_ext
56057 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56058 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56059 if test `eval echo '${'$as_ac_var'}'` = yes; then
56060 cat >>confdefs.h <<_ACEOF
56061 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56062 _ACEOF
56065 done
56067 else
56069 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
56070 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
56071 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
56072 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
56073 echo $ECHO_N "(cached) $ECHO_C" >&6
56074 else
56078 ac_ext=cc
56079 ac_cpp='$CXXCPP $CPPFLAGS'
56080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56084 cat >conftest.$ac_ext <<_ACEOF
56085 /* confdefs.h. */
56086 _ACEOF
56087 cat confdefs.h >>conftest.$ac_ext
56088 cat >>conftest.$ac_ext <<_ACEOF
56089 /* end confdefs.h. */
56090 #include <math.h>
56092 main ()
56094 _fmodl(0, 0);
56096 return 0;
56098 _ACEOF
56099 rm -f conftest.$ac_objext
56100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56101 (eval $ac_compile) 2>conftest.er1
56102 ac_status=$?
56103 grep -v '^ *+' conftest.er1 >conftest.err
56104 rm -f conftest.er1
56105 cat conftest.err >&5
56106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56107 (exit $ac_status); } &&
56108 { ac_try='test -z "$ac_cxx_werror_flag"
56109 || test ! -s conftest.err'
56110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56111 (eval $ac_try) 2>&5
56112 ac_status=$?
56113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56114 (exit $ac_status); }; } &&
56115 { ac_try='test -s conftest.$ac_objext'
56116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56117 (eval $ac_try) 2>&5
56118 ac_status=$?
56119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56120 (exit $ac_status); }; }; then
56121 glibcxx_cv_func__fmodl_use=yes
56122 else
56123 echo "$as_me: failed program was:" >&5
56124 sed 's/^/| /' conftest.$ac_ext >&5
56126 glibcxx_cv_func__fmodl_use=no
56128 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56129 ac_ext=c
56130 ac_cpp='$CPP $CPPFLAGS'
56131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56139 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
56140 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
56142 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
56144 for ac_func in _fmodl
56146 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56147 echo "$as_me:$LINENO: checking for $ac_func" >&5
56148 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56149 if eval "test \"\${$as_ac_var+set}\" = set"; then
56150 echo $ECHO_N "(cached) $ECHO_C" >&6
56151 else
56152 if test x$gcc_no_link = xyes; then
56153 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56154 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56155 { (exit 1); exit 1; }; }
56157 cat >conftest.$ac_ext <<_ACEOF
56158 /* confdefs.h. */
56159 _ACEOF
56160 cat confdefs.h >>conftest.$ac_ext
56161 cat >>conftest.$ac_ext <<_ACEOF
56162 /* end confdefs.h. */
56163 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56164 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56165 #define $ac_func innocuous_$ac_func
56167 /* System header to define __stub macros and hopefully few prototypes,
56168 which can conflict with char $ac_func (); below.
56169 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56170 <limits.h> exists even on freestanding compilers. */
56172 #ifdef __STDC__
56173 # include <limits.h>
56174 #else
56175 # include <assert.h>
56176 #endif
56178 #undef $ac_func
56180 /* Override any gcc2 internal prototype to avoid an error. */
56181 #ifdef __cplusplus
56182 extern "C"
56184 #endif
56185 /* We use char because int might match the return type of a gcc2
56186 builtin and then its argument prototype would still apply. */
56187 char $ac_func ();
56188 /* The GNU C library defines this for functions which it implements
56189 to always fail with ENOSYS. Some functions are actually named
56190 something starting with __ and the normal name is an alias. */
56191 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56192 choke me
56193 #else
56194 char (*f) () = $ac_func;
56195 #endif
56196 #ifdef __cplusplus
56198 #endif
56201 main ()
56203 return f != $ac_func;
56205 return 0;
56207 _ACEOF
56208 rm -f conftest.$ac_objext conftest$ac_exeext
56209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56210 (eval $ac_link) 2>conftest.er1
56211 ac_status=$?
56212 grep -v '^ *+' conftest.er1 >conftest.err
56213 rm -f conftest.er1
56214 cat conftest.err >&5
56215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56216 (exit $ac_status); } &&
56217 { ac_try='test -z "$ac_c_werror_flag"
56218 || test ! -s conftest.err'
56219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56220 (eval $ac_try) 2>&5
56221 ac_status=$?
56222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56223 (exit $ac_status); }; } &&
56224 { ac_try='test -s conftest$ac_exeext'
56225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56226 (eval $ac_try) 2>&5
56227 ac_status=$?
56228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56229 (exit $ac_status); }; }; then
56230 eval "$as_ac_var=yes"
56231 else
56232 echo "$as_me: failed program was:" >&5
56233 sed 's/^/| /' conftest.$ac_ext >&5
56235 eval "$as_ac_var=no"
56237 rm -f conftest.err conftest.$ac_objext \
56238 conftest$ac_exeext conftest.$ac_ext
56240 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56241 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56242 if test `eval echo '${'$as_ac_var'}'` = yes; then
56243 cat >>confdefs.h <<_ACEOF
56244 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56245 _ACEOF
56248 done
56258 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
56259 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
56260 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
56261 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
56262 echo $ECHO_N "(cached) $ECHO_C" >&6
56263 else
56267 ac_ext=cc
56268 ac_cpp='$CXXCPP $CPPFLAGS'
56269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56273 cat >conftest.$ac_ext <<_ACEOF
56274 /* confdefs.h. */
56275 _ACEOF
56276 cat confdefs.h >>conftest.$ac_ext
56277 cat >>conftest.$ac_ext <<_ACEOF
56278 /* end confdefs.h. */
56279 #include <math.h>
56281 main ()
56283 frexpl(0, 0);
56285 return 0;
56287 _ACEOF
56288 rm -f conftest.$ac_objext
56289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56290 (eval $ac_compile) 2>conftest.er1
56291 ac_status=$?
56292 grep -v '^ *+' conftest.er1 >conftest.err
56293 rm -f conftest.er1
56294 cat conftest.err >&5
56295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56296 (exit $ac_status); } &&
56297 { ac_try='test -z "$ac_cxx_werror_flag"
56298 || test ! -s conftest.err'
56299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56300 (eval $ac_try) 2>&5
56301 ac_status=$?
56302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56303 (exit $ac_status); }; } &&
56304 { ac_try='test -s conftest.$ac_objext'
56305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56306 (eval $ac_try) 2>&5
56307 ac_status=$?
56308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56309 (exit $ac_status); }; }; then
56310 glibcxx_cv_func_frexpl_use=yes
56311 else
56312 echo "$as_me: failed program was:" >&5
56313 sed 's/^/| /' conftest.$ac_ext >&5
56315 glibcxx_cv_func_frexpl_use=no
56317 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56318 ac_ext=c
56319 ac_cpp='$CPP $CPPFLAGS'
56320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56328 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
56329 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
56331 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
56333 for ac_func in frexpl
56335 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56336 echo "$as_me:$LINENO: checking for $ac_func" >&5
56337 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56338 if eval "test \"\${$as_ac_var+set}\" = set"; then
56339 echo $ECHO_N "(cached) $ECHO_C" >&6
56340 else
56341 if test x$gcc_no_link = xyes; then
56342 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56343 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56344 { (exit 1); exit 1; }; }
56346 cat >conftest.$ac_ext <<_ACEOF
56347 /* confdefs.h. */
56348 _ACEOF
56349 cat confdefs.h >>conftest.$ac_ext
56350 cat >>conftest.$ac_ext <<_ACEOF
56351 /* end confdefs.h. */
56352 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56353 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56354 #define $ac_func innocuous_$ac_func
56356 /* System header to define __stub macros and hopefully few prototypes,
56357 which can conflict with char $ac_func (); below.
56358 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56359 <limits.h> exists even on freestanding compilers. */
56361 #ifdef __STDC__
56362 # include <limits.h>
56363 #else
56364 # include <assert.h>
56365 #endif
56367 #undef $ac_func
56369 /* Override any gcc2 internal prototype to avoid an error. */
56370 #ifdef __cplusplus
56371 extern "C"
56373 #endif
56374 /* We use char because int might match the return type of a gcc2
56375 builtin and then its argument prototype would still apply. */
56376 char $ac_func ();
56377 /* The GNU C library defines this for functions which it implements
56378 to always fail with ENOSYS. Some functions are actually named
56379 something starting with __ and the normal name is an alias. */
56380 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56381 choke me
56382 #else
56383 char (*f) () = $ac_func;
56384 #endif
56385 #ifdef __cplusplus
56387 #endif
56390 main ()
56392 return f != $ac_func;
56394 return 0;
56396 _ACEOF
56397 rm -f conftest.$ac_objext conftest$ac_exeext
56398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56399 (eval $ac_link) 2>conftest.er1
56400 ac_status=$?
56401 grep -v '^ *+' conftest.er1 >conftest.err
56402 rm -f conftest.er1
56403 cat conftest.err >&5
56404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56405 (exit $ac_status); } &&
56406 { ac_try='test -z "$ac_c_werror_flag"
56407 || test ! -s conftest.err'
56408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56409 (eval $ac_try) 2>&5
56410 ac_status=$?
56411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56412 (exit $ac_status); }; } &&
56413 { ac_try='test -s conftest$ac_exeext'
56414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56415 (eval $ac_try) 2>&5
56416 ac_status=$?
56417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56418 (exit $ac_status); }; }; then
56419 eval "$as_ac_var=yes"
56420 else
56421 echo "$as_me: failed program was:" >&5
56422 sed 's/^/| /' conftest.$ac_ext >&5
56424 eval "$as_ac_var=no"
56426 rm -f conftest.err conftest.$ac_objext \
56427 conftest$ac_exeext conftest.$ac_ext
56429 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56430 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56431 if test `eval echo '${'$as_ac_var'}'` = yes; then
56432 cat >>confdefs.h <<_ACEOF
56433 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56434 _ACEOF
56437 done
56439 else
56441 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
56442 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
56443 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
56444 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
56445 echo $ECHO_N "(cached) $ECHO_C" >&6
56446 else
56450 ac_ext=cc
56451 ac_cpp='$CXXCPP $CPPFLAGS'
56452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56456 cat >conftest.$ac_ext <<_ACEOF
56457 /* confdefs.h. */
56458 _ACEOF
56459 cat confdefs.h >>conftest.$ac_ext
56460 cat >>conftest.$ac_ext <<_ACEOF
56461 /* end confdefs.h. */
56462 #include <math.h>
56464 main ()
56466 _frexpl(0, 0);
56468 return 0;
56470 _ACEOF
56471 rm -f conftest.$ac_objext
56472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56473 (eval $ac_compile) 2>conftest.er1
56474 ac_status=$?
56475 grep -v '^ *+' conftest.er1 >conftest.err
56476 rm -f conftest.er1
56477 cat conftest.err >&5
56478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56479 (exit $ac_status); } &&
56480 { ac_try='test -z "$ac_cxx_werror_flag"
56481 || test ! -s conftest.err'
56482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56483 (eval $ac_try) 2>&5
56484 ac_status=$?
56485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56486 (exit $ac_status); }; } &&
56487 { ac_try='test -s conftest.$ac_objext'
56488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56489 (eval $ac_try) 2>&5
56490 ac_status=$?
56491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56492 (exit $ac_status); }; }; then
56493 glibcxx_cv_func__frexpl_use=yes
56494 else
56495 echo "$as_me: failed program was:" >&5
56496 sed 's/^/| /' conftest.$ac_ext >&5
56498 glibcxx_cv_func__frexpl_use=no
56500 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56501 ac_ext=c
56502 ac_cpp='$CPP $CPPFLAGS'
56503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56511 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
56512 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
56514 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
56516 for ac_func in _frexpl
56518 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56519 echo "$as_me:$LINENO: checking for $ac_func" >&5
56520 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56521 if eval "test \"\${$as_ac_var+set}\" = set"; then
56522 echo $ECHO_N "(cached) $ECHO_C" >&6
56523 else
56524 if test x$gcc_no_link = xyes; then
56525 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56526 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56527 { (exit 1); exit 1; }; }
56529 cat >conftest.$ac_ext <<_ACEOF
56530 /* confdefs.h. */
56531 _ACEOF
56532 cat confdefs.h >>conftest.$ac_ext
56533 cat >>conftest.$ac_ext <<_ACEOF
56534 /* end confdefs.h. */
56535 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56536 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56537 #define $ac_func innocuous_$ac_func
56539 /* System header to define __stub macros and hopefully few prototypes,
56540 which can conflict with char $ac_func (); below.
56541 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56542 <limits.h> exists even on freestanding compilers. */
56544 #ifdef __STDC__
56545 # include <limits.h>
56546 #else
56547 # include <assert.h>
56548 #endif
56550 #undef $ac_func
56552 /* Override any gcc2 internal prototype to avoid an error. */
56553 #ifdef __cplusplus
56554 extern "C"
56556 #endif
56557 /* We use char because int might match the return type of a gcc2
56558 builtin and then its argument prototype would still apply. */
56559 char $ac_func ();
56560 /* The GNU C library defines this for functions which it implements
56561 to always fail with ENOSYS. Some functions are actually named
56562 something starting with __ and the normal name is an alias. */
56563 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56564 choke me
56565 #else
56566 char (*f) () = $ac_func;
56567 #endif
56568 #ifdef __cplusplus
56570 #endif
56573 main ()
56575 return f != $ac_func;
56577 return 0;
56579 _ACEOF
56580 rm -f conftest.$ac_objext conftest$ac_exeext
56581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56582 (eval $ac_link) 2>conftest.er1
56583 ac_status=$?
56584 grep -v '^ *+' conftest.er1 >conftest.err
56585 rm -f conftest.er1
56586 cat conftest.err >&5
56587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56588 (exit $ac_status); } &&
56589 { ac_try='test -z "$ac_c_werror_flag"
56590 || test ! -s conftest.err'
56591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56592 (eval $ac_try) 2>&5
56593 ac_status=$?
56594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56595 (exit $ac_status); }; } &&
56596 { ac_try='test -s conftest$ac_exeext'
56597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56598 (eval $ac_try) 2>&5
56599 ac_status=$?
56600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56601 (exit $ac_status); }; }; then
56602 eval "$as_ac_var=yes"
56603 else
56604 echo "$as_me: failed program was:" >&5
56605 sed 's/^/| /' conftest.$ac_ext >&5
56607 eval "$as_ac_var=no"
56609 rm -f conftest.err conftest.$ac_objext \
56610 conftest$ac_exeext conftest.$ac_ext
56612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56613 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56614 if test `eval echo '${'$as_ac_var'}'` = yes; then
56615 cat >>confdefs.h <<_ACEOF
56616 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56617 _ACEOF
56620 done
56630 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
56631 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
56632 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
56633 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
56634 echo $ECHO_N "(cached) $ECHO_C" >&6
56635 else
56639 ac_ext=cc
56640 ac_cpp='$CXXCPP $CPPFLAGS'
56641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56645 cat >conftest.$ac_ext <<_ACEOF
56646 /* confdefs.h. */
56647 _ACEOF
56648 cat confdefs.h >>conftest.$ac_ext
56649 cat >>conftest.$ac_ext <<_ACEOF
56650 /* end confdefs.h. */
56651 #include <math.h>
56653 main ()
56655 hypotl(0, 0);
56657 return 0;
56659 _ACEOF
56660 rm -f conftest.$ac_objext
56661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56662 (eval $ac_compile) 2>conftest.er1
56663 ac_status=$?
56664 grep -v '^ *+' conftest.er1 >conftest.err
56665 rm -f conftest.er1
56666 cat conftest.err >&5
56667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56668 (exit $ac_status); } &&
56669 { ac_try='test -z "$ac_cxx_werror_flag"
56670 || test ! -s conftest.err'
56671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56672 (eval $ac_try) 2>&5
56673 ac_status=$?
56674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56675 (exit $ac_status); }; } &&
56676 { ac_try='test -s conftest.$ac_objext'
56677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56678 (eval $ac_try) 2>&5
56679 ac_status=$?
56680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56681 (exit $ac_status); }; }; then
56682 glibcxx_cv_func_hypotl_use=yes
56683 else
56684 echo "$as_me: failed program was:" >&5
56685 sed 's/^/| /' conftest.$ac_ext >&5
56687 glibcxx_cv_func_hypotl_use=no
56689 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56690 ac_ext=c
56691 ac_cpp='$CPP $CPPFLAGS'
56692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56700 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
56701 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
56703 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
56705 for ac_func in hypotl
56707 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56708 echo "$as_me:$LINENO: checking for $ac_func" >&5
56709 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56710 if eval "test \"\${$as_ac_var+set}\" = set"; then
56711 echo $ECHO_N "(cached) $ECHO_C" >&6
56712 else
56713 if test x$gcc_no_link = xyes; then
56714 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56715 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56716 { (exit 1); exit 1; }; }
56718 cat >conftest.$ac_ext <<_ACEOF
56719 /* confdefs.h. */
56720 _ACEOF
56721 cat confdefs.h >>conftest.$ac_ext
56722 cat >>conftest.$ac_ext <<_ACEOF
56723 /* end confdefs.h. */
56724 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56725 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56726 #define $ac_func innocuous_$ac_func
56728 /* System header to define __stub macros and hopefully few prototypes,
56729 which can conflict with char $ac_func (); below.
56730 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56731 <limits.h> exists even on freestanding compilers. */
56733 #ifdef __STDC__
56734 # include <limits.h>
56735 #else
56736 # include <assert.h>
56737 #endif
56739 #undef $ac_func
56741 /* Override any gcc2 internal prototype to avoid an error. */
56742 #ifdef __cplusplus
56743 extern "C"
56745 #endif
56746 /* We use char because int might match the return type of a gcc2
56747 builtin and then its argument prototype would still apply. */
56748 char $ac_func ();
56749 /* The GNU C library defines this for functions which it implements
56750 to always fail with ENOSYS. Some functions are actually named
56751 something starting with __ and the normal name is an alias. */
56752 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56753 choke me
56754 #else
56755 char (*f) () = $ac_func;
56756 #endif
56757 #ifdef __cplusplus
56759 #endif
56762 main ()
56764 return f != $ac_func;
56766 return 0;
56768 _ACEOF
56769 rm -f conftest.$ac_objext conftest$ac_exeext
56770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56771 (eval $ac_link) 2>conftest.er1
56772 ac_status=$?
56773 grep -v '^ *+' conftest.er1 >conftest.err
56774 rm -f conftest.er1
56775 cat conftest.err >&5
56776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56777 (exit $ac_status); } &&
56778 { ac_try='test -z "$ac_c_werror_flag"
56779 || test ! -s conftest.err'
56780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56781 (eval $ac_try) 2>&5
56782 ac_status=$?
56783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56784 (exit $ac_status); }; } &&
56785 { ac_try='test -s conftest$ac_exeext'
56786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56787 (eval $ac_try) 2>&5
56788 ac_status=$?
56789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56790 (exit $ac_status); }; }; then
56791 eval "$as_ac_var=yes"
56792 else
56793 echo "$as_me: failed program was:" >&5
56794 sed 's/^/| /' conftest.$ac_ext >&5
56796 eval "$as_ac_var=no"
56798 rm -f conftest.err conftest.$ac_objext \
56799 conftest$ac_exeext conftest.$ac_ext
56801 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56802 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56803 if test `eval echo '${'$as_ac_var'}'` = yes; then
56804 cat >>confdefs.h <<_ACEOF
56805 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56806 _ACEOF
56809 done
56811 else
56813 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
56814 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
56815 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
56816 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
56817 echo $ECHO_N "(cached) $ECHO_C" >&6
56818 else
56822 ac_ext=cc
56823 ac_cpp='$CXXCPP $CPPFLAGS'
56824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56828 cat >conftest.$ac_ext <<_ACEOF
56829 /* confdefs.h. */
56830 _ACEOF
56831 cat confdefs.h >>conftest.$ac_ext
56832 cat >>conftest.$ac_ext <<_ACEOF
56833 /* end confdefs.h. */
56834 #include <math.h>
56836 main ()
56838 _hypotl(0, 0);
56840 return 0;
56842 _ACEOF
56843 rm -f conftest.$ac_objext
56844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56845 (eval $ac_compile) 2>conftest.er1
56846 ac_status=$?
56847 grep -v '^ *+' conftest.er1 >conftest.err
56848 rm -f conftest.er1
56849 cat conftest.err >&5
56850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56851 (exit $ac_status); } &&
56852 { ac_try='test -z "$ac_cxx_werror_flag"
56853 || test ! -s conftest.err'
56854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56855 (eval $ac_try) 2>&5
56856 ac_status=$?
56857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56858 (exit $ac_status); }; } &&
56859 { ac_try='test -s conftest.$ac_objext'
56860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56861 (eval $ac_try) 2>&5
56862 ac_status=$?
56863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56864 (exit $ac_status); }; }; then
56865 glibcxx_cv_func__hypotl_use=yes
56866 else
56867 echo "$as_me: failed program was:" >&5
56868 sed 's/^/| /' conftest.$ac_ext >&5
56870 glibcxx_cv_func__hypotl_use=no
56872 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56873 ac_ext=c
56874 ac_cpp='$CPP $CPPFLAGS'
56875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56883 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
56884 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
56886 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
56888 for ac_func in _hypotl
56890 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56891 echo "$as_me:$LINENO: checking for $ac_func" >&5
56892 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56893 if eval "test \"\${$as_ac_var+set}\" = set"; then
56894 echo $ECHO_N "(cached) $ECHO_C" >&6
56895 else
56896 if test x$gcc_no_link = xyes; then
56897 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56898 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56899 { (exit 1); exit 1; }; }
56901 cat >conftest.$ac_ext <<_ACEOF
56902 /* confdefs.h. */
56903 _ACEOF
56904 cat confdefs.h >>conftest.$ac_ext
56905 cat >>conftest.$ac_ext <<_ACEOF
56906 /* end confdefs.h. */
56907 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56908 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56909 #define $ac_func innocuous_$ac_func
56911 /* System header to define __stub macros and hopefully few prototypes,
56912 which can conflict with char $ac_func (); below.
56913 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56914 <limits.h> exists even on freestanding compilers. */
56916 #ifdef __STDC__
56917 # include <limits.h>
56918 #else
56919 # include <assert.h>
56920 #endif
56922 #undef $ac_func
56924 /* Override any gcc2 internal prototype to avoid an error. */
56925 #ifdef __cplusplus
56926 extern "C"
56928 #endif
56929 /* We use char because int might match the return type of a gcc2
56930 builtin and then its argument prototype would still apply. */
56931 char $ac_func ();
56932 /* The GNU C library defines this for functions which it implements
56933 to always fail with ENOSYS. Some functions are actually named
56934 something starting with __ and the normal name is an alias. */
56935 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56936 choke me
56937 #else
56938 char (*f) () = $ac_func;
56939 #endif
56940 #ifdef __cplusplus
56942 #endif
56945 main ()
56947 return f != $ac_func;
56949 return 0;
56951 _ACEOF
56952 rm -f conftest.$ac_objext conftest$ac_exeext
56953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56954 (eval $ac_link) 2>conftest.er1
56955 ac_status=$?
56956 grep -v '^ *+' conftest.er1 >conftest.err
56957 rm -f conftest.er1
56958 cat conftest.err >&5
56959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56960 (exit $ac_status); } &&
56961 { ac_try='test -z "$ac_c_werror_flag"
56962 || test ! -s conftest.err'
56963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56964 (eval $ac_try) 2>&5
56965 ac_status=$?
56966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56967 (exit $ac_status); }; } &&
56968 { ac_try='test -s conftest$ac_exeext'
56969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56970 (eval $ac_try) 2>&5
56971 ac_status=$?
56972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56973 (exit $ac_status); }; }; then
56974 eval "$as_ac_var=yes"
56975 else
56976 echo "$as_me: failed program was:" >&5
56977 sed 's/^/| /' conftest.$ac_ext >&5
56979 eval "$as_ac_var=no"
56981 rm -f conftest.err conftest.$ac_objext \
56982 conftest$ac_exeext conftest.$ac_ext
56984 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56985 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56986 if test `eval echo '${'$as_ac_var'}'` = yes; then
56987 cat >>confdefs.h <<_ACEOF
56988 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56989 _ACEOF
56992 done
57002 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
57003 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
57004 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
57005 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
57006 echo $ECHO_N "(cached) $ECHO_C" >&6
57007 else
57011 ac_ext=cc
57012 ac_cpp='$CXXCPP $CPPFLAGS'
57013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57017 cat >conftest.$ac_ext <<_ACEOF
57018 /* confdefs.h. */
57019 _ACEOF
57020 cat confdefs.h >>conftest.$ac_ext
57021 cat >>conftest.$ac_ext <<_ACEOF
57022 /* end confdefs.h. */
57023 #include <math.h>
57025 main ()
57027 ldexpl(0, 0);
57029 return 0;
57031 _ACEOF
57032 rm -f conftest.$ac_objext
57033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57034 (eval $ac_compile) 2>conftest.er1
57035 ac_status=$?
57036 grep -v '^ *+' conftest.er1 >conftest.err
57037 rm -f conftest.er1
57038 cat conftest.err >&5
57039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57040 (exit $ac_status); } &&
57041 { ac_try='test -z "$ac_cxx_werror_flag"
57042 || test ! -s conftest.err'
57043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57044 (eval $ac_try) 2>&5
57045 ac_status=$?
57046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57047 (exit $ac_status); }; } &&
57048 { ac_try='test -s conftest.$ac_objext'
57049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57050 (eval $ac_try) 2>&5
57051 ac_status=$?
57052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57053 (exit $ac_status); }; }; then
57054 glibcxx_cv_func_ldexpl_use=yes
57055 else
57056 echo "$as_me: failed program was:" >&5
57057 sed 's/^/| /' conftest.$ac_ext >&5
57059 glibcxx_cv_func_ldexpl_use=no
57061 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57062 ac_ext=c
57063 ac_cpp='$CPP $CPPFLAGS'
57064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57072 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
57073 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
57075 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
57077 for ac_func in ldexpl
57079 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57080 echo "$as_me:$LINENO: checking for $ac_func" >&5
57081 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57082 if eval "test \"\${$as_ac_var+set}\" = set"; then
57083 echo $ECHO_N "(cached) $ECHO_C" >&6
57084 else
57085 if test x$gcc_no_link = xyes; then
57086 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57087 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57088 { (exit 1); exit 1; }; }
57090 cat >conftest.$ac_ext <<_ACEOF
57091 /* confdefs.h. */
57092 _ACEOF
57093 cat confdefs.h >>conftest.$ac_ext
57094 cat >>conftest.$ac_ext <<_ACEOF
57095 /* end confdefs.h. */
57096 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57097 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57098 #define $ac_func innocuous_$ac_func
57100 /* System header to define __stub macros and hopefully few prototypes,
57101 which can conflict with char $ac_func (); below.
57102 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57103 <limits.h> exists even on freestanding compilers. */
57105 #ifdef __STDC__
57106 # include <limits.h>
57107 #else
57108 # include <assert.h>
57109 #endif
57111 #undef $ac_func
57113 /* Override any gcc2 internal prototype to avoid an error. */
57114 #ifdef __cplusplus
57115 extern "C"
57117 #endif
57118 /* We use char because int might match the return type of a gcc2
57119 builtin and then its argument prototype would still apply. */
57120 char $ac_func ();
57121 /* The GNU C library defines this for functions which it implements
57122 to always fail with ENOSYS. Some functions are actually named
57123 something starting with __ and the normal name is an alias. */
57124 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57125 choke me
57126 #else
57127 char (*f) () = $ac_func;
57128 #endif
57129 #ifdef __cplusplus
57131 #endif
57134 main ()
57136 return f != $ac_func;
57138 return 0;
57140 _ACEOF
57141 rm -f conftest.$ac_objext conftest$ac_exeext
57142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57143 (eval $ac_link) 2>conftest.er1
57144 ac_status=$?
57145 grep -v '^ *+' conftest.er1 >conftest.err
57146 rm -f conftest.er1
57147 cat conftest.err >&5
57148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57149 (exit $ac_status); } &&
57150 { ac_try='test -z "$ac_c_werror_flag"
57151 || test ! -s conftest.err'
57152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57153 (eval $ac_try) 2>&5
57154 ac_status=$?
57155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57156 (exit $ac_status); }; } &&
57157 { ac_try='test -s conftest$ac_exeext'
57158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57159 (eval $ac_try) 2>&5
57160 ac_status=$?
57161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57162 (exit $ac_status); }; }; then
57163 eval "$as_ac_var=yes"
57164 else
57165 echo "$as_me: failed program was:" >&5
57166 sed 's/^/| /' conftest.$ac_ext >&5
57168 eval "$as_ac_var=no"
57170 rm -f conftest.err conftest.$ac_objext \
57171 conftest$ac_exeext conftest.$ac_ext
57173 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57174 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57175 if test `eval echo '${'$as_ac_var'}'` = yes; then
57176 cat >>confdefs.h <<_ACEOF
57177 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57178 _ACEOF
57181 done
57183 else
57185 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
57186 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
57187 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
57188 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
57189 echo $ECHO_N "(cached) $ECHO_C" >&6
57190 else
57194 ac_ext=cc
57195 ac_cpp='$CXXCPP $CPPFLAGS'
57196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57200 cat >conftest.$ac_ext <<_ACEOF
57201 /* confdefs.h. */
57202 _ACEOF
57203 cat confdefs.h >>conftest.$ac_ext
57204 cat >>conftest.$ac_ext <<_ACEOF
57205 /* end confdefs.h. */
57206 #include <math.h>
57208 main ()
57210 _ldexpl(0, 0);
57212 return 0;
57214 _ACEOF
57215 rm -f conftest.$ac_objext
57216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57217 (eval $ac_compile) 2>conftest.er1
57218 ac_status=$?
57219 grep -v '^ *+' conftest.er1 >conftest.err
57220 rm -f conftest.er1
57221 cat conftest.err >&5
57222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57223 (exit $ac_status); } &&
57224 { ac_try='test -z "$ac_cxx_werror_flag"
57225 || test ! -s conftest.err'
57226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57227 (eval $ac_try) 2>&5
57228 ac_status=$?
57229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57230 (exit $ac_status); }; } &&
57231 { ac_try='test -s conftest.$ac_objext'
57232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57233 (eval $ac_try) 2>&5
57234 ac_status=$?
57235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57236 (exit $ac_status); }; }; then
57237 glibcxx_cv_func__ldexpl_use=yes
57238 else
57239 echo "$as_me: failed program was:" >&5
57240 sed 's/^/| /' conftest.$ac_ext >&5
57242 glibcxx_cv_func__ldexpl_use=no
57244 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57245 ac_ext=c
57246 ac_cpp='$CPP $CPPFLAGS'
57247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57255 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
57256 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
57258 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
57260 for ac_func in _ldexpl
57262 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57263 echo "$as_me:$LINENO: checking for $ac_func" >&5
57264 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57265 if eval "test \"\${$as_ac_var+set}\" = set"; then
57266 echo $ECHO_N "(cached) $ECHO_C" >&6
57267 else
57268 if test x$gcc_no_link = xyes; then
57269 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57270 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57271 { (exit 1); exit 1; }; }
57273 cat >conftest.$ac_ext <<_ACEOF
57274 /* confdefs.h. */
57275 _ACEOF
57276 cat confdefs.h >>conftest.$ac_ext
57277 cat >>conftest.$ac_ext <<_ACEOF
57278 /* end confdefs.h. */
57279 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57280 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57281 #define $ac_func innocuous_$ac_func
57283 /* System header to define __stub macros and hopefully few prototypes,
57284 which can conflict with char $ac_func (); below.
57285 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57286 <limits.h> exists even on freestanding compilers. */
57288 #ifdef __STDC__
57289 # include <limits.h>
57290 #else
57291 # include <assert.h>
57292 #endif
57294 #undef $ac_func
57296 /* Override any gcc2 internal prototype to avoid an error. */
57297 #ifdef __cplusplus
57298 extern "C"
57300 #endif
57301 /* We use char because int might match the return type of a gcc2
57302 builtin and then its argument prototype would still apply. */
57303 char $ac_func ();
57304 /* The GNU C library defines this for functions which it implements
57305 to always fail with ENOSYS. Some functions are actually named
57306 something starting with __ and the normal name is an alias. */
57307 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57308 choke me
57309 #else
57310 char (*f) () = $ac_func;
57311 #endif
57312 #ifdef __cplusplus
57314 #endif
57317 main ()
57319 return f != $ac_func;
57321 return 0;
57323 _ACEOF
57324 rm -f conftest.$ac_objext conftest$ac_exeext
57325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57326 (eval $ac_link) 2>conftest.er1
57327 ac_status=$?
57328 grep -v '^ *+' conftest.er1 >conftest.err
57329 rm -f conftest.er1
57330 cat conftest.err >&5
57331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57332 (exit $ac_status); } &&
57333 { ac_try='test -z "$ac_c_werror_flag"
57334 || test ! -s conftest.err'
57335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57336 (eval $ac_try) 2>&5
57337 ac_status=$?
57338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57339 (exit $ac_status); }; } &&
57340 { ac_try='test -s conftest$ac_exeext'
57341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57342 (eval $ac_try) 2>&5
57343 ac_status=$?
57344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57345 (exit $ac_status); }; }; then
57346 eval "$as_ac_var=yes"
57347 else
57348 echo "$as_me: failed program was:" >&5
57349 sed 's/^/| /' conftest.$ac_ext >&5
57351 eval "$as_ac_var=no"
57353 rm -f conftest.err conftest.$ac_objext \
57354 conftest$ac_exeext conftest.$ac_ext
57356 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57357 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57358 if test `eval echo '${'$as_ac_var'}'` = yes; then
57359 cat >>confdefs.h <<_ACEOF
57360 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57361 _ACEOF
57364 done
57374 echo "$as_me:$LINENO: checking for logl declaration" >&5
57375 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
57376 if test x${glibcxx_cv_func_logl_use+set} != xset; then
57377 if test "${glibcxx_cv_func_logl_use+set}" = set; then
57378 echo $ECHO_N "(cached) $ECHO_C" >&6
57379 else
57383 ac_ext=cc
57384 ac_cpp='$CXXCPP $CPPFLAGS'
57385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57389 cat >conftest.$ac_ext <<_ACEOF
57390 /* confdefs.h. */
57391 _ACEOF
57392 cat confdefs.h >>conftest.$ac_ext
57393 cat >>conftest.$ac_ext <<_ACEOF
57394 /* end confdefs.h. */
57395 #include <math.h>
57396 #ifdef HAVE_IEEEFP_H
57397 #include <ieeefp.h>
57398 #endif
57401 main ()
57403 logl(0);
57405 return 0;
57407 _ACEOF
57408 rm -f conftest.$ac_objext
57409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57410 (eval $ac_compile) 2>conftest.er1
57411 ac_status=$?
57412 grep -v '^ *+' conftest.er1 >conftest.err
57413 rm -f conftest.er1
57414 cat conftest.err >&5
57415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57416 (exit $ac_status); } &&
57417 { ac_try='test -z "$ac_cxx_werror_flag"
57418 || test ! -s conftest.err'
57419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57420 (eval $ac_try) 2>&5
57421 ac_status=$?
57422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57423 (exit $ac_status); }; } &&
57424 { ac_try='test -s conftest.$ac_objext'
57425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57426 (eval $ac_try) 2>&5
57427 ac_status=$?
57428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57429 (exit $ac_status); }; }; then
57430 glibcxx_cv_func_logl_use=yes
57431 else
57432 echo "$as_me: failed program was:" >&5
57433 sed 's/^/| /' conftest.$ac_ext >&5
57435 glibcxx_cv_func_logl_use=no
57437 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57438 ac_ext=c
57439 ac_cpp='$CPP $CPPFLAGS'
57440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57448 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
57449 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
57451 if test x$glibcxx_cv_func_logl_use = x"yes"; then
57453 for ac_func in logl
57455 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57456 echo "$as_me:$LINENO: checking for $ac_func" >&5
57457 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57458 if eval "test \"\${$as_ac_var+set}\" = set"; then
57459 echo $ECHO_N "(cached) $ECHO_C" >&6
57460 else
57461 if test x$gcc_no_link = xyes; then
57462 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57463 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57464 { (exit 1); exit 1; }; }
57466 cat >conftest.$ac_ext <<_ACEOF
57467 /* confdefs.h. */
57468 _ACEOF
57469 cat confdefs.h >>conftest.$ac_ext
57470 cat >>conftest.$ac_ext <<_ACEOF
57471 /* end confdefs.h. */
57472 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57473 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57474 #define $ac_func innocuous_$ac_func
57476 /* System header to define __stub macros and hopefully few prototypes,
57477 which can conflict with char $ac_func (); below.
57478 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57479 <limits.h> exists even on freestanding compilers. */
57481 #ifdef __STDC__
57482 # include <limits.h>
57483 #else
57484 # include <assert.h>
57485 #endif
57487 #undef $ac_func
57489 /* Override any gcc2 internal prototype to avoid an error. */
57490 #ifdef __cplusplus
57491 extern "C"
57493 #endif
57494 /* We use char because int might match the return type of a gcc2
57495 builtin and then its argument prototype would still apply. */
57496 char $ac_func ();
57497 /* The GNU C library defines this for functions which it implements
57498 to always fail with ENOSYS. Some functions are actually named
57499 something starting with __ and the normal name is an alias. */
57500 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57501 choke me
57502 #else
57503 char (*f) () = $ac_func;
57504 #endif
57505 #ifdef __cplusplus
57507 #endif
57510 main ()
57512 return f != $ac_func;
57514 return 0;
57516 _ACEOF
57517 rm -f conftest.$ac_objext conftest$ac_exeext
57518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57519 (eval $ac_link) 2>conftest.er1
57520 ac_status=$?
57521 grep -v '^ *+' conftest.er1 >conftest.err
57522 rm -f conftest.er1
57523 cat conftest.err >&5
57524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57525 (exit $ac_status); } &&
57526 { ac_try='test -z "$ac_c_werror_flag"
57527 || test ! -s conftest.err'
57528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57529 (eval $ac_try) 2>&5
57530 ac_status=$?
57531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57532 (exit $ac_status); }; } &&
57533 { ac_try='test -s conftest$ac_exeext'
57534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57535 (eval $ac_try) 2>&5
57536 ac_status=$?
57537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57538 (exit $ac_status); }; }; then
57539 eval "$as_ac_var=yes"
57540 else
57541 echo "$as_me: failed program was:" >&5
57542 sed 's/^/| /' conftest.$ac_ext >&5
57544 eval "$as_ac_var=no"
57546 rm -f conftest.err conftest.$ac_objext \
57547 conftest$ac_exeext conftest.$ac_ext
57549 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57550 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57551 if test `eval echo '${'$as_ac_var'}'` = yes; then
57552 cat >>confdefs.h <<_ACEOF
57553 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57554 _ACEOF
57557 done
57559 else
57561 echo "$as_me:$LINENO: checking for _logl declaration" >&5
57562 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
57563 if test x${glibcxx_cv_func__logl_use+set} != xset; then
57564 if test "${glibcxx_cv_func__logl_use+set}" = set; then
57565 echo $ECHO_N "(cached) $ECHO_C" >&6
57566 else
57570 ac_ext=cc
57571 ac_cpp='$CXXCPP $CPPFLAGS'
57572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57576 cat >conftest.$ac_ext <<_ACEOF
57577 /* confdefs.h. */
57578 _ACEOF
57579 cat confdefs.h >>conftest.$ac_ext
57580 cat >>conftest.$ac_ext <<_ACEOF
57581 /* end confdefs.h. */
57582 #include <math.h>
57583 #ifdef HAVE_IEEEFP_H
57584 #include <ieeefp.h>
57585 #endif
57588 main ()
57590 _logl(0);
57592 return 0;
57594 _ACEOF
57595 rm -f conftest.$ac_objext
57596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57597 (eval $ac_compile) 2>conftest.er1
57598 ac_status=$?
57599 grep -v '^ *+' conftest.er1 >conftest.err
57600 rm -f conftest.er1
57601 cat conftest.err >&5
57602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57603 (exit $ac_status); } &&
57604 { ac_try='test -z "$ac_cxx_werror_flag"
57605 || test ! -s conftest.err'
57606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57607 (eval $ac_try) 2>&5
57608 ac_status=$?
57609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57610 (exit $ac_status); }; } &&
57611 { ac_try='test -s conftest.$ac_objext'
57612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57613 (eval $ac_try) 2>&5
57614 ac_status=$?
57615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57616 (exit $ac_status); }; }; then
57617 glibcxx_cv_func__logl_use=yes
57618 else
57619 echo "$as_me: failed program was:" >&5
57620 sed 's/^/| /' conftest.$ac_ext >&5
57622 glibcxx_cv_func__logl_use=no
57624 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57625 ac_ext=c
57626 ac_cpp='$CPP $CPPFLAGS'
57627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57635 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
57636 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
57638 if test x$glibcxx_cv_func__logl_use = x"yes"; then
57640 for ac_func in _logl
57642 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57643 echo "$as_me:$LINENO: checking for $ac_func" >&5
57644 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57645 if eval "test \"\${$as_ac_var+set}\" = set"; then
57646 echo $ECHO_N "(cached) $ECHO_C" >&6
57647 else
57648 if test x$gcc_no_link = xyes; then
57649 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57650 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57651 { (exit 1); exit 1; }; }
57653 cat >conftest.$ac_ext <<_ACEOF
57654 /* confdefs.h. */
57655 _ACEOF
57656 cat confdefs.h >>conftest.$ac_ext
57657 cat >>conftest.$ac_ext <<_ACEOF
57658 /* end confdefs.h. */
57659 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57660 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57661 #define $ac_func innocuous_$ac_func
57663 /* System header to define __stub macros and hopefully few prototypes,
57664 which can conflict with char $ac_func (); below.
57665 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57666 <limits.h> exists even on freestanding compilers. */
57668 #ifdef __STDC__
57669 # include <limits.h>
57670 #else
57671 # include <assert.h>
57672 #endif
57674 #undef $ac_func
57676 /* Override any gcc2 internal prototype to avoid an error. */
57677 #ifdef __cplusplus
57678 extern "C"
57680 #endif
57681 /* We use char because int might match the return type of a gcc2
57682 builtin and then its argument prototype would still apply. */
57683 char $ac_func ();
57684 /* The GNU C library defines this for functions which it implements
57685 to always fail with ENOSYS. Some functions are actually named
57686 something starting with __ and the normal name is an alias. */
57687 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57688 choke me
57689 #else
57690 char (*f) () = $ac_func;
57691 #endif
57692 #ifdef __cplusplus
57694 #endif
57697 main ()
57699 return f != $ac_func;
57701 return 0;
57703 _ACEOF
57704 rm -f conftest.$ac_objext conftest$ac_exeext
57705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57706 (eval $ac_link) 2>conftest.er1
57707 ac_status=$?
57708 grep -v '^ *+' conftest.er1 >conftest.err
57709 rm -f conftest.er1
57710 cat conftest.err >&5
57711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57712 (exit $ac_status); } &&
57713 { ac_try='test -z "$ac_c_werror_flag"
57714 || test ! -s conftest.err'
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); }; } &&
57720 { ac_try='test -s conftest$ac_exeext'
57721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57722 (eval $ac_try) 2>&5
57723 ac_status=$?
57724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57725 (exit $ac_status); }; }; then
57726 eval "$as_ac_var=yes"
57727 else
57728 echo "$as_me: failed program was:" >&5
57729 sed 's/^/| /' conftest.$ac_ext >&5
57731 eval "$as_ac_var=no"
57733 rm -f conftest.err conftest.$ac_objext \
57734 conftest$ac_exeext conftest.$ac_ext
57736 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57737 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57738 if test `eval echo '${'$as_ac_var'}'` = yes; then
57739 cat >>confdefs.h <<_ACEOF
57740 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57741 _ACEOF
57744 done
57754 echo "$as_me:$LINENO: checking for log10l declaration" >&5
57755 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
57756 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
57757 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
57758 echo $ECHO_N "(cached) $ECHO_C" >&6
57759 else
57763 ac_ext=cc
57764 ac_cpp='$CXXCPP $CPPFLAGS'
57765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57769 cat >conftest.$ac_ext <<_ACEOF
57770 /* confdefs.h. */
57771 _ACEOF
57772 cat confdefs.h >>conftest.$ac_ext
57773 cat >>conftest.$ac_ext <<_ACEOF
57774 /* end confdefs.h. */
57775 #include <math.h>
57776 #ifdef HAVE_IEEEFP_H
57777 #include <ieeefp.h>
57778 #endif
57781 main ()
57783 log10l(0);
57785 return 0;
57787 _ACEOF
57788 rm -f conftest.$ac_objext
57789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57790 (eval $ac_compile) 2>conftest.er1
57791 ac_status=$?
57792 grep -v '^ *+' conftest.er1 >conftest.err
57793 rm -f conftest.er1
57794 cat conftest.err >&5
57795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57796 (exit $ac_status); } &&
57797 { ac_try='test -z "$ac_cxx_werror_flag"
57798 || test ! -s conftest.err'
57799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57800 (eval $ac_try) 2>&5
57801 ac_status=$?
57802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57803 (exit $ac_status); }; } &&
57804 { ac_try='test -s conftest.$ac_objext'
57805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57806 (eval $ac_try) 2>&5
57807 ac_status=$?
57808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57809 (exit $ac_status); }; }; then
57810 glibcxx_cv_func_log10l_use=yes
57811 else
57812 echo "$as_me: failed program was:" >&5
57813 sed 's/^/| /' conftest.$ac_ext >&5
57815 glibcxx_cv_func_log10l_use=no
57817 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57818 ac_ext=c
57819 ac_cpp='$CPP $CPPFLAGS'
57820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57828 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
57829 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
57831 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
57833 for ac_func in log10l
57835 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57836 echo "$as_me:$LINENO: checking for $ac_func" >&5
57837 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57838 if eval "test \"\${$as_ac_var+set}\" = set"; then
57839 echo $ECHO_N "(cached) $ECHO_C" >&6
57840 else
57841 if test x$gcc_no_link = xyes; then
57842 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57843 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57844 { (exit 1); exit 1; }; }
57846 cat >conftest.$ac_ext <<_ACEOF
57847 /* confdefs.h. */
57848 _ACEOF
57849 cat confdefs.h >>conftest.$ac_ext
57850 cat >>conftest.$ac_ext <<_ACEOF
57851 /* end confdefs.h. */
57852 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57853 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57854 #define $ac_func innocuous_$ac_func
57856 /* System header to define __stub macros and hopefully few prototypes,
57857 which can conflict with char $ac_func (); below.
57858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57859 <limits.h> exists even on freestanding compilers. */
57861 #ifdef __STDC__
57862 # include <limits.h>
57863 #else
57864 # include <assert.h>
57865 #endif
57867 #undef $ac_func
57869 /* Override any gcc2 internal prototype to avoid an error. */
57870 #ifdef __cplusplus
57871 extern "C"
57873 #endif
57874 /* We use char because int might match the return type of a gcc2
57875 builtin and then its argument prototype would still apply. */
57876 char $ac_func ();
57877 /* The GNU C library defines this for functions which it implements
57878 to always fail with ENOSYS. Some functions are actually named
57879 something starting with __ and the normal name is an alias. */
57880 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57881 choke me
57882 #else
57883 char (*f) () = $ac_func;
57884 #endif
57885 #ifdef __cplusplus
57887 #endif
57890 main ()
57892 return f != $ac_func;
57894 return 0;
57896 _ACEOF
57897 rm -f conftest.$ac_objext conftest$ac_exeext
57898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57899 (eval $ac_link) 2>conftest.er1
57900 ac_status=$?
57901 grep -v '^ *+' conftest.er1 >conftest.err
57902 rm -f conftest.er1
57903 cat conftest.err >&5
57904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57905 (exit $ac_status); } &&
57906 { ac_try='test -z "$ac_c_werror_flag"
57907 || test ! -s conftest.err'
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); }; } &&
57913 { ac_try='test -s conftest$ac_exeext'
57914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57915 (eval $ac_try) 2>&5
57916 ac_status=$?
57917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57918 (exit $ac_status); }; }; then
57919 eval "$as_ac_var=yes"
57920 else
57921 echo "$as_me: failed program was:" >&5
57922 sed 's/^/| /' conftest.$ac_ext >&5
57924 eval "$as_ac_var=no"
57926 rm -f conftest.err conftest.$ac_objext \
57927 conftest$ac_exeext conftest.$ac_ext
57929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57930 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57931 if test `eval echo '${'$as_ac_var'}'` = yes; then
57932 cat >>confdefs.h <<_ACEOF
57933 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57934 _ACEOF
57937 done
57939 else
57941 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
57942 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
57943 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
57944 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
57945 echo $ECHO_N "(cached) $ECHO_C" >&6
57946 else
57950 ac_ext=cc
57951 ac_cpp='$CXXCPP $CPPFLAGS'
57952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57956 cat >conftest.$ac_ext <<_ACEOF
57957 /* confdefs.h. */
57958 _ACEOF
57959 cat confdefs.h >>conftest.$ac_ext
57960 cat >>conftest.$ac_ext <<_ACEOF
57961 /* end confdefs.h. */
57962 #include <math.h>
57963 #ifdef HAVE_IEEEFP_H
57964 #include <ieeefp.h>
57965 #endif
57968 main ()
57970 _log10l(0);
57972 return 0;
57974 _ACEOF
57975 rm -f conftest.$ac_objext
57976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57977 (eval $ac_compile) 2>conftest.er1
57978 ac_status=$?
57979 grep -v '^ *+' conftest.er1 >conftest.err
57980 rm -f conftest.er1
57981 cat conftest.err >&5
57982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57983 (exit $ac_status); } &&
57984 { ac_try='test -z "$ac_cxx_werror_flag"
57985 || test ! -s conftest.err'
57986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57987 (eval $ac_try) 2>&5
57988 ac_status=$?
57989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57990 (exit $ac_status); }; } &&
57991 { ac_try='test -s conftest.$ac_objext'
57992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57993 (eval $ac_try) 2>&5
57994 ac_status=$?
57995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57996 (exit $ac_status); }; }; then
57997 glibcxx_cv_func__log10l_use=yes
57998 else
57999 echo "$as_me: failed program was:" >&5
58000 sed 's/^/| /' conftest.$ac_ext >&5
58002 glibcxx_cv_func__log10l_use=no
58004 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58005 ac_ext=c
58006 ac_cpp='$CPP $CPPFLAGS'
58007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58015 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
58016 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
58018 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
58020 for ac_func in _log10l
58022 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58023 echo "$as_me:$LINENO: checking for $ac_func" >&5
58024 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58025 if eval "test \"\${$as_ac_var+set}\" = set"; then
58026 echo $ECHO_N "(cached) $ECHO_C" >&6
58027 else
58028 if test x$gcc_no_link = xyes; then
58029 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58030 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58031 { (exit 1); exit 1; }; }
58033 cat >conftest.$ac_ext <<_ACEOF
58034 /* confdefs.h. */
58035 _ACEOF
58036 cat confdefs.h >>conftest.$ac_ext
58037 cat >>conftest.$ac_ext <<_ACEOF
58038 /* end confdefs.h. */
58039 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58040 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58041 #define $ac_func innocuous_$ac_func
58043 /* System header to define __stub macros and hopefully few prototypes,
58044 which can conflict with char $ac_func (); below.
58045 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58046 <limits.h> exists even on freestanding compilers. */
58048 #ifdef __STDC__
58049 # include <limits.h>
58050 #else
58051 # include <assert.h>
58052 #endif
58054 #undef $ac_func
58056 /* Override any gcc2 internal prototype to avoid an error. */
58057 #ifdef __cplusplus
58058 extern "C"
58060 #endif
58061 /* We use char because int might match the return type of a gcc2
58062 builtin and then its argument prototype would still apply. */
58063 char $ac_func ();
58064 /* The GNU C library defines this for functions which it implements
58065 to always fail with ENOSYS. Some functions are actually named
58066 something starting with __ and the normal name is an alias. */
58067 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58068 choke me
58069 #else
58070 char (*f) () = $ac_func;
58071 #endif
58072 #ifdef __cplusplus
58074 #endif
58077 main ()
58079 return f != $ac_func;
58081 return 0;
58083 _ACEOF
58084 rm -f conftest.$ac_objext conftest$ac_exeext
58085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58086 (eval $ac_link) 2>conftest.er1
58087 ac_status=$?
58088 grep -v '^ *+' conftest.er1 >conftest.err
58089 rm -f conftest.er1
58090 cat conftest.err >&5
58091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58092 (exit $ac_status); } &&
58093 { ac_try='test -z "$ac_c_werror_flag"
58094 || test ! -s conftest.err'
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); }; } &&
58100 { ac_try='test -s conftest$ac_exeext'
58101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58102 (eval $ac_try) 2>&5
58103 ac_status=$?
58104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58105 (exit $ac_status); }; }; then
58106 eval "$as_ac_var=yes"
58107 else
58108 echo "$as_me: failed program was:" >&5
58109 sed 's/^/| /' conftest.$ac_ext >&5
58111 eval "$as_ac_var=no"
58113 rm -f conftest.err conftest.$ac_objext \
58114 conftest$ac_exeext conftest.$ac_ext
58116 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58117 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58118 if test `eval echo '${'$as_ac_var'}'` = yes; then
58119 cat >>confdefs.h <<_ACEOF
58120 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58121 _ACEOF
58124 done
58134 echo "$as_me:$LINENO: checking for modfl declaration" >&5
58135 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
58136 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
58137 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
58138 echo $ECHO_N "(cached) $ECHO_C" >&6
58139 else
58143 ac_ext=cc
58144 ac_cpp='$CXXCPP $CPPFLAGS'
58145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58149 cat >conftest.$ac_ext <<_ACEOF
58150 /* confdefs.h. */
58151 _ACEOF
58152 cat confdefs.h >>conftest.$ac_ext
58153 cat >>conftest.$ac_ext <<_ACEOF
58154 /* end confdefs.h. */
58155 #include <math.h>
58157 main ()
58159 modfl(0, 0);
58161 return 0;
58163 _ACEOF
58164 rm -f conftest.$ac_objext
58165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58166 (eval $ac_compile) 2>conftest.er1
58167 ac_status=$?
58168 grep -v '^ *+' conftest.er1 >conftest.err
58169 rm -f conftest.er1
58170 cat conftest.err >&5
58171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58172 (exit $ac_status); } &&
58173 { ac_try='test -z "$ac_cxx_werror_flag"
58174 || test ! -s conftest.err'
58175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58176 (eval $ac_try) 2>&5
58177 ac_status=$?
58178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58179 (exit $ac_status); }; } &&
58180 { ac_try='test -s conftest.$ac_objext'
58181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58182 (eval $ac_try) 2>&5
58183 ac_status=$?
58184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58185 (exit $ac_status); }; }; then
58186 glibcxx_cv_func_modfl_use=yes
58187 else
58188 echo "$as_me: failed program was:" >&5
58189 sed 's/^/| /' conftest.$ac_ext >&5
58191 glibcxx_cv_func_modfl_use=no
58193 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58194 ac_ext=c
58195 ac_cpp='$CPP $CPPFLAGS'
58196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58204 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
58205 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
58207 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
58209 for ac_func in modfl
58211 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58212 echo "$as_me:$LINENO: checking for $ac_func" >&5
58213 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58214 if eval "test \"\${$as_ac_var+set}\" = set"; then
58215 echo $ECHO_N "(cached) $ECHO_C" >&6
58216 else
58217 if test x$gcc_no_link = xyes; then
58218 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58219 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58220 { (exit 1); exit 1; }; }
58222 cat >conftest.$ac_ext <<_ACEOF
58223 /* confdefs.h. */
58224 _ACEOF
58225 cat confdefs.h >>conftest.$ac_ext
58226 cat >>conftest.$ac_ext <<_ACEOF
58227 /* end confdefs.h. */
58228 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58229 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58230 #define $ac_func innocuous_$ac_func
58232 /* System header to define __stub macros and hopefully few prototypes,
58233 which can conflict with char $ac_func (); below.
58234 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58235 <limits.h> exists even on freestanding compilers. */
58237 #ifdef __STDC__
58238 # include <limits.h>
58239 #else
58240 # include <assert.h>
58241 #endif
58243 #undef $ac_func
58245 /* Override any gcc2 internal prototype to avoid an error. */
58246 #ifdef __cplusplus
58247 extern "C"
58249 #endif
58250 /* We use char because int might match the return type of a gcc2
58251 builtin and then its argument prototype would still apply. */
58252 char $ac_func ();
58253 /* The GNU C library defines this for functions which it implements
58254 to always fail with ENOSYS. Some functions are actually named
58255 something starting with __ and the normal name is an alias. */
58256 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58257 choke me
58258 #else
58259 char (*f) () = $ac_func;
58260 #endif
58261 #ifdef __cplusplus
58263 #endif
58266 main ()
58268 return f != $ac_func;
58270 return 0;
58272 _ACEOF
58273 rm -f conftest.$ac_objext conftest$ac_exeext
58274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58275 (eval $ac_link) 2>conftest.er1
58276 ac_status=$?
58277 grep -v '^ *+' conftest.er1 >conftest.err
58278 rm -f conftest.er1
58279 cat conftest.err >&5
58280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58281 (exit $ac_status); } &&
58282 { ac_try='test -z "$ac_c_werror_flag"
58283 || test ! -s conftest.err'
58284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58285 (eval $ac_try) 2>&5
58286 ac_status=$?
58287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58288 (exit $ac_status); }; } &&
58289 { ac_try='test -s conftest$ac_exeext'
58290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58291 (eval $ac_try) 2>&5
58292 ac_status=$?
58293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58294 (exit $ac_status); }; }; then
58295 eval "$as_ac_var=yes"
58296 else
58297 echo "$as_me: failed program was:" >&5
58298 sed 's/^/| /' conftest.$ac_ext >&5
58300 eval "$as_ac_var=no"
58302 rm -f conftest.err conftest.$ac_objext \
58303 conftest$ac_exeext conftest.$ac_ext
58305 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58306 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58307 if test `eval echo '${'$as_ac_var'}'` = yes; then
58308 cat >>confdefs.h <<_ACEOF
58309 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58310 _ACEOF
58313 done
58315 else
58317 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
58318 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
58319 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
58320 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
58321 echo $ECHO_N "(cached) $ECHO_C" >&6
58322 else
58326 ac_ext=cc
58327 ac_cpp='$CXXCPP $CPPFLAGS'
58328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58332 cat >conftest.$ac_ext <<_ACEOF
58333 /* confdefs.h. */
58334 _ACEOF
58335 cat confdefs.h >>conftest.$ac_ext
58336 cat >>conftest.$ac_ext <<_ACEOF
58337 /* end confdefs.h. */
58338 #include <math.h>
58340 main ()
58342 _modfl(0, 0);
58344 return 0;
58346 _ACEOF
58347 rm -f conftest.$ac_objext
58348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58349 (eval $ac_compile) 2>conftest.er1
58350 ac_status=$?
58351 grep -v '^ *+' conftest.er1 >conftest.err
58352 rm -f conftest.er1
58353 cat conftest.err >&5
58354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58355 (exit $ac_status); } &&
58356 { ac_try='test -z "$ac_cxx_werror_flag"
58357 || test ! -s conftest.err'
58358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58359 (eval $ac_try) 2>&5
58360 ac_status=$?
58361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58362 (exit $ac_status); }; } &&
58363 { ac_try='test -s conftest.$ac_objext'
58364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58365 (eval $ac_try) 2>&5
58366 ac_status=$?
58367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58368 (exit $ac_status); }; }; then
58369 glibcxx_cv_func__modfl_use=yes
58370 else
58371 echo "$as_me: failed program was:" >&5
58372 sed 's/^/| /' conftest.$ac_ext >&5
58374 glibcxx_cv_func__modfl_use=no
58376 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58377 ac_ext=c
58378 ac_cpp='$CPP $CPPFLAGS'
58379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58387 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
58388 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
58390 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
58392 for ac_func in _modfl
58394 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58395 echo "$as_me:$LINENO: checking for $ac_func" >&5
58396 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58397 if eval "test \"\${$as_ac_var+set}\" = set"; then
58398 echo $ECHO_N "(cached) $ECHO_C" >&6
58399 else
58400 if test x$gcc_no_link = xyes; then
58401 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58402 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58403 { (exit 1); exit 1; }; }
58405 cat >conftest.$ac_ext <<_ACEOF
58406 /* confdefs.h. */
58407 _ACEOF
58408 cat confdefs.h >>conftest.$ac_ext
58409 cat >>conftest.$ac_ext <<_ACEOF
58410 /* end confdefs.h. */
58411 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58412 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58413 #define $ac_func innocuous_$ac_func
58415 /* System header to define __stub macros and hopefully few prototypes,
58416 which can conflict with char $ac_func (); below.
58417 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58418 <limits.h> exists even on freestanding compilers. */
58420 #ifdef __STDC__
58421 # include <limits.h>
58422 #else
58423 # include <assert.h>
58424 #endif
58426 #undef $ac_func
58428 /* Override any gcc2 internal prototype to avoid an error. */
58429 #ifdef __cplusplus
58430 extern "C"
58432 #endif
58433 /* We use char because int might match the return type of a gcc2
58434 builtin and then its argument prototype would still apply. */
58435 char $ac_func ();
58436 /* The GNU C library defines this for functions which it implements
58437 to always fail with ENOSYS. Some functions are actually named
58438 something starting with __ and the normal name is an alias. */
58439 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58440 choke me
58441 #else
58442 char (*f) () = $ac_func;
58443 #endif
58444 #ifdef __cplusplus
58446 #endif
58449 main ()
58451 return f != $ac_func;
58453 return 0;
58455 _ACEOF
58456 rm -f conftest.$ac_objext conftest$ac_exeext
58457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58458 (eval $ac_link) 2>conftest.er1
58459 ac_status=$?
58460 grep -v '^ *+' conftest.er1 >conftest.err
58461 rm -f conftest.er1
58462 cat conftest.err >&5
58463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58464 (exit $ac_status); } &&
58465 { ac_try='test -z "$ac_c_werror_flag"
58466 || test ! -s conftest.err'
58467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58468 (eval $ac_try) 2>&5
58469 ac_status=$?
58470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58471 (exit $ac_status); }; } &&
58472 { ac_try='test -s conftest$ac_exeext'
58473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58474 (eval $ac_try) 2>&5
58475 ac_status=$?
58476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58477 (exit $ac_status); }; }; then
58478 eval "$as_ac_var=yes"
58479 else
58480 echo "$as_me: failed program was:" >&5
58481 sed 's/^/| /' conftest.$ac_ext >&5
58483 eval "$as_ac_var=no"
58485 rm -f conftest.err conftest.$ac_objext \
58486 conftest$ac_exeext conftest.$ac_ext
58488 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58489 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58490 if test `eval echo '${'$as_ac_var'}'` = yes; then
58491 cat >>confdefs.h <<_ACEOF
58492 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58493 _ACEOF
58496 done
58506 echo "$as_me:$LINENO: checking for powl declaration" >&5
58507 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
58508 if test x${glibcxx_cv_func_powl_use+set} != xset; then
58509 if test "${glibcxx_cv_func_powl_use+set}" = set; then
58510 echo $ECHO_N "(cached) $ECHO_C" >&6
58511 else
58515 ac_ext=cc
58516 ac_cpp='$CXXCPP $CPPFLAGS'
58517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58521 cat >conftest.$ac_ext <<_ACEOF
58522 /* confdefs.h. */
58523 _ACEOF
58524 cat confdefs.h >>conftest.$ac_ext
58525 cat >>conftest.$ac_ext <<_ACEOF
58526 /* end confdefs.h. */
58527 #include <math.h>
58529 main ()
58531 powl(0, 0);
58533 return 0;
58535 _ACEOF
58536 rm -f conftest.$ac_objext
58537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58538 (eval $ac_compile) 2>conftest.er1
58539 ac_status=$?
58540 grep -v '^ *+' conftest.er1 >conftest.err
58541 rm -f conftest.er1
58542 cat conftest.err >&5
58543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58544 (exit $ac_status); } &&
58545 { ac_try='test -z "$ac_cxx_werror_flag"
58546 || test ! -s conftest.err'
58547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58548 (eval $ac_try) 2>&5
58549 ac_status=$?
58550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58551 (exit $ac_status); }; } &&
58552 { ac_try='test -s conftest.$ac_objext'
58553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58554 (eval $ac_try) 2>&5
58555 ac_status=$?
58556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58557 (exit $ac_status); }; }; then
58558 glibcxx_cv_func_powl_use=yes
58559 else
58560 echo "$as_me: failed program was:" >&5
58561 sed 's/^/| /' conftest.$ac_ext >&5
58563 glibcxx_cv_func_powl_use=no
58565 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58566 ac_ext=c
58567 ac_cpp='$CPP $CPPFLAGS'
58568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58576 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
58577 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
58579 if test x$glibcxx_cv_func_powl_use = x"yes"; then
58581 for ac_func in powl
58583 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58584 echo "$as_me:$LINENO: checking for $ac_func" >&5
58585 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58586 if eval "test \"\${$as_ac_var+set}\" = set"; then
58587 echo $ECHO_N "(cached) $ECHO_C" >&6
58588 else
58589 if test x$gcc_no_link = xyes; then
58590 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58591 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58592 { (exit 1); exit 1; }; }
58594 cat >conftest.$ac_ext <<_ACEOF
58595 /* confdefs.h. */
58596 _ACEOF
58597 cat confdefs.h >>conftest.$ac_ext
58598 cat >>conftest.$ac_ext <<_ACEOF
58599 /* end confdefs.h. */
58600 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58601 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58602 #define $ac_func innocuous_$ac_func
58604 /* System header to define __stub macros and hopefully few prototypes,
58605 which can conflict with char $ac_func (); below.
58606 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58607 <limits.h> exists even on freestanding compilers. */
58609 #ifdef __STDC__
58610 # include <limits.h>
58611 #else
58612 # include <assert.h>
58613 #endif
58615 #undef $ac_func
58617 /* Override any gcc2 internal prototype to avoid an error. */
58618 #ifdef __cplusplus
58619 extern "C"
58621 #endif
58622 /* We use char because int might match the return type of a gcc2
58623 builtin and then its argument prototype would still apply. */
58624 char $ac_func ();
58625 /* The GNU C library defines this for functions which it implements
58626 to always fail with ENOSYS. Some functions are actually named
58627 something starting with __ and the normal name is an alias. */
58628 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58629 choke me
58630 #else
58631 char (*f) () = $ac_func;
58632 #endif
58633 #ifdef __cplusplus
58635 #endif
58638 main ()
58640 return f != $ac_func;
58642 return 0;
58644 _ACEOF
58645 rm -f conftest.$ac_objext conftest$ac_exeext
58646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58647 (eval $ac_link) 2>conftest.er1
58648 ac_status=$?
58649 grep -v '^ *+' conftest.er1 >conftest.err
58650 rm -f conftest.er1
58651 cat conftest.err >&5
58652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58653 (exit $ac_status); } &&
58654 { ac_try='test -z "$ac_c_werror_flag"
58655 || test ! -s conftest.err'
58656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58657 (eval $ac_try) 2>&5
58658 ac_status=$?
58659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58660 (exit $ac_status); }; } &&
58661 { ac_try='test -s conftest$ac_exeext'
58662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58663 (eval $ac_try) 2>&5
58664 ac_status=$?
58665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58666 (exit $ac_status); }; }; then
58667 eval "$as_ac_var=yes"
58668 else
58669 echo "$as_me: failed program was:" >&5
58670 sed 's/^/| /' conftest.$ac_ext >&5
58672 eval "$as_ac_var=no"
58674 rm -f conftest.err conftest.$ac_objext \
58675 conftest$ac_exeext conftest.$ac_ext
58677 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58678 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58679 if test `eval echo '${'$as_ac_var'}'` = yes; then
58680 cat >>confdefs.h <<_ACEOF
58681 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58682 _ACEOF
58685 done
58687 else
58689 echo "$as_me:$LINENO: checking for _powl declaration" >&5
58690 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
58691 if test x${glibcxx_cv_func__powl_use+set} != xset; then
58692 if test "${glibcxx_cv_func__powl_use+set}" = set; then
58693 echo $ECHO_N "(cached) $ECHO_C" >&6
58694 else
58698 ac_ext=cc
58699 ac_cpp='$CXXCPP $CPPFLAGS'
58700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58704 cat >conftest.$ac_ext <<_ACEOF
58705 /* confdefs.h. */
58706 _ACEOF
58707 cat confdefs.h >>conftest.$ac_ext
58708 cat >>conftest.$ac_ext <<_ACEOF
58709 /* end confdefs.h. */
58710 #include <math.h>
58712 main ()
58714 _powl(0, 0);
58716 return 0;
58718 _ACEOF
58719 rm -f conftest.$ac_objext
58720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58721 (eval $ac_compile) 2>conftest.er1
58722 ac_status=$?
58723 grep -v '^ *+' conftest.er1 >conftest.err
58724 rm -f conftest.er1
58725 cat conftest.err >&5
58726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58727 (exit $ac_status); } &&
58728 { ac_try='test -z "$ac_cxx_werror_flag"
58729 || test ! -s conftest.err'
58730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58731 (eval $ac_try) 2>&5
58732 ac_status=$?
58733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58734 (exit $ac_status); }; } &&
58735 { ac_try='test -s conftest.$ac_objext'
58736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58737 (eval $ac_try) 2>&5
58738 ac_status=$?
58739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58740 (exit $ac_status); }; }; then
58741 glibcxx_cv_func__powl_use=yes
58742 else
58743 echo "$as_me: failed program was:" >&5
58744 sed 's/^/| /' conftest.$ac_ext >&5
58746 glibcxx_cv_func__powl_use=no
58748 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58749 ac_ext=c
58750 ac_cpp='$CPP $CPPFLAGS'
58751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58759 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
58760 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
58762 if test x$glibcxx_cv_func__powl_use = x"yes"; then
58764 for ac_func in _powl
58766 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58767 echo "$as_me:$LINENO: checking for $ac_func" >&5
58768 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58769 if eval "test \"\${$as_ac_var+set}\" = set"; then
58770 echo $ECHO_N "(cached) $ECHO_C" >&6
58771 else
58772 if test x$gcc_no_link = xyes; then
58773 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58774 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58775 { (exit 1); exit 1; }; }
58777 cat >conftest.$ac_ext <<_ACEOF
58778 /* confdefs.h. */
58779 _ACEOF
58780 cat confdefs.h >>conftest.$ac_ext
58781 cat >>conftest.$ac_ext <<_ACEOF
58782 /* end confdefs.h. */
58783 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58784 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58785 #define $ac_func innocuous_$ac_func
58787 /* System header to define __stub macros and hopefully few prototypes,
58788 which can conflict with char $ac_func (); below.
58789 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58790 <limits.h> exists even on freestanding compilers. */
58792 #ifdef __STDC__
58793 # include <limits.h>
58794 #else
58795 # include <assert.h>
58796 #endif
58798 #undef $ac_func
58800 /* Override any gcc2 internal prototype to avoid an error. */
58801 #ifdef __cplusplus
58802 extern "C"
58804 #endif
58805 /* We use char because int might match the return type of a gcc2
58806 builtin and then its argument prototype would still apply. */
58807 char $ac_func ();
58808 /* The GNU C library defines this for functions which it implements
58809 to always fail with ENOSYS. Some functions are actually named
58810 something starting with __ and the normal name is an alias. */
58811 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58812 choke me
58813 #else
58814 char (*f) () = $ac_func;
58815 #endif
58816 #ifdef __cplusplus
58818 #endif
58821 main ()
58823 return f != $ac_func;
58825 return 0;
58827 _ACEOF
58828 rm -f conftest.$ac_objext conftest$ac_exeext
58829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58830 (eval $ac_link) 2>conftest.er1
58831 ac_status=$?
58832 grep -v '^ *+' conftest.er1 >conftest.err
58833 rm -f conftest.er1
58834 cat conftest.err >&5
58835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58836 (exit $ac_status); } &&
58837 { ac_try='test -z "$ac_c_werror_flag"
58838 || test ! -s conftest.err'
58839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58840 (eval $ac_try) 2>&5
58841 ac_status=$?
58842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58843 (exit $ac_status); }; } &&
58844 { ac_try='test -s conftest$ac_exeext'
58845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58846 (eval $ac_try) 2>&5
58847 ac_status=$?
58848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58849 (exit $ac_status); }; }; then
58850 eval "$as_ac_var=yes"
58851 else
58852 echo "$as_me: failed program was:" >&5
58853 sed 's/^/| /' conftest.$ac_ext >&5
58855 eval "$as_ac_var=no"
58857 rm -f conftest.err conftest.$ac_objext \
58858 conftest$ac_exeext conftest.$ac_ext
58860 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58861 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58862 if test `eval echo '${'$as_ac_var'}'` = yes; then
58863 cat >>confdefs.h <<_ACEOF
58864 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58865 _ACEOF
58868 done
58878 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
58879 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
58880 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
58881 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
58882 echo $ECHO_N "(cached) $ECHO_C" >&6
58883 else
58887 ac_ext=cc
58888 ac_cpp='$CXXCPP $CPPFLAGS'
58889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58893 cat >conftest.$ac_ext <<_ACEOF
58894 /* confdefs.h. */
58895 _ACEOF
58896 cat confdefs.h >>conftest.$ac_ext
58897 cat >>conftest.$ac_ext <<_ACEOF
58898 /* end confdefs.h. */
58899 #include <math.h>
58900 #ifdef HAVE_IEEEFP_H
58901 #include <ieeefp.h>
58902 #endif
58905 main ()
58907 sqrtl(0);
58909 return 0;
58911 _ACEOF
58912 rm -f conftest.$ac_objext
58913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58914 (eval $ac_compile) 2>conftest.er1
58915 ac_status=$?
58916 grep -v '^ *+' conftest.er1 >conftest.err
58917 rm -f conftest.er1
58918 cat conftest.err >&5
58919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58920 (exit $ac_status); } &&
58921 { ac_try='test -z "$ac_cxx_werror_flag"
58922 || test ! -s conftest.err'
58923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58924 (eval $ac_try) 2>&5
58925 ac_status=$?
58926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58927 (exit $ac_status); }; } &&
58928 { ac_try='test -s conftest.$ac_objext'
58929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58930 (eval $ac_try) 2>&5
58931 ac_status=$?
58932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58933 (exit $ac_status); }; }; then
58934 glibcxx_cv_func_sqrtl_use=yes
58935 else
58936 echo "$as_me: failed program was:" >&5
58937 sed 's/^/| /' conftest.$ac_ext >&5
58939 glibcxx_cv_func_sqrtl_use=no
58941 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58942 ac_ext=c
58943 ac_cpp='$CPP $CPPFLAGS'
58944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58952 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
58953 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
58955 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
58957 for ac_func in sqrtl
58959 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58960 echo "$as_me:$LINENO: checking for $ac_func" >&5
58961 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58962 if eval "test \"\${$as_ac_var+set}\" = set"; then
58963 echo $ECHO_N "(cached) $ECHO_C" >&6
58964 else
58965 if test x$gcc_no_link = xyes; then
58966 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58967 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58968 { (exit 1); exit 1; }; }
58970 cat >conftest.$ac_ext <<_ACEOF
58971 /* confdefs.h. */
58972 _ACEOF
58973 cat confdefs.h >>conftest.$ac_ext
58974 cat >>conftest.$ac_ext <<_ACEOF
58975 /* end confdefs.h. */
58976 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58977 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58978 #define $ac_func innocuous_$ac_func
58980 /* System header to define __stub macros and hopefully few prototypes,
58981 which can conflict with char $ac_func (); below.
58982 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58983 <limits.h> exists even on freestanding compilers. */
58985 #ifdef __STDC__
58986 # include <limits.h>
58987 #else
58988 # include <assert.h>
58989 #endif
58991 #undef $ac_func
58993 /* Override any gcc2 internal prototype to avoid an error. */
58994 #ifdef __cplusplus
58995 extern "C"
58997 #endif
58998 /* We use char because int might match the return type of a gcc2
58999 builtin and then its argument prototype would still apply. */
59000 char $ac_func ();
59001 /* The GNU C library defines this for functions which it implements
59002 to always fail with ENOSYS. Some functions are actually named
59003 something starting with __ and the normal name is an alias. */
59004 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59005 choke me
59006 #else
59007 char (*f) () = $ac_func;
59008 #endif
59009 #ifdef __cplusplus
59011 #endif
59014 main ()
59016 return f != $ac_func;
59018 return 0;
59020 _ACEOF
59021 rm -f conftest.$ac_objext conftest$ac_exeext
59022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59023 (eval $ac_link) 2>conftest.er1
59024 ac_status=$?
59025 grep -v '^ *+' conftest.er1 >conftest.err
59026 rm -f conftest.er1
59027 cat conftest.err >&5
59028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59029 (exit $ac_status); } &&
59030 { ac_try='test -z "$ac_c_werror_flag"
59031 || test ! -s conftest.err'
59032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59033 (eval $ac_try) 2>&5
59034 ac_status=$?
59035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59036 (exit $ac_status); }; } &&
59037 { ac_try='test -s conftest$ac_exeext'
59038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59039 (eval $ac_try) 2>&5
59040 ac_status=$?
59041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59042 (exit $ac_status); }; }; then
59043 eval "$as_ac_var=yes"
59044 else
59045 echo "$as_me: failed program was:" >&5
59046 sed 's/^/| /' conftest.$ac_ext >&5
59048 eval "$as_ac_var=no"
59050 rm -f conftest.err conftest.$ac_objext \
59051 conftest$ac_exeext conftest.$ac_ext
59053 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59054 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59055 if test `eval echo '${'$as_ac_var'}'` = yes; then
59056 cat >>confdefs.h <<_ACEOF
59057 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59058 _ACEOF
59061 done
59063 else
59065 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
59066 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
59067 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
59068 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
59069 echo $ECHO_N "(cached) $ECHO_C" >&6
59070 else
59074 ac_ext=cc
59075 ac_cpp='$CXXCPP $CPPFLAGS'
59076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59080 cat >conftest.$ac_ext <<_ACEOF
59081 /* confdefs.h. */
59082 _ACEOF
59083 cat confdefs.h >>conftest.$ac_ext
59084 cat >>conftest.$ac_ext <<_ACEOF
59085 /* end confdefs.h. */
59086 #include <math.h>
59087 #ifdef HAVE_IEEEFP_H
59088 #include <ieeefp.h>
59089 #endif
59092 main ()
59094 _sqrtl(0);
59096 return 0;
59098 _ACEOF
59099 rm -f conftest.$ac_objext
59100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59101 (eval $ac_compile) 2>conftest.er1
59102 ac_status=$?
59103 grep -v '^ *+' conftest.er1 >conftest.err
59104 rm -f conftest.er1
59105 cat conftest.err >&5
59106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59107 (exit $ac_status); } &&
59108 { ac_try='test -z "$ac_cxx_werror_flag"
59109 || test ! -s conftest.err'
59110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59111 (eval $ac_try) 2>&5
59112 ac_status=$?
59113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59114 (exit $ac_status); }; } &&
59115 { ac_try='test -s conftest.$ac_objext'
59116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59117 (eval $ac_try) 2>&5
59118 ac_status=$?
59119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59120 (exit $ac_status); }; }; then
59121 glibcxx_cv_func__sqrtl_use=yes
59122 else
59123 echo "$as_me: failed program was:" >&5
59124 sed 's/^/| /' conftest.$ac_ext >&5
59126 glibcxx_cv_func__sqrtl_use=no
59128 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59129 ac_ext=c
59130 ac_cpp='$CPP $CPPFLAGS'
59131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59139 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
59140 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
59142 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
59144 for ac_func in _sqrtl
59146 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59147 echo "$as_me:$LINENO: checking for $ac_func" >&5
59148 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59149 if eval "test \"\${$as_ac_var+set}\" = set"; then
59150 echo $ECHO_N "(cached) $ECHO_C" >&6
59151 else
59152 if test x$gcc_no_link = xyes; then
59153 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59154 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59155 { (exit 1); exit 1; }; }
59157 cat >conftest.$ac_ext <<_ACEOF
59158 /* confdefs.h. */
59159 _ACEOF
59160 cat confdefs.h >>conftest.$ac_ext
59161 cat >>conftest.$ac_ext <<_ACEOF
59162 /* end confdefs.h. */
59163 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59164 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59165 #define $ac_func innocuous_$ac_func
59167 /* System header to define __stub macros and hopefully few prototypes,
59168 which can conflict with char $ac_func (); below.
59169 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59170 <limits.h> exists even on freestanding compilers. */
59172 #ifdef __STDC__
59173 # include <limits.h>
59174 #else
59175 # include <assert.h>
59176 #endif
59178 #undef $ac_func
59180 /* Override any gcc2 internal prototype to avoid an error. */
59181 #ifdef __cplusplus
59182 extern "C"
59184 #endif
59185 /* We use char because int might match the return type of a gcc2
59186 builtin and then its argument prototype would still apply. */
59187 char $ac_func ();
59188 /* The GNU C library defines this for functions which it implements
59189 to always fail with ENOSYS. Some functions are actually named
59190 something starting with __ and the normal name is an alias. */
59191 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59192 choke me
59193 #else
59194 char (*f) () = $ac_func;
59195 #endif
59196 #ifdef __cplusplus
59198 #endif
59201 main ()
59203 return f != $ac_func;
59205 return 0;
59207 _ACEOF
59208 rm -f conftest.$ac_objext conftest$ac_exeext
59209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59210 (eval $ac_link) 2>conftest.er1
59211 ac_status=$?
59212 grep -v '^ *+' conftest.er1 >conftest.err
59213 rm -f conftest.er1
59214 cat conftest.err >&5
59215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59216 (exit $ac_status); } &&
59217 { ac_try='test -z "$ac_c_werror_flag"
59218 || test ! -s conftest.err'
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); }; } &&
59224 { ac_try='test -s conftest$ac_exeext'
59225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59226 (eval $ac_try) 2>&5
59227 ac_status=$?
59228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59229 (exit $ac_status); }; }; then
59230 eval "$as_ac_var=yes"
59231 else
59232 echo "$as_me: failed program was:" >&5
59233 sed 's/^/| /' conftest.$ac_ext >&5
59235 eval "$as_ac_var=no"
59237 rm -f conftest.err conftest.$ac_objext \
59238 conftest$ac_exeext conftest.$ac_ext
59240 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59241 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59242 if test `eval echo '${'$as_ac_var'}'` = yes; then
59243 cat >>confdefs.h <<_ACEOF
59244 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59245 _ACEOF
59248 done
59258 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
59259 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
59260 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
59261 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
59262 echo $ECHO_N "(cached) $ECHO_C" >&6
59263 else
59267 ac_ext=cc
59268 ac_cpp='$CXXCPP $CPPFLAGS'
59269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59273 cat >conftest.$ac_ext <<_ACEOF
59274 /* confdefs.h. */
59275 _ACEOF
59276 cat confdefs.h >>conftest.$ac_ext
59277 cat >>conftest.$ac_ext <<_ACEOF
59278 /* end confdefs.h. */
59279 #include <math.h>
59281 main ()
59283 sincosl(0, 0, 0);
59285 return 0;
59287 _ACEOF
59288 rm -f conftest.$ac_objext
59289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59290 (eval $ac_compile) 2>conftest.er1
59291 ac_status=$?
59292 grep -v '^ *+' conftest.er1 >conftest.err
59293 rm -f conftest.er1
59294 cat conftest.err >&5
59295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59296 (exit $ac_status); } &&
59297 { ac_try='test -z "$ac_cxx_werror_flag"
59298 || test ! -s conftest.err'
59299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59300 (eval $ac_try) 2>&5
59301 ac_status=$?
59302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59303 (exit $ac_status); }; } &&
59304 { ac_try='test -s conftest.$ac_objext'
59305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59306 (eval $ac_try) 2>&5
59307 ac_status=$?
59308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59309 (exit $ac_status); }; }; then
59310 glibcxx_cv_func_sincosl_use=yes
59311 else
59312 echo "$as_me: failed program was:" >&5
59313 sed 's/^/| /' conftest.$ac_ext >&5
59315 glibcxx_cv_func_sincosl_use=no
59317 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59318 ac_ext=c
59319 ac_cpp='$CPP $CPPFLAGS'
59320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59328 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
59329 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
59331 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
59333 for ac_func in sincosl
59335 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59336 echo "$as_me:$LINENO: checking for $ac_func" >&5
59337 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59338 if eval "test \"\${$as_ac_var+set}\" = set"; then
59339 echo $ECHO_N "(cached) $ECHO_C" >&6
59340 else
59341 if test x$gcc_no_link = xyes; then
59342 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59343 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59344 { (exit 1); exit 1; }; }
59346 cat >conftest.$ac_ext <<_ACEOF
59347 /* confdefs.h. */
59348 _ACEOF
59349 cat confdefs.h >>conftest.$ac_ext
59350 cat >>conftest.$ac_ext <<_ACEOF
59351 /* end confdefs.h. */
59352 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59353 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59354 #define $ac_func innocuous_$ac_func
59356 /* System header to define __stub macros and hopefully few prototypes,
59357 which can conflict with char $ac_func (); below.
59358 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59359 <limits.h> exists even on freestanding compilers. */
59361 #ifdef __STDC__
59362 # include <limits.h>
59363 #else
59364 # include <assert.h>
59365 #endif
59367 #undef $ac_func
59369 /* Override any gcc2 internal prototype to avoid an error. */
59370 #ifdef __cplusplus
59371 extern "C"
59373 #endif
59374 /* We use char because int might match the return type of a gcc2
59375 builtin and then its argument prototype would still apply. */
59376 char $ac_func ();
59377 /* The GNU C library defines this for functions which it implements
59378 to always fail with ENOSYS. Some functions are actually named
59379 something starting with __ and the normal name is an alias. */
59380 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59381 choke me
59382 #else
59383 char (*f) () = $ac_func;
59384 #endif
59385 #ifdef __cplusplus
59387 #endif
59390 main ()
59392 return f != $ac_func;
59394 return 0;
59396 _ACEOF
59397 rm -f conftest.$ac_objext conftest$ac_exeext
59398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59399 (eval $ac_link) 2>conftest.er1
59400 ac_status=$?
59401 grep -v '^ *+' conftest.er1 >conftest.err
59402 rm -f conftest.er1
59403 cat conftest.err >&5
59404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59405 (exit $ac_status); } &&
59406 { ac_try='test -z "$ac_c_werror_flag"
59407 || test ! -s conftest.err'
59408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59409 (eval $ac_try) 2>&5
59410 ac_status=$?
59411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59412 (exit $ac_status); }; } &&
59413 { ac_try='test -s conftest$ac_exeext'
59414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59415 (eval $ac_try) 2>&5
59416 ac_status=$?
59417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59418 (exit $ac_status); }; }; then
59419 eval "$as_ac_var=yes"
59420 else
59421 echo "$as_me: failed program was:" >&5
59422 sed 's/^/| /' conftest.$ac_ext >&5
59424 eval "$as_ac_var=no"
59426 rm -f conftest.err conftest.$ac_objext \
59427 conftest$ac_exeext conftest.$ac_ext
59429 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59430 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59431 if test `eval echo '${'$as_ac_var'}'` = yes; then
59432 cat >>confdefs.h <<_ACEOF
59433 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59434 _ACEOF
59437 done
59439 else
59441 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
59442 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
59443 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
59444 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
59445 echo $ECHO_N "(cached) $ECHO_C" >&6
59446 else
59450 ac_ext=cc
59451 ac_cpp='$CXXCPP $CPPFLAGS'
59452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59456 cat >conftest.$ac_ext <<_ACEOF
59457 /* confdefs.h. */
59458 _ACEOF
59459 cat confdefs.h >>conftest.$ac_ext
59460 cat >>conftest.$ac_ext <<_ACEOF
59461 /* end confdefs.h. */
59462 #include <math.h>
59464 main ()
59466 _sincosl(0, 0, 0);
59468 return 0;
59470 _ACEOF
59471 rm -f conftest.$ac_objext
59472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59473 (eval $ac_compile) 2>conftest.er1
59474 ac_status=$?
59475 grep -v '^ *+' conftest.er1 >conftest.err
59476 rm -f conftest.er1
59477 cat conftest.err >&5
59478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59479 (exit $ac_status); } &&
59480 { ac_try='test -z "$ac_cxx_werror_flag"
59481 || test ! -s conftest.err'
59482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59483 (eval $ac_try) 2>&5
59484 ac_status=$?
59485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59486 (exit $ac_status); }; } &&
59487 { ac_try='test -s conftest.$ac_objext'
59488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59489 (eval $ac_try) 2>&5
59490 ac_status=$?
59491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59492 (exit $ac_status); }; }; then
59493 glibcxx_cv_func__sincosl_use=yes
59494 else
59495 echo "$as_me: failed program was:" >&5
59496 sed 's/^/| /' conftest.$ac_ext >&5
59498 glibcxx_cv_func__sincosl_use=no
59500 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59501 ac_ext=c
59502 ac_cpp='$CPP $CPPFLAGS'
59503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59511 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
59512 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
59514 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
59516 for ac_func in _sincosl
59518 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59519 echo "$as_me:$LINENO: checking for $ac_func" >&5
59520 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59521 if eval "test \"\${$as_ac_var+set}\" = set"; then
59522 echo $ECHO_N "(cached) $ECHO_C" >&6
59523 else
59524 if test x$gcc_no_link = xyes; then
59525 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59526 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59527 { (exit 1); exit 1; }; }
59529 cat >conftest.$ac_ext <<_ACEOF
59530 /* confdefs.h. */
59531 _ACEOF
59532 cat confdefs.h >>conftest.$ac_ext
59533 cat >>conftest.$ac_ext <<_ACEOF
59534 /* end confdefs.h. */
59535 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59536 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59537 #define $ac_func innocuous_$ac_func
59539 /* System header to define __stub macros and hopefully few prototypes,
59540 which can conflict with char $ac_func (); below.
59541 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59542 <limits.h> exists even on freestanding compilers. */
59544 #ifdef __STDC__
59545 # include <limits.h>
59546 #else
59547 # include <assert.h>
59548 #endif
59550 #undef $ac_func
59552 /* Override any gcc2 internal prototype to avoid an error. */
59553 #ifdef __cplusplus
59554 extern "C"
59556 #endif
59557 /* We use char because int might match the return type of a gcc2
59558 builtin and then its argument prototype would still apply. */
59559 char $ac_func ();
59560 /* The GNU C library defines this for functions which it implements
59561 to always fail with ENOSYS. Some functions are actually named
59562 something starting with __ and the normal name is an alias. */
59563 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59564 choke me
59565 #else
59566 char (*f) () = $ac_func;
59567 #endif
59568 #ifdef __cplusplus
59570 #endif
59573 main ()
59575 return f != $ac_func;
59577 return 0;
59579 _ACEOF
59580 rm -f conftest.$ac_objext conftest$ac_exeext
59581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59582 (eval $ac_link) 2>conftest.er1
59583 ac_status=$?
59584 grep -v '^ *+' conftest.er1 >conftest.err
59585 rm -f conftest.er1
59586 cat conftest.err >&5
59587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59588 (exit $ac_status); } &&
59589 { ac_try='test -z "$ac_c_werror_flag"
59590 || test ! -s conftest.err'
59591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59592 (eval $ac_try) 2>&5
59593 ac_status=$?
59594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59595 (exit $ac_status); }; } &&
59596 { ac_try='test -s conftest$ac_exeext'
59597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59598 (eval $ac_try) 2>&5
59599 ac_status=$?
59600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59601 (exit $ac_status); }; }; then
59602 eval "$as_ac_var=yes"
59603 else
59604 echo "$as_me: failed program was:" >&5
59605 sed 's/^/| /' conftest.$ac_ext >&5
59607 eval "$as_ac_var=no"
59609 rm -f conftest.err conftest.$ac_objext \
59610 conftest$ac_exeext conftest.$ac_ext
59612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59613 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59614 if test `eval echo '${'$as_ac_var'}'` = yes; then
59615 cat >>confdefs.h <<_ACEOF
59616 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59617 _ACEOF
59620 done
59630 echo "$as_me:$LINENO: checking for finitel declaration" >&5
59631 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
59632 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
59633 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
59634 echo $ECHO_N "(cached) $ECHO_C" >&6
59635 else
59639 ac_ext=cc
59640 ac_cpp='$CXXCPP $CPPFLAGS'
59641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59645 cat >conftest.$ac_ext <<_ACEOF
59646 /* confdefs.h. */
59647 _ACEOF
59648 cat confdefs.h >>conftest.$ac_ext
59649 cat >>conftest.$ac_ext <<_ACEOF
59650 /* end confdefs.h. */
59651 #include <math.h>
59652 #ifdef HAVE_IEEEFP_H
59653 #include <ieeefp.h>
59654 #endif
59657 main ()
59659 finitel(0);
59661 return 0;
59663 _ACEOF
59664 rm -f conftest.$ac_objext
59665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59666 (eval $ac_compile) 2>conftest.er1
59667 ac_status=$?
59668 grep -v '^ *+' conftest.er1 >conftest.err
59669 rm -f conftest.er1
59670 cat conftest.err >&5
59671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59672 (exit $ac_status); } &&
59673 { ac_try='test -z "$ac_cxx_werror_flag"
59674 || test ! -s conftest.err'
59675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59676 (eval $ac_try) 2>&5
59677 ac_status=$?
59678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59679 (exit $ac_status); }; } &&
59680 { ac_try='test -s conftest.$ac_objext'
59681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59682 (eval $ac_try) 2>&5
59683 ac_status=$?
59684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59685 (exit $ac_status); }; }; then
59686 glibcxx_cv_func_finitel_use=yes
59687 else
59688 echo "$as_me: failed program was:" >&5
59689 sed 's/^/| /' conftest.$ac_ext >&5
59691 glibcxx_cv_func_finitel_use=no
59693 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59694 ac_ext=c
59695 ac_cpp='$CPP $CPPFLAGS'
59696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59704 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
59705 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
59707 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
59709 for ac_func in finitel
59711 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59712 echo "$as_me:$LINENO: checking for $ac_func" >&5
59713 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59714 if eval "test \"\${$as_ac_var+set}\" = set"; then
59715 echo $ECHO_N "(cached) $ECHO_C" >&6
59716 else
59717 if test x$gcc_no_link = xyes; then
59718 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59719 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59720 { (exit 1); exit 1; }; }
59722 cat >conftest.$ac_ext <<_ACEOF
59723 /* confdefs.h. */
59724 _ACEOF
59725 cat confdefs.h >>conftest.$ac_ext
59726 cat >>conftest.$ac_ext <<_ACEOF
59727 /* end confdefs.h. */
59728 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59729 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59730 #define $ac_func innocuous_$ac_func
59732 /* System header to define __stub macros and hopefully few prototypes,
59733 which can conflict with char $ac_func (); below.
59734 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59735 <limits.h> exists even on freestanding compilers. */
59737 #ifdef __STDC__
59738 # include <limits.h>
59739 #else
59740 # include <assert.h>
59741 #endif
59743 #undef $ac_func
59745 /* Override any gcc2 internal prototype to avoid an error. */
59746 #ifdef __cplusplus
59747 extern "C"
59749 #endif
59750 /* We use char because int might match the return type of a gcc2
59751 builtin and then its argument prototype would still apply. */
59752 char $ac_func ();
59753 /* The GNU C library defines this for functions which it implements
59754 to always fail with ENOSYS. Some functions are actually named
59755 something starting with __ and the normal name is an alias. */
59756 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59757 choke me
59758 #else
59759 char (*f) () = $ac_func;
59760 #endif
59761 #ifdef __cplusplus
59763 #endif
59766 main ()
59768 return f != $ac_func;
59770 return 0;
59772 _ACEOF
59773 rm -f conftest.$ac_objext conftest$ac_exeext
59774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59775 (eval $ac_link) 2>conftest.er1
59776 ac_status=$?
59777 grep -v '^ *+' conftest.er1 >conftest.err
59778 rm -f conftest.er1
59779 cat conftest.err >&5
59780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59781 (exit $ac_status); } &&
59782 { ac_try='test -z "$ac_c_werror_flag"
59783 || test ! -s conftest.err'
59784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59785 (eval $ac_try) 2>&5
59786 ac_status=$?
59787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59788 (exit $ac_status); }; } &&
59789 { ac_try='test -s conftest$ac_exeext'
59790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59791 (eval $ac_try) 2>&5
59792 ac_status=$?
59793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59794 (exit $ac_status); }; }; then
59795 eval "$as_ac_var=yes"
59796 else
59797 echo "$as_me: failed program was:" >&5
59798 sed 's/^/| /' conftest.$ac_ext >&5
59800 eval "$as_ac_var=no"
59802 rm -f conftest.err conftest.$ac_objext \
59803 conftest$ac_exeext conftest.$ac_ext
59805 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59806 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59807 if test `eval echo '${'$as_ac_var'}'` = yes; then
59808 cat >>confdefs.h <<_ACEOF
59809 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59810 _ACEOF
59813 done
59815 else
59817 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
59818 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
59819 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
59820 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
59821 echo $ECHO_N "(cached) $ECHO_C" >&6
59822 else
59826 ac_ext=cc
59827 ac_cpp='$CXXCPP $CPPFLAGS'
59828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59832 cat >conftest.$ac_ext <<_ACEOF
59833 /* confdefs.h. */
59834 _ACEOF
59835 cat confdefs.h >>conftest.$ac_ext
59836 cat >>conftest.$ac_ext <<_ACEOF
59837 /* end confdefs.h. */
59838 #include <math.h>
59839 #ifdef HAVE_IEEEFP_H
59840 #include <ieeefp.h>
59841 #endif
59844 main ()
59846 _finitel(0);
59848 return 0;
59850 _ACEOF
59851 rm -f conftest.$ac_objext
59852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59853 (eval $ac_compile) 2>conftest.er1
59854 ac_status=$?
59855 grep -v '^ *+' conftest.er1 >conftest.err
59856 rm -f conftest.er1
59857 cat conftest.err >&5
59858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59859 (exit $ac_status); } &&
59860 { ac_try='test -z "$ac_cxx_werror_flag"
59861 || test ! -s conftest.err'
59862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59863 (eval $ac_try) 2>&5
59864 ac_status=$?
59865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59866 (exit $ac_status); }; } &&
59867 { ac_try='test -s conftest.$ac_objext'
59868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59869 (eval $ac_try) 2>&5
59870 ac_status=$?
59871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59872 (exit $ac_status); }; }; then
59873 glibcxx_cv_func__finitel_use=yes
59874 else
59875 echo "$as_me: failed program was:" >&5
59876 sed 's/^/| /' conftest.$ac_ext >&5
59878 glibcxx_cv_func__finitel_use=no
59880 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59881 ac_ext=c
59882 ac_cpp='$CPP $CPPFLAGS'
59883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59891 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
59892 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
59894 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
59896 for ac_func in _finitel
59898 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59899 echo "$as_me:$LINENO: checking for $ac_func" >&5
59900 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59901 if eval "test \"\${$as_ac_var+set}\" = set"; then
59902 echo $ECHO_N "(cached) $ECHO_C" >&6
59903 else
59904 if test x$gcc_no_link = xyes; then
59905 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59906 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59907 { (exit 1); exit 1; }; }
59909 cat >conftest.$ac_ext <<_ACEOF
59910 /* confdefs.h. */
59911 _ACEOF
59912 cat confdefs.h >>conftest.$ac_ext
59913 cat >>conftest.$ac_ext <<_ACEOF
59914 /* end confdefs.h. */
59915 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59916 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59917 #define $ac_func innocuous_$ac_func
59919 /* System header to define __stub macros and hopefully few prototypes,
59920 which can conflict with char $ac_func (); below.
59921 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59922 <limits.h> exists even on freestanding compilers. */
59924 #ifdef __STDC__
59925 # include <limits.h>
59926 #else
59927 # include <assert.h>
59928 #endif
59930 #undef $ac_func
59932 /* Override any gcc2 internal prototype to avoid an error. */
59933 #ifdef __cplusplus
59934 extern "C"
59936 #endif
59937 /* We use char because int might match the return type of a gcc2
59938 builtin and then its argument prototype would still apply. */
59939 char $ac_func ();
59940 /* The GNU C library defines this for functions which it implements
59941 to always fail with ENOSYS. Some functions are actually named
59942 something starting with __ and the normal name is an alias. */
59943 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59944 choke me
59945 #else
59946 char (*f) () = $ac_func;
59947 #endif
59948 #ifdef __cplusplus
59950 #endif
59953 main ()
59955 return f != $ac_func;
59957 return 0;
59959 _ACEOF
59960 rm -f conftest.$ac_objext conftest$ac_exeext
59961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59962 (eval $ac_link) 2>conftest.er1
59963 ac_status=$?
59964 grep -v '^ *+' conftest.er1 >conftest.err
59965 rm -f conftest.er1
59966 cat conftest.err >&5
59967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59968 (exit $ac_status); } &&
59969 { ac_try='test -z "$ac_c_werror_flag"
59970 || test ! -s conftest.err'
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); }; } &&
59976 { ac_try='test -s conftest$ac_exeext'
59977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59978 (eval $ac_try) 2>&5
59979 ac_status=$?
59980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59981 (exit $ac_status); }; }; then
59982 eval "$as_ac_var=yes"
59983 else
59984 echo "$as_me: failed program was:" >&5
59985 sed 's/^/| /' conftest.$ac_ext >&5
59987 eval "$as_ac_var=no"
59989 rm -f conftest.err conftest.$ac_objext \
59990 conftest$ac_exeext conftest.$ac_ext
59992 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59993 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59994 if test `eval echo '${'$as_ac_var'}'` = yes; then
59995 cat >>confdefs.h <<_ACEOF
59996 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59997 _ACEOF
60000 done
60009 LIBS="$ac_save_LIBS"
60010 CXXFLAGS="$ac_save_CXXFLAGS"
60014 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
60015 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
60016 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
60017 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
60018 echo $ECHO_N "(cached) $ECHO_C" >&6
60019 else
60023 ac_ext=cc
60024 ac_cpp='$CXXCPP $CPPFLAGS'
60025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60029 cat >conftest.$ac_ext <<_ACEOF
60030 /* confdefs.h. */
60031 _ACEOF
60032 cat confdefs.h >>conftest.$ac_ext
60033 cat >>conftest.$ac_ext <<_ACEOF
60034 /* end confdefs.h. */
60035 #include <math.h>
60037 main ()
60039 __builtin_abs(0);
60041 return 0;
60043 _ACEOF
60044 rm -f conftest.$ac_objext
60045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60046 (eval $ac_compile) 2>conftest.er1
60047 ac_status=$?
60048 grep -v '^ *+' conftest.er1 >conftest.err
60049 rm -f conftest.er1
60050 cat conftest.err >&5
60051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60052 (exit $ac_status); } &&
60053 { ac_try='test -z "$ac_cxx_werror_flag"
60054 || test ! -s conftest.err'
60055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60056 (eval $ac_try) 2>&5
60057 ac_status=$?
60058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60059 (exit $ac_status); }; } &&
60060 { ac_try='test -s conftest.$ac_objext'
60061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60062 (eval $ac_try) 2>&5
60063 ac_status=$?
60064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60065 (exit $ac_status); }; }; then
60066 glibcxx_cv_func___builtin_abs_use=yes
60067 else
60068 echo "$as_me: failed program was:" >&5
60069 sed 's/^/| /' conftest.$ac_ext >&5
60071 glibcxx_cv_func___builtin_abs_use=no
60073 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60074 ac_ext=c
60075 ac_cpp='$CPP $CPPFLAGS'
60076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60084 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
60085 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
60086 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
60087 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
60088 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
60089 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
60090 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
60091 echo $ECHO_N "(cached) $ECHO_C" >&6
60092 else
60094 if test x$gcc_no_link = xyes; then
60095 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60096 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60097 { (exit 1); exit 1; }; }
60099 cat >conftest.$ac_ext <<_ACEOF
60100 /* confdefs.h. */
60101 _ACEOF
60102 cat confdefs.h >>conftest.$ac_ext
60103 cat >>conftest.$ac_ext <<_ACEOF
60104 /* end confdefs.h. */
60105 #include <math.h>
60107 main ()
60109 __builtin_abs(0);
60111 return 0;
60113 _ACEOF
60114 rm -f conftest.$ac_objext conftest$ac_exeext
60115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60116 (eval $ac_link) 2>conftest.er1
60117 ac_status=$?
60118 grep -v '^ *+' conftest.er1 >conftest.err
60119 rm -f conftest.er1
60120 cat conftest.err >&5
60121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60122 (exit $ac_status); } &&
60123 { ac_try='test -z "$ac_c_werror_flag"
60124 || test ! -s conftest.err'
60125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60126 (eval $ac_try) 2>&5
60127 ac_status=$?
60128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60129 (exit $ac_status); }; } &&
60130 { ac_try='test -s conftest$ac_exeext'
60131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60132 (eval $ac_try) 2>&5
60133 ac_status=$?
60134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60135 (exit $ac_status); }; }; then
60136 glibcxx_cv_func___builtin_abs_link=yes
60137 else
60138 echo "$as_me: failed program was:" >&5
60139 sed 's/^/| /' conftest.$ac_ext >&5
60141 glibcxx_cv_func___builtin_abs_link=no
60143 rm -f conftest.err conftest.$ac_objext \
60144 conftest$ac_exeext conftest.$ac_ext
60149 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
60150 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
60152 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
60154 cat >>confdefs.h <<\_ACEOF
60155 #define HAVE___BUILTIN_ABS 1
60156 _ACEOF
60163 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
60164 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
60165 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
60166 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
60167 echo $ECHO_N "(cached) $ECHO_C" >&6
60168 else
60172 ac_ext=cc
60173 ac_cpp='$CXXCPP $CPPFLAGS'
60174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60178 cat >conftest.$ac_ext <<_ACEOF
60179 /* confdefs.h. */
60180 _ACEOF
60181 cat confdefs.h >>conftest.$ac_ext
60182 cat >>conftest.$ac_ext <<_ACEOF
60183 /* end confdefs.h. */
60184 #include <math.h>
60186 main ()
60188 __builtin_fabsf(0);
60190 return 0;
60192 _ACEOF
60193 rm -f conftest.$ac_objext
60194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60195 (eval $ac_compile) 2>conftest.er1
60196 ac_status=$?
60197 grep -v '^ *+' conftest.er1 >conftest.err
60198 rm -f conftest.er1
60199 cat conftest.err >&5
60200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60201 (exit $ac_status); } &&
60202 { ac_try='test -z "$ac_cxx_werror_flag"
60203 || test ! -s conftest.err'
60204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60205 (eval $ac_try) 2>&5
60206 ac_status=$?
60207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60208 (exit $ac_status); }; } &&
60209 { ac_try='test -s conftest.$ac_objext'
60210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60211 (eval $ac_try) 2>&5
60212 ac_status=$?
60213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60214 (exit $ac_status); }; }; then
60215 glibcxx_cv_func___builtin_fabsf_use=yes
60216 else
60217 echo "$as_me: failed program was:" >&5
60218 sed 's/^/| /' conftest.$ac_ext >&5
60220 glibcxx_cv_func___builtin_fabsf_use=no
60222 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60223 ac_ext=c
60224 ac_cpp='$CPP $CPPFLAGS'
60225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60233 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
60234 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
60235 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
60236 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
60237 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
60238 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
60239 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
60240 echo $ECHO_N "(cached) $ECHO_C" >&6
60241 else
60243 if test x$gcc_no_link = xyes; then
60244 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60245 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60246 { (exit 1); exit 1; }; }
60248 cat >conftest.$ac_ext <<_ACEOF
60249 /* confdefs.h. */
60250 _ACEOF
60251 cat confdefs.h >>conftest.$ac_ext
60252 cat >>conftest.$ac_ext <<_ACEOF
60253 /* end confdefs.h. */
60254 #include <math.h>
60256 main ()
60258 __builtin_fabsf(0);
60260 return 0;
60262 _ACEOF
60263 rm -f conftest.$ac_objext conftest$ac_exeext
60264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60265 (eval $ac_link) 2>conftest.er1
60266 ac_status=$?
60267 grep -v '^ *+' conftest.er1 >conftest.err
60268 rm -f conftest.er1
60269 cat conftest.err >&5
60270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60271 (exit $ac_status); } &&
60272 { ac_try='test -z "$ac_c_werror_flag"
60273 || test ! -s conftest.err'
60274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60275 (eval $ac_try) 2>&5
60276 ac_status=$?
60277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60278 (exit $ac_status); }; } &&
60279 { ac_try='test -s conftest$ac_exeext'
60280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60281 (eval $ac_try) 2>&5
60282 ac_status=$?
60283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60284 (exit $ac_status); }; }; then
60285 glibcxx_cv_func___builtin_fabsf_link=yes
60286 else
60287 echo "$as_me: failed program was:" >&5
60288 sed 's/^/| /' conftest.$ac_ext >&5
60290 glibcxx_cv_func___builtin_fabsf_link=no
60292 rm -f conftest.err conftest.$ac_objext \
60293 conftest$ac_exeext conftest.$ac_ext
60298 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
60299 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
60301 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
60303 cat >>confdefs.h <<\_ACEOF
60304 #define HAVE___BUILTIN_FABSF 1
60305 _ACEOF
60312 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
60313 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
60314 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
60315 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
60316 echo $ECHO_N "(cached) $ECHO_C" >&6
60317 else
60321 ac_ext=cc
60322 ac_cpp='$CXXCPP $CPPFLAGS'
60323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60327 cat >conftest.$ac_ext <<_ACEOF
60328 /* confdefs.h. */
60329 _ACEOF
60330 cat confdefs.h >>conftest.$ac_ext
60331 cat >>conftest.$ac_ext <<_ACEOF
60332 /* end confdefs.h. */
60333 #include <math.h>
60335 main ()
60337 __builtin_fabs(0);
60339 return 0;
60341 _ACEOF
60342 rm -f conftest.$ac_objext
60343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60344 (eval $ac_compile) 2>conftest.er1
60345 ac_status=$?
60346 grep -v '^ *+' conftest.er1 >conftest.err
60347 rm -f conftest.er1
60348 cat conftest.err >&5
60349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60350 (exit $ac_status); } &&
60351 { ac_try='test -z "$ac_cxx_werror_flag"
60352 || test ! -s conftest.err'
60353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60354 (eval $ac_try) 2>&5
60355 ac_status=$?
60356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60357 (exit $ac_status); }; } &&
60358 { ac_try='test -s conftest.$ac_objext'
60359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60360 (eval $ac_try) 2>&5
60361 ac_status=$?
60362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60363 (exit $ac_status); }; }; then
60364 glibcxx_cv_func___builtin_fabs_use=yes
60365 else
60366 echo "$as_me: failed program was:" >&5
60367 sed 's/^/| /' conftest.$ac_ext >&5
60369 glibcxx_cv_func___builtin_fabs_use=no
60371 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60372 ac_ext=c
60373 ac_cpp='$CPP $CPPFLAGS'
60374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60382 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
60383 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
60384 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
60385 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
60386 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
60387 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
60388 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
60389 echo $ECHO_N "(cached) $ECHO_C" >&6
60390 else
60392 if test x$gcc_no_link = xyes; then
60393 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60394 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60395 { (exit 1); exit 1; }; }
60397 cat >conftest.$ac_ext <<_ACEOF
60398 /* confdefs.h. */
60399 _ACEOF
60400 cat confdefs.h >>conftest.$ac_ext
60401 cat >>conftest.$ac_ext <<_ACEOF
60402 /* end confdefs.h. */
60403 #include <math.h>
60405 main ()
60407 __builtin_fabs(0);
60409 return 0;
60411 _ACEOF
60412 rm -f conftest.$ac_objext conftest$ac_exeext
60413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60414 (eval $ac_link) 2>conftest.er1
60415 ac_status=$?
60416 grep -v '^ *+' conftest.er1 >conftest.err
60417 rm -f conftest.er1
60418 cat conftest.err >&5
60419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60420 (exit $ac_status); } &&
60421 { ac_try='test -z "$ac_c_werror_flag"
60422 || test ! -s conftest.err'
60423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60424 (eval $ac_try) 2>&5
60425 ac_status=$?
60426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60427 (exit $ac_status); }; } &&
60428 { ac_try='test -s conftest$ac_exeext'
60429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60430 (eval $ac_try) 2>&5
60431 ac_status=$?
60432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60433 (exit $ac_status); }; }; then
60434 glibcxx_cv_func___builtin_fabs_link=yes
60435 else
60436 echo "$as_me: failed program was:" >&5
60437 sed 's/^/| /' conftest.$ac_ext >&5
60439 glibcxx_cv_func___builtin_fabs_link=no
60441 rm -f conftest.err conftest.$ac_objext \
60442 conftest$ac_exeext conftest.$ac_ext
60447 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
60448 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
60450 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
60452 cat >>confdefs.h <<\_ACEOF
60453 #define HAVE___BUILTIN_FABS 1
60454 _ACEOF
60461 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
60462 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
60463 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
60464 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
60465 echo $ECHO_N "(cached) $ECHO_C" >&6
60466 else
60470 ac_ext=cc
60471 ac_cpp='$CXXCPP $CPPFLAGS'
60472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60476 cat >conftest.$ac_ext <<_ACEOF
60477 /* confdefs.h. */
60478 _ACEOF
60479 cat confdefs.h >>conftest.$ac_ext
60480 cat >>conftest.$ac_ext <<_ACEOF
60481 /* end confdefs.h. */
60482 #include <math.h>
60484 main ()
60486 __builtin_fabsl(0);
60488 return 0;
60490 _ACEOF
60491 rm -f conftest.$ac_objext
60492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60493 (eval $ac_compile) 2>conftest.er1
60494 ac_status=$?
60495 grep -v '^ *+' conftest.er1 >conftest.err
60496 rm -f conftest.er1
60497 cat conftest.err >&5
60498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60499 (exit $ac_status); } &&
60500 { ac_try='test -z "$ac_cxx_werror_flag"
60501 || test ! -s conftest.err'
60502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60503 (eval $ac_try) 2>&5
60504 ac_status=$?
60505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60506 (exit $ac_status); }; } &&
60507 { ac_try='test -s conftest.$ac_objext'
60508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60509 (eval $ac_try) 2>&5
60510 ac_status=$?
60511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60512 (exit $ac_status); }; }; then
60513 glibcxx_cv_func___builtin_fabsl_use=yes
60514 else
60515 echo "$as_me: failed program was:" >&5
60516 sed 's/^/| /' conftest.$ac_ext >&5
60518 glibcxx_cv_func___builtin_fabsl_use=no
60520 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60521 ac_ext=c
60522 ac_cpp='$CPP $CPPFLAGS'
60523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60531 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
60532 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
60533 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
60534 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
60535 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
60536 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
60537 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
60538 echo $ECHO_N "(cached) $ECHO_C" >&6
60539 else
60541 if test x$gcc_no_link = xyes; then
60542 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60543 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60544 { (exit 1); exit 1; }; }
60546 cat >conftest.$ac_ext <<_ACEOF
60547 /* confdefs.h. */
60548 _ACEOF
60549 cat confdefs.h >>conftest.$ac_ext
60550 cat >>conftest.$ac_ext <<_ACEOF
60551 /* end confdefs.h. */
60552 #include <math.h>
60554 main ()
60556 __builtin_fabsl(0);
60558 return 0;
60560 _ACEOF
60561 rm -f conftest.$ac_objext conftest$ac_exeext
60562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60563 (eval $ac_link) 2>conftest.er1
60564 ac_status=$?
60565 grep -v '^ *+' conftest.er1 >conftest.err
60566 rm -f conftest.er1
60567 cat conftest.err >&5
60568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60569 (exit $ac_status); } &&
60570 { ac_try='test -z "$ac_c_werror_flag"
60571 || test ! -s conftest.err'
60572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60573 (eval $ac_try) 2>&5
60574 ac_status=$?
60575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60576 (exit $ac_status); }; } &&
60577 { ac_try='test -s conftest$ac_exeext'
60578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60579 (eval $ac_try) 2>&5
60580 ac_status=$?
60581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60582 (exit $ac_status); }; }; then
60583 glibcxx_cv_func___builtin_fabsl_link=yes
60584 else
60585 echo "$as_me: failed program was:" >&5
60586 sed 's/^/| /' conftest.$ac_ext >&5
60588 glibcxx_cv_func___builtin_fabsl_link=no
60590 rm -f conftest.err conftest.$ac_objext \
60591 conftest$ac_exeext conftest.$ac_ext
60596 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
60597 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
60599 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
60601 cat >>confdefs.h <<\_ACEOF
60602 #define HAVE___BUILTIN_FABSL 1
60603 _ACEOF
60610 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
60611 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
60612 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
60613 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
60614 echo $ECHO_N "(cached) $ECHO_C" >&6
60615 else
60619 ac_ext=cc
60620 ac_cpp='$CXXCPP $CPPFLAGS'
60621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60625 cat >conftest.$ac_ext <<_ACEOF
60626 /* confdefs.h. */
60627 _ACEOF
60628 cat confdefs.h >>conftest.$ac_ext
60629 cat >>conftest.$ac_ext <<_ACEOF
60630 /* end confdefs.h. */
60631 #include <math.h>
60633 main ()
60635 __builtin_labs(0);
60637 return 0;
60639 _ACEOF
60640 rm -f conftest.$ac_objext
60641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60642 (eval $ac_compile) 2>conftest.er1
60643 ac_status=$?
60644 grep -v '^ *+' conftest.er1 >conftest.err
60645 rm -f conftest.er1
60646 cat conftest.err >&5
60647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60648 (exit $ac_status); } &&
60649 { ac_try='test -z "$ac_cxx_werror_flag"
60650 || test ! -s conftest.err'
60651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60652 (eval $ac_try) 2>&5
60653 ac_status=$?
60654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60655 (exit $ac_status); }; } &&
60656 { ac_try='test -s conftest.$ac_objext'
60657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60658 (eval $ac_try) 2>&5
60659 ac_status=$?
60660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60661 (exit $ac_status); }; }; then
60662 glibcxx_cv_func___builtin_labs_use=yes
60663 else
60664 echo "$as_me: failed program was:" >&5
60665 sed 's/^/| /' conftest.$ac_ext >&5
60667 glibcxx_cv_func___builtin_labs_use=no
60669 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60670 ac_ext=c
60671 ac_cpp='$CPP $CPPFLAGS'
60672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60680 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
60681 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
60682 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
60683 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
60684 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
60685 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
60686 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
60687 echo $ECHO_N "(cached) $ECHO_C" >&6
60688 else
60690 if test x$gcc_no_link = xyes; then
60691 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60692 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60693 { (exit 1); exit 1; }; }
60695 cat >conftest.$ac_ext <<_ACEOF
60696 /* confdefs.h. */
60697 _ACEOF
60698 cat confdefs.h >>conftest.$ac_ext
60699 cat >>conftest.$ac_ext <<_ACEOF
60700 /* end confdefs.h. */
60701 #include <math.h>
60703 main ()
60705 __builtin_labs(0);
60707 return 0;
60709 _ACEOF
60710 rm -f conftest.$ac_objext conftest$ac_exeext
60711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60712 (eval $ac_link) 2>conftest.er1
60713 ac_status=$?
60714 grep -v '^ *+' conftest.er1 >conftest.err
60715 rm -f conftest.er1
60716 cat conftest.err >&5
60717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60718 (exit $ac_status); } &&
60719 { ac_try='test -z "$ac_c_werror_flag"
60720 || test ! -s conftest.err'
60721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60722 (eval $ac_try) 2>&5
60723 ac_status=$?
60724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60725 (exit $ac_status); }; } &&
60726 { ac_try='test -s conftest$ac_exeext'
60727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60728 (eval $ac_try) 2>&5
60729 ac_status=$?
60730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60731 (exit $ac_status); }; }; then
60732 glibcxx_cv_func___builtin_labs_link=yes
60733 else
60734 echo "$as_me: failed program was:" >&5
60735 sed 's/^/| /' conftest.$ac_ext >&5
60737 glibcxx_cv_func___builtin_labs_link=no
60739 rm -f conftest.err conftest.$ac_objext \
60740 conftest$ac_exeext conftest.$ac_ext
60745 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
60746 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
60748 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
60750 cat >>confdefs.h <<\_ACEOF
60751 #define HAVE___BUILTIN_LABS 1
60752 _ACEOF
60760 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
60761 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
60762 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
60763 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
60764 echo $ECHO_N "(cached) $ECHO_C" >&6
60765 else
60769 ac_ext=cc
60770 ac_cpp='$CXXCPP $CPPFLAGS'
60771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60775 cat >conftest.$ac_ext <<_ACEOF
60776 /* confdefs.h. */
60777 _ACEOF
60778 cat confdefs.h >>conftest.$ac_ext
60779 cat >>conftest.$ac_ext <<_ACEOF
60780 /* end confdefs.h. */
60781 #include <math.h>
60783 main ()
60785 __builtin_sqrtf(0);
60787 return 0;
60789 _ACEOF
60790 rm -f conftest.$ac_objext
60791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60792 (eval $ac_compile) 2>conftest.er1
60793 ac_status=$?
60794 grep -v '^ *+' conftest.er1 >conftest.err
60795 rm -f conftest.er1
60796 cat conftest.err >&5
60797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60798 (exit $ac_status); } &&
60799 { ac_try='test -z "$ac_cxx_werror_flag"
60800 || test ! -s conftest.err'
60801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60802 (eval $ac_try) 2>&5
60803 ac_status=$?
60804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60805 (exit $ac_status); }; } &&
60806 { ac_try='test -s conftest.$ac_objext'
60807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60808 (eval $ac_try) 2>&5
60809 ac_status=$?
60810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60811 (exit $ac_status); }; }; then
60812 glibcxx_cv_func___builtin_sqrtf_use=yes
60813 else
60814 echo "$as_me: failed program was:" >&5
60815 sed 's/^/| /' conftest.$ac_ext >&5
60817 glibcxx_cv_func___builtin_sqrtf_use=no
60819 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60820 ac_ext=c
60821 ac_cpp='$CPP $CPPFLAGS'
60822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60830 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
60831 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
60832 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
60833 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
60834 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
60835 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
60836 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
60837 echo $ECHO_N "(cached) $ECHO_C" >&6
60838 else
60840 if test x$gcc_no_link = xyes; then
60841 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60842 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60843 { (exit 1); exit 1; }; }
60845 cat >conftest.$ac_ext <<_ACEOF
60846 /* confdefs.h. */
60847 _ACEOF
60848 cat confdefs.h >>conftest.$ac_ext
60849 cat >>conftest.$ac_ext <<_ACEOF
60850 /* end confdefs.h. */
60851 #include <math.h>
60853 main ()
60855 __builtin_sqrtf(0);
60857 return 0;
60859 _ACEOF
60860 rm -f conftest.$ac_objext conftest$ac_exeext
60861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60862 (eval $ac_link) 2>conftest.er1
60863 ac_status=$?
60864 grep -v '^ *+' conftest.er1 >conftest.err
60865 rm -f conftest.er1
60866 cat conftest.err >&5
60867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60868 (exit $ac_status); } &&
60869 { ac_try='test -z "$ac_c_werror_flag"
60870 || test ! -s conftest.err'
60871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60872 (eval $ac_try) 2>&5
60873 ac_status=$?
60874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60875 (exit $ac_status); }; } &&
60876 { ac_try='test -s conftest$ac_exeext'
60877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60878 (eval $ac_try) 2>&5
60879 ac_status=$?
60880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60881 (exit $ac_status); }; }; then
60882 glibcxx_cv_func___builtin_sqrtf_link=yes
60883 else
60884 echo "$as_me: failed program was:" >&5
60885 sed 's/^/| /' conftest.$ac_ext >&5
60887 glibcxx_cv_func___builtin_sqrtf_link=no
60889 rm -f conftest.err conftest.$ac_objext \
60890 conftest$ac_exeext conftest.$ac_ext
60895 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
60896 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
60898 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
60900 cat >>confdefs.h <<\_ACEOF
60901 #define HAVE___BUILTIN_SQRTF 1
60902 _ACEOF
60909 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
60910 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
60911 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
60912 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
60913 echo $ECHO_N "(cached) $ECHO_C" >&6
60914 else
60918 ac_ext=cc
60919 ac_cpp='$CXXCPP $CPPFLAGS'
60920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60924 cat >conftest.$ac_ext <<_ACEOF
60925 /* confdefs.h. */
60926 _ACEOF
60927 cat confdefs.h >>conftest.$ac_ext
60928 cat >>conftest.$ac_ext <<_ACEOF
60929 /* end confdefs.h. */
60930 #include <math.h>
60932 main ()
60934 __builtin_sqrt(0);
60936 return 0;
60938 _ACEOF
60939 rm -f conftest.$ac_objext
60940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60941 (eval $ac_compile) 2>conftest.er1
60942 ac_status=$?
60943 grep -v '^ *+' conftest.er1 >conftest.err
60944 rm -f conftest.er1
60945 cat conftest.err >&5
60946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60947 (exit $ac_status); } &&
60948 { ac_try='test -z "$ac_cxx_werror_flag"
60949 || test ! -s conftest.err'
60950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60951 (eval $ac_try) 2>&5
60952 ac_status=$?
60953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60954 (exit $ac_status); }; } &&
60955 { ac_try='test -s conftest.$ac_objext'
60956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60957 (eval $ac_try) 2>&5
60958 ac_status=$?
60959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60960 (exit $ac_status); }; }; then
60961 glibcxx_cv_func___builtin_sqrt_use=yes
60962 else
60963 echo "$as_me: failed program was:" >&5
60964 sed 's/^/| /' conftest.$ac_ext >&5
60966 glibcxx_cv_func___builtin_sqrt_use=no
60968 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60969 ac_ext=c
60970 ac_cpp='$CPP $CPPFLAGS'
60971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60979 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
60980 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
60981 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
60982 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
60983 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
60984 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
60985 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
60986 echo $ECHO_N "(cached) $ECHO_C" >&6
60987 else
60989 if test x$gcc_no_link = xyes; then
60990 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60991 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60992 { (exit 1); exit 1; }; }
60994 cat >conftest.$ac_ext <<_ACEOF
60995 /* confdefs.h. */
60996 _ACEOF
60997 cat confdefs.h >>conftest.$ac_ext
60998 cat >>conftest.$ac_ext <<_ACEOF
60999 /* end confdefs.h. */
61000 #include <math.h>
61002 main ()
61004 __builtin_sqrt(0);
61006 return 0;
61008 _ACEOF
61009 rm -f conftest.$ac_objext conftest$ac_exeext
61010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61011 (eval $ac_link) 2>conftest.er1
61012 ac_status=$?
61013 grep -v '^ *+' conftest.er1 >conftest.err
61014 rm -f conftest.er1
61015 cat conftest.err >&5
61016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61017 (exit $ac_status); } &&
61018 { ac_try='test -z "$ac_c_werror_flag"
61019 || test ! -s conftest.err'
61020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61021 (eval $ac_try) 2>&5
61022 ac_status=$?
61023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61024 (exit $ac_status); }; } &&
61025 { ac_try='test -s conftest$ac_exeext'
61026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61027 (eval $ac_try) 2>&5
61028 ac_status=$?
61029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61030 (exit $ac_status); }; }; then
61031 glibcxx_cv_func___builtin_sqrt_link=yes
61032 else
61033 echo "$as_me: failed program was:" >&5
61034 sed 's/^/| /' conftest.$ac_ext >&5
61036 glibcxx_cv_func___builtin_sqrt_link=no
61038 rm -f conftest.err conftest.$ac_objext \
61039 conftest$ac_exeext conftest.$ac_ext
61044 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
61045 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
61047 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
61049 cat >>confdefs.h <<\_ACEOF
61050 #define HAVE___BUILTIN_SQRT 1
61051 _ACEOF
61058 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
61059 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
61060 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
61061 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
61062 echo $ECHO_N "(cached) $ECHO_C" >&6
61063 else
61067 ac_ext=cc
61068 ac_cpp='$CXXCPP $CPPFLAGS'
61069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61073 cat >conftest.$ac_ext <<_ACEOF
61074 /* confdefs.h. */
61075 _ACEOF
61076 cat confdefs.h >>conftest.$ac_ext
61077 cat >>conftest.$ac_ext <<_ACEOF
61078 /* end confdefs.h. */
61079 #include <math.h>
61081 main ()
61083 __builtin_sqrtl(0);
61085 return 0;
61087 _ACEOF
61088 rm -f conftest.$ac_objext
61089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61090 (eval $ac_compile) 2>conftest.er1
61091 ac_status=$?
61092 grep -v '^ *+' conftest.er1 >conftest.err
61093 rm -f conftest.er1
61094 cat conftest.err >&5
61095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61096 (exit $ac_status); } &&
61097 { ac_try='test -z "$ac_cxx_werror_flag"
61098 || test ! -s conftest.err'
61099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61100 (eval $ac_try) 2>&5
61101 ac_status=$?
61102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61103 (exit $ac_status); }; } &&
61104 { ac_try='test -s conftest.$ac_objext'
61105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61106 (eval $ac_try) 2>&5
61107 ac_status=$?
61108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61109 (exit $ac_status); }; }; then
61110 glibcxx_cv_func___builtin_sqrtl_use=yes
61111 else
61112 echo "$as_me: failed program was:" >&5
61113 sed 's/^/| /' conftest.$ac_ext >&5
61115 glibcxx_cv_func___builtin_sqrtl_use=no
61117 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61118 ac_ext=c
61119 ac_cpp='$CPP $CPPFLAGS'
61120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61128 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
61129 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
61130 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
61131 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
61132 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
61133 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
61134 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
61135 echo $ECHO_N "(cached) $ECHO_C" >&6
61136 else
61138 if test x$gcc_no_link = xyes; then
61139 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61140 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61141 { (exit 1); exit 1; }; }
61143 cat >conftest.$ac_ext <<_ACEOF
61144 /* confdefs.h. */
61145 _ACEOF
61146 cat confdefs.h >>conftest.$ac_ext
61147 cat >>conftest.$ac_ext <<_ACEOF
61148 /* end confdefs.h. */
61149 #include <math.h>
61151 main ()
61153 __builtin_sqrtl(0);
61155 return 0;
61157 _ACEOF
61158 rm -f conftest.$ac_objext conftest$ac_exeext
61159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61160 (eval $ac_link) 2>conftest.er1
61161 ac_status=$?
61162 grep -v '^ *+' conftest.er1 >conftest.err
61163 rm -f conftest.er1
61164 cat conftest.err >&5
61165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61166 (exit $ac_status); } &&
61167 { ac_try='test -z "$ac_c_werror_flag"
61168 || test ! -s conftest.err'
61169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61170 (eval $ac_try) 2>&5
61171 ac_status=$?
61172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61173 (exit $ac_status); }; } &&
61174 { ac_try='test -s conftest$ac_exeext'
61175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61176 (eval $ac_try) 2>&5
61177 ac_status=$?
61178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61179 (exit $ac_status); }; }; then
61180 glibcxx_cv_func___builtin_sqrtl_link=yes
61181 else
61182 echo "$as_me: failed program was:" >&5
61183 sed 's/^/| /' conftest.$ac_ext >&5
61185 glibcxx_cv_func___builtin_sqrtl_link=no
61187 rm -f conftest.err conftest.$ac_objext \
61188 conftest$ac_exeext conftest.$ac_ext
61193 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
61194 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
61196 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
61198 cat >>confdefs.h <<\_ACEOF
61199 #define HAVE___BUILTIN_SQRTL 1
61200 _ACEOF
61208 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
61209 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
61210 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
61211 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
61212 echo $ECHO_N "(cached) $ECHO_C" >&6
61213 else
61217 ac_ext=cc
61218 ac_cpp='$CXXCPP $CPPFLAGS'
61219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61223 cat >conftest.$ac_ext <<_ACEOF
61224 /* confdefs.h. */
61225 _ACEOF
61226 cat confdefs.h >>conftest.$ac_ext
61227 cat >>conftest.$ac_ext <<_ACEOF
61228 /* end confdefs.h. */
61229 #include <math.h>
61231 main ()
61233 __builtin_sinf(0);
61235 return 0;
61237 _ACEOF
61238 rm -f conftest.$ac_objext
61239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61240 (eval $ac_compile) 2>conftest.er1
61241 ac_status=$?
61242 grep -v '^ *+' conftest.er1 >conftest.err
61243 rm -f conftest.er1
61244 cat conftest.err >&5
61245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61246 (exit $ac_status); } &&
61247 { ac_try='test -z "$ac_cxx_werror_flag"
61248 || test ! -s conftest.err'
61249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61250 (eval $ac_try) 2>&5
61251 ac_status=$?
61252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61253 (exit $ac_status); }; } &&
61254 { ac_try='test -s conftest.$ac_objext'
61255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61256 (eval $ac_try) 2>&5
61257 ac_status=$?
61258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61259 (exit $ac_status); }; }; then
61260 glibcxx_cv_func___builtin_sinf_use=yes
61261 else
61262 echo "$as_me: failed program was:" >&5
61263 sed 's/^/| /' conftest.$ac_ext >&5
61265 glibcxx_cv_func___builtin_sinf_use=no
61267 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61268 ac_ext=c
61269 ac_cpp='$CPP $CPPFLAGS'
61270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61278 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
61279 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
61280 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
61281 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
61282 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
61283 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
61284 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
61285 echo $ECHO_N "(cached) $ECHO_C" >&6
61286 else
61288 if test x$gcc_no_link = xyes; then
61289 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61290 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61291 { (exit 1); exit 1; }; }
61293 cat >conftest.$ac_ext <<_ACEOF
61294 /* confdefs.h. */
61295 _ACEOF
61296 cat confdefs.h >>conftest.$ac_ext
61297 cat >>conftest.$ac_ext <<_ACEOF
61298 /* end confdefs.h. */
61299 #include <math.h>
61301 main ()
61303 __builtin_sinf(0);
61305 return 0;
61307 _ACEOF
61308 rm -f conftest.$ac_objext conftest$ac_exeext
61309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61310 (eval $ac_link) 2>conftest.er1
61311 ac_status=$?
61312 grep -v '^ *+' conftest.er1 >conftest.err
61313 rm -f conftest.er1
61314 cat conftest.err >&5
61315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61316 (exit $ac_status); } &&
61317 { ac_try='test -z "$ac_c_werror_flag"
61318 || test ! -s conftest.err'
61319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61320 (eval $ac_try) 2>&5
61321 ac_status=$?
61322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61323 (exit $ac_status); }; } &&
61324 { ac_try='test -s conftest$ac_exeext'
61325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61326 (eval $ac_try) 2>&5
61327 ac_status=$?
61328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61329 (exit $ac_status); }; }; then
61330 glibcxx_cv_func___builtin_sinf_link=yes
61331 else
61332 echo "$as_me: failed program was:" >&5
61333 sed 's/^/| /' conftest.$ac_ext >&5
61335 glibcxx_cv_func___builtin_sinf_link=no
61337 rm -f conftest.err conftest.$ac_objext \
61338 conftest$ac_exeext conftest.$ac_ext
61343 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
61344 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
61346 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
61348 cat >>confdefs.h <<\_ACEOF
61349 #define HAVE___BUILTIN_SINF 1
61350 _ACEOF
61357 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
61358 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
61359 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
61360 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
61361 echo $ECHO_N "(cached) $ECHO_C" >&6
61362 else
61366 ac_ext=cc
61367 ac_cpp='$CXXCPP $CPPFLAGS'
61368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61372 cat >conftest.$ac_ext <<_ACEOF
61373 /* confdefs.h. */
61374 _ACEOF
61375 cat confdefs.h >>conftest.$ac_ext
61376 cat >>conftest.$ac_ext <<_ACEOF
61377 /* end confdefs.h. */
61378 #include <math.h>
61380 main ()
61382 __builtin_sin(0);
61384 return 0;
61386 _ACEOF
61387 rm -f conftest.$ac_objext
61388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61389 (eval $ac_compile) 2>conftest.er1
61390 ac_status=$?
61391 grep -v '^ *+' conftest.er1 >conftest.err
61392 rm -f conftest.er1
61393 cat conftest.err >&5
61394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61395 (exit $ac_status); } &&
61396 { ac_try='test -z "$ac_cxx_werror_flag"
61397 || test ! -s conftest.err'
61398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61399 (eval $ac_try) 2>&5
61400 ac_status=$?
61401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61402 (exit $ac_status); }; } &&
61403 { ac_try='test -s conftest.$ac_objext'
61404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61405 (eval $ac_try) 2>&5
61406 ac_status=$?
61407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61408 (exit $ac_status); }; }; then
61409 glibcxx_cv_func___builtin_sin_use=yes
61410 else
61411 echo "$as_me: failed program was:" >&5
61412 sed 's/^/| /' conftest.$ac_ext >&5
61414 glibcxx_cv_func___builtin_sin_use=no
61416 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61417 ac_ext=c
61418 ac_cpp='$CPP $CPPFLAGS'
61419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61427 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
61428 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
61429 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
61430 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
61431 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
61432 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
61433 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
61434 echo $ECHO_N "(cached) $ECHO_C" >&6
61435 else
61437 if test x$gcc_no_link = xyes; then
61438 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61439 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61440 { (exit 1); exit 1; }; }
61442 cat >conftest.$ac_ext <<_ACEOF
61443 /* confdefs.h. */
61444 _ACEOF
61445 cat confdefs.h >>conftest.$ac_ext
61446 cat >>conftest.$ac_ext <<_ACEOF
61447 /* end confdefs.h. */
61448 #include <math.h>
61450 main ()
61452 __builtin_sin(0);
61454 return 0;
61456 _ACEOF
61457 rm -f conftest.$ac_objext conftest$ac_exeext
61458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61459 (eval $ac_link) 2>conftest.er1
61460 ac_status=$?
61461 grep -v '^ *+' conftest.er1 >conftest.err
61462 rm -f conftest.er1
61463 cat conftest.err >&5
61464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61465 (exit $ac_status); } &&
61466 { ac_try='test -z "$ac_c_werror_flag"
61467 || test ! -s conftest.err'
61468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61469 (eval $ac_try) 2>&5
61470 ac_status=$?
61471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61472 (exit $ac_status); }; } &&
61473 { ac_try='test -s conftest$ac_exeext'
61474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61475 (eval $ac_try) 2>&5
61476 ac_status=$?
61477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61478 (exit $ac_status); }; }; then
61479 glibcxx_cv_func___builtin_sin_link=yes
61480 else
61481 echo "$as_me: failed program was:" >&5
61482 sed 's/^/| /' conftest.$ac_ext >&5
61484 glibcxx_cv_func___builtin_sin_link=no
61486 rm -f conftest.err conftest.$ac_objext \
61487 conftest$ac_exeext conftest.$ac_ext
61492 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
61493 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
61495 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
61497 cat >>confdefs.h <<\_ACEOF
61498 #define HAVE___BUILTIN_SIN 1
61499 _ACEOF
61506 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
61507 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
61508 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
61509 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
61510 echo $ECHO_N "(cached) $ECHO_C" >&6
61511 else
61515 ac_ext=cc
61516 ac_cpp='$CXXCPP $CPPFLAGS'
61517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61521 cat >conftest.$ac_ext <<_ACEOF
61522 /* confdefs.h. */
61523 _ACEOF
61524 cat confdefs.h >>conftest.$ac_ext
61525 cat >>conftest.$ac_ext <<_ACEOF
61526 /* end confdefs.h. */
61527 #include <math.h>
61529 main ()
61531 __builtin_sinl(0);
61533 return 0;
61535 _ACEOF
61536 rm -f conftest.$ac_objext
61537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61538 (eval $ac_compile) 2>conftest.er1
61539 ac_status=$?
61540 grep -v '^ *+' conftest.er1 >conftest.err
61541 rm -f conftest.er1
61542 cat conftest.err >&5
61543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61544 (exit $ac_status); } &&
61545 { ac_try='test -z "$ac_cxx_werror_flag"
61546 || test ! -s conftest.err'
61547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61548 (eval $ac_try) 2>&5
61549 ac_status=$?
61550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61551 (exit $ac_status); }; } &&
61552 { ac_try='test -s conftest.$ac_objext'
61553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61554 (eval $ac_try) 2>&5
61555 ac_status=$?
61556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61557 (exit $ac_status); }; }; then
61558 glibcxx_cv_func___builtin_sinl_use=yes
61559 else
61560 echo "$as_me: failed program was:" >&5
61561 sed 's/^/| /' conftest.$ac_ext >&5
61563 glibcxx_cv_func___builtin_sinl_use=no
61565 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61566 ac_ext=c
61567 ac_cpp='$CPP $CPPFLAGS'
61568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61576 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
61577 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
61578 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
61579 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
61580 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
61581 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
61582 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
61583 echo $ECHO_N "(cached) $ECHO_C" >&6
61584 else
61586 if test x$gcc_no_link = xyes; then
61587 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61588 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61589 { (exit 1); exit 1; }; }
61591 cat >conftest.$ac_ext <<_ACEOF
61592 /* confdefs.h. */
61593 _ACEOF
61594 cat confdefs.h >>conftest.$ac_ext
61595 cat >>conftest.$ac_ext <<_ACEOF
61596 /* end confdefs.h. */
61597 #include <math.h>
61599 main ()
61601 __builtin_sinl(0);
61603 return 0;
61605 _ACEOF
61606 rm -f conftest.$ac_objext conftest$ac_exeext
61607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61608 (eval $ac_link) 2>conftest.er1
61609 ac_status=$?
61610 grep -v '^ *+' conftest.er1 >conftest.err
61611 rm -f conftest.er1
61612 cat conftest.err >&5
61613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61614 (exit $ac_status); } &&
61615 { ac_try='test -z "$ac_c_werror_flag"
61616 || test ! -s conftest.err'
61617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61618 (eval $ac_try) 2>&5
61619 ac_status=$?
61620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61621 (exit $ac_status); }; } &&
61622 { ac_try='test -s conftest$ac_exeext'
61623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61624 (eval $ac_try) 2>&5
61625 ac_status=$?
61626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61627 (exit $ac_status); }; }; then
61628 glibcxx_cv_func___builtin_sinl_link=yes
61629 else
61630 echo "$as_me: failed program was:" >&5
61631 sed 's/^/| /' conftest.$ac_ext >&5
61633 glibcxx_cv_func___builtin_sinl_link=no
61635 rm -f conftest.err conftest.$ac_objext \
61636 conftest$ac_exeext conftest.$ac_ext
61641 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
61642 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
61644 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
61646 cat >>confdefs.h <<\_ACEOF
61647 #define HAVE___BUILTIN_SINL 1
61648 _ACEOF
61656 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
61657 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
61658 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
61659 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
61660 echo $ECHO_N "(cached) $ECHO_C" >&6
61661 else
61665 ac_ext=cc
61666 ac_cpp='$CXXCPP $CPPFLAGS'
61667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61671 cat >conftest.$ac_ext <<_ACEOF
61672 /* confdefs.h. */
61673 _ACEOF
61674 cat confdefs.h >>conftest.$ac_ext
61675 cat >>conftest.$ac_ext <<_ACEOF
61676 /* end confdefs.h. */
61677 #include <math.h>
61679 main ()
61681 __builtin_cosf(0);
61683 return 0;
61685 _ACEOF
61686 rm -f conftest.$ac_objext
61687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61688 (eval $ac_compile) 2>conftest.er1
61689 ac_status=$?
61690 grep -v '^ *+' conftest.er1 >conftest.err
61691 rm -f conftest.er1
61692 cat conftest.err >&5
61693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61694 (exit $ac_status); } &&
61695 { ac_try='test -z "$ac_cxx_werror_flag"
61696 || test ! -s conftest.err'
61697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61698 (eval $ac_try) 2>&5
61699 ac_status=$?
61700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61701 (exit $ac_status); }; } &&
61702 { ac_try='test -s conftest.$ac_objext'
61703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61704 (eval $ac_try) 2>&5
61705 ac_status=$?
61706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61707 (exit $ac_status); }; }; then
61708 glibcxx_cv_func___builtin_cosf_use=yes
61709 else
61710 echo "$as_me: failed program was:" >&5
61711 sed 's/^/| /' conftest.$ac_ext >&5
61713 glibcxx_cv_func___builtin_cosf_use=no
61715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61716 ac_ext=c
61717 ac_cpp='$CPP $CPPFLAGS'
61718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61726 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
61727 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
61728 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
61729 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
61730 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
61731 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
61732 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
61733 echo $ECHO_N "(cached) $ECHO_C" >&6
61734 else
61736 if test x$gcc_no_link = xyes; then
61737 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61738 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61739 { (exit 1); exit 1; }; }
61741 cat >conftest.$ac_ext <<_ACEOF
61742 /* confdefs.h. */
61743 _ACEOF
61744 cat confdefs.h >>conftest.$ac_ext
61745 cat >>conftest.$ac_ext <<_ACEOF
61746 /* end confdefs.h. */
61747 #include <math.h>
61749 main ()
61751 __builtin_cosf(0);
61753 return 0;
61755 _ACEOF
61756 rm -f conftest.$ac_objext conftest$ac_exeext
61757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61758 (eval $ac_link) 2>conftest.er1
61759 ac_status=$?
61760 grep -v '^ *+' conftest.er1 >conftest.err
61761 rm -f conftest.er1
61762 cat conftest.err >&5
61763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61764 (exit $ac_status); } &&
61765 { ac_try='test -z "$ac_c_werror_flag"
61766 || test ! -s conftest.err'
61767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61768 (eval $ac_try) 2>&5
61769 ac_status=$?
61770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61771 (exit $ac_status); }; } &&
61772 { ac_try='test -s conftest$ac_exeext'
61773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61774 (eval $ac_try) 2>&5
61775 ac_status=$?
61776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61777 (exit $ac_status); }; }; then
61778 glibcxx_cv_func___builtin_cosf_link=yes
61779 else
61780 echo "$as_me: failed program was:" >&5
61781 sed 's/^/| /' conftest.$ac_ext >&5
61783 glibcxx_cv_func___builtin_cosf_link=no
61785 rm -f conftest.err conftest.$ac_objext \
61786 conftest$ac_exeext conftest.$ac_ext
61791 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
61792 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
61794 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
61796 cat >>confdefs.h <<\_ACEOF
61797 #define HAVE___BUILTIN_COSF 1
61798 _ACEOF
61805 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
61806 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
61807 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
61808 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
61809 echo $ECHO_N "(cached) $ECHO_C" >&6
61810 else
61814 ac_ext=cc
61815 ac_cpp='$CXXCPP $CPPFLAGS'
61816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61820 cat >conftest.$ac_ext <<_ACEOF
61821 /* confdefs.h. */
61822 _ACEOF
61823 cat confdefs.h >>conftest.$ac_ext
61824 cat >>conftest.$ac_ext <<_ACEOF
61825 /* end confdefs.h. */
61826 #include <math.h>
61828 main ()
61830 __builtin_cos(0);
61832 return 0;
61834 _ACEOF
61835 rm -f conftest.$ac_objext
61836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61837 (eval $ac_compile) 2>conftest.er1
61838 ac_status=$?
61839 grep -v '^ *+' conftest.er1 >conftest.err
61840 rm -f conftest.er1
61841 cat conftest.err >&5
61842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61843 (exit $ac_status); } &&
61844 { ac_try='test -z "$ac_cxx_werror_flag"
61845 || test ! -s conftest.err'
61846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61847 (eval $ac_try) 2>&5
61848 ac_status=$?
61849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61850 (exit $ac_status); }; } &&
61851 { ac_try='test -s conftest.$ac_objext'
61852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61853 (eval $ac_try) 2>&5
61854 ac_status=$?
61855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61856 (exit $ac_status); }; }; then
61857 glibcxx_cv_func___builtin_cos_use=yes
61858 else
61859 echo "$as_me: failed program was:" >&5
61860 sed 's/^/| /' conftest.$ac_ext >&5
61862 glibcxx_cv_func___builtin_cos_use=no
61864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61865 ac_ext=c
61866 ac_cpp='$CPP $CPPFLAGS'
61867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61875 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
61876 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
61877 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
61878 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
61879 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
61880 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
61881 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
61882 echo $ECHO_N "(cached) $ECHO_C" >&6
61883 else
61885 if test x$gcc_no_link = xyes; then
61886 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61887 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61888 { (exit 1); exit 1; }; }
61890 cat >conftest.$ac_ext <<_ACEOF
61891 /* confdefs.h. */
61892 _ACEOF
61893 cat confdefs.h >>conftest.$ac_ext
61894 cat >>conftest.$ac_ext <<_ACEOF
61895 /* end confdefs.h. */
61896 #include <math.h>
61898 main ()
61900 __builtin_cos(0);
61902 return 0;
61904 _ACEOF
61905 rm -f conftest.$ac_objext conftest$ac_exeext
61906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61907 (eval $ac_link) 2>conftest.er1
61908 ac_status=$?
61909 grep -v '^ *+' conftest.er1 >conftest.err
61910 rm -f conftest.er1
61911 cat conftest.err >&5
61912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61913 (exit $ac_status); } &&
61914 { ac_try='test -z "$ac_c_werror_flag"
61915 || test ! -s conftest.err'
61916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61917 (eval $ac_try) 2>&5
61918 ac_status=$?
61919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61920 (exit $ac_status); }; } &&
61921 { ac_try='test -s conftest$ac_exeext'
61922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61923 (eval $ac_try) 2>&5
61924 ac_status=$?
61925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61926 (exit $ac_status); }; }; then
61927 glibcxx_cv_func___builtin_cos_link=yes
61928 else
61929 echo "$as_me: failed program was:" >&5
61930 sed 's/^/| /' conftest.$ac_ext >&5
61932 glibcxx_cv_func___builtin_cos_link=no
61934 rm -f conftest.err conftest.$ac_objext \
61935 conftest$ac_exeext conftest.$ac_ext
61940 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
61941 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
61943 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
61945 cat >>confdefs.h <<\_ACEOF
61946 #define HAVE___BUILTIN_COS 1
61947 _ACEOF
61954 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
61955 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
61956 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
61957 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
61958 echo $ECHO_N "(cached) $ECHO_C" >&6
61959 else
61963 ac_ext=cc
61964 ac_cpp='$CXXCPP $CPPFLAGS'
61965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61969 cat >conftest.$ac_ext <<_ACEOF
61970 /* confdefs.h. */
61971 _ACEOF
61972 cat confdefs.h >>conftest.$ac_ext
61973 cat >>conftest.$ac_ext <<_ACEOF
61974 /* end confdefs.h. */
61975 #include <math.h>
61977 main ()
61979 __builtin_cosl(0);
61981 return 0;
61983 _ACEOF
61984 rm -f conftest.$ac_objext
61985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61986 (eval $ac_compile) 2>conftest.er1
61987 ac_status=$?
61988 grep -v '^ *+' conftest.er1 >conftest.err
61989 rm -f conftest.er1
61990 cat conftest.err >&5
61991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61992 (exit $ac_status); } &&
61993 { ac_try='test -z "$ac_cxx_werror_flag"
61994 || test ! -s conftest.err'
61995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61996 (eval $ac_try) 2>&5
61997 ac_status=$?
61998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61999 (exit $ac_status); }; } &&
62000 { ac_try='test -s conftest.$ac_objext'
62001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62002 (eval $ac_try) 2>&5
62003 ac_status=$?
62004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62005 (exit $ac_status); }; }; then
62006 glibcxx_cv_func___builtin_cosl_use=yes
62007 else
62008 echo "$as_me: failed program was:" >&5
62009 sed 's/^/| /' conftest.$ac_ext >&5
62011 glibcxx_cv_func___builtin_cosl_use=no
62013 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62014 ac_ext=c
62015 ac_cpp='$CPP $CPPFLAGS'
62016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62024 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
62025 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
62026 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
62027 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
62028 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
62029 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
62030 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
62031 echo $ECHO_N "(cached) $ECHO_C" >&6
62032 else
62034 if test x$gcc_no_link = xyes; then
62035 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62036 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62037 { (exit 1); exit 1; }; }
62039 cat >conftest.$ac_ext <<_ACEOF
62040 /* confdefs.h. */
62041 _ACEOF
62042 cat confdefs.h >>conftest.$ac_ext
62043 cat >>conftest.$ac_ext <<_ACEOF
62044 /* end confdefs.h. */
62045 #include <math.h>
62047 main ()
62049 __builtin_cosl(0);
62051 return 0;
62053 _ACEOF
62054 rm -f conftest.$ac_objext conftest$ac_exeext
62055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62056 (eval $ac_link) 2>conftest.er1
62057 ac_status=$?
62058 grep -v '^ *+' conftest.er1 >conftest.err
62059 rm -f conftest.er1
62060 cat conftest.err >&5
62061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62062 (exit $ac_status); } &&
62063 { ac_try='test -z "$ac_c_werror_flag"
62064 || test ! -s conftest.err'
62065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62066 (eval $ac_try) 2>&5
62067 ac_status=$?
62068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62069 (exit $ac_status); }; } &&
62070 { ac_try='test -s conftest$ac_exeext'
62071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62072 (eval $ac_try) 2>&5
62073 ac_status=$?
62074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62075 (exit $ac_status); }; }; then
62076 glibcxx_cv_func___builtin_cosl_link=yes
62077 else
62078 echo "$as_me: failed program was:" >&5
62079 sed 's/^/| /' conftest.$ac_ext >&5
62081 glibcxx_cv_func___builtin_cosl_link=no
62083 rm -f conftest.err conftest.$ac_objext \
62084 conftest$ac_exeext conftest.$ac_ext
62089 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
62090 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
62092 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
62094 cat >>confdefs.h <<\_ACEOF
62095 #define HAVE___BUILTIN_COSL 1
62096 _ACEOF
62105 echo "$as_me:$LINENO: checking for main in -lm" >&5
62106 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
62107 if test "${ac_cv_lib_m_main+set}" = set; then
62108 echo $ECHO_N "(cached) $ECHO_C" >&6
62109 else
62110 ac_check_lib_save_LIBS=$LIBS
62111 LIBS="-lm $LIBS"
62112 if test x$gcc_no_link = xyes; then
62113 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62114 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62115 { (exit 1); exit 1; }; }
62117 cat >conftest.$ac_ext <<_ACEOF
62118 /* confdefs.h. */
62119 _ACEOF
62120 cat confdefs.h >>conftest.$ac_ext
62121 cat >>conftest.$ac_ext <<_ACEOF
62122 /* end confdefs.h. */
62126 main ()
62128 main ();
62130 return 0;
62132 _ACEOF
62133 rm -f conftest.$ac_objext conftest$ac_exeext
62134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62135 (eval $ac_link) 2>conftest.er1
62136 ac_status=$?
62137 grep -v '^ *+' conftest.er1 >conftest.err
62138 rm -f conftest.er1
62139 cat conftest.err >&5
62140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62141 (exit $ac_status); } &&
62142 { ac_try='test -z "$ac_c_werror_flag"
62143 || test ! -s conftest.err'
62144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62145 (eval $ac_try) 2>&5
62146 ac_status=$?
62147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62148 (exit $ac_status); }; } &&
62149 { ac_try='test -s conftest$ac_exeext'
62150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62151 (eval $ac_try) 2>&5
62152 ac_status=$?
62153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62154 (exit $ac_status); }; }; then
62155 ac_cv_lib_m_main=yes
62156 else
62157 echo "$as_me: failed program was:" >&5
62158 sed 's/^/| /' conftest.$ac_ext >&5
62160 ac_cv_lib_m_main=no
62162 rm -f conftest.err conftest.$ac_objext \
62163 conftest$ac_exeext conftest.$ac_ext
62164 LIBS=$ac_check_lib_save_LIBS
62166 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
62167 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
62168 if test $ac_cv_lib_m_main = yes; then
62169 cat >>confdefs.h <<_ACEOF
62170 #define HAVE_LIBM 1
62171 _ACEOF
62173 LIBS="-lm $LIBS"
62178 for ac_func in copysignf
62180 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62181 echo "$as_me:$LINENO: checking for $ac_func" >&5
62182 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62183 if eval "test \"\${$as_ac_var+set}\" = set"; then
62184 echo $ECHO_N "(cached) $ECHO_C" >&6
62185 else
62186 if test x$gcc_no_link = xyes; then
62187 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62188 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62189 { (exit 1); exit 1; }; }
62191 cat >conftest.$ac_ext <<_ACEOF
62192 /* confdefs.h. */
62193 _ACEOF
62194 cat confdefs.h >>conftest.$ac_ext
62195 cat >>conftest.$ac_ext <<_ACEOF
62196 /* end confdefs.h. */
62197 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62198 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62199 #define $ac_func innocuous_$ac_func
62201 /* System header to define __stub macros and hopefully few prototypes,
62202 which can conflict with char $ac_func (); below.
62203 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62204 <limits.h> exists even on freestanding compilers. */
62206 #ifdef __STDC__
62207 # include <limits.h>
62208 #else
62209 # include <assert.h>
62210 #endif
62212 #undef $ac_func
62214 /* Override any gcc2 internal prototype to avoid an error. */
62215 #ifdef __cplusplus
62216 extern "C"
62218 #endif
62219 /* We use char because int might match the return type of a gcc2
62220 builtin and then its argument prototype would still apply. */
62221 char $ac_func ();
62222 /* The GNU C library defines this for functions which it implements
62223 to always fail with ENOSYS. Some functions are actually named
62224 something starting with __ and the normal name is an alias. */
62225 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62226 choke me
62227 #else
62228 char (*f) () = $ac_func;
62229 #endif
62230 #ifdef __cplusplus
62232 #endif
62235 main ()
62237 return f != $ac_func;
62239 return 0;
62241 _ACEOF
62242 rm -f conftest.$ac_objext conftest$ac_exeext
62243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62244 (eval $ac_link) 2>conftest.er1
62245 ac_status=$?
62246 grep -v '^ *+' conftest.er1 >conftest.err
62247 rm -f conftest.er1
62248 cat conftest.err >&5
62249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62250 (exit $ac_status); } &&
62251 { ac_try='test -z "$ac_c_werror_flag"
62252 || test ! -s conftest.err'
62253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62254 (eval $ac_try) 2>&5
62255 ac_status=$?
62256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62257 (exit $ac_status); }; } &&
62258 { ac_try='test -s conftest$ac_exeext'
62259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62260 (eval $ac_try) 2>&5
62261 ac_status=$?
62262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62263 (exit $ac_status); }; }; then
62264 eval "$as_ac_var=yes"
62265 else
62266 echo "$as_me: failed program was:" >&5
62267 sed 's/^/| /' conftest.$ac_ext >&5
62269 eval "$as_ac_var=no"
62271 rm -f conftest.err conftest.$ac_objext \
62272 conftest$ac_exeext conftest.$ac_ext
62274 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62275 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62276 if test `eval echo '${'$as_ac_var'}'` = yes; then
62277 cat >>confdefs.h <<_ACEOF
62278 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62279 _ACEOF
62281 else
62282 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
62284 done
62288 for ac_func in __signbit
62290 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62291 echo "$as_me:$LINENO: checking for $ac_func" >&5
62292 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62293 if eval "test \"\${$as_ac_var+set}\" = set"; then
62294 echo $ECHO_N "(cached) $ECHO_C" >&6
62295 else
62296 if test x$gcc_no_link = xyes; then
62297 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62298 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62299 { (exit 1); exit 1; }; }
62301 cat >conftest.$ac_ext <<_ACEOF
62302 /* confdefs.h. */
62303 _ACEOF
62304 cat confdefs.h >>conftest.$ac_ext
62305 cat >>conftest.$ac_ext <<_ACEOF
62306 /* end confdefs.h. */
62307 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62308 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62309 #define $ac_func innocuous_$ac_func
62311 /* System header to define __stub macros and hopefully few prototypes,
62312 which can conflict with char $ac_func (); below.
62313 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62314 <limits.h> exists even on freestanding compilers. */
62316 #ifdef __STDC__
62317 # include <limits.h>
62318 #else
62319 # include <assert.h>
62320 #endif
62322 #undef $ac_func
62324 /* Override any gcc2 internal prototype to avoid an error. */
62325 #ifdef __cplusplus
62326 extern "C"
62328 #endif
62329 /* We use char because int might match the return type of a gcc2
62330 builtin and then its argument prototype would still apply. */
62331 char $ac_func ();
62332 /* The GNU C library defines this for functions which it implements
62333 to always fail with ENOSYS. Some functions are actually named
62334 something starting with __ and the normal name is an alias. */
62335 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62336 choke me
62337 #else
62338 char (*f) () = $ac_func;
62339 #endif
62340 #ifdef __cplusplus
62342 #endif
62345 main ()
62347 return f != $ac_func;
62349 return 0;
62351 _ACEOF
62352 rm -f conftest.$ac_objext conftest$ac_exeext
62353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62354 (eval $ac_link) 2>conftest.er1
62355 ac_status=$?
62356 grep -v '^ *+' conftest.er1 >conftest.err
62357 rm -f conftest.er1
62358 cat conftest.err >&5
62359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62360 (exit $ac_status); } &&
62361 { ac_try='test -z "$ac_c_werror_flag"
62362 || test ! -s conftest.err'
62363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62364 (eval $ac_try) 2>&5
62365 ac_status=$?
62366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62367 (exit $ac_status); }; } &&
62368 { ac_try='test -s conftest$ac_exeext'
62369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62370 (eval $ac_try) 2>&5
62371 ac_status=$?
62372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62373 (exit $ac_status); }; }; then
62374 eval "$as_ac_var=yes"
62375 else
62376 echo "$as_me: failed program was:" >&5
62377 sed 's/^/| /' conftest.$ac_ext >&5
62379 eval "$as_ac_var=no"
62381 rm -f conftest.err conftest.$ac_objext \
62382 conftest$ac_exeext conftest.$ac_ext
62384 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62385 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62386 if test `eval echo '${'$as_ac_var'}'` = yes; then
62387 cat >>confdefs.h <<_ACEOF
62388 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62389 _ACEOF
62391 else
62392 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
62394 done
62398 for ac_func in __signbitf
62400 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62401 echo "$as_me:$LINENO: checking for $ac_func" >&5
62402 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62403 if eval "test \"\${$as_ac_var+set}\" = set"; then
62404 echo $ECHO_N "(cached) $ECHO_C" >&6
62405 else
62406 if test x$gcc_no_link = xyes; then
62407 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62408 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62409 { (exit 1); exit 1; }; }
62411 cat >conftest.$ac_ext <<_ACEOF
62412 /* confdefs.h. */
62413 _ACEOF
62414 cat confdefs.h >>conftest.$ac_ext
62415 cat >>conftest.$ac_ext <<_ACEOF
62416 /* end confdefs.h. */
62417 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62418 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62419 #define $ac_func innocuous_$ac_func
62421 /* System header to define __stub macros and hopefully few prototypes,
62422 which can conflict with char $ac_func (); below.
62423 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62424 <limits.h> exists even on freestanding compilers. */
62426 #ifdef __STDC__
62427 # include <limits.h>
62428 #else
62429 # include <assert.h>
62430 #endif
62432 #undef $ac_func
62434 /* Override any gcc2 internal prototype to avoid an error. */
62435 #ifdef __cplusplus
62436 extern "C"
62438 #endif
62439 /* We use char because int might match the return type of a gcc2
62440 builtin and then its argument prototype would still apply. */
62441 char $ac_func ();
62442 /* The GNU C library defines this for functions which it implements
62443 to always fail with ENOSYS. Some functions are actually named
62444 something starting with __ and the normal name is an alias. */
62445 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62446 choke me
62447 #else
62448 char (*f) () = $ac_func;
62449 #endif
62450 #ifdef __cplusplus
62452 #endif
62455 main ()
62457 return f != $ac_func;
62459 return 0;
62461 _ACEOF
62462 rm -f conftest.$ac_objext conftest$ac_exeext
62463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62464 (eval $ac_link) 2>conftest.er1
62465 ac_status=$?
62466 grep -v '^ *+' conftest.er1 >conftest.err
62467 rm -f conftest.er1
62468 cat conftest.err >&5
62469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62470 (exit $ac_status); } &&
62471 { ac_try='test -z "$ac_c_werror_flag"
62472 || test ! -s conftest.err'
62473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62474 (eval $ac_try) 2>&5
62475 ac_status=$?
62476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62477 (exit $ac_status); }; } &&
62478 { ac_try='test -s conftest$ac_exeext'
62479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62480 (eval $ac_try) 2>&5
62481 ac_status=$?
62482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62483 (exit $ac_status); }; }; then
62484 eval "$as_ac_var=yes"
62485 else
62486 echo "$as_me: failed program was:" >&5
62487 sed 's/^/| /' conftest.$ac_ext >&5
62489 eval "$as_ac_var=no"
62491 rm -f conftest.err conftest.$ac_objext \
62492 conftest$ac_exeext conftest.$ac_ext
62494 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62495 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62496 if test `eval echo '${'$as_ac_var'}'` = yes; then
62497 cat >>confdefs.h <<_ACEOF
62498 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62499 _ACEOF
62501 else
62502 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
62504 done
62507 if test x$ac_cv_func_copysignl = x"yes"; then
62509 for ac_func in __signbitl
62511 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62512 echo "$as_me:$LINENO: checking for $ac_func" >&5
62513 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62514 if eval "test \"\${$as_ac_var+set}\" = set"; then
62515 echo $ECHO_N "(cached) $ECHO_C" >&6
62516 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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62529 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62530 #define $ac_func innocuous_$ac_func
62532 /* System header to define __stub macros and hopefully few prototypes,
62533 which can conflict with char $ac_func (); below.
62534 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62535 <limits.h> exists even on freestanding compilers. */
62537 #ifdef __STDC__
62538 # include <limits.h>
62539 #else
62540 # include <assert.h>
62541 #endif
62543 #undef $ac_func
62545 /* Override any gcc2 internal prototype to avoid an error. */
62546 #ifdef __cplusplus
62547 extern "C"
62549 #endif
62550 /* We use char because int might match the return type of a gcc2
62551 builtin and then its argument prototype would still apply. */
62552 char $ac_func ();
62553 /* The GNU C library defines this for functions which it implements
62554 to always fail with ENOSYS. Some functions are actually named
62555 something starting with __ and the normal name is an alias. */
62556 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62557 choke me
62558 #else
62559 char (*f) () = $ac_func;
62560 #endif
62561 #ifdef __cplusplus
62563 #endif
62566 main ()
62568 return f != $ac_func;
62570 return 0;
62572 _ACEOF
62573 rm -f conftest.$ac_objext conftest$ac_exeext
62574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62575 (eval $ac_link) 2>conftest.er1
62576 ac_status=$?
62577 grep -v '^ *+' conftest.er1 >conftest.err
62578 rm -f conftest.er1
62579 cat conftest.err >&5
62580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62581 (exit $ac_status); } &&
62582 { ac_try='test -z "$ac_c_werror_flag"
62583 || test ! -s conftest.err'
62584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62585 (eval $ac_try) 2>&5
62586 ac_status=$?
62587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62588 (exit $ac_status); }; } &&
62589 { ac_try='test -s conftest$ac_exeext'
62590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62591 (eval $ac_try) 2>&5
62592 ac_status=$?
62593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62594 (exit $ac_status); }; }; then
62595 eval "$as_ac_var=yes"
62596 else
62597 echo "$as_me: failed program was:" >&5
62598 sed 's/^/| /' conftest.$ac_ext >&5
62600 eval "$as_ac_var=no"
62602 rm -f conftest.err conftest.$ac_objext \
62603 conftest$ac_exeext conftest.$ac_ext
62605 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62606 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62607 if test `eval echo '${'$as_ac_var'}'` = yes; then
62608 cat >>confdefs.h <<_ACEOF
62609 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62610 _ACEOF
62612 else
62613 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
62615 done
62619 # Used in libmath/Makefile.am.
62620 if test -n "$LIBMATHOBJS"; then
62621 need_libmath=yes
62626 ac_test_CXXFLAGS="${CXXFLAGS+set}"
62627 ac_save_CXXFLAGS="$CXXFLAGS"
62628 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
62631 echo "$as_me:$LINENO: checking for strtold declaration" >&5
62632 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
62633 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
62634 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
62635 echo $ECHO_N "(cached) $ECHO_C" >&6
62636 else
62640 ac_ext=cc
62641 ac_cpp='$CXXCPP $CPPFLAGS'
62642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62646 cat >conftest.$ac_ext <<_ACEOF
62647 /* confdefs.h. */
62648 _ACEOF
62649 cat confdefs.h >>conftest.$ac_ext
62650 cat >>conftest.$ac_ext <<_ACEOF
62651 /* end confdefs.h. */
62652 #include <stdlib.h>
62654 main ()
62656 strtold(0, 0);
62658 return 0;
62660 _ACEOF
62661 rm -f conftest.$ac_objext
62662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62663 (eval $ac_compile) 2>conftest.er1
62664 ac_status=$?
62665 grep -v '^ *+' conftest.er1 >conftest.err
62666 rm -f conftest.er1
62667 cat conftest.err >&5
62668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62669 (exit $ac_status); } &&
62670 { ac_try='test -z "$ac_cxx_werror_flag"
62671 || test ! -s conftest.err'
62672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62673 (eval $ac_try) 2>&5
62674 ac_status=$?
62675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62676 (exit $ac_status); }; } &&
62677 { ac_try='test -s conftest.$ac_objext'
62678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62679 (eval $ac_try) 2>&5
62680 ac_status=$?
62681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62682 (exit $ac_status); }; }; then
62683 glibcxx_cv_func_strtold_use=yes
62684 else
62685 echo "$as_me: failed program was:" >&5
62686 sed 's/^/| /' conftest.$ac_ext >&5
62688 glibcxx_cv_func_strtold_use=no
62690 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62691 ac_ext=c
62692 ac_cpp='$CPP $CPPFLAGS'
62693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62701 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
62702 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
62703 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
62705 for ac_func in strtold
62707 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62708 echo "$as_me:$LINENO: checking for $ac_func" >&5
62709 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62710 if eval "test \"\${$as_ac_var+set}\" = set"; then
62711 echo $ECHO_N "(cached) $ECHO_C" >&6
62712 else
62713 if test x$gcc_no_link = xyes; then
62714 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62715 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62716 { (exit 1); exit 1; }; }
62718 cat >conftest.$ac_ext <<_ACEOF
62719 /* confdefs.h. */
62720 _ACEOF
62721 cat confdefs.h >>conftest.$ac_ext
62722 cat >>conftest.$ac_ext <<_ACEOF
62723 /* end confdefs.h. */
62724 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62725 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62726 #define $ac_func innocuous_$ac_func
62728 /* System header to define __stub macros and hopefully few prototypes,
62729 which can conflict with char $ac_func (); below.
62730 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62731 <limits.h> exists even on freestanding compilers. */
62733 #ifdef __STDC__
62734 # include <limits.h>
62735 #else
62736 # include <assert.h>
62737 #endif
62739 #undef $ac_func
62741 /* Override any gcc2 internal prototype to avoid an error. */
62742 #ifdef __cplusplus
62743 extern "C"
62745 #endif
62746 /* We use char because int might match the return type of a gcc2
62747 builtin and then its argument prototype would still apply. */
62748 char $ac_func ();
62749 /* The GNU C library defines this for functions which it implements
62750 to always fail with ENOSYS. Some functions are actually named
62751 something starting with __ and the normal name is an alias. */
62752 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62753 choke me
62754 #else
62755 char (*f) () = $ac_func;
62756 #endif
62757 #ifdef __cplusplus
62759 #endif
62762 main ()
62764 return f != $ac_func;
62766 return 0;
62768 _ACEOF
62769 rm -f conftest.$ac_objext conftest$ac_exeext
62770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62771 (eval $ac_link) 2>conftest.er1
62772 ac_status=$?
62773 grep -v '^ *+' conftest.er1 >conftest.err
62774 rm -f conftest.er1
62775 cat conftest.err >&5
62776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62777 (exit $ac_status); } &&
62778 { ac_try='test -z "$ac_c_werror_flag"
62779 || test ! -s conftest.err'
62780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62781 (eval $ac_try) 2>&5
62782 ac_status=$?
62783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62784 (exit $ac_status); }; } &&
62785 { ac_try='test -s conftest$ac_exeext'
62786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62787 (eval $ac_try) 2>&5
62788 ac_status=$?
62789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62790 (exit $ac_status); }; }; then
62791 eval "$as_ac_var=yes"
62792 else
62793 echo "$as_me: failed program was:" >&5
62794 sed 's/^/| /' conftest.$ac_ext >&5
62796 eval "$as_ac_var=no"
62798 rm -f conftest.err conftest.$ac_objext \
62799 conftest$ac_exeext conftest.$ac_ext
62801 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62802 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62803 if test `eval echo '${'$as_ac_var'}'` = yes; then
62804 cat >>confdefs.h <<_ACEOF
62805 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62806 _ACEOF
62809 done
62817 echo "$as_me:$LINENO: checking for strtof declaration" >&5
62818 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
62819 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
62820 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
62821 echo $ECHO_N "(cached) $ECHO_C" >&6
62822 else
62826 ac_ext=cc
62827 ac_cpp='$CXXCPP $CPPFLAGS'
62828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62832 cat >conftest.$ac_ext <<_ACEOF
62833 /* confdefs.h. */
62834 _ACEOF
62835 cat confdefs.h >>conftest.$ac_ext
62836 cat >>conftest.$ac_ext <<_ACEOF
62837 /* end confdefs.h. */
62838 #include <stdlib.h>
62840 main ()
62842 strtof(0, 0);
62844 return 0;
62846 _ACEOF
62847 rm -f conftest.$ac_objext
62848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62849 (eval $ac_compile) 2>conftest.er1
62850 ac_status=$?
62851 grep -v '^ *+' conftest.er1 >conftest.err
62852 rm -f conftest.er1
62853 cat conftest.err >&5
62854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62855 (exit $ac_status); } &&
62856 { ac_try='test -z "$ac_cxx_werror_flag"
62857 || test ! -s conftest.err'
62858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62859 (eval $ac_try) 2>&5
62860 ac_status=$?
62861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62862 (exit $ac_status); }; } &&
62863 { ac_try='test -s conftest.$ac_objext'
62864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62865 (eval $ac_try) 2>&5
62866 ac_status=$?
62867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62868 (exit $ac_status); }; }; then
62869 glibcxx_cv_func_strtof_use=yes
62870 else
62871 echo "$as_me: failed program was:" >&5
62872 sed 's/^/| /' conftest.$ac_ext >&5
62874 glibcxx_cv_func_strtof_use=no
62876 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62877 ac_ext=c
62878 ac_cpp='$CPP $CPPFLAGS'
62879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62887 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
62888 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
62889 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
62891 for ac_func in strtof
62893 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62894 echo "$as_me:$LINENO: checking for $ac_func" >&5
62895 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62896 if eval "test \"\${$as_ac_var+set}\" = set"; then
62897 echo $ECHO_N "(cached) $ECHO_C" >&6
62898 else
62899 if test x$gcc_no_link = xyes; then
62900 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62901 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62902 { (exit 1); exit 1; }; }
62904 cat >conftest.$ac_ext <<_ACEOF
62905 /* confdefs.h. */
62906 _ACEOF
62907 cat confdefs.h >>conftest.$ac_ext
62908 cat >>conftest.$ac_ext <<_ACEOF
62909 /* end confdefs.h. */
62910 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62911 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62912 #define $ac_func innocuous_$ac_func
62914 /* System header to define __stub macros and hopefully few prototypes,
62915 which can conflict with char $ac_func (); below.
62916 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62917 <limits.h> exists even on freestanding compilers. */
62919 #ifdef __STDC__
62920 # include <limits.h>
62921 #else
62922 # include <assert.h>
62923 #endif
62925 #undef $ac_func
62927 /* Override any gcc2 internal prototype to avoid an error. */
62928 #ifdef __cplusplus
62929 extern "C"
62931 #endif
62932 /* We use char because int might match the return type of a gcc2
62933 builtin and then its argument prototype would still apply. */
62934 char $ac_func ();
62935 /* The GNU C library defines this for functions which it implements
62936 to always fail with ENOSYS. Some functions are actually named
62937 something starting with __ and the normal name is an alias. */
62938 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62939 choke me
62940 #else
62941 char (*f) () = $ac_func;
62942 #endif
62943 #ifdef __cplusplus
62945 #endif
62948 main ()
62950 return f != $ac_func;
62952 return 0;
62954 _ACEOF
62955 rm -f conftest.$ac_objext conftest$ac_exeext
62956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62957 (eval $ac_link) 2>conftest.er1
62958 ac_status=$?
62959 grep -v '^ *+' conftest.er1 >conftest.err
62960 rm -f conftest.er1
62961 cat conftest.err >&5
62962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62963 (exit $ac_status); } &&
62964 { ac_try='test -z "$ac_c_werror_flag"
62965 || test ! -s conftest.err'
62966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62967 (eval $ac_try) 2>&5
62968 ac_status=$?
62969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62970 (exit $ac_status); }; } &&
62971 { ac_try='test -s conftest$ac_exeext'
62972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62973 (eval $ac_try) 2>&5
62974 ac_status=$?
62975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62976 (exit $ac_status); }; }; then
62977 eval "$as_ac_var=yes"
62978 else
62979 echo "$as_me: failed program was:" >&5
62980 sed 's/^/| /' conftest.$ac_ext >&5
62982 eval "$as_ac_var=no"
62984 rm -f conftest.err conftest.$ac_objext \
62985 conftest$ac_exeext conftest.$ac_ext
62987 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62988 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62989 if test `eval echo '${'$as_ac_var'}'` = yes; then
62990 cat >>confdefs.h <<_ACEOF
62991 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62992 _ACEOF
62995 done
63003 CXXFLAGS="$ac_save_CXXFLAGS"
63006 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
63007 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
63008 if test "${glibcxx_cv_S_ISREG+set}" = set; then
63009 echo $ECHO_N "(cached) $ECHO_C" >&6
63010 else
63012 if test x$gcc_no_link = xyes; then
63013 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63014 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63015 { (exit 1); exit 1; }; }
63017 cat >conftest.$ac_ext <<_ACEOF
63018 /* confdefs.h. */
63019 _ACEOF
63020 cat confdefs.h >>conftest.$ac_ext
63021 cat >>conftest.$ac_ext <<_ACEOF
63022 /* end confdefs.h. */
63023 #include <sys/stat.h>
63025 main ()
63027 struct stat buffer;
63028 fstat(0, &buffer);
63029 S_ISREG(buffer.st_mode);
63031 return 0;
63033 _ACEOF
63034 rm -f conftest.$ac_objext conftest$ac_exeext
63035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63036 (eval $ac_link) 2>conftest.er1
63037 ac_status=$?
63038 grep -v '^ *+' conftest.er1 >conftest.err
63039 rm -f conftest.er1
63040 cat conftest.err >&5
63041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63042 (exit $ac_status); } &&
63043 { ac_try='test -z "$ac_c_werror_flag"
63044 || test ! -s conftest.err'
63045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63046 (eval $ac_try) 2>&5
63047 ac_status=$?
63048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63049 (exit $ac_status); }; } &&
63050 { ac_try='test -s conftest$ac_exeext'
63051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63052 (eval $ac_try) 2>&5
63053 ac_status=$?
63054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63055 (exit $ac_status); }; }; then
63056 glibcxx_cv_S_ISREG=yes
63057 else
63058 echo "$as_me: failed program was:" >&5
63059 sed 's/^/| /' conftest.$ac_ext >&5
63061 glibcxx_cv_S_ISREG=no
63063 rm -f conftest.err conftest.$ac_objext \
63064 conftest$ac_exeext conftest.$ac_ext
63068 if test "${glibcxx_cv_S_IFREG+set}" = set; then
63069 echo $ECHO_N "(cached) $ECHO_C" >&6
63070 else
63072 if test x$gcc_no_link = xyes; then
63073 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63074 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63075 { (exit 1); exit 1; }; }
63077 cat >conftest.$ac_ext <<_ACEOF
63078 /* confdefs.h. */
63079 _ACEOF
63080 cat confdefs.h >>conftest.$ac_ext
63081 cat >>conftest.$ac_ext <<_ACEOF
63082 /* end confdefs.h. */
63083 #include <sys/stat.h>
63085 main ()
63087 struct stat buffer;
63088 fstat(0, &buffer);
63089 S_IFREG & buffer.st_mode;
63091 return 0;
63093 _ACEOF
63094 rm -f conftest.$ac_objext conftest$ac_exeext
63095 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63096 (eval $ac_link) 2>conftest.er1
63097 ac_status=$?
63098 grep -v '^ *+' conftest.er1 >conftest.err
63099 rm -f conftest.er1
63100 cat conftest.err >&5
63101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63102 (exit $ac_status); } &&
63103 { ac_try='test -z "$ac_c_werror_flag"
63104 || test ! -s conftest.err'
63105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63106 (eval $ac_try) 2>&5
63107 ac_status=$?
63108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63109 (exit $ac_status); }; } &&
63110 { ac_try='test -s conftest$ac_exeext'
63111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63112 (eval $ac_try) 2>&5
63113 ac_status=$?
63114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63115 (exit $ac_status); }; }; then
63116 glibcxx_cv_S_IFREG=yes
63117 else
63118 echo "$as_me: failed program was:" >&5
63119 sed 's/^/| /' conftest.$ac_ext >&5
63121 glibcxx_cv_S_IFREG=no
63123 rm -f conftest.err conftest.$ac_objext \
63124 conftest$ac_exeext conftest.$ac_ext
63128 res=no
63129 if test $glibcxx_cv_S_ISREG = yes; then
63131 cat >>confdefs.h <<\_ACEOF
63132 #define HAVE_S_ISREG 1
63133 _ACEOF
63135 res=S_ISREG
63136 elif test $glibcxx_cv_S_IFREG = yes; then
63138 cat >>confdefs.h <<\_ACEOF
63139 #define HAVE_S_IFREG 1
63140 _ACEOF
63142 res=S_IFREG
63144 echo "$as_me:$LINENO: result: $res" >&5
63145 echo "${ECHO_T}$res" >&6
63147 cat >>confdefs.h <<\_ACEOF
63148 #define HAVE_SIGSETJMP 1
63149 _ACEOF
63151 cat >>confdefs.h <<\_ACEOF
63152 #define HAVE_GETPAGESIZE 1
63153 _ACEOF
63155 cat >>confdefs.h <<\_ACEOF
63156 #define HAVE_WRITEV 1
63157 _ACEOF
63159 cat >>confdefs.h <<\_ACEOF
63160 #define HAVE_INT64_T 1
63161 _ACEOF
63164 cat >>confdefs.h <<\_ACEOF
63165 #define HAVE_LIBM 1
63166 _ACEOF
63168 cat >>confdefs.h <<\_ACEOF
63169 #define HAVE_COPYSIGN 1
63170 _ACEOF
63172 cat >>confdefs.h <<\_ACEOF
63173 #define HAVE_FINITE 1
63174 _ACEOF
63176 cat >>confdefs.h <<\_ACEOF
63177 #define HAVE_HYPOT 1
63178 _ACEOF
63180 cat >>confdefs.h <<\_ACEOF
63181 #define HAVE_ISNAN 1
63182 _ACEOF
63184 cat >>confdefs.h <<\_ACEOF
63185 #define HAVE_ISINF 1
63186 _ACEOF
63189 cat >>confdefs.h <<\_ACEOF
63190 #define HAVE_LDEXPF 1
63191 _ACEOF
63193 cat >>confdefs.h <<\_ACEOF
63194 #define HAVE_MODF 1
63195 _ACEOF
63197 cat >>confdefs.h <<\_ACEOF
63198 #define HAVE_SQRTF 1
63199 _ACEOF
63203 *-darwin*)
63204 # Darwin versions vary, but the linker should work in a cross environment,
63205 # so we just check for all the features here.
63206 # Check for available headers.
63220 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
63221 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
63222 sys/types.h
63224 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
63225 if eval "test \"\${$as_ac_Header+set}\" = set"; then
63226 echo "$as_me:$LINENO: checking for $ac_header" >&5
63227 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
63228 if eval "test \"\${$as_ac_Header+set}\" = set"; then
63229 echo $ECHO_N "(cached) $ECHO_C" >&6
63231 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
63232 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
63233 else
63234 # Is the header compilable?
63235 echo "$as_me:$LINENO: checking $ac_header usability" >&5
63236 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
63237 cat >conftest.$ac_ext <<_ACEOF
63238 /* confdefs.h. */
63239 _ACEOF
63240 cat confdefs.h >>conftest.$ac_ext
63241 cat >>conftest.$ac_ext <<_ACEOF
63242 /* end confdefs.h. */
63243 $ac_includes_default
63244 #include <$ac_header>
63245 _ACEOF
63246 rm -f conftest.$ac_objext
63247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63248 (eval $ac_compile) 2>conftest.er1
63249 ac_status=$?
63250 grep -v '^ *+' conftest.er1 >conftest.err
63251 rm -f conftest.er1
63252 cat conftest.err >&5
63253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63254 (exit $ac_status); } &&
63255 { ac_try='test -z "$ac_c_werror_flag"
63256 || test ! -s conftest.err'
63257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63258 (eval $ac_try) 2>&5
63259 ac_status=$?
63260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63261 (exit $ac_status); }; } &&
63262 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
63268 ac_header_compiler=yes
63269 else
63270 echo "$as_me: failed program was:" >&5
63271 sed 's/^/| /' conftest.$ac_ext >&5
63273 ac_header_compiler=no
63275 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63276 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
63277 echo "${ECHO_T}$ac_header_compiler" >&6
63279 # Is the header present?
63280 echo "$as_me:$LINENO: checking $ac_header presence" >&5
63281 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
63282 cat >conftest.$ac_ext <<_ACEOF
63283 /* confdefs.h. */
63284 _ACEOF
63285 cat confdefs.h >>conftest.$ac_ext
63286 cat >>conftest.$ac_ext <<_ACEOF
63287 /* end confdefs.h. */
63288 #include <$ac_header>
63289 _ACEOF
63290 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
63291 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
63292 ac_status=$?
63293 grep -v '^ *+' conftest.er1 >conftest.err
63294 rm -f conftest.er1
63295 cat conftest.err >&5
63296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63297 (exit $ac_status); } >/dev/null; then
63298 if test -s conftest.err; then
63299 ac_cpp_err=$ac_c_preproc_warn_flag
63300 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
63301 else
63302 ac_cpp_err=
63304 else
63305 ac_cpp_err=yes
63307 if test -z "$ac_cpp_err"; then
63308 ac_header_preproc=yes
63309 else
63310 echo "$as_me: failed program was:" >&5
63311 sed 's/^/| /' conftest.$ac_ext >&5
63313 ac_header_preproc=no
63315 rm -f conftest.err conftest.$ac_ext
63316 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
63317 echo "${ECHO_T}$ac_header_preproc" >&6
63319 # So? What about this header?
63320 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
63321 yes:no: )
63322 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
63323 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
63324 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
63325 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
63326 ac_header_preproc=yes
63328 no:yes:* )
63329 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
63330 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
63331 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
63332 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
63333 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
63334 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
63335 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
63336 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
63337 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
63338 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
63339 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
63340 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
63342 cat <<\_ASBOX
63343 ## ----------------------------------------- ##
63344 ## Report this to the package-unused lists. ##
63345 ## ----------------------------------------- ##
63346 _ASBOX
63348 sed "s/^/$as_me: WARNING: /" >&2
63350 esac
63351 echo "$as_me:$LINENO: checking for $ac_header" >&5
63352 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
63353 if eval "test \"\${$as_ac_Header+set}\" = set"; then
63354 echo $ECHO_N "(cached) $ECHO_C" >&6
63355 else
63356 eval "$as_ac_Header=\$ac_header_preproc"
63358 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
63359 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
63362 if test `eval echo '${'$as_ac_Header'}'` = yes; then
63363 cat >>confdefs.h <<_ACEOF
63364 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
63365 _ACEOF
63369 done
63372 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
63374 ac_test_CXXFLAGS="${CXXFLAGS+set}"
63375 ac_save_CXXFLAGS="$CXXFLAGS"
63376 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
63378 echo "$as_me:$LINENO: checking for sin in -lm" >&5
63379 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
63380 if test "${ac_cv_lib_m_sin+set}" = set; then
63381 echo $ECHO_N "(cached) $ECHO_C" >&6
63382 else
63383 ac_check_lib_save_LIBS=$LIBS
63384 LIBS="-lm $LIBS"
63385 if test x$gcc_no_link = xyes; then
63386 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63387 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63388 { (exit 1); exit 1; }; }
63390 cat >conftest.$ac_ext <<_ACEOF
63391 /* confdefs.h. */
63392 _ACEOF
63393 cat confdefs.h >>conftest.$ac_ext
63394 cat >>conftest.$ac_ext <<_ACEOF
63395 /* end confdefs.h. */
63397 /* Override any gcc2 internal prototype to avoid an error. */
63398 #ifdef __cplusplus
63399 extern "C"
63400 #endif
63401 /* We use char because int might match the return type of a gcc2
63402 builtin and then its argument prototype would still apply. */
63403 char sin ();
63405 main ()
63407 sin ();
63409 return 0;
63411 _ACEOF
63412 rm -f conftest.$ac_objext conftest$ac_exeext
63413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63414 (eval $ac_link) 2>conftest.er1
63415 ac_status=$?
63416 grep -v '^ *+' conftest.er1 >conftest.err
63417 rm -f conftest.er1
63418 cat conftest.err >&5
63419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63420 (exit $ac_status); } &&
63421 { ac_try='test -z "$ac_c_werror_flag"
63422 || test ! -s conftest.err'
63423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63424 (eval $ac_try) 2>&5
63425 ac_status=$?
63426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63427 (exit $ac_status); }; } &&
63428 { ac_try='test -s conftest$ac_exeext'
63429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63430 (eval $ac_try) 2>&5
63431 ac_status=$?
63432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63433 (exit $ac_status); }; }; then
63434 ac_cv_lib_m_sin=yes
63435 else
63436 echo "$as_me: failed program was:" >&5
63437 sed 's/^/| /' conftest.$ac_ext >&5
63439 ac_cv_lib_m_sin=no
63441 rm -f conftest.err conftest.$ac_objext \
63442 conftest$ac_exeext conftest.$ac_ext
63443 LIBS=$ac_check_lib_save_LIBS
63445 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
63446 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
63447 if test $ac_cv_lib_m_sin = yes; then
63448 libm="-lm"
63451 ac_save_LIBS="$LIBS"
63452 LIBS="$LIBS $libm"
63456 echo "$as_me:$LINENO: checking for isinf declaration" >&5
63457 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
63458 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
63459 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
63460 echo $ECHO_N "(cached) $ECHO_C" >&6
63461 else
63465 ac_ext=cc
63466 ac_cpp='$CXXCPP $CPPFLAGS'
63467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63471 cat >conftest.$ac_ext <<_ACEOF
63472 /* confdefs.h. */
63473 _ACEOF
63474 cat confdefs.h >>conftest.$ac_ext
63475 cat >>conftest.$ac_ext <<_ACEOF
63476 /* end confdefs.h. */
63477 #include <math.h>
63478 #ifdef HAVE_IEEEFP_H
63479 #include <ieeefp.h>
63480 #endif
63483 main ()
63485 isinf(0);
63487 return 0;
63489 _ACEOF
63490 rm -f conftest.$ac_objext
63491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63492 (eval $ac_compile) 2>conftest.er1
63493 ac_status=$?
63494 grep -v '^ *+' conftest.er1 >conftest.err
63495 rm -f conftest.er1
63496 cat conftest.err >&5
63497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63498 (exit $ac_status); } &&
63499 { ac_try='test -z "$ac_cxx_werror_flag"
63500 || test ! -s conftest.err'
63501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63502 (eval $ac_try) 2>&5
63503 ac_status=$?
63504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63505 (exit $ac_status); }; } &&
63506 { ac_try='test -s conftest.$ac_objext'
63507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63508 (eval $ac_try) 2>&5
63509 ac_status=$?
63510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63511 (exit $ac_status); }; }; then
63512 glibcxx_cv_func_isinf_use=yes
63513 else
63514 echo "$as_me: failed program was:" >&5
63515 sed 's/^/| /' conftest.$ac_ext >&5
63517 glibcxx_cv_func_isinf_use=no
63519 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63520 ac_ext=c
63521 ac_cpp='$CPP $CPPFLAGS'
63522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63530 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
63531 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
63533 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
63535 for ac_func in isinf
63537 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63538 echo "$as_me:$LINENO: checking for $ac_func" >&5
63539 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63540 if eval "test \"\${$as_ac_var+set}\" = set"; then
63541 echo $ECHO_N "(cached) $ECHO_C" >&6
63542 else
63543 if test x$gcc_no_link = xyes; then
63544 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63545 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63546 { (exit 1); exit 1; }; }
63548 cat >conftest.$ac_ext <<_ACEOF
63549 /* confdefs.h. */
63550 _ACEOF
63551 cat confdefs.h >>conftest.$ac_ext
63552 cat >>conftest.$ac_ext <<_ACEOF
63553 /* end confdefs.h. */
63554 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63555 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63556 #define $ac_func innocuous_$ac_func
63558 /* System header to define __stub macros and hopefully few prototypes,
63559 which can conflict with char $ac_func (); below.
63560 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63561 <limits.h> exists even on freestanding compilers. */
63563 #ifdef __STDC__
63564 # include <limits.h>
63565 #else
63566 # include <assert.h>
63567 #endif
63569 #undef $ac_func
63571 /* Override any gcc2 internal prototype to avoid an error. */
63572 #ifdef __cplusplus
63573 extern "C"
63575 #endif
63576 /* We use char because int might match the return type of a gcc2
63577 builtin and then its argument prototype would still apply. */
63578 char $ac_func ();
63579 /* The GNU C library defines this for functions which it implements
63580 to always fail with ENOSYS. Some functions are actually named
63581 something starting with __ and the normal name is an alias. */
63582 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63583 choke me
63584 #else
63585 char (*f) () = $ac_func;
63586 #endif
63587 #ifdef __cplusplus
63589 #endif
63592 main ()
63594 return f != $ac_func;
63596 return 0;
63598 _ACEOF
63599 rm -f conftest.$ac_objext conftest$ac_exeext
63600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63601 (eval $ac_link) 2>conftest.er1
63602 ac_status=$?
63603 grep -v '^ *+' conftest.er1 >conftest.err
63604 rm -f conftest.er1
63605 cat conftest.err >&5
63606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63607 (exit $ac_status); } &&
63608 { ac_try='test -z "$ac_c_werror_flag"
63609 || test ! -s conftest.err'
63610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63611 (eval $ac_try) 2>&5
63612 ac_status=$?
63613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63614 (exit $ac_status); }; } &&
63615 { ac_try='test -s conftest$ac_exeext'
63616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63617 (eval $ac_try) 2>&5
63618 ac_status=$?
63619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63620 (exit $ac_status); }; }; then
63621 eval "$as_ac_var=yes"
63622 else
63623 echo "$as_me: failed program was:" >&5
63624 sed 's/^/| /' conftest.$ac_ext >&5
63626 eval "$as_ac_var=no"
63628 rm -f conftest.err conftest.$ac_objext \
63629 conftest$ac_exeext conftest.$ac_ext
63631 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63632 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63633 if test `eval echo '${'$as_ac_var'}'` = yes; then
63634 cat >>confdefs.h <<_ACEOF
63635 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63636 _ACEOF
63639 done
63641 else
63643 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
63644 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
63645 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
63646 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
63647 echo $ECHO_N "(cached) $ECHO_C" >&6
63648 else
63652 ac_ext=cc
63653 ac_cpp='$CXXCPP $CPPFLAGS'
63654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63658 cat >conftest.$ac_ext <<_ACEOF
63659 /* confdefs.h. */
63660 _ACEOF
63661 cat confdefs.h >>conftest.$ac_ext
63662 cat >>conftest.$ac_ext <<_ACEOF
63663 /* end confdefs.h. */
63664 #include <math.h>
63665 #ifdef HAVE_IEEEFP_H
63666 #include <ieeefp.h>
63667 #endif
63670 main ()
63672 _isinf(0);
63674 return 0;
63676 _ACEOF
63677 rm -f conftest.$ac_objext
63678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63679 (eval $ac_compile) 2>conftest.er1
63680 ac_status=$?
63681 grep -v '^ *+' conftest.er1 >conftest.err
63682 rm -f conftest.er1
63683 cat conftest.err >&5
63684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63685 (exit $ac_status); } &&
63686 { ac_try='test -z "$ac_cxx_werror_flag"
63687 || test ! -s conftest.err'
63688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63689 (eval $ac_try) 2>&5
63690 ac_status=$?
63691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63692 (exit $ac_status); }; } &&
63693 { ac_try='test -s conftest.$ac_objext'
63694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63695 (eval $ac_try) 2>&5
63696 ac_status=$?
63697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63698 (exit $ac_status); }; }; then
63699 glibcxx_cv_func__isinf_use=yes
63700 else
63701 echo "$as_me: failed program was:" >&5
63702 sed 's/^/| /' conftest.$ac_ext >&5
63704 glibcxx_cv_func__isinf_use=no
63706 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63707 ac_ext=c
63708 ac_cpp='$CPP $CPPFLAGS'
63709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63717 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
63718 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
63720 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
63722 for ac_func in _isinf
63724 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63725 echo "$as_me:$LINENO: checking for $ac_func" >&5
63726 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63727 if eval "test \"\${$as_ac_var+set}\" = set"; then
63728 echo $ECHO_N "(cached) $ECHO_C" >&6
63729 else
63730 if test x$gcc_no_link = xyes; then
63731 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63732 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63733 { (exit 1); exit 1; }; }
63735 cat >conftest.$ac_ext <<_ACEOF
63736 /* confdefs.h. */
63737 _ACEOF
63738 cat confdefs.h >>conftest.$ac_ext
63739 cat >>conftest.$ac_ext <<_ACEOF
63740 /* end confdefs.h. */
63741 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63742 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63743 #define $ac_func innocuous_$ac_func
63745 /* System header to define __stub macros and hopefully few prototypes,
63746 which can conflict with char $ac_func (); below.
63747 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63748 <limits.h> exists even on freestanding compilers. */
63750 #ifdef __STDC__
63751 # include <limits.h>
63752 #else
63753 # include <assert.h>
63754 #endif
63756 #undef $ac_func
63758 /* Override any gcc2 internal prototype to avoid an error. */
63759 #ifdef __cplusplus
63760 extern "C"
63762 #endif
63763 /* We use char because int might match the return type of a gcc2
63764 builtin and then its argument prototype would still apply. */
63765 char $ac_func ();
63766 /* The GNU C library defines this for functions which it implements
63767 to always fail with ENOSYS. Some functions are actually named
63768 something starting with __ and the normal name is an alias. */
63769 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63770 choke me
63771 #else
63772 char (*f) () = $ac_func;
63773 #endif
63774 #ifdef __cplusplus
63776 #endif
63779 main ()
63781 return f != $ac_func;
63783 return 0;
63785 _ACEOF
63786 rm -f conftest.$ac_objext conftest$ac_exeext
63787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63788 (eval $ac_link) 2>conftest.er1
63789 ac_status=$?
63790 grep -v '^ *+' conftest.er1 >conftest.err
63791 rm -f conftest.er1
63792 cat conftest.err >&5
63793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63794 (exit $ac_status); } &&
63795 { ac_try='test -z "$ac_c_werror_flag"
63796 || test ! -s conftest.err'
63797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63798 (eval $ac_try) 2>&5
63799 ac_status=$?
63800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63801 (exit $ac_status); }; } &&
63802 { ac_try='test -s conftest$ac_exeext'
63803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63804 (eval $ac_try) 2>&5
63805 ac_status=$?
63806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63807 (exit $ac_status); }; }; then
63808 eval "$as_ac_var=yes"
63809 else
63810 echo "$as_me: failed program was:" >&5
63811 sed 's/^/| /' conftest.$ac_ext >&5
63813 eval "$as_ac_var=no"
63815 rm -f conftest.err conftest.$ac_objext \
63816 conftest$ac_exeext conftest.$ac_ext
63818 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63819 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63820 if test `eval echo '${'$as_ac_var'}'` = yes; then
63821 cat >>confdefs.h <<_ACEOF
63822 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63823 _ACEOF
63826 done
63836 echo "$as_me:$LINENO: checking for isnan declaration" >&5
63837 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
63838 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
63839 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
63840 echo $ECHO_N "(cached) $ECHO_C" >&6
63841 else
63845 ac_ext=cc
63846 ac_cpp='$CXXCPP $CPPFLAGS'
63847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63851 cat >conftest.$ac_ext <<_ACEOF
63852 /* confdefs.h. */
63853 _ACEOF
63854 cat confdefs.h >>conftest.$ac_ext
63855 cat >>conftest.$ac_ext <<_ACEOF
63856 /* end confdefs.h. */
63857 #include <math.h>
63858 #ifdef HAVE_IEEEFP_H
63859 #include <ieeefp.h>
63860 #endif
63863 main ()
63865 isnan(0);
63867 return 0;
63869 _ACEOF
63870 rm -f conftest.$ac_objext
63871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63872 (eval $ac_compile) 2>conftest.er1
63873 ac_status=$?
63874 grep -v '^ *+' conftest.er1 >conftest.err
63875 rm -f conftest.er1
63876 cat conftest.err >&5
63877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63878 (exit $ac_status); } &&
63879 { ac_try='test -z "$ac_cxx_werror_flag"
63880 || test ! -s conftest.err'
63881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63882 (eval $ac_try) 2>&5
63883 ac_status=$?
63884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63885 (exit $ac_status); }; } &&
63886 { ac_try='test -s conftest.$ac_objext'
63887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63888 (eval $ac_try) 2>&5
63889 ac_status=$?
63890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63891 (exit $ac_status); }; }; then
63892 glibcxx_cv_func_isnan_use=yes
63893 else
63894 echo "$as_me: failed program was:" >&5
63895 sed 's/^/| /' conftest.$ac_ext >&5
63897 glibcxx_cv_func_isnan_use=no
63899 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63900 ac_ext=c
63901 ac_cpp='$CPP $CPPFLAGS'
63902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63910 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
63911 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
63913 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
63915 for ac_func in isnan
63917 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63918 echo "$as_me:$LINENO: checking for $ac_func" >&5
63919 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63920 if eval "test \"\${$as_ac_var+set}\" = set"; then
63921 echo $ECHO_N "(cached) $ECHO_C" >&6
63922 else
63923 if test x$gcc_no_link = xyes; then
63924 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63925 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63926 { (exit 1); exit 1; }; }
63928 cat >conftest.$ac_ext <<_ACEOF
63929 /* confdefs.h. */
63930 _ACEOF
63931 cat confdefs.h >>conftest.$ac_ext
63932 cat >>conftest.$ac_ext <<_ACEOF
63933 /* end confdefs.h. */
63934 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63935 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63936 #define $ac_func innocuous_$ac_func
63938 /* System header to define __stub macros and hopefully few prototypes,
63939 which can conflict with char $ac_func (); below.
63940 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63941 <limits.h> exists even on freestanding compilers. */
63943 #ifdef __STDC__
63944 # include <limits.h>
63945 #else
63946 # include <assert.h>
63947 #endif
63949 #undef $ac_func
63951 /* Override any gcc2 internal prototype to avoid an error. */
63952 #ifdef __cplusplus
63953 extern "C"
63955 #endif
63956 /* We use char because int might match the return type of a gcc2
63957 builtin and then its argument prototype would still apply. */
63958 char $ac_func ();
63959 /* The GNU C library defines this for functions which it implements
63960 to always fail with ENOSYS. Some functions are actually named
63961 something starting with __ and the normal name is an alias. */
63962 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63963 choke me
63964 #else
63965 char (*f) () = $ac_func;
63966 #endif
63967 #ifdef __cplusplus
63969 #endif
63972 main ()
63974 return f != $ac_func;
63976 return 0;
63978 _ACEOF
63979 rm -f conftest.$ac_objext conftest$ac_exeext
63980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63981 (eval $ac_link) 2>conftest.er1
63982 ac_status=$?
63983 grep -v '^ *+' conftest.er1 >conftest.err
63984 rm -f conftest.er1
63985 cat conftest.err >&5
63986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63987 (exit $ac_status); } &&
63988 { ac_try='test -z "$ac_c_werror_flag"
63989 || test ! -s conftest.err'
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); }; } &&
63995 { ac_try='test -s conftest$ac_exeext'
63996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63997 (eval $ac_try) 2>&5
63998 ac_status=$?
63999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64000 (exit $ac_status); }; }; then
64001 eval "$as_ac_var=yes"
64002 else
64003 echo "$as_me: failed program was:" >&5
64004 sed 's/^/| /' conftest.$ac_ext >&5
64006 eval "$as_ac_var=no"
64008 rm -f conftest.err conftest.$ac_objext \
64009 conftest$ac_exeext conftest.$ac_ext
64011 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64012 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64013 if test `eval echo '${'$as_ac_var'}'` = yes; then
64014 cat >>confdefs.h <<_ACEOF
64015 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64016 _ACEOF
64019 done
64021 else
64023 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
64024 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
64025 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
64026 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
64027 echo $ECHO_N "(cached) $ECHO_C" >&6
64028 else
64032 ac_ext=cc
64033 ac_cpp='$CXXCPP $CPPFLAGS'
64034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64038 cat >conftest.$ac_ext <<_ACEOF
64039 /* confdefs.h. */
64040 _ACEOF
64041 cat confdefs.h >>conftest.$ac_ext
64042 cat >>conftest.$ac_ext <<_ACEOF
64043 /* end confdefs.h. */
64044 #include <math.h>
64045 #ifdef HAVE_IEEEFP_H
64046 #include <ieeefp.h>
64047 #endif
64050 main ()
64052 _isnan(0);
64054 return 0;
64056 _ACEOF
64057 rm -f conftest.$ac_objext
64058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64059 (eval $ac_compile) 2>conftest.er1
64060 ac_status=$?
64061 grep -v '^ *+' conftest.er1 >conftest.err
64062 rm -f conftest.er1
64063 cat conftest.err >&5
64064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64065 (exit $ac_status); } &&
64066 { ac_try='test -z "$ac_cxx_werror_flag"
64067 || test ! -s conftest.err'
64068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64069 (eval $ac_try) 2>&5
64070 ac_status=$?
64071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64072 (exit $ac_status); }; } &&
64073 { ac_try='test -s conftest.$ac_objext'
64074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64075 (eval $ac_try) 2>&5
64076 ac_status=$?
64077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64078 (exit $ac_status); }; }; then
64079 glibcxx_cv_func__isnan_use=yes
64080 else
64081 echo "$as_me: failed program was:" >&5
64082 sed 's/^/| /' conftest.$ac_ext >&5
64084 glibcxx_cv_func__isnan_use=no
64086 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64087 ac_ext=c
64088 ac_cpp='$CPP $CPPFLAGS'
64089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64097 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
64098 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
64100 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
64102 for ac_func in _isnan
64104 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64105 echo "$as_me:$LINENO: checking for $ac_func" >&5
64106 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64107 if eval "test \"\${$as_ac_var+set}\" = set"; then
64108 echo $ECHO_N "(cached) $ECHO_C" >&6
64109 else
64110 if test x$gcc_no_link = xyes; then
64111 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64112 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64113 { (exit 1); exit 1; }; }
64115 cat >conftest.$ac_ext <<_ACEOF
64116 /* confdefs.h. */
64117 _ACEOF
64118 cat confdefs.h >>conftest.$ac_ext
64119 cat >>conftest.$ac_ext <<_ACEOF
64120 /* end confdefs.h. */
64121 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64122 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64123 #define $ac_func innocuous_$ac_func
64125 /* System header to define __stub macros and hopefully few prototypes,
64126 which can conflict with char $ac_func (); below.
64127 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64128 <limits.h> exists even on freestanding compilers. */
64130 #ifdef __STDC__
64131 # include <limits.h>
64132 #else
64133 # include <assert.h>
64134 #endif
64136 #undef $ac_func
64138 /* Override any gcc2 internal prototype to avoid an error. */
64139 #ifdef __cplusplus
64140 extern "C"
64142 #endif
64143 /* We use char because int might match the return type of a gcc2
64144 builtin and then its argument prototype would still apply. */
64145 char $ac_func ();
64146 /* The GNU C library defines this for functions which it implements
64147 to always fail with ENOSYS. Some functions are actually named
64148 something starting with __ and the normal name is an alias. */
64149 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64150 choke me
64151 #else
64152 char (*f) () = $ac_func;
64153 #endif
64154 #ifdef __cplusplus
64156 #endif
64159 main ()
64161 return f != $ac_func;
64163 return 0;
64165 _ACEOF
64166 rm -f conftest.$ac_objext conftest$ac_exeext
64167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64168 (eval $ac_link) 2>conftest.er1
64169 ac_status=$?
64170 grep -v '^ *+' conftest.er1 >conftest.err
64171 rm -f conftest.er1
64172 cat conftest.err >&5
64173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64174 (exit $ac_status); } &&
64175 { ac_try='test -z "$ac_c_werror_flag"
64176 || test ! -s conftest.err'
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); }; } &&
64182 { ac_try='test -s conftest$ac_exeext'
64183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64184 (eval $ac_try) 2>&5
64185 ac_status=$?
64186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64187 (exit $ac_status); }; }; then
64188 eval "$as_ac_var=yes"
64189 else
64190 echo "$as_me: failed program was:" >&5
64191 sed 's/^/| /' conftest.$ac_ext >&5
64193 eval "$as_ac_var=no"
64195 rm -f conftest.err conftest.$ac_objext \
64196 conftest$ac_exeext conftest.$ac_ext
64198 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64199 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64200 if test `eval echo '${'$as_ac_var'}'` = yes; then
64201 cat >>confdefs.h <<_ACEOF
64202 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64203 _ACEOF
64206 done
64216 echo "$as_me:$LINENO: checking for finite declaration" >&5
64217 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
64218 if test x${glibcxx_cv_func_finite_use+set} != xset; then
64219 if test "${glibcxx_cv_func_finite_use+set}" = set; then
64220 echo $ECHO_N "(cached) $ECHO_C" >&6
64221 else
64225 ac_ext=cc
64226 ac_cpp='$CXXCPP $CPPFLAGS'
64227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64231 cat >conftest.$ac_ext <<_ACEOF
64232 /* confdefs.h. */
64233 _ACEOF
64234 cat confdefs.h >>conftest.$ac_ext
64235 cat >>conftest.$ac_ext <<_ACEOF
64236 /* end confdefs.h. */
64237 #include <math.h>
64238 #ifdef HAVE_IEEEFP_H
64239 #include <ieeefp.h>
64240 #endif
64243 main ()
64245 finite(0);
64247 return 0;
64249 _ACEOF
64250 rm -f conftest.$ac_objext
64251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64252 (eval $ac_compile) 2>conftest.er1
64253 ac_status=$?
64254 grep -v '^ *+' conftest.er1 >conftest.err
64255 rm -f conftest.er1
64256 cat conftest.err >&5
64257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64258 (exit $ac_status); } &&
64259 { ac_try='test -z "$ac_cxx_werror_flag"
64260 || test ! -s conftest.err'
64261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64262 (eval $ac_try) 2>&5
64263 ac_status=$?
64264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64265 (exit $ac_status); }; } &&
64266 { ac_try='test -s conftest.$ac_objext'
64267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64268 (eval $ac_try) 2>&5
64269 ac_status=$?
64270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64271 (exit $ac_status); }; }; then
64272 glibcxx_cv_func_finite_use=yes
64273 else
64274 echo "$as_me: failed program was:" >&5
64275 sed 's/^/| /' conftest.$ac_ext >&5
64277 glibcxx_cv_func_finite_use=no
64279 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64280 ac_ext=c
64281 ac_cpp='$CPP $CPPFLAGS'
64282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64290 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
64291 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
64293 if test x$glibcxx_cv_func_finite_use = x"yes"; then
64295 for ac_func in finite
64297 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64298 echo "$as_me:$LINENO: checking for $ac_func" >&5
64299 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64300 if eval "test \"\${$as_ac_var+set}\" = set"; then
64301 echo $ECHO_N "(cached) $ECHO_C" >&6
64302 else
64303 if test x$gcc_no_link = xyes; then
64304 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64305 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64306 { (exit 1); exit 1; }; }
64308 cat >conftest.$ac_ext <<_ACEOF
64309 /* confdefs.h. */
64310 _ACEOF
64311 cat confdefs.h >>conftest.$ac_ext
64312 cat >>conftest.$ac_ext <<_ACEOF
64313 /* end confdefs.h. */
64314 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64315 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64316 #define $ac_func innocuous_$ac_func
64318 /* System header to define __stub macros and hopefully few prototypes,
64319 which can conflict with char $ac_func (); below.
64320 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64321 <limits.h> exists even on freestanding compilers. */
64323 #ifdef __STDC__
64324 # include <limits.h>
64325 #else
64326 # include <assert.h>
64327 #endif
64329 #undef $ac_func
64331 /* Override any gcc2 internal prototype to avoid an error. */
64332 #ifdef __cplusplus
64333 extern "C"
64335 #endif
64336 /* We use char because int might match the return type of a gcc2
64337 builtin and then its argument prototype would still apply. */
64338 char $ac_func ();
64339 /* The GNU C library defines this for functions which it implements
64340 to always fail with ENOSYS. Some functions are actually named
64341 something starting with __ and the normal name is an alias. */
64342 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64343 choke me
64344 #else
64345 char (*f) () = $ac_func;
64346 #endif
64347 #ifdef __cplusplus
64349 #endif
64352 main ()
64354 return f != $ac_func;
64356 return 0;
64358 _ACEOF
64359 rm -f conftest.$ac_objext conftest$ac_exeext
64360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64361 (eval $ac_link) 2>conftest.er1
64362 ac_status=$?
64363 grep -v '^ *+' conftest.er1 >conftest.err
64364 rm -f conftest.er1
64365 cat conftest.err >&5
64366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64367 (exit $ac_status); } &&
64368 { ac_try='test -z "$ac_c_werror_flag"
64369 || test ! -s conftest.err'
64370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64371 (eval $ac_try) 2>&5
64372 ac_status=$?
64373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64374 (exit $ac_status); }; } &&
64375 { ac_try='test -s conftest$ac_exeext'
64376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64377 (eval $ac_try) 2>&5
64378 ac_status=$?
64379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64380 (exit $ac_status); }; }; then
64381 eval "$as_ac_var=yes"
64382 else
64383 echo "$as_me: failed program was:" >&5
64384 sed 's/^/| /' conftest.$ac_ext >&5
64386 eval "$as_ac_var=no"
64388 rm -f conftest.err conftest.$ac_objext \
64389 conftest$ac_exeext conftest.$ac_ext
64391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64392 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64393 if test `eval echo '${'$as_ac_var'}'` = yes; then
64394 cat >>confdefs.h <<_ACEOF
64395 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64396 _ACEOF
64399 done
64401 else
64403 echo "$as_me:$LINENO: checking for _finite declaration" >&5
64404 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
64405 if test x${glibcxx_cv_func__finite_use+set} != xset; then
64406 if test "${glibcxx_cv_func__finite_use+set}" = set; then
64407 echo $ECHO_N "(cached) $ECHO_C" >&6
64408 else
64412 ac_ext=cc
64413 ac_cpp='$CXXCPP $CPPFLAGS'
64414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64418 cat >conftest.$ac_ext <<_ACEOF
64419 /* confdefs.h. */
64420 _ACEOF
64421 cat confdefs.h >>conftest.$ac_ext
64422 cat >>conftest.$ac_ext <<_ACEOF
64423 /* end confdefs.h. */
64424 #include <math.h>
64425 #ifdef HAVE_IEEEFP_H
64426 #include <ieeefp.h>
64427 #endif
64430 main ()
64432 _finite(0);
64434 return 0;
64436 _ACEOF
64437 rm -f conftest.$ac_objext
64438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64439 (eval $ac_compile) 2>conftest.er1
64440 ac_status=$?
64441 grep -v '^ *+' conftest.er1 >conftest.err
64442 rm -f conftest.er1
64443 cat conftest.err >&5
64444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64445 (exit $ac_status); } &&
64446 { ac_try='test -z "$ac_cxx_werror_flag"
64447 || test ! -s conftest.err'
64448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64449 (eval $ac_try) 2>&5
64450 ac_status=$?
64451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64452 (exit $ac_status); }; } &&
64453 { ac_try='test -s conftest.$ac_objext'
64454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64455 (eval $ac_try) 2>&5
64456 ac_status=$?
64457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64458 (exit $ac_status); }; }; then
64459 glibcxx_cv_func__finite_use=yes
64460 else
64461 echo "$as_me: failed program was:" >&5
64462 sed 's/^/| /' conftest.$ac_ext >&5
64464 glibcxx_cv_func__finite_use=no
64466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64467 ac_ext=c
64468 ac_cpp='$CPP $CPPFLAGS'
64469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64477 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
64478 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
64480 if test x$glibcxx_cv_func__finite_use = x"yes"; then
64482 for ac_func in _finite
64484 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64485 echo "$as_me:$LINENO: checking for $ac_func" >&5
64486 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64487 if eval "test \"\${$as_ac_var+set}\" = set"; then
64488 echo $ECHO_N "(cached) $ECHO_C" >&6
64489 else
64490 if test x$gcc_no_link = xyes; then
64491 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64492 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64493 { (exit 1); exit 1; }; }
64495 cat >conftest.$ac_ext <<_ACEOF
64496 /* confdefs.h. */
64497 _ACEOF
64498 cat confdefs.h >>conftest.$ac_ext
64499 cat >>conftest.$ac_ext <<_ACEOF
64500 /* end confdefs.h. */
64501 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64502 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64503 #define $ac_func innocuous_$ac_func
64505 /* System header to define __stub macros and hopefully few prototypes,
64506 which can conflict with char $ac_func (); below.
64507 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64508 <limits.h> exists even on freestanding compilers. */
64510 #ifdef __STDC__
64511 # include <limits.h>
64512 #else
64513 # include <assert.h>
64514 #endif
64516 #undef $ac_func
64518 /* Override any gcc2 internal prototype to avoid an error. */
64519 #ifdef __cplusplus
64520 extern "C"
64522 #endif
64523 /* We use char because int might match the return type of a gcc2
64524 builtin and then its argument prototype would still apply. */
64525 char $ac_func ();
64526 /* The GNU C library defines this for functions which it implements
64527 to always fail with ENOSYS. Some functions are actually named
64528 something starting with __ and the normal name is an alias. */
64529 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64530 choke me
64531 #else
64532 char (*f) () = $ac_func;
64533 #endif
64534 #ifdef __cplusplus
64536 #endif
64539 main ()
64541 return f != $ac_func;
64543 return 0;
64545 _ACEOF
64546 rm -f conftest.$ac_objext conftest$ac_exeext
64547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64548 (eval $ac_link) 2>conftest.er1
64549 ac_status=$?
64550 grep -v '^ *+' conftest.er1 >conftest.err
64551 rm -f conftest.er1
64552 cat conftest.err >&5
64553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64554 (exit $ac_status); } &&
64555 { ac_try='test -z "$ac_c_werror_flag"
64556 || test ! -s conftest.err'
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); }; } &&
64562 { ac_try='test -s conftest$ac_exeext'
64563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64564 (eval $ac_try) 2>&5
64565 ac_status=$?
64566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64567 (exit $ac_status); }; }; then
64568 eval "$as_ac_var=yes"
64569 else
64570 echo "$as_me: failed program was:" >&5
64571 sed 's/^/| /' conftest.$ac_ext >&5
64573 eval "$as_ac_var=no"
64575 rm -f conftest.err conftest.$ac_objext \
64576 conftest$ac_exeext conftest.$ac_ext
64578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64579 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64580 if test `eval echo '${'$as_ac_var'}'` = yes; then
64581 cat >>confdefs.h <<_ACEOF
64582 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64583 _ACEOF
64586 done
64596 echo "$as_me:$LINENO: checking for copysign declaration" >&5
64597 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
64598 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
64599 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
64600 echo $ECHO_N "(cached) $ECHO_C" >&6
64601 else
64605 ac_ext=cc
64606 ac_cpp='$CXXCPP $CPPFLAGS'
64607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64611 cat >conftest.$ac_ext <<_ACEOF
64612 /* confdefs.h. */
64613 _ACEOF
64614 cat confdefs.h >>conftest.$ac_ext
64615 cat >>conftest.$ac_ext <<_ACEOF
64616 /* end confdefs.h. */
64617 #include <math.h>
64619 main ()
64621 copysign(0, 0);
64623 return 0;
64625 _ACEOF
64626 rm -f conftest.$ac_objext
64627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64628 (eval $ac_compile) 2>conftest.er1
64629 ac_status=$?
64630 grep -v '^ *+' conftest.er1 >conftest.err
64631 rm -f conftest.er1
64632 cat conftest.err >&5
64633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64634 (exit $ac_status); } &&
64635 { ac_try='test -z "$ac_cxx_werror_flag"
64636 || test ! -s conftest.err'
64637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64638 (eval $ac_try) 2>&5
64639 ac_status=$?
64640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64641 (exit $ac_status); }; } &&
64642 { ac_try='test -s conftest.$ac_objext'
64643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64644 (eval $ac_try) 2>&5
64645 ac_status=$?
64646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64647 (exit $ac_status); }; }; then
64648 glibcxx_cv_func_copysign_use=yes
64649 else
64650 echo "$as_me: failed program was:" >&5
64651 sed 's/^/| /' conftest.$ac_ext >&5
64653 glibcxx_cv_func_copysign_use=no
64655 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64656 ac_ext=c
64657 ac_cpp='$CPP $CPPFLAGS'
64658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64666 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
64667 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
64669 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
64671 for ac_func in copysign
64673 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64674 echo "$as_me:$LINENO: checking for $ac_func" >&5
64675 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64676 if eval "test \"\${$as_ac_var+set}\" = set"; then
64677 echo $ECHO_N "(cached) $ECHO_C" >&6
64678 else
64679 if test x$gcc_no_link = xyes; then
64680 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64681 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64682 { (exit 1); exit 1; }; }
64684 cat >conftest.$ac_ext <<_ACEOF
64685 /* confdefs.h. */
64686 _ACEOF
64687 cat confdefs.h >>conftest.$ac_ext
64688 cat >>conftest.$ac_ext <<_ACEOF
64689 /* end confdefs.h. */
64690 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64691 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64692 #define $ac_func innocuous_$ac_func
64694 /* System header to define __stub macros and hopefully few prototypes,
64695 which can conflict with char $ac_func (); below.
64696 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64697 <limits.h> exists even on freestanding compilers. */
64699 #ifdef __STDC__
64700 # include <limits.h>
64701 #else
64702 # include <assert.h>
64703 #endif
64705 #undef $ac_func
64707 /* Override any gcc2 internal prototype to avoid an error. */
64708 #ifdef __cplusplus
64709 extern "C"
64711 #endif
64712 /* We use char because int might match the return type of a gcc2
64713 builtin and then its argument prototype would still apply. */
64714 char $ac_func ();
64715 /* The GNU C library defines this for functions which it implements
64716 to always fail with ENOSYS. Some functions are actually named
64717 something starting with __ and the normal name is an alias. */
64718 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64719 choke me
64720 #else
64721 char (*f) () = $ac_func;
64722 #endif
64723 #ifdef __cplusplus
64725 #endif
64728 main ()
64730 return f != $ac_func;
64732 return 0;
64734 _ACEOF
64735 rm -f conftest.$ac_objext conftest$ac_exeext
64736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64737 (eval $ac_link) 2>conftest.er1
64738 ac_status=$?
64739 grep -v '^ *+' conftest.er1 >conftest.err
64740 rm -f conftest.er1
64741 cat conftest.err >&5
64742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64743 (exit $ac_status); } &&
64744 { ac_try='test -z "$ac_c_werror_flag"
64745 || test ! -s conftest.err'
64746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64747 (eval $ac_try) 2>&5
64748 ac_status=$?
64749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64750 (exit $ac_status); }; } &&
64751 { ac_try='test -s conftest$ac_exeext'
64752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64753 (eval $ac_try) 2>&5
64754 ac_status=$?
64755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64756 (exit $ac_status); }; }; then
64757 eval "$as_ac_var=yes"
64758 else
64759 echo "$as_me: failed program was:" >&5
64760 sed 's/^/| /' conftest.$ac_ext >&5
64762 eval "$as_ac_var=no"
64764 rm -f conftest.err conftest.$ac_objext \
64765 conftest$ac_exeext conftest.$ac_ext
64767 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64768 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64769 if test `eval echo '${'$as_ac_var'}'` = yes; then
64770 cat >>confdefs.h <<_ACEOF
64771 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64772 _ACEOF
64775 done
64777 else
64779 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
64780 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
64781 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
64782 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
64783 echo $ECHO_N "(cached) $ECHO_C" >&6
64784 else
64788 ac_ext=cc
64789 ac_cpp='$CXXCPP $CPPFLAGS'
64790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64794 cat >conftest.$ac_ext <<_ACEOF
64795 /* confdefs.h. */
64796 _ACEOF
64797 cat confdefs.h >>conftest.$ac_ext
64798 cat >>conftest.$ac_ext <<_ACEOF
64799 /* end confdefs.h. */
64800 #include <math.h>
64802 main ()
64804 _copysign(0, 0);
64806 return 0;
64808 _ACEOF
64809 rm -f conftest.$ac_objext
64810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64811 (eval $ac_compile) 2>conftest.er1
64812 ac_status=$?
64813 grep -v '^ *+' conftest.er1 >conftest.err
64814 rm -f conftest.er1
64815 cat conftest.err >&5
64816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64817 (exit $ac_status); } &&
64818 { ac_try='test -z "$ac_cxx_werror_flag"
64819 || test ! -s conftest.err'
64820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64821 (eval $ac_try) 2>&5
64822 ac_status=$?
64823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64824 (exit $ac_status); }; } &&
64825 { ac_try='test -s conftest.$ac_objext'
64826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64827 (eval $ac_try) 2>&5
64828 ac_status=$?
64829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64830 (exit $ac_status); }; }; then
64831 glibcxx_cv_func__copysign_use=yes
64832 else
64833 echo "$as_me: failed program was:" >&5
64834 sed 's/^/| /' conftest.$ac_ext >&5
64836 glibcxx_cv_func__copysign_use=no
64838 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64839 ac_ext=c
64840 ac_cpp='$CPP $CPPFLAGS'
64841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64849 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
64850 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
64852 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
64854 for ac_func in _copysign
64856 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64857 echo "$as_me:$LINENO: checking for $ac_func" >&5
64858 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64859 if eval "test \"\${$as_ac_var+set}\" = set"; then
64860 echo $ECHO_N "(cached) $ECHO_C" >&6
64861 else
64862 if test x$gcc_no_link = xyes; then
64863 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64864 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64865 { (exit 1); exit 1; }; }
64867 cat >conftest.$ac_ext <<_ACEOF
64868 /* confdefs.h. */
64869 _ACEOF
64870 cat confdefs.h >>conftest.$ac_ext
64871 cat >>conftest.$ac_ext <<_ACEOF
64872 /* end confdefs.h. */
64873 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64874 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64875 #define $ac_func innocuous_$ac_func
64877 /* System header to define __stub macros and hopefully few prototypes,
64878 which can conflict with char $ac_func (); below.
64879 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64880 <limits.h> exists even on freestanding compilers. */
64882 #ifdef __STDC__
64883 # include <limits.h>
64884 #else
64885 # include <assert.h>
64886 #endif
64888 #undef $ac_func
64890 /* Override any gcc2 internal prototype to avoid an error. */
64891 #ifdef __cplusplus
64892 extern "C"
64894 #endif
64895 /* We use char because int might match the return type of a gcc2
64896 builtin and then its argument prototype would still apply. */
64897 char $ac_func ();
64898 /* The GNU C library defines this for functions which it implements
64899 to always fail with ENOSYS. Some functions are actually named
64900 something starting with __ and the normal name is an alias. */
64901 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64902 choke me
64903 #else
64904 char (*f) () = $ac_func;
64905 #endif
64906 #ifdef __cplusplus
64908 #endif
64911 main ()
64913 return f != $ac_func;
64915 return 0;
64917 _ACEOF
64918 rm -f conftest.$ac_objext conftest$ac_exeext
64919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64920 (eval $ac_link) 2>conftest.er1
64921 ac_status=$?
64922 grep -v '^ *+' conftest.er1 >conftest.err
64923 rm -f conftest.er1
64924 cat conftest.err >&5
64925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64926 (exit $ac_status); } &&
64927 { ac_try='test -z "$ac_c_werror_flag"
64928 || test ! -s conftest.err'
64929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64930 (eval $ac_try) 2>&5
64931 ac_status=$?
64932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64933 (exit $ac_status); }; } &&
64934 { ac_try='test -s conftest$ac_exeext'
64935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64936 (eval $ac_try) 2>&5
64937 ac_status=$?
64938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64939 (exit $ac_status); }; }; then
64940 eval "$as_ac_var=yes"
64941 else
64942 echo "$as_me: failed program was:" >&5
64943 sed 's/^/| /' conftest.$ac_ext >&5
64945 eval "$as_ac_var=no"
64947 rm -f conftest.err conftest.$ac_objext \
64948 conftest$ac_exeext conftest.$ac_ext
64950 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64951 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64952 if test `eval echo '${'$as_ac_var'}'` = yes; then
64953 cat >>confdefs.h <<_ACEOF
64954 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64955 _ACEOF
64958 done
64968 echo "$as_me:$LINENO: checking for sincos declaration" >&5
64969 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
64970 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
64971 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
64972 echo $ECHO_N "(cached) $ECHO_C" >&6
64973 else
64977 ac_ext=cc
64978 ac_cpp='$CXXCPP $CPPFLAGS'
64979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64983 cat >conftest.$ac_ext <<_ACEOF
64984 /* confdefs.h. */
64985 _ACEOF
64986 cat confdefs.h >>conftest.$ac_ext
64987 cat >>conftest.$ac_ext <<_ACEOF
64988 /* end confdefs.h. */
64989 #include <math.h>
64991 main ()
64993 sincos(0, 0, 0);
64995 return 0;
64997 _ACEOF
64998 rm -f conftest.$ac_objext
64999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65000 (eval $ac_compile) 2>conftest.er1
65001 ac_status=$?
65002 grep -v '^ *+' conftest.er1 >conftest.err
65003 rm -f conftest.er1
65004 cat conftest.err >&5
65005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65006 (exit $ac_status); } &&
65007 { ac_try='test -z "$ac_cxx_werror_flag"
65008 || test ! -s conftest.err'
65009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65010 (eval $ac_try) 2>&5
65011 ac_status=$?
65012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65013 (exit $ac_status); }; } &&
65014 { ac_try='test -s conftest.$ac_objext'
65015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65016 (eval $ac_try) 2>&5
65017 ac_status=$?
65018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65019 (exit $ac_status); }; }; then
65020 glibcxx_cv_func_sincos_use=yes
65021 else
65022 echo "$as_me: failed program was:" >&5
65023 sed 's/^/| /' conftest.$ac_ext >&5
65025 glibcxx_cv_func_sincos_use=no
65027 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65028 ac_ext=c
65029 ac_cpp='$CPP $CPPFLAGS'
65030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65038 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
65039 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
65041 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
65043 for ac_func in sincos
65045 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65046 echo "$as_me:$LINENO: checking for $ac_func" >&5
65047 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65048 if eval "test \"\${$as_ac_var+set}\" = set"; then
65049 echo $ECHO_N "(cached) $ECHO_C" >&6
65050 else
65051 if test x$gcc_no_link = xyes; then
65052 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65053 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65054 { (exit 1); exit 1; }; }
65056 cat >conftest.$ac_ext <<_ACEOF
65057 /* confdefs.h. */
65058 _ACEOF
65059 cat confdefs.h >>conftest.$ac_ext
65060 cat >>conftest.$ac_ext <<_ACEOF
65061 /* end confdefs.h. */
65062 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65063 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65064 #define $ac_func innocuous_$ac_func
65066 /* System header to define __stub macros and hopefully few prototypes,
65067 which can conflict with char $ac_func (); below.
65068 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65069 <limits.h> exists even on freestanding compilers. */
65071 #ifdef __STDC__
65072 # include <limits.h>
65073 #else
65074 # include <assert.h>
65075 #endif
65077 #undef $ac_func
65079 /* Override any gcc2 internal prototype to avoid an error. */
65080 #ifdef __cplusplus
65081 extern "C"
65083 #endif
65084 /* We use char because int might match the return type of a gcc2
65085 builtin and then its argument prototype would still apply. */
65086 char $ac_func ();
65087 /* The GNU C library defines this for functions which it implements
65088 to always fail with ENOSYS. Some functions are actually named
65089 something starting with __ and the normal name is an alias. */
65090 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65091 choke me
65092 #else
65093 char (*f) () = $ac_func;
65094 #endif
65095 #ifdef __cplusplus
65097 #endif
65100 main ()
65102 return f != $ac_func;
65104 return 0;
65106 _ACEOF
65107 rm -f conftest.$ac_objext conftest$ac_exeext
65108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65109 (eval $ac_link) 2>conftest.er1
65110 ac_status=$?
65111 grep -v '^ *+' conftest.er1 >conftest.err
65112 rm -f conftest.er1
65113 cat conftest.err >&5
65114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65115 (exit $ac_status); } &&
65116 { ac_try='test -z "$ac_c_werror_flag"
65117 || test ! -s conftest.err'
65118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65119 (eval $ac_try) 2>&5
65120 ac_status=$?
65121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65122 (exit $ac_status); }; } &&
65123 { ac_try='test -s conftest$ac_exeext'
65124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65125 (eval $ac_try) 2>&5
65126 ac_status=$?
65127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65128 (exit $ac_status); }; }; then
65129 eval "$as_ac_var=yes"
65130 else
65131 echo "$as_me: failed program was:" >&5
65132 sed 's/^/| /' conftest.$ac_ext >&5
65134 eval "$as_ac_var=no"
65136 rm -f conftest.err conftest.$ac_objext \
65137 conftest$ac_exeext conftest.$ac_ext
65139 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65140 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65141 if test `eval echo '${'$as_ac_var'}'` = yes; then
65142 cat >>confdefs.h <<_ACEOF
65143 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65144 _ACEOF
65147 done
65149 else
65151 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
65152 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
65153 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
65154 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
65155 echo $ECHO_N "(cached) $ECHO_C" >&6
65156 else
65160 ac_ext=cc
65161 ac_cpp='$CXXCPP $CPPFLAGS'
65162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65166 cat >conftest.$ac_ext <<_ACEOF
65167 /* confdefs.h. */
65168 _ACEOF
65169 cat confdefs.h >>conftest.$ac_ext
65170 cat >>conftest.$ac_ext <<_ACEOF
65171 /* end confdefs.h. */
65172 #include <math.h>
65174 main ()
65176 _sincos(0, 0, 0);
65178 return 0;
65180 _ACEOF
65181 rm -f conftest.$ac_objext
65182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65183 (eval $ac_compile) 2>conftest.er1
65184 ac_status=$?
65185 grep -v '^ *+' conftest.er1 >conftest.err
65186 rm -f conftest.er1
65187 cat conftest.err >&5
65188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65189 (exit $ac_status); } &&
65190 { ac_try='test -z "$ac_cxx_werror_flag"
65191 || test ! -s conftest.err'
65192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65193 (eval $ac_try) 2>&5
65194 ac_status=$?
65195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65196 (exit $ac_status); }; } &&
65197 { ac_try='test -s conftest.$ac_objext'
65198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65199 (eval $ac_try) 2>&5
65200 ac_status=$?
65201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65202 (exit $ac_status); }; }; then
65203 glibcxx_cv_func__sincos_use=yes
65204 else
65205 echo "$as_me: failed program was:" >&5
65206 sed 's/^/| /' conftest.$ac_ext >&5
65208 glibcxx_cv_func__sincos_use=no
65210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65211 ac_ext=c
65212 ac_cpp='$CPP $CPPFLAGS'
65213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65221 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
65222 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
65224 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
65226 for ac_func in _sincos
65228 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65229 echo "$as_me:$LINENO: checking for $ac_func" >&5
65230 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65231 if eval "test \"\${$as_ac_var+set}\" = set"; then
65232 echo $ECHO_N "(cached) $ECHO_C" >&6
65233 else
65234 if test x$gcc_no_link = xyes; then
65235 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65236 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65237 { (exit 1); exit 1; }; }
65239 cat >conftest.$ac_ext <<_ACEOF
65240 /* confdefs.h. */
65241 _ACEOF
65242 cat confdefs.h >>conftest.$ac_ext
65243 cat >>conftest.$ac_ext <<_ACEOF
65244 /* end confdefs.h. */
65245 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65246 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65247 #define $ac_func innocuous_$ac_func
65249 /* System header to define __stub macros and hopefully few prototypes,
65250 which can conflict with char $ac_func (); below.
65251 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65252 <limits.h> exists even on freestanding compilers. */
65254 #ifdef __STDC__
65255 # include <limits.h>
65256 #else
65257 # include <assert.h>
65258 #endif
65260 #undef $ac_func
65262 /* Override any gcc2 internal prototype to avoid an error. */
65263 #ifdef __cplusplus
65264 extern "C"
65266 #endif
65267 /* We use char because int might match the return type of a gcc2
65268 builtin and then its argument prototype would still apply. */
65269 char $ac_func ();
65270 /* The GNU C library defines this for functions which it implements
65271 to always fail with ENOSYS. Some functions are actually named
65272 something starting with __ and the normal name is an alias. */
65273 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65274 choke me
65275 #else
65276 char (*f) () = $ac_func;
65277 #endif
65278 #ifdef __cplusplus
65280 #endif
65283 main ()
65285 return f != $ac_func;
65287 return 0;
65289 _ACEOF
65290 rm -f conftest.$ac_objext conftest$ac_exeext
65291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65292 (eval $ac_link) 2>conftest.er1
65293 ac_status=$?
65294 grep -v '^ *+' conftest.er1 >conftest.err
65295 rm -f conftest.er1
65296 cat conftest.err >&5
65297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65298 (exit $ac_status); } &&
65299 { ac_try='test -z "$ac_c_werror_flag"
65300 || test ! -s conftest.err'
65301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65302 (eval $ac_try) 2>&5
65303 ac_status=$?
65304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65305 (exit $ac_status); }; } &&
65306 { ac_try='test -s conftest$ac_exeext'
65307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65308 (eval $ac_try) 2>&5
65309 ac_status=$?
65310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65311 (exit $ac_status); }; }; then
65312 eval "$as_ac_var=yes"
65313 else
65314 echo "$as_me: failed program was:" >&5
65315 sed 's/^/| /' conftest.$ac_ext >&5
65317 eval "$as_ac_var=no"
65319 rm -f conftest.err conftest.$ac_objext \
65320 conftest$ac_exeext conftest.$ac_ext
65322 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65323 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65324 if test `eval echo '${'$as_ac_var'}'` = yes; then
65325 cat >>confdefs.h <<_ACEOF
65326 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65327 _ACEOF
65330 done
65340 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
65341 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
65342 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
65343 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
65344 echo $ECHO_N "(cached) $ECHO_C" >&6
65345 else
65349 ac_ext=cc
65350 ac_cpp='$CXXCPP $CPPFLAGS'
65351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65355 cat >conftest.$ac_ext <<_ACEOF
65356 /* confdefs.h. */
65357 _ACEOF
65358 cat confdefs.h >>conftest.$ac_ext
65359 cat >>conftest.$ac_ext <<_ACEOF
65360 /* end confdefs.h. */
65361 #include <math.h>
65362 #ifdef HAVE_IEEEFP_H
65363 #include <ieeefp.h>
65364 #endif
65367 main ()
65369 fpclass(0);
65371 return 0;
65373 _ACEOF
65374 rm -f conftest.$ac_objext
65375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65376 (eval $ac_compile) 2>conftest.er1
65377 ac_status=$?
65378 grep -v '^ *+' conftest.er1 >conftest.err
65379 rm -f conftest.er1
65380 cat conftest.err >&5
65381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65382 (exit $ac_status); } &&
65383 { ac_try='test -z "$ac_cxx_werror_flag"
65384 || test ! -s conftest.err'
65385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65386 (eval $ac_try) 2>&5
65387 ac_status=$?
65388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65389 (exit $ac_status); }; } &&
65390 { ac_try='test -s conftest.$ac_objext'
65391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65392 (eval $ac_try) 2>&5
65393 ac_status=$?
65394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65395 (exit $ac_status); }; }; then
65396 glibcxx_cv_func_fpclass_use=yes
65397 else
65398 echo "$as_me: failed program was:" >&5
65399 sed 's/^/| /' conftest.$ac_ext >&5
65401 glibcxx_cv_func_fpclass_use=no
65403 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65404 ac_ext=c
65405 ac_cpp='$CPP $CPPFLAGS'
65406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65414 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
65415 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
65417 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
65419 for ac_func in fpclass
65421 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65422 echo "$as_me:$LINENO: checking for $ac_func" >&5
65423 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65424 if eval "test \"\${$as_ac_var+set}\" = set"; then
65425 echo $ECHO_N "(cached) $ECHO_C" >&6
65426 else
65427 if test x$gcc_no_link = xyes; then
65428 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65429 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65430 { (exit 1); exit 1; }; }
65432 cat >conftest.$ac_ext <<_ACEOF
65433 /* confdefs.h. */
65434 _ACEOF
65435 cat confdefs.h >>conftest.$ac_ext
65436 cat >>conftest.$ac_ext <<_ACEOF
65437 /* end confdefs.h. */
65438 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65439 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65440 #define $ac_func innocuous_$ac_func
65442 /* System header to define __stub macros and hopefully few prototypes,
65443 which can conflict with char $ac_func (); below.
65444 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65445 <limits.h> exists even on freestanding compilers. */
65447 #ifdef __STDC__
65448 # include <limits.h>
65449 #else
65450 # include <assert.h>
65451 #endif
65453 #undef $ac_func
65455 /* Override any gcc2 internal prototype to avoid an error. */
65456 #ifdef __cplusplus
65457 extern "C"
65459 #endif
65460 /* We use char because int might match the return type of a gcc2
65461 builtin and then its argument prototype would still apply. */
65462 char $ac_func ();
65463 /* The GNU C library defines this for functions which it implements
65464 to always fail with ENOSYS. Some functions are actually named
65465 something starting with __ and the normal name is an alias. */
65466 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65467 choke me
65468 #else
65469 char (*f) () = $ac_func;
65470 #endif
65471 #ifdef __cplusplus
65473 #endif
65476 main ()
65478 return f != $ac_func;
65480 return 0;
65482 _ACEOF
65483 rm -f conftest.$ac_objext conftest$ac_exeext
65484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65485 (eval $ac_link) 2>conftest.er1
65486 ac_status=$?
65487 grep -v '^ *+' conftest.er1 >conftest.err
65488 rm -f conftest.er1
65489 cat conftest.err >&5
65490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65491 (exit $ac_status); } &&
65492 { ac_try='test -z "$ac_c_werror_flag"
65493 || test ! -s conftest.err'
65494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65495 (eval $ac_try) 2>&5
65496 ac_status=$?
65497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65498 (exit $ac_status); }; } &&
65499 { ac_try='test -s conftest$ac_exeext'
65500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65501 (eval $ac_try) 2>&5
65502 ac_status=$?
65503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65504 (exit $ac_status); }; }; then
65505 eval "$as_ac_var=yes"
65506 else
65507 echo "$as_me: failed program was:" >&5
65508 sed 's/^/| /' conftest.$ac_ext >&5
65510 eval "$as_ac_var=no"
65512 rm -f conftest.err conftest.$ac_objext \
65513 conftest$ac_exeext conftest.$ac_ext
65515 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65516 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65517 if test `eval echo '${'$as_ac_var'}'` = yes; then
65518 cat >>confdefs.h <<_ACEOF
65519 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65520 _ACEOF
65523 done
65525 else
65527 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
65528 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
65529 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
65530 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
65531 echo $ECHO_N "(cached) $ECHO_C" >&6
65532 else
65536 ac_ext=cc
65537 ac_cpp='$CXXCPP $CPPFLAGS'
65538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65542 cat >conftest.$ac_ext <<_ACEOF
65543 /* confdefs.h. */
65544 _ACEOF
65545 cat confdefs.h >>conftest.$ac_ext
65546 cat >>conftest.$ac_ext <<_ACEOF
65547 /* end confdefs.h. */
65548 #include <math.h>
65549 #ifdef HAVE_IEEEFP_H
65550 #include <ieeefp.h>
65551 #endif
65554 main ()
65556 _fpclass(0);
65558 return 0;
65560 _ACEOF
65561 rm -f conftest.$ac_objext
65562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65563 (eval $ac_compile) 2>conftest.er1
65564 ac_status=$?
65565 grep -v '^ *+' conftest.er1 >conftest.err
65566 rm -f conftest.er1
65567 cat conftest.err >&5
65568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65569 (exit $ac_status); } &&
65570 { ac_try='test -z "$ac_cxx_werror_flag"
65571 || test ! -s conftest.err'
65572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65573 (eval $ac_try) 2>&5
65574 ac_status=$?
65575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65576 (exit $ac_status); }; } &&
65577 { ac_try='test -s conftest.$ac_objext'
65578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65579 (eval $ac_try) 2>&5
65580 ac_status=$?
65581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65582 (exit $ac_status); }; }; then
65583 glibcxx_cv_func__fpclass_use=yes
65584 else
65585 echo "$as_me: failed program was:" >&5
65586 sed 's/^/| /' conftest.$ac_ext >&5
65588 glibcxx_cv_func__fpclass_use=no
65590 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65591 ac_ext=c
65592 ac_cpp='$CPP $CPPFLAGS'
65593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65601 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
65602 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
65604 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
65606 for ac_func in _fpclass
65608 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65609 echo "$as_me:$LINENO: checking for $ac_func" >&5
65610 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65611 if eval "test \"\${$as_ac_var+set}\" = set"; then
65612 echo $ECHO_N "(cached) $ECHO_C" >&6
65613 else
65614 if test x$gcc_no_link = xyes; then
65615 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65616 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65617 { (exit 1); exit 1; }; }
65619 cat >conftest.$ac_ext <<_ACEOF
65620 /* confdefs.h. */
65621 _ACEOF
65622 cat confdefs.h >>conftest.$ac_ext
65623 cat >>conftest.$ac_ext <<_ACEOF
65624 /* end confdefs.h. */
65625 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65626 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65627 #define $ac_func innocuous_$ac_func
65629 /* System header to define __stub macros and hopefully few prototypes,
65630 which can conflict with char $ac_func (); below.
65631 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65632 <limits.h> exists even on freestanding compilers. */
65634 #ifdef __STDC__
65635 # include <limits.h>
65636 #else
65637 # include <assert.h>
65638 #endif
65640 #undef $ac_func
65642 /* Override any gcc2 internal prototype to avoid an error. */
65643 #ifdef __cplusplus
65644 extern "C"
65646 #endif
65647 /* We use char because int might match the return type of a gcc2
65648 builtin and then its argument prototype would still apply. */
65649 char $ac_func ();
65650 /* The GNU C library defines this for functions which it implements
65651 to always fail with ENOSYS. Some functions are actually named
65652 something starting with __ and the normal name is an alias. */
65653 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65654 choke me
65655 #else
65656 char (*f) () = $ac_func;
65657 #endif
65658 #ifdef __cplusplus
65660 #endif
65663 main ()
65665 return f != $ac_func;
65667 return 0;
65669 _ACEOF
65670 rm -f conftest.$ac_objext conftest$ac_exeext
65671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65672 (eval $ac_link) 2>conftest.er1
65673 ac_status=$?
65674 grep -v '^ *+' conftest.er1 >conftest.err
65675 rm -f conftest.er1
65676 cat conftest.err >&5
65677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65678 (exit $ac_status); } &&
65679 { ac_try='test -z "$ac_c_werror_flag"
65680 || test ! -s conftest.err'
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); }; } &&
65686 { ac_try='test -s conftest$ac_exeext'
65687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65688 (eval $ac_try) 2>&5
65689 ac_status=$?
65690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65691 (exit $ac_status); }; }; then
65692 eval "$as_ac_var=yes"
65693 else
65694 echo "$as_me: failed program was:" >&5
65695 sed 's/^/| /' conftest.$ac_ext >&5
65697 eval "$as_ac_var=no"
65699 rm -f conftest.err conftest.$ac_objext \
65700 conftest$ac_exeext conftest.$ac_ext
65702 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65703 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65704 if test `eval echo '${'$as_ac_var'}'` = yes; then
65705 cat >>confdefs.h <<_ACEOF
65706 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65707 _ACEOF
65710 done
65720 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
65721 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
65722 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
65723 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
65724 echo $ECHO_N "(cached) $ECHO_C" >&6
65725 else
65729 ac_ext=cc
65730 ac_cpp='$CXXCPP $CPPFLAGS'
65731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65735 cat >conftest.$ac_ext <<_ACEOF
65736 /* confdefs.h. */
65737 _ACEOF
65738 cat confdefs.h >>conftest.$ac_ext
65739 cat >>conftest.$ac_ext <<_ACEOF
65740 /* end confdefs.h. */
65741 #include <math.h>
65742 #ifdef HAVE_IEEEFP_H
65743 #include <ieeefp.h>
65744 #endif
65747 main ()
65749 qfpclass(0);
65751 return 0;
65753 _ACEOF
65754 rm -f conftest.$ac_objext
65755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65756 (eval $ac_compile) 2>conftest.er1
65757 ac_status=$?
65758 grep -v '^ *+' conftest.er1 >conftest.err
65759 rm -f conftest.er1
65760 cat conftest.err >&5
65761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65762 (exit $ac_status); } &&
65763 { ac_try='test -z "$ac_cxx_werror_flag"
65764 || test ! -s conftest.err'
65765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65766 (eval $ac_try) 2>&5
65767 ac_status=$?
65768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65769 (exit $ac_status); }; } &&
65770 { ac_try='test -s conftest.$ac_objext'
65771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65772 (eval $ac_try) 2>&5
65773 ac_status=$?
65774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65775 (exit $ac_status); }; }; then
65776 glibcxx_cv_func_qfpclass_use=yes
65777 else
65778 echo "$as_me: failed program was:" >&5
65779 sed 's/^/| /' conftest.$ac_ext >&5
65781 glibcxx_cv_func_qfpclass_use=no
65783 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65784 ac_ext=c
65785 ac_cpp='$CPP $CPPFLAGS'
65786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65794 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
65795 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
65797 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
65799 for ac_func in qfpclass
65801 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65802 echo "$as_me:$LINENO: checking for $ac_func" >&5
65803 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65804 if eval "test \"\${$as_ac_var+set}\" = set"; then
65805 echo $ECHO_N "(cached) $ECHO_C" >&6
65806 else
65807 if test x$gcc_no_link = xyes; then
65808 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65809 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65810 { (exit 1); exit 1; }; }
65812 cat >conftest.$ac_ext <<_ACEOF
65813 /* confdefs.h. */
65814 _ACEOF
65815 cat confdefs.h >>conftest.$ac_ext
65816 cat >>conftest.$ac_ext <<_ACEOF
65817 /* end confdefs.h. */
65818 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65819 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65820 #define $ac_func innocuous_$ac_func
65822 /* System header to define __stub macros and hopefully few prototypes,
65823 which can conflict with char $ac_func (); below.
65824 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65825 <limits.h> exists even on freestanding compilers. */
65827 #ifdef __STDC__
65828 # include <limits.h>
65829 #else
65830 # include <assert.h>
65831 #endif
65833 #undef $ac_func
65835 /* Override any gcc2 internal prototype to avoid an error. */
65836 #ifdef __cplusplus
65837 extern "C"
65839 #endif
65840 /* We use char because int might match the return type of a gcc2
65841 builtin and then its argument prototype would still apply. */
65842 char $ac_func ();
65843 /* The GNU C library defines this for functions which it implements
65844 to always fail with ENOSYS. Some functions are actually named
65845 something starting with __ and the normal name is an alias. */
65846 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65847 choke me
65848 #else
65849 char (*f) () = $ac_func;
65850 #endif
65851 #ifdef __cplusplus
65853 #endif
65856 main ()
65858 return f != $ac_func;
65860 return 0;
65862 _ACEOF
65863 rm -f conftest.$ac_objext conftest$ac_exeext
65864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65865 (eval $ac_link) 2>conftest.er1
65866 ac_status=$?
65867 grep -v '^ *+' conftest.er1 >conftest.err
65868 rm -f conftest.er1
65869 cat conftest.err >&5
65870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65871 (exit $ac_status); } &&
65872 { ac_try='test -z "$ac_c_werror_flag"
65873 || test ! -s conftest.err'
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); }; } &&
65879 { ac_try='test -s conftest$ac_exeext'
65880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65881 (eval $ac_try) 2>&5
65882 ac_status=$?
65883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65884 (exit $ac_status); }; }; then
65885 eval "$as_ac_var=yes"
65886 else
65887 echo "$as_me: failed program was:" >&5
65888 sed 's/^/| /' conftest.$ac_ext >&5
65890 eval "$as_ac_var=no"
65892 rm -f conftest.err conftest.$ac_objext \
65893 conftest$ac_exeext conftest.$ac_ext
65895 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65896 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65897 if test `eval echo '${'$as_ac_var'}'` = yes; then
65898 cat >>confdefs.h <<_ACEOF
65899 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65900 _ACEOF
65903 done
65905 else
65907 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
65908 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
65909 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
65910 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
65911 echo $ECHO_N "(cached) $ECHO_C" >&6
65912 else
65916 ac_ext=cc
65917 ac_cpp='$CXXCPP $CPPFLAGS'
65918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65922 cat >conftest.$ac_ext <<_ACEOF
65923 /* confdefs.h. */
65924 _ACEOF
65925 cat confdefs.h >>conftest.$ac_ext
65926 cat >>conftest.$ac_ext <<_ACEOF
65927 /* end confdefs.h. */
65928 #include <math.h>
65929 #ifdef HAVE_IEEEFP_H
65930 #include <ieeefp.h>
65931 #endif
65934 main ()
65936 _qfpclass(0);
65938 return 0;
65940 _ACEOF
65941 rm -f conftest.$ac_objext
65942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65943 (eval $ac_compile) 2>conftest.er1
65944 ac_status=$?
65945 grep -v '^ *+' conftest.er1 >conftest.err
65946 rm -f conftest.er1
65947 cat conftest.err >&5
65948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65949 (exit $ac_status); } &&
65950 { ac_try='test -z "$ac_cxx_werror_flag"
65951 || test ! -s conftest.err'
65952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65953 (eval $ac_try) 2>&5
65954 ac_status=$?
65955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65956 (exit $ac_status); }; } &&
65957 { ac_try='test -s conftest.$ac_objext'
65958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65959 (eval $ac_try) 2>&5
65960 ac_status=$?
65961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65962 (exit $ac_status); }; }; then
65963 glibcxx_cv_func__qfpclass_use=yes
65964 else
65965 echo "$as_me: failed program was:" >&5
65966 sed 's/^/| /' conftest.$ac_ext >&5
65968 glibcxx_cv_func__qfpclass_use=no
65970 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65971 ac_ext=c
65972 ac_cpp='$CPP $CPPFLAGS'
65973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65981 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
65982 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
65984 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
65986 for ac_func in _qfpclass
65988 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65989 echo "$as_me:$LINENO: checking for $ac_func" >&5
65990 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65991 if eval "test \"\${$as_ac_var+set}\" = set"; then
65992 echo $ECHO_N "(cached) $ECHO_C" >&6
65993 else
65994 if test x$gcc_no_link = xyes; then
65995 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65996 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65997 { (exit 1); exit 1; }; }
65999 cat >conftest.$ac_ext <<_ACEOF
66000 /* confdefs.h. */
66001 _ACEOF
66002 cat confdefs.h >>conftest.$ac_ext
66003 cat >>conftest.$ac_ext <<_ACEOF
66004 /* end confdefs.h. */
66005 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66006 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66007 #define $ac_func innocuous_$ac_func
66009 /* System header to define __stub macros and hopefully few prototypes,
66010 which can conflict with char $ac_func (); below.
66011 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66012 <limits.h> exists even on freestanding compilers. */
66014 #ifdef __STDC__
66015 # include <limits.h>
66016 #else
66017 # include <assert.h>
66018 #endif
66020 #undef $ac_func
66022 /* Override any gcc2 internal prototype to avoid an error. */
66023 #ifdef __cplusplus
66024 extern "C"
66026 #endif
66027 /* We use char because int might match the return type of a gcc2
66028 builtin and then its argument prototype would still apply. */
66029 char $ac_func ();
66030 /* The GNU C library defines this for functions which it implements
66031 to always fail with ENOSYS. Some functions are actually named
66032 something starting with __ and the normal name is an alias. */
66033 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66034 choke me
66035 #else
66036 char (*f) () = $ac_func;
66037 #endif
66038 #ifdef __cplusplus
66040 #endif
66043 main ()
66045 return f != $ac_func;
66047 return 0;
66049 _ACEOF
66050 rm -f conftest.$ac_objext conftest$ac_exeext
66051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66052 (eval $ac_link) 2>conftest.er1
66053 ac_status=$?
66054 grep -v '^ *+' conftest.er1 >conftest.err
66055 rm -f conftest.er1
66056 cat conftest.err >&5
66057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66058 (exit $ac_status); } &&
66059 { ac_try='test -z "$ac_c_werror_flag"
66060 || test ! -s conftest.err'
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); }; } &&
66066 { ac_try='test -s conftest$ac_exeext'
66067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66068 (eval $ac_try) 2>&5
66069 ac_status=$?
66070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66071 (exit $ac_status); }; }; then
66072 eval "$as_ac_var=yes"
66073 else
66074 echo "$as_me: failed program was:" >&5
66075 sed 's/^/| /' conftest.$ac_ext >&5
66077 eval "$as_ac_var=no"
66079 rm -f conftest.err conftest.$ac_objext \
66080 conftest$ac_exeext conftest.$ac_ext
66082 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66083 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66084 if test `eval echo '${'$as_ac_var'}'` = yes; then
66085 cat >>confdefs.h <<_ACEOF
66086 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66087 _ACEOF
66090 done
66100 echo "$as_me:$LINENO: checking for hypot declaration" >&5
66101 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
66102 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
66103 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
66104 echo $ECHO_N "(cached) $ECHO_C" >&6
66105 else
66109 ac_ext=cc
66110 ac_cpp='$CXXCPP $CPPFLAGS'
66111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66115 cat >conftest.$ac_ext <<_ACEOF
66116 /* confdefs.h. */
66117 _ACEOF
66118 cat confdefs.h >>conftest.$ac_ext
66119 cat >>conftest.$ac_ext <<_ACEOF
66120 /* end confdefs.h. */
66121 #include <math.h>
66123 main ()
66125 hypot(0, 0);
66127 return 0;
66129 _ACEOF
66130 rm -f conftest.$ac_objext
66131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66132 (eval $ac_compile) 2>conftest.er1
66133 ac_status=$?
66134 grep -v '^ *+' conftest.er1 >conftest.err
66135 rm -f conftest.er1
66136 cat conftest.err >&5
66137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66138 (exit $ac_status); } &&
66139 { ac_try='test -z "$ac_cxx_werror_flag"
66140 || test ! -s conftest.err'
66141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66142 (eval $ac_try) 2>&5
66143 ac_status=$?
66144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66145 (exit $ac_status); }; } &&
66146 { ac_try='test -s conftest.$ac_objext'
66147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66148 (eval $ac_try) 2>&5
66149 ac_status=$?
66150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66151 (exit $ac_status); }; }; then
66152 glibcxx_cv_func_hypot_use=yes
66153 else
66154 echo "$as_me: failed program was:" >&5
66155 sed 's/^/| /' conftest.$ac_ext >&5
66157 glibcxx_cv_func_hypot_use=no
66159 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66160 ac_ext=c
66161 ac_cpp='$CPP $CPPFLAGS'
66162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66170 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
66171 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
66173 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
66175 for ac_func in hypot
66177 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66178 echo "$as_me:$LINENO: checking for $ac_func" >&5
66179 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66180 if eval "test \"\${$as_ac_var+set}\" = set"; then
66181 echo $ECHO_N "(cached) $ECHO_C" >&6
66182 else
66183 if test x$gcc_no_link = xyes; then
66184 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66185 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66186 { (exit 1); exit 1; }; }
66188 cat >conftest.$ac_ext <<_ACEOF
66189 /* confdefs.h. */
66190 _ACEOF
66191 cat confdefs.h >>conftest.$ac_ext
66192 cat >>conftest.$ac_ext <<_ACEOF
66193 /* end confdefs.h. */
66194 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66195 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66196 #define $ac_func innocuous_$ac_func
66198 /* System header to define __stub macros and hopefully few prototypes,
66199 which can conflict with char $ac_func (); below.
66200 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66201 <limits.h> exists even on freestanding compilers. */
66203 #ifdef __STDC__
66204 # include <limits.h>
66205 #else
66206 # include <assert.h>
66207 #endif
66209 #undef $ac_func
66211 /* Override any gcc2 internal prototype to avoid an error. */
66212 #ifdef __cplusplus
66213 extern "C"
66215 #endif
66216 /* We use char because int might match the return type of a gcc2
66217 builtin and then its argument prototype would still apply. */
66218 char $ac_func ();
66219 /* The GNU C library defines this for functions which it implements
66220 to always fail with ENOSYS. Some functions are actually named
66221 something starting with __ and the normal name is an alias. */
66222 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66223 choke me
66224 #else
66225 char (*f) () = $ac_func;
66226 #endif
66227 #ifdef __cplusplus
66229 #endif
66232 main ()
66234 return f != $ac_func;
66236 return 0;
66238 _ACEOF
66239 rm -f conftest.$ac_objext conftest$ac_exeext
66240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66241 (eval $ac_link) 2>conftest.er1
66242 ac_status=$?
66243 grep -v '^ *+' conftest.er1 >conftest.err
66244 rm -f conftest.er1
66245 cat conftest.err >&5
66246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66247 (exit $ac_status); } &&
66248 { ac_try='test -z "$ac_c_werror_flag"
66249 || test ! -s conftest.err'
66250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66251 (eval $ac_try) 2>&5
66252 ac_status=$?
66253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66254 (exit $ac_status); }; } &&
66255 { ac_try='test -s conftest$ac_exeext'
66256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66257 (eval $ac_try) 2>&5
66258 ac_status=$?
66259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66260 (exit $ac_status); }; }; then
66261 eval "$as_ac_var=yes"
66262 else
66263 echo "$as_me: failed program was:" >&5
66264 sed 's/^/| /' conftest.$ac_ext >&5
66266 eval "$as_ac_var=no"
66268 rm -f conftest.err conftest.$ac_objext \
66269 conftest$ac_exeext conftest.$ac_ext
66271 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66272 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66273 if test `eval echo '${'$as_ac_var'}'` = yes; then
66274 cat >>confdefs.h <<_ACEOF
66275 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66276 _ACEOF
66279 done
66281 else
66283 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
66284 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
66285 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
66286 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
66287 echo $ECHO_N "(cached) $ECHO_C" >&6
66288 else
66292 ac_ext=cc
66293 ac_cpp='$CXXCPP $CPPFLAGS'
66294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66298 cat >conftest.$ac_ext <<_ACEOF
66299 /* confdefs.h. */
66300 _ACEOF
66301 cat confdefs.h >>conftest.$ac_ext
66302 cat >>conftest.$ac_ext <<_ACEOF
66303 /* end confdefs.h. */
66304 #include <math.h>
66306 main ()
66308 _hypot(0, 0);
66310 return 0;
66312 _ACEOF
66313 rm -f conftest.$ac_objext
66314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66315 (eval $ac_compile) 2>conftest.er1
66316 ac_status=$?
66317 grep -v '^ *+' conftest.er1 >conftest.err
66318 rm -f conftest.er1
66319 cat conftest.err >&5
66320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66321 (exit $ac_status); } &&
66322 { ac_try='test -z "$ac_cxx_werror_flag"
66323 || test ! -s conftest.err'
66324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66325 (eval $ac_try) 2>&5
66326 ac_status=$?
66327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66328 (exit $ac_status); }; } &&
66329 { ac_try='test -s conftest.$ac_objext'
66330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66331 (eval $ac_try) 2>&5
66332 ac_status=$?
66333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66334 (exit $ac_status); }; }; then
66335 glibcxx_cv_func__hypot_use=yes
66336 else
66337 echo "$as_me: failed program was:" >&5
66338 sed 's/^/| /' conftest.$ac_ext >&5
66340 glibcxx_cv_func__hypot_use=no
66342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66343 ac_ext=c
66344 ac_cpp='$CPP $CPPFLAGS'
66345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66353 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
66354 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
66356 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
66358 for ac_func in _hypot
66360 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66361 echo "$as_me:$LINENO: checking for $ac_func" >&5
66362 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66363 if eval "test \"\${$as_ac_var+set}\" = set"; then
66364 echo $ECHO_N "(cached) $ECHO_C" >&6
66365 else
66366 if test x$gcc_no_link = xyes; then
66367 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66368 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66369 { (exit 1); exit 1; }; }
66371 cat >conftest.$ac_ext <<_ACEOF
66372 /* confdefs.h. */
66373 _ACEOF
66374 cat confdefs.h >>conftest.$ac_ext
66375 cat >>conftest.$ac_ext <<_ACEOF
66376 /* end confdefs.h. */
66377 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66378 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66379 #define $ac_func innocuous_$ac_func
66381 /* System header to define __stub macros and hopefully few prototypes,
66382 which can conflict with char $ac_func (); below.
66383 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66384 <limits.h> exists even on freestanding compilers. */
66386 #ifdef __STDC__
66387 # include <limits.h>
66388 #else
66389 # include <assert.h>
66390 #endif
66392 #undef $ac_func
66394 /* Override any gcc2 internal prototype to avoid an error. */
66395 #ifdef __cplusplus
66396 extern "C"
66398 #endif
66399 /* We use char because int might match the return type of a gcc2
66400 builtin and then its argument prototype would still apply. */
66401 char $ac_func ();
66402 /* The GNU C library defines this for functions which it implements
66403 to always fail with ENOSYS. Some functions are actually named
66404 something starting with __ and the normal name is an alias. */
66405 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66406 choke me
66407 #else
66408 char (*f) () = $ac_func;
66409 #endif
66410 #ifdef __cplusplus
66412 #endif
66415 main ()
66417 return f != $ac_func;
66419 return 0;
66421 _ACEOF
66422 rm -f conftest.$ac_objext conftest$ac_exeext
66423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66424 (eval $ac_link) 2>conftest.er1
66425 ac_status=$?
66426 grep -v '^ *+' conftest.er1 >conftest.err
66427 rm -f conftest.er1
66428 cat conftest.err >&5
66429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66430 (exit $ac_status); } &&
66431 { ac_try='test -z "$ac_c_werror_flag"
66432 || test ! -s conftest.err'
66433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66434 (eval $ac_try) 2>&5
66435 ac_status=$?
66436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66437 (exit $ac_status); }; } &&
66438 { ac_try='test -s conftest$ac_exeext'
66439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66440 (eval $ac_try) 2>&5
66441 ac_status=$?
66442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66443 (exit $ac_status); }; }; then
66444 eval "$as_ac_var=yes"
66445 else
66446 echo "$as_me: failed program was:" >&5
66447 sed 's/^/| /' conftest.$ac_ext >&5
66449 eval "$as_ac_var=no"
66451 rm -f conftest.err conftest.$ac_objext \
66452 conftest$ac_exeext conftest.$ac_ext
66454 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66455 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66456 if test `eval echo '${'$as_ac_var'}'` = yes; then
66457 cat >>confdefs.h <<_ACEOF
66458 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66459 _ACEOF
66462 done
66472 echo "$as_me:$LINENO: checking for float trig functions" >&5
66473 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
66474 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
66475 echo $ECHO_N "(cached) $ECHO_C" >&6
66476 else
66480 ac_ext=cc
66481 ac_cpp='$CXXCPP $CPPFLAGS'
66482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66486 cat >conftest.$ac_ext <<_ACEOF
66487 /* confdefs.h. */
66488 _ACEOF
66489 cat confdefs.h >>conftest.$ac_ext
66490 cat >>conftest.$ac_ext <<_ACEOF
66491 /* end confdefs.h. */
66492 #include <math.h>
66494 main ()
66496 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
66498 return 0;
66500 _ACEOF
66501 rm -f conftest.$ac_objext
66502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66503 (eval $ac_compile) 2>conftest.er1
66504 ac_status=$?
66505 grep -v '^ *+' conftest.er1 >conftest.err
66506 rm -f conftest.er1
66507 cat conftest.err >&5
66508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66509 (exit $ac_status); } &&
66510 { ac_try='test -z "$ac_cxx_werror_flag"
66511 || test ! -s conftest.err'
66512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66513 (eval $ac_try) 2>&5
66514 ac_status=$?
66515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66516 (exit $ac_status); }; } &&
66517 { ac_try='test -s conftest.$ac_objext'
66518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66519 (eval $ac_try) 2>&5
66520 ac_status=$?
66521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66522 (exit $ac_status); }; }; then
66523 glibcxx_cv_func_float_trig_use=yes
66524 else
66525 echo "$as_me: failed program was:" >&5
66526 sed 's/^/| /' conftest.$ac_ext >&5
66528 glibcxx_cv_func_float_trig_use=no
66530 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66531 ac_ext=c
66532 ac_cpp='$CPP $CPPFLAGS'
66533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66539 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
66540 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
66541 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
66551 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
66553 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66554 echo "$as_me:$LINENO: checking for $ac_func" >&5
66555 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66556 if eval "test \"\${$as_ac_var+set}\" = set"; then
66557 echo $ECHO_N "(cached) $ECHO_C" >&6
66558 else
66559 if test x$gcc_no_link = xyes; then
66560 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66561 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66562 { (exit 1); exit 1; }; }
66564 cat >conftest.$ac_ext <<_ACEOF
66565 /* confdefs.h. */
66566 _ACEOF
66567 cat confdefs.h >>conftest.$ac_ext
66568 cat >>conftest.$ac_ext <<_ACEOF
66569 /* end confdefs.h. */
66570 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66571 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66572 #define $ac_func innocuous_$ac_func
66574 /* System header to define __stub macros and hopefully few prototypes,
66575 which can conflict with char $ac_func (); below.
66576 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66577 <limits.h> exists even on freestanding compilers. */
66579 #ifdef __STDC__
66580 # include <limits.h>
66581 #else
66582 # include <assert.h>
66583 #endif
66585 #undef $ac_func
66587 /* Override any gcc2 internal prototype to avoid an error. */
66588 #ifdef __cplusplus
66589 extern "C"
66591 #endif
66592 /* We use char because int might match the return type of a gcc2
66593 builtin and then its argument prototype would still apply. */
66594 char $ac_func ();
66595 /* The GNU C library defines this for functions which it implements
66596 to always fail with ENOSYS. Some functions are actually named
66597 something starting with __ and the normal name is an alias. */
66598 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66599 choke me
66600 #else
66601 char (*f) () = $ac_func;
66602 #endif
66603 #ifdef __cplusplus
66605 #endif
66608 main ()
66610 return f != $ac_func;
66612 return 0;
66614 _ACEOF
66615 rm -f conftest.$ac_objext conftest$ac_exeext
66616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66617 (eval $ac_link) 2>conftest.er1
66618 ac_status=$?
66619 grep -v '^ *+' conftest.er1 >conftest.err
66620 rm -f conftest.er1
66621 cat conftest.err >&5
66622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66623 (exit $ac_status); } &&
66624 { ac_try='test -z "$ac_c_werror_flag"
66625 || test ! -s conftest.err'
66626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66627 (eval $ac_try) 2>&5
66628 ac_status=$?
66629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66630 (exit $ac_status); }; } &&
66631 { ac_try='test -s conftest$ac_exeext'
66632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66633 (eval $ac_try) 2>&5
66634 ac_status=$?
66635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66636 (exit $ac_status); }; }; then
66637 eval "$as_ac_var=yes"
66638 else
66639 echo "$as_me: failed program was:" >&5
66640 sed 's/^/| /' conftest.$ac_ext >&5
66642 eval "$as_ac_var=no"
66644 rm -f conftest.err conftest.$ac_objext \
66645 conftest$ac_exeext conftest.$ac_ext
66647 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66648 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66649 if test `eval echo '${'$as_ac_var'}'` = yes; then
66650 cat >>confdefs.h <<_ACEOF
66651 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66652 _ACEOF
66655 done
66657 else
66658 echo "$as_me:$LINENO: checking for _float trig functions" >&5
66659 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
66660 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
66661 echo $ECHO_N "(cached) $ECHO_C" >&6
66662 else
66666 ac_ext=cc
66667 ac_cpp='$CXXCPP $CPPFLAGS'
66668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66672 cat >conftest.$ac_ext <<_ACEOF
66673 /* confdefs.h. */
66674 _ACEOF
66675 cat confdefs.h >>conftest.$ac_ext
66676 cat >>conftest.$ac_ext <<_ACEOF
66677 /* end confdefs.h. */
66678 #include <math.h>
66680 main ()
66682 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
66684 return 0;
66686 _ACEOF
66687 rm -f conftest.$ac_objext
66688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66689 (eval $ac_compile) 2>conftest.er1
66690 ac_status=$?
66691 grep -v '^ *+' conftest.er1 >conftest.err
66692 rm -f conftest.er1
66693 cat conftest.err >&5
66694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66695 (exit $ac_status); } &&
66696 { ac_try='test -z "$ac_cxx_werror_flag"
66697 || test ! -s conftest.err'
66698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66699 (eval $ac_try) 2>&5
66700 ac_status=$?
66701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66702 (exit $ac_status); }; } &&
66703 { ac_try='test -s conftest.$ac_objext'
66704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66705 (eval $ac_try) 2>&5
66706 ac_status=$?
66707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66708 (exit $ac_status); }; }; then
66709 glibcxx_cv_func__float_trig_use=yes
66710 else
66711 echo "$as_me: failed program was:" >&5
66712 sed 's/^/| /' conftest.$ac_ext >&5
66714 glibcxx_cv_func__float_trig_use=no
66716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66717 ac_ext=c
66718 ac_cpp='$CPP $CPPFLAGS'
66719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66725 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
66726 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
66727 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
66737 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
66739 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66740 echo "$as_me:$LINENO: checking for $ac_func" >&5
66741 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66742 if eval "test \"\${$as_ac_var+set}\" = set"; then
66743 echo $ECHO_N "(cached) $ECHO_C" >&6
66744 else
66745 if test x$gcc_no_link = xyes; then
66746 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66747 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66748 { (exit 1); exit 1; }; }
66750 cat >conftest.$ac_ext <<_ACEOF
66751 /* confdefs.h. */
66752 _ACEOF
66753 cat confdefs.h >>conftest.$ac_ext
66754 cat >>conftest.$ac_ext <<_ACEOF
66755 /* end confdefs.h. */
66756 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66757 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66758 #define $ac_func innocuous_$ac_func
66760 /* System header to define __stub macros and hopefully few prototypes,
66761 which can conflict with char $ac_func (); below.
66762 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66763 <limits.h> exists even on freestanding compilers. */
66765 #ifdef __STDC__
66766 # include <limits.h>
66767 #else
66768 # include <assert.h>
66769 #endif
66771 #undef $ac_func
66773 /* Override any gcc2 internal prototype to avoid an error. */
66774 #ifdef __cplusplus
66775 extern "C"
66777 #endif
66778 /* We use char because int might match the return type of a gcc2
66779 builtin and then its argument prototype would still apply. */
66780 char $ac_func ();
66781 /* The GNU C library defines this for functions which it implements
66782 to always fail with ENOSYS. Some functions are actually named
66783 something starting with __ and the normal name is an alias. */
66784 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66785 choke me
66786 #else
66787 char (*f) () = $ac_func;
66788 #endif
66789 #ifdef __cplusplus
66791 #endif
66794 main ()
66796 return f != $ac_func;
66798 return 0;
66800 _ACEOF
66801 rm -f conftest.$ac_objext conftest$ac_exeext
66802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66803 (eval $ac_link) 2>conftest.er1
66804 ac_status=$?
66805 grep -v '^ *+' conftest.er1 >conftest.err
66806 rm -f conftest.er1
66807 cat conftest.err >&5
66808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66809 (exit $ac_status); } &&
66810 { ac_try='test -z "$ac_c_werror_flag"
66811 || test ! -s conftest.err'
66812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66813 (eval $ac_try) 2>&5
66814 ac_status=$?
66815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66816 (exit $ac_status); }; } &&
66817 { ac_try='test -s conftest$ac_exeext'
66818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66819 (eval $ac_try) 2>&5
66820 ac_status=$?
66821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66822 (exit $ac_status); }; }; then
66823 eval "$as_ac_var=yes"
66824 else
66825 echo "$as_me: failed program was:" >&5
66826 sed 's/^/| /' conftest.$ac_ext >&5
66828 eval "$as_ac_var=no"
66830 rm -f conftest.err conftest.$ac_objext \
66831 conftest$ac_exeext conftest.$ac_ext
66833 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66834 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66835 if test `eval echo '${'$as_ac_var'}'` = yes; then
66836 cat >>confdefs.h <<_ACEOF
66837 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66838 _ACEOF
66841 done
66859 echo "$as_me:$LINENO: checking for float round functions" >&5
66860 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
66861 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
66862 echo $ECHO_N "(cached) $ECHO_C" >&6
66863 else
66867 ac_ext=cc
66868 ac_cpp='$CXXCPP $CPPFLAGS'
66869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66873 cat >conftest.$ac_ext <<_ACEOF
66874 /* confdefs.h. */
66875 _ACEOF
66876 cat confdefs.h >>conftest.$ac_ext
66877 cat >>conftest.$ac_ext <<_ACEOF
66878 /* end confdefs.h. */
66879 #include <math.h>
66881 main ()
66883 ceilf (0); floorf (0);
66885 return 0;
66887 _ACEOF
66888 rm -f conftest.$ac_objext
66889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66890 (eval $ac_compile) 2>conftest.er1
66891 ac_status=$?
66892 grep -v '^ *+' conftest.er1 >conftest.err
66893 rm -f conftest.er1
66894 cat conftest.err >&5
66895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66896 (exit $ac_status); } &&
66897 { ac_try='test -z "$ac_cxx_werror_flag"
66898 || test ! -s conftest.err'
66899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66900 (eval $ac_try) 2>&5
66901 ac_status=$?
66902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66903 (exit $ac_status); }; } &&
66904 { ac_try='test -s conftest.$ac_objext'
66905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66906 (eval $ac_try) 2>&5
66907 ac_status=$?
66908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66909 (exit $ac_status); }; }; then
66910 glibcxx_cv_func_float_round_use=yes
66911 else
66912 echo "$as_me: failed program was:" >&5
66913 sed 's/^/| /' conftest.$ac_ext >&5
66915 glibcxx_cv_func_float_round_use=no
66917 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66918 ac_ext=c
66919 ac_cpp='$CPP $CPPFLAGS'
66920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66926 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
66927 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
66928 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
66931 for ac_func in ceilf floorf
66933 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66934 echo "$as_me:$LINENO: checking for $ac_func" >&5
66935 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66936 if eval "test \"\${$as_ac_var+set}\" = set"; then
66937 echo $ECHO_N "(cached) $ECHO_C" >&6
66938 else
66939 if test x$gcc_no_link = xyes; then
66940 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66941 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66942 { (exit 1); exit 1; }; }
66944 cat >conftest.$ac_ext <<_ACEOF
66945 /* confdefs.h. */
66946 _ACEOF
66947 cat confdefs.h >>conftest.$ac_ext
66948 cat >>conftest.$ac_ext <<_ACEOF
66949 /* end confdefs.h. */
66950 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66951 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66952 #define $ac_func innocuous_$ac_func
66954 /* System header to define __stub macros and hopefully few prototypes,
66955 which can conflict with char $ac_func (); below.
66956 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66957 <limits.h> exists even on freestanding compilers. */
66959 #ifdef __STDC__
66960 # include <limits.h>
66961 #else
66962 # include <assert.h>
66963 #endif
66965 #undef $ac_func
66967 /* Override any gcc2 internal prototype to avoid an error. */
66968 #ifdef __cplusplus
66969 extern "C"
66971 #endif
66972 /* We use char because int might match the return type of a gcc2
66973 builtin and then its argument prototype would still apply. */
66974 char $ac_func ();
66975 /* The GNU C library defines this for functions which it implements
66976 to always fail with ENOSYS. Some functions are actually named
66977 something starting with __ and the normal name is an alias. */
66978 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66979 choke me
66980 #else
66981 char (*f) () = $ac_func;
66982 #endif
66983 #ifdef __cplusplus
66985 #endif
66988 main ()
66990 return f != $ac_func;
66992 return 0;
66994 _ACEOF
66995 rm -f conftest.$ac_objext conftest$ac_exeext
66996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66997 (eval $ac_link) 2>conftest.er1
66998 ac_status=$?
66999 grep -v '^ *+' conftest.er1 >conftest.err
67000 rm -f conftest.er1
67001 cat conftest.err >&5
67002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67003 (exit $ac_status); } &&
67004 { ac_try='test -z "$ac_c_werror_flag"
67005 || test ! -s conftest.err'
67006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67007 (eval $ac_try) 2>&5
67008 ac_status=$?
67009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67010 (exit $ac_status); }; } &&
67011 { ac_try='test -s conftest$ac_exeext'
67012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67013 (eval $ac_try) 2>&5
67014 ac_status=$?
67015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67016 (exit $ac_status); }; }; then
67017 eval "$as_ac_var=yes"
67018 else
67019 echo "$as_me: failed program was:" >&5
67020 sed 's/^/| /' conftest.$ac_ext >&5
67022 eval "$as_ac_var=no"
67024 rm -f conftest.err conftest.$ac_objext \
67025 conftest$ac_exeext conftest.$ac_ext
67027 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67028 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67029 if test `eval echo '${'$as_ac_var'}'` = yes; then
67030 cat >>confdefs.h <<_ACEOF
67031 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67032 _ACEOF
67035 done
67037 else
67038 echo "$as_me:$LINENO: checking for _float round functions" >&5
67039 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
67040 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
67041 echo $ECHO_N "(cached) $ECHO_C" >&6
67042 else
67046 ac_ext=cc
67047 ac_cpp='$CXXCPP $CPPFLAGS'
67048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67052 cat >conftest.$ac_ext <<_ACEOF
67053 /* confdefs.h. */
67054 _ACEOF
67055 cat confdefs.h >>conftest.$ac_ext
67056 cat >>conftest.$ac_ext <<_ACEOF
67057 /* end confdefs.h. */
67058 #include <math.h>
67060 main ()
67062 _ceilf (0); _floorf (0);
67064 return 0;
67066 _ACEOF
67067 rm -f conftest.$ac_objext
67068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67069 (eval $ac_compile) 2>conftest.er1
67070 ac_status=$?
67071 grep -v '^ *+' conftest.er1 >conftest.err
67072 rm -f conftest.er1
67073 cat conftest.err >&5
67074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67075 (exit $ac_status); } &&
67076 { ac_try='test -z "$ac_cxx_werror_flag"
67077 || test ! -s conftest.err'
67078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67079 (eval $ac_try) 2>&5
67080 ac_status=$?
67081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67082 (exit $ac_status); }; } &&
67083 { ac_try='test -s conftest.$ac_objext'
67084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67085 (eval $ac_try) 2>&5
67086 ac_status=$?
67087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67088 (exit $ac_status); }; }; then
67089 glibcxx_cv_func__float_round_use=yes
67090 else
67091 echo "$as_me: failed program was:" >&5
67092 sed 's/^/| /' conftest.$ac_ext >&5
67094 glibcxx_cv_func__float_round_use=no
67096 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67097 ac_ext=c
67098 ac_cpp='$CPP $CPPFLAGS'
67099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67105 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
67106 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
67107 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
67110 for ac_func in _ceilf _floorf
67112 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67113 echo "$as_me:$LINENO: checking for $ac_func" >&5
67114 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67115 if eval "test \"\${$as_ac_var+set}\" = set"; then
67116 echo $ECHO_N "(cached) $ECHO_C" >&6
67117 else
67118 if test x$gcc_no_link = xyes; then
67119 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67120 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67121 { (exit 1); exit 1; }; }
67123 cat >conftest.$ac_ext <<_ACEOF
67124 /* confdefs.h. */
67125 _ACEOF
67126 cat confdefs.h >>conftest.$ac_ext
67127 cat >>conftest.$ac_ext <<_ACEOF
67128 /* end confdefs.h. */
67129 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67130 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67131 #define $ac_func innocuous_$ac_func
67133 /* System header to define __stub macros and hopefully few prototypes,
67134 which can conflict with char $ac_func (); below.
67135 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67136 <limits.h> exists even on freestanding compilers. */
67138 #ifdef __STDC__
67139 # include <limits.h>
67140 #else
67141 # include <assert.h>
67142 #endif
67144 #undef $ac_func
67146 /* Override any gcc2 internal prototype to avoid an error. */
67147 #ifdef __cplusplus
67148 extern "C"
67150 #endif
67151 /* We use char because int might match the return type of a gcc2
67152 builtin and then its argument prototype would still apply. */
67153 char $ac_func ();
67154 /* The GNU C library defines this for functions which it implements
67155 to always fail with ENOSYS. Some functions are actually named
67156 something starting with __ and the normal name is an alias. */
67157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67158 choke me
67159 #else
67160 char (*f) () = $ac_func;
67161 #endif
67162 #ifdef __cplusplus
67164 #endif
67167 main ()
67169 return f != $ac_func;
67171 return 0;
67173 _ACEOF
67174 rm -f conftest.$ac_objext conftest$ac_exeext
67175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67176 (eval $ac_link) 2>conftest.er1
67177 ac_status=$?
67178 grep -v '^ *+' conftest.er1 >conftest.err
67179 rm -f conftest.er1
67180 cat conftest.err >&5
67181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67182 (exit $ac_status); } &&
67183 { ac_try='test -z "$ac_c_werror_flag"
67184 || test ! -s conftest.err'
67185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67186 (eval $ac_try) 2>&5
67187 ac_status=$?
67188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67189 (exit $ac_status); }; } &&
67190 { ac_try='test -s conftest$ac_exeext'
67191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67192 (eval $ac_try) 2>&5
67193 ac_status=$?
67194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67195 (exit $ac_status); }; }; then
67196 eval "$as_ac_var=yes"
67197 else
67198 echo "$as_me: failed program was:" >&5
67199 sed 's/^/| /' conftest.$ac_ext >&5
67201 eval "$as_ac_var=no"
67203 rm -f conftest.err conftest.$ac_objext \
67204 conftest$ac_exeext conftest.$ac_ext
67206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67207 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67208 if test `eval echo '${'$as_ac_var'}'` = yes; then
67209 cat >>confdefs.h <<_ACEOF
67210 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67211 _ACEOF
67214 done
67226 echo "$as_me:$LINENO: checking for expf declaration" >&5
67227 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
67228 if test x${glibcxx_cv_func_expf_use+set} != xset; then
67229 if test "${glibcxx_cv_func_expf_use+set}" = set; then
67230 echo $ECHO_N "(cached) $ECHO_C" >&6
67231 else
67235 ac_ext=cc
67236 ac_cpp='$CXXCPP $CPPFLAGS'
67237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67241 cat >conftest.$ac_ext <<_ACEOF
67242 /* confdefs.h. */
67243 _ACEOF
67244 cat confdefs.h >>conftest.$ac_ext
67245 cat >>conftest.$ac_ext <<_ACEOF
67246 /* end confdefs.h. */
67247 #include <math.h>
67248 #ifdef HAVE_IEEEFP_H
67249 #include <ieeefp.h>
67250 #endif
67253 main ()
67255 expf(0);
67257 return 0;
67259 _ACEOF
67260 rm -f conftest.$ac_objext
67261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67262 (eval $ac_compile) 2>conftest.er1
67263 ac_status=$?
67264 grep -v '^ *+' conftest.er1 >conftest.err
67265 rm -f conftest.er1
67266 cat conftest.err >&5
67267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67268 (exit $ac_status); } &&
67269 { ac_try='test -z "$ac_cxx_werror_flag"
67270 || test ! -s conftest.err'
67271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67272 (eval $ac_try) 2>&5
67273 ac_status=$?
67274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67275 (exit $ac_status); }; } &&
67276 { ac_try='test -s conftest.$ac_objext'
67277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67278 (eval $ac_try) 2>&5
67279 ac_status=$?
67280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67281 (exit $ac_status); }; }; then
67282 glibcxx_cv_func_expf_use=yes
67283 else
67284 echo "$as_me: failed program was:" >&5
67285 sed 's/^/| /' conftest.$ac_ext >&5
67287 glibcxx_cv_func_expf_use=no
67289 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67290 ac_ext=c
67291 ac_cpp='$CPP $CPPFLAGS'
67292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67300 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
67301 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
67303 if test x$glibcxx_cv_func_expf_use = x"yes"; then
67305 for ac_func in expf
67307 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67308 echo "$as_me:$LINENO: checking for $ac_func" >&5
67309 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67310 if eval "test \"\${$as_ac_var+set}\" = set"; then
67311 echo $ECHO_N "(cached) $ECHO_C" >&6
67312 else
67313 if test x$gcc_no_link = xyes; then
67314 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67315 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67316 { (exit 1); exit 1; }; }
67318 cat >conftest.$ac_ext <<_ACEOF
67319 /* confdefs.h. */
67320 _ACEOF
67321 cat confdefs.h >>conftest.$ac_ext
67322 cat >>conftest.$ac_ext <<_ACEOF
67323 /* end confdefs.h. */
67324 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67325 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67326 #define $ac_func innocuous_$ac_func
67328 /* System header to define __stub macros and hopefully few prototypes,
67329 which can conflict with char $ac_func (); below.
67330 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67331 <limits.h> exists even on freestanding compilers. */
67333 #ifdef __STDC__
67334 # include <limits.h>
67335 #else
67336 # include <assert.h>
67337 #endif
67339 #undef $ac_func
67341 /* Override any gcc2 internal prototype to avoid an error. */
67342 #ifdef __cplusplus
67343 extern "C"
67345 #endif
67346 /* We use char because int might match the return type of a gcc2
67347 builtin and then its argument prototype would still apply. */
67348 char $ac_func ();
67349 /* The GNU C library defines this for functions which it implements
67350 to always fail with ENOSYS. Some functions are actually named
67351 something starting with __ and the normal name is an alias. */
67352 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67353 choke me
67354 #else
67355 char (*f) () = $ac_func;
67356 #endif
67357 #ifdef __cplusplus
67359 #endif
67362 main ()
67364 return f != $ac_func;
67366 return 0;
67368 _ACEOF
67369 rm -f conftest.$ac_objext conftest$ac_exeext
67370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67371 (eval $ac_link) 2>conftest.er1
67372 ac_status=$?
67373 grep -v '^ *+' conftest.er1 >conftest.err
67374 rm -f conftest.er1
67375 cat conftest.err >&5
67376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67377 (exit $ac_status); } &&
67378 { ac_try='test -z "$ac_c_werror_flag"
67379 || test ! -s conftest.err'
67380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67381 (eval $ac_try) 2>&5
67382 ac_status=$?
67383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67384 (exit $ac_status); }; } &&
67385 { ac_try='test -s conftest$ac_exeext'
67386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67387 (eval $ac_try) 2>&5
67388 ac_status=$?
67389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67390 (exit $ac_status); }; }; then
67391 eval "$as_ac_var=yes"
67392 else
67393 echo "$as_me: failed program was:" >&5
67394 sed 's/^/| /' conftest.$ac_ext >&5
67396 eval "$as_ac_var=no"
67398 rm -f conftest.err conftest.$ac_objext \
67399 conftest$ac_exeext conftest.$ac_ext
67401 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67402 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67403 if test `eval echo '${'$as_ac_var'}'` = yes; then
67404 cat >>confdefs.h <<_ACEOF
67405 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67406 _ACEOF
67409 done
67411 else
67413 echo "$as_me:$LINENO: checking for _expf declaration" >&5
67414 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
67415 if test x${glibcxx_cv_func__expf_use+set} != xset; then
67416 if test "${glibcxx_cv_func__expf_use+set}" = set; then
67417 echo $ECHO_N "(cached) $ECHO_C" >&6
67418 else
67422 ac_ext=cc
67423 ac_cpp='$CXXCPP $CPPFLAGS'
67424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67428 cat >conftest.$ac_ext <<_ACEOF
67429 /* confdefs.h. */
67430 _ACEOF
67431 cat confdefs.h >>conftest.$ac_ext
67432 cat >>conftest.$ac_ext <<_ACEOF
67433 /* end confdefs.h. */
67434 #include <math.h>
67435 #ifdef HAVE_IEEEFP_H
67436 #include <ieeefp.h>
67437 #endif
67440 main ()
67442 _expf(0);
67444 return 0;
67446 _ACEOF
67447 rm -f conftest.$ac_objext
67448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67449 (eval $ac_compile) 2>conftest.er1
67450 ac_status=$?
67451 grep -v '^ *+' conftest.er1 >conftest.err
67452 rm -f conftest.er1
67453 cat conftest.err >&5
67454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67455 (exit $ac_status); } &&
67456 { ac_try='test -z "$ac_cxx_werror_flag"
67457 || test ! -s conftest.err'
67458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67459 (eval $ac_try) 2>&5
67460 ac_status=$?
67461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67462 (exit $ac_status); }; } &&
67463 { ac_try='test -s conftest.$ac_objext'
67464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67465 (eval $ac_try) 2>&5
67466 ac_status=$?
67467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67468 (exit $ac_status); }; }; then
67469 glibcxx_cv_func__expf_use=yes
67470 else
67471 echo "$as_me: failed program was:" >&5
67472 sed 's/^/| /' conftest.$ac_ext >&5
67474 glibcxx_cv_func__expf_use=no
67476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67477 ac_ext=c
67478 ac_cpp='$CPP $CPPFLAGS'
67479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67487 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
67488 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
67490 if test x$glibcxx_cv_func__expf_use = x"yes"; then
67492 for ac_func in _expf
67494 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67495 echo "$as_me:$LINENO: checking for $ac_func" >&5
67496 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67497 if eval "test \"\${$as_ac_var+set}\" = set"; then
67498 echo $ECHO_N "(cached) $ECHO_C" >&6
67499 else
67500 if test x$gcc_no_link = xyes; then
67501 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67502 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67503 { (exit 1); exit 1; }; }
67505 cat >conftest.$ac_ext <<_ACEOF
67506 /* confdefs.h. */
67507 _ACEOF
67508 cat confdefs.h >>conftest.$ac_ext
67509 cat >>conftest.$ac_ext <<_ACEOF
67510 /* end confdefs.h. */
67511 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67512 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67513 #define $ac_func innocuous_$ac_func
67515 /* System header to define __stub macros and hopefully few prototypes,
67516 which can conflict with char $ac_func (); below.
67517 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67518 <limits.h> exists even on freestanding compilers. */
67520 #ifdef __STDC__
67521 # include <limits.h>
67522 #else
67523 # include <assert.h>
67524 #endif
67526 #undef $ac_func
67528 /* Override any gcc2 internal prototype to avoid an error. */
67529 #ifdef __cplusplus
67530 extern "C"
67532 #endif
67533 /* We use char because int might match the return type of a gcc2
67534 builtin and then its argument prototype would still apply. */
67535 char $ac_func ();
67536 /* The GNU C library defines this for functions which it implements
67537 to always fail with ENOSYS. Some functions are actually named
67538 something starting with __ and the normal name is an alias. */
67539 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67540 choke me
67541 #else
67542 char (*f) () = $ac_func;
67543 #endif
67544 #ifdef __cplusplus
67546 #endif
67549 main ()
67551 return f != $ac_func;
67553 return 0;
67555 _ACEOF
67556 rm -f conftest.$ac_objext conftest$ac_exeext
67557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67558 (eval $ac_link) 2>conftest.er1
67559 ac_status=$?
67560 grep -v '^ *+' conftest.er1 >conftest.err
67561 rm -f conftest.er1
67562 cat conftest.err >&5
67563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67564 (exit $ac_status); } &&
67565 { ac_try='test -z "$ac_c_werror_flag"
67566 || test ! -s conftest.err'
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); }; } &&
67572 { ac_try='test -s conftest$ac_exeext'
67573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67574 (eval $ac_try) 2>&5
67575 ac_status=$?
67576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67577 (exit $ac_status); }; }; then
67578 eval "$as_ac_var=yes"
67579 else
67580 echo "$as_me: failed program was:" >&5
67581 sed 's/^/| /' conftest.$ac_ext >&5
67583 eval "$as_ac_var=no"
67585 rm -f conftest.err conftest.$ac_objext \
67586 conftest$ac_exeext conftest.$ac_ext
67588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67589 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67590 if test `eval echo '${'$as_ac_var'}'` = yes; then
67591 cat >>confdefs.h <<_ACEOF
67592 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67593 _ACEOF
67596 done
67606 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
67607 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
67608 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
67609 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
67610 echo $ECHO_N "(cached) $ECHO_C" >&6
67611 else
67615 ac_ext=cc
67616 ac_cpp='$CXXCPP $CPPFLAGS'
67617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67621 cat >conftest.$ac_ext <<_ACEOF
67622 /* confdefs.h. */
67623 _ACEOF
67624 cat confdefs.h >>conftest.$ac_ext
67625 cat >>conftest.$ac_ext <<_ACEOF
67626 /* end confdefs.h. */
67627 #include <math.h>
67628 #ifdef HAVE_IEEEFP_H
67629 #include <ieeefp.h>
67630 #endif
67633 main ()
67635 isnanf(0);
67637 return 0;
67639 _ACEOF
67640 rm -f conftest.$ac_objext
67641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67642 (eval $ac_compile) 2>conftest.er1
67643 ac_status=$?
67644 grep -v '^ *+' conftest.er1 >conftest.err
67645 rm -f conftest.er1
67646 cat conftest.err >&5
67647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67648 (exit $ac_status); } &&
67649 { ac_try='test -z "$ac_cxx_werror_flag"
67650 || test ! -s conftest.err'
67651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67652 (eval $ac_try) 2>&5
67653 ac_status=$?
67654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67655 (exit $ac_status); }; } &&
67656 { ac_try='test -s conftest.$ac_objext'
67657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67658 (eval $ac_try) 2>&5
67659 ac_status=$?
67660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67661 (exit $ac_status); }; }; then
67662 glibcxx_cv_func_isnanf_use=yes
67663 else
67664 echo "$as_me: failed program was:" >&5
67665 sed 's/^/| /' conftest.$ac_ext >&5
67667 glibcxx_cv_func_isnanf_use=no
67669 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67670 ac_ext=c
67671 ac_cpp='$CPP $CPPFLAGS'
67672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67680 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
67681 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
67683 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
67685 for ac_func in isnanf
67687 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67688 echo "$as_me:$LINENO: checking for $ac_func" >&5
67689 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67690 if eval "test \"\${$as_ac_var+set}\" = set"; then
67691 echo $ECHO_N "(cached) $ECHO_C" >&6
67692 else
67693 if test x$gcc_no_link = xyes; then
67694 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67695 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67696 { (exit 1); exit 1; }; }
67698 cat >conftest.$ac_ext <<_ACEOF
67699 /* confdefs.h. */
67700 _ACEOF
67701 cat confdefs.h >>conftest.$ac_ext
67702 cat >>conftest.$ac_ext <<_ACEOF
67703 /* end confdefs.h. */
67704 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67705 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67706 #define $ac_func innocuous_$ac_func
67708 /* System header to define __stub macros and hopefully few prototypes,
67709 which can conflict with char $ac_func (); below.
67710 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67711 <limits.h> exists even on freestanding compilers. */
67713 #ifdef __STDC__
67714 # include <limits.h>
67715 #else
67716 # include <assert.h>
67717 #endif
67719 #undef $ac_func
67721 /* Override any gcc2 internal prototype to avoid an error. */
67722 #ifdef __cplusplus
67723 extern "C"
67725 #endif
67726 /* We use char because int might match the return type of a gcc2
67727 builtin and then its argument prototype would still apply. */
67728 char $ac_func ();
67729 /* The GNU C library defines this for functions which it implements
67730 to always fail with ENOSYS. Some functions are actually named
67731 something starting with __ and the normal name is an alias. */
67732 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67733 choke me
67734 #else
67735 char (*f) () = $ac_func;
67736 #endif
67737 #ifdef __cplusplus
67739 #endif
67742 main ()
67744 return f != $ac_func;
67746 return 0;
67748 _ACEOF
67749 rm -f conftest.$ac_objext conftest$ac_exeext
67750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67751 (eval $ac_link) 2>conftest.er1
67752 ac_status=$?
67753 grep -v '^ *+' conftest.er1 >conftest.err
67754 rm -f conftest.er1
67755 cat conftest.err >&5
67756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67757 (exit $ac_status); } &&
67758 { ac_try='test -z "$ac_c_werror_flag"
67759 || test ! -s conftest.err'
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); }; } &&
67765 { ac_try='test -s conftest$ac_exeext'
67766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67767 (eval $ac_try) 2>&5
67768 ac_status=$?
67769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67770 (exit $ac_status); }; }; then
67771 eval "$as_ac_var=yes"
67772 else
67773 echo "$as_me: failed program was:" >&5
67774 sed 's/^/| /' conftest.$ac_ext >&5
67776 eval "$as_ac_var=no"
67778 rm -f conftest.err conftest.$ac_objext \
67779 conftest$ac_exeext conftest.$ac_ext
67781 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67782 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67783 if test `eval echo '${'$as_ac_var'}'` = yes; then
67784 cat >>confdefs.h <<_ACEOF
67785 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67786 _ACEOF
67789 done
67791 else
67793 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
67794 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
67795 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
67796 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
67797 echo $ECHO_N "(cached) $ECHO_C" >&6
67798 else
67802 ac_ext=cc
67803 ac_cpp='$CXXCPP $CPPFLAGS'
67804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67808 cat >conftest.$ac_ext <<_ACEOF
67809 /* confdefs.h. */
67810 _ACEOF
67811 cat confdefs.h >>conftest.$ac_ext
67812 cat >>conftest.$ac_ext <<_ACEOF
67813 /* end confdefs.h. */
67814 #include <math.h>
67815 #ifdef HAVE_IEEEFP_H
67816 #include <ieeefp.h>
67817 #endif
67820 main ()
67822 _isnanf(0);
67824 return 0;
67826 _ACEOF
67827 rm -f conftest.$ac_objext
67828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67829 (eval $ac_compile) 2>conftest.er1
67830 ac_status=$?
67831 grep -v '^ *+' conftest.er1 >conftest.err
67832 rm -f conftest.er1
67833 cat conftest.err >&5
67834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67835 (exit $ac_status); } &&
67836 { ac_try='test -z "$ac_cxx_werror_flag"
67837 || test ! -s conftest.err'
67838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67839 (eval $ac_try) 2>&5
67840 ac_status=$?
67841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67842 (exit $ac_status); }; } &&
67843 { ac_try='test -s conftest.$ac_objext'
67844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67845 (eval $ac_try) 2>&5
67846 ac_status=$?
67847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67848 (exit $ac_status); }; }; then
67849 glibcxx_cv_func__isnanf_use=yes
67850 else
67851 echo "$as_me: failed program was:" >&5
67852 sed 's/^/| /' conftest.$ac_ext >&5
67854 glibcxx_cv_func__isnanf_use=no
67856 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67857 ac_ext=c
67858 ac_cpp='$CPP $CPPFLAGS'
67859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67867 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
67868 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
67870 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
67872 for ac_func in _isnanf
67874 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67875 echo "$as_me:$LINENO: checking for $ac_func" >&5
67876 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67877 if eval "test \"\${$as_ac_var+set}\" = set"; then
67878 echo $ECHO_N "(cached) $ECHO_C" >&6
67879 else
67880 if test x$gcc_no_link = xyes; then
67881 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67882 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67883 { (exit 1); exit 1; }; }
67885 cat >conftest.$ac_ext <<_ACEOF
67886 /* confdefs.h. */
67887 _ACEOF
67888 cat confdefs.h >>conftest.$ac_ext
67889 cat >>conftest.$ac_ext <<_ACEOF
67890 /* end confdefs.h. */
67891 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67892 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67893 #define $ac_func innocuous_$ac_func
67895 /* System header to define __stub macros and hopefully few prototypes,
67896 which can conflict with char $ac_func (); below.
67897 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67898 <limits.h> exists even on freestanding compilers. */
67900 #ifdef __STDC__
67901 # include <limits.h>
67902 #else
67903 # include <assert.h>
67904 #endif
67906 #undef $ac_func
67908 /* Override any gcc2 internal prototype to avoid an error. */
67909 #ifdef __cplusplus
67910 extern "C"
67912 #endif
67913 /* We use char because int might match the return type of a gcc2
67914 builtin and then its argument prototype would still apply. */
67915 char $ac_func ();
67916 /* The GNU C library defines this for functions which it implements
67917 to always fail with ENOSYS. Some functions are actually named
67918 something starting with __ and the normal name is an alias. */
67919 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67920 choke me
67921 #else
67922 char (*f) () = $ac_func;
67923 #endif
67924 #ifdef __cplusplus
67926 #endif
67929 main ()
67931 return f != $ac_func;
67933 return 0;
67935 _ACEOF
67936 rm -f conftest.$ac_objext conftest$ac_exeext
67937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67938 (eval $ac_link) 2>conftest.er1
67939 ac_status=$?
67940 grep -v '^ *+' conftest.er1 >conftest.err
67941 rm -f conftest.er1
67942 cat conftest.err >&5
67943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67944 (exit $ac_status); } &&
67945 { ac_try='test -z "$ac_c_werror_flag"
67946 || test ! -s conftest.err'
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); }; } &&
67952 { ac_try='test -s conftest$ac_exeext'
67953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67954 (eval $ac_try) 2>&5
67955 ac_status=$?
67956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67957 (exit $ac_status); }; }; then
67958 eval "$as_ac_var=yes"
67959 else
67960 echo "$as_me: failed program was:" >&5
67961 sed 's/^/| /' conftest.$ac_ext >&5
67963 eval "$as_ac_var=no"
67965 rm -f conftest.err conftest.$ac_objext \
67966 conftest$ac_exeext conftest.$ac_ext
67968 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67969 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67970 if test `eval echo '${'$as_ac_var'}'` = yes; then
67971 cat >>confdefs.h <<_ACEOF
67972 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67973 _ACEOF
67976 done
67986 echo "$as_me:$LINENO: checking for isinff declaration" >&5
67987 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
67988 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
67989 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
67990 echo $ECHO_N "(cached) $ECHO_C" >&6
67991 else
67995 ac_ext=cc
67996 ac_cpp='$CXXCPP $CPPFLAGS'
67997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68001 cat >conftest.$ac_ext <<_ACEOF
68002 /* confdefs.h. */
68003 _ACEOF
68004 cat confdefs.h >>conftest.$ac_ext
68005 cat >>conftest.$ac_ext <<_ACEOF
68006 /* end confdefs.h. */
68007 #include <math.h>
68008 #ifdef HAVE_IEEEFP_H
68009 #include <ieeefp.h>
68010 #endif
68013 main ()
68015 isinff(0);
68017 return 0;
68019 _ACEOF
68020 rm -f conftest.$ac_objext
68021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68022 (eval $ac_compile) 2>conftest.er1
68023 ac_status=$?
68024 grep -v '^ *+' conftest.er1 >conftest.err
68025 rm -f conftest.er1
68026 cat conftest.err >&5
68027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68028 (exit $ac_status); } &&
68029 { ac_try='test -z "$ac_cxx_werror_flag"
68030 || test ! -s conftest.err'
68031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68032 (eval $ac_try) 2>&5
68033 ac_status=$?
68034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68035 (exit $ac_status); }; } &&
68036 { ac_try='test -s conftest.$ac_objext'
68037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68038 (eval $ac_try) 2>&5
68039 ac_status=$?
68040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68041 (exit $ac_status); }; }; then
68042 glibcxx_cv_func_isinff_use=yes
68043 else
68044 echo "$as_me: failed program was:" >&5
68045 sed 's/^/| /' conftest.$ac_ext >&5
68047 glibcxx_cv_func_isinff_use=no
68049 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68050 ac_ext=c
68051 ac_cpp='$CPP $CPPFLAGS'
68052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68060 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
68061 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
68063 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
68065 for ac_func in isinff
68067 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68068 echo "$as_me:$LINENO: checking for $ac_func" >&5
68069 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68070 if eval "test \"\${$as_ac_var+set}\" = set"; then
68071 echo $ECHO_N "(cached) $ECHO_C" >&6
68072 else
68073 if test x$gcc_no_link = xyes; then
68074 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68075 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68076 { (exit 1); exit 1; }; }
68078 cat >conftest.$ac_ext <<_ACEOF
68079 /* confdefs.h. */
68080 _ACEOF
68081 cat confdefs.h >>conftest.$ac_ext
68082 cat >>conftest.$ac_ext <<_ACEOF
68083 /* end confdefs.h. */
68084 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68085 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68086 #define $ac_func innocuous_$ac_func
68088 /* System header to define __stub macros and hopefully few prototypes,
68089 which can conflict with char $ac_func (); below.
68090 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68091 <limits.h> exists even on freestanding compilers. */
68093 #ifdef __STDC__
68094 # include <limits.h>
68095 #else
68096 # include <assert.h>
68097 #endif
68099 #undef $ac_func
68101 /* Override any gcc2 internal prototype to avoid an error. */
68102 #ifdef __cplusplus
68103 extern "C"
68105 #endif
68106 /* We use char because int might match the return type of a gcc2
68107 builtin and then its argument prototype would still apply. */
68108 char $ac_func ();
68109 /* The GNU C library defines this for functions which it implements
68110 to always fail with ENOSYS. Some functions are actually named
68111 something starting with __ and the normal name is an alias. */
68112 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68113 choke me
68114 #else
68115 char (*f) () = $ac_func;
68116 #endif
68117 #ifdef __cplusplus
68119 #endif
68122 main ()
68124 return f != $ac_func;
68126 return 0;
68128 _ACEOF
68129 rm -f conftest.$ac_objext conftest$ac_exeext
68130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68131 (eval $ac_link) 2>conftest.er1
68132 ac_status=$?
68133 grep -v '^ *+' conftest.er1 >conftest.err
68134 rm -f conftest.er1
68135 cat conftest.err >&5
68136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68137 (exit $ac_status); } &&
68138 { ac_try='test -z "$ac_c_werror_flag"
68139 || test ! -s conftest.err'
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); }; } &&
68145 { ac_try='test -s conftest$ac_exeext'
68146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68147 (eval $ac_try) 2>&5
68148 ac_status=$?
68149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68150 (exit $ac_status); }; }; then
68151 eval "$as_ac_var=yes"
68152 else
68153 echo "$as_me: failed program was:" >&5
68154 sed 's/^/| /' conftest.$ac_ext >&5
68156 eval "$as_ac_var=no"
68158 rm -f conftest.err conftest.$ac_objext \
68159 conftest$ac_exeext conftest.$ac_ext
68161 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68162 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68163 if test `eval echo '${'$as_ac_var'}'` = yes; then
68164 cat >>confdefs.h <<_ACEOF
68165 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68166 _ACEOF
68169 done
68171 else
68173 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
68174 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
68175 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
68176 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
68177 echo $ECHO_N "(cached) $ECHO_C" >&6
68178 else
68182 ac_ext=cc
68183 ac_cpp='$CXXCPP $CPPFLAGS'
68184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68188 cat >conftest.$ac_ext <<_ACEOF
68189 /* confdefs.h. */
68190 _ACEOF
68191 cat confdefs.h >>conftest.$ac_ext
68192 cat >>conftest.$ac_ext <<_ACEOF
68193 /* end confdefs.h. */
68194 #include <math.h>
68195 #ifdef HAVE_IEEEFP_H
68196 #include <ieeefp.h>
68197 #endif
68200 main ()
68202 _isinff(0);
68204 return 0;
68206 _ACEOF
68207 rm -f conftest.$ac_objext
68208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68209 (eval $ac_compile) 2>conftest.er1
68210 ac_status=$?
68211 grep -v '^ *+' conftest.er1 >conftest.err
68212 rm -f conftest.er1
68213 cat conftest.err >&5
68214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68215 (exit $ac_status); } &&
68216 { ac_try='test -z "$ac_cxx_werror_flag"
68217 || test ! -s conftest.err'
68218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68219 (eval $ac_try) 2>&5
68220 ac_status=$?
68221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68222 (exit $ac_status); }; } &&
68223 { ac_try='test -s conftest.$ac_objext'
68224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68225 (eval $ac_try) 2>&5
68226 ac_status=$?
68227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68228 (exit $ac_status); }; }; then
68229 glibcxx_cv_func__isinff_use=yes
68230 else
68231 echo "$as_me: failed program was:" >&5
68232 sed 's/^/| /' conftest.$ac_ext >&5
68234 glibcxx_cv_func__isinff_use=no
68236 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68237 ac_ext=c
68238 ac_cpp='$CPP $CPPFLAGS'
68239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68247 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
68248 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
68250 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
68252 for ac_func in _isinff
68254 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68255 echo "$as_me:$LINENO: checking for $ac_func" >&5
68256 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68257 if eval "test \"\${$as_ac_var+set}\" = set"; then
68258 echo $ECHO_N "(cached) $ECHO_C" >&6
68259 else
68260 if test x$gcc_no_link = xyes; then
68261 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68262 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68263 { (exit 1); exit 1; }; }
68265 cat >conftest.$ac_ext <<_ACEOF
68266 /* confdefs.h. */
68267 _ACEOF
68268 cat confdefs.h >>conftest.$ac_ext
68269 cat >>conftest.$ac_ext <<_ACEOF
68270 /* end confdefs.h. */
68271 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68272 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68273 #define $ac_func innocuous_$ac_func
68275 /* System header to define __stub macros and hopefully few prototypes,
68276 which can conflict with char $ac_func (); below.
68277 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68278 <limits.h> exists even on freestanding compilers. */
68280 #ifdef __STDC__
68281 # include <limits.h>
68282 #else
68283 # include <assert.h>
68284 #endif
68286 #undef $ac_func
68288 /* Override any gcc2 internal prototype to avoid an error. */
68289 #ifdef __cplusplus
68290 extern "C"
68292 #endif
68293 /* We use char because int might match the return type of a gcc2
68294 builtin and then its argument prototype would still apply. */
68295 char $ac_func ();
68296 /* The GNU C library defines this for functions which it implements
68297 to always fail with ENOSYS. Some functions are actually named
68298 something starting with __ and the normal name is an alias. */
68299 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68300 choke me
68301 #else
68302 char (*f) () = $ac_func;
68303 #endif
68304 #ifdef __cplusplus
68306 #endif
68309 main ()
68311 return f != $ac_func;
68313 return 0;
68315 _ACEOF
68316 rm -f conftest.$ac_objext conftest$ac_exeext
68317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68318 (eval $ac_link) 2>conftest.er1
68319 ac_status=$?
68320 grep -v '^ *+' conftest.er1 >conftest.err
68321 rm -f conftest.er1
68322 cat conftest.err >&5
68323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68324 (exit $ac_status); } &&
68325 { ac_try='test -z "$ac_c_werror_flag"
68326 || test ! -s conftest.err'
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); }; } &&
68332 { ac_try='test -s conftest$ac_exeext'
68333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68334 (eval $ac_try) 2>&5
68335 ac_status=$?
68336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68337 (exit $ac_status); }; }; then
68338 eval "$as_ac_var=yes"
68339 else
68340 echo "$as_me: failed program was:" >&5
68341 sed 's/^/| /' conftest.$ac_ext >&5
68343 eval "$as_ac_var=no"
68345 rm -f conftest.err conftest.$ac_objext \
68346 conftest$ac_exeext conftest.$ac_ext
68348 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68349 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68350 if test `eval echo '${'$as_ac_var'}'` = yes; then
68351 cat >>confdefs.h <<_ACEOF
68352 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68353 _ACEOF
68356 done
68366 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
68367 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
68368 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
68369 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
68370 echo $ECHO_N "(cached) $ECHO_C" >&6
68371 else
68375 ac_ext=cc
68376 ac_cpp='$CXXCPP $CPPFLAGS'
68377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68381 cat >conftest.$ac_ext <<_ACEOF
68382 /* confdefs.h. */
68383 _ACEOF
68384 cat confdefs.h >>conftest.$ac_ext
68385 cat >>conftest.$ac_ext <<_ACEOF
68386 /* end confdefs.h. */
68387 #include <math.h>
68389 main ()
68391 atan2f(0, 0);
68393 return 0;
68395 _ACEOF
68396 rm -f conftest.$ac_objext
68397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68398 (eval $ac_compile) 2>conftest.er1
68399 ac_status=$?
68400 grep -v '^ *+' conftest.er1 >conftest.err
68401 rm -f conftest.er1
68402 cat conftest.err >&5
68403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68404 (exit $ac_status); } &&
68405 { ac_try='test -z "$ac_cxx_werror_flag"
68406 || test ! -s conftest.err'
68407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68408 (eval $ac_try) 2>&5
68409 ac_status=$?
68410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68411 (exit $ac_status); }; } &&
68412 { ac_try='test -s conftest.$ac_objext'
68413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68414 (eval $ac_try) 2>&5
68415 ac_status=$?
68416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68417 (exit $ac_status); }; }; then
68418 glibcxx_cv_func_atan2f_use=yes
68419 else
68420 echo "$as_me: failed program was:" >&5
68421 sed 's/^/| /' conftest.$ac_ext >&5
68423 glibcxx_cv_func_atan2f_use=no
68425 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68426 ac_ext=c
68427 ac_cpp='$CPP $CPPFLAGS'
68428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68436 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
68437 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
68439 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
68441 for ac_func in atan2f
68443 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68444 echo "$as_me:$LINENO: checking for $ac_func" >&5
68445 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68446 if eval "test \"\${$as_ac_var+set}\" = set"; then
68447 echo $ECHO_N "(cached) $ECHO_C" >&6
68448 else
68449 if test x$gcc_no_link = xyes; then
68450 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68451 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68452 { (exit 1); exit 1; }; }
68454 cat >conftest.$ac_ext <<_ACEOF
68455 /* confdefs.h. */
68456 _ACEOF
68457 cat confdefs.h >>conftest.$ac_ext
68458 cat >>conftest.$ac_ext <<_ACEOF
68459 /* end confdefs.h. */
68460 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68461 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68462 #define $ac_func innocuous_$ac_func
68464 /* System header to define __stub macros and hopefully few prototypes,
68465 which can conflict with char $ac_func (); below.
68466 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68467 <limits.h> exists even on freestanding compilers. */
68469 #ifdef __STDC__
68470 # include <limits.h>
68471 #else
68472 # include <assert.h>
68473 #endif
68475 #undef $ac_func
68477 /* Override any gcc2 internal prototype to avoid an error. */
68478 #ifdef __cplusplus
68479 extern "C"
68481 #endif
68482 /* We use char because int might match the return type of a gcc2
68483 builtin and then its argument prototype would still apply. */
68484 char $ac_func ();
68485 /* The GNU C library defines this for functions which it implements
68486 to always fail with ENOSYS. Some functions are actually named
68487 something starting with __ and the normal name is an alias. */
68488 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68489 choke me
68490 #else
68491 char (*f) () = $ac_func;
68492 #endif
68493 #ifdef __cplusplus
68495 #endif
68498 main ()
68500 return f != $ac_func;
68502 return 0;
68504 _ACEOF
68505 rm -f conftest.$ac_objext conftest$ac_exeext
68506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68507 (eval $ac_link) 2>conftest.er1
68508 ac_status=$?
68509 grep -v '^ *+' conftest.er1 >conftest.err
68510 rm -f conftest.er1
68511 cat conftest.err >&5
68512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68513 (exit $ac_status); } &&
68514 { ac_try='test -z "$ac_c_werror_flag"
68515 || test ! -s conftest.err'
68516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68517 (eval $ac_try) 2>&5
68518 ac_status=$?
68519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68520 (exit $ac_status); }; } &&
68521 { ac_try='test -s conftest$ac_exeext'
68522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68523 (eval $ac_try) 2>&5
68524 ac_status=$?
68525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68526 (exit $ac_status); }; }; then
68527 eval "$as_ac_var=yes"
68528 else
68529 echo "$as_me: failed program was:" >&5
68530 sed 's/^/| /' conftest.$ac_ext >&5
68532 eval "$as_ac_var=no"
68534 rm -f conftest.err conftest.$ac_objext \
68535 conftest$ac_exeext conftest.$ac_ext
68537 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68538 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68539 if test `eval echo '${'$as_ac_var'}'` = yes; then
68540 cat >>confdefs.h <<_ACEOF
68541 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68542 _ACEOF
68545 done
68547 else
68549 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
68550 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
68551 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
68552 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
68553 echo $ECHO_N "(cached) $ECHO_C" >&6
68554 else
68558 ac_ext=cc
68559 ac_cpp='$CXXCPP $CPPFLAGS'
68560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68564 cat >conftest.$ac_ext <<_ACEOF
68565 /* confdefs.h. */
68566 _ACEOF
68567 cat confdefs.h >>conftest.$ac_ext
68568 cat >>conftest.$ac_ext <<_ACEOF
68569 /* end confdefs.h. */
68570 #include <math.h>
68572 main ()
68574 _atan2f(0, 0);
68576 return 0;
68578 _ACEOF
68579 rm -f conftest.$ac_objext
68580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68581 (eval $ac_compile) 2>conftest.er1
68582 ac_status=$?
68583 grep -v '^ *+' conftest.er1 >conftest.err
68584 rm -f conftest.er1
68585 cat conftest.err >&5
68586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68587 (exit $ac_status); } &&
68588 { ac_try='test -z "$ac_cxx_werror_flag"
68589 || test ! -s conftest.err'
68590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68591 (eval $ac_try) 2>&5
68592 ac_status=$?
68593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68594 (exit $ac_status); }; } &&
68595 { ac_try='test -s conftest.$ac_objext'
68596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68597 (eval $ac_try) 2>&5
68598 ac_status=$?
68599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68600 (exit $ac_status); }; }; then
68601 glibcxx_cv_func__atan2f_use=yes
68602 else
68603 echo "$as_me: failed program was:" >&5
68604 sed 's/^/| /' conftest.$ac_ext >&5
68606 glibcxx_cv_func__atan2f_use=no
68608 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68609 ac_ext=c
68610 ac_cpp='$CPP $CPPFLAGS'
68611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68619 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
68620 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
68622 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
68624 for ac_func in _atan2f
68626 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68627 echo "$as_me:$LINENO: checking for $ac_func" >&5
68628 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68629 if eval "test \"\${$as_ac_var+set}\" = set"; then
68630 echo $ECHO_N "(cached) $ECHO_C" >&6
68631 else
68632 if test x$gcc_no_link = xyes; then
68633 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68634 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68635 { (exit 1); exit 1; }; }
68637 cat >conftest.$ac_ext <<_ACEOF
68638 /* confdefs.h. */
68639 _ACEOF
68640 cat confdefs.h >>conftest.$ac_ext
68641 cat >>conftest.$ac_ext <<_ACEOF
68642 /* end confdefs.h. */
68643 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68644 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68645 #define $ac_func innocuous_$ac_func
68647 /* System header to define __stub macros and hopefully few prototypes,
68648 which can conflict with char $ac_func (); below.
68649 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68650 <limits.h> exists even on freestanding compilers. */
68652 #ifdef __STDC__
68653 # include <limits.h>
68654 #else
68655 # include <assert.h>
68656 #endif
68658 #undef $ac_func
68660 /* Override any gcc2 internal prototype to avoid an error. */
68661 #ifdef __cplusplus
68662 extern "C"
68664 #endif
68665 /* We use char because int might match the return type of a gcc2
68666 builtin and then its argument prototype would still apply. */
68667 char $ac_func ();
68668 /* The GNU C library defines this for functions which it implements
68669 to always fail with ENOSYS. Some functions are actually named
68670 something starting with __ and the normal name is an alias. */
68671 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68672 choke me
68673 #else
68674 char (*f) () = $ac_func;
68675 #endif
68676 #ifdef __cplusplus
68678 #endif
68681 main ()
68683 return f != $ac_func;
68685 return 0;
68687 _ACEOF
68688 rm -f conftest.$ac_objext conftest$ac_exeext
68689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68690 (eval $ac_link) 2>conftest.er1
68691 ac_status=$?
68692 grep -v '^ *+' conftest.er1 >conftest.err
68693 rm -f conftest.er1
68694 cat conftest.err >&5
68695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68696 (exit $ac_status); } &&
68697 { ac_try='test -z "$ac_c_werror_flag"
68698 || test ! -s conftest.err'
68699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68700 (eval $ac_try) 2>&5
68701 ac_status=$?
68702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68703 (exit $ac_status); }; } &&
68704 { ac_try='test -s conftest$ac_exeext'
68705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68706 (eval $ac_try) 2>&5
68707 ac_status=$?
68708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68709 (exit $ac_status); }; }; then
68710 eval "$as_ac_var=yes"
68711 else
68712 echo "$as_me: failed program was:" >&5
68713 sed 's/^/| /' conftest.$ac_ext >&5
68715 eval "$as_ac_var=no"
68717 rm -f conftest.err conftest.$ac_objext \
68718 conftest$ac_exeext conftest.$ac_ext
68720 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68721 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68722 if test `eval echo '${'$as_ac_var'}'` = yes; then
68723 cat >>confdefs.h <<_ACEOF
68724 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68725 _ACEOF
68728 done
68738 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
68739 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
68740 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
68741 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
68742 echo $ECHO_N "(cached) $ECHO_C" >&6
68743 else
68747 ac_ext=cc
68748 ac_cpp='$CXXCPP $CPPFLAGS'
68749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68753 cat >conftest.$ac_ext <<_ACEOF
68754 /* confdefs.h. */
68755 _ACEOF
68756 cat confdefs.h >>conftest.$ac_ext
68757 cat >>conftest.$ac_ext <<_ACEOF
68758 /* end confdefs.h. */
68759 #include <math.h>
68760 #ifdef HAVE_IEEEFP_H
68761 #include <ieeefp.h>
68762 #endif
68765 main ()
68767 fabsf(0);
68769 return 0;
68771 _ACEOF
68772 rm -f conftest.$ac_objext
68773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68774 (eval $ac_compile) 2>conftest.er1
68775 ac_status=$?
68776 grep -v '^ *+' conftest.er1 >conftest.err
68777 rm -f conftest.er1
68778 cat conftest.err >&5
68779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68780 (exit $ac_status); } &&
68781 { ac_try='test -z "$ac_cxx_werror_flag"
68782 || test ! -s conftest.err'
68783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68784 (eval $ac_try) 2>&5
68785 ac_status=$?
68786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68787 (exit $ac_status); }; } &&
68788 { ac_try='test -s conftest.$ac_objext'
68789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68790 (eval $ac_try) 2>&5
68791 ac_status=$?
68792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68793 (exit $ac_status); }; }; then
68794 glibcxx_cv_func_fabsf_use=yes
68795 else
68796 echo "$as_me: failed program was:" >&5
68797 sed 's/^/| /' conftest.$ac_ext >&5
68799 glibcxx_cv_func_fabsf_use=no
68801 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68802 ac_ext=c
68803 ac_cpp='$CPP $CPPFLAGS'
68804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68812 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
68813 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
68815 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
68817 for ac_func in fabsf
68819 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68820 echo "$as_me:$LINENO: checking for $ac_func" >&5
68821 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68822 if eval "test \"\${$as_ac_var+set}\" = set"; then
68823 echo $ECHO_N "(cached) $ECHO_C" >&6
68824 else
68825 if test x$gcc_no_link = xyes; then
68826 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68827 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68828 { (exit 1); exit 1; }; }
68830 cat >conftest.$ac_ext <<_ACEOF
68831 /* confdefs.h. */
68832 _ACEOF
68833 cat confdefs.h >>conftest.$ac_ext
68834 cat >>conftest.$ac_ext <<_ACEOF
68835 /* end confdefs.h. */
68836 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68837 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68838 #define $ac_func innocuous_$ac_func
68840 /* System header to define __stub macros and hopefully few prototypes,
68841 which can conflict with char $ac_func (); below.
68842 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68843 <limits.h> exists even on freestanding compilers. */
68845 #ifdef __STDC__
68846 # include <limits.h>
68847 #else
68848 # include <assert.h>
68849 #endif
68851 #undef $ac_func
68853 /* Override any gcc2 internal prototype to avoid an error. */
68854 #ifdef __cplusplus
68855 extern "C"
68857 #endif
68858 /* We use char because int might match the return type of a gcc2
68859 builtin and then its argument prototype would still apply. */
68860 char $ac_func ();
68861 /* The GNU C library defines this for functions which it implements
68862 to always fail with ENOSYS. Some functions are actually named
68863 something starting with __ and the normal name is an alias. */
68864 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68865 choke me
68866 #else
68867 char (*f) () = $ac_func;
68868 #endif
68869 #ifdef __cplusplus
68871 #endif
68874 main ()
68876 return f != $ac_func;
68878 return 0;
68880 _ACEOF
68881 rm -f conftest.$ac_objext conftest$ac_exeext
68882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68883 (eval $ac_link) 2>conftest.er1
68884 ac_status=$?
68885 grep -v '^ *+' conftest.er1 >conftest.err
68886 rm -f conftest.er1
68887 cat conftest.err >&5
68888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68889 (exit $ac_status); } &&
68890 { ac_try='test -z "$ac_c_werror_flag"
68891 || test ! -s conftest.err'
68892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68893 (eval $ac_try) 2>&5
68894 ac_status=$?
68895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68896 (exit $ac_status); }; } &&
68897 { ac_try='test -s conftest$ac_exeext'
68898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68899 (eval $ac_try) 2>&5
68900 ac_status=$?
68901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68902 (exit $ac_status); }; }; then
68903 eval "$as_ac_var=yes"
68904 else
68905 echo "$as_me: failed program was:" >&5
68906 sed 's/^/| /' conftest.$ac_ext >&5
68908 eval "$as_ac_var=no"
68910 rm -f conftest.err conftest.$ac_objext \
68911 conftest$ac_exeext conftest.$ac_ext
68913 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68914 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68915 if test `eval echo '${'$as_ac_var'}'` = yes; then
68916 cat >>confdefs.h <<_ACEOF
68917 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68918 _ACEOF
68921 done
68923 else
68925 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
68926 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
68927 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
68928 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
68929 echo $ECHO_N "(cached) $ECHO_C" >&6
68930 else
68934 ac_ext=cc
68935 ac_cpp='$CXXCPP $CPPFLAGS'
68936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68940 cat >conftest.$ac_ext <<_ACEOF
68941 /* confdefs.h. */
68942 _ACEOF
68943 cat confdefs.h >>conftest.$ac_ext
68944 cat >>conftest.$ac_ext <<_ACEOF
68945 /* end confdefs.h. */
68946 #include <math.h>
68947 #ifdef HAVE_IEEEFP_H
68948 #include <ieeefp.h>
68949 #endif
68952 main ()
68954 _fabsf(0);
68956 return 0;
68958 _ACEOF
68959 rm -f conftest.$ac_objext
68960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68961 (eval $ac_compile) 2>conftest.er1
68962 ac_status=$?
68963 grep -v '^ *+' conftest.er1 >conftest.err
68964 rm -f conftest.er1
68965 cat conftest.err >&5
68966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68967 (exit $ac_status); } &&
68968 { ac_try='test -z "$ac_cxx_werror_flag"
68969 || test ! -s conftest.err'
68970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68971 (eval $ac_try) 2>&5
68972 ac_status=$?
68973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68974 (exit $ac_status); }; } &&
68975 { ac_try='test -s conftest.$ac_objext'
68976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68977 (eval $ac_try) 2>&5
68978 ac_status=$?
68979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68980 (exit $ac_status); }; }; then
68981 glibcxx_cv_func__fabsf_use=yes
68982 else
68983 echo "$as_me: failed program was:" >&5
68984 sed 's/^/| /' conftest.$ac_ext >&5
68986 glibcxx_cv_func__fabsf_use=no
68988 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68989 ac_ext=c
68990 ac_cpp='$CPP $CPPFLAGS'
68991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68999 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
69000 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
69002 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
69004 for ac_func in _fabsf
69006 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69007 echo "$as_me:$LINENO: checking for $ac_func" >&5
69008 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69009 if eval "test \"\${$as_ac_var+set}\" = set"; then
69010 echo $ECHO_N "(cached) $ECHO_C" >&6
69011 else
69012 if test x$gcc_no_link = xyes; then
69013 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69014 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69015 { (exit 1); exit 1; }; }
69017 cat >conftest.$ac_ext <<_ACEOF
69018 /* confdefs.h. */
69019 _ACEOF
69020 cat confdefs.h >>conftest.$ac_ext
69021 cat >>conftest.$ac_ext <<_ACEOF
69022 /* end confdefs.h. */
69023 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69024 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69025 #define $ac_func innocuous_$ac_func
69027 /* System header to define __stub macros and hopefully few prototypes,
69028 which can conflict with char $ac_func (); below.
69029 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69030 <limits.h> exists even on freestanding compilers. */
69032 #ifdef __STDC__
69033 # include <limits.h>
69034 #else
69035 # include <assert.h>
69036 #endif
69038 #undef $ac_func
69040 /* Override any gcc2 internal prototype to avoid an error. */
69041 #ifdef __cplusplus
69042 extern "C"
69044 #endif
69045 /* We use char because int might match the return type of a gcc2
69046 builtin and then its argument prototype would still apply. */
69047 char $ac_func ();
69048 /* The GNU C library defines this for functions which it implements
69049 to always fail with ENOSYS. Some functions are actually named
69050 something starting with __ and the normal name is an alias. */
69051 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69052 choke me
69053 #else
69054 char (*f) () = $ac_func;
69055 #endif
69056 #ifdef __cplusplus
69058 #endif
69061 main ()
69063 return f != $ac_func;
69065 return 0;
69067 _ACEOF
69068 rm -f conftest.$ac_objext conftest$ac_exeext
69069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69070 (eval $ac_link) 2>conftest.er1
69071 ac_status=$?
69072 grep -v '^ *+' conftest.er1 >conftest.err
69073 rm -f conftest.er1
69074 cat conftest.err >&5
69075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69076 (exit $ac_status); } &&
69077 { ac_try='test -z "$ac_c_werror_flag"
69078 || test ! -s conftest.err'
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); }; } &&
69084 { ac_try='test -s conftest$ac_exeext'
69085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69086 (eval $ac_try) 2>&5
69087 ac_status=$?
69088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69089 (exit $ac_status); }; }; then
69090 eval "$as_ac_var=yes"
69091 else
69092 echo "$as_me: failed program was:" >&5
69093 sed 's/^/| /' conftest.$ac_ext >&5
69095 eval "$as_ac_var=no"
69097 rm -f conftest.err conftest.$ac_objext \
69098 conftest$ac_exeext conftest.$ac_ext
69100 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69101 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69102 if test `eval echo '${'$as_ac_var'}'` = yes; then
69103 cat >>confdefs.h <<_ACEOF
69104 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69105 _ACEOF
69108 done
69118 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
69119 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
69120 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
69121 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
69122 echo $ECHO_N "(cached) $ECHO_C" >&6
69123 else
69127 ac_ext=cc
69128 ac_cpp='$CXXCPP $CPPFLAGS'
69129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69133 cat >conftest.$ac_ext <<_ACEOF
69134 /* confdefs.h. */
69135 _ACEOF
69136 cat confdefs.h >>conftest.$ac_ext
69137 cat >>conftest.$ac_ext <<_ACEOF
69138 /* end confdefs.h. */
69139 #include <math.h>
69141 main ()
69143 fmodf(0, 0);
69145 return 0;
69147 _ACEOF
69148 rm -f conftest.$ac_objext
69149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69150 (eval $ac_compile) 2>conftest.er1
69151 ac_status=$?
69152 grep -v '^ *+' conftest.er1 >conftest.err
69153 rm -f conftest.er1
69154 cat conftest.err >&5
69155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69156 (exit $ac_status); } &&
69157 { ac_try='test -z "$ac_cxx_werror_flag"
69158 || test ! -s conftest.err'
69159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69160 (eval $ac_try) 2>&5
69161 ac_status=$?
69162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69163 (exit $ac_status); }; } &&
69164 { ac_try='test -s conftest.$ac_objext'
69165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69166 (eval $ac_try) 2>&5
69167 ac_status=$?
69168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69169 (exit $ac_status); }; }; then
69170 glibcxx_cv_func_fmodf_use=yes
69171 else
69172 echo "$as_me: failed program was:" >&5
69173 sed 's/^/| /' conftest.$ac_ext >&5
69175 glibcxx_cv_func_fmodf_use=no
69177 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69178 ac_ext=c
69179 ac_cpp='$CPP $CPPFLAGS'
69180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69188 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
69189 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
69191 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
69193 for ac_func in fmodf
69195 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69196 echo "$as_me:$LINENO: checking for $ac_func" >&5
69197 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69198 if eval "test \"\${$as_ac_var+set}\" = set"; then
69199 echo $ECHO_N "(cached) $ECHO_C" >&6
69200 else
69201 if test x$gcc_no_link = xyes; then
69202 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69203 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69204 { (exit 1); exit 1; }; }
69206 cat >conftest.$ac_ext <<_ACEOF
69207 /* confdefs.h. */
69208 _ACEOF
69209 cat confdefs.h >>conftest.$ac_ext
69210 cat >>conftest.$ac_ext <<_ACEOF
69211 /* end confdefs.h. */
69212 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69213 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69214 #define $ac_func innocuous_$ac_func
69216 /* System header to define __stub macros and hopefully few prototypes,
69217 which can conflict with char $ac_func (); below.
69218 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69219 <limits.h> exists even on freestanding compilers. */
69221 #ifdef __STDC__
69222 # include <limits.h>
69223 #else
69224 # include <assert.h>
69225 #endif
69227 #undef $ac_func
69229 /* Override any gcc2 internal prototype to avoid an error. */
69230 #ifdef __cplusplus
69231 extern "C"
69233 #endif
69234 /* We use char because int might match the return type of a gcc2
69235 builtin and then its argument prototype would still apply. */
69236 char $ac_func ();
69237 /* The GNU C library defines this for functions which it implements
69238 to always fail with ENOSYS. Some functions are actually named
69239 something starting with __ and the normal name is an alias. */
69240 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69241 choke me
69242 #else
69243 char (*f) () = $ac_func;
69244 #endif
69245 #ifdef __cplusplus
69247 #endif
69250 main ()
69252 return f != $ac_func;
69254 return 0;
69256 _ACEOF
69257 rm -f conftest.$ac_objext conftest$ac_exeext
69258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69259 (eval $ac_link) 2>conftest.er1
69260 ac_status=$?
69261 grep -v '^ *+' conftest.er1 >conftest.err
69262 rm -f conftest.er1
69263 cat conftest.err >&5
69264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69265 (exit $ac_status); } &&
69266 { ac_try='test -z "$ac_c_werror_flag"
69267 || test ! -s conftest.err'
69268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69269 (eval $ac_try) 2>&5
69270 ac_status=$?
69271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69272 (exit $ac_status); }; } &&
69273 { ac_try='test -s conftest$ac_exeext'
69274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69275 (eval $ac_try) 2>&5
69276 ac_status=$?
69277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69278 (exit $ac_status); }; }; then
69279 eval "$as_ac_var=yes"
69280 else
69281 echo "$as_me: failed program was:" >&5
69282 sed 's/^/| /' conftest.$ac_ext >&5
69284 eval "$as_ac_var=no"
69286 rm -f conftest.err conftest.$ac_objext \
69287 conftest$ac_exeext conftest.$ac_ext
69289 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69290 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69291 if test `eval echo '${'$as_ac_var'}'` = yes; then
69292 cat >>confdefs.h <<_ACEOF
69293 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69294 _ACEOF
69297 done
69299 else
69301 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
69302 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
69303 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
69304 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
69305 echo $ECHO_N "(cached) $ECHO_C" >&6
69306 else
69310 ac_ext=cc
69311 ac_cpp='$CXXCPP $CPPFLAGS'
69312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69316 cat >conftest.$ac_ext <<_ACEOF
69317 /* confdefs.h. */
69318 _ACEOF
69319 cat confdefs.h >>conftest.$ac_ext
69320 cat >>conftest.$ac_ext <<_ACEOF
69321 /* end confdefs.h. */
69322 #include <math.h>
69324 main ()
69326 _fmodf(0, 0);
69328 return 0;
69330 _ACEOF
69331 rm -f conftest.$ac_objext
69332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69333 (eval $ac_compile) 2>conftest.er1
69334 ac_status=$?
69335 grep -v '^ *+' conftest.er1 >conftest.err
69336 rm -f conftest.er1
69337 cat conftest.err >&5
69338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69339 (exit $ac_status); } &&
69340 { ac_try='test -z "$ac_cxx_werror_flag"
69341 || test ! -s conftest.err'
69342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69343 (eval $ac_try) 2>&5
69344 ac_status=$?
69345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69346 (exit $ac_status); }; } &&
69347 { ac_try='test -s conftest.$ac_objext'
69348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69349 (eval $ac_try) 2>&5
69350 ac_status=$?
69351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69352 (exit $ac_status); }; }; then
69353 glibcxx_cv_func__fmodf_use=yes
69354 else
69355 echo "$as_me: failed program was:" >&5
69356 sed 's/^/| /' conftest.$ac_ext >&5
69358 glibcxx_cv_func__fmodf_use=no
69360 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69361 ac_ext=c
69362 ac_cpp='$CPP $CPPFLAGS'
69363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69371 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
69372 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
69374 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
69376 for ac_func in _fmodf
69378 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69379 echo "$as_me:$LINENO: checking for $ac_func" >&5
69380 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69381 if eval "test \"\${$as_ac_var+set}\" = set"; then
69382 echo $ECHO_N "(cached) $ECHO_C" >&6
69383 else
69384 if test x$gcc_no_link = xyes; then
69385 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69386 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69387 { (exit 1); exit 1; }; }
69389 cat >conftest.$ac_ext <<_ACEOF
69390 /* confdefs.h. */
69391 _ACEOF
69392 cat confdefs.h >>conftest.$ac_ext
69393 cat >>conftest.$ac_ext <<_ACEOF
69394 /* end confdefs.h. */
69395 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69396 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69397 #define $ac_func innocuous_$ac_func
69399 /* System header to define __stub macros and hopefully few prototypes,
69400 which can conflict with char $ac_func (); below.
69401 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69402 <limits.h> exists even on freestanding compilers. */
69404 #ifdef __STDC__
69405 # include <limits.h>
69406 #else
69407 # include <assert.h>
69408 #endif
69410 #undef $ac_func
69412 /* Override any gcc2 internal prototype to avoid an error. */
69413 #ifdef __cplusplus
69414 extern "C"
69416 #endif
69417 /* We use char because int might match the return type of a gcc2
69418 builtin and then its argument prototype would still apply. */
69419 char $ac_func ();
69420 /* The GNU C library defines this for functions which it implements
69421 to always fail with ENOSYS. Some functions are actually named
69422 something starting with __ and the normal name is an alias. */
69423 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69424 choke me
69425 #else
69426 char (*f) () = $ac_func;
69427 #endif
69428 #ifdef __cplusplus
69430 #endif
69433 main ()
69435 return f != $ac_func;
69437 return 0;
69439 _ACEOF
69440 rm -f conftest.$ac_objext conftest$ac_exeext
69441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69442 (eval $ac_link) 2>conftest.er1
69443 ac_status=$?
69444 grep -v '^ *+' conftest.er1 >conftest.err
69445 rm -f conftest.er1
69446 cat conftest.err >&5
69447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69448 (exit $ac_status); } &&
69449 { ac_try='test -z "$ac_c_werror_flag"
69450 || test ! -s conftest.err'
69451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69452 (eval $ac_try) 2>&5
69453 ac_status=$?
69454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69455 (exit $ac_status); }; } &&
69456 { ac_try='test -s conftest$ac_exeext'
69457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69458 (eval $ac_try) 2>&5
69459 ac_status=$?
69460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69461 (exit $ac_status); }; }; then
69462 eval "$as_ac_var=yes"
69463 else
69464 echo "$as_me: failed program was:" >&5
69465 sed 's/^/| /' conftest.$ac_ext >&5
69467 eval "$as_ac_var=no"
69469 rm -f conftest.err conftest.$ac_objext \
69470 conftest$ac_exeext conftest.$ac_ext
69472 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69473 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69474 if test `eval echo '${'$as_ac_var'}'` = yes; then
69475 cat >>confdefs.h <<_ACEOF
69476 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69477 _ACEOF
69480 done
69490 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
69491 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
69492 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
69493 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
69494 echo $ECHO_N "(cached) $ECHO_C" >&6
69495 else
69499 ac_ext=cc
69500 ac_cpp='$CXXCPP $CPPFLAGS'
69501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69505 cat >conftest.$ac_ext <<_ACEOF
69506 /* confdefs.h. */
69507 _ACEOF
69508 cat confdefs.h >>conftest.$ac_ext
69509 cat >>conftest.$ac_ext <<_ACEOF
69510 /* end confdefs.h. */
69511 #include <math.h>
69513 main ()
69515 frexpf(0, 0);
69517 return 0;
69519 _ACEOF
69520 rm -f conftest.$ac_objext
69521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69522 (eval $ac_compile) 2>conftest.er1
69523 ac_status=$?
69524 grep -v '^ *+' conftest.er1 >conftest.err
69525 rm -f conftest.er1
69526 cat conftest.err >&5
69527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69528 (exit $ac_status); } &&
69529 { ac_try='test -z "$ac_cxx_werror_flag"
69530 || test ! -s conftest.err'
69531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69532 (eval $ac_try) 2>&5
69533 ac_status=$?
69534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69535 (exit $ac_status); }; } &&
69536 { ac_try='test -s conftest.$ac_objext'
69537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69538 (eval $ac_try) 2>&5
69539 ac_status=$?
69540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69541 (exit $ac_status); }; }; then
69542 glibcxx_cv_func_frexpf_use=yes
69543 else
69544 echo "$as_me: failed program was:" >&5
69545 sed 's/^/| /' conftest.$ac_ext >&5
69547 glibcxx_cv_func_frexpf_use=no
69549 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69550 ac_ext=c
69551 ac_cpp='$CPP $CPPFLAGS'
69552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69560 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
69561 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
69563 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
69565 for ac_func in frexpf
69567 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69568 echo "$as_me:$LINENO: checking for $ac_func" >&5
69569 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69570 if eval "test \"\${$as_ac_var+set}\" = set"; then
69571 echo $ECHO_N "(cached) $ECHO_C" >&6
69572 else
69573 if test x$gcc_no_link = xyes; then
69574 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69575 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69576 { (exit 1); exit 1; }; }
69578 cat >conftest.$ac_ext <<_ACEOF
69579 /* confdefs.h. */
69580 _ACEOF
69581 cat confdefs.h >>conftest.$ac_ext
69582 cat >>conftest.$ac_ext <<_ACEOF
69583 /* end confdefs.h. */
69584 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69585 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69586 #define $ac_func innocuous_$ac_func
69588 /* System header to define __stub macros and hopefully few prototypes,
69589 which can conflict with char $ac_func (); below.
69590 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69591 <limits.h> exists even on freestanding compilers. */
69593 #ifdef __STDC__
69594 # include <limits.h>
69595 #else
69596 # include <assert.h>
69597 #endif
69599 #undef $ac_func
69601 /* Override any gcc2 internal prototype to avoid an error. */
69602 #ifdef __cplusplus
69603 extern "C"
69605 #endif
69606 /* We use char because int might match the return type of a gcc2
69607 builtin and then its argument prototype would still apply. */
69608 char $ac_func ();
69609 /* The GNU C library defines this for functions which it implements
69610 to always fail with ENOSYS. Some functions are actually named
69611 something starting with __ and the normal name is an alias. */
69612 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69613 choke me
69614 #else
69615 char (*f) () = $ac_func;
69616 #endif
69617 #ifdef __cplusplus
69619 #endif
69622 main ()
69624 return f != $ac_func;
69626 return 0;
69628 _ACEOF
69629 rm -f conftest.$ac_objext conftest$ac_exeext
69630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69631 (eval $ac_link) 2>conftest.er1
69632 ac_status=$?
69633 grep -v '^ *+' conftest.er1 >conftest.err
69634 rm -f conftest.er1
69635 cat conftest.err >&5
69636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69637 (exit $ac_status); } &&
69638 { ac_try='test -z "$ac_c_werror_flag"
69639 || test ! -s conftest.err'
69640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69641 (eval $ac_try) 2>&5
69642 ac_status=$?
69643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69644 (exit $ac_status); }; } &&
69645 { ac_try='test -s conftest$ac_exeext'
69646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69647 (eval $ac_try) 2>&5
69648 ac_status=$?
69649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69650 (exit $ac_status); }; }; then
69651 eval "$as_ac_var=yes"
69652 else
69653 echo "$as_me: failed program was:" >&5
69654 sed 's/^/| /' conftest.$ac_ext >&5
69656 eval "$as_ac_var=no"
69658 rm -f conftest.err conftest.$ac_objext \
69659 conftest$ac_exeext conftest.$ac_ext
69661 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69662 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69663 if test `eval echo '${'$as_ac_var'}'` = yes; then
69664 cat >>confdefs.h <<_ACEOF
69665 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69666 _ACEOF
69669 done
69671 else
69673 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
69674 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
69675 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
69676 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
69677 echo $ECHO_N "(cached) $ECHO_C" >&6
69678 else
69682 ac_ext=cc
69683 ac_cpp='$CXXCPP $CPPFLAGS'
69684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69688 cat >conftest.$ac_ext <<_ACEOF
69689 /* confdefs.h. */
69690 _ACEOF
69691 cat confdefs.h >>conftest.$ac_ext
69692 cat >>conftest.$ac_ext <<_ACEOF
69693 /* end confdefs.h. */
69694 #include <math.h>
69696 main ()
69698 _frexpf(0, 0);
69700 return 0;
69702 _ACEOF
69703 rm -f conftest.$ac_objext
69704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69705 (eval $ac_compile) 2>conftest.er1
69706 ac_status=$?
69707 grep -v '^ *+' conftest.er1 >conftest.err
69708 rm -f conftest.er1
69709 cat conftest.err >&5
69710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69711 (exit $ac_status); } &&
69712 { ac_try='test -z "$ac_cxx_werror_flag"
69713 || test ! -s conftest.err'
69714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69715 (eval $ac_try) 2>&5
69716 ac_status=$?
69717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69718 (exit $ac_status); }; } &&
69719 { ac_try='test -s conftest.$ac_objext'
69720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69721 (eval $ac_try) 2>&5
69722 ac_status=$?
69723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69724 (exit $ac_status); }; }; then
69725 glibcxx_cv_func__frexpf_use=yes
69726 else
69727 echo "$as_me: failed program was:" >&5
69728 sed 's/^/| /' conftest.$ac_ext >&5
69730 glibcxx_cv_func__frexpf_use=no
69732 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69733 ac_ext=c
69734 ac_cpp='$CPP $CPPFLAGS'
69735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69743 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
69744 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
69746 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
69748 for ac_func in _frexpf
69750 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69751 echo "$as_me:$LINENO: checking for $ac_func" >&5
69752 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69753 if eval "test \"\${$as_ac_var+set}\" = set"; then
69754 echo $ECHO_N "(cached) $ECHO_C" >&6
69755 else
69756 if test x$gcc_no_link = xyes; then
69757 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69758 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69759 { (exit 1); exit 1; }; }
69761 cat >conftest.$ac_ext <<_ACEOF
69762 /* confdefs.h. */
69763 _ACEOF
69764 cat confdefs.h >>conftest.$ac_ext
69765 cat >>conftest.$ac_ext <<_ACEOF
69766 /* end confdefs.h. */
69767 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69768 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69769 #define $ac_func innocuous_$ac_func
69771 /* System header to define __stub macros and hopefully few prototypes,
69772 which can conflict with char $ac_func (); below.
69773 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69774 <limits.h> exists even on freestanding compilers. */
69776 #ifdef __STDC__
69777 # include <limits.h>
69778 #else
69779 # include <assert.h>
69780 #endif
69782 #undef $ac_func
69784 /* Override any gcc2 internal prototype to avoid an error. */
69785 #ifdef __cplusplus
69786 extern "C"
69788 #endif
69789 /* We use char because int might match the return type of a gcc2
69790 builtin and then its argument prototype would still apply. */
69791 char $ac_func ();
69792 /* The GNU C library defines this for functions which it implements
69793 to always fail with ENOSYS. Some functions are actually named
69794 something starting with __ and the normal name is an alias. */
69795 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69796 choke me
69797 #else
69798 char (*f) () = $ac_func;
69799 #endif
69800 #ifdef __cplusplus
69802 #endif
69805 main ()
69807 return f != $ac_func;
69809 return 0;
69811 _ACEOF
69812 rm -f conftest.$ac_objext conftest$ac_exeext
69813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69814 (eval $ac_link) 2>conftest.er1
69815 ac_status=$?
69816 grep -v '^ *+' conftest.er1 >conftest.err
69817 rm -f conftest.er1
69818 cat conftest.err >&5
69819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69820 (exit $ac_status); } &&
69821 { ac_try='test -z "$ac_c_werror_flag"
69822 || test ! -s conftest.err'
69823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69824 (eval $ac_try) 2>&5
69825 ac_status=$?
69826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69827 (exit $ac_status); }; } &&
69828 { ac_try='test -s conftest$ac_exeext'
69829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69830 (eval $ac_try) 2>&5
69831 ac_status=$?
69832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69833 (exit $ac_status); }; }; then
69834 eval "$as_ac_var=yes"
69835 else
69836 echo "$as_me: failed program was:" >&5
69837 sed 's/^/| /' conftest.$ac_ext >&5
69839 eval "$as_ac_var=no"
69841 rm -f conftest.err conftest.$ac_objext \
69842 conftest$ac_exeext conftest.$ac_ext
69844 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69845 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69846 if test `eval echo '${'$as_ac_var'}'` = yes; then
69847 cat >>confdefs.h <<_ACEOF
69848 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69849 _ACEOF
69852 done
69862 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
69863 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
69864 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
69865 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
69866 echo $ECHO_N "(cached) $ECHO_C" >&6
69867 else
69871 ac_ext=cc
69872 ac_cpp='$CXXCPP $CPPFLAGS'
69873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69877 cat >conftest.$ac_ext <<_ACEOF
69878 /* confdefs.h. */
69879 _ACEOF
69880 cat confdefs.h >>conftest.$ac_ext
69881 cat >>conftest.$ac_ext <<_ACEOF
69882 /* end confdefs.h. */
69883 #include <math.h>
69885 main ()
69887 hypotf(0, 0);
69889 return 0;
69891 _ACEOF
69892 rm -f conftest.$ac_objext
69893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69894 (eval $ac_compile) 2>conftest.er1
69895 ac_status=$?
69896 grep -v '^ *+' conftest.er1 >conftest.err
69897 rm -f conftest.er1
69898 cat conftest.err >&5
69899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69900 (exit $ac_status); } &&
69901 { ac_try='test -z "$ac_cxx_werror_flag"
69902 || test ! -s conftest.err'
69903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69904 (eval $ac_try) 2>&5
69905 ac_status=$?
69906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69907 (exit $ac_status); }; } &&
69908 { ac_try='test -s conftest.$ac_objext'
69909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69910 (eval $ac_try) 2>&5
69911 ac_status=$?
69912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69913 (exit $ac_status); }; }; then
69914 glibcxx_cv_func_hypotf_use=yes
69915 else
69916 echo "$as_me: failed program was:" >&5
69917 sed 's/^/| /' conftest.$ac_ext >&5
69919 glibcxx_cv_func_hypotf_use=no
69921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69922 ac_ext=c
69923 ac_cpp='$CPP $CPPFLAGS'
69924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69932 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
69933 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
69935 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
69937 for ac_func in hypotf
69939 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69940 echo "$as_me:$LINENO: checking for $ac_func" >&5
69941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69942 if eval "test \"\${$as_ac_var+set}\" = set"; then
69943 echo $ECHO_N "(cached) $ECHO_C" >&6
69944 else
69945 if test x$gcc_no_link = xyes; then
69946 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69947 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69948 { (exit 1); exit 1; }; }
69950 cat >conftest.$ac_ext <<_ACEOF
69951 /* confdefs.h. */
69952 _ACEOF
69953 cat confdefs.h >>conftest.$ac_ext
69954 cat >>conftest.$ac_ext <<_ACEOF
69955 /* end confdefs.h. */
69956 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69957 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69958 #define $ac_func innocuous_$ac_func
69960 /* System header to define __stub macros and hopefully few prototypes,
69961 which can conflict with char $ac_func (); below.
69962 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69963 <limits.h> exists even on freestanding compilers. */
69965 #ifdef __STDC__
69966 # include <limits.h>
69967 #else
69968 # include <assert.h>
69969 #endif
69971 #undef $ac_func
69973 /* Override any gcc2 internal prototype to avoid an error. */
69974 #ifdef __cplusplus
69975 extern "C"
69977 #endif
69978 /* We use char because int might match the return type of a gcc2
69979 builtin and then its argument prototype would still apply. */
69980 char $ac_func ();
69981 /* The GNU C library defines this for functions which it implements
69982 to always fail with ENOSYS. Some functions are actually named
69983 something starting with __ and the normal name is an alias. */
69984 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69985 choke me
69986 #else
69987 char (*f) () = $ac_func;
69988 #endif
69989 #ifdef __cplusplus
69991 #endif
69994 main ()
69996 return f != $ac_func;
69998 return 0;
70000 _ACEOF
70001 rm -f conftest.$ac_objext conftest$ac_exeext
70002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70003 (eval $ac_link) 2>conftest.er1
70004 ac_status=$?
70005 grep -v '^ *+' conftest.er1 >conftest.err
70006 rm -f conftest.er1
70007 cat conftest.err >&5
70008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70009 (exit $ac_status); } &&
70010 { ac_try='test -z "$ac_c_werror_flag"
70011 || test ! -s conftest.err'
70012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70013 (eval $ac_try) 2>&5
70014 ac_status=$?
70015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70016 (exit $ac_status); }; } &&
70017 { ac_try='test -s conftest$ac_exeext'
70018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70019 (eval $ac_try) 2>&5
70020 ac_status=$?
70021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70022 (exit $ac_status); }; }; then
70023 eval "$as_ac_var=yes"
70024 else
70025 echo "$as_me: failed program was:" >&5
70026 sed 's/^/| /' conftest.$ac_ext >&5
70028 eval "$as_ac_var=no"
70030 rm -f conftest.err conftest.$ac_objext \
70031 conftest$ac_exeext conftest.$ac_ext
70033 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70034 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70035 if test `eval echo '${'$as_ac_var'}'` = yes; then
70036 cat >>confdefs.h <<_ACEOF
70037 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70038 _ACEOF
70041 done
70043 else
70045 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
70046 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
70047 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
70048 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
70049 echo $ECHO_N "(cached) $ECHO_C" >&6
70050 else
70054 ac_ext=cc
70055 ac_cpp='$CXXCPP $CPPFLAGS'
70056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70060 cat >conftest.$ac_ext <<_ACEOF
70061 /* confdefs.h. */
70062 _ACEOF
70063 cat confdefs.h >>conftest.$ac_ext
70064 cat >>conftest.$ac_ext <<_ACEOF
70065 /* end confdefs.h. */
70066 #include <math.h>
70068 main ()
70070 _hypotf(0, 0);
70072 return 0;
70074 _ACEOF
70075 rm -f conftest.$ac_objext
70076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70077 (eval $ac_compile) 2>conftest.er1
70078 ac_status=$?
70079 grep -v '^ *+' conftest.er1 >conftest.err
70080 rm -f conftest.er1
70081 cat conftest.err >&5
70082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70083 (exit $ac_status); } &&
70084 { ac_try='test -z "$ac_cxx_werror_flag"
70085 || test ! -s conftest.err'
70086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70087 (eval $ac_try) 2>&5
70088 ac_status=$?
70089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70090 (exit $ac_status); }; } &&
70091 { ac_try='test -s conftest.$ac_objext'
70092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70093 (eval $ac_try) 2>&5
70094 ac_status=$?
70095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70096 (exit $ac_status); }; }; then
70097 glibcxx_cv_func__hypotf_use=yes
70098 else
70099 echo "$as_me: failed program was:" >&5
70100 sed 's/^/| /' conftest.$ac_ext >&5
70102 glibcxx_cv_func__hypotf_use=no
70104 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70105 ac_ext=c
70106 ac_cpp='$CPP $CPPFLAGS'
70107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70115 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
70116 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
70118 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
70120 for ac_func in _hypotf
70122 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70123 echo "$as_me:$LINENO: checking for $ac_func" >&5
70124 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70125 if eval "test \"\${$as_ac_var+set}\" = set"; then
70126 echo $ECHO_N "(cached) $ECHO_C" >&6
70127 else
70128 if test x$gcc_no_link = xyes; then
70129 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70130 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70131 { (exit 1); exit 1; }; }
70133 cat >conftest.$ac_ext <<_ACEOF
70134 /* confdefs.h. */
70135 _ACEOF
70136 cat confdefs.h >>conftest.$ac_ext
70137 cat >>conftest.$ac_ext <<_ACEOF
70138 /* end confdefs.h. */
70139 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70140 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70141 #define $ac_func innocuous_$ac_func
70143 /* System header to define __stub macros and hopefully few prototypes,
70144 which can conflict with char $ac_func (); below.
70145 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70146 <limits.h> exists even on freestanding compilers. */
70148 #ifdef __STDC__
70149 # include <limits.h>
70150 #else
70151 # include <assert.h>
70152 #endif
70154 #undef $ac_func
70156 /* Override any gcc2 internal prototype to avoid an error. */
70157 #ifdef __cplusplus
70158 extern "C"
70160 #endif
70161 /* We use char because int might match the return type of a gcc2
70162 builtin and then its argument prototype would still apply. */
70163 char $ac_func ();
70164 /* The GNU C library defines this for functions which it implements
70165 to always fail with ENOSYS. Some functions are actually named
70166 something starting with __ and the normal name is an alias. */
70167 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70168 choke me
70169 #else
70170 char (*f) () = $ac_func;
70171 #endif
70172 #ifdef __cplusplus
70174 #endif
70177 main ()
70179 return f != $ac_func;
70181 return 0;
70183 _ACEOF
70184 rm -f conftest.$ac_objext conftest$ac_exeext
70185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70186 (eval $ac_link) 2>conftest.er1
70187 ac_status=$?
70188 grep -v '^ *+' conftest.er1 >conftest.err
70189 rm -f conftest.er1
70190 cat conftest.err >&5
70191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70192 (exit $ac_status); } &&
70193 { ac_try='test -z "$ac_c_werror_flag"
70194 || test ! -s conftest.err'
70195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70196 (eval $ac_try) 2>&5
70197 ac_status=$?
70198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70199 (exit $ac_status); }; } &&
70200 { ac_try='test -s conftest$ac_exeext'
70201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70202 (eval $ac_try) 2>&5
70203 ac_status=$?
70204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70205 (exit $ac_status); }; }; then
70206 eval "$as_ac_var=yes"
70207 else
70208 echo "$as_me: failed program was:" >&5
70209 sed 's/^/| /' conftest.$ac_ext >&5
70211 eval "$as_ac_var=no"
70213 rm -f conftest.err conftest.$ac_objext \
70214 conftest$ac_exeext conftest.$ac_ext
70216 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70217 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70218 if test `eval echo '${'$as_ac_var'}'` = yes; then
70219 cat >>confdefs.h <<_ACEOF
70220 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70221 _ACEOF
70224 done
70234 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
70235 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
70236 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
70237 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
70238 echo $ECHO_N "(cached) $ECHO_C" >&6
70239 else
70243 ac_ext=cc
70244 ac_cpp='$CXXCPP $CPPFLAGS'
70245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70249 cat >conftest.$ac_ext <<_ACEOF
70250 /* confdefs.h. */
70251 _ACEOF
70252 cat confdefs.h >>conftest.$ac_ext
70253 cat >>conftest.$ac_ext <<_ACEOF
70254 /* end confdefs.h. */
70255 #include <math.h>
70257 main ()
70259 ldexpf(0, 0);
70261 return 0;
70263 _ACEOF
70264 rm -f conftest.$ac_objext
70265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70266 (eval $ac_compile) 2>conftest.er1
70267 ac_status=$?
70268 grep -v '^ *+' conftest.er1 >conftest.err
70269 rm -f conftest.er1
70270 cat conftest.err >&5
70271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70272 (exit $ac_status); } &&
70273 { ac_try='test -z "$ac_cxx_werror_flag"
70274 || test ! -s conftest.err'
70275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70276 (eval $ac_try) 2>&5
70277 ac_status=$?
70278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70279 (exit $ac_status); }; } &&
70280 { ac_try='test -s conftest.$ac_objext'
70281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70282 (eval $ac_try) 2>&5
70283 ac_status=$?
70284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70285 (exit $ac_status); }; }; then
70286 glibcxx_cv_func_ldexpf_use=yes
70287 else
70288 echo "$as_me: failed program was:" >&5
70289 sed 's/^/| /' conftest.$ac_ext >&5
70291 glibcxx_cv_func_ldexpf_use=no
70293 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70294 ac_ext=c
70295 ac_cpp='$CPP $CPPFLAGS'
70296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70304 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
70305 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
70307 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
70309 for ac_func in ldexpf
70311 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70312 echo "$as_me:$LINENO: checking for $ac_func" >&5
70313 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70314 if eval "test \"\${$as_ac_var+set}\" = set"; then
70315 echo $ECHO_N "(cached) $ECHO_C" >&6
70316 else
70317 if test x$gcc_no_link = xyes; then
70318 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70319 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70320 { (exit 1); exit 1; }; }
70322 cat >conftest.$ac_ext <<_ACEOF
70323 /* confdefs.h. */
70324 _ACEOF
70325 cat confdefs.h >>conftest.$ac_ext
70326 cat >>conftest.$ac_ext <<_ACEOF
70327 /* end confdefs.h. */
70328 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70329 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70330 #define $ac_func innocuous_$ac_func
70332 /* System header to define __stub macros and hopefully few prototypes,
70333 which can conflict with char $ac_func (); below.
70334 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70335 <limits.h> exists even on freestanding compilers. */
70337 #ifdef __STDC__
70338 # include <limits.h>
70339 #else
70340 # include <assert.h>
70341 #endif
70343 #undef $ac_func
70345 /* Override any gcc2 internal prototype to avoid an error. */
70346 #ifdef __cplusplus
70347 extern "C"
70349 #endif
70350 /* We use char because int might match the return type of a gcc2
70351 builtin and then its argument prototype would still apply. */
70352 char $ac_func ();
70353 /* The GNU C library defines this for functions which it implements
70354 to always fail with ENOSYS. Some functions are actually named
70355 something starting with __ and the normal name is an alias. */
70356 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70357 choke me
70358 #else
70359 char (*f) () = $ac_func;
70360 #endif
70361 #ifdef __cplusplus
70363 #endif
70366 main ()
70368 return f != $ac_func;
70370 return 0;
70372 _ACEOF
70373 rm -f conftest.$ac_objext conftest$ac_exeext
70374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70375 (eval $ac_link) 2>conftest.er1
70376 ac_status=$?
70377 grep -v '^ *+' conftest.er1 >conftest.err
70378 rm -f conftest.er1
70379 cat conftest.err >&5
70380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70381 (exit $ac_status); } &&
70382 { ac_try='test -z "$ac_c_werror_flag"
70383 || test ! -s conftest.err'
70384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70385 (eval $ac_try) 2>&5
70386 ac_status=$?
70387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70388 (exit $ac_status); }; } &&
70389 { ac_try='test -s conftest$ac_exeext'
70390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70391 (eval $ac_try) 2>&5
70392 ac_status=$?
70393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70394 (exit $ac_status); }; }; then
70395 eval "$as_ac_var=yes"
70396 else
70397 echo "$as_me: failed program was:" >&5
70398 sed 's/^/| /' conftest.$ac_ext >&5
70400 eval "$as_ac_var=no"
70402 rm -f conftest.err conftest.$ac_objext \
70403 conftest$ac_exeext conftest.$ac_ext
70405 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70406 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70407 if test `eval echo '${'$as_ac_var'}'` = yes; then
70408 cat >>confdefs.h <<_ACEOF
70409 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70410 _ACEOF
70413 done
70415 else
70417 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
70418 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
70419 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
70420 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
70421 echo $ECHO_N "(cached) $ECHO_C" >&6
70422 else
70426 ac_ext=cc
70427 ac_cpp='$CXXCPP $CPPFLAGS'
70428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70432 cat >conftest.$ac_ext <<_ACEOF
70433 /* confdefs.h. */
70434 _ACEOF
70435 cat confdefs.h >>conftest.$ac_ext
70436 cat >>conftest.$ac_ext <<_ACEOF
70437 /* end confdefs.h. */
70438 #include <math.h>
70440 main ()
70442 _ldexpf(0, 0);
70444 return 0;
70446 _ACEOF
70447 rm -f conftest.$ac_objext
70448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70449 (eval $ac_compile) 2>conftest.er1
70450 ac_status=$?
70451 grep -v '^ *+' conftest.er1 >conftest.err
70452 rm -f conftest.er1
70453 cat conftest.err >&5
70454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70455 (exit $ac_status); } &&
70456 { ac_try='test -z "$ac_cxx_werror_flag"
70457 || test ! -s conftest.err'
70458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70459 (eval $ac_try) 2>&5
70460 ac_status=$?
70461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70462 (exit $ac_status); }; } &&
70463 { ac_try='test -s conftest.$ac_objext'
70464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70465 (eval $ac_try) 2>&5
70466 ac_status=$?
70467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70468 (exit $ac_status); }; }; then
70469 glibcxx_cv_func__ldexpf_use=yes
70470 else
70471 echo "$as_me: failed program was:" >&5
70472 sed 's/^/| /' conftest.$ac_ext >&5
70474 glibcxx_cv_func__ldexpf_use=no
70476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70477 ac_ext=c
70478 ac_cpp='$CPP $CPPFLAGS'
70479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70487 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
70488 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
70490 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
70492 for ac_func in _ldexpf
70494 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70495 echo "$as_me:$LINENO: checking for $ac_func" >&5
70496 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70497 if eval "test \"\${$as_ac_var+set}\" = set"; then
70498 echo $ECHO_N "(cached) $ECHO_C" >&6
70499 else
70500 if test x$gcc_no_link = xyes; then
70501 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70502 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70503 { (exit 1); exit 1; }; }
70505 cat >conftest.$ac_ext <<_ACEOF
70506 /* confdefs.h. */
70507 _ACEOF
70508 cat confdefs.h >>conftest.$ac_ext
70509 cat >>conftest.$ac_ext <<_ACEOF
70510 /* end confdefs.h. */
70511 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70512 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70513 #define $ac_func innocuous_$ac_func
70515 /* System header to define __stub macros and hopefully few prototypes,
70516 which can conflict with char $ac_func (); below.
70517 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70518 <limits.h> exists even on freestanding compilers. */
70520 #ifdef __STDC__
70521 # include <limits.h>
70522 #else
70523 # include <assert.h>
70524 #endif
70526 #undef $ac_func
70528 /* Override any gcc2 internal prototype to avoid an error. */
70529 #ifdef __cplusplus
70530 extern "C"
70532 #endif
70533 /* We use char because int might match the return type of a gcc2
70534 builtin and then its argument prototype would still apply. */
70535 char $ac_func ();
70536 /* The GNU C library defines this for functions which it implements
70537 to always fail with ENOSYS. Some functions are actually named
70538 something starting with __ and the normal name is an alias. */
70539 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70540 choke me
70541 #else
70542 char (*f) () = $ac_func;
70543 #endif
70544 #ifdef __cplusplus
70546 #endif
70549 main ()
70551 return f != $ac_func;
70553 return 0;
70555 _ACEOF
70556 rm -f conftest.$ac_objext conftest$ac_exeext
70557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70558 (eval $ac_link) 2>conftest.er1
70559 ac_status=$?
70560 grep -v '^ *+' conftest.er1 >conftest.err
70561 rm -f conftest.er1
70562 cat conftest.err >&5
70563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70564 (exit $ac_status); } &&
70565 { ac_try='test -z "$ac_c_werror_flag"
70566 || test ! -s conftest.err'
70567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70568 (eval $ac_try) 2>&5
70569 ac_status=$?
70570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70571 (exit $ac_status); }; } &&
70572 { ac_try='test -s conftest$ac_exeext'
70573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70574 (eval $ac_try) 2>&5
70575 ac_status=$?
70576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70577 (exit $ac_status); }; }; then
70578 eval "$as_ac_var=yes"
70579 else
70580 echo "$as_me: failed program was:" >&5
70581 sed 's/^/| /' conftest.$ac_ext >&5
70583 eval "$as_ac_var=no"
70585 rm -f conftest.err conftest.$ac_objext \
70586 conftest$ac_exeext conftest.$ac_ext
70588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70589 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70590 if test `eval echo '${'$as_ac_var'}'` = yes; then
70591 cat >>confdefs.h <<_ACEOF
70592 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70593 _ACEOF
70596 done
70606 echo "$as_me:$LINENO: checking for logf declaration" >&5
70607 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
70608 if test x${glibcxx_cv_func_logf_use+set} != xset; then
70609 if test "${glibcxx_cv_func_logf_use+set}" = set; then
70610 echo $ECHO_N "(cached) $ECHO_C" >&6
70611 else
70615 ac_ext=cc
70616 ac_cpp='$CXXCPP $CPPFLAGS'
70617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70621 cat >conftest.$ac_ext <<_ACEOF
70622 /* confdefs.h. */
70623 _ACEOF
70624 cat confdefs.h >>conftest.$ac_ext
70625 cat >>conftest.$ac_ext <<_ACEOF
70626 /* end confdefs.h. */
70627 #include <math.h>
70628 #ifdef HAVE_IEEEFP_H
70629 #include <ieeefp.h>
70630 #endif
70633 main ()
70635 logf(0);
70637 return 0;
70639 _ACEOF
70640 rm -f conftest.$ac_objext
70641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70642 (eval $ac_compile) 2>conftest.er1
70643 ac_status=$?
70644 grep -v '^ *+' conftest.er1 >conftest.err
70645 rm -f conftest.er1
70646 cat conftest.err >&5
70647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70648 (exit $ac_status); } &&
70649 { ac_try='test -z "$ac_cxx_werror_flag"
70650 || test ! -s conftest.err'
70651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70652 (eval $ac_try) 2>&5
70653 ac_status=$?
70654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70655 (exit $ac_status); }; } &&
70656 { ac_try='test -s conftest.$ac_objext'
70657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70658 (eval $ac_try) 2>&5
70659 ac_status=$?
70660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70661 (exit $ac_status); }; }; then
70662 glibcxx_cv_func_logf_use=yes
70663 else
70664 echo "$as_me: failed program was:" >&5
70665 sed 's/^/| /' conftest.$ac_ext >&5
70667 glibcxx_cv_func_logf_use=no
70669 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70670 ac_ext=c
70671 ac_cpp='$CPP $CPPFLAGS'
70672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70680 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
70681 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
70683 if test x$glibcxx_cv_func_logf_use = x"yes"; then
70685 for ac_func in logf
70687 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70688 echo "$as_me:$LINENO: checking for $ac_func" >&5
70689 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70690 if eval "test \"\${$as_ac_var+set}\" = set"; then
70691 echo $ECHO_N "(cached) $ECHO_C" >&6
70692 else
70693 if test x$gcc_no_link = xyes; then
70694 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70695 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70696 { (exit 1); exit 1; }; }
70698 cat >conftest.$ac_ext <<_ACEOF
70699 /* confdefs.h. */
70700 _ACEOF
70701 cat confdefs.h >>conftest.$ac_ext
70702 cat >>conftest.$ac_ext <<_ACEOF
70703 /* end confdefs.h. */
70704 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70705 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70706 #define $ac_func innocuous_$ac_func
70708 /* System header to define __stub macros and hopefully few prototypes,
70709 which can conflict with char $ac_func (); below.
70710 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70711 <limits.h> exists even on freestanding compilers. */
70713 #ifdef __STDC__
70714 # include <limits.h>
70715 #else
70716 # include <assert.h>
70717 #endif
70719 #undef $ac_func
70721 /* Override any gcc2 internal prototype to avoid an error. */
70722 #ifdef __cplusplus
70723 extern "C"
70725 #endif
70726 /* We use char because int might match the return type of a gcc2
70727 builtin and then its argument prototype would still apply. */
70728 char $ac_func ();
70729 /* The GNU C library defines this for functions which it implements
70730 to always fail with ENOSYS. Some functions are actually named
70731 something starting with __ and the normal name is an alias. */
70732 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70733 choke me
70734 #else
70735 char (*f) () = $ac_func;
70736 #endif
70737 #ifdef __cplusplus
70739 #endif
70742 main ()
70744 return f != $ac_func;
70746 return 0;
70748 _ACEOF
70749 rm -f conftest.$ac_objext conftest$ac_exeext
70750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70751 (eval $ac_link) 2>conftest.er1
70752 ac_status=$?
70753 grep -v '^ *+' conftest.er1 >conftest.err
70754 rm -f conftest.er1
70755 cat conftest.err >&5
70756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70757 (exit $ac_status); } &&
70758 { ac_try='test -z "$ac_c_werror_flag"
70759 || test ! -s conftest.err'
70760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70761 (eval $ac_try) 2>&5
70762 ac_status=$?
70763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70764 (exit $ac_status); }; } &&
70765 { ac_try='test -s conftest$ac_exeext'
70766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70767 (eval $ac_try) 2>&5
70768 ac_status=$?
70769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70770 (exit $ac_status); }; }; then
70771 eval "$as_ac_var=yes"
70772 else
70773 echo "$as_me: failed program was:" >&5
70774 sed 's/^/| /' conftest.$ac_ext >&5
70776 eval "$as_ac_var=no"
70778 rm -f conftest.err conftest.$ac_objext \
70779 conftest$ac_exeext conftest.$ac_ext
70781 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70782 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70783 if test `eval echo '${'$as_ac_var'}'` = yes; then
70784 cat >>confdefs.h <<_ACEOF
70785 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70786 _ACEOF
70789 done
70791 else
70793 echo "$as_me:$LINENO: checking for _logf declaration" >&5
70794 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
70795 if test x${glibcxx_cv_func__logf_use+set} != xset; then
70796 if test "${glibcxx_cv_func__logf_use+set}" = set; then
70797 echo $ECHO_N "(cached) $ECHO_C" >&6
70798 else
70802 ac_ext=cc
70803 ac_cpp='$CXXCPP $CPPFLAGS'
70804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70808 cat >conftest.$ac_ext <<_ACEOF
70809 /* confdefs.h. */
70810 _ACEOF
70811 cat confdefs.h >>conftest.$ac_ext
70812 cat >>conftest.$ac_ext <<_ACEOF
70813 /* end confdefs.h. */
70814 #include <math.h>
70815 #ifdef HAVE_IEEEFP_H
70816 #include <ieeefp.h>
70817 #endif
70820 main ()
70822 _logf(0);
70824 return 0;
70826 _ACEOF
70827 rm -f conftest.$ac_objext
70828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70829 (eval $ac_compile) 2>conftest.er1
70830 ac_status=$?
70831 grep -v '^ *+' conftest.er1 >conftest.err
70832 rm -f conftest.er1
70833 cat conftest.err >&5
70834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70835 (exit $ac_status); } &&
70836 { ac_try='test -z "$ac_cxx_werror_flag"
70837 || test ! -s conftest.err'
70838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70839 (eval $ac_try) 2>&5
70840 ac_status=$?
70841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70842 (exit $ac_status); }; } &&
70843 { ac_try='test -s conftest.$ac_objext'
70844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70845 (eval $ac_try) 2>&5
70846 ac_status=$?
70847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70848 (exit $ac_status); }; }; then
70849 glibcxx_cv_func__logf_use=yes
70850 else
70851 echo "$as_me: failed program was:" >&5
70852 sed 's/^/| /' conftest.$ac_ext >&5
70854 glibcxx_cv_func__logf_use=no
70856 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70857 ac_ext=c
70858 ac_cpp='$CPP $CPPFLAGS'
70859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70867 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
70868 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
70870 if test x$glibcxx_cv_func__logf_use = x"yes"; then
70872 for ac_func in _logf
70874 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70875 echo "$as_me:$LINENO: checking for $ac_func" >&5
70876 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70877 if eval "test \"\${$as_ac_var+set}\" = set"; then
70878 echo $ECHO_N "(cached) $ECHO_C" >&6
70879 else
70880 if test x$gcc_no_link = xyes; then
70881 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70882 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70883 { (exit 1); exit 1; }; }
70885 cat >conftest.$ac_ext <<_ACEOF
70886 /* confdefs.h. */
70887 _ACEOF
70888 cat confdefs.h >>conftest.$ac_ext
70889 cat >>conftest.$ac_ext <<_ACEOF
70890 /* end confdefs.h. */
70891 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70892 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70893 #define $ac_func innocuous_$ac_func
70895 /* System header to define __stub macros and hopefully few prototypes,
70896 which can conflict with char $ac_func (); below.
70897 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70898 <limits.h> exists even on freestanding compilers. */
70900 #ifdef __STDC__
70901 # include <limits.h>
70902 #else
70903 # include <assert.h>
70904 #endif
70906 #undef $ac_func
70908 /* Override any gcc2 internal prototype to avoid an error. */
70909 #ifdef __cplusplus
70910 extern "C"
70912 #endif
70913 /* We use char because int might match the return type of a gcc2
70914 builtin and then its argument prototype would still apply. */
70915 char $ac_func ();
70916 /* The GNU C library defines this for functions which it implements
70917 to always fail with ENOSYS. Some functions are actually named
70918 something starting with __ and the normal name is an alias. */
70919 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70920 choke me
70921 #else
70922 char (*f) () = $ac_func;
70923 #endif
70924 #ifdef __cplusplus
70926 #endif
70929 main ()
70931 return f != $ac_func;
70933 return 0;
70935 _ACEOF
70936 rm -f conftest.$ac_objext conftest$ac_exeext
70937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70938 (eval $ac_link) 2>conftest.er1
70939 ac_status=$?
70940 grep -v '^ *+' conftest.er1 >conftest.err
70941 rm -f conftest.er1
70942 cat conftest.err >&5
70943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70944 (exit $ac_status); } &&
70945 { ac_try='test -z "$ac_c_werror_flag"
70946 || test ! -s conftest.err'
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); }; } &&
70952 { ac_try='test -s conftest$ac_exeext'
70953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70954 (eval $ac_try) 2>&5
70955 ac_status=$?
70956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70957 (exit $ac_status); }; }; then
70958 eval "$as_ac_var=yes"
70959 else
70960 echo "$as_me: failed program was:" >&5
70961 sed 's/^/| /' conftest.$ac_ext >&5
70963 eval "$as_ac_var=no"
70965 rm -f conftest.err conftest.$ac_objext \
70966 conftest$ac_exeext conftest.$ac_ext
70968 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70969 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70970 if test `eval echo '${'$as_ac_var'}'` = yes; then
70971 cat >>confdefs.h <<_ACEOF
70972 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70973 _ACEOF
70976 done
70986 echo "$as_me:$LINENO: checking for log10f declaration" >&5
70987 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
70988 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
70989 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
70990 echo $ECHO_N "(cached) $ECHO_C" >&6
70991 else
70995 ac_ext=cc
70996 ac_cpp='$CXXCPP $CPPFLAGS'
70997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71001 cat >conftest.$ac_ext <<_ACEOF
71002 /* confdefs.h. */
71003 _ACEOF
71004 cat confdefs.h >>conftest.$ac_ext
71005 cat >>conftest.$ac_ext <<_ACEOF
71006 /* end confdefs.h. */
71007 #include <math.h>
71008 #ifdef HAVE_IEEEFP_H
71009 #include <ieeefp.h>
71010 #endif
71013 main ()
71015 log10f(0);
71017 return 0;
71019 _ACEOF
71020 rm -f conftest.$ac_objext
71021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71022 (eval $ac_compile) 2>conftest.er1
71023 ac_status=$?
71024 grep -v '^ *+' conftest.er1 >conftest.err
71025 rm -f conftest.er1
71026 cat conftest.err >&5
71027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71028 (exit $ac_status); } &&
71029 { ac_try='test -z "$ac_cxx_werror_flag"
71030 || test ! -s conftest.err'
71031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71032 (eval $ac_try) 2>&5
71033 ac_status=$?
71034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71035 (exit $ac_status); }; } &&
71036 { ac_try='test -s conftest.$ac_objext'
71037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71038 (eval $ac_try) 2>&5
71039 ac_status=$?
71040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71041 (exit $ac_status); }; }; then
71042 glibcxx_cv_func_log10f_use=yes
71043 else
71044 echo "$as_me: failed program was:" >&5
71045 sed 's/^/| /' conftest.$ac_ext >&5
71047 glibcxx_cv_func_log10f_use=no
71049 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71050 ac_ext=c
71051 ac_cpp='$CPP $CPPFLAGS'
71052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71060 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
71061 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
71063 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
71065 for ac_func in log10f
71067 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71068 echo "$as_me:$LINENO: checking for $ac_func" >&5
71069 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71070 if eval "test \"\${$as_ac_var+set}\" = set"; then
71071 echo $ECHO_N "(cached) $ECHO_C" >&6
71072 else
71073 if test x$gcc_no_link = xyes; then
71074 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71075 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71076 { (exit 1); exit 1; }; }
71078 cat >conftest.$ac_ext <<_ACEOF
71079 /* confdefs.h. */
71080 _ACEOF
71081 cat confdefs.h >>conftest.$ac_ext
71082 cat >>conftest.$ac_ext <<_ACEOF
71083 /* end confdefs.h. */
71084 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71085 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71086 #define $ac_func innocuous_$ac_func
71088 /* System header to define __stub macros and hopefully few prototypes,
71089 which can conflict with char $ac_func (); below.
71090 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71091 <limits.h> exists even on freestanding compilers. */
71093 #ifdef __STDC__
71094 # include <limits.h>
71095 #else
71096 # include <assert.h>
71097 #endif
71099 #undef $ac_func
71101 /* Override any gcc2 internal prototype to avoid an error. */
71102 #ifdef __cplusplus
71103 extern "C"
71105 #endif
71106 /* We use char because int might match the return type of a gcc2
71107 builtin and then its argument prototype would still apply. */
71108 char $ac_func ();
71109 /* The GNU C library defines this for functions which it implements
71110 to always fail with ENOSYS. Some functions are actually named
71111 something starting with __ and the normal name is an alias. */
71112 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71113 choke me
71114 #else
71115 char (*f) () = $ac_func;
71116 #endif
71117 #ifdef __cplusplus
71119 #endif
71122 main ()
71124 return f != $ac_func;
71126 return 0;
71128 _ACEOF
71129 rm -f conftest.$ac_objext conftest$ac_exeext
71130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71131 (eval $ac_link) 2>conftest.er1
71132 ac_status=$?
71133 grep -v '^ *+' conftest.er1 >conftest.err
71134 rm -f conftest.er1
71135 cat conftest.err >&5
71136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71137 (exit $ac_status); } &&
71138 { ac_try='test -z "$ac_c_werror_flag"
71139 || test ! -s conftest.err'
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); }; } &&
71145 { ac_try='test -s conftest$ac_exeext'
71146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71147 (eval $ac_try) 2>&5
71148 ac_status=$?
71149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71150 (exit $ac_status); }; }; then
71151 eval "$as_ac_var=yes"
71152 else
71153 echo "$as_me: failed program was:" >&5
71154 sed 's/^/| /' conftest.$ac_ext >&5
71156 eval "$as_ac_var=no"
71158 rm -f conftest.err conftest.$ac_objext \
71159 conftest$ac_exeext conftest.$ac_ext
71161 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71162 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71163 if test `eval echo '${'$as_ac_var'}'` = yes; then
71164 cat >>confdefs.h <<_ACEOF
71165 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71166 _ACEOF
71169 done
71171 else
71173 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
71174 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
71175 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
71176 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
71177 echo $ECHO_N "(cached) $ECHO_C" >&6
71178 else
71182 ac_ext=cc
71183 ac_cpp='$CXXCPP $CPPFLAGS'
71184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71188 cat >conftest.$ac_ext <<_ACEOF
71189 /* confdefs.h. */
71190 _ACEOF
71191 cat confdefs.h >>conftest.$ac_ext
71192 cat >>conftest.$ac_ext <<_ACEOF
71193 /* end confdefs.h. */
71194 #include <math.h>
71195 #ifdef HAVE_IEEEFP_H
71196 #include <ieeefp.h>
71197 #endif
71200 main ()
71202 _log10f(0);
71204 return 0;
71206 _ACEOF
71207 rm -f conftest.$ac_objext
71208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71209 (eval $ac_compile) 2>conftest.er1
71210 ac_status=$?
71211 grep -v '^ *+' conftest.er1 >conftest.err
71212 rm -f conftest.er1
71213 cat conftest.err >&5
71214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71215 (exit $ac_status); } &&
71216 { ac_try='test -z "$ac_cxx_werror_flag"
71217 || test ! -s conftest.err'
71218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71219 (eval $ac_try) 2>&5
71220 ac_status=$?
71221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71222 (exit $ac_status); }; } &&
71223 { ac_try='test -s conftest.$ac_objext'
71224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71225 (eval $ac_try) 2>&5
71226 ac_status=$?
71227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71228 (exit $ac_status); }; }; then
71229 glibcxx_cv_func__log10f_use=yes
71230 else
71231 echo "$as_me: failed program was:" >&5
71232 sed 's/^/| /' conftest.$ac_ext >&5
71234 glibcxx_cv_func__log10f_use=no
71236 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71237 ac_ext=c
71238 ac_cpp='$CPP $CPPFLAGS'
71239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71247 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
71248 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
71250 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
71252 for ac_func in _log10f
71254 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71255 echo "$as_me:$LINENO: checking for $ac_func" >&5
71256 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71257 if eval "test \"\${$as_ac_var+set}\" = set"; then
71258 echo $ECHO_N "(cached) $ECHO_C" >&6
71259 else
71260 if test x$gcc_no_link = xyes; then
71261 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71262 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71263 { (exit 1); exit 1; }; }
71265 cat >conftest.$ac_ext <<_ACEOF
71266 /* confdefs.h. */
71267 _ACEOF
71268 cat confdefs.h >>conftest.$ac_ext
71269 cat >>conftest.$ac_ext <<_ACEOF
71270 /* end confdefs.h. */
71271 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71272 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71273 #define $ac_func innocuous_$ac_func
71275 /* System header to define __stub macros and hopefully few prototypes,
71276 which can conflict with char $ac_func (); below.
71277 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71278 <limits.h> exists even on freestanding compilers. */
71280 #ifdef __STDC__
71281 # include <limits.h>
71282 #else
71283 # include <assert.h>
71284 #endif
71286 #undef $ac_func
71288 /* Override any gcc2 internal prototype to avoid an error. */
71289 #ifdef __cplusplus
71290 extern "C"
71292 #endif
71293 /* We use char because int might match the return type of a gcc2
71294 builtin and then its argument prototype would still apply. */
71295 char $ac_func ();
71296 /* The GNU C library defines this for functions which it implements
71297 to always fail with ENOSYS. Some functions are actually named
71298 something starting with __ and the normal name is an alias. */
71299 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71300 choke me
71301 #else
71302 char (*f) () = $ac_func;
71303 #endif
71304 #ifdef __cplusplus
71306 #endif
71309 main ()
71311 return f != $ac_func;
71313 return 0;
71315 _ACEOF
71316 rm -f conftest.$ac_objext conftest$ac_exeext
71317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71318 (eval $ac_link) 2>conftest.er1
71319 ac_status=$?
71320 grep -v '^ *+' conftest.er1 >conftest.err
71321 rm -f conftest.er1
71322 cat conftest.err >&5
71323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71324 (exit $ac_status); } &&
71325 { ac_try='test -z "$ac_c_werror_flag"
71326 || test ! -s conftest.err'
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); }; } &&
71332 { ac_try='test -s conftest$ac_exeext'
71333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71334 (eval $ac_try) 2>&5
71335 ac_status=$?
71336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71337 (exit $ac_status); }; }; then
71338 eval "$as_ac_var=yes"
71339 else
71340 echo "$as_me: failed program was:" >&5
71341 sed 's/^/| /' conftest.$ac_ext >&5
71343 eval "$as_ac_var=no"
71345 rm -f conftest.err conftest.$ac_objext \
71346 conftest$ac_exeext conftest.$ac_ext
71348 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71349 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71350 if test `eval echo '${'$as_ac_var'}'` = yes; then
71351 cat >>confdefs.h <<_ACEOF
71352 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71353 _ACEOF
71356 done
71366 echo "$as_me:$LINENO: checking for modff declaration" >&5
71367 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
71368 if test x${glibcxx_cv_func_modff_use+set} != xset; then
71369 if test "${glibcxx_cv_func_modff_use+set}" = set; then
71370 echo $ECHO_N "(cached) $ECHO_C" >&6
71371 else
71375 ac_ext=cc
71376 ac_cpp='$CXXCPP $CPPFLAGS'
71377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71381 cat >conftest.$ac_ext <<_ACEOF
71382 /* confdefs.h. */
71383 _ACEOF
71384 cat confdefs.h >>conftest.$ac_ext
71385 cat >>conftest.$ac_ext <<_ACEOF
71386 /* end confdefs.h. */
71387 #include <math.h>
71389 main ()
71391 modff(0, 0);
71393 return 0;
71395 _ACEOF
71396 rm -f conftest.$ac_objext
71397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71398 (eval $ac_compile) 2>conftest.er1
71399 ac_status=$?
71400 grep -v '^ *+' conftest.er1 >conftest.err
71401 rm -f conftest.er1
71402 cat conftest.err >&5
71403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71404 (exit $ac_status); } &&
71405 { ac_try='test -z "$ac_cxx_werror_flag"
71406 || test ! -s conftest.err'
71407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71408 (eval $ac_try) 2>&5
71409 ac_status=$?
71410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71411 (exit $ac_status); }; } &&
71412 { ac_try='test -s conftest.$ac_objext'
71413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71414 (eval $ac_try) 2>&5
71415 ac_status=$?
71416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71417 (exit $ac_status); }; }; then
71418 glibcxx_cv_func_modff_use=yes
71419 else
71420 echo "$as_me: failed program was:" >&5
71421 sed 's/^/| /' conftest.$ac_ext >&5
71423 glibcxx_cv_func_modff_use=no
71425 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71426 ac_ext=c
71427 ac_cpp='$CPP $CPPFLAGS'
71428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71436 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
71437 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
71439 if test x$glibcxx_cv_func_modff_use = x"yes"; then
71441 for ac_func in modff
71443 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71444 echo "$as_me:$LINENO: checking for $ac_func" >&5
71445 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71446 if eval "test \"\${$as_ac_var+set}\" = set"; then
71447 echo $ECHO_N "(cached) $ECHO_C" >&6
71448 else
71449 if test x$gcc_no_link = xyes; then
71450 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71451 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71452 { (exit 1); exit 1; }; }
71454 cat >conftest.$ac_ext <<_ACEOF
71455 /* confdefs.h. */
71456 _ACEOF
71457 cat confdefs.h >>conftest.$ac_ext
71458 cat >>conftest.$ac_ext <<_ACEOF
71459 /* end confdefs.h. */
71460 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71461 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71462 #define $ac_func innocuous_$ac_func
71464 /* System header to define __stub macros and hopefully few prototypes,
71465 which can conflict with char $ac_func (); below.
71466 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71467 <limits.h> exists even on freestanding compilers. */
71469 #ifdef __STDC__
71470 # include <limits.h>
71471 #else
71472 # include <assert.h>
71473 #endif
71475 #undef $ac_func
71477 /* Override any gcc2 internal prototype to avoid an error. */
71478 #ifdef __cplusplus
71479 extern "C"
71481 #endif
71482 /* We use char because int might match the return type of a gcc2
71483 builtin and then its argument prototype would still apply. */
71484 char $ac_func ();
71485 /* The GNU C library defines this for functions which it implements
71486 to always fail with ENOSYS. Some functions are actually named
71487 something starting with __ and the normal name is an alias. */
71488 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71489 choke me
71490 #else
71491 char (*f) () = $ac_func;
71492 #endif
71493 #ifdef __cplusplus
71495 #endif
71498 main ()
71500 return f != $ac_func;
71502 return 0;
71504 _ACEOF
71505 rm -f conftest.$ac_objext conftest$ac_exeext
71506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71507 (eval $ac_link) 2>conftest.er1
71508 ac_status=$?
71509 grep -v '^ *+' conftest.er1 >conftest.err
71510 rm -f conftest.er1
71511 cat conftest.err >&5
71512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71513 (exit $ac_status); } &&
71514 { ac_try='test -z "$ac_c_werror_flag"
71515 || test ! -s conftest.err'
71516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71517 (eval $ac_try) 2>&5
71518 ac_status=$?
71519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71520 (exit $ac_status); }; } &&
71521 { ac_try='test -s conftest$ac_exeext'
71522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71523 (eval $ac_try) 2>&5
71524 ac_status=$?
71525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71526 (exit $ac_status); }; }; then
71527 eval "$as_ac_var=yes"
71528 else
71529 echo "$as_me: failed program was:" >&5
71530 sed 's/^/| /' conftest.$ac_ext >&5
71532 eval "$as_ac_var=no"
71534 rm -f conftest.err conftest.$ac_objext \
71535 conftest$ac_exeext conftest.$ac_ext
71537 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71538 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71539 if test `eval echo '${'$as_ac_var'}'` = yes; then
71540 cat >>confdefs.h <<_ACEOF
71541 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71542 _ACEOF
71545 done
71547 else
71549 echo "$as_me:$LINENO: checking for _modff declaration" >&5
71550 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
71551 if test x${glibcxx_cv_func__modff_use+set} != xset; then
71552 if test "${glibcxx_cv_func__modff_use+set}" = set; then
71553 echo $ECHO_N "(cached) $ECHO_C" >&6
71554 else
71558 ac_ext=cc
71559 ac_cpp='$CXXCPP $CPPFLAGS'
71560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71564 cat >conftest.$ac_ext <<_ACEOF
71565 /* confdefs.h. */
71566 _ACEOF
71567 cat confdefs.h >>conftest.$ac_ext
71568 cat >>conftest.$ac_ext <<_ACEOF
71569 /* end confdefs.h. */
71570 #include <math.h>
71572 main ()
71574 _modff(0, 0);
71576 return 0;
71578 _ACEOF
71579 rm -f conftest.$ac_objext
71580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71581 (eval $ac_compile) 2>conftest.er1
71582 ac_status=$?
71583 grep -v '^ *+' conftest.er1 >conftest.err
71584 rm -f conftest.er1
71585 cat conftest.err >&5
71586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71587 (exit $ac_status); } &&
71588 { ac_try='test -z "$ac_cxx_werror_flag"
71589 || test ! -s conftest.err'
71590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71591 (eval $ac_try) 2>&5
71592 ac_status=$?
71593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71594 (exit $ac_status); }; } &&
71595 { ac_try='test -s conftest.$ac_objext'
71596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71597 (eval $ac_try) 2>&5
71598 ac_status=$?
71599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71600 (exit $ac_status); }; }; then
71601 glibcxx_cv_func__modff_use=yes
71602 else
71603 echo "$as_me: failed program was:" >&5
71604 sed 's/^/| /' conftest.$ac_ext >&5
71606 glibcxx_cv_func__modff_use=no
71608 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71609 ac_ext=c
71610 ac_cpp='$CPP $CPPFLAGS'
71611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71619 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
71620 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
71622 if test x$glibcxx_cv_func__modff_use = x"yes"; then
71624 for ac_func in _modff
71626 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71627 echo "$as_me:$LINENO: checking for $ac_func" >&5
71628 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71629 if eval "test \"\${$as_ac_var+set}\" = set"; then
71630 echo $ECHO_N "(cached) $ECHO_C" >&6
71631 else
71632 if test x$gcc_no_link = xyes; then
71633 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71634 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71635 { (exit 1); exit 1; }; }
71637 cat >conftest.$ac_ext <<_ACEOF
71638 /* confdefs.h. */
71639 _ACEOF
71640 cat confdefs.h >>conftest.$ac_ext
71641 cat >>conftest.$ac_ext <<_ACEOF
71642 /* end confdefs.h. */
71643 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71644 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71645 #define $ac_func innocuous_$ac_func
71647 /* System header to define __stub macros and hopefully few prototypes,
71648 which can conflict with char $ac_func (); below.
71649 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71650 <limits.h> exists even on freestanding compilers. */
71652 #ifdef __STDC__
71653 # include <limits.h>
71654 #else
71655 # include <assert.h>
71656 #endif
71658 #undef $ac_func
71660 /* Override any gcc2 internal prototype to avoid an error. */
71661 #ifdef __cplusplus
71662 extern "C"
71664 #endif
71665 /* We use char because int might match the return type of a gcc2
71666 builtin and then its argument prototype would still apply. */
71667 char $ac_func ();
71668 /* The GNU C library defines this for functions which it implements
71669 to always fail with ENOSYS. Some functions are actually named
71670 something starting with __ and the normal name is an alias. */
71671 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71672 choke me
71673 #else
71674 char (*f) () = $ac_func;
71675 #endif
71676 #ifdef __cplusplus
71678 #endif
71681 main ()
71683 return f != $ac_func;
71685 return 0;
71687 _ACEOF
71688 rm -f conftest.$ac_objext conftest$ac_exeext
71689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71690 (eval $ac_link) 2>conftest.er1
71691 ac_status=$?
71692 grep -v '^ *+' conftest.er1 >conftest.err
71693 rm -f conftest.er1
71694 cat conftest.err >&5
71695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71696 (exit $ac_status); } &&
71697 { ac_try='test -z "$ac_c_werror_flag"
71698 || test ! -s conftest.err'
71699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71700 (eval $ac_try) 2>&5
71701 ac_status=$?
71702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71703 (exit $ac_status); }; } &&
71704 { ac_try='test -s conftest$ac_exeext'
71705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71706 (eval $ac_try) 2>&5
71707 ac_status=$?
71708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71709 (exit $ac_status); }; }; then
71710 eval "$as_ac_var=yes"
71711 else
71712 echo "$as_me: failed program was:" >&5
71713 sed 's/^/| /' conftest.$ac_ext >&5
71715 eval "$as_ac_var=no"
71717 rm -f conftest.err conftest.$ac_objext \
71718 conftest$ac_exeext conftest.$ac_ext
71720 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71721 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71722 if test `eval echo '${'$as_ac_var'}'` = yes; then
71723 cat >>confdefs.h <<_ACEOF
71724 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71725 _ACEOF
71728 done
71738 echo "$as_me:$LINENO: checking for modf declaration" >&5
71739 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
71740 if test x${glibcxx_cv_func_modf_use+set} != xset; then
71741 if test "${glibcxx_cv_func_modf_use+set}" = set; then
71742 echo $ECHO_N "(cached) $ECHO_C" >&6
71743 else
71747 ac_ext=cc
71748 ac_cpp='$CXXCPP $CPPFLAGS'
71749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71753 cat >conftest.$ac_ext <<_ACEOF
71754 /* confdefs.h. */
71755 _ACEOF
71756 cat confdefs.h >>conftest.$ac_ext
71757 cat >>conftest.$ac_ext <<_ACEOF
71758 /* end confdefs.h. */
71759 #include <math.h>
71761 main ()
71763 modf(0, 0);
71765 return 0;
71767 _ACEOF
71768 rm -f conftest.$ac_objext
71769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71770 (eval $ac_compile) 2>conftest.er1
71771 ac_status=$?
71772 grep -v '^ *+' conftest.er1 >conftest.err
71773 rm -f conftest.er1
71774 cat conftest.err >&5
71775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71776 (exit $ac_status); } &&
71777 { ac_try='test -z "$ac_cxx_werror_flag"
71778 || test ! -s conftest.err'
71779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71780 (eval $ac_try) 2>&5
71781 ac_status=$?
71782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71783 (exit $ac_status); }; } &&
71784 { ac_try='test -s conftest.$ac_objext'
71785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71786 (eval $ac_try) 2>&5
71787 ac_status=$?
71788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71789 (exit $ac_status); }; }; then
71790 glibcxx_cv_func_modf_use=yes
71791 else
71792 echo "$as_me: failed program was:" >&5
71793 sed 's/^/| /' conftest.$ac_ext >&5
71795 glibcxx_cv_func_modf_use=no
71797 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71798 ac_ext=c
71799 ac_cpp='$CPP $CPPFLAGS'
71800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71808 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
71809 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
71811 if test x$glibcxx_cv_func_modf_use = x"yes"; then
71813 for ac_func in modf
71815 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71816 echo "$as_me:$LINENO: checking for $ac_func" >&5
71817 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71818 if eval "test \"\${$as_ac_var+set}\" = set"; then
71819 echo $ECHO_N "(cached) $ECHO_C" >&6
71820 else
71821 if test x$gcc_no_link = xyes; then
71822 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71823 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71824 { (exit 1); exit 1; }; }
71826 cat >conftest.$ac_ext <<_ACEOF
71827 /* confdefs.h. */
71828 _ACEOF
71829 cat confdefs.h >>conftest.$ac_ext
71830 cat >>conftest.$ac_ext <<_ACEOF
71831 /* end confdefs.h. */
71832 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71833 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71834 #define $ac_func innocuous_$ac_func
71836 /* System header to define __stub macros and hopefully few prototypes,
71837 which can conflict with char $ac_func (); below.
71838 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71839 <limits.h> exists even on freestanding compilers. */
71841 #ifdef __STDC__
71842 # include <limits.h>
71843 #else
71844 # include <assert.h>
71845 #endif
71847 #undef $ac_func
71849 /* Override any gcc2 internal prototype to avoid an error. */
71850 #ifdef __cplusplus
71851 extern "C"
71853 #endif
71854 /* We use char because int might match the return type of a gcc2
71855 builtin and then its argument prototype would still apply. */
71856 char $ac_func ();
71857 /* The GNU C library defines this for functions which it implements
71858 to always fail with ENOSYS. Some functions are actually named
71859 something starting with __ and the normal name is an alias. */
71860 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71861 choke me
71862 #else
71863 char (*f) () = $ac_func;
71864 #endif
71865 #ifdef __cplusplus
71867 #endif
71870 main ()
71872 return f != $ac_func;
71874 return 0;
71876 _ACEOF
71877 rm -f conftest.$ac_objext conftest$ac_exeext
71878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71879 (eval $ac_link) 2>conftest.er1
71880 ac_status=$?
71881 grep -v '^ *+' conftest.er1 >conftest.err
71882 rm -f conftest.er1
71883 cat conftest.err >&5
71884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71885 (exit $ac_status); } &&
71886 { ac_try='test -z "$ac_c_werror_flag"
71887 || test ! -s conftest.err'
71888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71889 (eval $ac_try) 2>&5
71890 ac_status=$?
71891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71892 (exit $ac_status); }; } &&
71893 { ac_try='test -s conftest$ac_exeext'
71894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71895 (eval $ac_try) 2>&5
71896 ac_status=$?
71897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71898 (exit $ac_status); }; }; then
71899 eval "$as_ac_var=yes"
71900 else
71901 echo "$as_me: failed program was:" >&5
71902 sed 's/^/| /' conftest.$ac_ext >&5
71904 eval "$as_ac_var=no"
71906 rm -f conftest.err conftest.$ac_objext \
71907 conftest$ac_exeext conftest.$ac_ext
71909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71910 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71911 if test `eval echo '${'$as_ac_var'}'` = yes; then
71912 cat >>confdefs.h <<_ACEOF
71913 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71914 _ACEOF
71917 done
71919 else
71921 echo "$as_me:$LINENO: checking for _modf declaration" >&5
71922 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
71923 if test x${glibcxx_cv_func__modf_use+set} != xset; then
71924 if test "${glibcxx_cv_func__modf_use+set}" = set; then
71925 echo $ECHO_N "(cached) $ECHO_C" >&6
71926 else
71930 ac_ext=cc
71931 ac_cpp='$CXXCPP $CPPFLAGS'
71932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71936 cat >conftest.$ac_ext <<_ACEOF
71937 /* confdefs.h. */
71938 _ACEOF
71939 cat confdefs.h >>conftest.$ac_ext
71940 cat >>conftest.$ac_ext <<_ACEOF
71941 /* end confdefs.h. */
71942 #include <math.h>
71944 main ()
71946 _modf(0, 0);
71948 return 0;
71950 _ACEOF
71951 rm -f conftest.$ac_objext
71952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71953 (eval $ac_compile) 2>conftest.er1
71954 ac_status=$?
71955 grep -v '^ *+' conftest.er1 >conftest.err
71956 rm -f conftest.er1
71957 cat conftest.err >&5
71958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71959 (exit $ac_status); } &&
71960 { ac_try='test -z "$ac_cxx_werror_flag"
71961 || test ! -s conftest.err'
71962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71963 (eval $ac_try) 2>&5
71964 ac_status=$?
71965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71966 (exit $ac_status); }; } &&
71967 { ac_try='test -s conftest.$ac_objext'
71968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71969 (eval $ac_try) 2>&5
71970 ac_status=$?
71971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71972 (exit $ac_status); }; }; then
71973 glibcxx_cv_func__modf_use=yes
71974 else
71975 echo "$as_me: failed program was:" >&5
71976 sed 's/^/| /' conftest.$ac_ext >&5
71978 glibcxx_cv_func__modf_use=no
71980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71981 ac_ext=c
71982 ac_cpp='$CPP $CPPFLAGS'
71983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71991 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
71992 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
71994 if test x$glibcxx_cv_func__modf_use = x"yes"; then
71996 for ac_func in _modf
71998 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71999 echo "$as_me:$LINENO: checking for $ac_func" >&5
72000 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72001 if eval "test \"\${$as_ac_var+set}\" = set"; then
72002 echo $ECHO_N "(cached) $ECHO_C" >&6
72003 else
72004 if test x$gcc_no_link = xyes; then
72005 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72006 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72007 { (exit 1); exit 1; }; }
72009 cat >conftest.$ac_ext <<_ACEOF
72010 /* confdefs.h. */
72011 _ACEOF
72012 cat confdefs.h >>conftest.$ac_ext
72013 cat >>conftest.$ac_ext <<_ACEOF
72014 /* end confdefs.h. */
72015 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72016 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72017 #define $ac_func innocuous_$ac_func
72019 /* System header to define __stub macros and hopefully few prototypes,
72020 which can conflict with char $ac_func (); below.
72021 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72022 <limits.h> exists even on freestanding compilers. */
72024 #ifdef __STDC__
72025 # include <limits.h>
72026 #else
72027 # include <assert.h>
72028 #endif
72030 #undef $ac_func
72032 /* Override any gcc2 internal prototype to avoid an error. */
72033 #ifdef __cplusplus
72034 extern "C"
72036 #endif
72037 /* We use char because int might match the return type of a gcc2
72038 builtin and then its argument prototype would still apply. */
72039 char $ac_func ();
72040 /* The GNU C library defines this for functions which it implements
72041 to always fail with ENOSYS. Some functions are actually named
72042 something starting with __ and the normal name is an alias. */
72043 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72044 choke me
72045 #else
72046 char (*f) () = $ac_func;
72047 #endif
72048 #ifdef __cplusplus
72050 #endif
72053 main ()
72055 return f != $ac_func;
72057 return 0;
72059 _ACEOF
72060 rm -f conftest.$ac_objext conftest$ac_exeext
72061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72062 (eval $ac_link) 2>conftest.er1
72063 ac_status=$?
72064 grep -v '^ *+' conftest.er1 >conftest.err
72065 rm -f conftest.er1
72066 cat conftest.err >&5
72067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72068 (exit $ac_status); } &&
72069 { ac_try='test -z "$ac_c_werror_flag"
72070 || test ! -s conftest.err'
72071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72072 (eval $ac_try) 2>&5
72073 ac_status=$?
72074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72075 (exit $ac_status); }; } &&
72076 { ac_try='test -s conftest$ac_exeext'
72077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72078 (eval $ac_try) 2>&5
72079 ac_status=$?
72080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72081 (exit $ac_status); }; }; then
72082 eval "$as_ac_var=yes"
72083 else
72084 echo "$as_me: failed program was:" >&5
72085 sed 's/^/| /' conftest.$ac_ext >&5
72087 eval "$as_ac_var=no"
72089 rm -f conftest.err conftest.$ac_objext \
72090 conftest$ac_exeext conftest.$ac_ext
72092 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72093 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72094 if test `eval echo '${'$as_ac_var'}'` = yes; then
72095 cat >>confdefs.h <<_ACEOF
72096 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72097 _ACEOF
72100 done
72110 echo "$as_me:$LINENO: checking for powf declaration" >&5
72111 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
72112 if test x${glibcxx_cv_func_powf_use+set} != xset; then
72113 if test "${glibcxx_cv_func_powf_use+set}" = set; then
72114 echo $ECHO_N "(cached) $ECHO_C" >&6
72115 else
72119 ac_ext=cc
72120 ac_cpp='$CXXCPP $CPPFLAGS'
72121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72125 cat >conftest.$ac_ext <<_ACEOF
72126 /* confdefs.h. */
72127 _ACEOF
72128 cat confdefs.h >>conftest.$ac_ext
72129 cat >>conftest.$ac_ext <<_ACEOF
72130 /* end confdefs.h. */
72131 #include <math.h>
72133 main ()
72135 powf(0, 0);
72137 return 0;
72139 _ACEOF
72140 rm -f conftest.$ac_objext
72141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72142 (eval $ac_compile) 2>conftest.er1
72143 ac_status=$?
72144 grep -v '^ *+' conftest.er1 >conftest.err
72145 rm -f conftest.er1
72146 cat conftest.err >&5
72147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72148 (exit $ac_status); } &&
72149 { ac_try='test -z "$ac_cxx_werror_flag"
72150 || test ! -s conftest.err'
72151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72152 (eval $ac_try) 2>&5
72153 ac_status=$?
72154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72155 (exit $ac_status); }; } &&
72156 { ac_try='test -s conftest.$ac_objext'
72157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72158 (eval $ac_try) 2>&5
72159 ac_status=$?
72160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72161 (exit $ac_status); }; }; then
72162 glibcxx_cv_func_powf_use=yes
72163 else
72164 echo "$as_me: failed program was:" >&5
72165 sed 's/^/| /' conftest.$ac_ext >&5
72167 glibcxx_cv_func_powf_use=no
72169 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72170 ac_ext=c
72171 ac_cpp='$CPP $CPPFLAGS'
72172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72180 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
72181 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
72183 if test x$glibcxx_cv_func_powf_use = x"yes"; then
72185 for ac_func in powf
72187 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72188 echo "$as_me:$LINENO: checking for $ac_func" >&5
72189 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72190 if eval "test \"\${$as_ac_var+set}\" = set"; then
72191 echo $ECHO_N "(cached) $ECHO_C" >&6
72192 else
72193 if test x$gcc_no_link = xyes; then
72194 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72195 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72196 { (exit 1); exit 1; }; }
72198 cat >conftest.$ac_ext <<_ACEOF
72199 /* confdefs.h. */
72200 _ACEOF
72201 cat confdefs.h >>conftest.$ac_ext
72202 cat >>conftest.$ac_ext <<_ACEOF
72203 /* end confdefs.h. */
72204 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72205 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72206 #define $ac_func innocuous_$ac_func
72208 /* System header to define __stub macros and hopefully few prototypes,
72209 which can conflict with char $ac_func (); below.
72210 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72211 <limits.h> exists even on freestanding compilers. */
72213 #ifdef __STDC__
72214 # include <limits.h>
72215 #else
72216 # include <assert.h>
72217 #endif
72219 #undef $ac_func
72221 /* Override any gcc2 internal prototype to avoid an error. */
72222 #ifdef __cplusplus
72223 extern "C"
72225 #endif
72226 /* We use char because int might match the return type of a gcc2
72227 builtin and then its argument prototype would still apply. */
72228 char $ac_func ();
72229 /* The GNU C library defines this for functions which it implements
72230 to always fail with ENOSYS. Some functions are actually named
72231 something starting with __ and the normal name is an alias. */
72232 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72233 choke me
72234 #else
72235 char (*f) () = $ac_func;
72236 #endif
72237 #ifdef __cplusplus
72239 #endif
72242 main ()
72244 return f != $ac_func;
72246 return 0;
72248 _ACEOF
72249 rm -f conftest.$ac_objext conftest$ac_exeext
72250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72251 (eval $ac_link) 2>conftest.er1
72252 ac_status=$?
72253 grep -v '^ *+' conftest.er1 >conftest.err
72254 rm -f conftest.er1
72255 cat conftest.err >&5
72256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72257 (exit $ac_status); } &&
72258 { ac_try='test -z "$ac_c_werror_flag"
72259 || test ! -s conftest.err'
72260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72261 (eval $ac_try) 2>&5
72262 ac_status=$?
72263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72264 (exit $ac_status); }; } &&
72265 { ac_try='test -s conftest$ac_exeext'
72266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72267 (eval $ac_try) 2>&5
72268 ac_status=$?
72269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72270 (exit $ac_status); }; }; then
72271 eval "$as_ac_var=yes"
72272 else
72273 echo "$as_me: failed program was:" >&5
72274 sed 's/^/| /' conftest.$ac_ext >&5
72276 eval "$as_ac_var=no"
72278 rm -f conftest.err conftest.$ac_objext \
72279 conftest$ac_exeext conftest.$ac_ext
72281 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72282 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72283 if test `eval echo '${'$as_ac_var'}'` = yes; then
72284 cat >>confdefs.h <<_ACEOF
72285 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72286 _ACEOF
72289 done
72291 else
72293 echo "$as_me:$LINENO: checking for _powf declaration" >&5
72294 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
72295 if test x${glibcxx_cv_func__powf_use+set} != xset; then
72296 if test "${glibcxx_cv_func__powf_use+set}" = set; then
72297 echo $ECHO_N "(cached) $ECHO_C" >&6
72298 else
72302 ac_ext=cc
72303 ac_cpp='$CXXCPP $CPPFLAGS'
72304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72308 cat >conftest.$ac_ext <<_ACEOF
72309 /* confdefs.h. */
72310 _ACEOF
72311 cat confdefs.h >>conftest.$ac_ext
72312 cat >>conftest.$ac_ext <<_ACEOF
72313 /* end confdefs.h. */
72314 #include <math.h>
72316 main ()
72318 _powf(0, 0);
72320 return 0;
72322 _ACEOF
72323 rm -f conftest.$ac_objext
72324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72325 (eval $ac_compile) 2>conftest.er1
72326 ac_status=$?
72327 grep -v '^ *+' conftest.er1 >conftest.err
72328 rm -f conftest.er1
72329 cat conftest.err >&5
72330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72331 (exit $ac_status); } &&
72332 { ac_try='test -z "$ac_cxx_werror_flag"
72333 || test ! -s conftest.err'
72334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72335 (eval $ac_try) 2>&5
72336 ac_status=$?
72337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72338 (exit $ac_status); }; } &&
72339 { ac_try='test -s conftest.$ac_objext'
72340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72341 (eval $ac_try) 2>&5
72342 ac_status=$?
72343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72344 (exit $ac_status); }; }; then
72345 glibcxx_cv_func__powf_use=yes
72346 else
72347 echo "$as_me: failed program was:" >&5
72348 sed 's/^/| /' conftest.$ac_ext >&5
72350 glibcxx_cv_func__powf_use=no
72352 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72353 ac_ext=c
72354 ac_cpp='$CPP $CPPFLAGS'
72355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72363 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
72364 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
72366 if test x$glibcxx_cv_func__powf_use = x"yes"; then
72368 for ac_func in _powf
72370 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72371 echo "$as_me:$LINENO: checking for $ac_func" >&5
72372 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72373 if eval "test \"\${$as_ac_var+set}\" = set"; then
72374 echo $ECHO_N "(cached) $ECHO_C" >&6
72375 else
72376 if test x$gcc_no_link = xyes; then
72377 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72378 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72379 { (exit 1); exit 1; }; }
72381 cat >conftest.$ac_ext <<_ACEOF
72382 /* confdefs.h. */
72383 _ACEOF
72384 cat confdefs.h >>conftest.$ac_ext
72385 cat >>conftest.$ac_ext <<_ACEOF
72386 /* end confdefs.h. */
72387 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72388 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72389 #define $ac_func innocuous_$ac_func
72391 /* System header to define __stub macros and hopefully few prototypes,
72392 which can conflict with char $ac_func (); below.
72393 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72394 <limits.h> exists even on freestanding compilers. */
72396 #ifdef __STDC__
72397 # include <limits.h>
72398 #else
72399 # include <assert.h>
72400 #endif
72402 #undef $ac_func
72404 /* Override any gcc2 internal prototype to avoid an error. */
72405 #ifdef __cplusplus
72406 extern "C"
72408 #endif
72409 /* We use char because int might match the return type of a gcc2
72410 builtin and then its argument prototype would still apply. */
72411 char $ac_func ();
72412 /* The GNU C library defines this for functions which it implements
72413 to always fail with ENOSYS. Some functions are actually named
72414 something starting with __ and the normal name is an alias. */
72415 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72416 choke me
72417 #else
72418 char (*f) () = $ac_func;
72419 #endif
72420 #ifdef __cplusplus
72422 #endif
72425 main ()
72427 return f != $ac_func;
72429 return 0;
72431 _ACEOF
72432 rm -f conftest.$ac_objext conftest$ac_exeext
72433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72434 (eval $ac_link) 2>conftest.er1
72435 ac_status=$?
72436 grep -v '^ *+' conftest.er1 >conftest.err
72437 rm -f conftest.er1
72438 cat conftest.err >&5
72439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72440 (exit $ac_status); } &&
72441 { ac_try='test -z "$ac_c_werror_flag"
72442 || test ! -s conftest.err'
72443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72444 (eval $ac_try) 2>&5
72445 ac_status=$?
72446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72447 (exit $ac_status); }; } &&
72448 { ac_try='test -s conftest$ac_exeext'
72449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72450 (eval $ac_try) 2>&5
72451 ac_status=$?
72452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72453 (exit $ac_status); }; }; then
72454 eval "$as_ac_var=yes"
72455 else
72456 echo "$as_me: failed program was:" >&5
72457 sed 's/^/| /' conftest.$ac_ext >&5
72459 eval "$as_ac_var=no"
72461 rm -f conftest.err conftest.$ac_objext \
72462 conftest$ac_exeext conftest.$ac_ext
72464 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72465 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72466 if test `eval echo '${'$as_ac_var'}'` = yes; then
72467 cat >>confdefs.h <<_ACEOF
72468 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72469 _ACEOF
72472 done
72482 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
72483 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
72484 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
72485 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
72486 echo $ECHO_N "(cached) $ECHO_C" >&6
72487 else
72491 ac_ext=cc
72492 ac_cpp='$CXXCPP $CPPFLAGS'
72493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72497 cat >conftest.$ac_ext <<_ACEOF
72498 /* confdefs.h. */
72499 _ACEOF
72500 cat confdefs.h >>conftest.$ac_ext
72501 cat >>conftest.$ac_ext <<_ACEOF
72502 /* end confdefs.h. */
72503 #include <math.h>
72504 #ifdef HAVE_IEEEFP_H
72505 #include <ieeefp.h>
72506 #endif
72509 main ()
72511 sqrtf(0);
72513 return 0;
72515 _ACEOF
72516 rm -f conftest.$ac_objext
72517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72518 (eval $ac_compile) 2>conftest.er1
72519 ac_status=$?
72520 grep -v '^ *+' conftest.er1 >conftest.err
72521 rm -f conftest.er1
72522 cat conftest.err >&5
72523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72524 (exit $ac_status); } &&
72525 { ac_try='test -z "$ac_cxx_werror_flag"
72526 || test ! -s conftest.err'
72527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72528 (eval $ac_try) 2>&5
72529 ac_status=$?
72530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72531 (exit $ac_status); }; } &&
72532 { ac_try='test -s conftest.$ac_objext'
72533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72534 (eval $ac_try) 2>&5
72535 ac_status=$?
72536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72537 (exit $ac_status); }; }; then
72538 glibcxx_cv_func_sqrtf_use=yes
72539 else
72540 echo "$as_me: failed program was:" >&5
72541 sed 's/^/| /' conftest.$ac_ext >&5
72543 glibcxx_cv_func_sqrtf_use=no
72545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72546 ac_ext=c
72547 ac_cpp='$CPP $CPPFLAGS'
72548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72556 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
72557 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
72559 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
72561 for ac_func in sqrtf
72563 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72564 echo "$as_me:$LINENO: checking for $ac_func" >&5
72565 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72566 if eval "test \"\${$as_ac_var+set}\" = set"; then
72567 echo $ECHO_N "(cached) $ECHO_C" >&6
72568 else
72569 if test x$gcc_no_link = xyes; then
72570 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72571 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72572 { (exit 1); exit 1; }; }
72574 cat >conftest.$ac_ext <<_ACEOF
72575 /* confdefs.h. */
72576 _ACEOF
72577 cat confdefs.h >>conftest.$ac_ext
72578 cat >>conftest.$ac_ext <<_ACEOF
72579 /* end confdefs.h. */
72580 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72581 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72582 #define $ac_func innocuous_$ac_func
72584 /* System header to define __stub macros and hopefully few prototypes,
72585 which can conflict with char $ac_func (); below.
72586 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72587 <limits.h> exists even on freestanding compilers. */
72589 #ifdef __STDC__
72590 # include <limits.h>
72591 #else
72592 # include <assert.h>
72593 #endif
72595 #undef $ac_func
72597 /* Override any gcc2 internal prototype to avoid an error. */
72598 #ifdef __cplusplus
72599 extern "C"
72601 #endif
72602 /* We use char because int might match the return type of a gcc2
72603 builtin and then its argument prototype would still apply. */
72604 char $ac_func ();
72605 /* The GNU C library defines this for functions which it implements
72606 to always fail with ENOSYS. Some functions are actually named
72607 something starting with __ and the normal name is an alias. */
72608 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72609 choke me
72610 #else
72611 char (*f) () = $ac_func;
72612 #endif
72613 #ifdef __cplusplus
72615 #endif
72618 main ()
72620 return f != $ac_func;
72622 return 0;
72624 _ACEOF
72625 rm -f conftest.$ac_objext conftest$ac_exeext
72626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72627 (eval $ac_link) 2>conftest.er1
72628 ac_status=$?
72629 grep -v '^ *+' conftest.er1 >conftest.err
72630 rm -f conftest.er1
72631 cat conftest.err >&5
72632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72633 (exit $ac_status); } &&
72634 { ac_try='test -z "$ac_c_werror_flag"
72635 || test ! -s conftest.err'
72636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72637 (eval $ac_try) 2>&5
72638 ac_status=$?
72639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72640 (exit $ac_status); }; } &&
72641 { ac_try='test -s conftest$ac_exeext'
72642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72643 (eval $ac_try) 2>&5
72644 ac_status=$?
72645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72646 (exit $ac_status); }; }; then
72647 eval "$as_ac_var=yes"
72648 else
72649 echo "$as_me: failed program was:" >&5
72650 sed 's/^/| /' conftest.$ac_ext >&5
72652 eval "$as_ac_var=no"
72654 rm -f conftest.err conftest.$ac_objext \
72655 conftest$ac_exeext conftest.$ac_ext
72657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72658 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72659 if test `eval echo '${'$as_ac_var'}'` = yes; then
72660 cat >>confdefs.h <<_ACEOF
72661 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72662 _ACEOF
72665 done
72667 else
72669 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
72670 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
72671 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
72672 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
72673 echo $ECHO_N "(cached) $ECHO_C" >&6
72674 else
72678 ac_ext=cc
72679 ac_cpp='$CXXCPP $CPPFLAGS'
72680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72684 cat >conftest.$ac_ext <<_ACEOF
72685 /* confdefs.h. */
72686 _ACEOF
72687 cat confdefs.h >>conftest.$ac_ext
72688 cat >>conftest.$ac_ext <<_ACEOF
72689 /* end confdefs.h. */
72690 #include <math.h>
72691 #ifdef HAVE_IEEEFP_H
72692 #include <ieeefp.h>
72693 #endif
72696 main ()
72698 _sqrtf(0);
72700 return 0;
72702 _ACEOF
72703 rm -f conftest.$ac_objext
72704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72705 (eval $ac_compile) 2>conftest.er1
72706 ac_status=$?
72707 grep -v '^ *+' conftest.er1 >conftest.err
72708 rm -f conftest.er1
72709 cat conftest.err >&5
72710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72711 (exit $ac_status); } &&
72712 { ac_try='test -z "$ac_cxx_werror_flag"
72713 || test ! -s conftest.err'
72714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72715 (eval $ac_try) 2>&5
72716 ac_status=$?
72717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72718 (exit $ac_status); }; } &&
72719 { ac_try='test -s conftest.$ac_objext'
72720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72721 (eval $ac_try) 2>&5
72722 ac_status=$?
72723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72724 (exit $ac_status); }; }; then
72725 glibcxx_cv_func__sqrtf_use=yes
72726 else
72727 echo "$as_me: failed program was:" >&5
72728 sed 's/^/| /' conftest.$ac_ext >&5
72730 glibcxx_cv_func__sqrtf_use=no
72732 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72733 ac_ext=c
72734 ac_cpp='$CPP $CPPFLAGS'
72735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72743 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
72744 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
72746 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
72748 for ac_func in _sqrtf
72750 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72751 echo "$as_me:$LINENO: checking for $ac_func" >&5
72752 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72753 if eval "test \"\${$as_ac_var+set}\" = set"; then
72754 echo $ECHO_N "(cached) $ECHO_C" >&6
72755 else
72756 if test x$gcc_no_link = xyes; then
72757 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72758 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72759 { (exit 1); exit 1; }; }
72761 cat >conftest.$ac_ext <<_ACEOF
72762 /* confdefs.h. */
72763 _ACEOF
72764 cat confdefs.h >>conftest.$ac_ext
72765 cat >>conftest.$ac_ext <<_ACEOF
72766 /* end confdefs.h. */
72767 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72768 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72769 #define $ac_func innocuous_$ac_func
72771 /* System header to define __stub macros and hopefully few prototypes,
72772 which can conflict with char $ac_func (); below.
72773 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72774 <limits.h> exists even on freestanding compilers. */
72776 #ifdef __STDC__
72777 # include <limits.h>
72778 #else
72779 # include <assert.h>
72780 #endif
72782 #undef $ac_func
72784 /* Override any gcc2 internal prototype to avoid an error. */
72785 #ifdef __cplusplus
72786 extern "C"
72788 #endif
72789 /* We use char because int might match the return type of a gcc2
72790 builtin and then its argument prototype would still apply. */
72791 char $ac_func ();
72792 /* The GNU C library defines this for functions which it implements
72793 to always fail with ENOSYS. Some functions are actually named
72794 something starting with __ and the normal name is an alias. */
72795 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72796 choke me
72797 #else
72798 char (*f) () = $ac_func;
72799 #endif
72800 #ifdef __cplusplus
72802 #endif
72805 main ()
72807 return f != $ac_func;
72809 return 0;
72811 _ACEOF
72812 rm -f conftest.$ac_objext conftest$ac_exeext
72813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72814 (eval $ac_link) 2>conftest.er1
72815 ac_status=$?
72816 grep -v '^ *+' conftest.er1 >conftest.err
72817 rm -f conftest.er1
72818 cat conftest.err >&5
72819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72820 (exit $ac_status); } &&
72821 { ac_try='test -z "$ac_c_werror_flag"
72822 || test ! -s conftest.err'
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); }; } &&
72828 { ac_try='test -s conftest$ac_exeext'
72829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72830 (eval $ac_try) 2>&5
72831 ac_status=$?
72832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72833 (exit $ac_status); }; }; then
72834 eval "$as_ac_var=yes"
72835 else
72836 echo "$as_me: failed program was:" >&5
72837 sed 's/^/| /' conftest.$ac_ext >&5
72839 eval "$as_ac_var=no"
72841 rm -f conftest.err conftest.$ac_objext \
72842 conftest$ac_exeext conftest.$ac_ext
72844 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72845 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72846 if test `eval echo '${'$as_ac_var'}'` = yes; then
72847 cat >>confdefs.h <<_ACEOF
72848 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72849 _ACEOF
72852 done
72862 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
72863 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
72864 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
72865 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
72866 echo $ECHO_N "(cached) $ECHO_C" >&6
72867 else
72871 ac_ext=cc
72872 ac_cpp='$CXXCPP $CPPFLAGS'
72873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72877 cat >conftest.$ac_ext <<_ACEOF
72878 /* confdefs.h. */
72879 _ACEOF
72880 cat confdefs.h >>conftest.$ac_ext
72881 cat >>conftest.$ac_ext <<_ACEOF
72882 /* end confdefs.h. */
72883 #include <math.h>
72885 main ()
72887 sincosf(0, 0, 0);
72889 return 0;
72891 _ACEOF
72892 rm -f conftest.$ac_objext
72893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72894 (eval $ac_compile) 2>conftest.er1
72895 ac_status=$?
72896 grep -v '^ *+' conftest.er1 >conftest.err
72897 rm -f conftest.er1
72898 cat conftest.err >&5
72899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72900 (exit $ac_status); } &&
72901 { ac_try='test -z "$ac_cxx_werror_flag"
72902 || test ! -s conftest.err'
72903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72904 (eval $ac_try) 2>&5
72905 ac_status=$?
72906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72907 (exit $ac_status); }; } &&
72908 { ac_try='test -s conftest.$ac_objext'
72909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72910 (eval $ac_try) 2>&5
72911 ac_status=$?
72912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72913 (exit $ac_status); }; }; then
72914 glibcxx_cv_func_sincosf_use=yes
72915 else
72916 echo "$as_me: failed program was:" >&5
72917 sed 's/^/| /' conftest.$ac_ext >&5
72919 glibcxx_cv_func_sincosf_use=no
72921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72922 ac_ext=c
72923 ac_cpp='$CPP $CPPFLAGS'
72924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72932 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
72933 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
72935 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
72937 for ac_func in sincosf
72939 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72940 echo "$as_me:$LINENO: checking for $ac_func" >&5
72941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72942 if eval "test \"\${$as_ac_var+set}\" = set"; then
72943 echo $ECHO_N "(cached) $ECHO_C" >&6
72944 else
72945 if test x$gcc_no_link = xyes; then
72946 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72947 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72948 { (exit 1); exit 1; }; }
72950 cat >conftest.$ac_ext <<_ACEOF
72951 /* confdefs.h. */
72952 _ACEOF
72953 cat confdefs.h >>conftest.$ac_ext
72954 cat >>conftest.$ac_ext <<_ACEOF
72955 /* end confdefs.h. */
72956 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72957 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72958 #define $ac_func innocuous_$ac_func
72960 /* System header to define __stub macros and hopefully few prototypes,
72961 which can conflict with char $ac_func (); below.
72962 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72963 <limits.h> exists even on freestanding compilers. */
72965 #ifdef __STDC__
72966 # include <limits.h>
72967 #else
72968 # include <assert.h>
72969 #endif
72971 #undef $ac_func
72973 /* Override any gcc2 internal prototype to avoid an error. */
72974 #ifdef __cplusplus
72975 extern "C"
72977 #endif
72978 /* We use char because int might match the return type of a gcc2
72979 builtin and then its argument prototype would still apply. */
72980 char $ac_func ();
72981 /* The GNU C library defines this for functions which it implements
72982 to always fail with ENOSYS. Some functions are actually named
72983 something starting with __ and the normal name is an alias. */
72984 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72985 choke me
72986 #else
72987 char (*f) () = $ac_func;
72988 #endif
72989 #ifdef __cplusplus
72991 #endif
72994 main ()
72996 return f != $ac_func;
72998 return 0;
73000 _ACEOF
73001 rm -f conftest.$ac_objext conftest$ac_exeext
73002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73003 (eval $ac_link) 2>conftest.er1
73004 ac_status=$?
73005 grep -v '^ *+' conftest.er1 >conftest.err
73006 rm -f conftest.er1
73007 cat conftest.err >&5
73008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73009 (exit $ac_status); } &&
73010 { ac_try='test -z "$ac_c_werror_flag"
73011 || test ! -s conftest.err'
73012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73013 (eval $ac_try) 2>&5
73014 ac_status=$?
73015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73016 (exit $ac_status); }; } &&
73017 { ac_try='test -s conftest$ac_exeext'
73018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73019 (eval $ac_try) 2>&5
73020 ac_status=$?
73021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73022 (exit $ac_status); }; }; then
73023 eval "$as_ac_var=yes"
73024 else
73025 echo "$as_me: failed program was:" >&5
73026 sed 's/^/| /' conftest.$ac_ext >&5
73028 eval "$as_ac_var=no"
73030 rm -f conftest.err conftest.$ac_objext \
73031 conftest$ac_exeext conftest.$ac_ext
73033 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73034 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73035 if test `eval echo '${'$as_ac_var'}'` = yes; then
73036 cat >>confdefs.h <<_ACEOF
73037 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73038 _ACEOF
73041 done
73043 else
73045 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
73046 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
73047 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
73048 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
73049 echo $ECHO_N "(cached) $ECHO_C" >&6
73050 else
73054 ac_ext=cc
73055 ac_cpp='$CXXCPP $CPPFLAGS'
73056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73060 cat >conftest.$ac_ext <<_ACEOF
73061 /* confdefs.h. */
73062 _ACEOF
73063 cat confdefs.h >>conftest.$ac_ext
73064 cat >>conftest.$ac_ext <<_ACEOF
73065 /* end confdefs.h. */
73066 #include <math.h>
73068 main ()
73070 _sincosf(0, 0, 0);
73072 return 0;
73074 _ACEOF
73075 rm -f conftest.$ac_objext
73076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73077 (eval $ac_compile) 2>conftest.er1
73078 ac_status=$?
73079 grep -v '^ *+' conftest.er1 >conftest.err
73080 rm -f conftest.er1
73081 cat conftest.err >&5
73082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73083 (exit $ac_status); } &&
73084 { ac_try='test -z "$ac_cxx_werror_flag"
73085 || test ! -s conftest.err'
73086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73087 (eval $ac_try) 2>&5
73088 ac_status=$?
73089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73090 (exit $ac_status); }; } &&
73091 { ac_try='test -s conftest.$ac_objext'
73092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73093 (eval $ac_try) 2>&5
73094 ac_status=$?
73095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73096 (exit $ac_status); }; }; then
73097 glibcxx_cv_func__sincosf_use=yes
73098 else
73099 echo "$as_me: failed program was:" >&5
73100 sed 's/^/| /' conftest.$ac_ext >&5
73102 glibcxx_cv_func__sincosf_use=no
73104 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73105 ac_ext=c
73106 ac_cpp='$CPP $CPPFLAGS'
73107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73115 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
73116 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
73118 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
73120 for ac_func in _sincosf
73122 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73123 echo "$as_me:$LINENO: checking for $ac_func" >&5
73124 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73125 if eval "test \"\${$as_ac_var+set}\" = set"; then
73126 echo $ECHO_N "(cached) $ECHO_C" >&6
73127 else
73128 if test x$gcc_no_link = xyes; then
73129 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73130 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73131 { (exit 1); exit 1; }; }
73133 cat >conftest.$ac_ext <<_ACEOF
73134 /* confdefs.h. */
73135 _ACEOF
73136 cat confdefs.h >>conftest.$ac_ext
73137 cat >>conftest.$ac_ext <<_ACEOF
73138 /* end confdefs.h. */
73139 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73140 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73141 #define $ac_func innocuous_$ac_func
73143 /* System header to define __stub macros and hopefully few prototypes,
73144 which can conflict with char $ac_func (); below.
73145 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73146 <limits.h> exists even on freestanding compilers. */
73148 #ifdef __STDC__
73149 # include <limits.h>
73150 #else
73151 # include <assert.h>
73152 #endif
73154 #undef $ac_func
73156 /* Override any gcc2 internal prototype to avoid an error. */
73157 #ifdef __cplusplus
73158 extern "C"
73160 #endif
73161 /* We use char because int might match the return type of a gcc2
73162 builtin and then its argument prototype would still apply. */
73163 char $ac_func ();
73164 /* The GNU C library defines this for functions which it implements
73165 to always fail with ENOSYS. Some functions are actually named
73166 something starting with __ and the normal name is an alias. */
73167 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73168 choke me
73169 #else
73170 char (*f) () = $ac_func;
73171 #endif
73172 #ifdef __cplusplus
73174 #endif
73177 main ()
73179 return f != $ac_func;
73181 return 0;
73183 _ACEOF
73184 rm -f conftest.$ac_objext conftest$ac_exeext
73185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73186 (eval $ac_link) 2>conftest.er1
73187 ac_status=$?
73188 grep -v '^ *+' conftest.er1 >conftest.err
73189 rm -f conftest.er1
73190 cat conftest.err >&5
73191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73192 (exit $ac_status); } &&
73193 { ac_try='test -z "$ac_c_werror_flag"
73194 || test ! -s conftest.err'
73195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73196 (eval $ac_try) 2>&5
73197 ac_status=$?
73198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73199 (exit $ac_status); }; } &&
73200 { ac_try='test -s conftest$ac_exeext'
73201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73202 (eval $ac_try) 2>&5
73203 ac_status=$?
73204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73205 (exit $ac_status); }; }; then
73206 eval "$as_ac_var=yes"
73207 else
73208 echo "$as_me: failed program was:" >&5
73209 sed 's/^/| /' conftest.$ac_ext >&5
73211 eval "$as_ac_var=no"
73213 rm -f conftest.err conftest.$ac_objext \
73214 conftest$ac_exeext conftest.$ac_ext
73216 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73217 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73218 if test `eval echo '${'$as_ac_var'}'` = yes; then
73219 cat >>confdefs.h <<_ACEOF
73220 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73221 _ACEOF
73224 done
73234 echo "$as_me:$LINENO: checking for finitef declaration" >&5
73235 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
73236 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
73237 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
73238 echo $ECHO_N "(cached) $ECHO_C" >&6
73239 else
73243 ac_ext=cc
73244 ac_cpp='$CXXCPP $CPPFLAGS'
73245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73249 cat >conftest.$ac_ext <<_ACEOF
73250 /* confdefs.h. */
73251 _ACEOF
73252 cat confdefs.h >>conftest.$ac_ext
73253 cat >>conftest.$ac_ext <<_ACEOF
73254 /* end confdefs.h. */
73255 #include <math.h>
73256 #ifdef HAVE_IEEEFP_H
73257 #include <ieeefp.h>
73258 #endif
73261 main ()
73263 finitef(0);
73265 return 0;
73267 _ACEOF
73268 rm -f conftest.$ac_objext
73269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73270 (eval $ac_compile) 2>conftest.er1
73271 ac_status=$?
73272 grep -v '^ *+' conftest.er1 >conftest.err
73273 rm -f conftest.er1
73274 cat conftest.err >&5
73275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73276 (exit $ac_status); } &&
73277 { ac_try='test -z "$ac_cxx_werror_flag"
73278 || test ! -s conftest.err'
73279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73280 (eval $ac_try) 2>&5
73281 ac_status=$?
73282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73283 (exit $ac_status); }; } &&
73284 { ac_try='test -s conftest.$ac_objext'
73285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73286 (eval $ac_try) 2>&5
73287 ac_status=$?
73288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73289 (exit $ac_status); }; }; then
73290 glibcxx_cv_func_finitef_use=yes
73291 else
73292 echo "$as_me: failed program was:" >&5
73293 sed 's/^/| /' conftest.$ac_ext >&5
73295 glibcxx_cv_func_finitef_use=no
73297 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73298 ac_ext=c
73299 ac_cpp='$CPP $CPPFLAGS'
73300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73308 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
73309 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
73311 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
73313 for ac_func in finitef
73315 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73316 echo "$as_me:$LINENO: checking for $ac_func" >&5
73317 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73318 if eval "test \"\${$as_ac_var+set}\" = set"; then
73319 echo $ECHO_N "(cached) $ECHO_C" >&6
73320 else
73321 if test x$gcc_no_link = xyes; then
73322 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73323 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73324 { (exit 1); exit 1; }; }
73326 cat >conftest.$ac_ext <<_ACEOF
73327 /* confdefs.h. */
73328 _ACEOF
73329 cat confdefs.h >>conftest.$ac_ext
73330 cat >>conftest.$ac_ext <<_ACEOF
73331 /* end confdefs.h. */
73332 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73333 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73334 #define $ac_func innocuous_$ac_func
73336 /* System header to define __stub macros and hopefully few prototypes,
73337 which can conflict with char $ac_func (); below.
73338 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73339 <limits.h> exists even on freestanding compilers. */
73341 #ifdef __STDC__
73342 # include <limits.h>
73343 #else
73344 # include <assert.h>
73345 #endif
73347 #undef $ac_func
73349 /* Override any gcc2 internal prototype to avoid an error. */
73350 #ifdef __cplusplus
73351 extern "C"
73353 #endif
73354 /* We use char because int might match the return type of a gcc2
73355 builtin and then its argument prototype would still apply. */
73356 char $ac_func ();
73357 /* The GNU C library defines this for functions which it implements
73358 to always fail with ENOSYS. Some functions are actually named
73359 something starting with __ and the normal name is an alias. */
73360 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73361 choke me
73362 #else
73363 char (*f) () = $ac_func;
73364 #endif
73365 #ifdef __cplusplus
73367 #endif
73370 main ()
73372 return f != $ac_func;
73374 return 0;
73376 _ACEOF
73377 rm -f conftest.$ac_objext conftest$ac_exeext
73378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73379 (eval $ac_link) 2>conftest.er1
73380 ac_status=$?
73381 grep -v '^ *+' conftest.er1 >conftest.err
73382 rm -f conftest.er1
73383 cat conftest.err >&5
73384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73385 (exit $ac_status); } &&
73386 { ac_try='test -z "$ac_c_werror_flag"
73387 || test ! -s conftest.err'
73388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73389 (eval $ac_try) 2>&5
73390 ac_status=$?
73391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73392 (exit $ac_status); }; } &&
73393 { ac_try='test -s conftest$ac_exeext'
73394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73395 (eval $ac_try) 2>&5
73396 ac_status=$?
73397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73398 (exit $ac_status); }; }; then
73399 eval "$as_ac_var=yes"
73400 else
73401 echo "$as_me: failed program was:" >&5
73402 sed 's/^/| /' conftest.$ac_ext >&5
73404 eval "$as_ac_var=no"
73406 rm -f conftest.err conftest.$ac_objext \
73407 conftest$ac_exeext conftest.$ac_ext
73409 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73410 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73411 if test `eval echo '${'$as_ac_var'}'` = yes; then
73412 cat >>confdefs.h <<_ACEOF
73413 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73414 _ACEOF
73417 done
73419 else
73421 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
73422 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
73423 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
73424 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
73425 echo $ECHO_N "(cached) $ECHO_C" >&6
73426 else
73430 ac_ext=cc
73431 ac_cpp='$CXXCPP $CPPFLAGS'
73432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73436 cat >conftest.$ac_ext <<_ACEOF
73437 /* confdefs.h. */
73438 _ACEOF
73439 cat confdefs.h >>conftest.$ac_ext
73440 cat >>conftest.$ac_ext <<_ACEOF
73441 /* end confdefs.h. */
73442 #include <math.h>
73443 #ifdef HAVE_IEEEFP_H
73444 #include <ieeefp.h>
73445 #endif
73448 main ()
73450 _finitef(0);
73452 return 0;
73454 _ACEOF
73455 rm -f conftest.$ac_objext
73456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73457 (eval $ac_compile) 2>conftest.er1
73458 ac_status=$?
73459 grep -v '^ *+' conftest.er1 >conftest.err
73460 rm -f conftest.er1
73461 cat conftest.err >&5
73462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73463 (exit $ac_status); } &&
73464 { ac_try='test -z "$ac_cxx_werror_flag"
73465 || test ! -s conftest.err'
73466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73467 (eval $ac_try) 2>&5
73468 ac_status=$?
73469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73470 (exit $ac_status); }; } &&
73471 { ac_try='test -s conftest.$ac_objext'
73472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73473 (eval $ac_try) 2>&5
73474 ac_status=$?
73475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73476 (exit $ac_status); }; }; then
73477 glibcxx_cv_func__finitef_use=yes
73478 else
73479 echo "$as_me: failed program was:" >&5
73480 sed 's/^/| /' conftest.$ac_ext >&5
73482 glibcxx_cv_func__finitef_use=no
73484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73485 ac_ext=c
73486 ac_cpp='$CPP $CPPFLAGS'
73487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73495 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
73496 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
73498 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
73500 for ac_func in _finitef
73502 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73503 echo "$as_me:$LINENO: checking for $ac_func" >&5
73504 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73505 if eval "test \"\${$as_ac_var+set}\" = set"; then
73506 echo $ECHO_N "(cached) $ECHO_C" >&6
73507 else
73508 if test x$gcc_no_link = xyes; then
73509 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73510 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73511 { (exit 1); exit 1; }; }
73513 cat >conftest.$ac_ext <<_ACEOF
73514 /* confdefs.h. */
73515 _ACEOF
73516 cat confdefs.h >>conftest.$ac_ext
73517 cat >>conftest.$ac_ext <<_ACEOF
73518 /* end confdefs.h. */
73519 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73520 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73521 #define $ac_func innocuous_$ac_func
73523 /* System header to define __stub macros and hopefully few prototypes,
73524 which can conflict with char $ac_func (); below.
73525 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73526 <limits.h> exists even on freestanding compilers. */
73528 #ifdef __STDC__
73529 # include <limits.h>
73530 #else
73531 # include <assert.h>
73532 #endif
73534 #undef $ac_func
73536 /* Override any gcc2 internal prototype to avoid an error. */
73537 #ifdef __cplusplus
73538 extern "C"
73540 #endif
73541 /* We use char because int might match the return type of a gcc2
73542 builtin and then its argument prototype would still apply. */
73543 char $ac_func ();
73544 /* The GNU C library defines this for functions which it implements
73545 to always fail with ENOSYS. Some functions are actually named
73546 something starting with __ and the normal name is an alias. */
73547 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73548 choke me
73549 #else
73550 char (*f) () = $ac_func;
73551 #endif
73552 #ifdef __cplusplus
73554 #endif
73557 main ()
73559 return f != $ac_func;
73561 return 0;
73563 _ACEOF
73564 rm -f conftest.$ac_objext conftest$ac_exeext
73565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73566 (eval $ac_link) 2>conftest.er1
73567 ac_status=$?
73568 grep -v '^ *+' conftest.er1 >conftest.err
73569 rm -f conftest.er1
73570 cat conftest.err >&5
73571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73572 (exit $ac_status); } &&
73573 { ac_try='test -z "$ac_c_werror_flag"
73574 || test ! -s conftest.err'
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); }; } &&
73580 { ac_try='test -s conftest$ac_exeext'
73581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73582 (eval $ac_try) 2>&5
73583 ac_status=$?
73584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73585 (exit $ac_status); }; }; then
73586 eval "$as_ac_var=yes"
73587 else
73588 echo "$as_me: failed program was:" >&5
73589 sed 's/^/| /' conftest.$ac_ext >&5
73591 eval "$as_ac_var=no"
73593 rm -f conftest.err conftest.$ac_objext \
73594 conftest$ac_exeext conftest.$ac_ext
73596 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73597 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73598 if test `eval echo '${'$as_ac_var'}'` = yes; then
73599 cat >>confdefs.h <<_ACEOF
73600 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73601 _ACEOF
73604 done
73614 echo "$as_me:$LINENO: checking for long double trig functions" >&5
73615 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
73616 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
73617 echo $ECHO_N "(cached) $ECHO_C" >&6
73618 else
73622 ac_ext=cc
73623 ac_cpp='$CXXCPP $CPPFLAGS'
73624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73628 cat >conftest.$ac_ext <<_ACEOF
73629 /* confdefs.h. */
73630 _ACEOF
73631 cat confdefs.h >>conftest.$ac_ext
73632 cat >>conftest.$ac_ext <<_ACEOF
73633 /* end confdefs.h. */
73634 #include <math.h>
73636 main ()
73638 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
73640 return 0;
73642 _ACEOF
73643 rm -f conftest.$ac_objext
73644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73645 (eval $ac_compile) 2>conftest.er1
73646 ac_status=$?
73647 grep -v '^ *+' conftest.er1 >conftest.err
73648 rm -f conftest.er1
73649 cat conftest.err >&5
73650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73651 (exit $ac_status); } &&
73652 { ac_try='test -z "$ac_cxx_werror_flag"
73653 || test ! -s conftest.err'
73654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73655 (eval $ac_try) 2>&5
73656 ac_status=$?
73657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73658 (exit $ac_status); }; } &&
73659 { ac_try='test -s conftest.$ac_objext'
73660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73661 (eval $ac_try) 2>&5
73662 ac_status=$?
73663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73664 (exit $ac_status); }; }; then
73665 glibcxx_cv_func_long_double_trig_use=yes
73666 else
73667 echo "$as_me: failed program was:" >&5
73668 sed 's/^/| /' conftest.$ac_ext >&5
73670 glibcxx_cv_func_long_double_trig_use=no
73672 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73673 ac_ext=c
73674 ac_cpp='$CPP $CPPFLAGS'
73675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73681 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
73682 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
73683 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
73693 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
73695 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73696 echo "$as_me:$LINENO: checking for $ac_func" >&5
73697 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73698 if eval "test \"\${$as_ac_var+set}\" = set"; then
73699 echo $ECHO_N "(cached) $ECHO_C" >&6
73700 else
73701 if test x$gcc_no_link = xyes; then
73702 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73703 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73704 { (exit 1); exit 1; }; }
73706 cat >conftest.$ac_ext <<_ACEOF
73707 /* confdefs.h. */
73708 _ACEOF
73709 cat confdefs.h >>conftest.$ac_ext
73710 cat >>conftest.$ac_ext <<_ACEOF
73711 /* end confdefs.h. */
73712 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73713 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73714 #define $ac_func innocuous_$ac_func
73716 /* System header to define __stub macros and hopefully few prototypes,
73717 which can conflict with char $ac_func (); below.
73718 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73719 <limits.h> exists even on freestanding compilers. */
73721 #ifdef __STDC__
73722 # include <limits.h>
73723 #else
73724 # include <assert.h>
73725 #endif
73727 #undef $ac_func
73729 /* Override any gcc2 internal prototype to avoid an error. */
73730 #ifdef __cplusplus
73731 extern "C"
73733 #endif
73734 /* We use char because int might match the return type of a gcc2
73735 builtin and then its argument prototype would still apply. */
73736 char $ac_func ();
73737 /* The GNU C library defines this for functions which it implements
73738 to always fail with ENOSYS. Some functions are actually named
73739 something starting with __ and the normal name is an alias. */
73740 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73741 choke me
73742 #else
73743 char (*f) () = $ac_func;
73744 #endif
73745 #ifdef __cplusplus
73747 #endif
73750 main ()
73752 return f != $ac_func;
73754 return 0;
73756 _ACEOF
73757 rm -f conftest.$ac_objext conftest$ac_exeext
73758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73759 (eval $ac_link) 2>conftest.er1
73760 ac_status=$?
73761 grep -v '^ *+' conftest.er1 >conftest.err
73762 rm -f conftest.er1
73763 cat conftest.err >&5
73764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73765 (exit $ac_status); } &&
73766 { ac_try='test -z "$ac_c_werror_flag"
73767 || test ! -s conftest.err'
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); }; } &&
73773 { ac_try='test -s conftest$ac_exeext'
73774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73775 (eval $ac_try) 2>&5
73776 ac_status=$?
73777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73778 (exit $ac_status); }; }; then
73779 eval "$as_ac_var=yes"
73780 else
73781 echo "$as_me: failed program was:" >&5
73782 sed 's/^/| /' conftest.$ac_ext >&5
73784 eval "$as_ac_var=no"
73786 rm -f conftest.err conftest.$ac_objext \
73787 conftest$ac_exeext conftest.$ac_ext
73789 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73790 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73791 if test `eval echo '${'$as_ac_var'}'` = yes; then
73792 cat >>confdefs.h <<_ACEOF
73793 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73794 _ACEOF
73797 done
73799 else
73800 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
73801 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
73802 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
73803 echo $ECHO_N "(cached) $ECHO_C" >&6
73804 else
73808 ac_ext=cc
73809 ac_cpp='$CXXCPP $CPPFLAGS'
73810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73814 cat >conftest.$ac_ext <<_ACEOF
73815 /* confdefs.h. */
73816 _ACEOF
73817 cat confdefs.h >>conftest.$ac_ext
73818 cat >>conftest.$ac_ext <<_ACEOF
73819 /* end confdefs.h. */
73820 #include <math.h>
73822 main ()
73824 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
73826 return 0;
73828 _ACEOF
73829 rm -f conftest.$ac_objext
73830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73831 (eval $ac_compile) 2>conftest.er1
73832 ac_status=$?
73833 grep -v '^ *+' conftest.er1 >conftest.err
73834 rm -f conftest.er1
73835 cat conftest.err >&5
73836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73837 (exit $ac_status); } &&
73838 { ac_try='test -z "$ac_cxx_werror_flag"
73839 || test ! -s conftest.err'
73840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73841 (eval $ac_try) 2>&5
73842 ac_status=$?
73843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73844 (exit $ac_status); }; } &&
73845 { ac_try='test -s conftest.$ac_objext'
73846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73847 (eval $ac_try) 2>&5
73848 ac_status=$?
73849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73850 (exit $ac_status); }; }; then
73851 glibcxx_cv_func__long_double_trig_use=yes
73852 else
73853 echo "$as_me: failed program was:" >&5
73854 sed 's/^/| /' conftest.$ac_ext >&5
73856 glibcxx_cv_func__long_double_trig_use=no
73858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73859 ac_ext=c
73860 ac_cpp='$CPP $CPPFLAGS'
73861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73867 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
73868 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
73869 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
73879 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
73881 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73882 echo "$as_me:$LINENO: checking for $ac_func" >&5
73883 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73884 if eval "test \"\${$as_ac_var+set}\" = set"; then
73885 echo $ECHO_N "(cached) $ECHO_C" >&6
73886 else
73887 if test x$gcc_no_link = xyes; then
73888 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73889 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73890 { (exit 1); exit 1; }; }
73892 cat >conftest.$ac_ext <<_ACEOF
73893 /* confdefs.h. */
73894 _ACEOF
73895 cat confdefs.h >>conftest.$ac_ext
73896 cat >>conftest.$ac_ext <<_ACEOF
73897 /* end confdefs.h. */
73898 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73899 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73900 #define $ac_func innocuous_$ac_func
73902 /* System header to define __stub macros and hopefully few prototypes,
73903 which can conflict with char $ac_func (); below.
73904 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73905 <limits.h> exists even on freestanding compilers. */
73907 #ifdef __STDC__
73908 # include <limits.h>
73909 #else
73910 # include <assert.h>
73911 #endif
73913 #undef $ac_func
73915 /* Override any gcc2 internal prototype to avoid an error. */
73916 #ifdef __cplusplus
73917 extern "C"
73919 #endif
73920 /* We use char because int might match the return type of a gcc2
73921 builtin and then its argument prototype would still apply. */
73922 char $ac_func ();
73923 /* The GNU C library defines this for functions which it implements
73924 to always fail with ENOSYS. Some functions are actually named
73925 something starting with __ and the normal name is an alias. */
73926 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73927 choke me
73928 #else
73929 char (*f) () = $ac_func;
73930 #endif
73931 #ifdef __cplusplus
73933 #endif
73936 main ()
73938 return f != $ac_func;
73940 return 0;
73942 _ACEOF
73943 rm -f conftest.$ac_objext conftest$ac_exeext
73944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73945 (eval $ac_link) 2>conftest.er1
73946 ac_status=$?
73947 grep -v '^ *+' conftest.er1 >conftest.err
73948 rm -f conftest.er1
73949 cat conftest.err >&5
73950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73951 (exit $ac_status); } &&
73952 { ac_try='test -z "$ac_c_werror_flag"
73953 || test ! -s conftest.err'
73954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73955 (eval $ac_try) 2>&5
73956 ac_status=$?
73957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73958 (exit $ac_status); }; } &&
73959 { ac_try='test -s conftest$ac_exeext'
73960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73961 (eval $ac_try) 2>&5
73962 ac_status=$?
73963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73964 (exit $ac_status); }; }; then
73965 eval "$as_ac_var=yes"
73966 else
73967 echo "$as_me: failed program was:" >&5
73968 sed 's/^/| /' conftest.$ac_ext >&5
73970 eval "$as_ac_var=no"
73972 rm -f conftest.err conftest.$ac_objext \
73973 conftest$ac_exeext conftest.$ac_ext
73975 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73976 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73977 if test `eval echo '${'$as_ac_var'}'` = yes; then
73978 cat >>confdefs.h <<_ACEOF
73979 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73980 _ACEOF
73983 done
74001 echo "$as_me:$LINENO: checking for long double round functions" >&5
74002 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
74003 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
74004 echo $ECHO_N "(cached) $ECHO_C" >&6
74005 else
74009 ac_ext=cc
74010 ac_cpp='$CXXCPP $CPPFLAGS'
74011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74015 cat >conftest.$ac_ext <<_ACEOF
74016 /* confdefs.h. */
74017 _ACEOF
74018 cat confdefs.h >>conftest.$ac_ext
74019 cat >>conftest.$ac_ext <<_ACEOF
74020 /* end confdefs.h. */
74021 #include <math.h>
74023 main ()
74025 ceill (0); floorl (0);
74027 return 0;
74029 _ACEOF
74030 rm -f conftest.$ac_objext
74031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74032 (eval $ac_compile) 2>conftest.er1
74033 ac_status=$?
74034 grep -v '^ *+' conftest.er1 >conftest.err
74035 rm -f conftest.er1
74036 cat conftest.err >&5
74037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74038 (exit $ac_status); } &&
74039 { ac_try='test -z "$ac_cxx_werror_flag"
74040 || test ! -s conftest.err'
74041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74042 (eval $ac_try) 2>&5
74043 ac_status=$?
74044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74045 (exit $ac_status); }; } &&
74046 { ac_try='test -s conftest.$ac_objext'
74047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74048 (eval $ac_try) 2>&5
74049 ac_status=$?
74050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74051 (exit $ac_status); }; }; then
74052 glibcxx_cv_func_long_double_round_use=yes
74053 else
74054 echo "$as_me: failed program was:" >&5
74055 sed 's/^/| /' conftest.$ac_ext >&5
74057 glibcxx_cv_func_long_double_round_use=no
74059 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74060 ac_ext=c
74061 ac_cpp='$CPP $CPPFLAGS'
74062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74068 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
74069 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
74070 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
74073 for ac_func in ceill floorl
74075 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74076 echo "$as_me:$LINENO: checking for $ac_func" >&5
74077 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74078 if eval "test \"\${$as_ac_var+set}\" = set"; then
74079 echo $ECHO_N "(cached) $ECHO_C" >&6
74080 else
74081 if test x$gcc_no_link = xyes; then
74082 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74083 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74084 { (exit 1); exit 1; }; }
74086 cat >conftest.$ac_ext <<_ACEOF
74087 /* confdefs.h. */
74088 _ACEOF
74089 cat confdefs.h >>conftest.$ac_ext
74090 cat >>conftest.$ac_ext <<_ACEOF
74091 /* end confdefs.h. */
74092 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74093 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74094 #define $ac_func innocuous_$ac_func
74096 /* System header to define __stub macros and hopefully few prototypes,
74097 which can conflict with char $ac_func (); below.
74098 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74099 <limits.h> exists even on freestanding compilers. */
74101 #ifdef __STDC__
74102 # include <limits.h>
74103 #else
74104 # include <assert.h>
74105 #endif
74107 #undef $ac_func
74109 /* Override any gcc2 internal prototype to avoid an error. */
74110 #ifdef __cplusplus
74111 extern "C"
74113 #endif
74114 /* We use char because int might match the return type of a gcc2
74115 builtin and then its argument prototype would still apply. */
74116 char $ac_func ();
74117 /* The GNU C library defines this for functions which it implements
74118 to always fail with ENOSYS. Some functions are actually named
74119 something starting with __ and the normal name is an alias. */
74120 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74121 choke me
74122 #else
74123 char (*f) () = $ac_func;
74124 #endif
74125 #ifdef __cplusplus
74127 #endif
74130 main ()
74132 return f != $ac_func;
74134 return 0;
74136 _ACEOF
74137 rm -f conftest.$ac_objext conftest$ac_exeext
74138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74139 (eval $ac_link) 2>conftest.er1
74140 ac_status=$?
74141 grep -v '^ *+' conftest.er1 >conftest.err
74142 rm -f conftest.er1
74143 cat conftest.err >&5
74144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74145 (exit $ac_status); } &&
74146 { ac_try='test -z "$ac_c_werror_flag"
74147 || test ! -s conftest.err'
74148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74149 (eval $ac_try) 2>&5
74150 ac_status=$?
74151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74152 (exit $ac_status); }; } &&
74153 { ac_try='test -s conftest$ac_exeext'
74154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74155 (eval $ac_try) 2>&5
74156 ac_status=$?
74157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74158 (exit $ac_status); }; }; then
74159 eval "$as_ac_var=yes"
74160 else
74161 echo "$as_me: failed program was:" >&5
74162 sed 's/^/| /' conftest.$ac_ext >&5
74164 eval "$as_ac_var=no"
74166 rm -f conftest.err conftest.$ac_objext \
74167 conftest$ac_exeext conftest.$ac_ext
74169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74170 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74171 if test `eval echo '${'$as_ac_var'}'` = yes; then
74172 cat >>confdefs.h <<_ACEOF
74173 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74174 _ACEOF
74177 done
74179 else
74180 echo "$as_me:$LINENO: checking for _long double round functions" >&5
74181 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
74182 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
74183 echo $ECHO_N "(cached) $ECHO_C" >&6
74184 else
74188 ac_ext=cc
74189 ac_cpp='$CXXCPP $CPPFLAGS'
74190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74194 cat >conftest.$ac_ext <<_ACEOF
74195 /* confdefs.h. */
74196 _ACEOF
74197 cat confdefs.h >>conftest.$ac_ext
74198 cat >>conftest.$ac_ext <<_ACEOF
74199 /* end confdefs.h. */
74200 #include <math.h>
74202 main ()
74204 _ceill (0); _floorl (0);
74206 return 0;
74208 _ACEOF
74209 rm -f conftest.$ac_objext
74210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74211 (eval $ac_compile) 2>conftest.er1
74212 ac_status=$?
74213 grep -v '^ *+' conftest.er1 >conftest.err
74214 rm -f conftest.er1
74215 cat conftest.err >&5
74216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74217 (exit $ac_status); } &&
74218 { ac_try='test -z "$ac_cxx_werror_flag"
74219 || test ! -s conftest.err'
74220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74221 (eval $ac_try) 2>&5
74222 ac_status=$?
74223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74224 (exit $ac_status); }; } &&
74225 { ac_try='test -s conftest.$ac_objext'
74226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74227 (eval $ac_try) 2>&5
74228 ac_status=$?
74229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74230 (exit $ac_status); }; }; then
74231 glibcxx_cv_func__long_double_round_use=yes
74232 else
74233 echo "$as_me: failed program was:" >&5
74234 sed 's/^/| /' conftest.$ac_ext >&5
74236 glibcxx_cv_func__long_double_round_use=no
74238 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74239 ac_ext=c
74240 ac_cpp='$CPP $CPPFLAGS'
74241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74247 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
74248 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
74249 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
74252 for ac_func in _ceill _floorl
74254 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74255 echo "$as_me:$LINENO: checking for $ac_func" >&5
74256 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74257 if eval "test \"\${$as_ac_var+set}\" = set"; then
74258 echo $ECHO_N "(cached) $ECHO_C" >&6
74259 else
74260 if test x$gcc_no_link = xyes; then
74261 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74262 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74263 { (exit 1); exit 1; }; }
74265 cat >conftest.$ac_ext <<_ACEOF
74266 /* confdefs.h. */
74267 _ACEOF
74268 cat confdefs.h >>conftest.$ac_ext
74269 cat >>conftest.$ac_ext <<_ACEOF
74270 /* end confdefs.h. */
74271 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74272 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74273 #define $ac_func innocuous_$ac_func
74275 /* System header to define __stub macros and hopefully few prototypes,
74276 which can conflict with char $ac_func (); below.
74277 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74278 <limits.h> exists even on freestanding compilers. */
74280 #ifdef __STDC__
74281 # include <limits.h>
74282 #else
74283 # include <assert.h>
74284 #endif
74286 #undef $ac_func
74288 /* Override any gcc2 internal prototype to avoid an error. */
74289 #ifdef __cplusplus
74290 extern "C"
74292 #endif
74293 /* We use char because int might match the return type of a gcc2
74294 builtin and then its argument prototype would still apply. */
74295 char $ac_func ();
74296 /* The GNU C library defines this for functions which it implements
74297 to always fail with ENOSYS. Some functions are actually named
74298 something starting with __ and the normal name is an alias. */
74299 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74300 choke me
74301 #else
74302 char (*f) () = $ac_func;
74303 #endif
74304 #ifdef __cplusplus
74306 #endif
74309 main ()
74311 return f != $ac_func;
74313 return 0;
74315 _ACEOF
74316 rm -f conftest.$ac_objext conftest$ac_exeext
74317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74318 (eval $ac_link) 2>conftest.er1
74319 ac_status=$?
74320 grep -v '^ *+' conftest.er1 >conftest.err
74321 rm -f conftest.er1
74322 cat conftest.err >&5
74323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74324 (exit $ac_status); } &&
74325 { ac_try='test -z "$ac_c_werror_flag"
74326 || test ! -s conftest.err'
74327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74328 (eval $ac_try) 2>&5
74329 ac_status=$?
74330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74331 (exit $ac_status); }; } &&
74332 { ac_try='test -s conftest$ac_exeext'
74333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74334 (eval $ac_try) 2>&5
74335 ac_status=$?
74336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74337 (exit $ac_status); }; }; then
74338 eval "$as_ac_var=yes"
74339 else
74340 echo "$as_me: failed program was:" >&5
74341 sed 's/^/| /' conftest.$ac_ext >&5
74343 eval "$as_ac_var=no"
74345 rm -f conftest.err conftest.$ac_objext \
74346 conftest$ac_exeext conftest.$ac_ext
74348 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74349 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74350 if test `eval echo '${'$as_ac_var'}'` = yes; then
74351 cat >>confdefs.h <<_ACEOF
74352 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74353 _ACEOF
74356 done
74368 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
74369 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
74370 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
74371 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
74372 echo $ECHO_N "(cached) $ECHO_C" >&6
74373 else
74377 ac_ext=cc
74378 ac_cpp='$CXXCPP $CPPFLAGS'
74379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74383 cat >conftest.$ac_ext <<_ACEOF
74384 /* confdefs.h. */
74385 _ACEOF
74386 cat confdefs.h >>conftest.$ac_ext
74387 cat >>conftest.$ac_ext <<_ACEOF
74388 /* end confdefs.h. */
74389 #include <math.h>
74390 #ifdef HAVE_IEEEFP_H
74391 #include <ieeefp.h>
74392 #endif
74395 main ()
74397 isnanl(0);
74399 return 0;
74401 _ACEOF
74402 rm -f conftest.$ac_objext
74403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74404 (eval $ac_compile) 2>conftest.er1
74405 ac_status=$?
74406 grep -v '^ *+' conftest.er1 >conftest.err
74407 rm -f conftest.er1
74408 cat conftest.err >&5
74409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74410 (exit $ac_status); } &&
74411 { ac_try='test -z "$ac_cxx_werror_flag"
74412 || test ! -s conftest.err'
74413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74414 (eval $ac_try) 2>&5
74415 ac_status=$?
74416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74417 (exit $ac_status); }; } &&
74418 { ac_try='test -s conftest.$ac_objext'
74419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74420 (eval $ac_try) 2>&5
74421 ac_status=$?
74422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74423 (exit $ac_status); }; }; then
74424 glibcxx_cv_func_isnanl_use=yes
74425 else
74426 echo "$as_me: failed program was:" >&5
74427 sed 's/^/| /' conftest.$ac_ext >&5
74429 glibcxx_cv_func_isnanl_use=no
74431 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74432 ac_ext=c
74433 ac_cpp='$CPP $CPPFLAGS'
74434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74442 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
74443 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
74445 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
74447 for ac_func in isnanl
74449 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74450 echo "$as_me:$LINENO: checking for $ac_func" >&5
74451 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74452 if eval "test \"\${$as_ac_var+set}\" = set"; then
74453 echo $ECHO_N "(cached) $ECHO_C" >&6
74454 else
74455 if test x$gcc_no_link = xyes; then
74456 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74457 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74458 { (exit 1); exit 1; }; }
74460 cat >conftest.$ac_ext <<_ACEOF
74461 /* confdefs.h. */
74462 _ACEOF
74463 cat confdefs.h >>conftest.$ac_ext
74464 cat >>conftest.$ac_ext <<_ACEOF
74465 /* end confdefs.h. */
74466 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74467 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74468 #define $ac_func innocuous_$ac_func
74470 /* System header to define __stub macros and hopefully few prototypes,
74471 which can conflict with char $ac_func (); below.
74472 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74473 <limits.h> exists even on freestanding compilers. */
74475 #ifdef __STDC__
74476 # include <limits.h>
74477 #else
74478 # include <assert.h>
74479 #endif
74481 #undef $ac_func
74483 /* Override any gcc2 internal prototype to avoid an error. */
74484 #ifdef __cplusplus
74485 extern "C"
74487 #endif
74488 /* We use char because int might match the return type of a gcc2
74489 builtin and then its argument prototype would still apply. */
74490 char $ac_func ();
74491 /* The GNU C library defines this for functions which it implements
74492 to always fail with ENOSYS. Some functions are actually named
74493 something starting with __ and the normal name is an alias. */
74494 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74495 choke me
74496 #else
74497 char (*f) () = $ac_func;
74498 #endif
74499 #ifdef __cplusplus
74501 #endif
74504 main ()
74506 return f != $ac_func;
74508 return 0;
74510 _ACEOF
74511 rm -f conftest.$ac_objext conftest$ac_exeext
74512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74513 (eval $ac_link) 2>conftest.er1
74514 ac_status=$?
74515 grep -v '^ *+' conftest.er1 >conftest.err
74516 rm -f conftest.er1
74517 cat conftest.err >&5
74518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74519 (exit $ac_status); } &&
74520 { ac_try='test -z "$ac_c_werror_flag"
74521 || test ! -s conftest.err'
74522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74523 (eval $ac_try) 2>&5
74524 ac_status=$?
74525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74526 (exit $ac_status); }; } &&
74527 { ac_try='test -s conftest$ac_exeext'
74528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74529 (eval $ac_try) 2>&5
74530 ac_status=$?
74531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74532 (exit $ac_status); }; }; then
74533 eval "$as_ac_var=yes"
74534 else
74535 echo "$as_me: failed program was:" >&5
74536 sed 's/^/| /' conftest.$ac_ext >&5
74538 eval "$as_ac_var=no"
74540 rm -f conftest.err conftest.$ac_objext \
74541 conftest$ac_exeext conftest.$ac_ext
74543 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74544 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74545 if test `eval echo '${'$as_ac_var'}'` = yes; then
74546 cat >>confdefs.h <<_ACEOF
74547 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74548 _ACEOF
74551 done
74553 else
74555 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
74556 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
74557 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
74558 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
74559 echo $ECHO_N "(cached) $ECHO_C" >&6
74560 else
74564 ac_ext=cc
74565 ac_cpp='$CXXCPP $CPPFLAGS'
74566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74570 cat >conftest.$ac_ext <<_ACEOF
74571 /* confdefs.h. */
74572 _ACEOF
74573 cat confdefs.h >>conftest.$ac_ext
74574 cat >>conftest.$ac_ext <<_ACEOF
74575 /* end confdefs.h. */
74576 #include <math.h>
74577 #ifdef HAVE_IEEEFP_H
74578 #include <ieeefp.h>
74579 #endif
74582 main ()
74584 _isnanl(0);
74586 return 0;
74588 _ACEOF
74589 rm -f conftest.$ac_objext
74590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74591 (eval $ac_compile) 2>conftest.er1
74592 ac_status=$?
74593 grep -v '^ *+' conftest.er1 >conftest.err
74594 rm -f conftest.er1
74595 cat conftest.err >&5
74596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74597 (exit $ac_status); } &&
74598 { ac_try='test -z "$ac_cxx_werror_flag"
74599 || test ! -s conftest.err'
74600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74601 (eval $ac_try) 2>&5
74602 ac_status=$?
74603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74604 (exit $ac_status); }; } &&
74605 { ac_try='test -s conftest.$ac_objext'
74606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74607 (eval $ac_try) 2>&5
74608 ac_status=$?
74609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74610 (exit $ac_status); }; }; then
74611 glibcxx_cv_func__isnanl_use=yes
74612 else
74613 echo "$as_me: failed program was:" >&5
74614 sed 's/^/| /' conftest.$ac_ext >&5
74616 glibcxx_cv_func__isnanl_use=no
74618 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74619 ac_ext=c
74620 ac_cpp='$CPP $CPPFLAGS'
74621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74629 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
74630 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
74632 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
74634 for ac_func in _isnanl
74636 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74637 echo "$as_me:$LINENO: checking for $ac_func" >&5
74638 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74639 if eval "test \"\${$as_ac_var+set}\" = set"; then
74640 echo $ECHO_N "(cached) $ECHO_C" >&6
74641 else
74642 if test x$gcc_no_link = xyes; then
74643 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74644 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74645 { (exit 1); exit 1; }; }
74647 cat >conftest.$ac_ext <<_ACEOF
74648 /* confdefs.h. */
74649 _ACEOF
74650 cat confdefs.h >>conftest.$ac_ext
74651 cat >>conftest.$ac_ext <<_ACEOF
74652 /* end confdefs.h. */
74653 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74654 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74655 #define $ac_func innocuous_$ac_func
74657 /* System header to define __stub macros and hopefully few prototypes,
74658 which can conflict with char $ac_func (); below.
74659 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74660 <limits.h> exists even on freestanding compilers. */
74662 #ifdef __STDC__
74663 # include <limits.h>
74664 #else
74665 # include <assert.h>
74666 #endif
74668 #undef $ac_func
74670 /* Override any gcc2 internal prototype to avoid an error. */
74671 #ifdef __cplusplus
74672 extern "C"
74674 #endif
74675 /* We use char because int might match the return type of a gcc2
74676 builtin and then its argument prototype would still apply. */
74677 char $ac_func ();
74678 /* The GNU C library defines this for functions which it implements
74679 to always fail with ENOSYS. Some functions are actually named
74680 something starting with __ and the normal name is an alias. */
74681 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74682 choke me
74683 #else
74684 char (*f) () = $ac_func;
74685 #endif
74686 #ifdef __cplusplus
74688 #endif
74691 main ()
74693 return f != $ac_func;
74695 return 0;
74697 _ACEOF
74698 rm -f conftest.$ac_objext conftest$ac_exeext
74699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74700 (eval $ac_link) 2>conftest.er1
74701 ac_status=$?
74702 grep -v '^ *+' conftest.er1 >conftest.err
74703 rm -f conftest.er1
74704 cat conftest.err >&5
74705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74706 (exit $ac_status); } &&
74707 { ac_try='test -z "$ac_c_werror_flag"
74708 || test ! -s conftest.err'
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); }; } &&
74714 { ac_try='test -s conftest$ac_exeext'
74715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74716 (eval $ac_try) 2>&5
74717 ac_status=$?
74718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74719 (exit $ac_status); }; }; then
74720 eval "$as_ac_var=yes"
74721 else
74722 echo "$as_me: failed program was:" >&5
74723 sed 's/^/| /' conftest.$ac_ext >&5
74725 eval "$as_ac_var=no"
74727 rm -f conftest.err conftest.$ac_objext \
74728 conftest$ac_exeext conftest.$ac_ext
74730 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74731 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74732 if test `eval echo '${'$as_ac_var'}'` = yes; then
74733 cat >>confdefs.h <<_ACEOF
74734 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74735 _ACEOF
74738 done
74748 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
74749 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
74750 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
74751 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
74752 echo $ECHO_N "(cached) $ECHO_C" >&6
74753 else
74757 ac_ext=cc
74758 ac_cpp='$CXXCPP $CPPFLAGS'
74759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74763 cat >conftest.$ac_ext <<_ACEOF
74764 /* confdefs.h. */
74765 _ACEOF
74766 cat confdefs.h >>conftest.$ac_ext
74767 cat >>conftest.$ac_ext <<_ACEOF
74768 /* end confdefs.h. */
74769 #include <math.h>
74770 #ifdef HAVE_IEEEFP_H
74771 #include <ieeefp.h>
74772 #endif
74775 main ()
74777 isinfl(0);
74779 return 0;
74781 _ACEOF
74782 rm -f conftest.$ac_objext
74783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74784 (eval $ac_compile) 2>conftest.er1
74785 ac_status=$?
74786 grep -v '^ *+' conftest.er1 >conftest.err
74787 rm -f conftest.er1
74788 cat conftest.err >&5
74789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74790 (exit $ac_status); } &&
74791 { ac_try='test -z "$ac_cxx_werror_flag"
74792 || test ! -s conftest.err'
74793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74794 (eval $ac_try) 2>&5
74795 ac_status=$?
74796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74797 (exit $ac_status); }; } &&
74798 { ac_try='test -s conftest.$ac_objext'
74799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74800 (eval $ac_try) 2>&5
74801 ac_status=$?
74802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74803 (exit $ac_status); }; }; then
74804 glibcxx_cv_func_isinfl_use=yes
74805 else
74806 echo "$as_me: failed program was:" >&5
74807 sed 's/^/| /' conftest.$ac_ext >&5
74809 glibcxx_cv_func_isinfl_use=no
74811 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74812 ac_ext=c
74813 ac_cpp='$CPP $CPPFLAGS'
74814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74822 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
74823 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
74825 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
74827 for ac_func in isinfl
74829 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74830 echo "$as_me:$LINENO: checking for $ac_func" >&5
74831 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74832 if eval "test \"\${$as_ac_var+set}\" = set"; then
74833 echo $ECHO_N "(cached) $ECHO_C" >&6
74834 else
74835 if test x$gcc_no_link = xyes; then
74836 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74837 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74838 { (exit 1); exit 1; }; }
74840 cat >conftest.$ac_ext <<_ACEOF
74841 /* confdefs.h. */
74842 _ACEOF
74843 cat confdefs.h >>conftest.$ac_ext
74844 cat >>conftest.$ac_ext <<_ACEOF
74845 /* end confdefs.h. */
74846 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74847 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74848 #define $ac_func innocuous_$ac_func
74850 /* System header to define __stub macros and hopefully few prototypes,
74851 which can conflict with char $ac_func (); below.
74852 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74853 <limits.h> exists even on freestanding compilers. */
74855 #ifdef __STDC__
74856 # include <limits.h>
74857 #else
74858 # include <assert.h>
74859 #endif
74861 #undef $ac_func
74863 /* Override any gcc2 internal prototype to avoid an error. */
74864 #ifdef __cplusplus
74865 extern "C"
74867 #endif
74868 /* We use char because int might match the return type of a gcc2
74869 builtin and then its argument prototype would still apply. */
74870 char $ac_func ();
74871 /* The GNU C library defines this for functions which it implements
74872 to always fail with ENOSYS. Some functions are actually named
74873 something starting with __ and the normal name is an alias. */
74874 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74875 choke me
74876 #else
74877 char (*f) () = $ac_func;
74878 #endif
74879 #ifdef __cplusplus
74881 #endif
74884 main ()
74886 return f != $ac_func;
74888 return 0;
74890 _ACEOF
74891 rm -f conftest.$ac_objext conftest$ac_exeext
74892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74893 (eval $ac_link) 2>conftest.er1
74894 ac_status=$?
74895 grep -v '^ *+' conftest.er1 >conftest.err
74896 rm -f conftest.er1
74897 cat conftest.err >&5
74898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74899 (exit $ac_status); } &&
74900 { ac_try='test -z "$ac_c_werror_flag"
74901 || test ! -s conftest.err'
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); }; } &&
74907 { ac_try='test -s conftest$ac_exeext'
74908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74909 (eval $ac_try) 2>&5
74910 ac_status=$?
74911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74912 (exit $ac_status); }; }; then
74913 eval "$as_ac_var=yes"
74914 else
74915 echo "$as_me: failed program was:" >&5
74916 sed 's/^/| /' conftest.$ac_ext >&5
74918 eval "$as_ac_var=no"
74920 rm -f conftest.err conftest.$ac_objext \
74921 conftest$ac_exeext conftest.$ac_ext
74923 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74924 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74925 if test `eval echo '${'$as_ac_var'}'` = yes; then
74926 cat >>confdefs.h <<_ACEOF
74927 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74928 _ACEOF
74931 done
74933 else
74935 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
74936 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
74937 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
74938 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
74939 echo $ECHO_N "(cached) $ECHO_C" >&6
74940 else
74944 ac_ext=cc
74945 ac_cpp='$CXXCPP $CPPFLAGS'
74946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74950 cat >conftest.$ac_ext <<_ACEOF
74951 /* confdefs.h. */
74952 _ACEOF
74953 cat confdefs.h >>conftest.$ac_ext
74954 cat >>conftest.$ac_ext <<_ACEOF
74955 /* end confdefs.h. */
74956 #include <math.h>
74957 #ifdef HAVE_IEEEFP_H
74958 #include <ieeefp.h>
74959 #endif
74962 main ()
74964 _isinfl(0);
74966 return 0;
74968 _ACEOF
74969 rm -f conftest.$ac_objext
74970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74971 (eval $ac_compile) 2>conftest.er1
74972 ac_status=$?
74973 grep -v '^ *+' conftest.er1 >conftest.err
74974 rm -f conftest.er1
74975 cat conftest.err >&5
74976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74977 (exit $ac_status); } &&
74978 { ac_try='test -z "$ac_cxx_werror_flag"
74979 || test ! -s conftest.err'
74980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74981 (eval $ac_try) 2>&5
74982 ac_status=$?
74983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74984 (exit $ac_status); }; } &&
74985 { ac_try='test -s conftest.$ac_objext'
74986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74987 (eval $ac_try) 2>&5
74988 ac_status=$?
74989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74990 (exit $ac_status); }; }; then
74991 glibcxx_cv_func__isinfl_use=yes
74992 else
74993 echo "$as_me: failed program was:" >&5
74994 sed 's/^/| /' conftest.$ac_ext >&5
74996 glibcxx_cv_func__isinfl_use=no
74998 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74999 ac_ext=c
75000 ac_cpp='$CPP $CPPFLAGS'
75001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75009 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
75010 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
75012 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
75014 for ac_func in _isinfl
75016 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75017 echo "$as_me:$LINENO: checking for $ac_func" >&5
75018 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75019 if eval "test \"\${$as_ac_var+set}\" = set"; then
75020 echo $ECHO_N "(cached) $ECHO_C" >&6
75021 else
75022 if test x$gcc_no_link = xyes; then
75023 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75024 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75025 { (exit 1); exit 1; }; }
75027 cat >conftest.$ac_ext <<_ACEOF
75028 /* confdefs.h. */
75029 _ACEOF
75030 cat confdefs.h >>conftest.$ac_ext
75031 cat >>conftest.$ac_ext <<_ACEOF
75032 /* end confdefs.h. */
75033 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75034 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75035 #define $ac_func innocuous_$ac_func
75037 /* System header to define __stub macros and hopefully few prototypes,
75038 which can conflict with char $ac_func (); below.
75039 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75040 <limits.h> exists even on freestanding compilers. */
75042 #ifdef __STDC__
75043 # include <limits.h>
75044 #else
75045 # include <assert.h>
75046 #endif
75048 #undef $ac_func
75050 /* Override any gcc2 internal prototype to avoid an error. */
75051 #ifdef __cplusplus
75052 extern "C"
75054 #endif
75055 /* We use char because int might match the return type of a gcc2
75056 builtin and then its argument prototype would still apply. */
75057 char $ac_func ();
75058 /* The GNU C library defines this for functions which it implements
75059 to always fail with ENOSYS. Some functions are actually named
75060 something starting with __ and the normal name is an alias. */
75061 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75062 choke me
75063 #else
75064 char (*f) () = $ac_func;
75065 #endif
75066 #ifdef __cplusplus
75068 #endif
75071 main ()
75073 return f != $ac_func;
75075 return 0;
75077 _ACEOF
75078 rm -f conftest.$ac_objext conftest$ac_exeext
75079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75080 (eval $ac_link) 2>conftest.er1
75081 ac_status=$?
75082 grep -v '^ *+' conftest.er1 >conftest.err
75083 rm -f conftest.er1
75084 cat conftest.err >&5
75085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75086 (exit $ac_status); } &&
75087 { ac_try='test -z "$ac_c_werror_flag"
75088 || test ! -s conftest.err'
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); }; } &&
75094 { ac_try='test -s conftest$ac_exeext'
75095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75096 (eval $ac_try) 2>&5
75097 ac_status=$?
75098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75099 (exit $ac_status); }; }; then
75100 eval "$as_ac_var=yes"
75101 else
75102 echo "$as_me: failed program was:" >&5
75103 sed 's/^/| /' conftest.$ac_ext >&5
75105 eval "$as_ac_var=no"
75107 rm -f conftest.err conftest.$ac_objext \
75108 conftest$ac_exeext conftest.$ac_ext
75110 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75111 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75112 if test `eval echo '${'$as_ac_var'}'` = yes; then
75113 cat >>confdefs.h <<_ACEOF
75114 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75115 _ACEOF
75118 done
75128 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
75129 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
75130 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
75131 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
75132 echo $ECHO_N "(cached) $ECHO_C" >&6
75133 else
75137 ac_ext=cc
75138 ac_cpp='$CXXCPP $CPPFLAGS'
75139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75143 cat >conftest.$ac_ext <<_ACEOF
75144 /* confdefs.h. */
75145 _ACEOF
75146 cat confdefs.h >>conftest.$ac_ext
75147 cat >>conftest.$ac_ext <<_ACEOF
75148 /* end confdefs.h. */
75149 #include <math.h>
75151 main ()
75153 copysignl(0, 0);
75155 return 0;
75157 _ACEOF
75158 rm -f conftest.$ac_objext
75159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75160 (eval $ac_compile) 2>conftest.er1
75161 ac_status=$?
75162 grep -v '^ *+' conftest.er1 >conftest.err
75163 rm -f conftest.er1
75164 cat conftest.err >&5
75165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75166 (exit $ac_status); } &&
75167 { ac_try='test -z "$ac_cxx_werror_flag"
75168 || test ! -s conftest.err'
75169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75170 (eval $ac_try) 2>&5
75171 ac_status=$?
75172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75173 (exit $ac_status); }; } &&
75174 { ac_try='test -s conftest.$ac_objext'
75175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75176 (eval $ac_try) 2>&5
75177 ac_status=$?
75178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75179 (exit $ac_status); }; }; then
75180 glibcxx_cv_func_copysignl_use=yes
75181 else
75182 echo "$as_me: failed program was:" >&5
75183 sed 's/^/| /' conftest.$ac_ext >&5
75185 glibcxx_cv_func_copysignl_use=no
75187 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75188 ac_ext=c
75189 ac_cpp='$CPP $CPPFLAGS'
75190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75198 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
75199 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
75201 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
75203 for ac_func in copysignl
75205 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75206 echo "$as_me:$LINENO: checking for $ac_func" >&5
75207 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75208 if eval "test \"\${$as_ac_var+set}\" = set"; then
75209 echo $ECHO_N "(cached) $ECHO_C" >&6
75210 else
75211 if test x$gcc_no_link = xyes; then
75212 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75213 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75214 { (exit 1); exit 1; }; }
75216 cat >conftest.$ac_ext <<_ACEOF
75217 /* confdefs.h. */
75218 _ACEOF
75219 cat confdefs.h >>conftest.$ac_ext
75220 cat >>conftest.$ac_ext <<_ACEOF
75221 /* end confdefs.h. */
75222 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75223 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75224 #define $ac_func innocuous_$ac_func
75226 /* System header to define __stub macros and hopefully few prototypes,
75227 which can conflict with char $ac_func (); below.
75228 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75229 <limits.h> exists even on freestanding compilers. */
75231 #ifdef __STDC__
75232 # include <limits.h>
75233 #else
75234 # include <assert.h>
75235 #endif
75237 #undef $ac_func
75239 /* Override any gcc2 internal prototype to avoid an error. */
75240 #ifdef __cplusplus
75241 extern "C"
75243 #endif
75244 /* We use char because int might match the return type of a gcc2
75245 builtin and then its argument prototype would still apply. */
75246 char $ac_func ();
75247 /* The GNU C library defines this for functions which it implements
75248 to always fail with ENOSYS. Some functions are actually named
75249 something starting with __ and the normal name is an alias. */
75250 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75251 choke me
75252 #else
75253 char (*f) () = $ac_func;
75254 #endif
75255 #ifdef __cplusplus
75257 #endif
75260 main ()
75262 return f != $ac_func;
75264 return 0;
75266 _ACEOF
75267 rm -f conftest.$ac_objext conftest$ac_exeext
75268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75269 (eval $ac_link) 2>conftest.er1
75270 ac_status=$?
75271 grep -v '^ *+' conftest.er1 >conftest.err
75272 rm -f conftest.er1
75273 cat conftest.err >&5
75274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75275 (exit $ac_status); } &&
75276 { ac_try='test -z "$ac_c_werror_flag"
75277 || test ! -s conftest.err'
75278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75279 (eval $ac_try) 2>&5
75280 ac_status=$?
75281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75282 (exit $ac_status); }; } &&
75283 { ac_try='test -s conftest$ac_exeext'
75284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75285 (eval $ac_try) 2>&5
75286 ac_status=$?
75287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75288 (exit $ac_status); }; }; then
75289 eval "$as_ac_var=yes"
75290 else
75291 echo "$as_me: failed program was:" >&5
75292 sed 's/^/| /' conftest.$ac_ext >&5
75294 eval "$as_ac_var=no"
75296 rm -f conftest.err conftest.$ac_objext \
75297 conftest$ac_exeext conftest.$ac_ext
75299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75300 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75301 if test `eval echo '${'$as_ac_var'}'` = yes; then
75302 cat >>confdefs.h <<_ACEOF
75303 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75304 _ACEOF
75307 done
75309 else
75311 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
75312 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
75313 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
75314 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
75315 echo $ECHO_N "(cached) $ECHO_C" >&6
75316 else
75320 ac_ext=cc
75321 ac_cpp='$CXXCPP $CPPFLAGS'
75322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75326 cat >conftest.$ac_ext <<_ACEOF
75327 /* confdefs.h. */
75328 _ACEOF
75329 cat confdefs.h >>conftest.$ac_ext
75330 cat >>conftest.$ac_ext <<_ACEOF
75331 /* end confdefs.h. */
75332 #include <math.h>
75334 main ()
75336 _copysignl(0, 0);
75338 return 0;
75340 _ACEOF
75341 rm -f conftest.$ac_objext
75342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75343 (eval $ac_compile) 2>conftest.er1
75344 ac_status=$?
75345 grep -v '^ *+' conftest.er1 >conftest.err
75346 rm -f conftest.er1
75347 cat conftest.err >&5
75348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75349 (exit $ac_status); } &&
75350 { ac_try='test -z "$ac_cxx_werror_flag"
75351 || test ! -s conftest.err'
75352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75353 (eval $ac_try) 2>&5
75354 ac_status=$?
75355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75356 (exit $ac_status); }; } &&
75357 { ac_try='test -s conftest.$ac_objext'
75358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75359 (eval $ac_try) 2>&5
75360 ac_status=$?
75361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75362 (exit $ac_status); }; }; then
75363 glibcxx_cv_func__copysignl_use=yes
75364 else
75365 echo "$as_me: failed program was:" >&5
75366 sed 's/^/| /' conftest.$ac_ext >&5
75368 glibcxx_cv_func__copysignl_use=no
75370 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75371 ac_ext=c
75372 ac_cpp='$CPP $CPPFLAGS'
75373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75381 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
75382 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
75384 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
75386 for ac_func in _copysignl
75388 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75389 echo "$as_me:$LINENO: checking for $ac_func" >&5
75390 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75391 if eval "test \"\${$as_ac_var+set}\" = set"; then
75392 echo $ECHO_N "(cached) $ECHO_C" >&6
75393 else
75394 if test x$gcc_no_link = xyes; then
75395 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75396 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75397 { (exit 1); exit 1; }; }
75399 cat >conftest.$ac_ext <<_ACEOF
75400 /* confdefs.h. */
75401 _ACEOF
75402 cat confdefs.h >>conftest.$ac_ext
75403 cat >>conftest.$ac_ext <<_ACEOF
75404 /* end confdefs.h. */
75405 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75406 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75407 #define $ac_func innocuous_$ac_func
75409 /* System header to define __stub macros and hopefully few prototypes,
75410 which can conflict with char $ac_func (); below.
75411 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75412 <limits.h> exists even on freestanding compilers. */
75414 #ifdef __STDC__
75415 # include <limits.h>
75416 #else
75417 # include <assert.h>
75418 #endif
75420 #undef $ac_func
75422 /* Override any gcc2 internal prototype to avoid an error. */
75423 #ifdef __cplusplus
75424 extern "C"
75426 #endif
75427 /* We use char because int might match the return type of a gcc2
75428 builtin and then its argument prototype would still apply. */
75429 char $ac_func ();
75430 /* The GNU C library defines this for functions which it implements
75431 to always fail with ENOSYS. Some functions are actually named
75432 something starting with __ and the normal name is an alias. */
75433 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75434 choke me
75435 #else
75436 char (*f) () = $ac_func;
75437 #endif
75438 #ifdef __cplusplus
75440 #endif
75443 main ()
75445 return f != $ac_func;
75447 return 0;
75449 _ACEOF
75450 rm -f conftest.$ac_objext conftest$ac_exeext
75451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75452 (eval $ac_link) 2>conftest.er1
75453 ac_status=$?
75454 grep -v '^ *+' conftest.er1 >conftest.err
75455 rm -f conftest.er1
75456 cat conftest.err >&5
75457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75458 (exit $ac_status); } &&
75459 { ac_try='test -z "$ac_c_werror_flag"
75460 || test ! -s conftest.err'
75461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75462 (eval $ac_try) 2>&5
75463 ac_status=$?
75464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75465 (exit $ac_status); }; } &&
75466 { ac_try='test -s conftest$ac_exeext'
75467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75468 (eval $ac_try) 2>&5
75469 ac_status=$?
75470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75471 (exit $ac_status); }; }; then
75472 eval "$as_ac_var=yes"
75473 else
75474 echo "$as_me: failed program was:" >&5
75475 sed 's/^/| /' conftest.$ac_ext >&5
75477 eval "$as_ac_var=no"
75479 rm -f conftest.err conftest.$ac_objext \
75480 conftest$ac_exeext conftest.$ac_ext
75482 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75483 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75484 if test `eval echo '${'$as_ac_var'}'` = yes; then
75485 cat >>confdefs.h <<_ACEOF
75486 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75487 _ACEOF
75490 done
75500 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
75501 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
75502 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
75503 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
75504 echo $ECHO_N "(cached) $ECHO_C" >&6
75505 else
75509 ac_ext=cc
75510 ac_cpp='$CXXCPP $CPPFLAGS'
75511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75515 cat >conftest.$ac_ext <<_ACEOF
75516 /* confdefs.h. */
75517 _ACEOF
75518 cat confdefs.h >>conftest.$ac_ext
75519 cat >>conftest.$ac_ext <<_ACEOF
75520 /* end confdefs.h. */
75521 #include <math.h>
75523 main ()
75525 atan2l(0, 0);
75527 return 0;
75529 _ACEOF
75530 rm -f conftest.$ac_objext
75531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75532 (eval $ac_compile) 2>conftest.er1
75533 ac_status=$?
75534 grep -v '^ *+' conftest.er1 >conftest.err
75535 rm -f conftest.er1
75536 cat conftest.err >&5
75537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75538 (exit $ac_status); } &&
75539 { ac_try='test -z "$ac_cxx_werror_flag"
75540 || test ! -s conftest.err'
75541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75542 (eval $ac_try) 2>&5
75543 ac_status=$?
75544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75545 (exit $ac_status); }; } &&
75546 { ac_try='test -s conftest.$ac_objext'
75547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75548 (eval $ac_try) 2>&5
75549 ac_status=$?
75550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75551 (exit $ac_status); }; }; then
75552 glibcxx_cv_func_atan2l_use=yes
75553 else
75554 echo "$as_me: failed program was:" >&5
75555 sed 's/^/| /' conftest.$ac_ext >&5
75557 glibcxx_cv_func_atan2l_use=no
75559 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75560 ac_ext=c
75561 ac_cpp='$CPP $CPPFLAGS'
75562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75570 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
75571 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
75573 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
75575 for ac_func in atan2l
75577 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75578 echo "$as_me:$LINENO: checking for $ac_func" >&5
75579 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75580 if eval "test \"\${$as_ac_var+set}\" = set"; then
75581 echo $ECHO_N "(cached) $ECHO_C" >&6
75582 else
75583 if test x$gcc_no_link = xyes; then
75584 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75585 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75586 { (exit 1); exit 1; }; }
75588 cat >conftest.$ac_ext <<_ACEOF
75589 /* confdefs.h. */
75590 _ACEOF
75591 cat confdefs.h >>conftest.$ac_ext
75592 cat >>conftest.$ac_ext <<_ACEOF
75593 /* end confdefs.h. */
75594 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75595 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75596 #define $ac_func innocuous_$ac_func
75598 /* System header to define __stub macros and hopefully few prototypes,
75599 which can conflict with char $ac_func (); below.
75600 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75601 <limits.h> exists even on freestanding compilers. */
75603 #ifdef __STDC__
75604 # include <limits.h>
75605 #else
75606 # include <assert.h>
75607 #endif
75609 #undef $ac_func
75611 /* Override any gcc2 internal prototype to avoid an error. */
75612 #ifdef __cplusplus
75613 extern "C"
75615 #endif
75616 /* We use char because int might match the return type of a gcc2
75617 builtin and then its argument prototype would still apply. */
75618 char $ac_func ();
75619 /* The GNU C library defines this for functions which it implements
75620 to always fail with ENOSYS. Some functions are actually named
75621 something starting with __ and the normal name is an alias. */
75622 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75623 choke me
75624 #else
75625 char (*f) () = $ac_func;
75626 #endif
75627 #ifdef __cplusplus
75629 #endif
75632 main ()
75634 return f != $ac_func;
75636 return 0;
75638 _ACEOF
75639 rm -f conftest.$ac_objext conftest$ac_exeext
75640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75641 (eval $ac_link) 2>conftest.er1
75642 ac_status=$?
75643 grep -v '^ *+' conftest.er1 >conftest.err
75644 rm -f conftest.er1
75645 cat conftest.err >&5
75646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75647 (exit $ac_status); } &&
75648 { ac_try='test -z "$ac_c_werror_flag"
75649 || test ! -s conftest.err'
75650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75651 (eval $ac_try) 2>&5
75652 ac_status=$?
75653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75654 (exit $ac_status); }; } &&
75655 { ac_try='test -s conftest$ac_exeext'
75656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75657 (eval $ac_try) 2>&5
75658 ac_status=$?
75659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75660 (exit $ac_status); }; }; then
75661 eval "$as_ac_var=yes"
75662 else
75663 echo "$as_me: failed program was:" >&5
75664 sed 's/^/| /' conftest.$ac_ext >&5
75666 eval "$as_ac_var=no"
75668 rm -f conftest.err conftest.$ac_objext \
75669 conftest$ac_exeext conftest.$ac_ext
75671 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75672 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75673 if test `eval echo '${'$as_ac_var'}'` = yes; then
75674 cat >>confdefs.h <<_ACEOF
75675 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75676 _ACEOF
75679 done
75681 else
75683 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
75684 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
75685 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
75686 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
75687 echo $ECHO_N "(cached) $ECHO_C" >&6
75688 else
75692 ac_ext=cc
75693 ac_cpp='$CXXCPP $CPPFLAGS'
75694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75698 cat >conftest.$ac_ext <<_ACEOF
75699 /* confdefs.h. */
75700 _ACEOF
75701 cat confdefs.h >>conftest.$ac_ext
75702 cat >>conftest.$ac_ext <<_ACEOF
75703 /* end confdefs.h. */
75704 #include <math.h>
75706 main ()
75708 _atan2l(0, 0);
75710 return 0;
75712 _ACEOF
75713 rm -f conftest.$ac_objext
75714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75715 (eval $ac_compile) 2>conftest.er1
75716 ac_status=$?
75717 grep -v '^ *+' conftest.er1 >conftest.err
75718 rm -f conftest.er1
75719 cat conftest.err >&5
75720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75721 (exit $ac_status); } &&
75722 { ac_try='test -z "$ac_cxx_werror_flag"
75723 || test ! -s conftest.err'
75724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75725 (eval $ac_try) 2>&5
75726 ac_status=$?
75727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75728 (exit $ac_status); }; } &&
75729 { ac_try='test -s conftest.$ac_objext'
75730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75731 (eval $ac_try) 2>&5
75732 ac_status=$?
75733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75734 (exit $ac_status); }; }; then
75735 glibcxx_cv_func__atan2l_use=yes
75736 else
75737 echo "$as_me: failed program was:" >&5
75738 sed 's/^/| /' conftest.$ac_ext >&5
75740 glibcxx_cv_func__atan2l_use=no
75742 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75743 ac_ext=c
75744 ac_cpp='$CPP $CPPFLAGS'
75745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75753 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
75754 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
75756 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
75758 for ac_func in _atan2l
75760 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75761 echo "$as_me:$LINENO: checking for $ac_func" >&5
75762 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75763 if eval "test \"\${$as_ac_var+set}\" = set"; then
75764 echo $ECHO_N "(cached) $ECHO_C" >&6
75765 else
75766 if test x$gcc_no_link = xyes; then
75767 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75768 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75769 { (exit 1); exit 1; }; }
75771 cat >conftest.$ac_ext <<_ACEOF
75772 /* confdefs.h. */
75773 _ACEOF
75774 cat confdefs.h >>conftest.$ac_ext
75775 cat >>conftest.$ac_ext <<_ACEOF
75776 /* end confdefs.h. */
75777 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75778 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75779 #define $ac_func innocuous_$ac_func
75781 /* System header to define __stub macros and hopefully few prototypes,
75782 which can conflict with char $ac_func (); below.
75783 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75784 <limits.h> exists even on freestanding compilers. */
75786 #ifdef __STDC__
75787 # include <limits.h>
75788 #else
75789 # include <assert.h>
75790 #endif
75792 #undef $ac_func
75794 /* Override any gcc2 internal prototype to avoid an error. */
75795 #ifdef __cplusplus
75796 extern "C"
75798 #endif
75799 /* We use char because int might match the return type of a gcc2
75800 builtin and then its argument prototype would still apply. */
75801 char $ac_func ();
75802 /* The GNU C library defines this for functions which it implements
75803 to always fail with ENOSYS. Some functions are actually named
75804 something starting with __ and the normal name is an alias. */
75805 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75806 choke me
75807 #else
75808 char (*f) () = $ac_func;
75809 #endif
75810 #ifdef __cplusplus
75812 #endif
75815 main ()
75817 return f != $ac_func;
75819 return 0;
75821 _ACEOF
75822 rm -f conftest.$ac_objext conftest$ac_exeext
75823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75824 (eval $ac_link) 2>conftest.er1
75825 ac_status=$?
75826 grep -v '^ *+' conftest.er1 >conftest.err
75827 rm -f conftest.er1
75828 cat conftest.err >&5
75829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75830 (exit $ac_status); } &&
75831 { ac_try='test -z "$ac_c_werror_flag"
75832 || test ! -s conftest.err'
75833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75834 (eval $ac_try) 2>&5
75835 ac_status=$?
75836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75837 (exit $ac_status); }; } &&
75838 { ac_try='test -s conftest$ac_exeext'
75839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75840 (eval $ac_try) 2>&5
75841 ac_status=$?
75842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75843 (exit $ac_status); }; }; then
75844 eval "$as_ac_var=yes"
75845 else
75846 echo "$as_me: failed program was:" >&5
75847 sed 's/^/| /' conftest.$ac_ext >&5
75849 eval "$as_ac_var=no"
75851 rm -f conftest.err conftest.$ac_objext \
75852 conftest$ac_exeext conftest.$ac_ext
75854 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75855 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75856 if test `eval echo '${'$as_ac_var'}'` = yes; then
75857 cat >>confdefs.h <<_ACEOF
75858 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75859 _ACEOF
75862 done
75872 echo "$as_me:$LINENO: checking for expl declaration" >&5
75873 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
75874 if test x${glibcxx_cv_func_expl_use+set} != xset; then
75875 if test "${glibcxx_cv_func_expl_use+set}" = set; then
75876 echo $ECHO_N "(cached) $ECHO_C" >&6
75877 else
75881 ac_ext=cc
75882 ac_cpp='$CXXCPP $CPPFLAGS'
75883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75887 cat >conftest.$ac_ext <<_ACEOF
75888 /* confdefs.h. */
75889 _ACEOF
75890 cat confdefs.h >>conftest.$ac_ext
75891 cat >>conftest.$ac_ext <<_ACEOF
75892 /* end confdefs.h. */
75893 #include <math.h>
75894 #ifdef HAVE_IEEEFP_H
75895 #include <ieeefp.h>
75896 #endif
75899 main ()
75901 expl(0);
75903 return 0;
75905 _ACEOF
75906 rm -f conftest.$ac_objext
75907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75908 (eval $ac_compile) 2>conftest.er1
75909 ac_status=$?
75910 grep -v '^ *+' conftest.er1 >conftest.err
75911 rm -f conftest.er1
75912 cat conftest.err >&5
75913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75914 (exit $ac_status); } &&
75915 { ac_try='test -z "$ac_cxx_werror_flag"
75916 || test ! -s conftest.err'
75917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75918 (eval $ac_try) 2>&5
75919 ac_status=$?
75920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75921 (exit $ac_status); }; } &&
75922 { ac_try='test -s conftest.$ac_objext'
75923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75924 (eval $ac_try) 2>&5
75925 ac_status=$?
75926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75927 (exit $ac_status); }; }; then
75928 glibcxx_cv_func_expl_use=yes
75929 else
75930 echo "$as_me: failed program was:" >&5
75931 sed 's/^/| /' conftest.$ac_ext >&5
75933 glibcxx_cv_func_expl_use=no
75935 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75936 ac_ext=c
75937 ac_cpp='$CPP $CPPFLAGS'
75938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75946 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
75947 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
75949 if test x$glibcxx_cv_func_expl_use = x"yes"; then
75951 for ac_func in expl
75953 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75954 echo "$as_me:$LINENO: checking for $ac_func" >&5
75955 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75956 if eval "test \"\${$as_ac_var+set}\" = set"; then
75957 echo $ECHO_N "(cached) $ECHO_C" >&6
75958 else
75959 if test x$gcc_no_link = xyes; then
75960 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75961 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75962 { (exit 1); exit 1; }; }
75964 cat >conftest.$ac_ext <<_ACEOF
75965 /* confdefs.h. */
75966 _ACEOF
75967 cat confdefs.h >>conftest.$ac_ext
75968 cat >>conftest.$ac_ext <<_ACEOF
75969 /* end confdefs.h. */
75970 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75971 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75972 #define $ac_func innocuous_$ac_func
75974 /* System header to define __stub macros and hopefully few prototypes,
75975 which can conflict with char $ac_func (); below.
75976 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75977 <limits.h> exists even on freestanding compilers. */
75979 #ifdef __STDC__
75980 # include <limits.h>
75981 #else
75982 # include <assert.h>
75983 #endif
75985 #undef $ac_func
75987 /* Override any gcc2 internal prototype to avoid an error. */
75988 #ifdef __cplusplus
75989 extern "C"
75991 #endif
75992 /* We use char because int might match the return type of a gcc2
75993 builtin and then its argument prototype would still apply. */
75994 char $ac_func ();
75995 /* The GNU C library defines this for functions which it implements
75996 to always fail with ENOSYS. Some functions are actually named
75997 something starting with __ and the normal name is an alias. */
75998 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75999 choke me
76000 #else
76001 char (*f) () = $ac_func;
76002 #endif
76003 #ifdef __cplusplus
76005 #endif
76008 main ()
76010 return f != $ac_func;
76012 return 0;
76014 _ACEOF
76015 rm -f conftest.$ac_objext conftest$ac_exeext
76016 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76017 (eval $ac_link) 2>conftest.er1
76018 ac_status=$?
76019 grep -v '^ *+' conftest.er1 >conftest.err
76020 rm -f conftest.er1
76021 cat conftest.err >&5
76022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76023 (exit $ac_status); } &&
76024 { ac_try='test -z "$ac_c_werror_flag"
76025 || test ! -s conftest.err'
76026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76027 (eval $ac_try) 2>&5
76028 ac_status=$?
76029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76030 (exit $ac_status); }; } &&
76031 { ac_try='test -s conftest$ac_exeext'
76032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76033 (eval $ac_try) 2>&5
76034 ac_status=$?
76035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76036 (exit $ac_status); }; }; then
76037 eval "$as_ac_var=yes"
76038 else
76039 echo "$as_me: failed program was:" >&5
76040 sed 's/^/| /' conftest.$ac_ext >&5
76042 eval "$as_ac_var=no"
76044 rm -f conftest.err conftest.$ac_objext \
76045 conftest$ac_exeext conftest.$ac_ext
76047 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76048 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76049 if test `eval echo '${'$as_ac_var'}'` = yes; then
76050 cat >>confdefs.h <<_ACEOF
76051 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76052 _ACEOF
76055 done
76057 else
76059 echo "$as_me:$LINENO: checking for _expl declaration" >&5
76060 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
76061 if test x${glibcxx_cv_func__expl_use+set} != xset; then
76062 if test "${glibcxx_cv_func__expl_use+set}" = set; then
76063 echo $ECHO_N "(cached) $ECHO_C" >&6
76064 else
76068 ac_ext=cc
76069 ac_cpp='$CXXCPP $CPPFLAGS'
76070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76074 cat >conftest.$ac_ext <<_ACEOF
76075 /* confdefs.h. */
76076 _ACEOF
76077 cat confdefs.h >>conftest.$ac_ext
76078 cat >>conftest.$ac_ext <<_ACEOF
76079 /* end confdefs.h. */
76080 #include <math.h>
76081 #ifdef HAVE_IEEEFP_H
76082 #include <ieeefp.h>
76083 #endif
76086 main ()
76088 _expl(0);
76090 return 0;
76092 _ACEOF
76093 rm -f conftest.$ac_objext
76094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76095 (eval $ac_compile) 2>conftest.er1
76096 ac_status=$?
76097 grep -v '^ *+' conftest.er1 >conftest.err
76098 rm -f conftest.er1
76099 cat conftest.err >&5
76100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76101 (exit $ac_status); } &&
76102 { ac_try='test -z "$ac_cxx_werror_flag"
76103 || test ! -s conftest.err'
76104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76105 (eval $ac_try) 2>&5
76106 ac_status=$?
76107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76108 (exit $ac_status); }; } &&
76109 { ac_try='test -s conftest.$ac_objext'
76110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76111 (eval $ac_try) 2>&5
76112 ac_status=$?
76113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76114 (exit $ac_status); }; }; then
76115 glibcxx_cv_func__expl_use=yes
76116 else
76117 echo "$as_me: failed program was:" >&5
76118 sed 's/^/| /' conftest.$ac_ext >&5
76120 glibcxx_cv_func__expl_use=no
76122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76123 ac_ext=c
76124 ac_cpp='$CPP $CPPFLAGS'
76125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76133 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
76134 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
76136 if test x$glibcxx_cv_func__expl_use = x"yes"; then
76138 for ac_func in _expl
76140 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76141 echo "$as_me:$LINENO: checking for $ac_func" >&5
76142 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76143 if eval "test \"\${$as_ac_var+set}\" = set"; then
76144 echo $ECHO_N "(cached) $ECHO_C" >&6
76145 else
76146 if test x$gcc_no_link = xyes; then
76147 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76148 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76149 { (exit 1); exit 1; }; }
76151 cat >conftest.$ac_ext <<_ACEOF
76152 /* confdefs.h. */
76153 _ACEOF
76154 cat confdefs.h >>conftest.$ac_ext
76155 cat >>conftest.$ac_ext <<_ACEOF
76156 /* end confdefs.h. */
76157 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76158 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76159 #define $ac_func innocuous_$ac_func
76161 /* System header to define __stub macros and hopefully few prototypes,
76162 which can conflict with char $ac_func (); below.
76163 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76164 <limits.h> exists even on freestanding compilers. */
76166 #ifdef __STDC__
76167 # include <limits.h>
76168 #else
76169 # include <assert.h>
76170 #endif
76172 #undef $ac_func
76174 /* Override any gcc2 internal prototype to avoid an error. */
76175 #ifdef __cplusplus
76176 extern "C"
76178 #endif
76179 /* We use char because int might match the return type of a gcc2
76180 builtin and then its argument prototype would still apply. */
76181 char $ac_func ();
76182 /* The GNU C library defines this for functions which it implements
76183 to always fail with ENOSYS. Some functions are actually named
76184 something starting with __ and the normal name is an alias. */
76185 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76186 choke me
76187 #else
76188 char (*f) () = $ac_func;
76189 #endif
76190 #ifdef __cplusplus
76192 #endif
76195 main ()
76197 return f != $ac_func;
76199 return 0;
76201 _ACEOF
76202 rm -f conftest.$ac_objext conftest$ac_exeext
76203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76204 (eval $ac_link) 2>conftest.er1
76205 ac_status=$?
76206 grep -v '^ *+' conftest.er1 >conftest.err
76207 rm -f conftest.er1
76208 cat conftest.err >&5
76209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76210 (exit $ac_status); } &&
76211 { ac_try='test -z "$ac_c_werror_flag"
76212 || test ! -s conftest.err'
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); }; } &&
76218 { ac_try='test -s conftest$ac_exeext'
76219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76220 (eval $ac_try) 2>&5
76221 ac_status=$?
76222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76223 (exit $ac_status); }; }; then
76224 eval "$as_ac_var=yes"
76225 else
76226 echo "$as_me: failed program was:" >&5
76227 sed 's/^/| /' conftest.$ac_ext >&5
76229 eval "$as_ac_var=no"
76231 rm -f conftest.err conftest.$ac_objext \
76232 conftest$ac_exeext conftest.$ac_ext
76234 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76235 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76236 if test `eval echo '${'$as_ac_var'}'` = yes; then
76237 cat >>confdefs.h <<_ACEOF
76238 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76239 _ACEOF
76242 done
76252 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
76253 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
76254 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
76255 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
76256 echo $ECHO_N "(cached) $ECHO_C" >&6
76257 else
76261 ac_ext=cc
76262 ac_cpp='$CXXCPP $CPPFLAGS'
76263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76267 cat >conftest.$ac_ext <<_ACEOF
76268 /* confdefs.h. */
76269 _ACEOF
76270 cat confdefs.h >>conftest.$ac_ext
76271 cat >>conftest.$ac_ext <<_ACEOF
76272 /* end confdefs.h. */
76273 #include <math.h>
76274 #ifdef HAVE_IEEEFP_H
76275 #include <ieeefp.h>
76276 #endif
76279 main ()
76281 fabsl(0);
76283 return 0;
76285 _ACEOF
76286 rm -f conftest.$ac_objext
76287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76288 (eval $ac_compile) 2>conftest.er1
76289 ac_status=$?
76290 grep -v '^ *+' conftest.er1 >conftest.err
76291 rm -f conftest.er1
76292 cat conftest.err >&5
76293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76294 (exit $ac_status); } &&
76295 { ac_try='test -z "$ac_cxx_werror_flag"
76296 || test ! -s conftest.err'
76297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76298 (eval $ac_try) 2>&5
76299 ac_status=$?
76300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76301 (exit $ac_status); }; } &&
76302 { ac_try='test -s conftest.$ac_objext'
76303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76304 (eval $ac_try) 2>&5
76305 ac_status=$?
76306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76307 (exit $ac_status); }; }; then
76308 glibcxx_cv_func_fabsl_use=yes
76309 else
76310 echo "$as_me: failed program was:" >&5
76311 sed 's/^/| /' conftest.$ac_ext >&5
76313 glibcxx_cv_func_fabsl_use=no
76315 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76316 ac_ext=c
76317 ac_cpp='$CPP $CPPFLAGS'
76318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76326 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
76327 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
76329 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
76331 for ac_func in fabsl
76333 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76334 echo "$as_me:$LINENO: checking for $ac_func" >&5
76335 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76336 if eval "test \"\${$as_ac_var+set}\" = set"; then
76337 echo $ECHO_N "(cached) $ECHO_C" >&6
76338 else
76339 if test x$gcc_no_link = xyes; then
76340 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76341 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76342 { (exit 1); exit 1; }; }
76344 cat >conftest.$ac_ext <<_ACEOF
76345 /* confdefs.h. */
76346 _ACEOF
76347 cat confdefs.h >>conftest.$ac_ext
76348 cat >>conftest.$ac_ext <<_ACEOF
76349 /* end confdefs.h. */
76350 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76351 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76352 #define $ac_func innocuous_$ac_func
76354 /* System header to define __stub macros and hopefully few prototypes,
76355 which can conflict with char $ac_func (); below.
76356 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76357 <limits.h> exists even on freestanding compilers. */
76359 #ifdef __STDC__
76360 # include <limits.h>
76361 #else
76362 # include <assert.h>
76363 #endif
76365 #undef $ac_func
76367 /* Override any gcc2 internal prototype to avoid an error. */
76368 #ifdef __cplusplus
76369 extern "C"
76371 #endif
76372 /* We use char because int might match the return type of a gcc2
76373 builtin and then its argument prototype would still apply. */
76374 char $ac_func ();
76375 /* The GNU C library defines this for functions which it implements
76376 to always fail with ENOSYS. Some functions are actually named
76377 something starting with __ and the normal name is an alias. */
76378 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76379 choke me
76380 #else
76381 char (*f) () = $ac_func;
76382 #endif
76383 #ifdef __cplusplus
76385 #endif
76388 main ()
76390 return f != $ac_func;
76392 return 0;
76394 _ACEOF
76395 rm -f conftest.$ac_objext conftest$ac_exeext
76396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76397 (eval $ac_link) 2>conftest.er1
76398 ac_status=$?
76399 grep -v '^ *+' conftest.er1 >conftest.err
76400 rm -f conftest.er1
76401 cat conftest.err >&5
76402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76403 (exit $ac_status); } &&
76404 { ac_try='test -z "$ac_c_werror_flag"
76405 || test ! -s conftest.err'
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); }; } &&
76411 { ac_try='test -s conftest$ac_exeext'
76412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76413 (eval $ac_try) 2>&5
76414 ac_status=$?
76415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76416 (exit $ac_status); }; }; then
76417 eval "$as_ac_var=yes"
76418 else
76419 echo "$as_me: failed program was:" >&5
76420 sed 's/^/| /' conftest.$ac_ext >&5
76422 eval "$as_ac_var=no"
76424 rm -f conftest.err conftest.$ac_objext \
76425 conftest$ac_exeext conftest.$ac_ext
76427 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76428 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76429 if test `eval echo '${'$as_ac_var'}'` = yes; then
76430 cat >>confdefs.h <<_ACEOF
76431 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76432 _ACEOF
76435 done
76437 else
76439 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
76440 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
76441 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
76442 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
76443 echo $ECHO_N "(cached) $ECHO_C" >&6
76444 else
76448 ac_ext=cc
76449 ac_cpp='$CXXCPP $CPPFLAGS'
76450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76454 cat >conftest.$ac_ext <<_ACEOF
76455 /* confdefs.h. */
76456 _ACEOF
76457 cat confdefs.h >>conftest.$ac_ext
76458 cat >>conftest.$ac_ext <<_ACEOF
76459 /* end confdefs.h. */
76460 #include <math.h>
76461 #ifdef HAVE_IEEEFP_H
76462 #include <ieeefp.h>
76463 #endif
76466 main ()
76468 _fabsl(0);
76470 return 0;
76472 _ACEOF
76473 rm -f conftest.$ac_objext
76474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76475 (eval $ac_compile) 2>conftest.er1
76476 ac_status=$?
76477 grep -v '^ *+' conftest.er1 >conftest.err
76478 rm -f conftest.er1
76479 cat conftest.err >&5
76480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76481 (exit $ac_status); } &&
76482 { ac_try='test -z "$ac_cxx_werror_flag"
76483 || test ! -s conftest.err'
76484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76485 (eval $ac_try) 2>&5
76486 ac_status=$?
76487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76488 (exit $ac_status); }; } &&
76489 { ac_try='test -s conftest.$ac_objext'
76490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76491 (eval $ac_try) 2>&5
76492 ac_status=$?
76493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76494 (exit $ac_status); }; }; then
76495 glibcxx_cv_func__fabsl_use=yes
76496 else
76497 echo "$as_me: failed program was:" >&5
76498 sed 's/^/| /' conftest.$ac_ext >&5
76500 glibcxx_cv_func__fabsl_use=no
76502 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76503 ac_ext=c
76504 ac_cpp='$CPP $CPPFLAGS'
76505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76513 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
76514 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
76516 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
76518 for ac_func in _fabsl
76520 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76521 echo "$as_me:$LINENO: checking for $ac_func" >&5
76522 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76523 if eval "test \"\${$as_ac_var+set}\" = set"; then
76524 echo $ECHO_N "(cached) $ECHO_C" >&6
76525 else
76526 if test x$gcc_no_link = xyes; then
76527 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76528 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76529 { (exit 1); exit 1; }; }
76531 cat >conftest.$ac_ext <<_ACEOF
76532 /* confdefs.h. */
76533 _ACEOF
76534 cat confdefs.h >>conftest.$ac_ext
76535 cat >>conftest.$ac_ext <<_ACEOF
76536 /* end confdefs.h. */
76537 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76538 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76539 #define $ac_func innocuous_$ac_func
76541 /* System header to define __stub macros and hopefully few prototypes,
76542 which can conflict with char $ac_func (); below.
76543 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76544 <limits.h> exists even on freestanding compilers. */
76546 #ifdef __STDC__
76547 # include <limits.h>
76548 #else
76549 # include <assert.h>
76550 #endif
76552 #undef $ac_func
76554 /* Override any gcc2 internal prototype to avoid an error. */
76555 #ifdef __cplusplus
76556 extern "C"
76558 #endif
76559 /* We use char because int might match the return type of a gcc2
76560 builtin and then its argument prototype would still apply. */
76561 char $ac_func ();
76562 /* The GNU C library defines this for functions which it implements
76563 to always fail with ENOSYS. Some functions are actually named
76564 something starting with __ and the normal name is an alias. */
76565 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76566 choke me
76567 #else
76568 char (*f) () = $ac_func;
76569 #endif
76570 #ifdef __cplusplus
76572 #endif
76575 main ()
76577 return f != $ac_func;
76579 return 0;
76581 _ACEOF
76582 rm -f conftest.$ac_objext conftest$ac_exeext
76583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76584 (eval $ac_link) 2>conftest.er1
76585 ac_status=$?
76586 grep -v '^ *+' conftest.er1 >conftest.err
76587 rm -f conftest.er1
76588 cat conftest.err >&5
76589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76590 (exit $ac_status); } &&
76591 { ac_try='test -z "$ac_c_werror_flag"
76592 || test ! -s conftest.err'
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); }; } &&
76598 { ac_try='test -s conftest$ac_exeext'
76599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76600 (eval $ac_try) 2>&5
76601 ac_status=$?
76602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76603 (exit $ac_status); }; }; then
76604 eval "$as_ac_var=yes"
76605 else
76606 echo "$as_me: failed program was:" >&5
76607 sed 's/^/| /' conftest.$ac_ext >&5
76609 eval "$as_ac_var=no"
76611 rm -f conftest.err conftest.$ac_objext \
76612 conftest$ac_exeext conftest.$ac_ext
76614 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76615 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76616 if test `eval echo '${'$as_ac_var'}'` = yes; then
76617 cat >>confdefs.h <<_ACEOF
76618 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76619 _ACEOF
76622 done
76632 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
76633 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
76634 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
76635 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
76636 echo $ECHO_N "(cached) $ECHO_C" >&6
76637 else
76641 ac_ext=cc
76642 ac_cpp='$CXXCPP $CPPFLAGS'
76643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76647 cat >conftest.$ac_ext <<_ACEOF
76648 /* confdefs.h. */
76649 _ACEOF
76650 cat confdefs.h >>conftest.$ac_ext
76651 cat >>conftest.$ac_ext <<_ACEOF
76652 /* end confdefs.h. */
76653 #include <math.h>
76655 main ()
76657 fmodl(0, 0);
76659 return 0;
76661 _ACEOF
76662 rm -f conftest.$ac_objext
76663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76664 (eval $ac_compile) 2>conftest.er1
76665 ac_status=$?
76666 grep -v '^ *+' conftest.er1 >conftest.err
76667 rm -f conftest.er1
76668 cat conftest.err >&5
76669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76670 (exit $ac_status); } &&
76671 { ac_try='test -z "$ac_cxx_werror_flag"
76672 || test ! -s conftest.err'
76673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76674 (eval $ac_try) 2>&5
76675 ac_status=$?
76676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76677 (exit $ac_status); }; } &&
76678 { ac_try='test -s conftest.$ac_objext'
76679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76680 (eval $ac_try) 2>&5
76681 ac_status=$?
76682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76683 (exit $ac_status); }; }; then
76684 glibcxx_cv_func_fmodl_use=yes
76685 else
76686 echo "$as_me: failed program was:" >&5
76687 sed 's/^/| /' conftest.$ac_ext >&5
76689 glibcxx_cv_func_fmodl_use=no
76691 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76692 ac_ext=c
76693 ac_cpp='$CPP $CPPFLAGS'
76694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76702 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
76703 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
76705 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
76707 for ac_func in fmodl
76709 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76710 echo "$as_me:$LINENO: checking for $ac_func" >&5
76711 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76712 if eval "test \"\${$as_ac_var+set}\" = set"; then
76713 echo $ECHO_N "(cached) $ECHO_C" >&6
76714 else
76715 if test x$gcc_no_link = xyes; then
76716 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76717 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76718 { (exit 1); exit 1; }; }
76720 cat >conftest.$ac_ext <<_ACEOF
76721 /* confdefs.h. */
76722 _ACEOF
76723 cat confdefs.h >>conftest.$ac_ext
76724 cat >>conftest.$ac_ext <<_ACEOF
76725 /* end confdefs.h. */
76726 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76727 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76728 #define $ac_func innocuous_$ac_func
76730 /* System header to define __stub macros and hopefully few prototypes,
76731 which can conflict with char $ac_func (); below.
76732 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76733 <limits.h> exists even on freestanding compilers. */
76735 #ifdef __STDC__
76736 # include <limits.h>
76737 #else
76738 # include <assert.h>
76739 #endif
76741 #undef $ac_func
76743 /* Override any gcc2 internal prototype to avoid an error. */
76744 #ifdef __cplusplus
76745 extern "C"
76747 #endif
76748 /* We use char because int might match the return type of a gcc2
76749 builtin and then its argument prototype would still apply. */
76750 char $ac_func ();
76751 /* The GNU C library defines this for functions which it implements
76752 to always fail with ENOSYS. Some functions are actually named
76753 something starting with __ and the normal name is an alias. */
76754 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76755 choke me
76756 #else
76757 char (*f) () = $ac_func;
76758 #endif
76759 #ifdef __cplusplus
76761 #endif
76764 main ()
76766 return f != $ac_func;
76768 return 0;
76770 _ACEOF
76771 rm -f conftest.$ac_objext conftest$ac_exeext
76772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76773 (eval $ac_link) 2>conftest.er1
76774 ac_status=$?
76775 grep -v '^ *+' conftest.er1 >conftest.err
76776 rm -f conftest.er1
76777 cat conftest.err >&5
76778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76779 (exit $ac_status); } &&
76780 { ac_try='test -z "$ac_c_werror_flag"
76781 || test ! -s conftest.err'
76782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76783 (eval $ac_try) 2>&5
76784 ac_status=$?
76785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76786 (exit $ac_status); }; } &&
76787 { ac_try='test -s conftest$ac_exeext'
76788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76789 (eval $ac_try) 2>&5
76790 ac_status=$?
76791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76792 (exit $ac_status); }; }; then
76793 eval "$as_ac_var=yes"
76794 else
76795 echo "$as_me: failed program was:" >&5
76796 sed 's/^/| /' conftest.$ac_ext >&5
76798 eval "$as_ac_var=no"
76800 rm -f conftest.err conftest.$ac_objext \
76801 conftest$ac_exeext conftest.$ac_ext
76803 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76804 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76805 if test `eval echo '${'$as_ac_var'}'` = yes; then
76806 cat >>confdefs.h <<_ACEOF
76807 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76808 _ACEOF
76811 done
76813 else
76815 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
76816 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
76817 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
76818 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
76819 echo $ECHO_N "(cached) $ECHO_C" >&6
76820 else
76824 ac_ext=cc
76825 ac_cpp='$CXXCPP $CPPFLAGS'
76826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76830 cat >conftest.$ac_ext <<_ACEOF
76831 /* confdefs.h. */
76832 _ACEOF
76833 cat confdefs.h >>conftest.$ac_ext
76834 cat >>conftest.$ac_ext <<_ACEOF
76835 /* end confdefs.h. */
76836 #include <math.h>
76838 main ()
76840 _fmodl(0, 0);
76842 return 0;
76844 _ACEOF
76845 rm -f conftest.$ac_objext
76846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76847 (eval $ac_compile) 2>conftest.er1
76848 ac_status=$?
76849 grep -v '^ *+' conftest.er1 >conftest.err
76850 rm -f conftest.er1
76851 cat conftest.err >&5
76852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76853 (exit $ac_status); } &&
76854 { ac_try='test -z "$ac_cxx_werror_flag"
76855 || test ! -s conftest.err'
76856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76857 (eval $ac_try) 2>&5
76858 ac_status=$?
76859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76860 (exit $ac_status); }; } &&
76861 { ac_try='test -s conftest.$ac_objext'
76862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76863 (eval $ac_try) 2>&5
76864 ac_status=$?
76865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76866 (exit $ac_status); }; }; then
76867 glibcxx_cv_func__fmodl_use=yes
76868 else
76869 echo "$as_me: failed program was:" >&5
76870 sed 's/^/| /' conftest.$ac_ext >&5
76872 glibcxx_cv_func__fmodl_use=no
76874 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76875 ac_ext=c
76876 ac_cpp='$CPP $CPPFLAGS'
76877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76885 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
76886 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
76888 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
76890 for ac_func in _fmodl
76892 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76893 echo "$as_me:$LINENO: checking for $ac_func" >&5
76894 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76895 if eval "test \"\${$as_ac_var+set}\" = set"; then
76896 echo $ECHO_N "(cached) $ECHO_C" >&6
76897 else
76898 if test x$gcc_no_link = xyes; then
76899 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76900 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76901 { (exit 1); exit 1; }; }
76903 cat >conftest.$ac_ext <<_ACEOF
76904 /* confdefs.h. */
76905 _ACEOF
76906 cat confdefs.h >>conftest.$ac_ext
76907 cat >>conftest.$ac_ext <<_ACEOF
76908 /* end confdefs.h. */
76909 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76910 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76911 #define $ac_func innocuous_$ac_func
76913 /* System header to define __stub macros and hopefully few prototypes,
76914 which can conflict with char $ac_func (); below.
76915 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76916 <limits.h> exists even on freestanding compilers. */
76918 #ifdef __STDC__
76919 # include <limits.h>
76920 #else
76921 # include <assert.h>
76922 #endif
76924 #undef $ac_func
76926 /* Override any gcc2 internal prototype to avoid an error. */
76927 #ifdef __cplusplus
76928 extern "C"
76930 #endif
76931 /* We use char because int might match the return type of a gcc2
76932 builtin and then its argument prototype would still apply. */
76933 char $ac_func ();
76934 /* The GNU C library defines this for functions which it implements
76935 to always fail with ENOSYS. Some functions are actually named
76936 something starting with __ and the normal name is an alias. */
76937 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76938 choke me
76939 #else
76940 char (*f) () = $ac_func;
76941 #endif
76942 #ifdef __cplusplus
76944 #endif
76947 main ()
76949 return f != $ac_func;
76951 return 0;
76953 _ACEOF
76954 rm -f conftest.$ac_objext conftest$ac_exeext
76955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76956 (eval $ac_link) 2>conftest.er1
76957 ac_status=$?
76958 grep -v '^ *+' conftest.er1 >conftest.err
76959 rm -f conftest.er1
76960 cat conftest.err >&5
76961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76962 (exit $ac_status); } &&
76963 { ac_try='test -z "$ac_c_werror_flag"
76964 || test ! -s conftest.err'
76965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76966 (eval $ac_try) 2>&5
76967 ac_status=$?
76968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76969 (exit $ac_status); }; } &&
76970 { ac_try='test -s conftest$ac_exeext'
76971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76972 (eval $ac_try) 2>&5
76973 ac_status=$?
76974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76975 (exit $ac_status); }; }; then
76976 eval "$as_ac_var=yes"
76977 else
76978 echo "$as_me: failed program was:" >&5
76979 sed 's/^/| /' conftest.$ac_ext >&5
76981 eval "$as_ac_var=no"
76983 rm -f conftest.err conftest.$ac_objext \
76984 conftest$ac_exeext conftest.$ac_ext
76986 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76987 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76988 if test `eval echo '${'$as_ac_var'}'` = yes; then
76989 cat >>confdefs.h <<_ACEOF
76990 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76991 _ACEOF
76994 done
77004 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
77005 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
77006 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
77007 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
77008 echo $ECHO_N "(cached) $ECHO_C" >&6
77009 else
77013 ac_ext=cc
77014 ac_cpp='$CXXCPP $CPPFLAGS'
77015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77019 cat >conftest.$ac_ext <<_ACEOF
77020 /* confdefs.h. */
77021 _ACEOF
77022 cat confdefs.h >>conftest.$ac_ext
77023 cat >>conftest.$ac_ext <<_ACEOF
77024 /* end confdefs.h. */
77025 #include <math.h>
77027 main ()
77029 frexpl(0, 0);
77031 return 0;
77033 _ACEOF
77034 rm -f conftest.$ac_objext
77035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77036 (eval $ac_compile) 2>conftest.er1
77037 ac_status=$?
77038 grep -v '^ *+' conftest.er1 >conftest.err
77039 rm -f conftest.er1
77040 cat conftest.err >&5
77041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77042 (exit $ac_status); } &&
77043 { ac_try='test -z "$ac_cxx_werror_flag"
77044 || test ! -s conftest.err'
77045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77046 (eval $ac_try) 2>&5
77047 ac_status=$?
77048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77049 (exit $ac_status); }; } &&
77050 { ac_try='test -s conftest.$ac_objext'
77051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77052 (eval $ac_try) 2>&5
77053 ac_status=$?
77054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77055 (exit $ac_status); }; }; then
77056 glibcxx_cv_func_frexpl_use=yes
77057 else
77058 echo "$as_me: failed program was:" >&5
77059 sed 's/^/| /' conftest.$ac_ext >&5
77061 glibcxx_cv_func_frexpl_use=no
77063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77064 ac_ext=c
77065 ac_cpp='$CPP $CPPFLAGS'
77066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77074 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
77075 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
77077 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
77079 for ac_func in frexpl
77081 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77082 echo "$as_me:$LINENO: checking for $ac_func" >&5
77083 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77084 if eval "test \"\${$as_ac_var+set}\" = set"; then
77085 echo $ECHO_N "(cached) $ECHO_C" >&6
77086 else
77087 if test x$gcc_no_link = xyes; then
77088 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77089 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77090 { (exit 1); exit 1; }; }
77092 cat >conftest.$ac_ext <<_ACEOF
77093 /* confdefs.h. */
77094 _ACEOF
77095 cat confdefs.h >>conftest.$ac_ext
77096 cat >>conftest.$ac_ext <<_ACEOF
77097 /* end confdefs.h. */
77098 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77099 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77100 #define $ac_func innocuous_$ac_func
77102 /* System header to define __stub macros and hopefully few prototypes,
77103 which can conflict with char $ac_func (); below.
77104 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77105 <limits.h> exists even on freestanding compilers. */
77107 #ifdef __STDC__
77108 # include <limits.h>
77109 #else
77110 # include <assert.h>
77111 #endif
77113 #undef $ac_func
77115 /* Override any gcc2 internal prototype to avoid an error. */
77116 #ifdef __cplusplus
77117 extern "C"
77119 #endif
77120 /* We use char because int might match the return type of a gcc2
77121 builtin and then its argument prototype would still apply. */
77122 char $ac_func ();
77123 /* The GNU C library defines this for functions which it implements
77124 to always fail with ENOSYS. Some functions are actually named
77125 something starting with __ and the normal name is an alias. */
77126 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77127 choke me
77128 #else
77129 char (*f) () = $ac_func;
77130 #endif
77131 #ifdef __cplusplus
77133 #endif
77136 main ()
77138 return f != $ac_func;
77140 return 0;
77142 _ACEOF
77143 rm -f conftest.$ac_objext conftest$ac_exeext
77144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77145 (eval $ac_link) 2>conftest.er1
77146 ac_status=$?
77147 grep -v '^ *+' conftest.er1 >conftest.err
77148 rm -f conftest.er1
77149 cat conftest.err >&5
77150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77151 (exit $ac_status); } &&
77152 { ac_try='test -z "$ac_c_werror_flag"
77153 || test ! -s conftest.err'
77154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77155 (eval $ac_try) 2>&5
77156 ac_status=$?
77157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77158 (exit $ac_status); }; } &&
77159 { ac_try='test -s conftest$ac_exeext'
77160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77161 (eval $ac_try) 2>&5
77162 ac_status=$?
77163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77164 (exit $ac_status); }; }; then
77165 eval "$as_ac_var=yes"
77166 else
77167 echo "$as_me: failed program was:" >&5
77168 sed 's/^/| /' conftest.$ac_ext >&5
77170 eval "$as_ac_var=no"
77172 rm -f conftest.err conftest.$ac_objext \
77173 conftest$ac_exeext conftest.$ac_ext
77175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77176 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77177 if test `eval echo '${'$as_ac_var'}'` = yes; then
77178 cat >>confdefs.h <<_ACEOF
77179 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77180 _ACEOF
77183 done
77185 else
77187 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
77188 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
77189 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
77190 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
77191 echo $ECHO_N "(cached) $ECHO_C" >&6
77192 else
77196 ac_ext=cc
77197 ac_cpp='$CXXCPP $CPPFLAGS'
77198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77202 cat >conftest.$ac_ext <<_ACEOF
77203 /* confdefs.h. */
77204 _ACEOF
77205 cat confdefs.h >>conftest.$ac_ext
77206 cat >>conftest.$ac_ext <<_ACEOF
77207 /* end confdefs.h. */
77208 #include <math.h>
77210 main ()
77212 _frexpl(0, 0);
77214 return 0;
77216 _ACEOF
77217 rm -f conftest.$ac_objext
77218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77219 (eval $ac_compile) 2>conftest.er1
77220 ac_status=$?
77221 grep -v '^ *+' conftest.er1 >conftest.err
77222 rm -f conftest.er1
77223 cat conftest.err >&5
77224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77225 (exit $ac_status); } &&
77226 { ac_try='test -z "$ac_cxx_werror_flag"
77227 || test ! -s conftest.err'
77228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77229 (eval $ac_try) 2>&5
77230 ac_status=$?
77231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77232 (exit $ac_status); }; } &&
77233 { ac_try='test -s conftest.$ac_objext'
77234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77235 (eval $ac_try) 2>&5
77236 ac_status=$?
77237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77238 (exit $ac_status); }; }; then
77239 glibcxx_cv_func__frexpl_use=yes
77240 else
77241 echo "$as_me: failed program was:" >&5
77242 sed 's/^/| /' conftest.$ac_ext >&5
77244 glibcxx_cv_func__frexpl_use=no
77246 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77247 ac_ext=c
77248 ac_cpp='$CPP $CPPFLAGS'
77249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77257 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
77258 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
77260 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
77262 for ac_func in _frexpl
77264 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77265 echo "$as_me:$LINENO: checking for $ac_func" >&5
77266 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77267 if eval "test \"\${$as_ac_var+set}\" = set"; then
77268 echo $ECHO_N "(cached) $ECHO_C" >&6
77269 else
77270 if test x$gcc_no_link = xyes; then
77271 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77272 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77273 { (exit 1); exit 1; }; }
77275 cat >conftest.$ac_ext <<_ACEOF
77276 /* confdefs.h. */
77277 _ACEOF
77278 cat confdefs.h >>conftest.$ac_ext
77279 cat >>conftest.$ac_ext <<_ACEOF
77280 /* end confdefs.h. */
77281 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77282 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77283 #define $ac_func innocuous_$ac_func
77285 /* System header to define __stub macros and hopefully few prototypes,
77286 which can conflict with char $ac_func (); below.
77287 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77288 <limits.h> exists even on freestanding compilers. */
77290 #ifdef __STDC__
77291 # include <limits.h>
77292 #else
77293 # include <assert.h>
77294 #endif
77296 #undef $ac_func
77298 /* Override any gcc2 internal prototype to avoid an error. */
77299 #ifdef __cplusplus
77300 extern "C"
77302 #endif
77303 /* We use char because int might match the return type of a gcc2
77304 builtin and then its argument prototype would still apply. */
77305 char $ac_func ();
77306 /* The GNU C library defines this for functions which it implements
77307 to always fail with ENOSYS. Some functions are actually named
77308 something starting with __ and the normal name is an alias. */
77309 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77310 choke me
77311 #else
77312 char (*f) () = $ac_func;
77313 #endif
77314 #ifdef __cplusplus
77316 #endif
77319 main ()
77321 return f != $ac_func;
77323 return 0;
77325 _ACEOF
77326 rm -f conftest.$ac_objext conftest$ac_exeext
77327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77328 (eval $ac_link) 2>conftest.er1
77329 ac_status=$?
77330 grep -v '^ *+' conftest.er1 >conftest.err
77331 rm -f conftest.er1
77332 cat conftest.err >&5
77333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77334 (exit $ac_status); } &&
77335 { ac_try='test -z "$ac_c_werror_flag"
77336 || test ! -s conftest.err'
77337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77338 (eval $ac_try) 2>&5
77339 ac_status=$?
77340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77341 (exit $ac_status); }; } &&
77342 { ac_try='test -s conftest$ac_exeext'
77343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77344 (eval $ac_try) 2>&5
77345 ac_status=$?
77346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77347 (exit $ac_status); }; }; then
77348 eval "$as_ac_var=yes"
77349 else
77350 echo "$as_me: failed program was:" >&5
77351 sed 's/^/| /' conftest.$ac_ext >&5
77353 eval "$as_ac_var=no"
77355 rm -f conftest.err conftest.$ac_objext \
77356 conftest$ac_exeext conftest.$ac_ext
77358 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77359 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77360 if test `eval echo '${'$as_ac_var'}'` = yes; then
77361 cat >>confdefs.h <<_ACEOF
77362 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77363 _ACEOF
77366 done
77376 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
77377 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
77378 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
77379 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
77380 echo $ECHO_N "(cached) $ECHO_C" >&6
77381 else
77385 ac_ext=cc
77386 ac_cpp='$CXXCPP $CPPFLAGS'
77387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77391 cat >conftest.$ac_ext <<_ACEOF
77392 /* confdefs.h. */
77393 _ACEOF
77394 cat confdefs.h >>conftest.$ac_ext
77395 cat >>conftest.$ac_ext <<_ACEOF
77396 /* end confdefs.h. */
77397 #include <math.h>
77399 main ()
77401 hypotl(0, 0);
77403 return 0;
77405 _ACEOF
77406 rm -f conftest.$ac_objext
77407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77408 (eval $ac_compile) 2>conftest.er1
77409 ac_status=$?
77410 grep -v '^ *+' conftest.er1 >conftest.err
77411 rm -f conftest.er1
77412 cat conftest.err >&5
77413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77414 (exit $ac_status); } &&
77415 { ac_try='test -z "$ac_cxx_werror_flag"
77416 || test ! -s conftest.err'
77417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77418 (eval $ac_try) 2>&5
77419 ac_status=$?
77420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77421 (exit $ac_status); }; } &&
77422 { ac_try='test -s conftest.$ac_objext'
77423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77424 (eval $ac_try) 2>&5
77425 ac_status=$?
77426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77427 (exit $ac_status); }; }; then
77428 glibcxx_cv_func_hypotl_use=yes
77429 else
77430 echo "$as_me: failed program was:" >&5
77431 sed 's/^/| /' conftest.$ac_ext >&5
77433 glibcxx_cv_func_hypotl_use=no
77435 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77436 ac_ext=c
77437 ac_cpp='$CPP $CPPFLAGS'
77438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77446 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
77447 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
77449 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
77451 for ac_func in hypotl
77453 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77454 echo "$as_me:$LINENO: checking for $ac_func" >&5
77455 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77456 if eval "test \"\${$as_ac_var+set}\" = set"; then
77457 echo $ECHO_N "(cached) $ECHO_C" >&6
77458 else
77459 if test x$gcc_no_link = xyes; then
77460 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77461 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77462 { (exit 1); exit 1; }; }
77464 cat >conftest.$ac_ext <<_ACEOF
77465 /* confdefs.h. */
77466 _ACEOF
77467 cat confdefs.h >>conftest.$ac_ext
77468 cat >>conftest.$ac_ext <<_ACEOF
77469 /* end confdefs.h. */
77470 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77471 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77472 #define $ac_func innocuous_$ac_func
77474 /* System header to define __stub macros and hopefully few prototypes,
77475 which can conflict with char $ac_func (); below.
77476 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77477 <limits.h> exists even on freestanding compilers. */
77479 #ifdef __STDC__
77480 # include <limits.h>
77481 #else
77482 # include <assert.h>
77483 #endif
77485 #undef $ac_func
77487 /* Override any gcc2 internal prototype to avoid an error. */
77488 #ifdef __cplusplus
77489 extern "C"
77491 #endif
77492 /* We use char because int might match the return type of a gcc2
77493 builtin and then its argument prototype would still apply. */
77494 char $ac_func ();
77495 /* The GNU C library defines this for functions which it implements
77496 to always fail with ENOSYS. Some functions are actually named
77497 something starting with __ and the normal name is an alias. */
77498 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77499 choke me
77500 #else
77501 char (*f) () = $ac_func;
77502 #endif
77503 #ifdef __cplusplus
77505 #endif
77508 main ()
77510 return f != $ac_func;
77512 return 0;
77514 _ACEOF
77515 rm -f conftest.$ac_objext conftest$ac_exeext
77516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77517 (eval $ac_link) 2>conftest.er1
77518 ac_status=$?
77519 grep -v '^ *+' conftest.er1 >conftest.err
77520 rm -f conftest.er1
77521 cat conftest.err >&5
77522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77523 (exit $ac_status); } &&
77524 { ac_try='test -z "$ac_c_werror_flag"
77525 || test ! -s conftest.err'
77526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77527 (eval $ac_try) 2>&5
77528 ac_status=$?
77529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77530 (exit $ac_status); }; } &&
77531 { ac_try='test -s conftest$ac_exeext'
77532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77533 (eval $ac_try) 2>&5
77534 ac_status=$?
77535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77536 (exit $ac_status); }; }; then
77537 eval "$as_ac_var=yes"
77538 else
77539 echo "$as_me: failed program was:" >&5
77540 sed 's/^/| /' conftest.$ac_ext >&5
77542 eval "$as_ac_var=no"
77544 rm -f conftest.err conftest.$ac_objext \
77545 conftest$ac_exeext conftest.$ac_ext
77547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77548 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77549 if test `eval echo '${'$as_ac_var'}'` = yes; then
77550 cat >>confdefs.h <<_ACEOF
77551 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77552 _ACEOF
77555 done
77557 else
77559 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
77560 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
77561 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
77562 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
77563 echo $ECHO_N "(cached) $ECHO_C" >&6
77564 else
77568 ac_ext=cc
77569 ac_cpp='$CXXCPP $CPPFLAGS'
77570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77574 cat >conftest.$ac_ext <<_ACEOF
77575 /* confdefs.h. */
77576 _ACEOF
77577 cat confdefs.h >>conftest.$ac_ext
77578 cat >>conftest.$ac_ext <<_ACEOF
77579 /* end confdefs.h. */
77580 #include <math.h>
77582 main ()
77584 _hypotl(0, 0);
77586 return 0;
77588 _ACEOF
77589 rm -f conftest.$ac_objext
77590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77591 (eval $ac_compile) 2>conftest.er1
77592 ac_status=$?
77593 grep -v '^ *+' conftest.er1 >conftest.err
77594 rm -f conftest.er1
77595 cat conftest.err >&5
77596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77597 (exit $ac_status); } &&
77598 { ac_try='test -z "$ac_cxx_werror_flag"
77599 || test ! -s conftest.err'
77600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77601 (eval $ac_try) 2>&5
77602 ac_status=$?
77603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77604 (exit $ac_status); }; } &&
77605 { ac_try='test -s conftest.$ac_objext'
77606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77607 (eval $ac_try) 2>&5
77608 ac_status=$?
77609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77610 (exit $ac_status); }; }; then
77611 glibcxx_cv_func__hypotl_use=yes
77612 else
77613 echo "$as_me: failed program was:" >&5
77614 sed 's/^/| /' conftest.$ac_ext >&5
77616 glibcxx_cv_func__hypotl_use=no
77618 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77619 ac_ext=c
77620 ac_cpp='$CPP $CPPFLAGS'
77621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77629 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
77630 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
77632 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
77634 for ac_func in _hypotl
77636 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77637 echo "$as_me:$LINENO: checking for $ac_func" >&5
77638 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77639 if eval "test \"\${$as_ac_var+set}\" = set"; then
77640 echo $ECHO_N "(cached) $ECHO_C" >&6
77641 else
77642 if test x$gcc_no_link = xyes; then
77643 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77644 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77645 { (exit 1); exit 1; }; }
77647 cat >conftest.$ac_ext <<_ACEOF
77648 /* confdefs.h. */
77649 _ACEOF
77650 cat confdefs.h >>conftest.$ac_ext
77651 cat >>conftest.$ac_ext <<_ACEOF
77652 /* end confdefs.h. */
77653 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77654 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77655 #define $ac_func innocuous_$ac_func
77657 /* System header to define __stub macros and hopefully few prototypes,
77658 which can conflict with char $ac_func (); below.
77659 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77660 <limits.h> exists even on freestanding compilers. */
77662 #ifdef __STDC__
77663 # include <limits.h>
77664 #else
77665 # include <assert.h>
77666 #endif
77668 #undef $ac_func
77670 /* Override any gcc2 internal prototype to avoid an error. */
77671 #ifdef __cplusplus
77672 extern "C"
77674 #endif
77675 /* We use char because int might match the return type of a gcc2
77676 builtin and then its argument prototype would still apply. */
77677 char $ac_func ();
77678 /* The GNU C library defines this for functions which it implements
77679 to always fail with ENOSYS. Some functions are actually named
77680 something starting with __ and the normal name is an alias. */
77681 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77682 choke me
77683 #else
77684 char (*f) () = $ac_func;
77685 #endif
77686 #ifdef __cplusplus
77688 #endif
77691 main ()
77693 return f != $ac_func;
77695 return 0;
77697 _ACEOF
77698 rm -f conftest.$ac_objext conftest$ac_exeext
77699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77700 (eval $ac_link) 2>conftest.er1
77701 ac_status=$?
77702 grep -v '^ *+' conftest.er1 >conftest.err
77703 rm -f conftest.er1
77704 cat conftest.err >&5
77705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77706 (exit $ac_status); } &&
77707 { ac_try='test -z "$ac_c_werror_flag"
77708 || test ! -s conftest.err'
77709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77710 (eval $ac_try) 2>&5
77711 ac_status=$?
77712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77713 (exit $ac_status); }; } &&
77714 { ac_try='test -s conftest$ac_exeext'
77715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77716 (eval $ac_try) 2>&5
77717 ac_status=$?
77718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77719 (exit $ac_status); }; }; then
77720 eval "$as_ac_var=yes"
77721 else
77722 echo "$as_me: failed program was:" >&5
77723 sed 's/^/| /' conftest.$ac_ext >&5
77725 eval "$as_ac_var=no"
77727 rm -f conftest.err conftest.$ac_objext \
77728 conftest$ac_exeext conftest.$ac_ext
77730 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77731 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77732 if test `eval echo '${'$as_ac_var'}'` = yes; then
77733 cat >>confdefs.h <<_ACEOF
77734 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77735 _ACEOF
77738 done
77748 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
77749 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
77750 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
77751 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
77752 echo $ECHO_N "(cached) $ECHO_C" >&6
77753 else
77757 ac_ext=cc
77758 ac_cpp='$CXXCPP $CPPFLAGS'
77759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77763 cat >conftest.$ac_ext <<_ACEOF
77764 /* confdefs.h. */
77765 _ACEOF
77766 cat confdefs.h >>conftest.$ac_ext
77767 cat >>conftest.$ac_ext <<_ACEOF
77768 /* end confdefs.h. */
77769 #include <math.h>
77771 main ()
77773 ldexpl(0, 0);
77775 return 0;
77777 _ACEOF
77778 rm -f conftest.$ac_objext
77779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77780 (eval $ac_compile) 2>conftest.er1
77781 ac_status=$?
77782 grep -v '^ *+' conftest.er1 >conftest.err
77783 rm -f conftest.er1
77784 cat conftest.err >&5
77785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77786 (exit $ac_status); } &&
77787 { ac_try='test -z "$ac_cxx_werror_flag"
77788 || test ! -s conftest.err'
77789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77790 (eval $ac_try) 2>&5
77791 ac_status=$?
77792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77793 (exit $ac_status); }; } &&
77794 { ac_try='test -s conftest.$ac_objext'
77795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77796 (eval $ac_try) 2>&5
77797 ac_status=$?
77798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77799 (exit $ac_status); }; }; then
77800 glibcxx_cv_func_ldexpl_use=yes
77801 else
77802 echo "$as_me: failed program was:" >&5
77803 sed 's/^/| /' conftest.$ac_ext >&5
77805 glibcxx_cv_func_ldexpl_use=no
77807 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77808 ac_ext=c
77809 ac_cpp='$CPP $CPPFLAGS'
77810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77818 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
77819 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
77821 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
77823 for ac_func in ldexpl
77825 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77826 echo "$as_me:$LINENO: checking for $ac_func" >&5
77827 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77828 if eval "test \"\${$as_ac_var+set}\" = set"; then
77829 echo $ECHO_N "(cached) $ECHO_C" >&6
77830 else
77831 if test x$gcc_no_link = xyes; then
77832 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77833 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77834 { (exit 1); exit 1; }; }
77836 cat >conftest.$ac_ext <<_ACEOF
77837 /* confdefs.h. */
77838 _ACEOF
77839 cat confdefs.h >>conftest.$ac_ext
77840 cat >>conftest.$ac_ext <<_ACEOF
77841 /* end confdefs.h. */
77842 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77843 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77844 #define $ac_func innocuous_$ac_func
77846 /* System header to define __stub macros and hopefully few prototypes,
77847 which can conflict with char $ac_func (); below.
77848 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77849 <limits.h> exists even on freestanding compilers. */
77851 #ifdef __STDC__
77852 # include <limits.h>
77853 #else
77854 # include <assert.h>
77855 #endif
77857 #undef $ac_func
77859 /* Override any gcc2 internal prototype to avoid an error. */
77860 #ifdef __cplusplus
77861 extern "C"
77863 #endif
77864 /* We use char because int might match the return type of a gcc2
77865 builtin and then its argument prototype would still apply. */
77866 char $ac_func ();
77867 /* The GNU C library defines this for functions which it implements
77868 to always fail with ENOSYS. Some functions are actually named
77869 something starting with __ and the normal name is an alias. */
77870 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77871 choke me
77872 #else
77873 char (*f) () = $ac_func;
77874 #endif
77875 #ifdef __cplusplus
77877 #endif
77880 main ()
77882 return f != $ac_func;
77884 return 0;
77886 _ACEOF
77887 rm -f conftest.$ac_objext conftest$ac_exeext
77888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77889 (eval $ac_link) 2>conftest.er1
77890 ac_status=$?
77891 grep -v '^ *+' conftest.er1 >conftest.err
77892 rm -f conftest.er1
77893 cat conftest.err >&5
77894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77895 (exit $ac_status); } &&
77896 { ac_try='test -z "$ac_c_werror_flag"
77897 || test ! -s conftest.err'
77898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77899 (eval $ac_try) 2>&5
77900 ac_status=$?
77901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77902 (exit $ac_status); }; } &&
77903 { ac_try='test -s conftest$ac_exeext'
77904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77905 (eval $ac_try) 2>&5
77906 ac_status=$?
77907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77908 (exit $ac_status); }; }; then
77909 eval "$as_ac_var=yes"
77910 else
77911 echo "$as_me: failed program was:" >&5
77912 sed 's/^/| /' conftest.$ac_ext >&5
77914 eval "$as_ac_var=no"
77916 rm -f conftest.err conftest.$ac_objext \
77917 conftest$ac_exeext conftest.$ac_ext
77919 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77920 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77921 if test `eval echo '${'$as_ac_var'}'` = yes; then
77922 cat >>confdefs.h <<_ACEOF
77923 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77924 _ACEOF
77927 done
77929 else
77931 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
77932 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
77933 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
77934 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
77935 echo $ECHO_N "(cached) $ECHO_C" >&6
77936 else
77940 ac_ext=cc
77941 ac_cpp='$CXXCPP $CPPFLAGS'
77942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77946 cat >conftest.$ac_ext <<_ACEOF
77947 /* confdefs.h. */
77948 _ACEOF
77949 cat confdefs.h >>conftest.$ac_ext
77950 cat >>conftest.$ac_ext <<_ACEOF
77951 /* end confdefs.h. */
77952 #include <math.h>
77954 main ()
77956 _ldexpl(0, 0);
77958 return 0;
77960 _ACEOF
77961 rm -f conftest.$ac_objext
77962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77963 (eval $ac_compile) 2>conftest.er1
77964 ac_status=$?
77965 grep -v '^ *+' conftest.er1 >conftest.err
77966 rm -f conftest.er1
77967 cat conftest.err >&5
77968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77969 (exit $ac_status); } &&
77970 { ac_try='test -z "$ac_cxx_werror_flag"
77971 || test ! -s conftest.err'
77972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77973 (eval $ac_try) 2>&5
77974 ac_status=$?
77975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77976 (exit $ac_status); }; } &&
77977 { ac_try='test -s conftest.$ac_objext'
77978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77979 (eval $ac_try) 2>&5
77980 ac_status=$?
77981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77982 (exit $ac_status); }; }; then
77983 glibcxx_cv_func__ldexpl_use=yes
77984 else
77985 echo "$as_me: failed program was:" >&5
77986 sed 's/^/| /' conftest.$ac_ext >&5
77988 glibcxx_cv_func__ldexpl_use=no
77990 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77991 ac_ext=c
77992 ac_cpp='$CPP $CPPFLAGS'
77993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78001 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
78002 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
78004 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
78006 for ac_func in _ldexpl
78008 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78009 echo "$as_me:$LINENO: checking for $ac_func" >&5
78010 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78011 if eval "test \"\${$as_ac_var+set}\" = set"; then
78012 echo $ECHO_N "(cached) $ECHO_C" >&6
78013 else
78014 if test x$gcc_no_link = xyes; then
78015 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78016 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78017 { (exit 1); exit 1; }; }
78019 cat >conftest.$ac_ext <<_ACEOF
78020 /* confdefs.h. */
78021 _ACEOF
78022 cat confdefs.h >>conftest.$ac_ext
78023 cat >>conftest.$ac_ext <<_ACEOF
78024 /* end confdefs.h. */
78025 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78026 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78027 #define $ac_func innocuous_$ac_func
78029 /* System header to define __stub macros and hopefully few prototypes,
78030 which can conflict with char $ac_func (); below.
78031 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78032 <limits.h> exists even on freestanding compilers. */
78034 #ifdef __STDC__
78035 # include <limits.h>
78036 #else
78037 # include <assert.h>
78038 #endif
78040 #undef $ac_func
78042 /* Override any gcc2 internal prototype to avoid an error. */
78043 #ifdef __cplusplus
78044 extern "C"
78046 #endif
78047 /* We use char because int might match the return type of a gcc2
78048 builtin and then its argument prototype would still apply. */
78049 char $ac_func ();
78050 /* The GNU C library defines this for functions which it implements
78051 to always fail with ENOSYS. Some functions are actually named
78052 something starting with __ and the normal name is an alias. */
78053 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78054 choke me
78055 #else
78056 char (*f) () = $ac_func;
78057 #endif
78058 #ifdef __cplusplus
78060 #endif
78063 main ()
78065 return f != $ac_func;
78067 return 0;
78069 _ACEOF
78070 rm -f conftest.$ac_objext conftest$ac_exeext
78071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78072 (eval $ac_link) 2>conftest.er1
78073 ac_status=$?
78074 grep -v '^ *+' conftest.er1 >conftest.err
78075 rm -f conftest.er1
78076 cat conftest.err >&5
78077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78078 (exit $ac_status); } &&
78079 { ac_try='test -z "$ac_c_werror_flag"
78080 || test ! -s conftest.err'
78081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78082 (eval $ac_try) 2>&5
78083 ac_status=$?
78084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78085 (exit $ac_status); }; } &&
78086 { ac_try='test -s conftest$ac_exeext'
78087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78088 (eval $ac_try) 2>&5
78089 ac_status=$?
78090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78091 (exit $ac_status); }; }; then
78092 eval "$as_ac_var=yes"
78093 else
78094 echo "$as_me: failed program was:" >&5
78095 sed 's/^/| /' conftest.$ac_ext >&5
78097 eval "$as_ac_var=no"
78099 rm -f conftest.err conftest.$ac_objext \
78100 conftest$ac_exeext conftest.$ac_ext
78102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78103 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78104 if test `eval echo '${'$as_ac_var'}'` = yes; then
78105 cat >>confdefs.h <<_ACEOF
78106 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78107 _ACEOF
78110 done
78120 echo "$as_me:$LINENO: checking for logl declaration" >&5
78121 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
78122 if test x${glibcxx_cv_func_logl_use+set} != xset; then
78123 if test "${glibcxx_cv_func_logl_use+set}" = set; then
78124 echo $ECHO_N "(cached) $ECHO_C" >&6
78125 else
78129 ac_ext=cc
78130 ac_cpp='$CXXCPP $CPPFLAGS'
78131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78135 cat >conftest.$ac_ext <<_ACEOF
78136 /* confdefs.h. */
78137 _ACEOF
78138 cat confdefs.h >>conftest.$ac_ext
78139 cat >>conftest.$ac_ext <<_ACEOF
78140 /* end confdefs.h. */
78141 #include <math.h>
78142 #ifdef HAVE_IEEEFP_H
78143 #include <ieeefp.h>
78144 #endif
78147 main ()
78149 logl(0);
78151 return 0;
78153 _ACEOF
78154 rm -f conftest.$ac_objext
78155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78156 (eval $ac_compile) 2>conftest.er1
78157 ac_status=$?
78158 grep -v '^ *+' conftest.er1 >conftest.err
78159 rm -f conftest.er1
78160 cat conftest.err >&5
78161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78162 (exit $ac_status); } &&
78163 { ac_try='test -z "$ac_cxx_werror_flag"
78164 || test ! -s conftest.err'
78165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78166 (eval $ac_try) 2>&5
78167 ac_status=$?
78168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78169 (exit $ac_status); }; } &&
78170 { ac_try='test -s conftest.$ac_objext'
78171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78172 (eval $ac_try) 2>&5
78173 ac_status=$?
78174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78175 (exit $ac_status); }; }; then
78176 glibcxx_cv_func_logl_use=yes
78177 else
78178 echo "$as_me: failed program was:" >&5
78179 sed 's/^/| /' conftest.$ac_ext >&5
78181 glibcxx_cv_func_logl_use=no
78183 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78184 ac_ext=c
78185 ac_cpp='$CPP $CPPFLAGS'
78186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78194 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
78195 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
78197 if test x$glibcxx_cv_func_logl_use = x"yes"; then
78199 for ac_func in logl
78201 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78202 echo "$as_me:$LINENO: checking for $ac_func" >&5
78203 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78204 if eval "test \"\${$as_ac_var+set}\" = set"; then
78205 echo $ECHO_N "(cached) $ECHO_C" >&6
78206 else
78207 if test x$gcc_no_link = xyes; then
78208 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78209 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78210 { (exit 1); exit 1; }; }
78212 cat >conftest.$ac_ext <<_ACEOF
78213 /* confdefs.h. */
78214 _ACEOF
78215 cat confdefs.h >>conftest.$ac_ext
78216 cat >>conftest.$ac_ext <<_ACEOF
78217 /* end confdefs.h. */
78218 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78219 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78220 #define $ac_func innocuous_$ac_func
78222 /* System header to define __stub macros and hopefully few prototypes,
78223 which can conflict with char $ac_func (); below.
78224 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78225 <limits.h> exists even on freestanding compilers. */
78227 #ifdef __STDC__
78228 # include <limits.h>
78229 #else
78230 # include <assert.h>
78231 #endif
78233 #undef $ac_func
78235 /* Override any gcc2 internal prototype to avoid an error. */
78236 #ifdef __cplusplus
78237 extern "C"
78239 #endif
78240 /* We use char because int might match the return type of a gcc2
78241 builtin and then its argument prototype would still apply. */
78242 char $ac_func ();
78243 /* The GNU C library defines this for functions which it implements
78244 to always fail with ENOSYS. Some functions are actually named
78245 something starting with __ and the normal name is an alias. */
78246 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78247 choke me
78248 #else
78249 char (*f) () = $ac_func;
78250 #endif
78251 #ifdef __cplusplus
78253 #endif
78256 main ()
78258 return f != $ac_func;
78260 return 0;
78262 _ACEOF
78263 rm -f conftest.$ac_objext conftest$ac_exeext
78264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78265 (eval $ac_link) 2>conftest.er1
78266 ac_status=$?
78267 grep -v '^ *+' conftest.er1 >conftest.err
78268 rm -f conftest.er1
78269 cat conftest.err >&5
78270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78271 (exit $ac_status); } &&
78272 { ac_try='test -z "$ac_c_werror_flag"
78273 || test ! -s conftest.err'
78274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78275 (eval $ac_try) 2>&5
78276 ac_status=$?
78277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78278 (exit $ac_status); }; } &&
78279 { ac_try='test -s conftest$ac_exeext'
78280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78281 (eval $ac_try) 2>&5
78282 ac_status=$?
78283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78284 (exit $ac_status); }; }; then
78285 eval "$as_ac_var=yes"
78286 else
78287 echo "$as_me: failed program was:" >&5
78288 sed 's/^/| /' conftest.$ac_ext >&5
78290 eval "$as_ac_var=no"
78292 rm -f conftest.err conftest.$ac_objext \
78293 conftest$ac_exeext conftest.$ac_ext
78295 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78296 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78297 if test `eval echo '${'$as_ac_var'}'` = yes; then
78298 cat >>confdefs.h <<_ACEOF
78299 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78300 _ACEOF
78303 done
78305 else
78307 echo "$as_me:$LINENO: checking for _logl declaration" >&5
78308 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
78309 if test x${glibcxx_cv_func__logl_use+set} != xset; then
78310 if test "${glibcxx_cv_func__logl_use+set}" = set; then
78311 echo $ECHO_N "(cached) $ECHO_C" >&6
78312 else
78316 ac_ext=cc
78317 ac_cpp='$CXXCPP $CPPFLAGS'
78318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78322 cat >conftest.$ac_ext <<_ACEOF
78323 /* confdefs.h. */
78324 _ACEOF
78325 cat confdefs.h >>conftest.$ac_ext
78326 cat >>conftest.$ac_ext <<_ACEOF
78327 /* end confdefs.h. */
78328 #include <math.h>
78329 #ifdef HAVE_IEEEFP_H
78330 #include <ieeefp.h>
78331 #endif
78334 main ()
78336 _logl(0);
78338 return 0;
78340 _ACEOF
78341 rm -f conftest.$ac_objext
78342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78343 (eval $ac_compile) 2>conftest.er1
78344 ac_status=$?
78345 grep -v '^ *+' conftest.er1 >conftest.err
78346 rm -f conftest.er1
78347 cat conftest.err >&5
78348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78349 (exit $ac_status); } &&
78350 { ac_try='test -z "$ac_cxx_werror_flag"
78351 || test ! -s conftest.err'
78352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78353 (eval $ac_try) 2>&5
78354 ac_status=$?
78355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78356 (exit $ac_status); }; } &&
78357 { ac_try='test -s conftest.$ac_objext'
78358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78359 (eval $ac_try) 2>&5
78360 ac_status=$?
78361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78362 (exit $ac_status); }; }; then
78363 glibcxx_cv_func__logl_use=yes
78364 else
78365 echo "$as_me: failed program was:" >&5
78366 sed 's/^/| /' conftest.$ac_ext >&5
78368 glibcxx_cv_func__logl_use=no
78370 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78371 ac_ext=c
78372 ac_cpp='$CPP $CPPFLAGS'
78373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78381 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
78382 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
78384 if test x$glibcxx_cv_func__logl_use = x"yes"; then
78386 for ac_func in _logl
78388 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78389 echo "$as_me:$LINENO: checking for $ac_func" >&5
78390 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78391 if eval "test \"\${$as_ac_var+set}\" = set"; then
78392 echo $ECHO_N "(cached) $ECHO_C" >&6
78393 else
78394 if test x$gcc_no_link = xyes; then
78395 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78396 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78397 { (exit 1); exit 1; }; }
78399 cat >conftest.$ac_ext <<_ACEOF
78400 /* confdefs.h. */
78401 _ACEOF
78402 cat confdefs.h >>conftest.$ac_ext
78403 cat >>conftest.$ac_ext <<_ACEOF
78404 /* end confdefs.h. */
78405 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78406 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78407 #define $ac_func innocuous_$ac_func
78409 /* System header to define __stub macros and hopefully few prototypes,
78410 which can conflict with char $ac_func (); below.
78411 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78412 <limits.h> exists even on freestanding compilers. */
78414 #ifdef __STDC__
78415 # include <limits.h>
78416 #else
78417 # include <assert.h>
78418 #endif
78420 #undef $ac_func
78422 /* Override any gcc2 internal prototype to avoid an error. */
78423 #ifdef __cplusplus
78424 extern "C"
78426 #endif
78427 /* We use char because int might match the return type of a gcc2
78428 builtin and then its argument prototype would still apply. */
78429 char $ac_func ();
78430 /* The GNU C library defines this for functions which it implements
78431 to always fail with ENOSYS. Some functions are actually named
78432 something starting with __ and the normal name is an alias. */
78433 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78434 choke me
78435 #else
78436 char (*f) () = $ac_func;
78437 #endif
78438 #ifdef __cplusplus
78440 #endif
78443 main ()
78445 return f != $ac_func;
78447 return 0;
78449 _ACEOF
78450 rm -f conftest.$ac_objext conftest$ac_exeext
78451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78452 (eval $ac_link) 2>conftest.er1
78453 ac_status=$?
78454 grep -v '^ *+' conftest.er1 >conftest.err
78455 rm -f conftest.er1
78456 cat conftest.err >&5
78457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78458 (exit $ac_status); } &&
78459 { ac_try='test -z "$ac_c_werror_flag"
78460 || test ! -s conftest.err'
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); }; } &&
78466 { ac_try='test -s conftest$ac_exeext'
78467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78468 (eval $ac_try) 2>&5
78469 ac_status=$?
78470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78471 (exit $ac_status); }; }; then
78472 eval "$as_ac_var=yes"
78473 else
78474 echo "$as_me: failed program was:" >&5
78475 sed 's/^/| /' conftest.$ac_ext >&5
78477 eval "$as_ac_var=no"
78479 rm -f conftest.err conftest.$ac_objext \
78480 conftest$ac_exeext conftest.$ac_ext
78482 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78483 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78484 if test `eval echo '${'$as_ac_var'}'` = yes; then
78485 cat >>confdefs.h <<_ACEOF
78486 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78487 _ACEOF
78490 done
78500 echo "$as_me:$LINENO: checking for log10l declaration" >&5
78501 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
78502 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
78503 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
78504 echo $ECHO_N "(cached) $ECHO_C" >&6
78505 else
78509 ac_ext=cc
78510 ac_cpp='$CXXCPP $CPPFLAGS'
78511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78515 cat >conftest.$ac_ext <<_ACEOF
78516 /* confdefs.h. */
78517 _ACEOF
78518 cat confdefs.h >>conftest.$ac_ext
78519 cat >>conftest.$ac_ext <<_ACEOF
78520 /* end confdefs.h. */
78521 #include <math.h>
78522 #ifdef HAVE_IEEEFP_H
78523 #include <ieeefp.h>
78524 #endif
78527 main ()
78529 log10l(0);
78531 return 0;
78533 _ACEOF
78534 rm -f conftest.$ac_objext
78535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78536 (eval $ac_compile) 2>conftest.er1
78537 ac_status=$?
78538 grep -v '^ *+' conftest.er1 >conftest.err
78539 rm -f conftest.er1
78540 cat conftest.err >&5
78541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78542 (exit $ac_status); } &&
78543 { ac_try='test -z "$ac_cxx_werror_flag"
78544 || test ! -s conftest.err'
78545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78546 (eval $ac_try) 2>&5
78547 ac_status=$?
78548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78549 (exit $ac_status); }; } &&
78550 { ac_try='test -s conftest.$ac_objext'
78551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78552 (eval $ac_try) 2>&5
78553 ac_status=$?
78554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78555 (exit $ac_status); }; }; then
78556 glibcxx_cv_func_log10l_use=yes
78557 else
78558 echo "$as_me: failed program was:" >&5
78559 sed 's/^/| /' conftest.$ac_ext >&5
78561 glibcxx_cv_func_log10l_use=no
78563 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78564 ac_ext=c
78565 ac_cpp='$CPP $CPPFLAGS'
78566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78574 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
78575 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
78577 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
78579 for ac_func in log10l
78581 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78582 echo "$as_me:$LINENO: checking for $ac_func" >&5
78583 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78584 if eval "test \"\${$as_ac_var+set}\" = set"; then
78585 echo $ECHO_N "(cached) $ECHO_C" >&6
78586 else
78587 if test x$gcc_no_link = xyes; then
78588 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78589 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78590 { (exit 1); exit 1; }; }
78592 cat >conftest.$ac_ext <<_ACEOF
78593 /* confdefs.h. */
78594 _ACEOF
78595 cat confdefs.h >>conftest.$ac_ext
78596 cat >>conftest.$ac_ext <<_ACEOF
78597 /* end confdefs.h. */
78598 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78599 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78600 #define $ac_func innocuous_$ac_func
78602 /* System header to define __stub macros and hopefully few prototypes,
78603 which can conflict with char $ac_func (); below.
78604 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78605 <limits.h> exists even on freestanding compilers. */
78607 #ifdef __STDC__
78608 # include <limits.h>
78609 #else
78610 # include <assert.h>
78611 #endif
78613 #undef $ac_func
78615 /* Override any gcc2 internal prototype to avoid an error. */
78616 #ifdef __cplusplus
78617 extern "C"
78619 #endif
78620 /* We use char because int might match the return type of a gcc2
78621 builtin and then its argument prototype would still apply. */
78622 char $ac_func ();
78623 /* The GNU C library defines this for functions which it implements
78624 to always fail with ENOSYS. Some functions are actually named
78625 something starting with __ and the normal name is an alias. */
78626 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78627 choke me
78628 #else
78629 char (*f) () = $ac_func;
78630 #endif
78631 #ifdef __cplusplus
78633 #endif
78636 main ()
78638 return f != $ac_func;
78640 return 0;
78642 _ACEOF
78643 rm -f conftest.$ac_objext conftest$ac_exeext
78644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78645 (eval $ac_link) 2>conftest.er1
78646 ac_status=$?
78647 grep -v '^ *+' conftest.er1 >conftest.err
78648 rm -f conftest.er1
78649 cat conftest.err >&5
78650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78651 (exit $ac_status); } &&
78652 { ac_try='test -z "$ac_c_werror_flag"
78653 || test ! -s conftest.err'
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); }; } &&
78659 { ac_try='test -s conftest$ac_exeext'
78660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78661 (eval $ac_try) 2>&5
78662 ac_status=$?
78663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78664 (exit $ac_status); }; }; then
78665 eval "$as_ac_var=yes"
78666 else
78667 echo "$as_me: failed program was:" >&5
78668 sed 's/^/| /' conftest.$ac_ext >&5
78670 eval "$as_ac_var=no"
78672 rm -f conftest.err conftest.$ac_objext \
78673 conftest$ac_exeext conftest.$ac_ext
78675 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78676 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78677 if test `eval echo '${'$as_ac_var'}'` = yes; then
78678 cat >>confdefs.h <<_ACEOF
78679 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78680 _ACEOF
78683 done
78685 else
78687 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
78688 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
78689 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
78690 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
78691 echo $ECHO_N "(cached) $ECHO_C" >&6
78692 else
78696 ac_ext=cc
78697 ac_cpp='$CXXCPP $CPPFLAGS'
78698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78702 cat >conftest.$ac_ext <<_ACEOF
78703 /* confdefs.h. */
78704 _ACEOF
78705 cat confdefs.h >>conftest.$ac_ext
78706 cat >>conftest.$ac_ext <<_ACEOF
78707 /* end confdefs.h. */
78708 #include <math.h>
78709 #ifdef HAVE_IEEEFP_H
78710 #include <ieeefp.h>
78711 #endif
78714 main ()
78716 _log10l(0);
78718 return 0;
78720 _ACEOF
78721 rm -f conftest.$ac_objext
78722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78723 (eval $ac_compile) 2>conftest.er1
78724 ac_status=$?
78725 grep -v '^ *+' conftest.er1 >conftest.err
78726 rm -f conftest.er1
78727 cat conftest.err >&5
78728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78729 (exit $ac_status); } &&
78730 { ac_try='test -z "$ac_cxx_werror_flag"
78731 || test ! -s conftest.err'
78732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78733 (eval $ac_try) 2>&5
78734 ac_status=$?
78735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78736 (exit $ac_status); }; } &&
78737 { ac_try='test -s conftest.$ac_objext'
78738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78739 (eval $ac_try) 2>&5
78740 ac_status=$?
78741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78742 (exit $ac_status); }; }; then
78743 glibcxx_cv_func__log10l_use=yes
78744 else
78745 echo "$as_me: failed program was:" >&5
78746 sed 's/^/| /' conftest.$ac_ext >&5
78748 glibcxx_cv_func__log10l_use=no
78750 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78751 ac_ext=c
78752 ac_cpp='$CPP $CPPFLAGS'
78753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78761 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
78762 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
78764 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
78766 for ac_func in _log10l
78768 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78769 echo "$as_me:$LINENO: checking for $ac_func" >&5
78770 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78771 if eval "test \"\${$as_ac_var+set}\" = set"; then
78772 echo $ECHO_N "(cached) $ECHO_C" >&6
78773 else
78774 if test x$gcc_no_link = xyes; then
78775 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78776 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78777 { (exit 1); exit 1; }; }
78779 cat >conftest.$ac_ext <<_ACEOF
78780 /* confdefs.h. */
78781 _ACEOF
78782 cat confdefs.h >>conftest.$ac_ext
78783 cat >>conftest.$ac_ext <<_ACEOF
78784 /* end confdefs.h. */
78785 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78786 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78787 #define $ac_func innocuous_$ac_func
78789 /* System header to define __stub macros and hopefully few prototypes,
78790 which can conflict with char $ac_func (); below.
78791 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78792 <limits.h> exists even on freestanding compilers. */
78794 #ifdef __STDC__
78795 # include <limits.h>
78796 #else
78797 # include <assert.h>
78798 #endif
78800 #undef $ac_func
78802 /* Override any gcc2 internal prototype to avoid an error. */
78803 #ifdef __cplusplus
78804 extern "C"
78806 #endif
78807 /* We use char because int might match the return type of a gcc2
78808 builtin and then its argument prototype would still apply. */
78809 char $ac_func ();
78810 /* The GNU C library defines this for functions which it implements
78811 to always fail with ENOSYS. Some functions are actually named
78812 something starting with __ and the normal name is an alias. */
78813 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78814 choke me
78815 #else
78816 char (*f) () = $ac_func;
78817 #endif
78818 #ifdef __cplusplus
78820 #endif
78823 main ()
78825 return f != $ac_func;
78827 return 0;
78829 _ACEOF
78830 rm -f conftest.$ac_objext conftest$ac_exeext
78831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78832 (eval $ac_link) 2>conftest.er1
78833 ac_status=$?
78834 grep -v '^ *+' conftest.er1 >conftest.err
78835 rm -f conftest.er1
78836 cat conftest.err >&5
78837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78838 (exit $ac_status); } &&
78839 { ac_try='test -z "$ac_c_werror_flag"
78840 || test ! -s conftest.err'
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); }; } &&
78846 { ac_try='test -s conftest$ac_exeext'
78847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78848 (eval $ac_try) 2>&5
78849 ac_status=$?
78850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78851 (exit $ac_status); }; }; then
78852 eval "$as_ac_var=yes"
78853 else
78854 echo "$as_me: failed program was:" >&5
78855 sed 's/^/| /' conftest.$ac_ext >&5
78857 eval "$as_ac_var=no"
78859 rm -f conftest.err conftest.$ac_objext \
78860 conftest$ac_exeext conftest.$ac_ext
78862 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78863 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78864 if test `eval echo '${'$as_ac_var'}'` = yes; then
78865 cat >>confdefs.h <<_ACEOF
78866 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78867 _ACEOF
78870 done
78880 echo "$as_me:$LINENO: checking for modfl declaration" >&5
78881 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
78882 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
78883 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
78884 echo $ECHO_N "(cached) $ECHO_C" >&6
78885 else
78889 ac_ext=cc
78890 ac_cpp='$CXXCPP $CPPFLAGS'
78891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78895 cat >conftest.$ac_ext <<_ACEOF
78896 /* confdefs.h. */
78897 _ACEOF
78898 cat confdefs.h >>conftest.$ac_ext
78899 cat >>conftest.$ac_ext <<_ACEOF
78900 /* end confdefs.h. */
78901 #include <math.h>
78903 main ()
78905 modfl(0, 0);
78907 return 0;
78909 _ACEOF
78910 rm -f conftest.$ac_objext
78911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78912 (eval $ac_compile) 2>conftest.er1
78913 ac_status=$?
78914 grep -v '^ *+' conftest.er1 >conftest.err
78915 rm -f conftest.er1
78916 cat conftest.err >&5
78917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78918 (exit $ac_status); } &&
78919 { ac_try='test -z "$ac_cxx_werror_flag"
78920 || test ! -s conftest.err'
78921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78922 (eval $ac_try) 2>&5
78923 ac_status=$?
78924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78925 (exit $ac_status); }; } &&
78926 { ac_try='test -s conftest.$ac_objext'
78927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78928 (eval $ac_try) 2>&5
78929 ac_status=$?
78930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78931 (exit $ac_status); }; }; then
78932 glibcxx_cv_func_modfl_use=yes
78933 else
78934 echo "$as_me: failed program was:" >&5
78935 sed 's/^/| /' conftest.$ac_ext >&5
78937 glibcxx_cv_func_modfl_use=no
78939 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78940 ac_ext=c
78941 ac_cpp='$CPP $CPPFLAGS'
78942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78950 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
78951 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
78953 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
78955 for ac_func in modfl
78957 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78958 echo "$as_me:$LINENO: checking for $ac_func" >&5
78959 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78960 if eval "test \"\${$as_ac_var+set}\" = set"; then
78961 echo $ECHO_N "(cached) $ECHO_C" >&6
78962 else
78963 if test x$gcc_no_link = xyes; then
78964 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78965 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78966 { (exit 1); exit 1; }; }
78968 cat >conftest.$ac_ext <<_ACEOF
78969 /* confdefs.h. */
78970 _ACEOF
78971 cat confdefs.h >>conftest.$ac_ext
78972 cat >>conftest.$ac_ext <<_ACEOF
78973 /* end confdefs.h. */
78974 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78975 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78976 #define $ac_func innocuous_$ac_func
78978 /* System header to define __stub macros and hopefully few prototypes,
78979 which can conflict with char $ac_func (); below.
78980 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78981 <limits.h> exists even on freestanding compilers. */
78983 #ifdef __STDC__
78984 # include <limits.h>
78985 #else
78986 # include <assert.h>
78987 #endif
78989 #undef $ac_func
78991 /* Override any gcc2 internal prototype to avoid an error. */
78992 #ifdef __cplusplus
78993 extern "C"
78995 #endif
78996 /* We use char because int might match the return type of a gcc2
78997 builtin and then its argument prototype would still apply. */
78998 char $ac_func ();
78999 /* The GNU C library defines this for functions which it implements
79000 to always fail with ENOSYS. Some functions are actually named
79001 something starting with __ and the normal name is an alias. */
79002 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79003 choke me
79004 #else
79005 char (*f) () = $ac_func;
79006 #endif
79007 #ifdef __cplusplus
79009 #endif
79012 main ()
79014 return f != $ac_func;
79016 return 0;
79018 _ACEOF
79019 rm -f conftest.$ac_objext conftest$ac_exeext
79020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79021 (eval $ac_link) 2>conftest.er1
79022 ac_status=$?
79023 grep -v '^ *+' conftest.er1 >conftest.err
79024 rm -f conftest.er1
79025 cat conftest.err >&5
79026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79027 (exit $ac_status); } &&
79028 { ac_try='test -z "$ac_c_werror_flag"
79029 || test ! -s conftest.err'
79030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79031 (eval $ac_try) 2>&5
79032 ac_status=$?
79033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79034 (exit $ac_status); }; } &&
79035 { ac_try='test -s conftest$ac_exeext'
79036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79037 (eval $ac_try) 2>&5
79038 ac_status=$?
79039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79040 (exit $ac_status); }; }; then
79041 eval "$as_ac_var=yes"
79042 else
79043 echo "$as_me: failed program was:" >&5
79044 sed 's/^/| /' conftest.$ac_ext >&5
79046 eval "$as_ac_var=no"
79048 rm -f conftest.err conftest.$ac_objext \
79049 conftest$ac_exeext conftest.$ac_ext
79051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79052 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79053 if test `eval echo '${'$as_ac_var'}'` = yes; then
79054 cat >>confdefs.h <<_ACEOF
79055 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79056 _ACEOF
79059 done
79061 else
79063 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
79064 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
79065 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
79066 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
79067 echo $ECHO_N "(cached) $ECHO_C" >&6
79068 else
79072 ac_ext=cc
79073 ac_cpp='$CXXCPP $CPPFLAGS'
79074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79078 cat >conftest.$ac_ext <<_ACEOF
79079 /* confdefs.h. */
79080 _ACEOF
79081 cat confdefs.h >>conftest.$ac_ext
79082 cat >>conftest.$ac_ext <<_ACEOF
79083 /* end confdefs.h. */
79084 #include <math.h>
79086 main ()
79088 _modfl(0, 0);
79090 return 0;
79092 _ACEOF
79093 rm -f conftest.$ac_objext
79094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79095 (eval $ac_compile) 2>conftest.er1
79096 ac_status=$?
79097 grep -v '^ *+' conftest.er1 >conftest.err
79098 rm -f conftest.er1
79099 cat conftest.err >&5
79100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79101 (exit $ac_status); } &&
79102 { ac_try='test -z "$ac_cxx_werror_flag"
79103 || test ! -s conftest.err'
79104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79105 (eval $ac_try) 2>&5
79106 ac_status=$?
79107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79108 (exit $ac_status); }; } &&
79109 { ac_try='test -s conftest.$ac_objext'
79110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79111 (eval $ac_try) 2>&5
79112 ac_status=$?
79113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79114 (exit $ac_status); }; }; then
79115 glibcxx_cv_func__modfl_use=yes
79116 else
79117 echo "$as_me: failed program was:" >&5
79118 sed 's/^/| /' conftest.$ac_ext >&5
79120 glibcxx_cv_func__modfl_use=no
79122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79123 ac_ext=c
79124 ac_cpp='$CPP $CPPFLAGS'
79125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79133 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
79134 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
79136 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
79138 for ac_func in _modfl
79140 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79141 echo "$as_me:$LINENO: checking for $ac_func" >&5
79142 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79143 if eval "test \"\${$as_ac_var+set}\" = set"; then
79144 echo $ECHO_N "(cached) $ECHO_C" >&6
79145 else
79146 if test x$gcc_no_link = xyes; then
79147 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79148 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79149 { (exit 1); exit 1; }; }
79151 cat >conftest.$ac_ext <<_ACEOF
79152 /* confdefs.h. */
79153 _ACEOF
79154 cat confdefs.h >>conftest.$ac_ext
79155 cat >>conftest.$ac_ext <<_ACEOF
79156 /* end confdefs.h. */
79157 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79158 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79159 #define $ac_func innocuous_$ac_func
79161 /* System header to define __stub macros and hopefully few prototypes,
79162 which can conflict with char $ac_func (); below.
79163 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79164 <limits.h> exists even on freestanding compilers. */
79166 #ifdef __STDC__
79167 # include <limits.h>
79168 #else
79169 # include <assert.h>
79170 #endif
79172 #undef $ac_func
79174 /* Override any gcc2 internal prototype to avoid an error. */
79175 #ifdef __cplusplus
79176 extern "C"
79178 #endif
79179 /* We use char because int might match the return type of a gcc2
79180 builtin and then its argument prototype would still apply. */
79181 char $ac_func ();
79182 /* The GNU C library defines this for functions which it implements
79183 to always fail with ENOSYS. Some functions are actually named
79184 something starting with __ and the normal name is an alias. */
79185 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79186 choke me
79187 #else
79188 char (*f) () = $ac_func;
79189 #endif
79190 #ifdef __cplusplus
79192 #endif
79195 main ()
79197 return f != $ac_func;
79199 return 0;
79201 _ACEOF
79202 rm -f conftest.$ac_objext conftest$ac_exeext
79203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79204 (eval $ac_link) 2>conftest.er1
79205 ac_status=$?
79206 grep -v '^ *+' conftest.er1 >conftest.err
79207 rm -f conftest.er1
79208 cat conftest.err >&5
79209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79210 (exit $ac_status); } &&
79211 { ac_try='test -z "$ac_c_werror_flag"
79212 || test ! -s conftest.err'
79213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79214 (eval $ac_try) 2>&5
79215 ac_status=$?
79216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79217 (exit $ac_status); }; } &&
79218 { ac_try='test -s conftest$ac_exeext'
79219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79220 (eval $ac_try) 2>&5
79221 ac_status=$?
79222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79223 (exit $ac_status); }; }; then
79224 eval "$as_ac_var=yes"
79225 else
79226 echo "$as_me: failed program was:" >&5
79227 sed 's/^/| /' conftest.$ac_ext >&5
79229 eval "$as_ac_var=no"
79231 rm -f conftest.err conftest.$ac_objext \
79232 conftest$ac_exeext conftest.$ac_ext
79234 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79235 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79236 if test `eval echo '${'$as_ac_var'}'` = yes; then
79237 cat >>confdefs.h <<_ACEOF
79238 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79239 _ACEOF
79242 done
79252 echo "$as_me:$LINENO: checking for powl declaration" >&5
79253 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
79254 if test x${glibcxx_cv_func_powl_use+set} != xset; then
79255 if test "${glibcxx_cv_func_powl_use+set}" = set; then
79256 echo $ECHO_N "(cached) $ECHO_C" >&6
79257 else
79261 ac_ext=cc
79262 ac_cpp='$CXXCPP $CPPFLAGS'
79263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79267 cat >conftest.$ac_ext <<_ACEOF
79268 /* confdefs.h. */
79269 _ACEOF
79270 cat confdefs.h >>conftest.$ac_ext
79271 cat >>conftest.$ac_ext <<_ACEOF
79272 /* end confdefs.h. */
79273 #include <math.h>
79275 main ()
79277 powl(0, 0);
79279 return 0;
79281 _ACEOF
79282 rm -f conftest.$ac_objext
79283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79284 (eval $ac_compile) 2>conftest.er1
79285 ac_status=$?
79286 grep -v '^ *+' conftest.er1 >conftest.err
79287 rm -f conftest.er1
79288 cat conftest.err >&5
79289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79290 (exit $ac_status); } &&
79291 { ac_try='test -z "$ac_cxx_werror_flag"
79292 || test ! -s conftest.err'
79293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79294 (eval $ac_try) 2>&5
79295 ac_status=$?
79296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79297 (exit $ac_status); }; } &&
79298 { ac_try='test -s conftest.$ac_objext'
79299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79300 (eval $ac_try) 2>&5
79301 ac_status=$?
79302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79303 (exit $ac_status); }; }; then
79304 glibcxx_cv_func_powl_use=yes
79305 else
79306 echo "$as_me: failed program was:" >&5
79307 sed 's/^/| /' conftest.$ac_ext >&5
79309 glibcxx_cv_func_powl_use=no
79311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79312 ac_ext=c
79313 ac_cpp='$CPP $CPPFLAGS'
79314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79322 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
79323 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
79325 if test x$glibcxx_cv_func_powl_use = x"yes"; then
79327 for ac_func in powl
79329 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79330 echo "$as_me:$LINENO: checking for $ac_func" >&5
79331 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79332 if eval "test \"\${$as_ac_var+set}\" = set"; then
79333 echo $ECHO_N "(cached) $ECHO_C" >&6
79334 else
79335 if test x$gcc_no_link = xyes; then
79336 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79337 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79338 { (exit 1); exit 1; }; }
79340 cat >conftest.$ac_ext <<_ACEOF
79341 /* confdefs.h. */
79342 _ACEOF
79343 cat confdefs.h >>conftest.$ac_ext
79344 cat >>conftest.$ac_ext <<_ACEOF
79345 /* end confdefs.h. */
79346 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79347 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79348 #define $ac_func innocuous_$ac_func
79350 /* System header to define __stub macros and hopefully few prototypes,
79351 which can conflict with char $ac_func (); below.
79352 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79353 <limits.h> exists even on freestanding compilers. */
79355 #ifdef __STDC__
79356 # include <limits.h>
79357 #else
79358 # include <assert.h>
79359 #endif
79361 #undef $ac_func
79363 /* Override any gcc2 internal prototype to avoid an error. */
79364 #ifdef __cplusplus
79365 extern "C"
79367 #endif
79368 /* We use char because int might match the return type of a gcc2
79369 builtin and then its argument prototype would still apply. */
79370 char $ac_func ();
79371 /* The GNU C library defines this for functions which it implements
79372 to always fail with ENOSYS. Some functions are actually named
79373 something starting with __ and the normal name is an alias. */
79374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79375 choke me
79376 #else
79377 char (*f) () = $ac_func;
79378 #endif
79379 #ifdef __cplusplus
79381 #endif
79384 main ()
79386 return f != $ac_func;
79388 return 0;
79390 _ACEOF
79391 rm -f conftest.$ac_objext conftest$ac_exeext
79392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79393 (eval $ac_link) 2>conftest.er1
79394 ac_status=$?
79395 grep -v '^ *+' conftest.er1 >conftest.err
79396 rm -f conftest.er1
79397 cat conftest.err >&5
79398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79399 (exit $ac_status); } &&
79400 { ac_try='test -z "$ac_c_werror_flag"
79401 || test ! -s conftest.err'
79402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79403 (eval $ac_try) 2>&5
79404 ac_status=$?
79405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79406 (exit $ac_status); }; } &&
79407 { ac_try='test -s conftest$ac_exeext'
79408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79409 (eval $ac_try) 2>&5
79410 ac_status=$?
79411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79412 (exit $ac_status); }; }; then
79413 eval "$as_ac_var=yes"
79414 else
79415 echo "$as_me: failed program was:" >&5
79416 sed 's/^/| /' conftest.$ac_ext >&5
79418 eval "$as_ac_var=no"
79420 rm -f conftest.err conftest.$ac_objext \
79421 conftest$ac_exeext conftest.$ac_ext
79423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79424 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79425 if test `eval echo '${'$as_ac_var'}'` = yes; then
79426 cat >>confdefs.h <<_ACEOF
79427 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79428 _ACEOF
79431 done
79433 else
79435 echo "$as_me:$LINENO: checking for _powl declaration" >&5
79436 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
79437 if test x${glibcxx_cv_func__powl_use+set} != xset; then
79438 if test "${glibcxx_cv_func__powl_use+set}" = set; then
79439 echo $ECHO_N "(cached) $ECHO_C" >&6
79440 else
79444 ac_ext=cc
79445 ac_cpp='$CXXCPP $CPPFLAGS'
79446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79450 cat >conftest.$ac_ext <<_ACEOF
79451 /* confdefs.h. */
79452 _ACEOF
79453 cat confdefs.h >>conftest.$ac_ext
79454 cat >>conftest.$ac_ext <<_ACEOF
79455 /* end confdefs.h. */
79456 #include <math.h>
79458 main ()
79460 _powl(0, 0);
79462 return 0;
79464 _ACEOF
79465 rm -f conftest.$ac_objext
79466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79467 (eval $ac_compile) 2>conftest.er1
79468 ac_status=$?
79469 grep -v '^ *+' conftest.er1 >conftest.err
79470 rm -f conftest.er1
79471 cat conftest.err >&5
79472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79473 (exit $ac_status); } &&
79474 { ac_try='test -z "$ac_cxx_werror_flag"
79475 || test ! -s conftest.err'
79476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79477 (eval $ac_try) 2>&5
79478 ac_status=$?
79479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79480 (exit $ac_status); }; } &&
79481 { ac_try='test -s conftest.$ac_objext'
79482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79483 (eval $ac_try) 2>&5
79484 ac_status=$?
79485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79486 (exit $ac_status); }; }; then
79487 glibcxx_cv_func__powl_use=yes
79488 else
79489 echo "$as_me: failed program was:" >&5
79490 sed 's/^/| /' conftest.$ac_ext >&5
79492 glibcxx_cv_func__powl_use=no
79494 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79495 ac_ext=c
79496 ac_cpp='$CPP $CPPFLAGS'
79497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79505 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
79506 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
79508 if test x$glibcxx_cv_func__powl_use = x"yes"; then
79510 for ac_func in _powl
79512 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79513 echo "$as_me:$LINENO: checking for $ac_func" >&5
79514 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79515 if eval "test \"\${$as_ac_var+set}\" = set"; then
79516 echo $ECHO_N "(cached) $ECHO_C" >&6
79517 else
79518 if test x$gcc_no_link = xyes; then
79519 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79520 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79521 { (exit 1); exit 1; }; }
79523 cat >conftest.$ac_ext <<_ACEOF
79524 /* confdefs.h. */
79525 _ACEOF
79526 cat confdefs.h >>conftest.$ac_ext
79527 cat >>conftest.$ac_ext <<_ACEOF
79528 /* end confdefs.h. */
79529 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79530 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79531 #define $ac_func innocuous_$ac_func
79533 /* System header to define __stub macros and hopefully few prototypes,
79534 which can conflict with char $ac_func (); below.
79535 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79536 <limits.h> exists even on freestanding compilers. */
79538 #ifdef __STDC__
79539 # include <limits.h>
79540 #else
79541 # include <assert.h>
79542 #endif
79544 #undef $ac_func
79546 /* Override any gcc2 internal prototype to avoid an error. */
79547 #ifdef __cplusplus
79548 extern "C"
79550 #endif
79551 /* We use char because int might match the return type of a gcc2
79552 builtin and then its argument prototype would still apply. */
79553 char $ac_func ();
79554 /* The GNU C library defines this for functions which it implements
79555 to always fail with ENOSYS. Some functions are actually named
79556 something starting with __ and the normal name is an alias. */
79557 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79558 choke me
79559 #else
79560 char (*f) () = $ac_func;
79561 #endif
79562 #ifdef __cplusplus
79564 #endif
79567 main ()
79569 return f != $ac_func;
79571 return 0;
79573 _ACEOF
79574 rm -f conftest.$ac_objext conftest$ac_exeext
79575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79576 (eval $ac_link) 2>conftest.er1
79577 ac_status=$?
79578 grep -v '^ *+' conftest.er1 >conftest.err
79579 rm -f conftest.er1
79580 cat conftest.err >&5
79581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79582 (exit $ac_status); } &&
79583 { ac_try='test -z "$ac_c_werror_flag"
79584 || test ! -s conftest.err'
79585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79586 (eval $ac_try) 2>&5
79587 ac_status=$?
79588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79589 (exit $ac_status); }; } &&
79590 { ac_try='test -s conftest$ac_exeext'
79591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79592 (eval $ac_try) 2>&5
79593 ac_status=$?
79594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79595 (exit $ac_status); }; }; then
79596 eval "$as_ac_var=yes"
79597 else
79598 echo "$as_me: failed program was:" >&5
79599 sed 's/^/| /' conftest.$ac_ext >&5
79601 eval "$as_ac_var=no"
79603 rm -f conftest.err conftest.$ac_objext \
79604 conftest$ac_exeext conftest.$ac_ext
79606 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79607 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79608 if test `eval echo '${'$as_ac_var'}'` = yes; then
79609 cat >>confdefs.h <<_ACEOF
79610 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79611 _ACEOF
79614 done
79624 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
79625 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
79626 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
79627 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
79628 echo $ECHO_N "(cached) $ECHO_C" >&6
79629 else
79633 ac_ext=cc
79634 ac_cpp='$CXXCPP $CPPFLAGS'
79635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79639 cat >conftest.$ac_ext <<_ACEOF
79640 /* confdefs.h. */
79641 _ACEOF
79642 cat confdefs.h >>conftest.$ac_ext
79643 cat >>conftest.$ac_ext <<_ACEOF
79644 /* end confdefs.h. */
79645 #include <math.h>
79646 #ifdef HAVE_IEEEFP_H
79647 #include <ieeefp.h>
79648 #endif
79651 main ()
79653 sqrtl(0);
79655 return 0;
79657 _ACEOF
79658 rm -f conftest.$ac_objext
79659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79660 (eval $ac_compile) 2>conftest.er1
79661 ac_status=$?
79662 grep -v '^ *+' conftest.er1 >conftest.err
79663 rm -f conftest.er1
79664 cat conftest.err >&5
79665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79666 (exit $ac_status); } &&
79667 { ac_try='test -z "$ac_cxx_werror_flag"
79668 || test ! -s conftest.err'
79669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79670 (eval $ac_try) 2>&5
79671 ac_status=$?
79672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79673 (exit $ac_status); }; } &&
79674 { ac_try='test -s conftest.$ac_objext'
79675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79676 (eval $ac_try) 2>&5
79677 ac_status=$?
79678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79679 (exit $ac_status); }; }; then
79680 glibcxx_cv_func_sqrtl_use=yes
79681 else
79682 echo "$as_me: failed program was:" >&5
79683 sed 's/^/| /' conftest.$ac_ext >&5
79685 glibcxx_cv_func_sqrtl_use=no
79687 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79688 ac_ext=c
79689 ac_cpp='$CPP $CPPFLAGS'
79690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79698 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
79699 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
79701 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
79703 for ac_func in sqrtl
79705 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79706 echo "$as_me:$LINENO: checking for $ac_func" >&5
79707 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79708 if eval "test \"\${$as_ac_var+set}\" = set"; then
79709 echo $ECHO_N "(cached) $ECHO_C" >&6
79710 else
79711 if test x$gcc_no_link = xyes; then
79712 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79713 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79714 { (exit 1); exit 1; }; }
79716 cat >conftest.$ac_ext <<_ACEOF
79717 /* confdefs.h. */
79718 _ACEOF
79719 cat confdefs.h >>conftest.$ac_ext
79720 cat >>conftest.$ac_ext <<_ACEOF
79721 /* end confdefs.h. */
79722 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79723 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79724 #define $ac_func innocuous_$ac_func
79726 /* System header to define __stub macros and hopefully few prototypes,
79727 which can conflict with char $ac_func (); below.
79728 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79729 <limits.h> exists even on freestanding compilers. */
79731 #ifdef __STDC__
79732 # include <limits.h>
79733 #else
79734 # include <assert.h>
79735 #endif
79737 #undef $ac_func
79739 /* Override any gcc2 internal prototype to avoid an error. */
79740 #ifdef __cplusplus
79741 extern "C"
79743 #endif
79744 /* We use char because int might match the return type of a gcc2
79745 builtin and then its argument prototype would still apply. */
79746 char $ac_func ();
79747 /* The GNU C library defines this for functions which it implements
79748 to always fail with ENOSYS. Some functions are actually named
79749 something starting with __ and the normal name is an alias. */
79750 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79751 choke me
79752 #else
79753 char (*f) () = $ac_func;
79754 #endif
79755 #ifdef __cplusplus
79757 #endif
79760 main ()
79762 return f != $ac_func;
79764 return 0;
79766 _ACEOF
79767 rm -f conftest.$ac_objext conftest$ac_exeext
79768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79769 (eval $ac_link) 2>conftest.er1
79770 ac_status=$?
79771 grep -v '^ *+' conftest.er1 >conftest.err
79772 rm -f conftest.er1
79773 cat conftest.err >&5
79774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79775 (exit $ac_status); } &&
79776 { ac_try='test -z "$ac_c_werror_flag"
79777 || test ! -s conftest.err'
79778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79779 (eval $ac_try) 2>&5
79780 ac_status=$?
79781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79782 (exit $ac_status); }; } &&
79783 { ac_try='test -s conftest$ac_exeext'
79784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79785 (eval $ac_try) 2>&5
79786 ac_status=$?
79787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79788 (exit $ac_status); }; }; then
79789 eval "$as_ac_var=yes"
79790 else
79791 echo "$as_me: failed program was:" >&5
79792 sed 's/^/| /' conftest.$ac_ext >&5
79794 eval "$as_ac_var=no"
79796 rm -f conftest.err conftest.$ac_objext \
79797 conftest$ac_exeext conftest.$ac_ext
79799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79800 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79801 if test `eval echo '${'$as_ac_var'}'` = yes; then
79802 cat >>confdefs.h <<_ACEOF
79803 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79804 _ACEOF
79807 done
79809 else
79811 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
79812 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
79813 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
79814 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
79815 echo $ECHO_N "(cached) $ECHO_C" >&6
79816 else
79820 ac_ext=cc
79821 ac_cpp='$CXXCPP $CPPFLAGS'
79822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79826 cat >conftest.$ac_ext <<_ACEOF
79827 /* confdefs.h. */
79828 _ACEOF
79829 cat confdefs.h >>conftest.$ac_ext
79830 cat >>conftest.$ac_ext <<_ACEOF
79831 /* end confdefs.h. */
79832 #include <math.h>
79833 #ifdef HAVE_IEEEFP_H
79834 #include <ieeefp.h>
79835 #endif
79838 main ()
79840 _sqrtl(0);
79842 return 0;
79844 _ACEOF
79845 rm -f conftest.$ac_objext
79846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79847 (eval $ac_compile) 2>conftest.er1
79848 ac_status=$?
79849 grep -v '^ *+' conftest.er1 >conftest.err
79850 rm -f conftest.er1
79851 cat conftest.err >&5
79852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79853 (exit $ac_status); } &&
79854 { ac_try='test -z "$ac_cxx_werror_flag"
79855 || test ! -s conftest.err'
79856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79857 (eval $ac_try) 2>&5
79858 ac_status=$?
79859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79860 (exit $ac_status); }; } &&
79861 { ac_try='test -s conftest.$ac_objext'
79862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79863 (eval $ac_try) 2>&5
79864 ac_status=$?
79865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79866 (exit $ac_status); }; }; then
79867 glibcxx_cv_func__sqrtl_use=yes
79868 else
79869 echo "$as_me: failed program was:" >&5
79870 sed 's/^/| /' conftest.$ac_ext >&5
79872 glibcxx_cv_func__sqrtl_use=no
79874 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79875 ac_ext=c
79876 ac_cpp='$CPP $CPPFLAGS'
79877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79885 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
79886 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
79888 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
79890 for ac_func in _sqrtl
79892 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79893 echo "$as_me:$LINENO: checking for $ac_func" >&5
79894 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79895 if eval "test \"\${$as_ac_var+set}\" = set"; then
79896 echo $ECHO_N "(cached) $ECHO_C" >&6
79897 else
79898 if test x$gcc_no_link = xyes; then
79899 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79900 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79901 { (exit 1); exit 1; }; }
79903 cat >conftest.$ac_ext <<_ACEOF
79904 /* confdefs.h. */
79905 _ACEOF
79906 cat confdefs.h >>conftest.$ac_ext
79907 cat >>conftest.$ac_ext <<_ACEOF
79908 /* end confdefs.h. */
79909 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79910 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79911 #define $ac_func innocuous_$ac_func
79913 /* System header to define __stub macros and hopefully few prototypes,
79914 which can conflict with char $ac_func (); below.
79915 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79916 <limits.h> exists even on freestanding compilers. */
79918 #ifdef __STDC__
79919 # include <limits.h>
79920 #else
79921 # include <assert.h>
79922 #endif
79924 #undef $ac_func
79926 /* Override any gcc2 internal prototype to avoid an error. */
79927 #ifdef __cplusplus
79928 extern "C"
79930 #endif
79931 /* We use char because int might match the return type of a gcc2
79932 builtin and then its argument prototype would still apply. */
79933 char $ac_func ();
79934 /* The GNU C library defines this for functions which it implements
79935 to always fail with ENOSYS. Some functions are actually named
79936 something starting with __ and the normal name is an alias. */
79937 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79938 choke me
79939 #else
79940 char (*f) () = $ac_func;
79941 #endif
79942 #ifdef __cplusplus
79944 #endif
79947 main ()
79949 return f != $ac_func;
79951 return 0;
79953 _ACEOF
79954 rm -f conftest.$ac_objext conftest$ac_exeext
79955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79956 (eval $ac_link) 2>conftest.er1
79957 ac_status=$?
79958 grep -v '^ *+' conftest.er1 >conftest.err
79959 rm -f conftest.er1
79960 cat conftest.err >&5
79961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79962 (exit $ac_status); } &&
79963 { ac_try='test -z "$ac_c_werror_flag"
79964 || test ! -s conftest.err'
79965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79966 (eval $ac_try) 2>&5
79967 ac_status=$?
79968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79969 (exit $ac_status); }; } &&
79970 { ac_try='test -s conftest$ac_exeext'
79971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79972 (eval $ac_try) 2>&5
79973 ac_status=$?
79974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79975 (exit $ac_status); }; }; then
79976 eval "$as_ac_var=yes"
79977 else
79978 echo "$as_me: failed program was:" >&5
79979 sed 's/^/| /' conftest.$ac_ext >&5
79981 eval "$as_ac_var=no"
79983 rm -f conftest.err conftest.$ac_objext \
79984 conftest$ac_exeext conftest.$ac_ext
79986 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79987 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79988 if test `eval echo '${'$as_ac_var'}'` = yes; then
79989 cat >>confdefs.h <<_ACEOF
79990 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79991 _ACEOF
79994 done
80004 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
80005 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
80006 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
80007 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
80008 echo $ECHO_N "(cached) $ECHO_C" >&6
80009 else
80013 ac_ext=cc
80014 ac_cpp='$CXXCPP $CPPFLAGS'
80015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80019 cat >conftest.$ac_ext <<_ACEOF
80020 /* confdefs.h. */
80021 _ACEOF
80022 cat confdefs.h >>conftest.$ac_ext
80023 cat >>conftest.$ac_ext <<_ACEOF
80024 /* end confdefs.h. */
80025 #include <math.h>
80027 main ()
80029 sincosl(0, 0, 0);
80031 return 0;
80033 _ACEOF
80034 rm -f conftest.$ac_objext
80035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80036 (eval $ac_compile) 2>conftest.er1
80037 ac_status=$?
80038 grep -v '^ *+' conftest.er1 >conftest.err
80039 rm -f conftest.er1
80040 cat conftest.err >&5
80041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80042 (exit $ac_status); } &&
80043 { ac_try='test -z "$ac_cxx_werror_flag"
80044 || test ! -s conftest.err'
80045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80046 (eval $ac_try) 2>&5
80047 ac_status=$?
80048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80049 (exit $ac_status); }; } &&
80050 { ac_try='test -s conftest.$ac_objext'
80051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80052 (eval $ac_try) 2>&5
80053 ac_status=$?
80054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80055 (exit $ac_status); }; }; then
80056 glibcxx_cv_func_sincosl_use=yes
80057 else
80058 echo "$as_me: failed program was:" >&5
80059 sed 's/^/| /' conftest.$ac_ext >&5
80061 glibcxx_cv_func_sincosl_use=no
80063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80064 ac_ext=c
80065 ac_cpp='$CPP $CPPFLAGS'
80066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80074 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
80075 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
80077 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
80079 for ac_func in sincosl
80081 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80082 echo "$as_me:$LINENO: checking for $ac_func" >&5
80083 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80084 if eval "test \"\${$as_ac_var+set}\" = set"; then
80085 echo $ECHO_N "(cached) $ECHO_C" >&6
80086 else
80087 if test x$gcc_no_link = xyes; then
80088 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80089 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80090 { (exit 1); exit 1; }; }
80092 cat >conftest.$ac_ext <<_ACEOF
80093 /* confdefs.h. */
80094 _ACEOF
80095 cat confdefs.h >>conftest.$ac_ext
80096 cat >>conftest.$ac_ext <<_ACEOF
80097 /* end confdefs.h. */
80098 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80099 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80100 #define $ac_func innocuous_$ac_func
80102 /* System header to define __stub macros and hopefully few prototypes,
80103 which can conflict with char $ac_func (); below.
80104 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80105 <limits.h> exists even on freestanding compilers. */
80107 #ifdef __STDC__
80108 # include <limits.h>
80109 #else
80110 # include <assert.h>
80111 #endif
80113 #undef $ac_func
80115 /* Override any gcc2 internal prototype to avoid an error. */
80116 #ifdef __cplusplus
80117 extern "C"
80119 #endif
80120 /* We use char because int might match the return type of a gcc2
80121 builtin and then its argument prototype would still apply. */
80122 char $ac_func ();
80123 /* The GNU C library defines this for functions which it implements
80124 to always fail with ENOSYS. Some functions are actually named
80125 something starting with __ and the normal name is an alias. */
80126 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80127 choke me
80128 #else
80129 char (*f) () = $ac_func;
80130 #endif
80131 #ifdef __cplusplus
80133 #endif
80136 main ()
80138 return f != $ac_func;
80140 return 0;
80142 _ACEOF
80143 rm -f conftest.$ac_objext conftest$ac_exeext
80144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80145 (eval $ac_link) 2>conftest.er1
80146 ac_status=$?
80147 grep -v '^ *+' conftest.er1 >conftest.err
80148 rm -f conftest.er1
80149 cat conftest.err >&5
80150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80151 (exit $ac_status); } &&
80152 { ac_try='test -z "$ac_c_werror_flag"
80153 || test ! -s conftest.err'
80154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80155 (eval $ac_try) 2>&5
80156 ac_status=$?
80157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80158 (exit $ac_status); }; } &&
80159 { ac_try='test -s conftest$ac_exeext'
80160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80161 (eval $ac_try) 2>&5
80162 ac_status=$?
80163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80164 (exit $ac_status); }; }; then
80165 eval "$as_ac_var=yes"
80166 else
80167 echo "$as_me: failed program was:" >&5
80168 sed 's/^/| /' conftest.$ac_ext >&5
80170 eval "$as_ac_var=no"
80172 rm -f conftest.err conftest.$ac_objext \
80173 conftest$ac_exeext conftest.$ac_ext
80175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80176 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80177 if test `eval echo '${'$as_ac_var'}'` = yes; then
80178 cat >>confdefs.h <<_ACEOF
80179 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80180 _ACEOF
80183 done
80185 else
80187 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
80188 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
80189 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
80190 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
80191 echo $ECHO_N "(cached) $ECHO_C" >&6
80192 else
80196 ac_ext=cc
80197 ac_cpp='$CXXCPP $CPPFLAGS'
80198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80202 cat >conftest.$ac_ext <<_ACEOF
80203 /* confdefs.h. */
80204 _ACEOF
80205 cat confdefs.h >>conftest.$ac_ext
80206 cat >>conftest.$ac_ext <<_ACEOF
80207 /* end confdefs.h. */
80208 #include <math.h>
80210 main ()
80212 _sincosl(0, 0, 0);
80214 return 0;
80216 _ACEOF
80217 rm -f conftest.$ac_objext
80218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80219 (eval $ac_compile) 2>conftest.er1
80220 ac_status=$?
80221 grep -v '^ *+' conftest.er1 >conftest.err
80222 rm -f conftest.er1
80223 cat conftest.err >&5
80224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80225 (exit $ac_status); } &&
80226 { ac_try='test -z "$ac_cxx_werror_flag"
80227 || test ! -s conftest.err'
80228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80229 (eval $ac_try) 2>&5
80230 ac_status=$?
80231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80232 (exit $ac_status); }; } &&
80233 { ac_try='test -s conftest.$ac_objext'
80234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80235 (eval $ac_try) 2>&5
80236 ac_status=$?
80237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80238 (exit $ac_status); }; }; then
80239 glibcxx_cv_func__sincosl_use=yes
80240 else
80241 echo "$as_me: failed program was:" >&5
80242 sed 's/^/| /' conftest.$ac_ext >&5
80244 glibcxx_cv_func__sincosl_use=no
80246 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80247 ac_ext=c
80248 ac_cpp='$CPP $CPPFLAGS'
80249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80257 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
80258 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
80260 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
80262 for ac_func in _sincosl
80264 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80265 echo "$as_me:$LINENO: checking for $ac_func" >&5
80266 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80267 if eval "test \"\${$as_ac_var+set}\" = set"; then
80268 echo $ECHO_N "(cached) $ECHO_C" >&6
80269 else
80270 if test x$gcc_no_link = xyes; then
80271 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80272 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80273 { (exit 1); exit 1; }; }
80275 cat >conftest.$ac_ext <<_ACEOF
80276 /* confdefs.h. */
80277 _ACEOF
80278 cat confdefs.h >>conftest.$ac_ext
80279 cat >>conftest.$ac_ext <<_ACEOF
80280 /* end confdefs.h. */
80281 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80282 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80283 #define $ac_func innocuous_$ac_func
80285 /* System header to define __stub macros and hopefully few prototypes,
80286 which can conflict with char $ac_func (); below.
80287 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80288 <limits.h> exists even on freestanding compilers. */
80290 #ifdef __STDC__
80291 # include <limits.h>
80292 #else
80293 # include <assert.h>
80294 #endif
80296 #undef $ac_func
80298 /* Override any gcc2 internal prototype to avoid an error. */
80299 #ifdef __cplusplus
80300 extern "C"
80302 #endif
80303 /* We use char because int might match the return type of a gcc2
80304 builtin and then its argument prototype would still apply. */
80305 char $ac_func ();
80306 /* The GNU C library defines this for functions which it implements
80307 to always fail with ENOSYS. Some functions are actually named
80308 something starting with __ and the normal name is an alias. */
80309 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80310 choke me
80311 #else
80312 char (*f) () = $ac_func;
80313 #endif
80314 #ifdef __cplusplus
80316 #endif
80319 main ()
80321 return f != $ac_func;
80323 return 0;
80325 _ACEOF
80326 rm -f conftest.$ac_objext conftest$ac_exeext
80327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80328 (eval $ac_link) 2>conftest.er1
80329 ac_status=$?
80330 grep -v '^ *+' conftest.er1 >conftest.err
80331 rm -f conftest.er1
80332 cat conftest.err >&5
80333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80334 (exit $ac_status); } &&
80335 { ac_try='test -z "$ac_c_werror_flag"
80336 || test ! -s conftest.err'
80337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80338 (eval $ac_try) 2>&5
80339 ac_status=$?
80340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80341 (exit $ac_status); }; } &&
80342 { ac_try='test -s conftest$ac_exeext'
80343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80344 (eval $ac_try) 2>&5
80345 ac_status=$?
80346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80347 (exit $ac_status); }; }; then
80348 eval "$as_ac_var=yes"
80349 else
80350 echo "$as_me: failed program was:" >&5
80351 sed 's/^/| /' conftest.$ac_ext >&5
80353 eval "$as_ac_var=no"
80355 rm -f conftest.err conftest.$ac_objext \
80356 conftest$ac_exeext conftest.$ac_ext
80358 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80359 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80360 if test `eval echo '${'$as_ac_var'}'` = yes; then
80361 cat >>confdefs.h <<_ACEOF
80362 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80363 _ACEOF
80366 done
80376 echo "$as_me:$LINENO: checking for finitel declaration" >&5
80377 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
80378 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
80379 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
80380 echo $ECHO_N "(cached) $ECHO_C" >&6
80381 else
80385 ac_ext=cc
80386 ac_cpp='$CXXCPP $CPPFLAGS'
80387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80391 cat >conftest.$ac_ext <<_ACEOF
80392 /* confdefs.h. */
80393 _ACEOF
80394 cat confdefs.h >>conftest.$ac_ext
80395 cat >>conftest.$ac_ext <<_ACEOF
80396 /* end confdefs.h. */
80397 #include <math.h>
80398 #ifdef HAVE_IEEEFP_H
80399 #include <ieeefp.h>
80400 #endif
80403 main ()
80405 finitel(0);
80407 return 0;
80409 _ACEOF
80410 rm -f conftest.$ac_objext
80411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80412 (eval $ac_compile) 2>conftest.er1
80413 ac_status=$?
80414 grep -v '^ *+' conftest.er1 >conftest.err
80415 rm -f conftest.er1
80416 cat conftest.err >&5
80417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80418 (exit $ac_status); } &&
80419 { ac_try='test -z "$ac_cxx_werror_flag"
80420 || test ! -s conftest.err'
80421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80422 (eval $ac_try) 2>&5
80423 ac_status=$?
80424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80425 (exit $ac_status); }; } &&
80426 { ac_try='test -s conftest.$ac_objext'
80427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80428 (eval $ac_try) 2>&5
80429 ac_status=$?
80430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80431 (exit $ac_status); }; }; then
80432 glibcxx_cv_func_finitel_use=yes
80433 else
80434 echo "$as_me: failed program was:" >&5
80435 sed 's/^/| /' conftest.$ac_ext >&5
80437 glibcxx_cv_func_finitel_use=no
80439 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80440 ac_ext=c
80441 ac_cpp='$CPP $CPPFLAGS'
80442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80450 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
80451 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
80453 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
80455 for ac_func in finitel
80457 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80458 echo "$as_me:$LINENO: checking for $ac_func" >&5
80459 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80460 if eval "test \"\${$as_ac_var+set}\" = set"; then
80461 echo $ECHO_N "(cached) $ECHO_C" >&6
80462 else
80463 if test x$gcc_no_link = xyes; then
80464 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80465 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80466 { (exit 1); exit 1; }; }
80468 cat >conftest.$ac_ext <<_ACEOF
80469 /* confdefs.h. */
80470 _ACEOF
80471 cat confdefs.h >>conftest.$ac_ext
80472 cat >>conftest.$ac_ext <<_ACEOF
80473 /* end confdefs.h. */
80474 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80475 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80476 #define $ac_func innocuous_$ac_func
80478 /* System header to define __stub macros and hopefully few prototypes,
80479 which can conflict with char $ac_func (); below.
80480 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80481 <limits.h> exists even on freestanding compilers. */
80483 #ifdef __STDC__
80484 # include <limits.h>
80485 #else
80486 # include <assert.h>
80487 #endif
80489 #undef $ac_func
80491 /* Override any gcc2 internal prototype to avoid an error. */
80492 #ifdef __cplusplus
80493 extern "C"
80495 #endif
80496 /* We use char because int might match the return type of a gcc2
80497 builtin and then its argument prototype would still apply. */
80498 char $ac_func ();
80499 /* The GNU C library defines this for functions which it implements
80500 to always fail with ENOSYS. Some functions are actually named
80501 something starting with __ and the normal name is an alias. */
80502 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80503 choke me
80504 #else
80505 char (*f) () = $ac_func;
80506 #endif
80507 #ifdef __cplusplus
80509 #endif
80512 main ()
80514 return f != $ac_func;
80516 return 0;
80518 _ACEOF
80519 rm -f conftest.$ac_objext conftest$ac_exeext
80520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80521 (eval $ac_link) 2>conftest.er1
80522 ac_status=$?
80523 grep -v '^ *+' conftest.er1 >conftest.err
80524 rm -f conftest.er1
80525 cat conftest.err >&5
80526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80527 (exit $ac_status); } &&
80528 { ac_try='test -z "$ac_c_werror_flag"
80529 || test ! -s conftest.err'
80530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80531 (eval $ac_try) 2>&5
80532 ac_status=$?
80533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80534 (exit $ac_status); }; } &&
80535 { ac_try='test -s conftest$ac_exeext'
80536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80537 (eval $ac_try) 2>&5
80538 ac_status=$?
80539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80540 (exit $ac_status); }; }; then
80541 eval "$as_ac_var=yes"
80542 else
80543 echo "$as_me: failed program was:" >&5
80544 sed 's/^/| /' conftest.$ac_ext >&5
80546 eval "$as_ac_var=no"
80548 rm -f conftest.err conftest.$ac_objext \
80549 conftest$ac_exeext conftest.$ac_ext
80551 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80552 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80553 if test `eval echo '${'$as_ac_var'}'` = yes; then
80554 cat >>confdefs.h <<_ACEOF
80555 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80556 _ACEOF
80559 done
80561 else
80563 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
80564 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
80565 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
80566 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
80567 echo $ECHO_N "(cached) $ECHO_C" >&6
80568 else
80572 ac_ext=cc
80573 ac_cpp='$CXXCPP $CPPFLAGS'
80574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80578 cat >conftest.$ac_ext <<_ACEOF
80579 /* confdefs.h. */
80580 _ACEOF
80581 cat confdefs.h >>conftest.$ac_ext
80582 cat >>conftest.$ac_ext <<_ACEOF
80583 /* end confdefs.h. */
80584 #include <math.h>
80585 #ifdef HAVE_IEEEFP_H
80586 #include <ieeefp.h>
80587 #endif
80590 main ()
80592 _finitel(0);
80594 return 0;
80596 _ACEOF
80597 rm -f conftest.$ac_objext
80598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80599 (eval $ac_compile) 2>conftest.er1
80600 ac_status=$?
80601 grep -v '^ *+' conftest.er1 >conftest.err
80602 rm -f conftest.er1
80603 cat conftest.err >&5
80604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80605 (exit $ac_status); } &&
80606 { ac_try='test -z "$ac_cxx_werror_flag"
80607 || test ! -s conftest.err'
80608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80609 (eval $ac_try) 2>&5
80610 ac_status=$?
80611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80612 (exit $ac_status); }; } &&
80613 { ac_try='test -s conftest.$ac_objext'
80614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80615 (eval $ac_try) 2>&5
80616 ac_status=$?
80617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80618 (exit $ac_status); }; }; then
80619 glibcxx_cv_func__finitel_use=yes
80620 else
80621 echo "$as_me: failed program was:" >&5
80622 sed 's/^/| /' conftest.$ac_ext >&5
80624 glibcxx_cv_func__finitel_use=no
80626 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80627 ac_ext=c
80628 ac_cpp='$CPP $CPPFLAGS'
80629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80637 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
80638 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
80640 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
80642 for ac_func in _finitel
80644 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80645 echo "$as_me:$LINENO: checking for $ac_func" >&5
80646 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80647 if eval "test \"\${$as_ac_var+set}\" = set"; then
80648 echo $ECHO_N "(cached) $ECHO_C" >&6
80649 else
80650 if test x$gcc_no_link = xyes; then
80651 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80652 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80653 { (exit 1); exit 1; }; }
80655 cat >conftest.$ac_ext <<_ACEOF
80656 /* confdefs.h. */
80657 _ACEOF
80658 cat confdefs.h >>conftest.$ac_ext
80659 cat >>conftest.$ac_ext <<_ACEOF
80660 /* end confdefs.h. */
80661 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80662 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80663 #define $ac_func innocuous_$ac_func
80665 /* System header to define __stub macros and hopefully few prototypes,
80666 which can conflict with char $ac_func (); below.
80667 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80668 <limits.h> exists even on freestanding compilers. */
80670 #ifdef __STDC__
80671 # include <limits.h>
80672 #else
80673 # include <assert.h>
80674 #endif
80676 #undef $ac_func
80678 /* Override any gcc2 internal prototype to avoid an error. */
80679 #ifdef __cplusplus
80680 extern "C"
80682 #endif
80683 /* We use char because int might match the return type of a gcc2
80684 builtin and then its argument prototype would still apply. */
80685 char $ac_func ();
80686 /* The GNU C library defines this for functions which it implements
80687 to always fail with ENOSYS. Some functions are actually named
80688 something starting with __ and the normal name is an alias. */
80689 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80690 choke me
80691 #else
80692 char (*f) () = $ac_func;
80693 #endif
80694 #ifdef __cplusplus
80696 #endif
80699 main ()
80701 return f != $ac_func;
80703 return 0;
80705 _ACEOF
80706 rm -f conftest.$ac_objext conftest$ac_exeext
80707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80708 (eval $ac_link) 2>conftest.er1
80709 ac_status=$?
80710 grep -v '^ *+' conftest.er1 >conftest.err
80711 rm -f conftest.er1
80712 cat conftest.err >&5
80713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80714 (exit $ac_status); } &&
80715 { ac_try='test -z "$ac_c_werror_flag"
80716 || test ! -s conftest.err'
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); }; } &&
80722 { ac_try='test -s conftest$ac_exeext'
80723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80724 (eval $ac_try) 2>&5
80725 ac_status=$?
80726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80727 (exit $ac_status); }; }; then
80728 eval "$as_ac_var=yes"
80729 else
80730 echo "$as_me: failed program was:" >&5
80731 sed 's/^/| /' conftest.$ac_ext >&5
80733 eval "$as_ac_var=no"
80735 rm -f conftest.err conftest.$ac_objext \
80736 conftest$ac_exeext conftest.$ac_ext
80738 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80739 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80740 if test `eval echo '${'$as_ac_var'}'` = yes; then
80741 cat >>confdefs.h <<_ACEOF
80742 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80743 _ACEOF
80746 done
80755 LIBS="$ac_save_LIBS"
80756 CXXFLAGS="$ac_save_CXXFLAGS"
80760 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
80761 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
80762 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
80763 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
80764 echo $ECHO_N "(cached) $ECHO_C" >&6
80765 else
80769 ac_ext=cc
80770 ac_cpp='$CXXCPP $CPPFLAGS'
80771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80775 cat >conftest.$ac_ext <<_ACEOF
80776 /* confdefs.h. */
80777 _ACEOF
80778 cat confdefs.h >>conftest.$ac_ext
80779 cat >>conftest.$ac_ext <<_ACEOF
80780 /* end confdefs.h. */
80781 #include <math.h>
80783 main ()
80785 __builtin_abs(0);
80787 return 0;
80789 _ACEOF
80790 rm -f conftest.$ac_objext
80791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80792 (eval $ac_compile) 2>conftest.er1
80793 ac_status=$?
80794 grep -v '^ *+' conftest.er1 >conftest.err
80795 rm -f conftest.er1
80796 cat conftest.err >&5
80797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80798 (exit $ac_status); } &&
80799 { ac_try='test -z "$ac_cxx_werror_flag"
80800 || test ! -s conftest.err'
80801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80802 (eval $ac_try) 2>&5
80803 ac_status=$?
80804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80805 (exit $ac_status); }; } &&
80806 { ac_try='test -s conftest.$ac_objext'
80807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80808 (eval $ac_try) 2>&5
80809 ac_status=$?
80810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80811 (exit $ac_status); }; }; then
80812 glibcxx_cv_func___builtin_abs_use=yes
80813 else
80814 echo "$as_me: failed program was:" >&5
80815 sed 's/^/| /' conftest.$ac_ext >&5
80817 glibcxx_cv_func___builtin_abs_use=no
80819 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80820 ac_ext=c
80821 ac_cpp='$CPP $CPPFLAGS'
80822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80830 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
80831 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
80832 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
80833 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
80834 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
80835 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
80836 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
80837 echo $ECHO_N "(cached) $ECHO_C" >&6
80838 else
80840 if test x$gcc_no_link = xyes; then
80841 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80842 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80843 { (exit 1); exit 1; }; }
80845 cat >conftest.$ac_ext <<_ACEOF
80846 /* confdefs.h. */
80847 _ACEOF
80848 cat confdefs.h >>conftest.$ac_ext
80849 cat >>conftest.$ac_ext <<_ACEOF
80850 /* end confdefs.h. */
80851 #include <math.h>
80853 main ()
80855 __builtin_abs(0);
80857 return 0;
80859 _ACEOF
80860 rm -f conftest.$ac_objext conftest$ac_exeext
80861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80862 (eval $ac_link) 2>conftest.er1
80863 ac_status=$?
80864 grep -v '^ *+' conftest.er1 >conftest.err
80865 rm -f conftest.er1
80866 cat conftest.err >&5
80867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80868 (exit $ac_status); } &&
80869 { ac_try='test -z "$ac_c_werror_flag"
80870 || test ! -s conftest.err'
80871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80872 (eval $ac_try) 2>&5
80873 ac_status=$?
80874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80875 (exit $ac_status); }; } &&
80876 { ac_try='test -s conftest$ac_exeext'
80877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80878 (eval $ac_try) 2>&5
80879 ac_status=$?
80880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80881 (exit $ac_status); }; }; then
80882 glibcxx_cv_func___builtin_abs_link=yes
80883 else
80884 echo "$as_me: failed program was:" >&5
80885 sed 's/^/| /' conftest.$ac_ext >&5
80887 glibcxx_cv_func___builtin_abs_link=no
80889 rm -f conftest.err conftest.$ac_objext \
80890 conftest$ac_exeext conftest.$ac_ext
80895 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
80896 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
80898 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
80900 cat >>confdefs.h <<\_ACEOF
80901 #define HAVE___BUILTIN_ABS 1
80902 _ACEOF
80909 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
80910 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
80911 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
80912 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
80913 echo $ECHO_N "(cached) $ECHO_C" >&6
80914 else
80918 ac_ext=cc
80919 ac_cpp='$CXXCPP $CPPFLAGS'
80920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80924 cat >conftest.$ac_ext <<_ACEOF
80925 /* confdefs.h. */
80926 _ACEOF
80927 cat confdefs.h >>conftest.$ac_ext
80928 cat >>conftest.$ac_ext <<_ACEOF
80929 /* end confdefs.h. */
80930 #include <math.h>
80932 main ()
80934 __builtin_fabsf(0);
80936 return 0;
80938 _ACEOF
80939 rm -f conftest.$ac_objext
80940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80941 (eval $ac_compile) 2>conftest.er1
80942 ac_status=$?
80943 grep -v '^ *+' conftest.er1 >conftest.err
80944 rm -f conftest.er1
80945 cat conftest.err >&5
80946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80947 (exit $ac_status); } &&
80948 { ac_try='test -z "$ac_cxx_werror_flag"
80949 || test ! -s conftest.err'
80950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80951 (eval $ac_try) 2>&5
80952 ac_status=$?
80953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80954 (exit $ac_status); }; } &&
80955 { ac_try='test -s conftest.$ac_objext'
80956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80957 (eval $ac_try) 2>&5
80958 ac_status=$?
80959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80960 (exit $ac_status); }; }; then
80961 glibcxx_cv_func___builtin_fabsf_use=yes
80962 else
80963 echo "$as_me: failed program was:" >&5
80964 sed 's/^/| /' conftest.$ac_ext >&5
80966 glibcxx_cv_func___builtin_fabsf_use=no
80968 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80969 ac_ext=c
80970 ac_cpp='$CPP $CPPFLAGS'
80971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80979 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
80980 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
80981 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
80982 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
80983 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
80984 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
80985 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
80986 echo $ECHO_N "(cached) $ECHO_C" >&6
80987 else
80989 if test x$gcc_no_link = xyes; then
80990 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80991 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80992 { (exit 1); exit 1; }; }
80994 cat >conftest.$ac_ext <<_ACEOF
80995 /* confdefs.h. */
80996 _ACEOF
80997 cat confdefs.h >>conftest.$ac_ext
80998 cat >>conftest.$ac_ext <<_ACEOF
80999 /* end confdefs.h. */
81000 #include <math.h>
81002 main ()
81004 __builtin_fabsf(0);
81006 return 0;
81008 _ACEOF
81009 rm -f conftest.$ac_objext conftest$ac_exeext
81010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81011 (eval $ac_link) 2>conftest.er1
81012 ac_status=$?
81013 grep -v '^ *+' conftest.er1 >conftest.err
81014 rm -f conftest.er1
81015 cat conftest.err >&5
81016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81017 (exit $ac_status); } &&
81018 { ac_try='test -z "$ac_c_werror_flag"
81019 || test ! -s conftest.err'
81020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81021 (eval $ac_try) 2>&5
81022 ac_status=$?
81023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81024 (exit $ac_status); }; } &&
81025 { ac_try='test -s conftest$ac_exeext'
81026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81027 (eval $ac_try) 2>&5
81028 ac_status=$?
81029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81030 (exit $ac_status); }; }; then
81031 glibcxx_cv_func___builtin_fabsf_link=yes
81032 else
81033 echo "$as_me: failed program was:" >&5
81034 sed 's/^/| /' conftest.$ac_ext >&5
81036 glibcxx_cv_func___builtin_fabsf_link=no
81038 rm -f conftest.err conftest.$ac_objext \
81039 conftest$ac_exeext conftest.$ac_ext
81044 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
81045 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
81047 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
81049 cat >>confdefs.h <<\_ACEOF
81050 #define HAVE___BUILTIN_FABSF 1
81051 _ACEOF
81058 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
81059 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
81060 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
81061 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
81062 echo $ECHO_N "(cached) $ECHO_C" >&6
81063 else
81067 ac_ext=cc
81068 ac_cpp='$CXXCPP $CPPFLAGS'
81069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81073 cat >conftest.$ac_ext <<_ACEOF
81074 /* confdefs.h. */
81075 _ACEOF
81076 cat confdefs.h >>conftest.$ac_ext
81077 cat >>conftest.$ac_ext <<_ACEOF
81078 /* end confdefs.h. */
81079 #include <math.h>
81081 main ()
81083 __builtin_fabs(0);
81085 return 0;
81087 _ACEOF
81088 rm -f conftest.$ac_objext
81089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81090 (eval $ac_compile) 2>conftest.er1
81091 ac_status=$?
81092 grep -v '^ *+' conftest.er1 >conftest.err
81093 rm -f conftest.er1
81094 cat conftest.err >&5
81095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81096 (exit $ac_status); } &&
81097 { ac_try='test -z "$ac_cxx_werror_flag"
81098 || test ! -s conftest.err'
81099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81100 (eval $ac_try) 2>&5
81101 ac_status=$?
81102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81103 (exit $ac_status); }; } &&
81104 { ac_try='test -s conftest.$ac_objext'
81105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81106 (eval $ac_try) 2>&5
81107 ac_status=$?
81108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81109 (exit $ac_status); }; }; then
81110 glibcxx_cv_func___builtin_fabs_use=yes
81111 else
81112 echo "$as_me: failed program was:" >&5
81113 sed 's/^/| /' conftest.$ac_ext >&5
81115 glibcxx_cv_func___builtin_fabs_use=no
81117 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81118 ac_ext=c
81119 ac_cpp='$CPP $CPPFLAGS'
81120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81128 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
81129 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
81130 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
81131 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
81132 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
81133 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
81134 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
81135 echo $ECHO_N "(cached) $ECHO_C" >&6
81136 else
81138 if test x$gcc_no_link = xyes; then
81139 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81140 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81141 { (exit 1); exit 1; }; }
81143 cat >conftest.$ac_ext <<_ACEOF
81144 /* confdefs.h. */
81145 _ACEOF
81146 cat confdefs.h >>conftest.$ac_ext
81147 cat >>conftest.$ac_ext <<_ACEOF
81148 /* end confdefs.h. */
81149 #include <math.h>
81151 main ()
81153 __builtin_fabs(0);
81155 return 0;
81157 _ACEOF
81158 rm -f conftest.$ac_objext conftest$ac_exeext
81159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81160 (eval $ac_link) 2>conftest.er1
81161 ac_status=$?
81162 grep -v '^ *+' conftest.er1 >conftest.err
81163 rm -f conftest.er1
81164 cat conftest.err >&5
81165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81166 (exit $ac_status); } &&
81167 { ac_try='test -z "$ac_c_werror_flag"
81168 || test ! -s conftest.err'
81169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81170 (eval $ac_try) 2>&5
81171 ac_status=$?
81172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81173 (exit $ac_status); }; } &&
81174 { ac_try='test -s conftest$ac_exeext'
81175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81176 (eval $ac_try) 2>&5
81177 ac_status=$?
81178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81179 (exit $ac_status); }; }; then
81180 glibcxx_cv_func___builtin_fabs_link=yes
81181 else
81182 echo "$as_me: failed program was:" >&5
81183 sed 's/^/| /' conftest.$ac_ext >&5
81185 glibcxx_cv_func___builtin_fabs_link=no
81187 rm -f conftest.err conftest.$ac_objext \
81188 conftest$ac_exeext conftest.$ac_ext
81193 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
81194 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
81196 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
81198 cat >>confdefs.h <<\_ACEOF
81199 #define HAVE___BUILTIN_FABS 1
81200 _ACEOF
81207 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
81208 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
81209 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
81210 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
81211 echo $ECHO_N "(cached) $ECHO_C" >&6
81212 else
81216 ac_ext=cc
81217 ac_cpp='$CXXCPP $CPPFLAGS'
81218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81222 cat >conftest.$ac_ext <<_ACEOF
81223 /* confdefs.h. */
81224 _ACEOF
81225 cat confdefs.h >>conftest.$ac_ext
81226 cat >>conftest.$ac_ext <<_ACEOF
81227 /* end confdefs.h. */
81228 #include <math.h>
81230 main ()
81232 __builtin_fabsl(0);
81234 return 0;
81236 _ACEOF
81237 rm -f conftest.$ac_objext
81238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81239 (eval $ac_compile) 2>conftest.er1
81240 ac_status=$?
81241 grep -v '^ *+' conftest.er1 >conftest.err
81242 rm -f conftest.er1
81243 cat conftest.err >&5
81244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81245 (exit $ac_status); } &&
81246 { ac_try='test -z "$ac_cxx_werror_flag"
81247 || test ! -s conftest.err'
81248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81249 (eval $ac_try) 2>&5
81250 ac_status=$?
81251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81252 (exit $ac_status); }; } &&
81253 { ac_try='test -s conftest.$ac_objext'
81254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81255 (eval $ac_try) 2>&5
81256 ac_status=$?
81257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81258 (exit $ac_status); }; }; then
81259 glibcxx_cv_func___builtin_fabsl_use=yes
81260 else
81261 echo "$as_me: failed program was:" >&5
81262 sed 's/^/| /' conftest.$ac_ext >&5
81264 glibcxx_cv_func___builtin_fabsl_use=no
81266 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81267 ac_ext=c
81268 ac_cpp='$CPP $CPPFLAGS'
81269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81277 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
81278 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
81279 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
81280 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
81281 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
81282 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
81283 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
81284 echo $ECHO_N "(cached) $ECHO_C" >&6
81285 else
81287 if test x$gcc_no_link = xyes; then
81288 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81289 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81290 { (exit 1); exit 1; }; }
81292 cat >conftest.$ac_ext <<_ACEOF
81293 /* confdefs.h. */
81294 _ACEOF
81295 cat confdefs.h >>conftest.$ac_ext
81296 cat >>conftest.$ac_ext <<_ACEOF
81297 /* end confdefs.h. */
81298 #include <math.h>
81300 main ()
81302 __builtin_fabsl(0);
81304 return 0;
81306 _ACEOF
81307 rm -f conftest.$ac_objext conftest$ac_exeext
81308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81309 (eval $ac_link) 2>conftest.er1
81310 ac_status=$?
81311 grep -v '^ *+' conftest.er1 >conftest.err
81312 rm -f conftest.er1
81313 cat conftest.err >&5
81314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81315 (exit $ac_status); } &&
81316 { ac_try='test -z "$ac_c_werror_flag"
81317 || test ! -s conftest.err'
81318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81319 (eval $ac_try) 2>&5
81320 ac_status=$?
81321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81322 (exit $ac_status); }; } &&
81323 { ac_try='test -s conftest$ac_exeext'
81324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81325 (eval $ac_try) 2>&5
81326 ac_status=$?
81327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81328 (exit $ac_status); }; }; then
81329 glibcxx_cv_func___builtin_fabsl_link=yes
81330 else
81331 echo "$as_me: failed program was:" >&5
81332 sed 's/^/| /' conftest.$ac_ext >&5
81334 glibcxx_cv_func___builtin_fabsl_link=no
81336 rm -f conftest.err conftest.$ac_objext \
81337 conftest$ac_exeext conftest.$ac_ext
81342 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
81343 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
81345 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
81347 cat >>confdefs.h <<\_ACEOF
81348 #define HAVE___BUILTIN_FABSL 1
81349 _ACEOF
81356 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
81357 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
81358 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
81359 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
81360 echo $ECHO_N "(cached) $ECHO_C" >&6
81361 else
81365 ac_ext=cc
81366 ac_cpp='$CXXCPP $CPPFLAGS'
81367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81371 cat >conftest.$ac_ext <<_ACEOF
81372 /* confdefs.h. */
81373 _ACEOF
81374 cat confdefs.h >>conftest.$ac_ext
81375 cat >>conftest.$ac_ext <<_ACEOF
81376 /* end confdefs.h. */
81377 #include <math.h>
81379 main ()
81381 __builtin_labs(0);
81383 return 0;
81385 _ACEOF
81386 rm -f conftest.$ac_objext
81387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81388 (eval $ac_compile) 2>conftest.er1
81389 ac_status=$?
81390 grep -v '^ *+' conftest.er1 >conftest.err
81391 rm -f conftest.er1
81392 cat conftest.err >&5
81393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81394 (exit $ac_status); } &&
81395 { ac_try='test -z "$ac_cxx_werror_flag"
81396 || test ! -s conftest.err'
81397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81398 (eval $ac_try) 2>&5
81399 ac_status=$?
81400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81401 (exit $ac_status); }; } &&
81402 { ac_try='test -s conftest.$ac_objext'
81403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81404 (eval $ac_try) 2>&5
81405 ac_status=$?
81406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81407 (exit $ac_status); }; }; then
81408 glibcxx_cv_func___builtin_labs_use=yes
81409 else
81410 echo "$as_me: failed program was:" >&5
81411 sed 's/^/| /' conftest.$ac_ext >&5
81413 glibcxx_cv_func___builtin_labs_use=no
81415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81416 ac_ext=c
81417 ac_cpp='$CPP $CPPFLAGS'
81418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81426 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
81427 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
81428 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
81429 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
81430 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
81431 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
81432 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
81433 echo $ECHO_N "(cached) $ECHO_C" >&6
81434 else
81436 if test x$gcc_no_link = xyes; then
81437 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81438 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81439 { (exit 1); exit 1; }; }
81441 cat >conftest.$ac_ext <<_ACEOF
81442 /* confdefs.h. */
81443 _ACEOF
81444 cat confdefs.h >>conftest.$ac_ext
81445 cat >>conftest.$ac_ext <<_ACEOF
81446 /* end confdefs.h. */
81447 #include <math.h>
81449 main ()
81451 __builtin_labs(0);
81453 return 0;
81455 _ACEOF
81456 rm -f conftest.$ac_objext conftest$ac_exeext
81457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81458 (eval $ac_link) 2>conftest.er1
81459 ac_status=$?
81460 grep -v '^ *+' conftest.er1 >conftest.err
81461 rm -f conftest.er1
81462 cat conftest.err >&5
81463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81464 (exit $ac_status); } &&
81465 { ac_try='test -z "$ac_c_werror_flag"
81466 || test ! -s conftest.err'
81467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81468 (eval $ac_try) 2>&5
81469 ac_status=$?
81470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81471 (exit $ac_status); }; } &&
81472 { ac_try='test -s conftest$ac_exeext'
81473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81474 (eval $ac_try) 2>&5
81475 ac_status=$?
81476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81477 (exit $ac_status); }; }; then
81478 glibcxx_cv_func___builtin_labs_link=yes
81479 else
81480 echo "$as_me: failed program was:" >&5
81481 sed 's/^/| /' conftest.$ac_ext >&5
81483 glibcxx_cv_func___builtin_labs_link=no
81485 rm -f conftest.err conftest.$ac_objext \
81486 conftest$ac_exeext conftest.$ac_ext
81491 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
81492 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
81494 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
81496 cat >>confdefs.h <<\_ACEOF
81497 #define HAVE___BUILTIN_LABS 1
81498 _ACEOF
81506 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
81507 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
81508 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
81509 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
81510 echo $ECHO_N "(cached) $ECHO_C" >&6
81511 else
81515 ac_ext=cc
81516 ac_cpp='$CXXCPP $CPPFLAGS'
81517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81521 cat >conftest.$ac_ext <<_ACEOF
81522 /* confdefs.h. */
81523 _ACEOF
81524 cat confdefs.h >>conftest.$ac_ext
81525 cat >>conftest.$ac_ext <<_ACEOF
81526 /* end confdefs.h. */
81527 #include <math.h>
81529 main ()
81531 __builtin_sqrtf(0);
81533 return 0;
81535 _ACEOF
81536 rm -f conftest.$ac_objext
81537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81538 (eval $ac_compile) 2>conftest.er1
81539 ac_status=$?
81540 grep -v '^ *+' conftest.er1 >conftest.err
81541 rm -f conftest.er1
81542 cat conftest.err >&5
81543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81544 (exit $ac_status); } &&
81545 { ac_try='test -z "$ac_cxx_werror_flag"
81546 || test ! -s conftest.err'
81547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81548 (eval $ac_try) 2>&5
81549 ac_status=$?
81550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81551 (exit $ac_status); }; } &&
81552 { ac_try='test -s conftest.$ac_objext'
81553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81554 (eval $ac_try) 2>&5
81555 ac_status=$?
81556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81557 (exit $ac_status); }; }; then
81558 glibcxx_cv_func___builtin_sqrtf_use=yes
81559 else
81560 echo "$as_me: failed program was:" >&5
81561 sed 's/^/| /' conftest.$ac_ext >&5
81563 glibcxx_cv_func___builtin_sqrtf_use=no
81565 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81566 ac_ext=c
81567 ac_cpp='$CPP $CPPFLAGS'
81568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81576 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
81577 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
81578 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
81579 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
81580 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
81581 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
81582 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
81583 echo $ECHO_N "(cached) $ECHO_C" >&6
81584 else
81586 if test x$gcc_no_link = xyes; then
81587 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81588 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81589 { (exit 1); exit 1; }; }
81591 cat >conftest.$ac_ext <<_ACEOF
81592 /* confdefs.h. */
81593 _ACEOF
81594 cat confdefs.h >>conftest.$ac_ext
81595 cat >>conftest.$ac_ext <<_ACEOF
81596 /* end confdefs.h. */
81597 #include <math.h>
81599 main ()
81601 __builtin_sqrtf(0);
81603 return 0;
81605 _ACEOF
81606 rm -f conftest.$ac_objext conftest$ac_exeext
81607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81608 (eval $ac_link) 2>conftest.er1
81609 ac_status=$?
81610 grep -v '^ *+' conftest.er1 >conftest.err
81611 rm -f conftest.er1
81612 cat conftest.err >&5
81613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81614 (exit $ac_status); } &&
81615 { ac_try='test -z "$ac_c_werror_flag"
81616 || test ! -s conftest.err'
81617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81618 (eval $ac_try) 2>&5
81619 ac_status=$?
81620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81621 (exit $ac_status); }; } &&
81622 { ac_try='test -s conftest$ac_exeext'
81623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81624 (eval $ac_try) 2>&5
81625 ac_status=$?
81626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81627 (exit $ac_status); }; }; then
81628 glibcxx_cv_func___builtin_sqrtf_link=yes
81629 else
81630 echo "$as_me: failed program was:" >&5
81631 sed 's/^/| /' conftest.$ac_ext >&5
81633 glibcxx_cv_func___builtin_sqrtf_link=no
81635 rm -f conftest.err conftest.$ac_objext \
81636 conftest$ac_exeext conftest.$ac_ext
81641 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
81642 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
81644 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
81646 cat >>confdefs.h <<\_ACEOF
81647 #define HAVE___BUILTIN_SQRTF 1
81648 _ACEOF
81655 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
81656 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
81657 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
81658 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
81659 echo $ECHO_N "(cached) $ECHO_C" >&6
81660 else
81664 ac_ext=cc
81665 ac_cpp='$CXXCPP $CPPFLAGS'
81666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81670 cat >conftest.$ac_ext <<_ACEOF
81671 /* confdefs.h. */
81672 _ACEOF
81673 cat confdefs.h >>conftest.$ac_ext
81674 cat >>conftest.$ac_ext <<_ACEOF
81675 /* end confdefs.h. */
81676 #include <math.h>
81678 main ()
81680 __builtin_sqrt(0);
81682 return 0;
81684 _ACEOF
81685 rm -f conftest.$ac_objext
81686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81687 (eval $ac_compile) 2>conftest.er1
81688 ac_status=$?
81689 grep -v '^ *+' conftest.er1 >conftest.err
81690 rm -f conftest.er1
81691 cat conftest.err >&5
81692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81693 (exit $ac_status); } &&
81694 { ac_try='test -z "$ac_cxx_werror_flag"
81695 || test ! -s conftest.err'
81696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81697 (eval $ac_try) 2>&5
81698 ac_status=$?
81699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81700 (exit $ac_status); }; } &&
81701 { ac_try='test -s conftest.$ac_objext'
81702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81703 (eval $ac_try) 2>&5
81704 ac_status=$?
81705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81706 (exit $ac_status); }; }; then
81707 glibcxx_cv_func___builtin_sqrt_use=yes
81708 else
81709 echo "$as_me: failed program was:" >&5
81710 sed 's/^/| /' conftest.$ac_ext >&5
81712 glibcxx_cv_func___builtin_sqrt_use=no
81714 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81715 ac_ext=c
81716 ac_cpp='$CPP $CPPFLAGS'
81717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81725 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
81726 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
81727 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
81728 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
81729 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
81730 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
81731 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
81732 echo $ECHO_N "(cached) $ECHO_C" >&6
81733 else
81735 if test x$gcc_no_link = xyes; then
81736 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81737 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81738 { (exit 1); exit 1; }; }
81740 cat >conftest.$ac_ext <<_ACEOF
81741 /* confdefs.h. */
81742 _ACEOF
81743 cat confdefs.h >>conftest.$ac_ext
81744 cat >>conftest.$ac_ext <<_ACEOF
81745 /* end confdefs.h. */
81746 #include <math.h>
81748 main ()
81750 __builtin_sqrt(0);
81752 return 0;
81754 _ACEOF
81755 rm -f conftest.$ac_objext conftest$ac_exeext
81756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81757 (eval $ac_link) 2>conftest.er1
81758 ac_status=$?
81759 grep -v '^ *+' conftest.er1 >conftest.err
81760 rm -f conftest.er1
81761 cat conftest.err >&5
81762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81763 (exit $ac_status); } &&
81764 { ac_try='test -z "$ac_c_werror_flag"
81765 || test ! -s conftest.err'
81766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81767 (eval $ac_try) 2>&5
81768 ac_status=$?
81769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81770 (exit $ac_status); }; } &&
81771 { ac_try='test -s conftest$ac_exeext'
81772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81773 (eval $ac_try) 2>&5
81774 ac_status=$?
81775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81776 (exit $ac_status); }; }; then
81777 glibcxx_cv_func___builtin_sqrt_link=yes
81778 else
81779 echo "$as_me: failed program was:" >&5
81780 sed 's/^/| /' conftest.$ac_ext >&5
81782 glibcxx_cv_func___builtin_sqrt_link=no
81784 rm -f conftest.err conftest.$ac_objext \
81785 conftest$ac_exeext conftest.$ac_ext
81790 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
81791 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
81793 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
81795 cat >>confdefs.h <<\_ACEOF
81796 #define HAVE___BUILTIN_SQRT 1
81797 _ACEOF
81804 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
81805 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
81806 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
81807 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
81808 echo $ECHO_N "(cached) $ECHO_C" >&6
81809 else
81813 ac_ext=cc
81814 ac_cpp='$CXXCPP $CPPFLAGS'
81815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81819 cat >conftest.$ac_ext <<_ACEOF
81820 /* confdefs.h. */
81821 _ACEOF
81822 cat confdefs.h >>conftest.$ac_ext
81823 cat >>conftest.$ac_ext <<_ACEOF
81824 /* end confdefs.h. */
81825 #include <math.h>
81827 main ()
81829 __builtin_sqrtl(0);
81831 return 0;
81833 _ACEOF
81834 rm -f conftest.$ac_objext
81835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81836 (eval $ac_compile) 2>conftest.er1
81837 ac_status=$?
81838 grep -v '^ *+' conftest.er1 >conftest.err
81839 rm -f conftest.er1
81840 cat conftest.err >&5
81841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81842 (exit $ac_status); } &&
81843 { ac_try='test -z "$ac_cxx_werror_flag"
81844 || test ! -s conftest.err'
81845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81846 (eval $ac_try) 2>&5
81847 ac_status=$?
81848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81849 (exit $ac_status); }; } &&
81850 { ac_try='test -s conftest.$ac_objext'
81851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81852 (eval $ac_try) 2>&5
81853 ac_status=$?
81854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81855 (exit $ac_status); }; }; then
81856 glibcxx_cv_func___builtin_sqrtl_use=yes
81857 else
81858 echo "$as_me: failed program was:" >&5
81859 sed 's/^/| /' conftest.$ac_ext >&5
81861 glibcxx_cv_func___builtin_sqrtl_use=no
81863 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81864 ac_ext=c
81865 ac_cpp='$CPP $CPPFLAGS'
81866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81874 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
81875 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
81876 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
81877 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
81878 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
81879 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
81880 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
81881 echo $ECHO_N "(cached) $ECHO_C" >&6
81882 else
81884 if test x$gcc_no_link = xyes; then
81885 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81886 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81887 { (exit 1); exit 1; }; }
81889 cat >conftest.$ac_ext <<_ACEOF
81890 /* confdefs.h. */
81891 _ACEOF
81892 cat confdefs.h >>conftest.$ac_ext
81893 cat >>conftest.$ac_ext <<_ACEOF
81894 /* end confdefs.h. */
81895 #include <math.h>
81897 main ()
81899 __builtin_sqrtl(0);
81901 return 0;
81903 _ACEOF
81904 rm -f conftest.$ac_objext conftest$ac_exeext
81905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81906 (eval $ac_link) 2>conftest.er1
81907 ac_status=$?
81908 grep -v '^ *+' conftest.er1 >conftest.err
81909 rm -f conftest.er1
81910 cat conftest.err >&5
81911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81912 (exit $ac_status); } &&
81913 { ac_try='test -z "$ac_c_werror_flag"
81914 || test ! -s conftest.err'
81915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81916 (eval $ac_try) 2>&5
81917 ac_status=$?
81918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81919 (exit $ac_status); }; } &&
81920 { ac_try='test -s conftest$ac_exeext'
81921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81922 (eval $ac_try) 2>&5
81923 ac_status=$?
81924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81925 (exit $ac_status); }; }; then
81926 glibcxx_cv_func___builtin_sqrtl_link=yes
81927 else
81928 echo "$as_me: failed program was:" >&5
81929 sed 's/^/| /' conftest.$ac_ext >&5
81931 glibcxx_cv_func___builtin_sqrtl_link=no
81933 rm -f conftest.err conftest.$ac_objext \
81934 conftest$ac_exeext conftest.$ac_ext
81939 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
81940 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
81942 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
81944 cat >>confdefs.h <<\_ACEOF
81945 #define HAVE___BUILTIN_SQRTL 1
81946 _ACEOF
81954 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
81955 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
81956 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
81957 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
81958 echo $ECHO_N "(cached) $ECHO_C" >&6
81959 else
81963 ac_ext=cc
81964 ac_cpp='$CXXCPP $CPPFLAGS'
81965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81969 cat >conftest.$ac_ext <<_ACEOF
81970 /* confdefs.h. */
81971 _ACEOF
81972 cat confdefs.h >>conftest.$ac_ext
81973 cat >>conftest.$ac_ext <<_ACEOF
81974 /* end confdefs.h. */
81975 #include <math.h>
81977 main ()
81979 __builtin_sinf(0);
81981 return 0;
81983 _ACEOF
81984 rm -f conftest.$ac_objext
81985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81986 (eval $ac_compile) 2>conftest.er1
81987 ac_status=$?
81988 grep -v '^ *+' conftest.er1 >conftest.err
81989 rm -f conftest.er1
81990 cat conftest.err >&5
81991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81992 (exit $ac_status); } &&
81993 { ac_try='test -z "$ac_cxx_werror_flag"
81994 || test ! -s conftest.err'
81995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81996 (eval $ac_try) 2>&5
81997 ac_status=$?
81998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81999 (exit $ac_status); }; } &&
82000 { ac_try='test -s conftest.$ac_objext'
82001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82002 (eval $ac_try) 2>&5
82003 ac_status=$?
82004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82005 (exit $ac_status); }; }; then
82006 glibcxx_cv_func___builtin_sinf_use=yes
82007 else
82008 echo "$as_me: failed program was:" >&5
82009 sed 's/^/| /' conftest.$ac_ext >&5
82011 glibcxx_cv_func___builtin_sinf_use=no
82013 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82014 ac_ext=c
82015 ac_cpp='$CPP $CPPFLAGS'
82016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82024 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
82025 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
82026 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
82027 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
82028 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
82029 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
82030 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
82031 echo $ECHO_N "(cached) $ECHO_C" >&6
82032 else
82034 if test x$gcc_no_link = xyes; then
82035 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82036 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82037 { (exit 1); exit 1; }; }
82039 cat >conftest.$ac_ext <<_ACEOF
82040 /* confdefs.h. */
82041 _ACEOF
82042 cat confdefs.h >>conftest.$ac_ext
82043 cat >>conftest.$ac_ext <<_ACEOF
82044 /* end confdefs.h. */
82045 #include <math.h>
82047 main ()
82049 __builtin_sinf(0);
82051 return 0;
82053 _ACEOF
82054 rm -f conftest.$ac_objext conftest$ac_exeext
82055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82056 (eval $ac_link) 2>conftest.er1
82057 ac_status=$?
82058 grep -v '^ *+' conftest.er1 >conftest.err
82059 rm -f conftest.er1
82060 cat conftest.err >&5
82061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82062 (exit $ac_status); } &&
82063 { ac_try='test -z "$ac_c_werror_flag"
82064 || test ! -s conftest.err'
82065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82066 (eval $ac_try) 2>&5
82067 ac_status=$?
82068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82069 (exit $ac_status); }; } &&
82070 { ac_try='test -s conftest$ac_exeext'
82071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82072 (eval $ac_try) 2>&5
82073 ac_status=$?
82074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82075 (exit $ac_status); }; }; then
82076 glibcxx_cv_func___builtin_sinf_link=yes
82077 else
82078 echo "$as_me: failed program was:" >&5
82079 sed 's/^/| /' conftest.$ac_ext >&5
82081 glibcxx_cv_func___builtin_sinf_link=no
82083 rm -f conftest.err conftest.$ac_objext \
82084 conftest$ac_exeext conftest.$ac_ext
82089 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
82090 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
82092 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
82094 cat >>confdefs.h <<\_ACEOF
82095 #define HAVE___BUILTIN_SINF 1
82096 _ACEOF
82103 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
82104 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
82105 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
82106 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
82107 echo $ECHO_N "(cached) $ECHO_C" >&6
82108 else
82112 ac_ext=cc
82113 ac_cpp='$CXXCPP $CPPFLAGS'
82114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82118 cat >conftest.$ac_ext <<_ACEOF
82119 /* confdefs.h. */
82120 _ACEOF
82121 cat confdefs.h >>conftest.$ac_ext
82122 cat >>conftest.$ac_ext <<_ACEOF
82123 /* end confdefs.h. */
82124 #include <math.h>
82126 main ()
82128 __builtin_sin(0);
82130 return 0;
82132 _ACEOF
82133 rm -f conftest.$ac_objext
82134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82135 (eval $ac_compile) 2>conftest.er1
82136 ac_status=$?
82137 grep -v '^ *+' conftest.er1 >conftest.err
82138 rm -f conftest.er1
82139 cat conftest.err >&5
82140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82141 (exit $ac_status); } &&
82142 { ac_try='test -z "$ac_cxx_werror_flag"
82143 || test ! -s conftest.err'
82144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82145 (eval $ac_try) 2>&5
82146 ac_status=$?
82147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82148 (exit $ac_status); }; } &&
82149 { ac_try='test -s conftest.$ac_objext'
82150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82151 (eval $ac_try) 2>&5
82152 ac_status=$?
82153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82154 (exit $ac_status); }; }; then
82155 glibcxx_cv_func___builtin_sin_use=yes
82156 else
82157 echo "$as_me: failed program was:" >&5
82158 sed 's/^/| /' conftest.$ac_ext >&5
82160 glibcxx_cv_func___builtin_sin_use=no
82162 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82163 ac_ext=c
82164 ac_cpp='$CPP $CPPFLAGS'
82165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82173 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
82174 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
82175 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
82176 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
82177 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
82178 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
82179 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
82180 echo $ECHO_N "(cached) $ECHO_C" >&6
82181 else
82183 if test x$gcc_no_link = xyes; then
82184 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82185 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82186 { (exit 1); exit 1; }; }
82188 cat >conftest.$ac_ext <<_ACEOF
82189 /* confdefs.h. */
82190 _ACEOF
82191 cat confdefs.h >>conftest.$ac_ext
82192 cat >>conftest.$ac_ext <<_ACEOF
82193 /* end confdefs.h. */
82194 #include <math.h>
82196 main ()
82198 __builtin_sin(0);
82200 return 0;
82202 _ACEOF
82203 rm -f conftest.$ac_objext conftest$ac_exeext
82204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82205 (eval $ac_link) 2>conftest.er1
82206 ac_status=$?
82207 grep -v '^ *+' conftest.er1 >conftest.err
82208 rm -f conftest.er1
82209 cat conftest.err >&5
82210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82211 (exit $ac_status); } &&
82212 { ac_try='test -z "$ac_c_werror_flag"
82213 || test ! -s conftest.err'
82214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82215 (eval $ac_try) 2>&5
82216 ac_status=$?
82217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82218 (exit $ac_status); }; } &&
82219 { ac_try='test -s conftest$ac_exeext'
82220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82221 (eval $ac_try) 2>&5
82222 ac_status=$?
82223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82224 (exit $ac_status); }; }; then
82225 glibcxx_cv_func___builtin_sin_link=yes
82226 else
82227 echo "$as_me: failed program was:" >&5
82228 sed 's/^/| /' conftest.$ac_ext >&5
82230 glibcxx_cv_func___builtin_sin_link=no
82232 rm -f conftest.err conftest.$ac_objext \
82233 conftest$ac_exeext conftest.$ac_ext
82238 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
82239 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
82241 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
82243 cat >>confdefs.h <<\_ACEOF
82244 #define HAVE___BUILTIN_SIN 1
82245 _ACEOF
82252 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
82253 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
82254 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
82255 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
82256 echo $ECHO_N "(cached) $ECHO_C" >&6
82257 else
82261 ac_ext=cc
82262 ac_cpp='$CXXCPP $CPPFLAGS'
82263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82267 cat >conftest.$ac_ext <<_ACEOF
82268 /* confdefs.h. */
82269 _ACEOF
82270 cat confdefs.h >>conftest.$ac_ext
82271 cat >>conftest.$ac_ext <<_ACEOF
82272 /* end confdefs.h. */
82273 #include <math.h>
82275 main ()
82277 __builtin_sinl(0);
82279 return 0;
82281 _ACEOF
82282 rm -f conftest.$ac_objext
82283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82284 (eval $ac_compile) 2>conftest.er1
82285 ac_status=$?
82286 grep -v '^ *+' conftest.er1 >conftest.err
82287 rm -f conftest.er1
82288 cat conftest.err >&5
82289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82290 (exit $ac_status); } &&
82291 { ac_try='test -z "$ac_cxx_werror_flag"
82292 || test ! -s conftest.err'
82293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82294 (eval $ac_try) 2>&5
82295 ac_status=$?
82296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82297 (exit $ac_status); }; } &&
82298 { ac_try='test -s conftest.$ac_objext'
82299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82300 (eval $ac_try) 2>&5
82301 ac_status=$?
82302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82303 (exit $ac_status); }; }; then
82304 glibcxx_cv_func___builtin_sinl_use=yes
82305 else
82306 echo "$as_me: failed program was:" >&5
82307 sed 's/^/| /' conftest.$ac_ext >&5
82309 glibcxx_cv_func___builtin_sinl_use=no
82311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82312 ac_ext=c
82313 ac_cpp='$CPP $CPPFLAGS'
82314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82322 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
82323 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
82324 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
82325 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
82326 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
82327 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
82328 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
82329 echo $ECHO_N "(cached) $ECHO_C" >&6
82330 else
82332 if test x$gcc_no_link = xyes; then
82333 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82334 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82335 { (exit 1); exit 1; }; }
82337 cat >conftest.$ac_ext <<_ACEOF
82338 /* confdefs.h. */
82339 _ACEOF
82340 cat confdefs.h >>conftest.$ac_ext
82341 cat >>conftest.$ac_ext <<_ACEOF
82342 /* end confdefs.h. */
82343 #include <math.h>
82345 main ()
82347 __builtin_sinl(0);
82349 return 0;
82351 _ACEOF
82352 rm -f conftest.$ac_objext conftest$ac_exeext
82353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82354 (eval $ac_link) 2>conftest.er1
82355 ac_status=$?
82356 grep -v '^ *+' conftest.er1 >conftest.err
82357 rm -f conftest.er1
82358 cat conftest.err >&5
82359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82360 (exit $ac_status); } &&
82361 { ac_try='test -z "$ac_c_werror_flag"
82362 || test ! -s conftest.err'
82363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82364 (eval $ac_try) 2>&5
82365 ac_status=$?
82366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82367 (exit $ac_status); }; } &&
82368 { ac_try='test -s conftest$ac_exeext'
82369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82370 (eval $ac_try) 2>&5
82371 ac_status=$?
82372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82373 (exit $ac_status); }; }; then
82374 glibcxx_cv_func___builtin_sinl_link=yes
82375 else
82376 echo "$as_me: failed program was:" >&5
82377 sed 's/^/| /' conftest.$ac_ext >&5
82379 glibcxx_cv_func___builtin_sinl_link=no
82381 rm -f conftest.err conftest.$ac_objext \
82382 conftest$ac_exeext conftest.$ac_ext
82387 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
82388 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
82390 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
82392 cat >>confdefs.h <<\_ACEOF
82393 #define HAVE___BUILTIN_SINL 1
82394 _ACEOF
82402 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
82403 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
82404 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
82405 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
82406 echo $ECHO_N "(cached) $ECHO_C" >&6
82407 else
82411 ac_ext=cc
82412 ac_cpp='$CXXCPP $CPPFLAGS'
82413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82417 cat >conftest.$ac_ext <<_ACEOF
82418 /* confdefs.h. */
82419 _ACEOF
82420 cat confdefs.h >>conftest.$ac_ext
82421 cat >>conftest.$ac_ext <<_ACEOF
82422 /* end confdefs.h. */
82423 #include <math.h>
82425 main ()
82427 __builtin_cosf(0);
82429 return 0;
82431 _ACEOF
82432 rm -f conftest.$ac_objext
82433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82434 (eval $ac_compile) 2>conftest.er1
82435 ac_status=$?
82436 grep -v '^ *+' conftest.er1 >conftest.err
82437 rm -f conftest.er1
82438 cat conftest.err >&5
82439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82440 (exit $ac_status); } &&
82441 { ac_try='test -z "$ac_cxx_werror_flag"
82442 || test ! -s conftest.err'
82443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82444 (eval $ac_try) 2>&5
82445 ac_status=$?
82446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82447 (exit $ac_status); }; } &&
82448 { ac_try='test -s conftest.$ac_objext'
82449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82450 (eval $ac_try) 2>&5
82451 ac_status=$?
82452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82453 (exit $ac_status); }; }; then
82454 glibcxx_cv_func___builtin_cosf_use=yes
82455 else
82456 echo "$as_me: failed program was:" >&5
82457 sed 's/^/| /' conftest.$ac_ext >&5
82459 glibcxx_cv_func___builtin_cosf_use=no
82461 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82462 ac_ext=c
82463 ac_cpp='$CPP $CPPFLAGS'
82464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82472 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
82473 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
82474 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
82475 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
82476 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
82477 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
82478 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
82479 echo $ECHO_N "(cached) $ECHO_C" >&6
82480 else
82482 if test x$gcc_no_link = xyes; then
82483 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82484 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82485 { (exit 1); exit 1; }; }
82487 cat >conftest.$ac_ext <<_ACEOF
82488 /* confdefs.h. */
82489 _ACEOF
82490 cat confdefs.h >>conftest.$ac_ext
82491 cat >>conftest.$ac_ext <<_ACEOF
82492 /* end confdefs.h. */
82493 #include <math.h>
82495 main ()
82497 __builtin_cosf(0);
82499 return 0;
82501 _ACEOF
82502 rm -f conftest.$ac_objext conftest$ac_exeext
82503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82504 (eval $ac_link) 2>conftest.er1
82505 ac_status=$?
82506 grep -v '^ *+' conftest.er1 >conftest.err
82507 rm -f conftest.er1
82508 cat conftest.err >&5
82509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82510 (exit $ac_status); } &&
82511 { ac_try='test -z "$ac_c_werror_flag"
82512 || test ! -s conftest.err'
82513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82514 (eval $ac_try) 2>&5
82515 ac_status=$?
82516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82517 (exit $ac_status); }; } &&
82518 { ac_try='test -s conftest$ac_exeext'
82519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82520 (eval $ac_try) 2>&5
82521 ac_status=$?
82522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82523 (exit $ac_status); }; }; then
82524 glibcxx_cv_func___builtin_cosf_link=yes
82525 else
82526 echo "$as_me: failed program was:" >&5
82527 sed 's/^/| /' conftest.$ac_ext >&5
82529 glibcxx_cv_func___builtin_cosf_link=no
82531 rm -f conftest.err conftest.$ac_objext \
82532 conftest$ac_exeext conftest.$ac_ext
82537 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
82538 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
82540 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
82542 cat >>confdefs.h <<\_ACEOF
82543 #define HAVE___BUILTIN_COSF 1
82544 _ACEOF
82551 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
82552 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
82553 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
82554 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
82555 echo $ECHO_N "(cached) $ECHO_C" >&6
82556 else
82560 ac_ext=cc
82561 ac_cpp='$CXXCPP $CPPFLAGS'
82562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82566 cat >conftest.$ac_ext <<_ACEOF
82567 /* confdefs.h. */
82568 _ACEOF
82569 cat confdefs.h >>conftest.$ac_ext
82570 cat >>conftest.$ac_ext <<_ACEOF
82571 /* end confdefs.h. */
82572 #include <math.h>
82574 main ()
82576 __builtin_cos(0);
82578 return 0;
82580 _ACEOF
82581 rm -f conftest.$ac_objext
82582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82583 (eval $ac_compile) 2>conftest.er1
82584 ac_status=$?
82585 grep -v '^ *+' conftest.er1 >conftest.err
82586 rm -f conftest.er1
82587 cat conftest.err >&5
82588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82589 (exit $ac_status); } &&
82590 { ac_try='test -z "$ac_cxx_werror_flag"
82591 || test ! -s conftest.err'
82592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82593 (eval $ac_try) 2>&5
82594 ac_status=$?
82595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82596 (exit $ac_status); }; } &&
82597 { ac_try='test -s conftest.$ac_objext'
82598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82599 (eval $ac_try) 2>&5
82600 ac_status=$?
82601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82602 (exit $ac_status); }; }; then
82603 glibcxx_cv_func___builtin_cos_use=yes
82604 else
82605 echo "$as_me: failed program was:" >&5
82606 sed 's/^/| /' conftest.$ac_ext >&5
82608 glibcxx_cv_func___builtin_cos_use=no
82610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82611 ac_ext=c
82612 ac_cpp='$CPP $CPPFLAGS'
82613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82621 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
82622 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
82623 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
82624 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
82625 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
82626 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
82627 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
82628 echo $ECHO_N "(cached) $ECHO_C" >&6
82629 else
82631 if test x$gcc_no_link = xyes; then
82632 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82633 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82634 { (exit 1); exit 1; }; }
82636 cat >conftest.$ac_ext <<_ACEOF
82637 /* confdefs.h. */
82638 _ACEOF
82639 cat confdefs.h >>conftest.$ac_ext
82640 cat >>conftest.$ac_ext <<_ACEOF
82641 /* end confdefs.h. */
82642 #include <math.h>
82644 main ()
82646 __builtin_cos(0);
82648 return 0;
82650 _ACEOF
82651 rm -f conftest.$ac_objext conftest$ac_exeext
82652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82653 (eval $ac_link) 2>conftest.er1
82654 ac_status=$?
82655 grep -v '^ *+' conftest.er1 >conftest.err
82656 rm -f conftest.er1
82657 cat conftest.err >&5
82658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82659 (exit $ac_status); } &&
82660 { ac_try='test -z "$ac_c_werror_flag"
82661 || test ! -s conftest.err'
82662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82663 (eval $ac_try) 2>&5
82664 ac_status=$?
82665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82666 (exit $ac_status); }; } &&
82667 { ac_try='test -s conftest$ac_exeext'
82668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82669 (eval $ac_try) 2>&5
82670 ac_status=$?
82671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82672 (exit $ac_status); }; }; then
82673 glibcxx_cv_func___builtin_cos_link=yes
82674 else
82675 echo "$as_me: failed program was:" >&5
82676 sed 's/^/| /' conftest.$ac_ext >&5
82678 glibcxx_cv_func___builtin_cos_link=no
82680 rm -f conftest.err conftest.$ac_objext \
82681 conftest$ac_exeext conftest.$ac_ext
82686 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
82687 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
82689 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
82691 cat >>confdefs.h <<\_ACEOF
82692 #define HAVE___BUILTIN_COS 1
82693 _ACEOF
82700 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
82701 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
82702 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
82703 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
82704 echo $ECHO_N "(cached) $ECHO_C" >&6
82705 else
82709 ac_ext=cc
82710 ac_cpp='$CXXCPP $CPPFLAGS'
82711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82715 cat >conftest.$ac_ext <<_ACEOF
82716 /* confdefs.h. */
82717 _ACEOF
82718 cat confdefs.h >>conftest.$ac_ext
82719 cat >>conftest.$ac_ext <<_ACEOF
82720 /* end confdefs.h. */
82721 #include <math.h>
82723 main ()
82725 __builtin_cosl(0);
82727 return 0;
82729 _ACEOF
82730 rm -f conftest.$ac_objext
82731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82732 (eval $ac_compile) 2>conftest.er1
82733 ac_status=$?
82734 grep -v '^ *+' conftest.er1 >conftest.err
82735 rm -f conftest.er1
82736 cat conftest.err >&5
82737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82738 (exit $ac_status); } &&
82739 { ac_try='test -z "$ac_cxx_werror_flag"
82740 || test ! -s conftest.err'
82741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82742 (eval $ac_try) 2>&5
82743 ac_status=$?
82744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82745 (exit $ac_status); }; } &&
82746 { ac_try='test -s conftest.$ac_objext'
82747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82748 (eval $ac_try) 2>&5
82749 ac_status=$?
82750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82751 (exit $ac_status); }; }; then
82752 glibcxx_cv_func___builtin_cosl_use=yes
82753 else
82754 echo "$as_me: failed program was:" >&5
82755 sed 's/^/| /' conftest.$ac_ext >&5
82757 glibcxx_cv_func___builtin_cosl_use=no
82759 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82760 ac_ext=c
82761 ac_cpp='$CPP $CPPFLAGS'
82762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82770 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
82771 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
82772 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
82773 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
82774 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
82775 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
82776 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
82777 echo $ECHO_N "(cached) $ECHO_C" >&6
82778 else
82780 if test x$gcc_no_link = xyes; then
82781 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82782 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82783 { (exit 1); exit 1; }; }
82785 cat >conftest.$ac_ext <<_ACEOF
82786 /* confdefs.h. */
82787 _ACEOF
82788 cat confdefs.h >>conftest.$ac_ext
82789 cat >>conftest.$ac_ext <<_ACEOF
82790 /* end confdefs.h. */
82791 #include <math.h>
82793 main ()
82795 __builtin_cosl(0);
82797 return 0;
82799 _ACEOF
82800 rm -f conftest.$ac_objext conftest$ac_exeext
82801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82802 (eval $ac_link) 2>conftest.er1
82803 ac_status=$?
82804 grep -v '^ *+' conftest.er1 >conftest.err
82805 rm -f conftest.er1
82806 cat conftest.err >&5
82807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82808 (exit $ac_status); } &&
82809 { ac_try='test -z "$ac_c_werror_flag"
82810 || test ! -s conftest.err'
82811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82812 (eval $ac_try) 2>&5
82813 ac_status=$?
82814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82815 (exit $ac_status); }; } &&
82816 { ac_try='test -s conftest$ac_exeext'
82817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82818 (eval $ac_try) 2>&5
82819 ac_status=$?
82820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82821 (exit $ac_status); }; }; then
82822 glibcxx_cv_func___builtin_cosl_link=yes
82823 else
82824 echo "$as_me: failed program was:" >&5
82825 sed 's/^/| /' conftest.$ac_ext >&5
82827 glibcxx_cv_func___builtin_cosl_link=no
82829 rm -f conftest.err conftest.$ac_objext \
82830 conftest$ac_exeext conftest.$ac_ext
82835 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
82836 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
82838 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
82840 cat >>confdefs.h <<\_ACEOF
82841 #define HAVE___BUILTIN_COSL 1
82842 _ACEOF
82851 echo "$as_me:$LINENO: checking for main in -lm" >&5
82852 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
82853 if test "${ac_cv_lib_m_main+set}" = set; then
82854 echo $ECHO_N "(cached) $ECHO_C" >&6
82855 else
82856 ac_check_lib_save_LIBS=$LIBS
82857 LIBS="-lm $LIBS"
82858 if test x$gcc_no_link = xyes; then
82859 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82860 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82861 { (exit 1); exit 1; }; }
82863 cat >conftest.$ac_ext <<_ACEOF
82864 /* confdefs.h. */
82865 _ACEOF
82866 cat confdefs.h >>conftest.$ac_ext
82867 cat >>conftest.$ac_ext <<_ACEOF
82868 /* end confdefs.h. */
82872 main ()
82874 main ();
82876 return 0;
82878 _ACEOF
82879 rm -f conftest.$ac_objext conftest$ac_exeext
82880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82881 (eval $ac_link) 2>conftest.er1
82882 ac_status=$?
82883 grep -v '^ *+' conftest.er1 >conftest.err
82884 rm -f conftest.er1
82885 cat conftest.err >&5
82886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82887 (exit $ac_status); } &&
82888 { ac_try='test -z "$ac_c_werror_flag"
82889 || test ! -s conftest.err'
82890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82891 (eval $ac_try) 2>&5
82892 ac_status=$?
82893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82894 (exit $ac_status); }; } &&
82895 { ac_try='test -s conftest$ac_exeext'
82896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82897 (eval $ac_try) 2>&5
82898 ac_status=$?
82899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82900 (exit $ac_status); }; }; then
82901 ac_cv_lib_m_main=yes
82902 else
82903 echo "$as_me: failed program was:" >&5
82904 sed 's/^/| /' conftest.$ac_ext >&5
82906 ac_cv_lib_m_main=no
82908 rm -f conftest.err conftest.$ac_objext \
82909 conftest$ac_exeext conftest.$ac_ext
82910 LIBS=$ac_check_lib_save_LIBS
82912 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
82913 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
82914 if test $ac_cv_lib_m_main = yes; then
82915 cat >>confdefs.h <<_ACEOF
82916 #define HAVE_LIBM 1
82917 _ACEOF
82919 LIBS="-lm $LIBS"
82924 for ac_func in copysignf
82926 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82927 echo "$as_me:$LINENO: checking for $ac_func" >&5
82928 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82929 if eval "test \"\${$as_ac_var+set}\" = set"; then
82930 echo $ECHO_N "(cached) $ECHO_C" >&6
82931 else
82932 if test x$gcc_no_link = xyes; then
82933 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82934 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82935 { (exit 1); exit 1; }; }
82937 cat >conftest.$ac_ext <<_ACEOF
82938 /* confdefs.h. */
82939 _ACEOF
82940 cat confdefs.h >>conftest.$ac_ext
82941 cat >>conftest.$ac_ext <<_ACEOF
82942 /* end confdefs.h. */
82943 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82944 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82945 #define $ac_func innocuous_$ac_func
82947 /* System header to define __stub macros and hopefully few prototypes,
82948 which can conflict with char $ac_func (); below.
82949 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82950 <limits.h> exists even on freestanding compilers. */
82952 #ifdef __STDC__
82953 # include <limits.h>
82954 #else
82955 # include <assert.h>
82956 #endif
82958 #undef $ac_func
82960 /* Override any gcc2 internal prototype to avoid an error. */
82961 #ifdef __cplusplus
82962 extern "C"
82964 #endif
82965 /* We use char because int might match the return type of a gcc2
82966 builtin and then its argument prototype would still apply. */
82967 char $ac_func ();
82968 /* The GNU C library defines this for functions which it implements
82969 to always fail with ENOSYS. Some functions are actually named
82970 something starting with __ and the normal name is an alias. */
82971 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82972 choke me
82973 #else
82974 char (*f) () = $ac_func;
82975 #endif
82976 #ifdef __cplusplus
82978 #endif
82981 main ()
82983 return f != $ac_func;
82985 return 0;
82987 _ACEOF
82988 rm -f conftest.$ac_objext conftest$ac_exeext
82989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82990 (eval $ac_link) 2>conftest.er1
82991 ac_status=$?
82992 grep -v '^ *+' conftest.er1 >conftest.err
82993 rm -f conftest.er1
82994 cat conftest.err >&5
82995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82996 (exit $ac_status); } &&
82997 { ac_try='test -z "$ac_c_werror_flag"
82998 || test ! -s conftest.err'
82999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83000 (eval $ac_try) 2>&5
83001 ac_status=$?
83002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83003 (exit $ac_status); }; } &&
83004 { ac_try='test -s conftest$ac_exeext'
83005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83006 (eval $ac_try) 2>&5
83007 ac_status=$?
83008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83009 (exit $ac_status); }; }; then
83010 eval "$as_ac_var=yes"
83011 else
83012 echo "$as_me: failed program was:" >&5
83013 sed 's/^/| /' conftest.$ac_ext >&5
83015 eval "$as_ac_var=no"
83017 rm -f conftest.err conftest.$ac_objext \
83018 conftest$ac_exeext conftest.$ac_ext
83020 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83021 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83022 if test `eval echo '${'$as_ac_var'}'` = yes; then
83023 cat >>confdefs.h <<_ACEOF
83024 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83025 _ACEOF
83027 else
83028 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
83030 done
83034 for ac_func in __signbit
83036 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83037 echo "$as_me:$LINENO: checking for $ac_func" >&5
83038 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83039 if eval "test \"\${$as_ac_var+set}\" = set"; then
83040 echo $ECHO_N "(cached) $ECHO_C" >&6
83041 else
83042 if test x$gcc_no_link = xyes; then
83043 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83044 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83045 { (exit 1); exit 1; }; }
83047 cat >conftest.$ac_ext <<_ACEOF
83048 /* confdefs.h. */
83049 _ACEOF
83050 cat confdefs.h >>conftest.$ac_ext
83051 cat >>conftest.$ac_ext <<_ACEOF
83052 /* end confdefs.h. */
83053 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83054 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83055 #define $ac_func innocuous_$ac_func
83057 /* System header to define __stub macros and hopefully few prototypes,
83058 which can conflict with char $ac_func (); below.
83059 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83060 <limits.h> exists even on freestanding compilers. */
83062 #ifdef __STDC__
83063 # include <limits.h>
83064 #else
83065 # include <assert.h>
83066 #endif
83068 #undef $ac_func
83070 /* Override any gcc2 internal prototype to avoid an error. */
83071 #ifdef __cplusplus
83072 extern "C"
83074 #endif
83075 /* We use char because int might match the return type of a gcc2
83076 builtin and then its argument prototype would still apply. */
83077 char $ac_func ();
83078 /* The GNU C library defines this for functions which it implements
83079 to always fail with ENOSYS. Some functions are actually named
83080 something starting with __ and the normal name is an alias. */
83081 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83082 choke me
83083 #else
83084 char (*f) () = $ac_func;
83085 #endif
83086 #ifdef __cplusplus
83088 #endif
83091 main ()
83093 return f != $ac_func;
83095 return 0;
83097 _ACEOF
83098 rm -f conftest.$ac_objext conftest$ac_exeext
83099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83100 (eval $ac_link) 2>conftest.er1
83101 ac_status=$?
83102 grep -v '^ *+' conftest.er1 >conftest.err
83103 rm -f conftest.er1
83104 cat conftest.err >&5
83105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83106 (exit $ac_status); } &&
83107 { ac_try='test -z "$ac_c_werror_flag"
83108 || test ! -s conftest.err'
83109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83110 (eval $ac_try) 2>&5
83111 ac_status=$?
83112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83113 (exit $ac_status); }; } &&
83114 { ac_try='test -s conftest$ac_exeext'
83115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83116 (eval $ac_try) 2>&5
83117 ac_status=$?
83118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83119 (exit $ac_status); }; }; then
83120 eval "$as_ac_var=yes"
83121 else
83122 echo "$as_me: failed program was:" >&5
83123 sed 's/^/| /' conftest.$ac_ext >&5
83125 eval "$as_ac_var=no"
83127 rm -f conftest.err conftest.$ac_objext \
83128 conftest$ac_exeext conftest.$ac_ext
83130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83131 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83132 if test `eval echo '${'$as_ac_var'}'` = yes; then
83133 cat >>confdefs.h <<_ACEOF
83134 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83135 _ACEOF
83137 else
83138 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
83140 done
83144 for ac_func in __signbitf
83146 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83147 echo "$as_me:$LINENO: checking for $ac_func" >&5
83148 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83149 if eval "test \"\${$as_ac_var+set}\" = set"; then
83150 echo $ECHO_N "(cached) $ECHO_C" >&6
83151 else
83152 if test x$gcc_no_link = xyes; then
83153 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83154 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83155 { (exit 1); exit 1; }; }
83157 cat >conftest.$ac_ext <<_ACEOF
83158 /* confdefs.h. */
83159 _ACEOF
83160 cat confdefs.h >>conftest.$ac_ext
83161 cat >>conftest.$ac_ext <<_ACEOF
83162 /* end confdefs.h. */
83163 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83164 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83165 #define $ac_func innocuous_$ac_func
83167 /* System header to define __stub macros and hopefully few prototypes,
83168 which can conflict with char $ac_func (); below.
83169 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83170 <limits.h> exists even on freestanding compilers. */
83172 #ifdef __STDC__
83173 # include <limits.h>
83174 #else
83175 # include <assert.h>
83176 #endif
83178 #undef $ac_func
83180 /* Override any gcc2 internal prototype to avoid an error. */
83181 #ifdef __cplusplus
83182 extern "C"
83184 #endif
83185 /* We use char because int might match the return type of a gcc2
83186 builtin and then its argument prototype would still apply. */
83187 char $ac_func ();
83188 /* The GNU C library defines this for functions which it implements
83189 to always fail with ENOSYS. Some functions are actually named
83190 something starting with __ and the normal name is an alias. */
83191 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83192 choke me
83193 #else
83194 char (*f) () = $ac_func;
83195 #endif
83196 #ifdef __cplusplus
83198 #endif
83201 main ()
83203 return f != $ac_func;
83205 return 0;
83207 _ACEOF
83208 rm -f conftest.$ac_objext conftest$ac_exeext
83209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83210 (eval $ac_link) 2>conftest.er1
83211 ac_status=$?
83212 grep -v '^ *+' conftest.er1 >conftest.err
83213 rm -f conftest.er1
83214 cat conftest.err >&5
83215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83216 (exit $ac_status); } &&
83217 { ac_try='test -z "$ac_c_werror_flag"
83218 || test ! -s conftest.err'
83219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83220 (eval $ac_try) 2>&5
83221 ac_status=$?
83222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83223 (exit $ac_status); }; } &&
83224 { ac_try='test -s conftest$ac_exeext'
83225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83226 (eval $ac_try) 2>&5
83227 ac_status=$?
83228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83229 (exit $ac_status); }; }; then
83230 eval "$as_ac_var=yes"
83231 else
83232 echo "$as_me: failed program was:" >&5
83233 sed 's/^/| /' conftest.$ac_ext >&5
83235 eval "$as_ac_var=no"
83237 rm -f conftest.err conftest.$ac_objext \
83238 conftest$ac_exeext conftest.$ac_ext
83240 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83241 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83242 if test `eval echo '${'$as_ac_var'}'` = yes; then
83243 cat >>confdefs.h <<_ACEOF
83244 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83245 _ACEOF
83247 else
83248 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
83250 done
83253 if test x$ac_cv_func_copysignl = x"yes"; then
83255 for ac_func in __signbitl
83257 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83258 echo "$as_me:$LINENO: checking for $ac_func" >&5
83259 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83260 if eval "test \"\${$as_ac_var+set}\" = set"; then
83261 echo $ECHO_N "(cached) $ECHO_C" >&6
83262 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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83275 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83276 #define $ac_func innocuous_$ac_func
83278 /* System header to define __stub macros and hopefully few prototypes,
83279 which can conflict with char $ac_func (); below.
83280 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83281 <limits.h> exists even on freestanding compilers. */
83283 #ifdef __STDC__
83284 # include <limits.h>
83285 #else
83286 # include <assert.h>
83287 #endif
83289 #undef $ac_func
83291 /* Override any gcc2 internal prototype to avoid an error. */
83292 #ifdef __cplusplus
83293 extern "C"
83295 #endif
83296 /* We use char because int might match the return type of a gcc2
83297 builtin and then its argument prototype would still apply. */
83298 char $ac_func ();
83299 /* The GNU C library defines this for functions which it implements
83300 to always fail with ENOSYS. Some functions are actually named
83301 something starting with __ and the normal name is an alias. */
83302 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83303 choke me
83304 #else
83305 char (*f) () = $ac_func;
83306 #endif
83307 #ifdef __cplusplus
83309 #endif
83312 main ()
83314 return f != $ac_func;
83316 return 0;
83318 _ACEOF
83319 rm -f conftest.$ac_objext conftest$ac_exeext
83320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83321 (eval $ac_link) 2>conftest.er1
83322 ac_status=$?
83323 grep -v '^ *+' conftest.er1 >conftest.err
83324 rm -f conftest.er1
83325 cat conftest.err >&5
83326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83327 (exit $ac_status); } &&
83328 { ac_try='test -z "$ac_c_werror_flag"
83329 || test ! -s conftest.err'
83330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83331 (eval $ac_try) 2>&5
83332 ac_status=$?
83333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83334 (exit $ac_status); }; } &&
83335 { ac_try='test -s conftest$ac_exeext'
83336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83337 (eval $ac_try) 2>&5
83338 ac_status=$?
83339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83340 (exit $ac_status); }; }; then
83341 eval "$as_ac_var=yes"
83342 else
83343 echo "$as_me: failed program was:" >&5
83344 sed 's/^/| /' conftest.$ac_ext >&5
83346 eval "$as_ac_var=no"
83348 rm -f conftest.err conftest.$ac_objext \
83349 conftest$ac_exeext conftest.$ac_ext
83351 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83352 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83353 if test `eval echo '${'$as_ac_var'}'` = yes; then
83354 cat >>confdefs.h <<_ACEOF
83355 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83356 _ACEOF
83358 else
83359 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
83361 done
83365 # Used in libmath/Makefile.am.
83366 if test -n "$LIBMATHOBJS"; then
83367 need_libmath=yes
83372 ac_test_CXXFLAGS="${CXXFLAGS+set}"
83373 ac_save_CXXFLAGS="$CXXFLAGS"
83374 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
83377 echo "$as_me:$LINENO: checking for strtold declaration" >&5
83378 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
83379 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
83380 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
83381 echo $ECHO_N "(cached) $ECHO_C" >&6
83382 else
83386 ac_ext=cc
83387 ac_cpp='$CXXCPP $CPPFLAGS'
83388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83392 cat >conftest.$ac_ext <<_ACEOF
83393 /* confdefs.h. */
83394 _ACEOF
83395 cat confdefs.h >>conftest.$ac_ext
83396 cat >>conftest.$ac_ext <<_ACEOF
83397 /* end confdefs.h. */
83398 #include <stdlib.h>
83400 main ()
83402 strtold(0, 0);
83404 return 0;
83406 _ACEOF
83407 rm -f conftest.$ac_objext
83408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83409 (eval $ac_compile) 2>conftest.er1
83410 ac_status=$?
83411 grep -v '^ *+' conftest.er1 >conftest.err
83412 rm -f conftest.er1
83413 cat conftest.err >&5
83414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83415 (exit $ac_status); } &&
83416 { ac_try='test -z "$ac_cxx_werror_flag"
83417 || test ! -s conftest.err'
83418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83419 (eval $ac_try) 2>&5
83420 ac_status=$?
83421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83422 (exit $ac_status); }; } &&
83423 { ac_try='test -s conftest.$ac_objext'
83424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83425 (eval $ac_try) 2>&5
83426 ac_status=$?
83427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83428 (exit $ac_status); }; }; then
83429 glibcxx_cv_func_strtold_use=yes
83430 else
83431 echo "$as_me: failed program was:" >&5
83432 sed 's/^/| /' conftest.$ac_ext >&5
83434 glibcxx_cv_func_strtold_use=no
83436 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83437 ac_ext=c
83438 ac_cpp='$CPP $CPPFLAGS'
83439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83447 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
83448 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
83449 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
83451 for ac_func in strtold
83453 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83454 echo "$as_me:$LINENO: checking for $ac_func" >&5
83455 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83456 if eval "test \"\${$as_ac_var+set}\" = set"; then
83457 echo $ECHO_N "(cached) $ECHO_C" >&6
83458 else
83459 if test x$gcc_no_link = xyes; then
83460 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83461 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83462 { (exit 1); exit 1; }; }
83464 cat >conftest.$ac_ext <<_ACEOF
83465 /* confdefs.h. */
83466 _ACEOF
83467 cat confdefs.h >>conftest.$ac_ext
83468 cat >>conftest.$ac_ext <<_ACEOF
83469 /* end confdefs.h. */
83470 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83471 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83472 #define $ac_func innocuous_$ac_func
83474 /* System header to define __stub macros and hopefully few prototypes,
83475 which can conflict with char $ac_func (); below.
83476 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83477 <limits.h> exists even on freestanding compilers. */
83479 #ifdef __STDC__
83480 # include <limits.h>
83481 #else
83482 # include <assert.h>
83483 #endif
83485 #undef $ac_func
83487 /* Override any gcc2 internal prototype to avoid an error. */
83488 #ifdef __cplusplus
83489 extern "C"
83491 #endif
83492 /* We use char because int might match the return type of a gcc2
83493 builtin and then its argument prototype would still apply. */
83494 char $ac_func ();
83495 /* The GNU C library defines this for functions which it implements
83496 to always fail with ENOSYS. Some functions are actually named
83497 something starting with __ and the normal name is an alias. */
83498 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83499 choke me
83500 #else
83501 char (*f) () = $ac_func;
83502 #endif
83503 #ifdef __cplusplus
83505 #endif
83508 main ()
83510 return f != $ac_func;
83512 return 0;
83514 _ACEOF
83515 rm -f conftest.$ac_objext conftest$ac_exeext
83516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83517 (eval $ac_link) 2>conftest.er1
83518 ac_status=$?
83519 grep -v '^ *+' conftest.er1 >conftest.err
83520 rm -f conftest.er1
83521 cat conftest.err >&5
83522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83523 (exit $ac_status); } &&
83524 { ac_try='test -z "$ac_c_werror_flag"
83525 || test ! -s conftest.err'
83526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83527 (eval $ac_try) 2>&5
83528 ac_status=$?
83529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83530 (exit $ac_status); }; } &&
83531 { ac_try='test -s conftest$ac_exeext'
83532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83533 (eval $ac_try) 2>&5
83534 ac_status=$?
83535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83536 (exit $ac_status); }; }; then
83537 eval "$as_ac_var=yes"
83538 else
83539 echo "$as_me: failed program was:" >&5
83540 sed 's/^/| /' conftest.$ac_ext >&5
83542 eval "$as_ac_var=no"
83544 rm -f conftest.err conftest.$ac_objext \
83545 conftest$ac_exeext conftest.$ac_ext
83547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83548 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83549 if test `eval echo '${'$as_ac_var'}'` = yes; then
83550 cat >>confdefs.h <<_ACEOF
83551 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83552 _ACEOF
83555 done
83563 echo "$as_me:$LINENO: checking for strtof declaration" >&5
83564 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
83565 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
83566 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
83567 echo $ECHO_N "(cached) $ECHO_C" >&6
83568 else
83572 ac_ext=cc
83573 ac_cpp='$CXXCPP $CPPFLAGS'
83574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83578 cat >conftest.$ac_ext <<_ACEOF
83579 /* confdefs.h. */
83580 _ACEOF
83581 cat confdefs.h >>conftest.$ac_ext
83582 cat >>conftest.$ac_ext <<_ACEOF
83583 /* end confdefs.h. */
83584 #include <stdlib.h>
83586 main ()
83588 strtof(0, 0);
83590 return 0;
83592 _ACEOF
83593 rm -f conftest.$ac_objext
83594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83595 (eval $ac_compile) 2>conftest.er1
83596 ac_status=$?
83597 grep -v '^ *+' conftest.er1 >conftest.err
83598 rm -f conftest.er1
83599 cat conftest.err >&5
83600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83601 (exit $ac_status); } &&
83602 { ac_try='test -z "$ac_cxx_werror_flag"
83603 || test ! -s conftest.err'
83604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83605 (eval $ac_try) 2>&5
83606 ac_status=$?
83607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83608 (exit $ac_status); }; } &&
83609 { ac_try='test -s conftest.$ac_objext'
83610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83611 (eval $ac_try) 2>&5
83612 ac_status=$?
83613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83614 (exit $ac_status); }; }; then
83615 glibcxx_cv_func_strtof_use=yes
83616 else
83617 echo "$as_me: failed program was:" >&5
83618 sed 's/^/| /' conftest.$ac_ext >&5
83620 glibcxx_cv_func_strtof_use=no
83622 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83623 ac_ext=c
83624 ac_cpp='$CPP $CPPFLAGS'
83625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83633 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
83634 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
83635 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
83637 for ac_func in strtof
83639 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83640 echo "$as_me:$LINENO: checking for $ac_func" >&5
83641 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83642 if eval "test \"\${$as_ac_var+set}\" = set"; then
83643 echo $ECHO_N "(cached) $ECHO_C" >&6
83644 else
83645 if test x$gcc_no_link = xyes; then
83646 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83647 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83648 { (exit 1); exit 1; }; }
83650 cat >conftest.$ac_ext <<_ACEOF
83651 /* confdefs.h. */
83652 _ACEOF
83653 cat confdefs.h >>conftest.$ac_ext
83654 cat >>conftest.$ac_ext <<_ACEOF
83655 /* end confdefs.h. */
83656 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83657 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83658 #define $ac_func innocuous_$ac_func
83660 /* System header to define __stub macros and hopefully few prototypes,
83661 which can conflict with char $ac_func (); below.
83662 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83663 <limits.h> exists even on freestanding compilers. */
83665 #ifdef __STDC__
83666 # include <limits.h>
83667 #else
83668 # include <assert.h>
83669 #endif
83671 #undef $ac_func
83673 /* Override any gcc2 internal prototype to avoid an error. */
83674 #ifdef __cplusplus
83675 extern "C"
83677 #endif
83678 /* We use char because int might match the return type of a gcc2
83679 builtin and then its argument prototype would still apply. */
83680 char $ac_func ();
83681 /* The GNU C library defines this for functions which it implements
83682 to always fail with ENOSYS. Some functions are actually named
83683 something starting with __ and the normal name is an alias. */
83684 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83685 choke me
83686 #else
83687 char (*f) () = $ac_func;
83688 #endif
83689 #ifdef __cplusplus
83691 #endif
83694 main ()
83696 return f != $ac_func;
83698 return 0;
83700 _ACEOF
83701 rm -f conftest.$ac_objext conftest$ac_exeext
83702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83703 (eval $ac_link) 2>conftest.er1
83704 ac_status=$?
83705 grep -v '^ *+' conftest.er1 >conftest.err
83706 rm -f conftest.er1
83707 cat conftest.err >&5
83708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83709 (exit $ac_status); } &&
83710 { ac_try='test -z "$ac_c_werror_flag"
83711 || test ! -s conftest.err'
83712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83713 (eval $ac_try) 2>&5
83714 ac_status=$?
83715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83716 (exit $ac_status); }; } &&
83717 { ac_try='test -s conftest$ac_exeext'
83718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83719 (eval $ac_try) 2>&5
83720 ac_status=$?
83721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83722 (exit $ac_status); }; }; then
83723 eval "$as_ac_var=yes"
83724 else
83725 echo "$as_me: failed program was:" >&5
83726 sed 's/^/| /' conftest.$ac_ext >&5
83728 eval "$as_ac_var=no"
83730 rm -f conftest.err conftest.$ac_objext \
83731 conftest$ac_exeext conftest.$ac_ext
83733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83734 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83735 if test `eval echo '${'$as_ac_var'}'` = yes; then
83736 cat >>confdefs.h <<_ACEOF
83737 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83738 _ACEOF
83741 done
83749 CXXFLAGS="$ac_save_CXXFLAGS"
83752 # For showmanyc_helper().
83755 for ac_header in sys/ioctl.h sys/filio.h
83757 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
83758 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83759 echo "$as_me:$LINENO: checking for $ac_header" >&5
83760 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83761 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83762 echo $ECHO_N "(cached) $ECHO_C" >&6
83764 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83765 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83766 else
83767 # Is the header compilable?
83768 echo "$as_me:$LINENO: checking $ac_header usability" >&5
83769 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
83770 cat >conftest.$ac_ext <<_ACEOF
83771 /* confdefs.h. */
83772 _ACEOF
83773 cat confdefs.h >>conftest.$ac_ext
83774 cat >>conftest.$ac_ext <<_ACEOF
83775 /* end confdefs.h. */
83776 $ac_includes_default
83777 #include <$ac_header>
83778 _ACEOF
83779 rm -f conftest.$ac_objext
83780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83781 (eval $ac_compile) 2>conftest.er1
83782 ac_status=$?
83783 grep -v '^ *+' conftest.er1 >conftest.err
83784 rm -f conftest.er1
83785 cat conftest.err >&5
83786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83787 (exit $ac_status); } &&
83788 { ac_try='test -z "$ac_c_werror_flag"
83789 || test ! -s conftest.err'
83790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83791 (eval $ac_try) 2>&5
83792 ac_status=$?
83793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83794 (exit $ac_status); }; } &&
83795 { ac_try='test -s conftest.$ac_objext'
83796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83797 (eval $ac_try) 2>&5
83798 ac_status=$?
83799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83800 (exit $ac_status); }; }; then
83801 ac_header_compiler=yes
83802 else
83803 echo "$as_me: failed program was:" >&5
83804 sed 's/^/| /' conftest.$ac_ext >&5
83806 ac_header_compiler=no
83808 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83809 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
83810 echo "${ECHO_T}$ac_header_compiler" >&6
83812 # Is the header present?
83813 echo "$as_me:$LINENO: checking $ac_header presence" >&5
83814 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
83815 cat >conftest.$ac_ext <<_ACEOF
83816 /* confdefs.h. */
83817 _ACEOF
83818 cat confdefs.h >>conftest.$ac_ext
83819 cat >>conftest.$ac_ext <<_ACEOF
83820 /* end confdefs.h. */
83821 #include <$ac_header>
83822 _ACEOF
83823 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
83824 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
83825 ac_status=$?
83826 grep -v '^ *+' conftest.er1 >conftest.err
83827 rm -f conftest.er1
83828 cat conftest.err >&5
83829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83830 (exit $ac_status); } >/dev/null; then
83831 if test -s conftest.err; then
83832 ac_cpp_err=$ac_c_preproc_warn_flag
83833 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
83834 else
83835 ac_cpp_err=
83837 else
83838 ac_cpp_err=yes
83840 if test -z "$ac_cpp_err"; then
83841 ac_header_preproc=yes
83842 else
83843 echo "$as_me: failed program was:" >&5
83844 sed 's/^/| /' conftest.$ac_ext >&5
83846 ac_header_preproc=no
83848 rm -f conftest.err conftest.$ac_ext
83849 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
83850 echo "${ECHO_T}$ac_header_preproc" >&6
83852 # So? What about this header?
83853 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83854 yes:no: )
83855 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
83856 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
83857 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
83858 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
83859 ac_header_preproc=yes
83861 no:yes:* )
83862 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
83863 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
83864 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
83865 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
83866 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
83867 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
83868 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
83869 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
83870 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
83871 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
83872 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
83873 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
83875 cat <<\_ASBOX
83876 ## ----------------------------------------- ##
83877 ## Report this to the package-unused lists. ##
83878 ## ----------------------------------------- ##
83879 _ASBOX
83881 sed "s/^/$as_me: WARNING: /" >&2
83883 esac
83884 echo "$as_me:$LINENO: checking for $ac_header" >&5
83885 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83886 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83887 echo $ECHO_N "(cached) $ECHO_C" >&6
83888 else
83889 eval "$as_ac_Header=\$ac_header_preproc"
83891 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83892 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83895 if test `eval echo '${'$as_ac_Header'}'` = yes; then
83896 cat >>confdefs.h <<_ACEOF
83897 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
83898 _ACEOF
83902 done
83905 echo "$as_me:$LINENO: checking for poll" >&5
83906 echo $ECHO_N "checking for poll... $ECHO_C" >&6
83907 if test "${glibcxx_cv_POLL+set}" = set; then
83908 echo $ECHO_N "(cached) $ECHO_C" >&6
83909 else
83911 if test x$gcc_no_link = xyes; then
83912 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83913 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83914 { (exit 1); exit 1; }; }
83916 cat >conftest.$ac_ext <<_ACEOF
83917 /* confdefs.h. */
83918 _ACEOF
83919 cat confdefs.h >>conftest.$ac_ext
83920 cat >>conftest.$ac_ext <<_ACEOF
83921 /* end confdefs.h. */
83922 #include <poll.h>
83924 main ()
83926 struct pollfd pfd[1];
83927 pfd[0].events = POLLIN;
83928 poll(pfd, 1, 0);
83930 return 0;
83932 _ACEOF
83933 rm -f conftest.$ac_objext conftest$ac_exeext
83934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83935 (eval $ac_link) 2>conftest.er1
83936 ac_status=$?
83937 grep -v '^ *+' conftest.er1 >conftest.err
83938 rm -f conftest.er1
83939 cat conftest.err >&5
83940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83941 (exit $ac_status); } &&
83942 { ac_try='test -z "$ac_c_werror_flag"
83943 || test ! -s conftest.err'
83944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83945 (eval $ac_try) 2>&5
83946 ac_status=$?
83947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83948 (exit $ac_status); }; } &&
83949 { ac_try='test -s conftest$ac_exeext'
83950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83951 (eval $ac_try) 2>&5
83952 ac_status=$?
83953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83954 (exit $ac_status); }; }; then
83955 glibcxx_cv_POLL=yes
83956 else
83957 echo "$as_me: failed program was:" >&5
83958 sed 's/^/| /' conftest.$ac_ext >&5
83960 glibcxx_cv_POLL=no
83962 rm -f conftest.err conftest.$ac_objext \
83963 conftest$ac_exeext conftest.$ac_ext
83967 if test $glibcxx_cv_POLL = yes; then
83969 cat >>confdefs.h <<\_ACEOF
83970 #define HAVE_POLL 1
83971 _ACEOF
83974 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
83975 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
83978 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
83979 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
83980 if test "${glibcxx_cv_S_ISREG+set}" = set; then
83981 echo $ECHO_N "(cached) $ECHO_C" >&6
83982 else
83984 if test x$gcc_no_link = xyes; then
83985 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83986 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83987 { (exit 1); exit 1; }; }
83989 cat >conftest.$ac_ext <<_ACEOF
83990 /* confdefs.h. */
83991 _ACEOF
83992 cat confdefs.h >>conftest.$ac_ext
83993 cat >>conftest.$ac_ext <<_ACEOF
83994 /* end confdefs.h. */
83995 #include <sys/stat.h>
83997 main ()
83999 struct stat buffer;
84000 fstat(0, &buffer);
84001 S_ISREG(buffer.st_mode);
84003 return 0;
84005 _ACEOF
84006 rm -f conftest.$ac_objext conftest$ac_exeext
84007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84008 (eval $ac_link) 2>conftest.er1
84009 ac_status=$?
84010 grep -v '^ *+' conftest.er1 >conftest.err
84011 rm -f conftest.er1
84012 cat conftest.err >&5
84013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84014 (exit $ac_status); } &&
84015 { ac_try='test -z "$ac_c_werror_flag"
84016 || test ! -s conftest.err'
84017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84018 (eval $ac_try) 2>&5
84019 ac_status=$?
84020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84021 (exit $ac_status); }; } &&
84022 { ac_try='test -s conftest$ac_exeext'
84023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84024 (eval $ac_try) 2>&5
84025 ac_status=$?
84026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84027 (exit $ac_status); }; }; then
84028 glibcxx_cv_S_ISREG=yes
84029 else
84030 echo "$as_me: failed program was:" >&5
84031 sed 's/^/| /' conftest.$ac_ext >&5
84033 glibcxx_cv_S_ISREG=no
84035 rm -f conftest.err conftest.$ac_objext \
84036 conftest$ac_exeext conftest.$ac_ext
84040 if test "${glibcxx_cv_S_IFREG+set}" = set; then
84041 echo $ECHO_N "(cached) $ECHO_C" >&6
84042 else
84044 if test x$gcc_no_link = xyes; then
84045 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84046 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84047 { (exit 1); exit 1; }; }
84049 cat >conftest.$ac_ext <<_ACEOF
84050 /* confdefs.h. */
84051 _ACEOF
84052 cat confdefs.h >>conftest.$ac_ext
84053 cat >>conftest.$ac_ext <<_ACEOF
84054 /* end confdefs.h. */
84055 #include <sys/stat.h>
84057 main ()
84059 struct stat buffer;
84060 fstat(0, &buffer);
84061 S_IFREG & buffer.st_mode;
84063 return 0;
84065 _ACEOF
84066 rm -f conftest.$ac_objext conftest$ac_exeext
84067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84068 (eval $ac_link) 2>conftest.er1
84069 ac_status=$?
84070 grep -v '^ *+' conftest.er1 >conftest.err
84071 rm -f conftest.er1
84072 cat conftest.err >&5
84073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84074 (exit $ac_status); } &&
84075 { ac_try='test -z "$ac_c_werror_flag"
84076 || test ! -s conftest.err'
84077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84078 (eval $ac_try) 2>&5
84079 ac_status=$?
84080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84081 (exit $ac_status); }; } &&
84082 { ac_try='test -s conftest$ac_exeext'
84083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84084 (eval $ac_try) 2>&5
84085 ac_status=$?
84086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84087 (exit $ac_status); }; }; then
84088 glibcxx_cv_S_IFREG=yes
84089 else
84090 echo "$as_me: failed program was:" >&5
84091 sed 's/^/| /' conftest.$ac_ext >&5
84093 glibcxx_cv_S_IFREG=no
84095 rm -f conftest.err conftest.$ac_objext \
84096 conftest$ac_exeext conftest.$ac_ext
84100 res=no
84101 if test $glibcxx_cv_S_ISREG = yes; then
84103 cat >>confdefs.h <<\_ACEOF
84104 #define HAVE_S_ISREG 1
84105 _ACEOF
84107 res=S_ISREG
84108 elif test $glibcxx_cv_S_IFREG = yes; then
84110 cat >>confdefs.h <<\_ACEOF
84111 #define HAVE_S_IFREG 1
84112 _ACEOF
84114 res=S_IFREG
84116 echo "$as_me:$LINENO: result: $res" >&5
84117 echo "${ECHO_T}$res" >&6
84120 # For xsputn_2().
84122 for ac_header in sys/uio.h
84124 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
84125 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84126 echo "$as_me:$LINENO: checking for $ac_header" >&5
84127 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84128 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84129 echo $ECHO_N "(cached) $ECHO_C" >&6
84131 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84132 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84133 else
84134 # Is the header compilable?
84135 echo "$as_me:$LINENO: checking $ac_header usability" >&5
84136 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
84137 cat >conftest.$ac_ext <<_ACEOF
84138 /* confdefs.h. */
84139 _ACEOF
84140 cat confdefs.h >>conftest.$ac_ext
84141 cat >>conftest.$ac_ext <<_ACEOF
84142 /* end confdefs.h. */
84143 $ac_includes_default
84144 #include <$ac_header>
84145 _ACEOF
84146 rm -f conftest.$ac_objext
84147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84148 (eval $ac_compile) 2>conftest.er1
84149 ac_status=$?
84150 grep -v '^ *+' conftest.er1 >conftest.err
84151 rm -f conftest.er1
84152 cat conftest.err >&5
84153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84154 (exit $ac_status); } &&
84155 { ac_try='test -z "$ac_c_werror_flag"
84156 || test ! -s conftest.err'
84157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84158 (eval $ac_try) 2>&5
84159 ac_status=$?
84160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84161 (exit $ac_status); }; } &&
84162 { ac_try='test -s conftest.$ac_objext'
84163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84164 (eval $ac_try) 2>&5
84165 ac_status=$?
84166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84167 (exit $ac_status); }; }; then
84168 ac_header_compiler=yes
84169 else
84170 echo "$as_me: failed program was:" >&5
84171 sed 's/^/| /' conftest.$ac_ext >&5
84173 ac_header_compiler=no
84175 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84176 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84177 echo "${ECHO_T}$ac_header_compiler" >&6
84179 # Is the header present?
84180 echo "$as_me:$LINENO: checking $ac_header presence" >&5
84181 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
84182 cat >conftest.$ac_ext <<_ACEOF
84183 /* confdefs.h. */
84184 _ACEOF
84185 cat confdefs.h >>conftest.$ac_ext
84186 cat >>conftest.$ac_ext <<_ACEOF
84187 /* end confdefs.h. */
84188 #include <$ac_header>
84189 _ACEOF
84190 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84191 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84192 ac_status=$?
84193 grep -v '^ *+' conftest.er1 >conftest.err
84194 rm -f conftest.er1
84195 cat conftest.err >&5
84196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84197 (exit $ac_status); } >/dev/null; then
84198 if test -s conftest.err; then
84199 ac_cpp_err=$ac_c_preproc_warn_flag
84200 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84201 else
84202 ac_cpp_err=
84204 else
84205 ac_cpp_err=yes
84207 if test -z "$ac_cpp_err"; then
84208 ac_header_preproc=yes
84209 else
84210 echo "$as_me: failed program was:" >&5
84211 sed 's/^/| /' conftest.$ac_ext >&5
84213 ac_header_preproc=no
84215 rm -f conftest.err conftest.$ac_ext
84216 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84217 echo "${ECHO_T}$ac_header_preproc" >&6
84219 # So? What about this header?
84220 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84221 yes:no: )
84222 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
84223 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
84224 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
84225 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
84226 ac_header_preproc=yes
84228 no:yes:* )
84229 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
84230 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
84231 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
84232 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
84233 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
84234 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
84235 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
84236 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
84237 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
84238 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
84239 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
84240 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
84242 cat <<\_ASBOX
84243 ## ----------------------------------------- ##
84244 ## Report this to the package-unused lists. ##
84245 ## ----------------------------------------- ##
84246 _ASBOX
84248 sed "s/^/$as_me: WARNING: /" >&2
84250 esac
84251 echo "$as_me:$LINENO: checking for $ac_header" >&5
84252 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84253 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84254 echo $ECHO_N "(cached) $ECHO_C" >&6
84255 else
84256 eval "$as_ac_Header=\$ac_header_preproc"
84258 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84259 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84262 if test `eval echo '${'$as_ac_Header'}'` = yes; then
84263 cat >>confdefs.h <<_ACEOF
84264 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
84265 _ACEOF
84269 done
84272 echo "$as_me:$LINENO: checking for writev" >&5
84273 echo $ECHO_N "checking for writev... $ECHO_C" >&6
84274 if test "${glibcxx_cv_WRITEV+set}" = set; then
84275 echo $ECHO_N "(cached) $ECHO_C" >&6
84276 else
84278 if test x$gcc_no_link = xyes; then
84279 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84280 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84281 { (exit 1); exit 1; }; }
84283 cat >conftest.$ac_ext <<_ACEOF
84284 /* confdefs.h. */
84285 _ACEOF
84286 cat confdefs.h >>conftest.$ac_ext
84287 cat >>conftest.$ac_ext <<_ACEOF
84288 /* end confdefs.h. */
84289 #include <sys/uio.h>
84291 main ()
84293 struct iovec iov[2];
84294 writev(0, iov, 0);
84296 return 0;
84298 _ACEOF
84299 rm -f conftest.$ac_objext conftest$ac_exeext
84300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84301 (eval $ac_link) 2>conftest.er1
84302 ac_status=$?
84303 grep -v '^ *+' conftest.er1 >conftest.err
84304 rm -f conftest.er1
84305 cat conftest.err >&5
84306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84307 (exit $ac_status); } &&
84308 { ac_try='test -z "$ac_c_werror_flag"
84309 || test ! -s conftest.err'
84310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84311 (eval $ac_try) 2>&5
84312 ac_status=$?
84313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84314 (exit $ac_status); }; } &&
84315 { ac_try='test -s conftest$ac_exeext'
84316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84317 (eval $ac_try) 2>&5
84318 ac_status=$?
84319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84320 (exit $ac_status); }; }; then
84321 glibcxx_cv_WRITEV=yes
84322 else
84323 echo "$as_me: failed program was:" >&5
84324 sed 's/^/| /' conftest.$ac_ext >&5
84326 glibcxx_cv_WRITEV=no
84328 rm -f conftest.err conftest.$ac_objext \
84329 conftest$ac_exeext conftest.$ac_ext
84333 if test $glibcxx_cv_WRITEV = yes; then
84335 cat >>confdefs.h <<\_ACEOF
84336 #define HAVE_WRITEV 1
84337 _ACEOF
84340 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
84341 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
84344 cat >>confdefs.h <<\_ACEOF
84345 #define HAVE_LC_MESSAGES 1
84346 _ACEOF
84349 cat >conftest.$ac_ext <<_ACEOF
84350 /* confdefs.h. */
84351 _ACEOF
84352 cat confdefs.h >>conftest.$ac_ext
84353 cat >>conftest.$ac_ext <<_ACEOF
84354 /* end confdefs.h. */
84355 #include <setjmp.h>
84357 main ()
84359 sigjmp_buf env;
84360 while (! sigsetjmp (env, 1))
84361 siglongjmp (env, 1);
84364 return 0;
84366 _ACEOF
84367 rm -f conftest.$ac_objext
84368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84369 (eval $ac_compile) 2>conftest.er1
84370 ac_status=$?
84371 grep -v '^ *+' conftest.er1 >conftest.err
84372 rm -f conftest.er1
84373 cat conftest.err >&5
84374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84375 (exit $ac_status); } &&
84376 { ac_try='test -z "$ac_c_werror_flag"
84377 || test ! -s conftest.err'
84378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84379 (eval $ac_try) 2>&5
84380 ac_status=$?
84381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84382 (exit $ac_status); }; } &&
84383 { ac_try='test -s conftest.$ac_objext'
84384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84385 (eval $ac_try) 2>&5
84386 ac_status=$?
84387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84388 (exit $ac_status); }; }; then
84390 cat >>confdefs.h <<\_ACEOF
84391 #define HAVE_SIGSETJMP 1
84392 _ACEOF
84394 else
84395 echo "$as_me: failed program was:" >&5
84396 sed 's/^/| /' conftest.$ac_ext >&5
84399 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84401 cat >>confdefs.h <<\_ACEOF
84402 #define HAVE_MMAP 1
84403 _ACEOF
84407 *djgpp)
84428 for ac_header in float.h ieeefp.h inttypes.h locale.h \
84429 memory.h stdint.h stdlib.h strings.h string.h unistd.h \
84430 wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
84431 sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h
84433 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
84434 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84435 echo "$as_me:$LINENO: checking for $ac_header" >&5
84436 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84437 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84438 echo $ECHO_N "(cached) $ECHO_C" >&6
84440 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84441 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84442 else
84443 # Is the header compilable?
84444 echo "$as_me:$LINENO: checking $ac_header usability" >&5
84445 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
84446 cat >conftest.$ac_ext <<_ACEOF
84447 /* confdefs.h. */
84448 _ACEOF
84449 cat confdefs.h >>conftest.$ac_ext
84450 cat >>conftest.$ac_ext <<_ACEOF
84451 /* end confdefs.h. */
84452 $ac_includes_default
84453 #include <$ac_header>
84454 _ACEOF
84455 rm -f conftest.$ac_objext
84456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84457 (eval $ac_compile) 2>conftest.er1
84458 ac_status=$?
84459 grep -v '^ *+' conftest.er1 >conftest.err
84460 rm -f conftest.er1
84461 cat conftest.err >&5
84462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84463 (exit $ac_status); } &&
84464 { ac_try='test -z "$ac_c_werror_flag"
84465 || test ! -s conftest.err'
84466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84467 (eval $ac_try) 2>&5
84468 ac_status=$?
84469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84470 (exit $ac_status); }; } &&
84471 { ac_try='test -s conftest.$ac_objext'
84472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84473 (eval $ac_try) 2>&5
84474 ac_status=$?
84475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84476 (exit $ac_status); }; }; then
84477 ac_header_compiler=yes
84478 else
84479 echo "$as_me: failed program was:" >&5
84480 sed 's/^/| /' conftest.$ac_ext >&5
84482 ac_header_compiler=no
84484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84485 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84486 echo "${ECHO_T}$ac_header_compiler" >&6
84488 # Is the header present?
84489 echo "$as_me:$LINENO: checking $ac_header presence" >&5
84490 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
84491 cat >conftest.$ac_ext <<_ACEOF
84492 /* confdefs.h. */
84493 _ACEOF
84494 cat confdefs.h >>conftest.$ac_ext
84495 cat >>conftest.$ac_ext <<_ACEOF
84496 /* end confdefs.h. */
84497 #include <$ac_header>
84498 _ACEOF
84499 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84500 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84501 ac_status=$?
84502 grep -v '^ *+' conftest.er1 >conftest.err
84503 rm -f conftest.er1
84504 cat conftest.err >&5
84505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84506 (exit $ac_status); } >/dev/null; then
84507 if test -s conftest.err; then
84508 ac_cpp_err=$ac_c_preproc_warn_flag
84509 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84510 else
84511 ac_cpp_err=
84513 else
84514 ac_cpp_err=yes
84516 if test -z "$ac_cpp_err"; then
84517 ac_header_preproc=yes
84518 else
84519 echo "$as_me: failed program was:" >&5
84520 sed 's/^/| /' conftest.$ac_ext >&5
84522 ac_header_preproc=no
84524 rm -f conftest.err conftest.$ac_ext
84525 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84526 echo "${ECHO_T}$ac_header_preproc" >&6
84528 # So? What about this header?
84529 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84530 yes:no: )
84531 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
84532 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
84533 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
84534 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
84535 ac_header_preproc=yes
84537 no:yes:* )
84538 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
84539 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
84540 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
84541 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
84542 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
84543 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
84544 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
84545 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
84546 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
84547 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
84548 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
84549 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
84551 cat <<\_ASBOX
84552 ## ----------------------------------------- ##
84553 ## Report this to the package-unused lists. ##
84554 ## ----------------------------------------- ##
84555 _ASBOX
84557 sed "s/^/$as_me: WARNING: /" >&2
84559 esac
84560 echo "$as_me:$LINENO: checking for $ac_header" >&5
84561 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84562 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84563 echo $ECHO_N "(cached) $ECHO_C" >&6
84564 else
84565 eval "$as_ac_Header=\$ac_header_preproc"
84567 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84568 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84571 if test `eval echo '${'$as_ac_Header'}'` = yes; then
84572 cat >>confdefs.h <<_ACEOF
84573 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
84574 _ACEOF
84578 done
84580 # GLIBCXX_CHECK_MATH_SUPPORT
84581 cat >>confdefs.h <<\_ACEOF
84582 #define HAVE_LIBM 1
84583 _ACEOF
84585 cat >>confdefs.h <<\_ACEOF
84586 #define HAVE_ISINF 1
84587 _ACEOF
84589 cat >>confdefs.h <<\_ACEOF
84590 #define HAVE_ISNAN 1
84591 _ACEOF
84593 cat >>confdefs.h <<\_ACEOF
84594 #define HAVE_FINITE 1
84595 _ACEOF
84597 cat >>confdefs.h <<\_ACEOF
84598 #define HAVE_COPYSIGN 1
84599 _ACEOF
84601 cat >>confdefs.h <<\_ACEOF
84602 #define HAVE_SINCOS 1
84603 _ACEOF
84605 cat >>confdefs.h <<\_ACEOF
84606 #define HAVE_HYPOT 1
84607 _ACEOF
84609 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
84610 cat >>confdefs.h <<\_ACEOF
84611 #define HAVE___BUILTIN_ABS 1
84612 _ACEOF
84614 cat >>confdefs.h <<\_ACEOF
84615 #define HAVE___BUILTIN_FABSF 1
84616 _ACEOF
84618 cat >>confdefs.h <<\_ACEOF
84619 #define HAVE___BUILTIN_FABS 1
84620 _ACEOF
84622 cat >>confdefs.h <<\_ACEOF
84623 #define HAVE___BUILTIN_FABSL 1
84624 _ACEOF
84626 cat >>confdefs.h <<\_ACEOF
84627 #define HAVE___BUILTIN_LABS 1
84628 _ACEOF
84630 cat >>confdefs.h <<\_ACEOF
84631 #define HAVE___BUILTIN_SQRTF 1
84632 _ACEOF
84634 cat >>confdefs.h <<\_ACEOF
84635 #define HAVE___BUILTIN_SQRT 1
84636 _ACEOF
84638 cat >>confdefs.h <<\_ACEOF
84639 #define HAVE___BUILTIN_SQRTL 1
84640 _ACEOF
84642 cat >>confdefs.h <<\_ACEOF
84643 #define HAVE___BUILTIN_SINF 1
84644 _ACEOF
84646 cat >>confdefs.h <<\_ACEOF
84647 #define HAVE___BUILTIN_SIN 1
84648 _ACEOF
84650 cat >>confdefs.h <<\_ACEOF
84651 #define HAVE___BUILTIN_SINL 1
84652 _ACEOF
84654 cat >>confdefs.h <<\_ACEOF
84655 #define HAVE___BUILTIN_COSF 1
84656 _ACEOF
84658 cat >>confdefs.h <<\_ACEOF
84659 #define HAVE___BUILTIN_COS 1
84660 _ACEOF
84662 cat >>confdefs.h <<\_ACEOF
84663 #define HAVE___BUILTIN_COSL 1
84664 _ACEOF
84666 # GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT
84667 # GLIBCXX_CHECK_STDLIB_SUPPORT
84668 cat >>confdefs.h <<\_ACEOF
84669 #define HAVE_COPYSIGN 1
84670 _ACEOF
84672 cat >>confdefs.h <<\_ACEOF
84673 #define HAVE_COPYSIGNF 1
84674 _ACEOF
84676 # GLIBCXX_CHECK_S_ISREG_OR_S_IFREG
84677 cat >>confdefs.h <<\_ACEOF
84678 #define HAVE_S_ISREG 1
84679 _ACEOF
84681 cat >>confdefs.h <<\_ACEOF
84682 #define HAVE_S_IFREG 1
84683 _ACEOF
84685 cat >>confdefs.h <<\_ACEOF
84686 #define HAVE_WRITEV 1
84687 _ACEOF
84691 *-freebsd*)
84708 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
84709 machine/endian.h machine/param.h sys/machine.h sys/types.h \
84710 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
84711 sys/time.h unistd.h
84713 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
84714 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84715 echo "$as_me:$LINENO: checking for $ac_header" >&5
84716 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84717 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84718 echo $ECHO_N "(cached) $ECHO_C" >&6
84720 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84721 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84722 else
84723 # Is the header compilable?
84724 echo "$as_me:$LINENO: checking $ac_header usability" >&5
84725 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
84726 cat >conftest.$ac_ext <<_ACEOF
84727 /* confdefs.h. */
84728 _ACEOF
84729 cat confdefs.h >>conftest.$ac_ext
84730 cat >>conftest.$ac_ext <<_ACEOF
84731 /* end confdefs.h. */
84732 $ac_includes_default
84733 #include <$ac_header>
84734 _ACEOF
84735 rm -f conftest.$ac_objext
84736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84737 (eval $ac_compile) 2>conftest.er1
84738 ac_status=$?
84739 grep -v '^ *+' conftest.er1 >conftest.err
84740 rm -f conftest.er1
84741 cat conftest.err >&5
84742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84743 (exit $ac_status); } &&
84744 { ac_try='test -z "$ac_c_werror_flag"
84745 || test ! -s conftest.err'
84746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84747 (eval $ac_try) 2>&5
84748 ac_status=$?
84749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84750 (exit $ac_status); }; } &&
84751 { ac_try='test -s conftest.$ac_objext'
84752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84753 (eval $ac_try) 2>&5
84754 ac_status=$?
84755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84756 (exit $ac_status); }; }; then
84757 ac_header_compiler=yes
84758 else
84759 echo "$as_me: failed program was:" >&5
84760 sed 's/^/| /' conftest.$ac_ext >&5
84762 ac_header_compiler=no
84764 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84765 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84766 echo "${ECHO_T}$ac_header_compiler" >&6
84768 # Is the header present?
84769 echo "$as_me:$LINENO: checking $ac_header presence" >&5
84770 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
84771 cat >conftest.$ac_ext <<_ACEOF
84772 /* confdefs.h. */
84773 _ACEOF
84774 cat confdefs.h >>conftest.$ac_ext
84775 cat >>conftest.$ac_ext <<_ACEOF
84776 /* end confdefs.h. */
84777 #include <$ac_header>
84778 _ACEOF
84779 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84780 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84781 ac_status=$?
84782 grep -v '^ *+' conftest.er1 >conftest.err
84783 rm -f conftest.er1
84784 cat conftest.err >&5
84785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84786 (exit $ac_status); } >/dev/null; then
84787 if test -s conftest.err; then
84788 ac_cpp_err=$ac_c_preproc_warn_flag
84789 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84790 else
84791 ac_cpp_err=
84793 else
84794 ac_cpp_err=yes
84796 if test -z "$ac_cpp_err"; then
84797 ac_header_preproc=yes
84798 else
84799 echo "$as_me: failed program was:" >&5
84800 sed 's/^/| /' conftest.$ac_ext >&5
84802 ac_header_preproc=no
84804 rm -f conftest.err conftest.$ac_ext
84805 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84806 echo "${ECHO_T}$ac_header_preproc" >&6
84808 # So? What about this header?
84809 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84810 yes:no: )
84811 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
84812 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
84813 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
84814 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
84815 ac_header_preproc=yes
84817 no:yes:* )
84818 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
84819 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
84820 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
84821 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
84822 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
84823 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
84824 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
84825 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
84826 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
84827 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
84828 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
84829 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
84831 cat <<\_ASBOX
84832 ## ----------------------------------------- ##
84833 ## Report this to the package-unused lists. ##
84834 ## ----------------------------------------- ##
84835 _ASBOX
84837 sed "s/^/$as_me: WARNING: /" >&2
84839 esac
84840 echo "$as_me:$LINENO: checking for $ac_header" >&5
84841 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84842 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84843 echo $ECHO_N "(cached) $ECHO_C" >&6
84844 else
84845 eval "$as_ac_Header=\$ac_header_preproc"
84847 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84848 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84851 if test `eval echo '${'$as_ac_Header'}'` = yes; then
84852 cat >>confdefs.h <<_ACEOF
84853 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
84854 _ACEOF
84858 done
84860 SECTION_FLAGS='-ffunction-sections -fdata-sections'
84863 # If we're not using GNU ld, then there's no point in even trying these
84864 # tests. Check for that first. We should have already tested for gld
84865 # by now (in libtool), but require it now just to be safe...
84866 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
84867 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
84871 # The name set by libtool depends on the version of libtool. Shame on us
84872 # for depending on an impl detail, but c'est la vie. Older versions used
84873 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
84874 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
84875 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
84876 # set (hence we're using an older libtool), then set it.
84877 if test x${with_gnu_ld+set} != xset; then
84878 if test x${ac_cv_prog_gnu_ld+set} != xset; then
84879 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
84880 with_gnu_ld=no
84881 else
84882 with_gnu_ld=$ac_cv_prog_gnu_ld
84886 # Start by getting the version number. I think the libtool test already
84887 # does some of this, but throws away the result.
84888 if test x"$with_gnu_ld" = x"yes"; then
84889 echo "$as_me:$LINENO: checking for ld version" >&5
84890 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
84892 ldver=`$LD --version 2>/dev/null | head -1 | \
84893 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
84895 glibcxx_gnu_ld_version=`echo $ldver | \
84896 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
84897 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
84898 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
84901 # Set --gc-sections.
84902 glibcxx_gcsections_min_ld=21602
84903 if test x"$with_gnu_ld" = x"yes" &&
84904 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
84906 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
84907 # NB: This flag only works reliably after 2.16.1. Configure tests
84908 # for this are difficult, so hard wire a value that should work.
84910 ac_test_CFLAGS="${CFLAGS+set}"
84911 ac_save_CFLAGS="$CFLAGS"
84912 CFLAGS='-Wl,--gc-sections'
84914 # Check for -Wl,--gc-sections
84915 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
84916 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
84917 if test x$gcc_no_link = xyes; then
84918 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84919 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84920 { (exit 1); exit 1; }; }
84922 cat >conftest.$ac_ext <<_ACEOF
84923 /* confdefs.h. */
84924 _ACEOF
84925 cat confdefs.h >>conftest.$ac_ext
84926 cat >>conftest.$ac_ext <<_ACEOF
84927 /* end confdefs.h. */
84928 int one(void) { return 1; }
84929 int two(void) { return 2; }
84932 main ()
84934 two();
84936 return 0;
84938 _ACEOF
84939 rm -f conftest.$ac_objext conftest$ac_exeext
84940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84941 (eval $ac_link) 2>conftest.er1
84942 ac_status=$?
84943 grep -v '^ *+' conftest.er1 >conftest.err
84944 rm -f conftest.er1
84945 cat conftest.err >&5
84946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84947 (exit $ac_status); } &&
84948 { ac_try='test -z "$ac_c_werror_flag"
84949 || test ! -s conftest.err'
84950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84951 (eval $ac_try) 2>&5
84952 ac_status=$?
84953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84954 (exit $ac_status); }; } &&
84955 { ac_try='test -s conftest$ac_exeext'
84956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84957 (eval $ac_try) 2>&5
84958 ac_status=$?
84959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84960 (exit $ac_status); }; }; then
84961 ac_gcsections=yes
84962 else
84963 echo "$as_me: failed program was:" >&5
84964 sed 's/^/| /' conftest.$ac_ext >&5
84966 ac_gcsections=no
84968 rm -f conftest.err conftest.$ac_objext \
84969 conftest$ac_exeext conftest.$ac_ext
84970 if test "$ac_gcsections" = "yes"; then
84971 rm -f conftest.c
84972 touch conftest.c
84973 if $CC -c conftest.c; then
84974 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
84975 grep "Warning: gc-sections option ignored" > /dev/null; then
84976 ac_gcsections=no
84979 rm -f conftest.c conftest.o conftest
84981 if test "$ac_gcsections" = "yes"; then
84982 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
84984 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
84985 echo "${ECHO_T}$ac_gcsections" >&6
84987 if test "$ac_test_CFLAGS" = set; then
84988 CFLAGS="$ac_save_CFLAGS"
84989 else
84990 # this is the suspicious part
84991 CFLAGS=''
84995 # Set -z,relro.
84996 # Note this is only for shared objects.
84997 ac_ld_relro=no
84998 if test x"$with_gnu_ld" = x"yes"; then
84999 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
85000 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
85001 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
85002 if test -n "$cxx_z_relo"; then
85003 OPT_LDFLAGS="-Wl,-z,relro"
85004 ac_ld_relro=yes
85006 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
85007 echo "${ECHO_T}$ac_ld_relro" >&6
85010 # Set linker optimization flags.
85011 if test x"$with_gnu_ld" = x"yes"; then
85012 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
85020 echo "$as_me:$LINENO: checking for main in -lm" >&5
85021 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
85022 if test "${ac_cv_lib_m_main+set}" = set; then
85023 echo $ECHO_N "(cached) $ECHO_C" >&6
85024 else
85025 ac_check_lib_save_LIBS=$LIBS
85026 LIBS="-lm $LIBS"
85027 if test x$gcc_no_link = xyes; then
85028 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85029 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85030 { (exit 1); exit 1; }; }
85032 cat >conftest.$ac_ext <<_ACEOF
85033 /* confdefs.h. */
85034 _ACEOF
85035 cat confdefs.h >>conftest.$ac_ext
85036 cat >>conftest.$ac_ext <<_ACEOF
85037 /* end confdefs.h. */
85041 main ()
85043 main ();
85045 return 0;
85047 _ACEOF
85048 rm -f conftest.$ac_objext conftest$ac_exeext
85049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85050 (eval $ac_link) 2>conftest.er1
85051 ac_status=$?
85052 grep -v '^ *+' conftest.er1 >conftest.err
85053 rm -f conftest.er1
85054 cat conftest.err >&5
85055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85056 (exit $ac_status); } &&
85057 { ac_try='test -z "$ac_c_werror_flag"
85058 || test ! -s conftest.err'
85059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85060 (eval $ac_try) 2>&5
85061 ac_status=$?
85062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85063 (exit $ac_status); }; } &&
85064 { ac_try='test -s conftest$ac_exeext'
85065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85066 (eval $ac_try) 2>&5
85067 ac_status=$?
85068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85069 (exit $ac_status); }; }; then
85070 ac_cv_lib_m_main=yes
85071 else
85072 echo "$as_me: failed program was:" >&5
85073 sed 's/^/| /' conftest.$ac_ext >&5
85075 ac_cv_lib_m_main=no
85077 rm -f conftest.err conftest.$ac_objext \
85078 conftest$ac_exeext conftest.$ac_ext
85079 LIBS=$ac_check_lib_save_LIBS
85081 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
85082 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
85083 if test $ac_cv_lib_m_main = yes; then
85084 cat >>confdefs.h <<_ACEOF
85085 #define HAVE_LIBM 1
85086 _ACEOF
85088 LIBS="-lm $LIBS"
85093 for ac_func in copysignf
85095 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85096 echo "$as_me:$LINENO: checking for $ac_func" >&5
85097 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85098 if eval "test \"\${$as_ac_var+set}\" = set"; then
85099 echo $ECHO_N "(cached) $ECHO_C" >&6
85100 else
85101 if test x$gcc_no_link = xyes; then
85102 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85103 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85104 { (exit 1); exit 1; }; }
85106 cat >conftest.$ac_ext <<_ACEOF
85107 /* confdefs.h. */
85108 _ACEOF
85109 cat confdefs.h >>conftest.$ac_ext
85110 cat >>conftest.$ac_ext <<_ACEOF
85111 /* end confdefs.h. */
85112 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85113 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85114 #define $ac_func innocuous_$ac_func
85116 /* System header to define __stub macros and hopefully few prototypes,
85117 which can conflict with char $ac_func (); below.
85118 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85119 <limits.h> exists even on freestanding compilers. */
85121 #ifdef __STDC__
85122 # include <limits.h>
85123 #else
85124 # include <assert.h>
85125 #endif
85127 #undef $ac_func
85129 /* Override any gcc2 internal prototype to avoid an error. */
85130 #ifdef __cplusplus
85131 extern "C"
85133 #endif
85134 /* We use char because int might match the return type of a gcc2
85135 builtin and then its argument prototype would still apply. */
85136 char $ac_func ();
85137 /* The GNU C library defines this for functions which it implements
85138 to always fail with ENOSYS. Some functions are actually named
85139 something starting with __ and the normal name is an alias. */
85140 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85141 choke me
85142 #else
85143 char (*f) () = $ac_func;
85144 #endif
85145 #ifdef __cplusplus
85147 #endif
85150 main ()
85152 return f != $ac_func;
85154 return 0;
85156 _ACEOF
85157 rm -f conftest.$ac_objext conftest$ac_exeext
85158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85159 (eval $ac_link) 2>conftest.er1
85160 ac_status=$?
85161 grep -v '^ *+' conftest.er1 >conftest.err
85162 rm -f conftest.er1
85163 cat conftest.err >&5
85164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85165 (exit $ac_status); } &&
85166 { ac_try='test -z "$ac_c_werror_flag"
85167 || test ! -s conftest.err'
85168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85169 (eval $ac_try) 2>&5
85170 ac_status=$?
85171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85172 (exit $ac_status); }; } &&
85173 { ac_try='test -s conftest$ac_exeext'
85174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85175 (eval $ac_try) 2>&5
85176 ac_status=$?
85177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85178 (exit $ac_status); }; }; then
85179 eval "$as_ac_var=yes"
85180 else
85181 echo "$as_me: failed program was:" >&5
85182 sed 's/^/| /' conftest.$ac_ext >&5
85184 eval "$as_ac_var=no"
85186 rm -f conftest.err conftest.$ac_objext \
85187 conftest$ac_exeext conftest.$ac_ext
85189 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85190 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85191 if test `eval echo '${'$as_ac_var'}'` = yes; then
85192 cat >>confdefs.h <<_ACEOF
85193 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85194 _ACEOF
85196 else
85197 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
85199 done
85203 for ac_func in __signbit
85205 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85206 echo "$as_me:$LINENO: checking for $ac_func" >&5
85207 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85208 if eval "test \"\${$as_ac_var+set}\" = set"; then
85209 echo $ECHO_N "(cached) $ECHO_C" >&6
85210 else
85211 if test x$gcc_no_link = xyes; then
85212 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85213 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85214 { (exit 1); exit 1; }; }
85216 cat >conftest.$ac_ext <<_ACEOF
85217 /* confdefs.h. */
85218 _ACEOF
85219 cat confdefs.h >>conftest.$ac_ext
85220 cat >>conftest.$ac_ext <<_ACEOF
85221 /* end confdefs.h. */
85222 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85223 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85224 #define $ac_func innocuous_$ac_func
85226 /* System header to define __stub macros and hopefully few prototypes,
85227 which can conflict with char $ac_func (); below.
85228 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85229 <limits.h> exists even on freestanding compilers. */
85231 #ifdef __STDC__
85232 # include <limits.h>
85233 #else
85234 # include <assert.h>
85235 #endif
85237 #undef $ac_func
85239 /* Override any gcc2 internal prototype to avoid an error. */
85240 #ifdef __cplusplus
85241 extern "C"
85243 #endif
85244 /* We use char because int might match the return type of a gcc2
85245 builtin and then its argument prototype would still apply. */
85246 char $ac_func ();
85247 /* The GNU C library defines this for functions which it implements
85248 to always fail with ENOSYS. Some functions are actually named
85249 something starting with __ and the normal name is an alias. */
85250 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85251 choke me
85252 #else
85253 char (*f) () = $ac_func;
85254 #endif
85255 #ifdef __cplusplus
85257 #endif
85260 main ()
85262 return f != $ac_func;
85264 return 0;
85266 _ACEOF
85267 rm -f conftest.$ac_objext conftest$ac_exeext
85268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85269 (eval $ac_link) 2>conftest.er1
85270 ac_status=$?
85271 grep -v '^ *+' conftest.er1 >conftest.err
85272 rm -f conftest.er1
85273 cat conftest.err >&5
85274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85275 (exit $ac_status); } &&
85276 { ac_try='test -z "$ac_c_werror_flag"
85277 || test ! -s conftest.err'
85278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85279 (eval $ac_try) 2>&5
85280 ac_status=$?
85281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85282 (exit $ac_status); }; } &&
85283 { ac_try='test -s conftest$ac_exeext'
85284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85285 (eval $ac_try) 2>&5
85286 ac_status=$?
85287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85288 (exit $ac_status); }; }; then
85289 eval "$as_ac_var=yes"
85290 else
85291 echo "$as_me: failed program was:" >&5
85292 sed 's/^/| /' conftest.$ac_ext >&5
85294 eval "$as_ac_var=no"
85296 rm -f conftest.err conftest.$ac_objext \
85297 conftest$ac_exeext conftest.$ac_ext
85299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85300 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85301 if test `eval echo '${'$as_ac_var'}'` = yes; then
85302 cat >>confdefs.h <<_ACEOF
85303 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85304 _ACEOF
85306 else
85307 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
85309 done
85313 for ac_func in __signbitf
85315 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85316 echo "$as_me:$LINENO: checking for $ac_func" >&5
85317 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85318 if eval "test \"\${$as_ac_var+set}\" = set"; then
85319 echo $ECHO_N "(cached) $ECHO_C" >&6
85320 else
85321 if test x$gcc_no_link = xyes; then
85322 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85323 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85324 { (exit 1); exit 1; }; }
85326 cat >conftest.$ac_ext <<_ACEOF
85327 /* confdefs.h. */
85328 _ACEOF
85329 cat confdefs.h >>conftest.$ac_ext
85330 cat >>conftest.$ac_ext <<_ACEOF
85331 /* end confdefs.h. */
85332 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85333 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85334 #define $ac_func innocuous_$ac_func
85336 /* System header to define __stub macros and hopefully few prototypes,
85337 which can conflict with char $ac_func (); below.
85338 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85339 <limits.h> exists even on freestanding compilers. */
85341 #ifdef __STDC__
85342 # include <limits.h>
85343 #else
85344 # include <assert.h>
85345 #endif
85347 #undef $ac_func
85349 /* Override any gcc2 internal prototype to avoid an error. */
85350 #ifdef __cplusplus
85351 extern "C"
85353 #endif
85354 /* We use char because int might match the return type of a gcc2
85355 builtin and then its argument prototype would still apply. */
85356 char $ac_func ();
85357 /* The GNU C library defines this for functions which it implements
85358 to always fail with ENOSYS. Some functions are actually named
85359 something starting with __ and the normal name is an alias. */
85360 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85361 choke me
85362 #else
85363 char (*f) () = $ac_func;
85364 #endif
85365 #ifdef __cplusplus
85367 #endif
85370 main ()
85372 return f != $ac_func;
85374 return 0;
85376 _ACEOF
85377 rm -f conftest.$ac_objext conftest$ac_exeext
85378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85379 (eval $ac_link) 2>conftest.er1
85380 ac_status=$?
85381 grep -v '^ *+' conftest.er1 >conftest.err
85382 rm -f conftest.er1
85383 cat conftest.err >&5
85384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85385 (exit $ac_status); } &&
85386 { ac_try='test -z "$ac_c_werror_flag"
85387 || test ! -s conftest.err'
85388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85389 (eval $ac_try) 2>&5
85390 ac_status=$?
85391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85392 (exit $ac_status); }; } &&
85393 { ac_try='test -s conftest$ac_exeext'
85394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85395 (eval $ac_try) 2>&5
85396 ac_status=$?
85397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85398 (exit $ac_status); }; }; then
85399 eval "$as_ac_var=yes"
85400 else
85401 echo "$as_me: failed program was:" >&5
85402 sed 's/^/| /' conftest.$ac_ext >&5
85404 eval "$as_ac_var=no"
85406 rm -f conftest.err conftest.$ac_objext \
85407 conftest$ac_exeext conftest.$ac_ext
85409 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85410 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85411 if test `eval echo '${'$as_ac_var'}'` = yes; then
85412 cat >>confdefs.h <<_ACEOF
85413 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85414 _ACEOF
85416 else
85417 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
85419 done
85422 if test x$ac_cv_func_copysignl = x"yes"; then
85424 for ac_func in __signbitl
85426 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85427 echo "$as_me:$LINENO: checking for $ac_func" >&5
85428 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85429 if eval "test \"\${$as_ac_var+set}\" = set"; then
85430 echo $ECHO_N "(cached) $ECHO_C" >&6
85431 else
85432 if test x$gcc_no_link = xyes; then
85433 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85434 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85435 { (exit 1); exit 1; }; }
85437 cat >conftest.$ac_ext <<_ACEOF
85438 /* confdefs.h. */
85439 _ACEOF
85440 cat confdefs.h >>conftest.$ac_ext
85441 cat >>conftest.$ac_ext <<_ACEOF
85442 /* end confdefs.h. */
85443 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85444 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85445 #define $ac_func innocuous_$ac_func
85447 /* System header to define __stub macros and hopefully few prototypes,
85448 which can conflict with char $ac_func (); below.
85449 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85450 <limits.h> exists even on freestanding compilers. */
85452 #ifdef __STDC__
85453 # include <limits.h>
85454 #else
85455 # include <assert.h>
85456 #endif
85458 #undef $ac_func
85460 /* Override any gcc2 internal prototype to avoid an error. */
85461 #ifdef __cplusplus
85462 extern "C"
85464 #endif
85465 /* We use char because int might match the return type of a gcc2
85466 builtin and then its argument prototype would still apply. */
85467 char $ac_func ();
85468 /* The GNU C library defines this for functions which it implements
85469 to always fail with ENOSYS. Some functions are actually named
85470 something starting with __ and the normal name is an alias. */
85471 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85472 choke me
85473 #else
85474 char (*f) () = $ac_func;
85475 #endif
85476 #ifdef __cplusplus
85478 #endif
85481 main ()
85483 return f != $ac_func;
85485 return 0;
85487 _ACEOF
85488 rm -f conftest.$ac_objext conftest$ac_exeext
85489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85490 (eval $ac_link) 2>conftest.er1
85491 ac_status=$?
85492 grep -v '^ *+' conftest.er1 >conftest.err
85493 rm -f conftest.er1
85494 cat conftest.err >&5
85495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85496 (exit $ac_status); } &&
85497 { ac_try='test -z "$ac_c_werror_flag"
85498 || test ! -s conftest.err'
85499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85500 (eval $ac_try) 2>&5
85501 ac_status=$?
85502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85503 (exit $ac_status); }; } &&
85504 { ac_try='test -s conftest$ac_exeext'
85505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85506 (eval $ac_try) 2>&5
85507 ac_status=$?
85508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85509 (exit $ac_status); }; }; then
85510 eval "$as_ac_var=yes"
85511 else
85512 echo "$as_me: failed program was:" >&5
85513 sed 's/^/| /' conftest.$ac_ext >&5
85515 eval "$as_ac_var=no"
85517 rm -f conftest.err conftest.$ac_objext \
85518 conftest$ac_exeext conftest.$ac_ext
85520 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85521 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85522 if test `eval echo '${'$as_ac_var'}'` = yes; then
85523 cat >>confdefs.h <<_ACEOF
85524 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85525 _ACEOF
85527 else
85528 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
85530 done
85534 # Used in libmath/Makefile.am.
85535 if test -n "$LIBMATHOBJS"; then
85536 need_libmath=yes
85540 cat >>confdefs.h <<\_ACEOF
85541 #define HAVE_LC_MESSAGES 1
85542 _ACEOF
85544 cat >>confdefs.h <<\_ACEOF
85545 #define HAVE_GETPAGESIZE 1
85546 _ACEOF
85548 cat >>confdefs.h <<\_ACEOF
85549 #define HAVE_SETENV 1
85550 _ACEOF
85552 cat >>confdefs.h <<\_ACEOF
85553 #define HAVE_SIGSETJMP 1
85554 _ACEOF
85556 cat >>confdefs.h <<\_ACEOF
85557 #define HAVE_COPYSIGN 1
85558 _ACEOF
85560 cat >>confdefs.h <<\_ACEOF
85561 #define HAVE_COPYSIGNF 1
85562 _ACEOF
85564 cat >>confdefs.h <<\_ACEOF
85565 #define HAVE_FINITEF 1
85566 _ACEOF
85568 cat >>confdefs.h <<\_ACEOF
85569 #define HAVE_FINITE 1
85570 _ACEOF
85572 cat >>confdefs.h <<\_ACEOF
85573 #define HAVE_FREXPF 1
85574 _ACEOF
85576 cat >>confdefs.h <<\_ACEOF
85577 #define HAVE_HYPOT 1
85578 _ACEOF
85580 cat >>confdefs.h <<\_ACEOF
85581 #define HAVE_HYPOTF 1
85582 _ACEOF
85584 cat >>confdefs.h <<\_ACEOF
85585 #define HAVE_ISINF 1
85586 _ACEOF
85588 cat >>confdefs.h <<\_ACEOF
85589 #define HAVE_ISNAN 1
85590 _ACEOF
85592 cat >>confdefs.h <<\_ACEOF
85593 #define HAVE_ISNANF 1
85594 _ACEOF
85597 cat >>confdefs.h <<\_ACEOF
85598 #define HAVE_MMAP 1
85599 _ACEOF
85601 cat >>confdefs.h <<\_ACEOF
85602 #define HAVE_ACOSF 1
85603 _ACEOF
85605 cat >>confdefs.h <<\_ACEOF
85606 #define HAVE_ASINF 1
85607 _ACEOF
85609 cat >>confdefs.h <<\_ACEOF
85610 #define HAVE_ATAN2F 1
85611 _ACEOF
85613 cat >>confdefs.h <<\_ACEOF
85614 #define HAVE_ATANF 1
85615 _ACEOF
85617 cat >>confdefs.h <<\_ACEOF
85618 #define HAVE_CEILF 1
85619 _ACEOF
85621 cat >>confdefs.h <<\_ACEOF
85622 #define HAVE_COPYSIGN 1
85623 _ACEOF
85625 cat >>confdefs.h <<\_ACEOF
85626 #define HAVE_COPYSIGNF 1
85627 _ACEOF
85629 cat >>confdefs.h <<\_ACEOF
85630 #define HAVE_COSF 1
85631 _ACEOF
85633 cat >>confdefs.h <<\_ACEOF
85634 #define HAVE_COSHF 1
85635 _ACEOF
85637 cat >>confdefs.h <<\_ACEOF
85638 #define HAVE_EXPF 1
85639 _ACEOF
85641 cat >>confdefs.h <<\_ACEOF
85642 #define HAVE_FABSF 1
85643 _ACEOF
85645 cat >>confdefs.h <<\_ACEOF
85646 #define HAVE_FLOORF 1
85647 _ACEOF
85649 cat >>confdefs.h <<\_ACEOF
85650 #define HAVE_FMODF 1
85651 _ACEOF
85653 cat >>confdefs.h <<\_ACEOF
85654 #define HAVE_FREXPF 1
85655 _ACEOF
85657 cat >>confdefs.h <<\_ACEOF
85658 #define HAVE_LDEXPF 1
85659 _ACEOF
85661 cat >>confdefs.h <<\_ACEOF
85662 #define HAVE_LOG10F 1
85663 _ACEOF
85665 cat >>confdefs.h <<\_ACEOF
85666 #define HAVE_LOGF 1
85667 _ACEOF
85669 cat >>confdefs.h <<\_ACEOF
85670 #define HAVE_MODFF 1
85671 _ACEOF
85673 cat >>confdefs.h <<\_ACEOF
85674 #define HAVE_POWF 1
85675 _ACEOF
85677 cat >>confdefs.h <<\_ACEOF
85678 #define HAVE_SINF 1
85679 _ACEOF
85681 cat >>confdefs.h <<\_ACEOF
85682 #define HAVE_SINHF 1
85683 _ACEOF
85685 cat >>confdefs.h <<\_ACEOF
85686 #define HAVE_SQRTF 1
85687 _ACEOF
85689 cat >>confdefs.h <<\_ACEOF
85690 #define HAVE_TANF 1
85691 _ACEOF
85693 cat >>confdefs.h <<\_ACEOF
85694 #define HAVE_TANHF 1
85695 _ACEOF
85697 if test x"long_double_math_on_this_cpu" = x"yes"; then
85698 cat >>confdefs.h <<\_ACEOF
85699 #define HAVE_FINITEL 1
85700 _ACEOF
85702 cat >>confdefs.h <<\_ACEOF
85703 #define HAVE_ISINFL 1
85704 _ACEOF
85706 cat >>confdefs.h <<\_ACEOF
85707 #define HAVE_ISNANL 1
85708 _ACEOF
85712 *-hpux*)
85725 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
85726 machine/endian.h machine/param.h sys/machine.h sys/types.h \
85727 fp.h locale.h float.h inttypes.h
85729 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85730 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85731 echo "$as_me:$LINENO: checking for $ac_header" >&5
85732 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85733 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85734 echo $ECHO_N "(cached) $ECHO_C" >&6
85736 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85737 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85738 else
85739 # Is the header compilable?
85740 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85741 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85742 cat >conftest.$ac_ext <<_ACEOF
85743 /* confdefs.h. */
85744 _ACEOF
85745 cat confdefs.h >>conftest.$ac_ext
85746 cat >>conftest.$ac_ext <<_ACEOF
85747 /* end confdefs.h. */
85748 $ac_includes_default
85749 #include <$ac_header>
85750 _ACEOF
85751 rm -f conftest.$ac_objext
85752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85753 (eval $ac_compile) 2>conftest.er1
85754 ac_status=$?
85755 grep -v '^ *+' conftest.er1 >conftest.err
85756 rm -f conftest.er1
85757 cat conftest.err >&5
85758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85759 (exit $ac_status); } &&
85760 { ac_try='test -z "$ac_c_werror_flag"
85761 || test ! -s conftest.err'
85762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85763 (eval $ac_try) 2>&5
85764 ac_status=$?
85765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85766 (exit $ac_status); }; } &&
85767 { ac_try='test -s conftest.$ac_objext'
85768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85769 (eval $ac_try) 2>&5
85770 ac_status=$?
85771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85772 (exit $ac_status); }; }; then
85773 ac_header_compiler=yes
85774 else
85775 echo "$as_me: failed program was:" >&5
85776 sed 's/^/| /' conftest.$ac_ext >&5
85778 ac_header_compiler=no
85780 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85781 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85782 echo "${ECHO_T}$ac_header_compiler" >&6
85784 # Is the header present?
85785 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85786 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85787 cat >conftest.$ac_ext <<_ACEOF
85788 /* confdefs.h. */
85789 _ACEOF
85790 cat confdefs.h >>conftest.$ac_ext
85791 cat >>conftest.$ac_ext <<_ACEOF
85792 /* end confdefs.h. */
85793 #include <$ac_header>
85794 _ACEOF
85795 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85796 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85797 ac_status=$?
85798 grep -v '^ *+' conftest.er1 >conftest.err
85799 rm -f conftest.er1
85800 cat conftest.err >&5
85801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85802 (exit $ac_status); } >/dev/null; then
85803 if test -s conftest.err; then
85804 ac_cpp_err=$ac_c_preproc_warn_flag
85805 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85806 else
85807 ac_cpp_err=
85809 else
85810 ac_cpp_err=yes
85812 if test -z "$ac_cpp_err"; then
85813 ac_header_preproc=yes
85814 else
85815 echo "$as_me: failed program was:" >&5
85816 sed 's/^/| /' conftest.$ac_ext >&5
85818 ac_header_preproc=no
85820 rm -f conftest.err conftest.$ac_ext
85821 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85822 echo "${ECHO_T}$ac_header_preproc" >&6
85824 # So? What about this header?
85825 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85826 yes:no: )
85827 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85828 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85829 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85830 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85831 ac_header_preproc=yes
85833 no:yes:* )
85834 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85835 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85836 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
85837 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
85838 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85839 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85840 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
85841 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
85842 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85843 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85844 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85845 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85847 cat <<\_ASBOX
85848 ## ----------------------------------------- ##
85849 ## Report this to the package-unused lists. ##
85850 ## ----------------------------------------- ##
85851 _ASBOX
85853 sed "s/^/$as_me: WARNING: /" >&2
85855 esac
85856 echo "$as_me:$LINENO: checking for $ac_header" >&5
85857 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85858 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85859 echo $ECHO_N "(cached) $ECHO_C" >&6
85860 else
85861 eval "$as_ac_Header=\$ac_header_preproc"
85863 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85864 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85867 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85868 cat >>confdefs.h <<_ACEOF
85869 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85870 _ACEOF
85874 done
85876 SECTION_FLAGS='-ffunction-sections -fdata-sections'
85879 # If we're not using GNU ld, then there's no point in even trying these
85880 # tests. Check for that first. We should have already tested for gld
85881 # by now (in libtool), but require it now just to be safe...
85882 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
85883 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
85887 # The name set by libtool depends on the version of libtool. Shame on us
85888 # for depending on an impl detail, but c'est la vie. Older versions used
85889 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
85890 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
85891 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
85892 # set (hence we're using an older libtool), then set it.
85893 if test x${with_gnu_ld+set} != xset; then
85894 if test x${ac_cv_prog_gnu_ld+set} != xset; then
85895 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
85896 with_gnu_ld=no
85897 else
85898 with_gnu_ld=$ac_cv_prog_gnu_ld
85902 # Start by getting the version number. I think the libtool test already
85903 # does some of this, but throws away the result.
85904 if test x"$with_gnu_ld" = x"yes"; then
85905 echo "$as_me:$LINENO: checking for ld version" >&5
85906 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
85908 ldver=`$LD --version 2>/dev/null | head -1 | \
85909 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
85911 glibcxx_gnu_ld_version=`echo $ldver | \
85912 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
85913 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
85914 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
85917 # Set --gc-sections.
85918 glibcxx_gcsections_min_ld=21602
85919 if test x"$with_gnu_ld" = x"yes" &&
85920 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
85922 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
85923 # NB: This flag only works reliably after 2.16.1. Configure tests
85924 # for this are difficult, so hard wire a value that should work.
85926 ac_test_CFLAGS="${CFLAGS+set}"
85927 ac_save_CFLAGS="$CFLAGS"
85928 CFLAGS='-Wl,--gc-sections'
85930 # Check for -Wl,--gc-sections
85931 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
85932 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
85933 if test x$gcc_no_link = xyes; then
85934 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85935 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85936 { (exit 1); exit 1; }; }
85938 cat >conftest.$ac_ext <<_ACEOF
85939 /* confdefs.h. */
85940 _ACEOF
85941 cat confdefs.h >>conftest.$ac_ext
85942 cat >>conftest.$ac_ext <<_ACEOF
85943 /* end confdefs.h. */
85944 int one(void) { return 1; }
85945 int two(void) { return 2; }
85948 main ()
85950 two();
85952 return 0;
85954 _ACEOF
85955 rm -f conftest.$ac_objext conftest$ac_exeext
85956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85957 (eval $ac_link) 2>conftest.er1
85958 ac_status=$?
85959 grep -v '^ *+' conftest.er1 >conftest.err
85960 rm -f conftest.er1
85961 cat conftest.err >&5
85962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85963 (exit $ac_status); } &&
85964 { ac_try='test -z "$ac_c_werror_flag"
85965 || test ! -s conftest.err'
85966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85967 (eval $ac_try) 2>&5
85968 ac_status=$?
85969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85970 (exit $ac_status); }; } &&
85971 { ac_try='test -s conftest$ac_exeext'
85972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85973 (eval $ac_try) 2>&5
85974 ac_status=$?
85975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85976 (exit $ac_status); }; }; then
85977 ac_gcsections=yes
85978 else
85979 echo "$as_me: failed program was:" >&5
85980 sed 's/^/| /' conftest.$ac_ext >&5
85982 ac_gcsections=no
85984 rm -f conftest.err conftest.$ac_objext \
85985 conftest$ac_exeext conftest.$ac_ext
85986 if test "$ac_gcsections" = "yes"; then
85987 rm -f conftest.c
85988 touch conftest.c
85989 if $CC -c conftest.c; then
85990 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
85991 grep "Warning: gc-sections option ignored" > /dev/null; then
85992 ac_gcsections=no
85995 rm -f conftest.c conftest.o conftest
85997 if test "$ac_gcsections" = "yes"; then
85998 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
86000 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
86001 echo "${ECHO_T}$ac_gcsections" >&6
86003 if test "$ac_test_CFLAGS" = set; then
86004 CFLAGS="$ac_save_CFLAGS"
86005 else
86006 # this is the suspicious part
86007 CFLAGS=''
86011 # Set -z,relro.
86012 # Note this is only for shared objects.
86013 ac_ld_relro=no
86014 if test x"$with_gnu_ld" = x"yes"; then
86015 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
86016 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
86017 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
86018 if test -n "$cxx_z_relo"; then
86019 OPT_LDFLAGS="-Wl,-z,relro"
86020 ac_ld_relro=yes
86022 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
86023 echo "${ECHO_T}$ac_ld_relro" >&6
86026 # Set linker optimization flags.
86027 if test x"$with_gnu_ld" = x"yes"; then
86028 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
86036 echo "$as_me:$LINENO: checking for main in -lm" >&5
86037 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
86038 if test "${ac_cv_lib_m_main+set}" = set; then
86039 echo $ECHO_N "(cached) $ECHO_C" >&6
86040 else
86041 ac_check_lib_save_LIBS=$LIBS
86042 LIBS="-lm $LIBS"
86043 if test x$gcc_no_link = xyes; then
86044 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86045 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86046 { (exit 1); exit 1; }; }
86048 cat >conftest.$ac_ext <<_ACEOF
86049 /* confdefs.h. */
86050 _ACEOF
86051 cat confdefs.h >>conftest.$ac_ext
86052 cat >>conftest.$ac_ext <<_ACEOF
86053 /* end confdefs.h. */
86057 main ()
86059 main ();
86061 return 0;
86063 _ACEOF
86064 rm -f conftest.$ac_objext conftest$ac_exeext
86065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86066 (eval $ac_link) 2>conftest.er1
86067 ac_status=$?
86068 grep -v '^ *+' conftest.er1 >conftest.err
86069 rm -f conftest.er1
86070 cat conftest.err >&5
86071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86072 (exit $ac_status); } &&
86073 { ac_try='test -z "$ac_c_werror_flag"
86074 || test ! -s conftest.err'
86075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86076 (eval $ac_try) 2>&5
86077 ac_status=$?
86078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86079 (exit $ac_status); }; } &&
86080 { ac_try='test -s conftest$ac_exeext'
86081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86082 (eval $ac_try) 2>&5
86083 ac_status=$?
86084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86085 (exit $ac_status); }; }; then
86086 ac_cv_lib_m_main=yes
86087 else
86088 echo "$as_me: failed program was:" >&5
86089 sed 's/^/| /' conftest.$ac_ext >&5
86091 ac_cv_lib_m_main=no
86093 rm -f conftest.err conftest.$ac_objext \
86094 conftest$ac_exeext conftest.$ac_ext
86095 LIBS=$ac_check_lib_save_LIBS
86097 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
86098 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
86099 if test $ac_cv_lib_m_main = yes; then
86100 cat >>confdefs.h <<_ACEOF
86101 #define HAVE_LIBM 1
86102 _ACEOF
86104 LIBS="-lm $LIBS"
86109 for ac_func in copysignf
86111 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86112 echo "$as_me:$LINENO: checking for $ac_func" >&5
86113 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86114 if eval "test \"\${$as_ac_var+set}\" = set"; then
86115 echo $ECHO_N "(cached) $ECHO_C" >&6
86116 else
86117 if test x$gcc_no_link = xyes; then
86118 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86119 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86120 { (exit 1); exit 1; }; }
86122 cat >conftest.$ac_ext <<_ACEOF
86123 /* confdefs.h. */
86124 _ACEOF
86125 cat confdefs.h >>conftest.$ac_ext
86126 cat >>conftest.$ac_ext <<_ACEOF
86127 /* end confdefs.h. */
86128 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86129 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86130 #define $ac_func innocuous_$ac_func
86132 /* System header to define __stub macros and hopefully few prototypes,
86133 which can conflict with char $ac_func (); below.
86134 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86135 <limits.h> exists even on freestanding compilers. */
86137 #ifdef __STDC__
86138 # include <limits.h>
86139 #else
86140 # include <assert.h>
86141 #endif
86143 #undef $ac_func
86145 /* Override any gcc2 internal prototype to avoid an error. */
86146 #ifdef __cplusplus
86147 extern "C"
86149 #endif
86150 /* We use char because int might match the return type of a gcc2
86151 builtin and then its argument prototype would still apply. */
86152 char $ac_func ();
86153 /* The GNU C library defines this for functions which it implements
86154 to always fail with ENOSYS. Some functions are actually named
86155 something starting with __ and the normal name is an alias. */
86156 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86157 choke me
86158 #else
86159 char (*f) () = $ac_func;
86160 #endif
86161 #ifdef __cplusplus
86163 #endif
86166 main ()
86168 return f != $ac_func;
86170 return 0;
86172 _ACEOF
86173 rm -f conftest.$ac_objext conftest$ac_exeext
86174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86175 (eval $ac_link) 2>conftest.er1
86176 ac_status=$?
86177 grep -v '^ *+' conftest.er1 >conftest.err
86178 rm -f conftest.er1
86179 cat conftest.err >&5
86180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86181 (exit $ac_status); } &&
86182 { ac_try='test -z "$ac_c_werror_flag"
86183 || test ! -s conftest.err'
86184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86185 (eval $ac_try) 2>&5
86186 ac_status=$?
86187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86188 (exit $ac_status); }; } &&
86189 { ac_try='test -s conftest$ac_exeext'
86190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86191 (eval $ac_try) 2>&5
86192 ac_status=$?
86193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86194 (exit $ac_status); }; }; then
86195 eval "$as_ac_var=yes"
86196 else
86197 echo "$as_me: failed program was:" >&5
86198 sed 's/^/| /' conftest.$ac_ext >&5
86200 eval "$as_ac_var=no"
86202 rm -f conftest.err conftest.$ac_objext \
86203 conftest$ac_exeext conftest.$ac_ext
86205 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86206 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86207 if test `eval echo '${'$as_ac_var'}'` = yes; then
86208 cat >>confdefs.h <<_ACEOF
86209 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86210 _ACEOF
86212 else
86213 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
86215 done
86219 for ac_func in __signbit
86221 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86222 echo "$as_me:$LINENO: checking for $ac_func" >&5
86223 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86224 if eval "test \"\${$as_ac_var+set}\" = set"; then
86225 echo $ECHO_N "(cached) $ECHO_C" >&6
86226 else
86227 if test x$gcc_no_link = xyes; then
86228 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86229 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86230 { (exit 1); exit 1; }; }
86232 cat >conftest.$ac_ext <<_ACEOF
86233 /* confdefs.h. */
86234 _ACEOF
86235 cat confdefs.h >>conftest.$ac_ext
86236 cat >>conftest.$ac_ext <<_ACEOF
86237 /* end confdefs.h. */
86238 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86239 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86240 #define $ac_func innocuous_$ac_func
86242 /* System header to define __stub macros and hopefully few prototypes,
86243 which can conflict with char $ac_func (); below.
86244 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86245 <limits.h> exists even on freestanding compilers. */
86247 #ifdef __STDC__
86248 # include <limits.h>
86249 #else
86250 # include <assert.h>
86251 #endif
86253 #undef $ac_func
86255 /* Override any gcc2 internal prototype to avoid an error. */
86256 #ifdef __cplusplus
86257 extern "C"
86259 #endif
86260 /* We use char because int might match the return type of a gcc2
86261 builtin and then its argument prototype would still apply. */
86262 char $ac_func ();
86263 /* The GNU C library defines this for functions which it implements
86264 to always fail with ENOSYS. Some functions are actually named
86265 something starting with __ and the normal name is an alias. */
86266 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86267 choke me
86268 #else
86269 char (*f) () = $ac_func;
86270 #endif
86271 #ifdef __cplusplus
86273 #endif
86276 main ()
86278 return f != $ac_func;
86280 return 0;
86282 _ACEOF
86283 rm -f conftest.$ac_objext conftest$ac_exeext
86284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86285 (eval $ac_link) 2>conftest.er1
86286 ac_status=$?
86287 grep -v '^ *+' conftest.er1 >conftest.err
86288 rm -f conftest.er1
86289 cat conftest.err >&5
86290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86291 (exit $ac_status); } &&
86292 { ac_try='test -z "$ac_c_werror_flag"
86293 || test ! -s conftest.err'
86294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86295 (eval $ac_try) 2>&5
86296 ac_status=$?
86297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86298 (exit $ac_status); }; } &&
86299 { ac_try='test -s conftest$ac_exeext'
86300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86301 (eval $ac_try) 2>&5
86302 ac_status=$?
86303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86304 (exit $ac_status); }; }; then
86305 eval "$as_ac_var=yes"
86306 else
86307 echo "$as_me: failed program was:" >&5
86308 sed 's/^/| /' conftest.$ac_ext >&5
86310 eval "$as_ac_var=no"
86312 rm -f conftest.err conftest.$ac_objext \
86313 conftest$ac_exeext conftest.$ac_ext
86315 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86316 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86317 if test `eval echo '${'$as_ac_var'}'` = yes; then
86318 cat >>confdefs.h <<_ACEOF
86319 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86320 _ACEOF
86322 else
86323 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
86325 done
86329 for ac_func in __signbitf
86331 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86332 echo "$as_me:$LINENO: checking for $ac_func" >&5
86333 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86334 if eval "test \"\${$as_ac_var+set}\" = set"; then
86335 echo $ECHO_N "(cached) $ECHO_C" >&6
86336 else
86337 if test x$gcc_no_link = xyes; then
86338 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86339 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86340 { (exit 1); exit 1; }; }
86342 cat >conftest.$ac_ext <<_ACEOF
86343 /* confdefs.h. */
86344 _ACEOF
86345 cat confdefs.h >>conftest.$ac_ext
86346 cat >>conftest.$ac_ext <<_ACEOF
86347 /* end confdefs.h. */
86348 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86349 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86350 #define $ac_func innocuous_$ac_func
86352 /* System header to define __stub macros and hopefully few prototypes,
86353 which can conflict with char $ac_func (); below.
86354 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86355 <limits.h> exists even on freestanding compilers. */
86357 #ifdef __STDC__
86358 # include <limits.h>
86359 #else
86360 # include <assert.h>
86361 #endif
86363 #undef $ac_func
86365 /* Override any gcc2 internal prototype to avoid an error. */
86366 #ifdef __cplusplus
86367 extern "C"
86369 #endif
86370 /* We use char because int might match the return type of a gcc2
86371 builtin and then its argument prototype would still apply. */
86372 char $ac_func ();
86373 /* The GNU C library defines this for functions which it implements
86374 to always fail with ENOSYS. Some functions are actually named
86375 something starting with __ and the normal name is an alias. */
86376 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86377 choke me
86378 #else
86379 char (*f) () = $ac_func;
86380 #endif
86381 #ifdef __cplusplus
86383 #endif
86386 main ()
86388 return f != $ac_func;
86390 return 0;
86392 _ACEOF
86393 rm -f conftest.$ac_objext conftest$ac_exeext
86394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86395 (eval $ac_link) 2>conftest.er1
86396 ac_status=$?
86397 grep -v '^ *+' conftest.er1 >conftest.err
86398 rm -f conftest.er1
86399 cat conftest.err >&5
86400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86401 (exit $ac_status); } &&
86402 { ac_try='test -z "$ac_c_werror_flag"
86403 || test ! -s conftest.err'
86404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86405 (eval $ac_try) 2>&5
86406 ac_status=$?
86407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86408 (exit $ac_status); }; } &&
86409 { ac_try='test -s conftest$ac_exeext'
86410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86411 (eval $ac_try) 2>&5
86412 ac_status=$?
86413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86414 (exit $ac_status); }; }; then
86415 eval "$as_ac_var=yes"
86416 else
86417 echo "$as_me: failed program was:" >&5
86418 sed 's/^/| /' conftest.$ac_ext >&5
86420 eval "$as_ac_var=no"
86422 rm -f conftest.err conftest.$ac_objext \
86423 conftest$ac_exeext conftest.$ac_ext
86425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86426 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86427 if test `eval echo '${'$as_ac_var'}'` = yes; then
86428 cat >>confdefs.h <<_ACEOF
86429 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86430 _ACEOF
86432 else
86433 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
86435 done
86438 if test x$ac_cv_func_copysignl = x"yes"; then
86440 for ac_func in __signbitl
86442 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86443 echo "$as_me:$LINENO: checking for $ac_func" >&5
86444 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86445 if eval "test \"\${$as_ac_var+set}\" = set"; then
86446 echo $ECHO_N "(cached) $ECHO_C" >&6
86447 else
86448 if test x$gcc_no_link = xyes; then
86449 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86450 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86451 { (exit 1); exit 1; }; }
86453 cat >conftest.$ac_ext <<_ACEOF
86454 /* confdefs.h. */
86455 _ACEOF
86456 cat confdefs.h >>conftest.$ac_ext
86457 cat >>conftest.$ac_ext <<_ACEOF
86458 /* end confdefs.h. */
86459 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86460 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86461 #define $ac_func innocuous_$ac_func
86463 /* System header to define __stub macros and hopefully few prototypes,
86464 which can conflict with char $ac_func (); below.
86465 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86466 <limits.h> exists even on freestanding compilers. */
86468 #ifdef __STDC__
86469 # include <limits.h>
86470 #else
86471 # include <assert.h>
86472 #endif
86474 #undef $ac_func
86476 /* Override any gcc2 internal prototype to avoid an error. */
86477 #ifdef __cplusplus
86478 extern "C"
86480 #endif
86481 /* We use char because int might match the return type of a gcc2
86482 builtin and then its argument prototype would still apply. */
86483 char $ac_func ();
86484 /* The GNU C library defines this for functions which it implements
86485 to always fail with ENOSYS. Some functions are actually named
86486 something starting with __ and the normal name is an alias. */
86487 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86488 choke me
86489 #else
86490 char (*f) () = $ac_func;
86491 #endif
86492 #ifdef __cplusplus
86494 #endif
86497 main ()
86499 return f != $ac_func;
86501 return 0;
86503 _ACEOF
86504 rm -f conftest.$ac_objext conftest$ac_exeext
86505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86506 (eval $ac_link) 2>conftest.er1
86507 ac_status=$?
86508 grep -v '^ *+' conftest.er1 >conftest.err
86509 rm -f conftest.er1
86510 cat conftest.err >&5
86511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86512 (exit $ac_status); } &&
86513 { ac_try='test -z "$ac_c_werror_flag"
86514 || test ! -s conftest.err'
86515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86516 (eval $ac_try) 2>&5
86517 ac_status=$?
86518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86519 (exit $ac_status); }; } &&
86520 { ac_try='test -s conftest$ac_exeext'
86521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86522 (eval $ac_try) 2>&5
86523 ac_status=$?
86524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86525 (exit $ac_status); }; }; then
86526 eval "$as_ac_var=yes"
86527 else
86528 echo "$as_me: failed program was:" >&5
86529 sed 's/^/| /' conftest.$ac_ext >&5
86531 eval "$as_ac_var=no"
86533 rm -f conftest.err conftest.$ac_objext \
86534 conftest$ac_exeext conftest.$ac_ext
86536 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86537 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86538 if test `eval echo '${'$as_ac_var'}'` = yes; then
86539 cat >>confdefs.h <<_ACEOF
86540 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86541 _ACEOF
86543 else
86544 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
86546 done
86550 # Used in libmath/Makefile.am.
86551 if test -n "$LIBMATHOBJS"; then
86552 need_libmath=yes
86556 cat >>confdefs.h <<\_ACEOF
86557 #define HAVE_COPYSIGN 1
86558 _ACEOF
86560 cat >>confdefs.h <<\_ACEOF
86561 #define HAVE_COPYSIGNF 1
86562 _ACEOF
86564 cat >>confdefs.h <<\_ACEOF
86565 #define HAVE_FREXPF 1
86566 _ACEOF
86568 cat >>confdefs.h <<\_ACEOF
86569 #define HAVE_HYPOT 1
86570 _ACEOF
86572 case "$target" in
86573 *-hpux10*)
86574 cat >>confdefs.h <<\_ACEOF
86575 #define HAVE_FINITE 1
86576 _ACEOF
86578 cat >>confdefs.h <<\_ACEOF
86579 #define HAVE_FINITEF 1
86580 _ACEOF
86582 cat >>confdefs.h <<\_ACEOF
86583 #define HAVE_ISINF 1
86584 _ACEOF
86586 cat >>confdefs.h <<\_ACEOF
86587 #define HAVE_ISINFF 1
86588 _ACEOF
86590 cat >>confdefs.h <<\_ACEOF
86591 #define HAVE_ISNAN 1
86592 _ACEOF
86594 cat >>confdefs.h <<\_ACEOF
86595 #define HAVE_ISNANF 1
86596 _ACEOF
86599 esac
86601 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
86617 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
86618 machine/endian.h machine/param.h sys/machine.h sys/types.h \
86619 fp.h float.h endian.h inttypes.h locale.h float.h stdint.h
86621 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
86622 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86623 echo "$as_me:$LINENO: checking for $ac_header" >&5
86624 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86625 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86626 echo $ECHO_N "(cached) $ECHO_C" >&6
86628 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86629 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86630 else
86631 # Is the header compilable?
86632 echo "$as_me:$LINENO: checking $ac_header usability" >&5
86633 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
86634 cat >conftest.$ac_ext <<_ACEOF
86635 /* confdefs.h. */
86636 _ACEOF
86637 cat confdefs.h >>conftest.$ac_ext
86638 cat >>conftest.$ac_ext <<_ACEOF
86639 /* end confdefs.h. */
86640 $ac_includes_default
86641 #include <$ac_header>
86642 _ACEOF
86643 rm -f conftest.$ac_objext
86644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86645 (eval $ac_compile) 2>conftest.er1
86646 ac_status=$?
86647 grep -v '^ *+' conftest.er1 >conftest.err
86648 rm -f conftest.er1
86649 cat conftest.err >&5
86650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86651 (exit $ac_status); } &&
86652 { ac_try='test -z "$ac_c_werror_flag"
86653 || test ! -s conftest.err'
86654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86655 (eval $ac_try) 2>&5
86656 ac_status=$?
86657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86658 (exit $ac_status); }; } &&
86659 { ac_try='test -s conftest.$ac_objext'
86660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86661 (eval $ac_try) 2>&5
86662 ac_status=$?
86663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86664 (exit $ac_status); }; }; then
86665 ac_header_compiler=yes
86666 else
86667 echo "$as_me: failed program was:" >&5
86668 sed 's/^/| /' conftest.$ac_ext >&5
86670 ac_header_compiler=no
86672 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86673 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86674 echo "${ECHO_T}$ac_header_compiler" >&6
86676 # Is the header present?
86677 echo "$as_me:$LINENO: checking $ac_header presence" >&5
86678 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
86679 cat >conftest.$ac_ext <<_ACEOF
86680 /* confdefs.h. */
86681 _ACEOF
86682 cat confdefs.h >>conftest.$ac_ext
86683 cat >>conftest.$ac_ext <<_ACEOF
86684 /* end confdefs.h. */
86685 #include <$ac_header>
86686 _ACEOF
86687 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86688 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86689 ac_status=$?
86690 grep -v '^ *+' conftest.er1 >conftest.err
86691 rm -f conftest.er1
86692 cat conftest.err >&5
86693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86694 (exit $ac_status); } >/dev/null; then
86695 if test -s conftest.err; then
86696 ac_cpp_err=$ac_c_preproc_warn_flag
86697 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86698 else
86699 ac_cpp_err=
86701 else
86702 ac_cpp_err=yes
86704 if test -z "$ac_cpp_err"; then
86705 ac_header_preproc=yes
86706 else
86707 echo "$as_me: failed program was:" >&5
86708 sed 's/^/| /' conftest.$ac_ext >&5
86710 ac_header_preproc=no
86712 rm -f conftest.err conftest.$ac_ext
86713 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86714 echo "${ECHO_T}$ac_header_preproc" >&6
86716 # So? What about this header?
86717 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86718 yes:no: )
86719 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
86720 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
86721 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
86722 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
86723 ac_header_preproc=yes
86725 no:yes:* )
86726 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
86727 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
86728 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
86729 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
86730 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
86731 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
86732 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
86733 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
86734 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
86735 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
86736 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
86737 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
86739 cat <<\_ASBOX
86740 ## ----------------------------------------- ##
86741 ## Report this to the package-unused lists. ##
86742 ## ----------------------------------------- ##
86743 _ASBOX
86745 sed "s/^/$as_me: WARNING: /" >&2
86747 esac
86748 echo "$as_me:$LINENO: checking for $ac_header" >&5
86749 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86750 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86751 echo $ECHO_N "(cached) $ECHO_C" >&6
86752 else
86753 eval "$as_ac_Header=\$ac_header_preproc"
86755 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86756 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86759 if test `eval echo '${'$as_ac_Header'}'` = yes; then
86760 cat >>confdefs.h <<_ACEOF
86761 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
86762 _ACEOF
86766 done
86768 SECTION_FLAGS='-ffunction-sections -fdata-sections'
86771 # All these tests are for C++; save the language and the compiler flags.
86772 # The CXXFLAGS thing is suspicious, but based on similar bits previously
86773 # found in GLIBCXX_CONFIGURE.
86776 ac_ext=cc
86777 ac_cpp='$CXXCPP $CPPFLAGS'
86778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86782 ac_test_CXXFLAGS="${CXXFLAGS+set}"
86783 ac_save_CXXFLAGS="$CXXFLAGS"
86785 # Check for maintainer-mode bits.
86786 if test x"$USE_MAINTAINER_MODE" = xno; then
86787 WERROR=''
86788 else
86789 WERROR='-Werror'
86792 # Check for -ffunction-sections -fdata-sections
86793 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
86794 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
86795 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
86796 cat >conftest.$ac_ext <<_ACEOF
86797 /* confdefs.h. */
86798 _ACEOF
86799 cat confdefs.h >>conftest.$ac_ext
86800 cat >>conftest.$ac_ext <<_ACEOF
86801 /* end confdefs.h. */
86802 int foo; void bar() { };
86804 main ()
86808 return 0;
86810 _ACEOF
86811 rm -f conftest.$ac_objext
86812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86813 (eval $ac_compile) 2>conftest.er1
86814 ac_status=$?
86815 grep -v '^ *+' conftest.er1 >conftest.err
86816 rm -f conftest.er1
86817 cat conftest.err >&5
86818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86819 (exit $ac_status); } &&
86820 { ac_try='test -z "$ac_cxx_werror_flag"
86821 || test ! -s conftest.err'
86822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86823 (eval $ac_try) 2>&5
86824 ac_status=$?
86825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86826 (exit $ac_status); }; } &&
86827 { ac_try='test -s conftest.$ac_objext'
86828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86829 (eval $ac_try) 2>&5
86830 ac_status=$?
86831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86832 (exit $ac_status); }; }; then
86833 ac_fdsections=yes
86834 else
86835 echo "$as_me: failed program was:" >&5
86836 sed 's/^/| /' conftest.$ac_ext >&5
86838 ac_fdsections=no
86840 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86841 if test "$ac_test_CXXFLAGS" = set; then
86842 CXXFLAGS="$ac_save_CXXFLAGS"
86843 else
86844 # this is the suspicious part
86845 CXXFLAGS=''
86847 if test x"$ac_fdsections" = x"yes"; then
86848 SECTION_FLAGS='-ffunction-sections -fdata-sections'
86850 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
86851 echo "${ECHO_T}$ac_fdsections" >&6
86853 ac_ext=c
86854 ac_cpp='$CPP $CPPFLAGS'
86855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86863 # If we're not using GNU ld, then there's no point in even trying these
86864 # tests. Check for that first. We should have already tested for gld
86865 # by now (in libtool), but require it now just to be safe...
86866 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
86867 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
86871 # The name set by libtool depends on the version of libtool. Shame on us
86872 # for depending on an impl detail, but c'est la vie. Older versions used
86873 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
86874 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
86875 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
86876 # set (hence we're using an older libtool), then set it.
86877 if test x${with_gnu_ld+set} != xset; then
86878 if test x${ac_cv_prog_gnu_ld+set} != xset; then
86879 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
86880 with_gnu_ld=no
86881 else
86882 with_gnu_ld=$ac_cv_prog_gnu_ld
86886 # Start by getting the version number. I think the libtool test already
86887 # does some of this, but throws away the result.
86888 if test x"$with_gnu_ld" = x"yes"; then
86889 echo "$as_me:$LINENO: checking for ld version" >&5
86890 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
86892 ldver=`$LD --version 2>/dev/null | head -1 | \
86893 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
86895 glibcxx_gnu_ld_version=`echo $ldver | \
86896 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
86897 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
86898 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
86901 # Set --gc-sections.
86902 glibcxx_gcsections_min_ld=21602
86903 if test x"$with_gnu_ld" = x"yes" &&
86904 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
86906 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
86907 # NB: This flag only works reliably after 2.16.1. Configure tests
86908 # for this are difficult, so hard wire a value that should work.
86910 ac_test_CFLAGS="${CFLAGS+set}"
86911 ac_save_CFLAGS="$CFLAGS"
86912 CFLAGS='-Wl,--gc-sections'
86914 # Check for -Wl,--gc-sections
86915 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
86916 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
86917 if test x$gcc_no_link = xyes; then
86918 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86919 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86920 { (exit 1); exit 1; }; }
86922 cat >conftest.$ac_ext <<_ACEOF
86923 /* confdefs.h. */
86924 _ACEOF
86925 cat confdefs.h >>conftest.$ac_ext
86926 cat >>conftest.$ac_ext <<_ACEOF
86927 /* end confdefs.h. */
86928 int one(void) { return 1; }
86929 int two(void) { return 2; }
86932 main ()
86934 two();
86936 return 0;
86938 _ACEOF
86939 rm -f conftest.$ac_objext conftest$ac_exeext
86940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86941 (eval $ac_link) 2>conftest.er1
86942 ac_status=$?
86943 grep -v '^ *+' conftest.er1 >conftest.err
86944 rm -f conftest.er1
86945 cat conftest.err >&5
86946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86947 (exit $ac_status); } &&
86948 { ac_try='test -z "$ac_c_werror_flag"
86949 || test ! -s conftest.err'
86950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86951 (eval $ac_try) 2>&5
86952 ac_status=$?
86953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86954 (exit $ac_status); }; } &&
86955 { ac_try='test -s conftest$ac_exeext'
86956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86957 (eval $ac_try) 2>&5
86958 ac_status=$?
86959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86960 (exit $ac_status); }; }; then
86961 ac_gcsections=yes
86962 else
86963 echo "$as_me: failed program was:" >&5
86964 sed 's/^/| /' conftest.$ac_ext >&5
86966 ac_gcsections=no
86968 rm -f conftest.err conftest.$ac_objext \
86969 conftest$ac_exeext conftest.$ac_ext
86970 if test "$ac_gcsections" = "yes"; then
86971 rm -f conftest.c
86972 touch conftest.c
86973 if $CC -c conftest.c; then
86974 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
86975 grep "Warning: gc-sections option ignored" > /dev/null; then
86976 ac_gcsections=no
86979 rm -f conftest.c conftest.o conftest
86981 if test "$ac_gcsections" = "yes"; then
86982 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
86984 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
86985 echo "${ECHO_T}$ac_gcsections" >&6
86987 if test "$ac_test_CFLAGS" = set; then
86988 CFLAGS="$ac_save_CFLAGS"
86989 else
86990 # this is the suspicious part
86991 CFLAGS=''
86995 # Set -z,relro.
86996 # Note this is only for shared objects.
86997 ac_ld_relro=no
86998 if test x"$with_gnu_ld" = x"yes"; then
86999 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
87000 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
87001 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
87002 if test -n "$cxx_z_relo"; then
87003 OPT_LDFLAGS="-Wl,-z,relro"
87004 ac_ld_relro=yes
87006 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
87007 echo "${ECHO_T}$ac_ld_relro" >&6
87010 # Set linker optimization flags.
87011 if test x"$with_gnu_ld" = x"yes"; then
87012 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
87019 ac_test_CXXFLAGS="${CXXFLAGS+set}"
87020 ac_save_CXXFLAGS="$CXXFLAGS"
87021 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
87023 echo "$as_me:$LINENO: checking for sin in -lm" >&5
87024 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
87025 if test "${ac_cv_lib_m_sin+set}" = set; then
87026 echo $ECHO_N "(cached) $ECHO_C" >&6
87027 else
87028 ac_check_lib_save_LIBS=$LIBS
87029 LIBS="-lm $LIBS"
87030 if test x$gcc_no_link = xyes; then
87031 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87032 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87033 { (exit 1); exit 1; }; }
87035 cat >conftest.$ac_ext <<_ACEOF
87036 /* confdefs.h. */
87037 _ACEOF
87038 cat confdefs.h >>conftest.$ac_ext
87039 cat >>conftest.$ac_ext <<_ACEOF
87040 /* end confdefs.h. */
87042 /* Override any gcc2 internal prototype to avoid an error. */
87043 #ifdef __cplusplus
87044 extern "C"
87045 #endif
87046 /* We use char because int might match the return type of a gcc2
87047 builtin and then its argument prototype would still apply. */
87048 char sin ();
87050 main ()
87052 sin ();
87054 return 0;
87056 _ACEOF
87057 rm -f conftest.$ac_objext conftest$ac_exeext
87058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87059 (eval $ac_link) 2>conftest.er1
87060 ac_status=$?
87061 grep -v '^ *+' conftest.er1 >conftest.err
87062 rm -f conftest.er1
87063 cat conftest.err >&5
87064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87065 (exit $ac_status); } &&
87066 { ac_try='test -z "$ac_c_werror_flag"
87067 || test ! -s conftest.err'
87068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87069 (eval $ac_try) 2>&5
87070 ac_status=$?
87071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87072 (exit $ac_status); }; } &&
87073 { ac_try='test -s conftest$ac_exeext'
87074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87075 (eval $ac_try) 2>&5
87076 ac_status=$?
87077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87078 (exit $ac_status); }; }; then
87079 ac_cv_lib_m_sin=yes
87080 else
87081 echo "$as_me: failed program was:" >&5
87082 sed 's/^/| /' conftest.$ac_ext >&5
87084 ac_cv_lib_m_sin=no
87086 rm -f conftest.err conftest.$ac_objext \
87087 conftest$ac_exeext conftest.$ac_ext
87088 LIBS=$ac_check_lib_save_LIBS
87090 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
87091 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
87092 if test $ac_cv_lib_m_sin = yes; then
87093 libm="-lm"
87096 ac_save_LIBS="$LIBS"
87097 LIBS="$LIBS $libm"
87101 echo "$as_me:$LINENO: checking for isinf declaration" >&5
87102 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
87103 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
87104 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
87105 echo $ECHO_N "(cached) $ECHO_C" >&6
87106 else
87110 ac_ext=cc
87111 ac_cpp='$CXXCPP $CPPFLAGS'
87112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87116 cat >conftest.$ac_ext <<_ACEOF
87117 /* confdefs.h. */
87118 _ACEOF
87119 cat confdefs.h >>conftest.$ac_ext
87120 cat >>conftest.$ac_ext <<_ACEOF
87121 /* end confdefs.h. */
87122 #include <math.h>
87123 #ifdef HAVE_IEEEFP_H
87124 #include <ieeefp.h>
87125 #endif
87128 main ()
87130 isinf(0);
87132 return 0;
87134 _ACEOF
87135 rm -f conftest.$ac_objext
87136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87137 (eval $ac_compile) 2>conftest.er1
87138 ac_status=$?
87139 grep -v '^ *+' conftest.er1 >conftest.err
87140 rm -f conftest.er1
87141 cat conftest.err >&5
87142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87143 (exit $ac_status); } &&
87144 { ac_try='test -z "$ac_cxx_werror_flag"
87145 || test ! -s conftest.err'
87146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87147 (eval $ac_try) 2>&5
87148 ac_status=$?
87149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87150 (exit $ac_status); }; } &&
87151 { ac_try='test -s conftest.$ac_objext'
87152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87153 (eval $ac_try) 2>&5
87154 ac_status=$?
87155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87156 (exit $ac_status); }; }; then
87157 glibcxx_cv_func_isinf_use=yes
87158 else
87159 echo "$as_me: failed program was:" >&5
87160 sed 's/^/| /' conftest.$ac_ext >&5
87162 glibcxx_cv_func_isinf_use=no
87164 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87165 ac_ext=c
87166 ac_cpp='$CPP $CPPFLAGS'
87167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87175 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
87176 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
87178 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
87180 for ac_func in isinf
87182 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87183 echo "$as_me:$LINENO: checking for $ac_func" >&5
87184 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87185 if eval "test \"\${$as_ac_var+set}\" = set"; then
87186 echo $ECHO_N "(cached) $ECHO_C" >&6
87187 else
87188 if test x$gcc_no_link = xyes; then
87189 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87190 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87191 { (exit 1); exit 1; }; }
87193 cat >conftest.$ac_ext <<_ACEOF
87194 /* confdefs.h. */
87195 _ACEOF
87196 cat confdefs.h >>conftest.$ac_ext
87197 cat >>conftest.$ac_ext <<_ACEOF
87198 /* end confdefs.h. */
87199 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87200 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87201 #define $ac_func innocuous_$ac_func
87203 /* System header to define __stub macros and hopefully few prototypes,
87204 which can conflict with char $ac_func (); below.
87205 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87206 <limits.h> exists even on freestanding compilers. */
87208 #ifdef __STDC__
87209 # include <limits.h>
87210 #else
87211 # include <assert.h>
87212 #endif
87214 #undef $ac_func
87216 /* Override any gcc2 internal prototype to avoid an error. */
87217 #ifdef __cplusplus
87218 extern "C"
87220 #endif
87221 /* We use char because int might match the return type of a gcc2
87222 builtin and then its argument prototype would still apply. */
87223 char $ac_func ();
87224 /* The GNU C library defines this for functions which it implements
87225 to always fail with ENOSYS. Some functions are actually named
87226 something starting with __ and the normal name is an alias. */
87227 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87228 choke me
87229 #else
87230 char (*f) () = $ac_func;
87231 #endif
87232 #ifdef __cplusplus
87234 #endif
87237 main ()
87239 return f != $ac_func;
87241 return 0;
87243 _ACEOF
87244 rm -f conftest.$ac_objext conftest$ac_exeext
87245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87246 (eval $ac_link) 2>conftest.er1
87247 ac_status=$?
87248 grep -v '^ *+' conftest.er1 >conftest.err
87249 rm -f conftest.er1
87250 cat conftest.err >&5
87251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87252 (exit $ac_status); } &&
87253 { ac_try='test -z "$ac_c_werror_flag"
87254 || test ! -s conftest.err'
87255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87256 (eval $ac_try) 2>&5
87257 ac_status=$?
87258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87259 (exit $ac_status); }; } &&
87260 { ac_try='test -s conftest$ac_exeext'
87261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87262 (eval $ac_try) 2>&5
87263 ac_status=$?
87264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87265 (exit $ac_status); }; }; then
87266 eval "$as_ac_var=yes"
87267 else
87268 echo "$as_me: failed program was:" >&5
87269 sed 's/^/| /' conftest.$ac_ext >&5
87271 eval "$as_ac_var=no"
87273 rm -f conftest.err conftest.$ac_objext \
87274 conftest$ac_exeext conftest.$ac_ext
87276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87277 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87278 if test `eval echo '${'$as_ac_var'}'` = yes; then
87279 cat >>confdefs.h <<_ACEOF
87280 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87281 _ACEOF
87284 done
87286 else
87288 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
87289 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
87290 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
87291 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
87292 echo $ECHO_N "(cached) $ECHO_C" >&6
87293 else
87297 ac_ext=cc
87298 ac_cpp='$CXXCPP $CPPFLAGS'
87299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87303 cat >conftest.$ac_ext <<_ACEOF
87304 /* confdefs.h. */
87305 _ACEOF
87306 cat confdefs.h >>conftest.$ac_ext
87307 cat >>conftest.$ac_ext <<_ACEOF
87308 /* end confdefs.h. */
87309 #include <math.h>
87310 #ifdef HAVE_IEEEFP_H
87311 #include <ieeefp.h>
87312 #endif
87315 main ()
87317 _isinf(0);
87319 return 0;
87321 _ACEOF
87322 rm -f conftest.$ac_objext
87323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87324 (eval $ac_compile) 2>conftest.er1
87325 ac_status=$?
87326 grep -v '^ *+' conftest.er1 >conftest.err
87327 rm -f conftest.er1
87328 cat conftest.err >&5
87329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87330 (exit $ac_status); } &&
87331 { ac_try='test -z "$ac_cxx_werror_flag"
87332 || test ! -s conftest.err'
87333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87334 (eval $ac_try) 2>&5
87335 ac_status=$?
87336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87337 (exit $ac_status); }; } &&
87338 { ac_try='test -s conftest.$ac_objext'
87339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87340 (eval $ac_try) 2>&5
87341 ac_status=$?
87342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87343 (exit $ac_status); }; }; then
87344 glibcxx_cv_func__isinf_use=yes
87345 else
87346 echo "$as_me: failed program was:" >&5
87347 sed 's/^/| /' conftest.$ac_ext >&5
87349 glibcxx_cv_func__isinf_use=no
87351 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87352 ac_ext=c
87353 ac_cpp='$CPP $CPPFLAGS'
87354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87362 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
87363 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
87365 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
87367 for ac_func in _isinf
87369 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87370 echo "$as_me:$LINENO: checking for $ac_func" >&5
87371 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87372 if eval "test \"\${$as_ac_var+set}\" = set"; then
87373 echo $ECHO_N "(cached) $ECHO_C" >&6
87374 else
87375 if test x$gcc_no_link = xyes; then
87376 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87377 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87378 { (exit 1); exit 1; }; }
87380 cat >conftest.$ac_ext <<_ACEOF
87381 /* confdefs.h. */
87382 _ACEOF
87383 cat confdefs.h >>conftest.$ac_ext
87384 cat >>conftest.$ac_ext <<_ACEOF
87385 /* end confdefs.h. */
87386 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87387 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87388 #define $ac_func innocuous_$ac_func
87390 /* System header to define __stub macros and hopefully few prototypes,
87391 which can conflict with char $ac_func (); below.
87392 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87393 <limits.h> exists even on freestanding compilers. */
87395 #ifdef __STDC__
87396 # include <limits.h>
87397 #else
87398 # include <assert.h>
87399 #endif
87401 #undef $ac_func
87403 /* Override any gcc2 internal prototype to avoid an error. */
87404 #ifdef __cplusplus
87405 extern "C"
87407 #endif
87408 /* We use char because int might match the return type of a gcc2
87409 builtin and then its argument prototype would still apply. */
87410 char $ac_func ();
87411 /* The GNU C library defines this for functions which it implements
87412 to always fail with ENOSYS. Some functions are actually named
87413 something starting with __ and the normal name is an alias. */
87414 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87415 choke me
87416 #else
87417 char (*f) () = $ac_func;
87418 #endif
87419 #ifdef __cplusplus
87421 #endif
87424 main ()
87426 return f != $ac_func;
87428 return 0;
87430 _ACEOF
87431 rm -f conftest.$ac_objext conftest$ac_exeext
87432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87433 (eval $ac_link) 2>conftest.er1
87434 ac_status=$?
87435 grep -v '^ *+' conftest.er1 >conftest.err
87436 rm -f conftest.er1
87437 cat conftest.err >&5
87438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87439 (exit $ac_status); } &&
87440 { ac_try='test -z "$ac_c_werror_flag"
87441 || test ! -s conftest.err'
87442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87443 (eval $ac_try) 2>&5
87444 ac_status=$?
87445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87446 (exit $ac_status); }; } &&
87447 { ac_try='test -s conftest$ac_exeext'
87448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87449 (eval $ac_try) 2>&5
87450 ac_status=$?
87451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87452 (exit $ac_status); }; }; then
87453 eval "$as_ac_var=yes"
87454 else
87455 echo "$as_me: failed program was:" >&5
87456 sed 's/^/| /' conftest.$ac_ext >&5
87458 eval "$as_ac_var=no"
87460 rm -f conftest.err conftest.$ac_objext \
87461 conftest$ac_exeext conftest.$ac_ext
87463 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87464 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87465 if test `eval echo '${'$as_ac_var'}'` = yes; then
87466 cat >>confdefs.h <<_ACEOF
87467 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87468 _ACEOF
87471 done
87481 echo "$as_me:$LINENO: checking for isnan declaration" >&5
87482 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
87483 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
87484 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
87485 echo $ECHO_N "(cached) $ECHO_C" >&6
87486 else
87490 ac_ext=cc
87491 ac_cpp='$CXXCPP $CPPFLAGS'
87492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87496 cat >conftest.$ac_ext <<_ACEOF
87497 /* confdefs.h. */
87498 _ACEOF
87499 cat confdefs.h >>conftest.$ac_ext
87500 cat >>conftest.$ac_ext <<_ACEOF
87501 /* end confdefs.h. */
87502 #include <math.h>
87503 #ifdef HAVE_IEEEFP_H
87504 #include <ieeefp.h>
87505 #endif
87508 main ()
87510 isnan(0);
87512 return 0;
87514 _ACEOF
87515 rm -f conftest.$ac_objext
87516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87517 (eval $ac_compile) 2>conftest.er1
87518 ac_status=$?
87519 grep -v '^ *+' conftest.er1 >conftest.err
87520 rm -f conftest.er1
87521 cat conftest.err >&5
87522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87523 (exit $ac_status); } &&
87524 { ac_try='test -z "$ac_cxx_werror_flag"
87525 || test ! -s conftest.err'
87526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87527 (eval $ac_try) 2>&5
87528 ac_status=$?
87529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87530 (exit $ac_status); }; } &&
87531 { ac_try='test -s conftest.$ac_objext'
87532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87533 (eval $ac_try) 2>&5
87534 ac_status=$?
87535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87536 (exit $ac_status); }; }; then
87537 glibcxx_cv_func_isnan_use=yes
87538 else
87539 echo "$as_me: failed program was:" >&5
87540 sed 's/^/| /' conftest.$ac_ext >&5
87542 glibcxx_cv_func_isnan_use=no
87544 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87545 ac_ext=c
87546 ac_cpp='$CPP $CPPFLAGS'
87547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87555 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
87556 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
87558 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
87560 for ac_func in isnan
87562 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87563 echo "$as_me:$LINENO: checking for $ac_func" >&5
87564 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87565 if eval "test \"\${$as_ac_var+set}\" = set"; then
87566 echo $ECHO_N "(cached) $ECHO_C" >&6
87567 else
87568 if test x$gcc_no_link = xyes; then
87569 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87570 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87571 { (exit 1); exit 1; }; }
87573 cat >conftest.$ac_ext <<_ACEOF
87574 /* confdefs.h. */
87575 _ACEOF
87576 cat confdefs.h >>conftest.$ac_ext
87577 cat >>conftest.$ac_ext <<_ACEOF
87578 /* end confdefs.h. */
87579 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87580 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87581 #define $ac_func innocuous_$ac_func
87583 /* System header to define __stub macros and hopefully few prototypes,
87584 which can conflict with char $ac_func (); below.
87585 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87586 <limits.h> exists even on freestanding compilers. */
87588 #ifdef __STDC__
87589 # include <limits.h>
87590 #else
87591 # include <assert.h>
87592 #endif
87594 #undef $ac_func
87596 /* Override any gcc2 internal prototype to avoid an error. */
87597 #ifdef __cplusplus
87598 extern "C"
87600 #endif
87601 /* We use char because int might match the return type of a gcc2
87602 builtin and then its argument prototype would still apply. */
87603 char $ac_func ();
87604 /* The GNU C library defines this for functions which it implements
87605 to always fail with ENOSYS. Some functions are actually named
87606 something starting with __ and the normal name is an alias. */
87607 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87608 choke me
87609 #else
87610 char (*f) () = $ac_func;
87611 #endif
87612 #ifdef __cplusplus
87614 #endif
87617 main ()
87619 return f != $ac_func;
87621 return 0;
87623 _ACEOF
87624 rm -f conftest.$ac_objext conftest$ac_exeext
87625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87626 (eval $ac_link) 2>conftest.er1
87627 ac_status=$?
87628 grep -v '^ *+' conftest.er1 >conftest.err
87629 rm -f conftest.er1
87630 cat conftest.err >&5
87631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87632 (exit $ac_status); } &&
87633 { ac_try='test -z "$ac_c_werror_flag"
87634 || test ! -s conftest.err'
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); }; } &&
87640 { ac_try='test -s conftest$ac_exeext'
87641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87642 (eval $ac_try) 2>&5
87643 ac_status=$?
87644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87645 (exit $ac_status); }; }; then
87646 eval "$as_ac_var=yes"
87647 else
87648 echo "$as_me: failed program was:" >&5
87649 sed 's/^/| /' conftest.$ac_ext >&5
87651 eval "$as_ac_var=no"
87653 rm -f conftest.err conftest.$ac_objext \
87654 conftest$ac_exeext conftest.$ac_ext
87656 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87657 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87658 if test `eval echo '${'$as_ac_var'}'` = yes; then
87659 cat >>confdefs.h <<_ACEOF
87660 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87661 _ACEOF
87664 done
87666 else
87668 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
87669 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
87670 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
87671 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
87672 echo $ECHO_N "(cached) $ECHO_C" >&6
87673 else
87677 ac_ext=cc
87678 ac_cpp='$CXXCPP $CPPFLAGS'
87679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87683 cat >conftest.$ac_ext <<_ACEOF
87684 /* confdefs.h. */
87685 _ACEOF
87686 cat confdefs.h >>conftest.$ac_ext
87687 cat >>conftest.$ac_ext <<_ACEOF
87688 /* end confdefs.h. */
87689 #include <math.h>
87690 #ifdef HAVE_IEEEFP_H
87691 #include <ieeefp.h>
87692 #endif
87695 main ()
87697 _isnan(0);
87699 return 0;
87701 _ACEOF
87702 rm -f conftest.$ac_objext
87703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87704 (eval $ac_compile) 2>conftest.er1
87705 ac_status=$?
87706 grep -v '^ *+' conftest.er1 >conftest.err
87707 rm -f conftest.er1
87708 cat conftest.err >&5
87709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87710 (exit $ac_status); } &&
87711 { ac_try='test -z "$ac_cxx_werror_flag"
87712 || test ! -s conftest.err'
87713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87714 (eval $ac_try) 2>&5
87715 ac_status=$?
87716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87717 (exit $ac_status); }; } &&
87718 { ac_try='test -s conftest.$ac_objext'
87719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87720 (eval $ac_try) 2>&5
87721 ac_status=$?
87722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87723 (exit $ac_status); }; }; then
87724 glibcxx_cv_func__isnan_use=yes
87725 else
87726 echo "$as_me: failed program was:" >&5
87727 sed 's/^/| /' conftest.$ac_ext >&5
87729 glibcxx_cv_func__isnan_use=no
87731 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87732 ac_ext=c
87733 ac_cpp='$CPP $CPPFLAGS'
87734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87742 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
87743 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
87745 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
87747 for ac_func in _isnan
87749 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87750 echo "$as_me:$LINENO: checking for $ac_func" >&5
87751 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87752 if eval "test \"\${$as_ac_var+set}\" = set"; then
87753 echo $ECHO_N "(cached) $ECHO_C" >&6
87754 else
87755 if test x$gcc_no_link = xyes; then
87756 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87757 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87758 { (exit 1); exit 1; }; }
87760 cat >conftest.$ac_ext <<_ACEOF
87761 /* confdefs.h. */
87762 _ACEOF
87763 cat confdefs.h >>conftest.$ac_ext
87764 cat >>conftest.$ac_ext <<_ACEOF
87765 /* end confdefs.h. */
87766 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87767 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87768 #define $ac_func innocuous_$ac_func
87770 /* System header to define __stub macros and hopefully few prototypes,
87771 which can conflict with char $ac_func (); below.
87772 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87773 <limits.h> exists even on freestanding compilers. */
87775 #ifdef __STDC__
87776 # include <limits.h>
87777 #else
87778 # include <assert.h>
87779 #endif
87781 #undef $ac_func
87783 /* Override any gcc2 internal prototype to avoid an error. */
87784 #ifdef __cplusplus
87785 extern "C"
87787 #endif
87788 /* We use char because int might match the return type of a gcc2
87789 builtin and then its argument prototype would still apply. */
87790 char $ac_func ();
87791 /* The GNU C library defines this for functions which it implements
87792 to always fail with ENOSYS. Some functions are actually named
87793 something starting with __ and the normal name is an alias. */
87794 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87795 choke me
87796 #else
87797 char (*f) () = $ac_func;
87798 #endif
87799 #ifdef __cplusplus
87801 #endif
87804 main ()
87806 return f != $ac_func;
87808 return 0;
87810 _ACEOF
87811 rm -f conftest.$ac_objext conftest$ac_exeext
87812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87813 (eval $ac_link) 2>conftest.er1
87814 ac_status=$?
87815 grep -v '^ *+' conftest.er1 >conftest.err
87816 rm -f conftest.er1
87817 cat conftest.err >&5
87818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87819 (exit $ac_status); } &&
87820 { ac_try='test -z "$ac_c_werror_flag"
87821 || test ! -s conftest.err'
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); }; } &&
87827 { ac_try='test -s conftest$ac_exeext'
87828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87829 (eval $ac_try) 2>&5
87830 ac_status=$?
87831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87832 (exit $ac_status); }; }; then
87833 eval "$as_ac_var=yes"
87834 else
87835 echo "$as_me: failed program was:" >&5
87836 sed 's/^/| /' conftest.$ac_ext >&5
87838 eval "$as_ac_var=no"
87840 rm -f conftest.err conftest.$ac_objext \
87841 conftest$ac_exeext conftest.$ac_ext
87843 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87844 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87845 if test `eval echo '${'$as_ac_var'}'` = yes; then
87846 cat >>confdefs.h <<_ACEOF
87847 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87848 _ACEOF
87851 done
87861 echo "$as_me:$LINENO: checking for finite declaration" >&5
87862 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
87863 if test x${glibcxx_cv_func_finite_use+set} != xset; then
87864 if test "${glibcxx_cv_func_finite_use+set}" = set; then
87865 echo $ECHO_N "(cached) $ECHO_C" >&6
87866 else
87870 ac_ext=cc
87871 ac_cpp='$CXXCPP $CPPFLAGS'
87872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87876 cat >conftest.$ac_ext <<_ACEOF
87877 /* confdefs.h. */
87878 _ACEOF
87879 cat confdefs.h >>conftest.$ac_ext
87880 cat >>conftest.$ac_ext <<_ACEOF
87881 /* end confdefs.h. */
87882 #include <math.h>
87883 #ifdef HAVE_IEEEFP_H
87884 #include <ieeefp.h>
87885 #endif
87888 main ()
87890 finite(0);
87892 return 0;
87894 _ACEOF
87895 rm -f conftest.$ac_objext
87896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87897 (eval $ac_compile) 2>conftest.er1
87898 ac_status=$?
87899 grep -v '^ *+' conftest.er1 >conftest.err
87900 rm -f conftest.er1
87901 cat conftest.err >&5
87902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87903 (exit $ac_status); } &&
87904 { ac_try='test -z "$ac_cxx_werror_flag"
87905 || test ! -s conftest.err'
87906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87907 (eval $ac_try) 2>&5
87908 ac_status=$?
87909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87910 (exit $ac_status); }; } &&
87911 { ac_try='test -s conftest.$ac_objext'
87912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87913 (eval $ac_try) 2>&5
87914 ac_status=$?
87915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87916 (exit $ac_status); }; }; then
87917 glibcxx_cv_func_finite_use=yes
87918 else
87919 echo "$as_me: failed program was:" >&5
87920 sed 's/^/| /' conftest.$ac_ext >&5
87922 glibcxx_cv_func_finite_use=no
87924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87925 ac_ext=c
87926 ac_cpp='$CPP $CPPFLAGS'
87927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87935 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
87936 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
87938 if test x$glibcxx_cv_func_finite_use = x"yes"; then
87940 for ac_func in finite
87942 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87943 echo "$as_me:$LINENO: checking for $ac_func" >&5
87944 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87945 if eval "test \"\${$as_ac_var+set}\" = set"; then
87946 echo $ECHO_N "(cached) $ECHO_C" >&6
87947 else
87948 if test x$gcc_no_link = xyes; then
87949 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87950 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87951 { (exit 1); exit 1; }; }
87953 cat >conftest.$ac_ext <<_ACEOF
87954 /* confdefs.h. */
87955 _ACEOF
87956 cat confdefs.h >>conftest.$ac_ext
87957 cat >>conftest.$ac_ext <<_ACEOF
87958 /* end confdefs.h. */
87959 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87960 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87961 #define $ac_func innocuous_$ac_func
87963 /* System header to define __stub macros and hopefully few prototypes,
87964 which can conflict with char $ac_func (); below.
87965 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87966 <limits.h> exists even on freestanding compilers. */
87968 #ifdef __STDC__
87969 # include <limits.h>
87970 #else
87971 # include <assert.h>
87972 #endif
87974 #undef $ac_func
87976 /* Override any gcc2 internal prototype to avoid an error. */
87977 #ifdef __cplusplus
87978 extern "C"
87980 #endif
87981 /* We use char because int might match the return type of a gcc2
87982 builtin and then its argument prototype would still apply. */
87983 char $ac_func ();
87984 /* The GNU C library defines this for functions which it implements
87985 to always fail with ENOSYS. Some functions are actually named
87986 something starting with __ and the normal name is an alias. */
87987 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87988 choke me
87989 #else
87990 char (*f) () = $ac_func;
87991 #endif
87992 #ifdef __cplusplus
87994 #endif
87997 main ()
87999 return f != $ac_func;
88001 return 0;
88003 _ACEOF
88004 rm -f conftest.$ac_objext conftest$ac_exeext
88005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88006 (eval $ac_link) 2>conftest.er1
88007 ac_status=$?
88008 grep -v '^ *+' conftest.er1 >conftest.err
88009 rm -f conftest.er1
88010 cat conftest.err >&5
88011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88012 (exit $ac_status); } &&
88013 { ac_try='test -z "$ac_c_werror_flag"
88014 || test ! -s conftest.err'
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); }; } &&
88020 { ac_try='test -s conftest$ac_exeext'
88021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88022 (eval $ac_try) 2>&5
88023 ac_status=$?
88024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88025 (exit $ac_status); }; }; then
88026 eval "$as_ac_var=yes"
88027 else
88028 echo "$as_me: failed program was:" >&5
88029 sed 's/^/| /' conftest.$ac_ext >&5
88031 eval "$as_ac_var=no"
88033 rm -f conftest.err conftest.$ac_objext \
88034 conftest$ac_exeext conftest.$ac_ext
88036 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88037 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88038 if test `eval echo '${'$as_ac_var'}'` = yes; then
88039 cat >>confdefs.h <<_ACEOF
88040 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88041 _ACEOF
88044 done
88046 else
88048 echo "$as_me:$LINENO: checking for _finite declaration" >&5
88049 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
88050 if test x${glibcxx_cv_func__finite_use+set} != xset; then
88051 if test "${glibcxx_cv_func__finite_use+set}" = set; then
88052 echo $ECHO_N "(cached) $ECHO_C" >&6
88053 else
88057 ac_ext=cc
88058 ac_cpp='$CXXCPP $CPPFLAGS'
88059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88063 cat >conftest.$ac_ext <<_ACEOF
88064 /* confdefs.h. */
88065 _ACEOF
88066 cat confdefs.h >>conftest.$ac_ext
88067 cat >>conftest.$ac_ext <<_ACEOF
88068 /* end confdefs.h. */
88069 #include <math.h>
88070 #ifdef HAVE_IEEEFP_H
88071 #include <ieeefp.h>
88072 #endif
88075 main ()
88077 _finite(0);
88079 return 0;
88081 _ACEOF
88082 rm -f conftest.$ac_objext
88083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88084 (eval $ac_compile) 2>conftest.er1
88085 ac_status=$?
88086 grep -v '^ *+' conftest.er1 >conftest.err
88087 rm -f conftest.er1
88088 cat conftest.err >&5
88089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88090 (exit $ac_status); } &&
88091 { ac_try='test -z "$ac_cxx_werror_flag"
88092 || test ! -s conftest.err'
88093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88094 (eval $ac_try) 2>&5
88095 ac_status=$?
88096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88097 (exit $ac_status); }; } &&
88098 { ac_try='test -s conftest.$ac_objext'
88099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88100 (eval $ac_try) 2>&5
88101 ac_status=$?
88102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88103 (exit $ac_status); }; }; then
88104 glibcxx_cv_func__finite_use=yes
88105 else
88106 echo "$as_me: failed program was:" >&5
88107 sed 's/^/| /' conftest.$ac_ext >&5
88109 glibcxx_cv_func__finite_use=no
88111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88112 ac_ext=c
88113 ac_cpp='$CPP $CPPFLAGS'
88114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88122 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
88123 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
88125 if test x$glibcxx_cv_func__finite_use = x"yes"; then
88127 for ac_func in _finite
88129 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88130 echo "$as_me:$LINENO: checking for $ac_func" >&5
88131 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88132 if eval "test \"\${$as_ac_var+set}\" = set"; then
88133 echo $ECHO_N "(cached) $ECHO_C" >&6
88134 else
88135 if test x$gcc_no_link = xyes; then
88136 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88137 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88138 { (exit 1); exit 1; }; }
88140 cat >conftest.$ac_ext <<_ACEOF
88141 /* confdefs.h. */
88142 _ACEOF
88143 cat confdefs.h >>conftest.$ac_ext
88144 cat >>conftest.$ac_ext <<_ACEOF
88145 /* end confdefs.h. */
88146 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88147 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88148 #define $ac_func innocuous_$ac_func
88150 /* System header to define __stub macros and hopefully few prototypes,
88151 which can conflict with char $ac_func (); below.
88152 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88153 <limits.h> exists even on freestanding compilers. */
88155 #ifdef __STDC__
88156 # include <limits.h>
88157 #else
88158 # include <assert.h>
88159 #endif
88161 #undef $ac_func
88163 /* Override any gcc2 internal prototype to avoid an error. */
88164 #ifdef __cplusplus
88165 extern "C"
88167 #endif
88168 /* We use char because int might match the return type of a gcc2
88169 builtin and then its argument prototype would still apply. */
88170 char $ac_func ();
88171 /* The GNU C library defines this for functions which it implements
88172 to always fail with ENOSYS. Some functions are actually named
88173 something starting with __ and the normal name is an alias. */
88174 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88175 choke me
88176 #else
88177 char (*f) () = $ac_func;
88178 #endif
88179 #ifdef __cplusplus
88181 #endif
88184 main ()
88186 return f != $ac_func;
88188 return 0;
88190 _ACEOF
88191 rm -f conftest.$ac_objext conftest$ac_exeext
88192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88193 (eval $ac_link) 2>conftest.er1
88194 ac_status=$?
88195 grep -v '^ *+' conftest.er1 >conftest.err
88196 rm -f conftest.er1
88197 cat conftest.err >&5
88198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88199 (exit $ac_status); } &&
88200 { ac_try='test -z "$ac_c_werror_flag"
88201 || test ! -s conftest.err'
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); }; } &&
88207 { ac_try='test -s conftest$ac_exeext'
88208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88209 (eval $ac_try) 2>&5
88210 ac_status=$?
88211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88212 (exit $ac_status); }; }; then
88213 eval "$as_ac_var=yes"
88214 else
88215 echo "$as_me: failed program was:" >&5
88216 sed 's/^/| /' conftest.$ac_ext >&5
88218 eval "$as_ac_var=no"
88220 rm -f conftest.err conftest.$ac_objext \
88221 conftest$ac_exeext conftest.$ac_ext
88223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88224 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88225 if test `eval echo '${'$as_ac_var'}'` = yes; then
88226 cat >>confdefs.h <<_ACEOF
88227 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88228 _ACEOF
88231 done
88241 echo "$as_me:$LINENO: checking for copysign declaration" >&5
88242 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
88243 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
88244 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
88245 echo $ECHO_N "(cached) $ECHO_C" >&6
88246 else
88250 ac_ext=cc
88251 ac_cpp='$CXXCPP $CPPFLAGS'
88252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88256 cat >conftest.$ac_ext <<_ACEOF
88257 /* confdefs.h. */
88258 _ACEOF
88259 cat confdefs.h >>conftest.$ac_ext
88260 cat >>conftest.$ac_ext <<_ACEOF
88261 /* end confdefs.h. */
88262 #include <math.h>
88264 main ()
88266 copysign(0, 0);
88268 return 0;
88270 _ACEOF
88271 rm -f conftest.$ac_objext
88272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88273 (eval $ac_compile) 2>conftest.er1
88274 ac_status=$?
88275 grep -v '^ *+' conftest.er1 >conftest.err
88276 rm -f conftest.er1
88277 cat conftest.err >&5
88278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88279 (exit $ac_status); } &&
88280 { ac_try='test -z "$ac_cxx_werror_flag"
88281 || test ! -s conftest.err'
88282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88283 (eval $ac_try) 2>&5
88284 ac_status=$?
88285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88286 (exit $ac_status); }; } &&
88287 { ac_try='test -s conftest.$ac_objext'
88288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88289 (eval $ac_try) 2>&5
88290 ac_status=$?
88291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88292 (exit $ac_status); }; }; then
88293 glibcxx_cv_func_copysign_use=yes
88294 else
88295 echo "$as_me: failed program was:" >&5
88296 sed 's/^/| /' conftest.$ac_ext >&5
88298 glibcxx_cv_func_copysign_use=no
88300 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88301 ac_ext=c
88302 ac_cpp='$CPP $CPPFLAGS'
88303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88311 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
88312 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
88314 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
88316 for ac_func in copysign
88318 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88319 echo "$as_me:$LINENO: checking for $ac_func" >&5
88320 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88321 if eval "test \"\${$as_ac_var+set}\" = set"; then
88322 echo $ECHO_N "(cached) $ECHO_C" >&6
88323 else
88324 if test x$gcc_no_link = xyes; then
88325 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88326 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88327 { (exit 1); exit 1; }; }
88329 cat >conftest.$ac_ext <<_ACEOF
88330 /* confdefs.h. */
88331 _ACEOF
88332 cat confdefs.h >>conftest.$ac_ext
88333 cat >>conftest.$ac_ext <<_ACEOF
88334 /* end confdefs.h. */
88335 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88336 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88337 #define $ac_func innocuous_$ac_func
88339 /* System header to define __stub macros and hopefully few prototypes,
88340 which can conflict with char $ac_func (); below.
88341 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88342 <limits.h> exists even on freestanding compilers. */
88344 #ifdef __STDC__
88345 # include <limits.h>
88346 #else
88347 # include <assert.h>
88348 #endif
88350 #undef $ac_func
88352 /* Override any gcc2 internal prototype to avoid an error. */
88353 #ifdef __cplusplus
88354 extern "C"
88356 #endif
88357 /* We use char because int might match the return type of a gcc2
88358 builtin and then its argument prototype would still apply. */
88359 char $ac_func ();
88360 /* The GNU C library defines this for functions which it implements
88361 to always fail with ENOSYS. Some functions are actually named
88362 something starting with __ and the normal name is an alias. */
88363 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88364 choke me
88365 #else
88366 char (*f) () = $ac_func;
88367 #endif
88368 #ifdef __cplusplus
88370 #endif
88373 main ()
88375 return f != $ac_func;
88377 return 0;
88379 _ACEOF
88380 rm -f conftest.$ac_objext conftest$ac_exeext
88381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88382 (eval $ac_link) 2>conftest.er1
88383 ac_status=$?
88384 grep -v '^ *+' conftest.er1 >conftest.err
88385 rm -f conftest.er1
88386 cat conftest.err >&5
88387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88388 (exit $ac_status); } &&
88389 { ac_try='test -z "$ac_c_werror_flag"
88390 || test ! -s conftest.err'
88391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88392 (eval $ac_try) 2>&5
88393 ac_status=$?
88394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88395 (exit $ac_status); }; } &&
88396 { ac_try='test -s conftest$ac_exeext'
88397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88398 (eval $ac_try) 2>&5
88399 ac_status=$?
88400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88401 (exit $ac_status); }; }; then
88402 eval "$as_ac_var=yes"
88403 else
88404 echo "$as_me: failed program was:" >&5
88405 sed 's/^/| /' conftest.$ac_ext >&5
88407 eval "$as_ac_var=no"
88409 rm -f conftest.err conftest.$ac_objext \
88410 conftest$ac_exeext conftest.$ac_ext
88412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88413 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88414 if test `eval echo '${'$as_ac_var'}'` = yes; then
88415 cat >>confdefs.h <<_ACEOF
88416 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88417 _ACEOF
88420 done
88422 else
88424 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
88425 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
88426 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
88427 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
88428 echo $ECHO_N "(cached) $ECHO_C" >&6
88429 else
88433 ac_ext=cc
88434 ac_cpp='$CXXCPP $CPPFLAGS'
88435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88439 cat >conftest.$ac_ext <<_ACEOF
88440 /* confdefs.h. */
88441 _ACEOF
88442 cat confdefs.h >>conftest.$ac_ext
88443 cat >>conftest.$ac_ext <<_ACEOF
88444 /* end confdefs.h. */
88445 #include <math.h>
88447 main ()
88449 _copysign(0, 0);
88451 return 0;
88453 _ACEOF
88454 rm -f conftest.$ac_objext
88455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88456 (eval $ac_compile) 2>conftest.er1
88457 ac_status=$?
88458 grep -v '^ *+' conftest.er1 >conftest.err
88459 rm -f conftest.er1
88460 cat conftest.err >&5
88461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88462 (exit $ac_status); } &&
88463 { ac_try='test -z "$ac_cxx_werror_flag"
88464 || test ! -s conftest.err'
88465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88466 (eval $ac_try) 2>&5
88467 ac_status=$?
88468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88469 (exit $ac_status); }; } &&
88470 { ac_try='test -s conftest.$ac_objext'
88471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88472 (eval $ac_try) 2>&5
88473 ac_status=$?
88474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88475 (exit $ac_status); }; }; then
88476 glibcxx_cv_func__copysign_use=yes
88477 else
88478 echo "$as_me: failed program was:" >&5
88479 sed 's/^/| /' conftest.$ac_ext >&5
88481 glibcxx_cv_func__copysign_use=no
88483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88484 ac_ext=c
88485 ac_cpp='$CPP $CPPFLAGS'
88486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88494 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
88495 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
88497 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
88499 for ac_func in _copysign
88501 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88502 echo "$as_me:$LINENO: checking for $ac_func" >&5
88503 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88504 if eval "test \"\${$as_ac_var+set}\" = set"; then
88505 echo $ECHO_N "(cached) $ECHO_C" >&6
88506 else
88507 if test x$gcc_no_link = xyes; then
88508 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88509 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88510 { (exit 1); exit 1; }; }
88512 cat >conftest.$ac_ext <<_ACEOF
88513 /* confdefs.h. */
88514 _ACEOF
88515 cat confdefs.h >>conftest.$ac_ext
88516 cat >>conftest.$ac_ext <<_ACEOF
88517 /* end confdefs.h. */
88518 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88519 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88520 #define $ac_func innocuous_$ac_func
88522 /* System header to define __stub macros and hopefully few prototypes,
88523 which can conflict with char $ac_func (); below.
88524 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88525 <limits.h> exists even on freestanding compilers. */
88527 #ifdef __STDC__
88528 # include <limits.h>
88529 #else
88530 # include <assert.h>
88531 #endif
88533 #undef $ac_func
88535 /* Override any gcc2 internal prototype to avoid an error. */
88536 #ifdef __cplusplus
88537 extern "C"
88539 #endif
88540 /* We use char because int might match the return type of a gcc2
88541 builtin and then its argument prototype would still apply. */
88542 char $ac_func ();
88543 /* The GNU C library defines this for functions which it implements
88544 to always fail with ENOSYS. Some functions are actually named
88545 something starting with __ and the normal name is an alias. */
88546 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88547 choke me
88548 #else
88549 char (*f) () = $ac_func;
88550 #endif
88551 #ifdef __cplusplus
88553 #endif
88556 main ()
88558 return f != $ac_func;
88560 return 0;
88562 _ACEOF
88563 rm -f conftest.$ac_objext conftest$ac_exeext
88564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88565 (eval $ac_link) 2>conftest.er1
88566 ac_status=$?
88567 grep -v '^ *+' conftest.er1 >conftest.err
88568 rm -f conftest.er1
88569 cat conftest.err >&5
88570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88571 (exit $ac_status); } &&
88572 { ac_try='test -z "$ac_c_werror_flag"
88573 || test ! -s conftest.err'
88574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88575 (eval $ac_try) 2>&5
88576 ac_status=$?
88577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88578 (exit $ac_status); }; } &&
88579 { ac_try='test -s conftest$ac_exeext'
88580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88581 (eval $ac_try) 2>&5
88582 ac_status=$?
88583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88584 (exit $ac_status); }; }; then
88585 eval "$as_ac_var=yes"
88586 else
88587 echo "$as_me: failed program was:" >&5
88588 sed 's/^/| /' conftest.$ac_ext >&5
88590 eval "$as_ac_var=no"
88592 rm -f conftest.err conftest.$ac_objext \
88593 conftest$ac_exeext conftest.$ac_ext
88595 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88596 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88597 if test `eval echo '${'$as_ac_var'}'` = yes; then
88598 cat >>confdefs.h <<_ACEOF
88599 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88600 _ACEOF
88603 done
88613 echo "$as_me:$LINENO: checking for sincos declaration" >&5
88614 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
88615 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
88616 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
88617 echo $ECHO_N "(cached) $ECHO_C" >&6
88618 else
88622 ac_ext=cc
88623 ac_cpp='$CXXCPP $CPPFLAGS'
88624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88628 cat >conftest.$ac_ext <<_ACEOF
88629 /* confdefs.h. */
88630 _ACEOF
88631 cat confdefs.h >>conftest.$ac_ext
88632 cat >>conftest.$ac_ext <<_ACEOF
88633 /* end confdefs.h. */
88634 #include <math.h>
88636 main ()
88638 sincos(0, 0, 0);
88640 return 0;
88642 _ACEOF
88643 rm -f conftest.$ac_objext
88644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88645 (eval $ac_compile) 2>conftest.er1
88646 ac_status=$?
88647 grep -v '^ *+' conftest.er1 >conftest.err
88648 rm -f conftest.er1
88649 cat conftest.err >&5
88650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88651 (exit $ac_status); } &&
88652 { ac_try='test -z "$ac_cxx_werror_flag"
88653 || test ! -s conftest.err'
88654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88655 (eval $ac_try) 2>&5
88656 ac_status=$?
88657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88658 (exit $ac_status); }; } &&
88659 { ac_try='test -s conftest.$ac_objext'
88660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88661 (eval $ac_try) 2>&5
88662 ac_status=$?
88663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88664 (exit $ac_status); }; }; then
88665 glibcxx_cv_func_sincos_use=yes
88666 else
88667 echo "$as_me: failed program was:" >&5
88668 sed 's/^/| /' conftest.$ac_ext >&5
88670 glibcxx_cv_func_sincos_use=no
88672 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88673 ac_ext=c
88674 ac_cpp='$CPP $CPPFLAGS'
88675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88683 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
88684 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
88686 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
88688 for ac_func in sincos
88690 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88691 echo "$as_me:$LINENO: checking for $ac_func" >&5
88692 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88693 if eval "test \"\${$as_ac_var+set}\" = set"; then
88694 echo $ECHO_N "(cached) $ECHO_C" >&6
88695 else
88696 if test x$gcc_no_link = xyes; then
88697 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88698 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88699 { (exit 1); exit 1; }; }
88701 cat >conftest.$ac_ext <<_ACEOF
88702 /* confdefs.h. */
88703 _ACEOF
88704 cat confdefs.h >>conftest.$ac_ext
88705 cat >>conftest.$ac_ext <<_ACEOF
88706 /* end confdefs.h. */
88707 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88708 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88709 #define $ac_func innocuous_$ac_func
88711 /* System header to define __stub macros and hopefully few prototypes,
88712 which can conflict with char $ac_func (); below.
88713 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88714 <limits.h> exists even on freestanding compilers. */
88716 #ifdef __STDC__
88717 # include <limits.h>
88718 #else
88719 # include <assert.h>
88720 #endif
88722 #undef $ac_func
88724 /* Override any gcc2 internal prototype to avoid an error. */
88725 #ifdef __cplusplus
88726 extern "C"
88728 #endif
88729 /* We use char because int might match the return type of a gcc2
88730 builtin and then its argument prototype would still apply. */
88731 char $ac_func ();
88732 /* The GNU C library defines this for functions which it implements
88733 to always fail with ENOSYS. Some functions are actually named
88734 something starting with __ and the normal name is an alias. */
88735 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88736 choke me
88737 #else
88738 char (*f) () = $ac_func;
88739 #endif
88740 #ifdef __cplusplus
88742 #endif
88745 main ()
88747 return f != $ac_func;
88749 return 0;
88751 _ACEOF
88752 rm -f conftest.$ac_objext conftest$ac_exeext
88753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88754 (eval $ac_link) 2>conftest.er1
88755 ac_status=$?
88756 grep -v '^ *+' conftest.er1 >conftest.err
88757 rm -f conftest.er1
88758 cat conftest.err >&5
88759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88760 (exit $ac_status); } &&
88761 { ac_try='test -z "$ac_c_werror_flag"
88762 || test ! -s conftest.err'
88763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88764 (eval $ac_try) 2>&5
88765 ac_status=$?
88766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88767 (exit $ac_status); }; } &&
88768 { ac_try='test -s conftest$ac_exeext'
88769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88770 (eval $ac_try) 2>&5
88771 ac_status=$?
88772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88773 (exit $ac_status); }; }; then
88774 eval "$as_ac_var=yes"
88775 else
88776 echo "$as_me: failed program was:" >&5
88777 sed 's/^/| /' conftest.$ac_ext >&5
88779 eval "$as_ac_var=no"
88781 rm -f conftest.err conftest.$ac_objext \
88782 conftest$ac_exeext conftest.$ac_ext
88784 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88785 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88786 if test `eval echo '${'$as_ac_var'}'` = yes; then
88787 cat >>confdefs.h <<_ACEOF
88788 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88789 _ACEOF
88792 done
88794 else
88796 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
88797 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
88798 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
88799 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
88800 echo $ECHO_N "(cached) $ECHO_C" >&6
88801 else
88805 ac_ext=cc
88806 ac_cpp='$CXXCPP $CPPFLAGS'
88807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88811 cat >conftest.$ac_ext <<_ACEOF
88812 /* confdefs.h. */
88813 _ACEOF
88814 cat confdefs.h >>conftest.$ac_ext
88815 cat >>conftest.$ac_ext <<_ACEOF
88816 /* end confdefs.h. */
88817 #include <math.h>
88819 main ()
88821 _sincos(0, 0, 0);
88823 return 0;
88825 _ACEOF
88826 rm -f conftest.$ac_objext
88827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88828 (eval $ac_compile) 2>conftest.er1
88829 ac_status=$?
88830 grep -v '^ *+' conftest.er1 >conftest.err
88831 rm -f conftest.er1
88832 cat conftest.err >&5
88833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88834 (exit $ac_status); } &&
88835 { ac_try='test -z "$ac_cxx_werror_flag"
88836 || test ! -s conftest.err'
88837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88838 (eval $ac_try) 2>&5
88839 ac_status=$?
88840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88841 (exit $ac_status); }; } &&
88842 { ac_try='test -s conftest.$ac_objext'
88843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88844 (eval $ac_try) 2>&5
88845 ac_status=$?
88846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88847 (exit $ac_status); }; }; then
88848 glibcxx_cv_func__sincos_use=yes
88849 else
88850 echo "$as_me: failed program was:" >&5
88851 sed 's/^/| /' conftest.$ac_ext >&5
88853 glibcxx_cv_func__sincos_use=no
88855 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88856 ac_ext=c
88857 ac_cpp='$CPP $CPPFLAGS'
88858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88866 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
88867 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
88869 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
88871 for ac_func in _sincos
88873 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88874 echo "$as_me:$LINENO: checking for $ac_func" >&5
88875 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88876 if eval "test \"\${$as_ac_var+set}\" = set"; then
88877 echo $ECHO_N "(cached) $ECHO_C" >&6
88878 else
88879 if test x$gcc_no_link = xyes; then
88880 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88881 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88882 { (exit 1); exit 1; }; }
88884 cat >conftest.$ac_ext <<_ACEOF
88885 /* confdefs.h. */
88886 _ACEOF
88887 cat confdefs.h >>conftest.$ac_ext
88888 cat >>conftest.$ac_ext <<_ACEOF
88889 /* end confdefs.h. */
88890 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88891 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88892 #define $ac_func innocuous_$ac_func
88894 /* System header to define __stub macros and hopefully few prototypes,
88895 which can conflict with char $ac_func (); below.
88896 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88897 <limits.h> exists even on freestanding compilers. */
88899 #ifdef __STDC__
88900 # include <limits.h>
88901 #else
88902 # include <assert.h>
88903 #endif
88905 #undef $ac_func
88907 /* Override any gcc2 internal prototype to avoid an error. */
88908 #ifdef __cplusplus
88909 extern "C"
88911 #endif
88912 /* We use char because int might match the return type of a gcc2
88913 builtin and then its argument prototype would still apply. */
88914 char $ac_func ();
88915 /* The GNU C library defines this for functions which it implements
88916 to always fail with ENOSYS. Some functions are actually named
88917 something starting with __ and the normal name is an alias. */
88918 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88919 choke me
88920 #else
88921 char (*f) () = $ac_func;
88922 #endif
88923 #ifdef __cplusplus
88925 #endif
88928 main ()
88930 return f != $ac_func;
88932 return 0;
88934 _ACEOF
88935 rm -f conftest.$ac_objext conftest$ac_exeext
88936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88937 (eval $ac_link) 2>conftest.er1
88938 ac_status=$?
88939 grep -v '^ *+' conftest.er1 >conftest.err
88940 rm -f conftest.er1
88941 cat conftest.err >&5
88942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88943 (exit $ac_status); } &&
88944 { ac_try='test -z "$ac_c_werror_flag"
88945 || test ! -s conftest.err'
88946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88947 (eval $ac_try) 2>&5
88948 ac_status=$?
88949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88950 (exit $ac_status); }; } &&
88951 { ac_try='test -s conftest$ac_exeext'
88952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88953 (eval $ac_try) 2>&5
88954 ac_status=$?
88955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88956 (exit $ac_status); }; }; then
88957 eval "$as_ac_var=yes"
88958 else
88959 echo "$as_me: failed program was:" >&5
88960 sed 's/^/| /' conftest.$ac_ext >&5
88962 eval "$as_ac_var=no"
88964 rm -f conftest.err conftest.$ac_objext \
88965 conftest$ac_exeext conftest.$ac_ext
88967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88968 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88969 if test `eval echo '${'$as_ac_var'}'` = yes; then
88970 cat >>confdefs.h <<_ACEOF
88971 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88972 _ACEOF
88975 done
88985 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
88986 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
88987 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
88988 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
88989 echo $ECHO_N "(cached) $ECHO_C" >&6
88990 else
88994 ac_ext=cc
88995 ac_cpp='$CXXCPP $CPPFLAGS'
88996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89000 cat >conftest.$ac_ext <<_ACEOF
89001 /* confdefs.h. */
89002 _ACEOF
89003 cat confdefs.h >>conftest.$ac_ext
89004 cat >>conftest.$ac_ext <<_ACEOF
89005 /* end confdefs.h. */
89006 #include <math.h>
89007 #ifdef HAVE_IEEEFP_H
89008 #include <ieeefp.h>
89009 #endif
89012 main ()
89014 fpclass(0);
89016 return 0;
89018 _ACEOF
89019 rm -f conftest.$ac_objext
89020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89021 (eval $ac_compile) 2>conftest.er1
89022 ac_status=$?
89023 grep -v '^ *+' conftest.er1 >conftest.err
89024 rm -f conftest.er1
89025 cat conftest.err >&5
89026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89027 (exit $ac_status); } &&
89028 { ac_try='test -z "$ac_cxx_werror_flag"
89029 || test ! -s conftest.err'
89030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89031 (eval $ac_try) 2>&5
89032 ac_status=$?
89033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89034 (exit $ac_status); }; } &&
89035 { ac_try='test -s conftest.$ac_objext'
89036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89037 (eval $ac_try) 2>&5
89038 ac_status=$?
89039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89040 (exit $ac_status); }; }; then
89041 glibcxx_cv_func_fpclass_use=yes
89042 else
89043 echo "$as_me: failed program was:" >&5
89044 sed 's/^/| /' conftest.$ac_ext >&5
89046 glibcxx_cv_func_fpclass_use=no
89048 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89049 ac_ext=c
89050 ac_cpp='$CPP $CPPFLAGS'
89051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89059 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
89060 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
89062 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
89064 for ac_func in fpclass
89066 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89067 echo "$as_me:$LINENO: checking for $ac_func" >&5
89068 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89069 if eval "test \"\${$as_ac_var+set}\" = set"; then
89070 echo $ECHO_N "(cached) $ECHO_C" >&6
89071 else
89072 if test x$gcc_no_link = xyes; then
89073 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89074 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89075 { (exit 1); exit 1; }; }
89077 cat >conftest.$ac_ext <<_ACEOF
89078 /* confdefs.h. */
89079 _ACEOF
89080 cat confdefs.h >>conftest.$ac_ext
89081 cat >>conftest.$ac_ext <<_ACEOF
89082 /* end confdefs.h. */
89083 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89084 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89085 #define $ac_func innocuous_$ac_func
89087 /* System header to define __stub macros and hopefully few prototypes,
89088 which can conflict with char $ac_func (); below.
89089 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89090 <limits.h> exists even on freestanding compilers. */
89092 #ifdef __STDC__
89093 # include <limits.h>
89094 #else
89095 # include <assert.h>
89096 #endif
89098 #undef $ac_func
89100 /* Override any gcc2 internal prototype to avoid an error. */
89101 #ifdef __cplusplus
89102 extern "C"
89104 #endif
89105 /* We use char because int might match the return type of a gcc2
89106 builtin and then its argument prototype would still apply. */
89107 char $ac_func ();
89108 /* The GNU C library defines this for functions which it implements
89109 to always fail with ENOSYS. Some functions are actually named
89110 something starting with __ and the normal name is an alias. */
89111 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89112 choke me
89113 #else
89114 char (*f) () = $ac_func;
89115 #endif
89116 #ifdef __cplusplus
89118 #endif
89121 main ()
89123 return f != $ac_func;
89125 return 0;
89127 _ACEOF
89128 rm -f conftest.$ac_objext conftest$ac_exeext
89129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89130 (eval $ac_link) 2>conftest.er1
89131 ac_status=$?
89132 grep -v '^ *+' conftest.er1 >conftest.err
89133 rm -f conftest.er1
89134 cat conftest.err >&5
89135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89136 (exit $ac_status); } &&
89137 { ac_try='test -z "$ac_c_werror_flag"
89138 || test ! -s conftest.err'
89139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89140 (eval $ac_try) 2>&5
89141 ac_status=$?
89142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89143 (exit $ac_status); }; } &&
89144 { ac_try='test -s conftest$ac_exeext'
89145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89146 (eval $ac_try) 2>&5
89147 ac_status=$?
89148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89149 (exit $ac_status); }; }; then
89150 eval "$as_ac_var=yes"
89151 else
89152 echo "$as_me: failed program was:" >&5
89153 sed 's/^/| /' conftest.$ac_ext >&5
89155 eval "$as_ac_var=no"
89157 rm -f conftest.err conftest.$ac_objext \
89158 conftest$ac_exeext conftest.$ac_ext
89160 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89161 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89162 if test `eval echo '${'$as_ac_var'}'` = yes; then
89163 cat >>confdefs.h <<_ACEOF
89164 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89165 _ACEOF
89168 done
89170 else
89172 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
89173 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
89174 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
89175 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
89176 echo $ECHO_N "(cached) $ECHO_C" >&6
89177 else
89181 ac_ext=cc
89182 ac_cpp='$CXXCPP $CPPFLAGS'
89183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89187 cat >conftest.$ac_ext <<_ACEOF
89188 /* confdefs.h. */
89189 _ACEOF
89190 cat confdefs.h >>conftest.$ac_ext
89191 cat >>conftest.$ac_ext <<_ACEOF
89192 /* end confdefs.h. */
89193 #include <math.h>
89194 #ifdef HAVE_IEEEFP_H
89195 #include <ieeefp.h>
89196 #endif
89199 main ()
89201 _fpclass(0);
89203 return 0;
89205 _ACEOF
89206 rm -f conftest.$ac_objext
89207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89208 (eval $ac_compile) 2>conftest.er1
89209 ac_status=$?
89210 grep -v '^ *+' conftest.er1 >conftest.err
89211 rm -f conftest.er1
89212 cat conftest.err >&5
89213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89214 (exit $ac_status); } &&
89215 { ac_try='test -z "$ac_cxx_werror_flag"
89216 || test ! -s conftest.err'
89217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89218 (eval $ac_try) 2>&5
89219 ac_status=$?
89220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89221 (exit $ac_status); }; } &&
89222 { ac_try='test -s conftest.$ac_objext'
89223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89224 (eval $ac_try) 2>&5
89225 ac_status=$?
89226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89227 (exit $ac_status); }; }; then
89228 glibcxx_cv_func__fpclass_use=yes
89229 else
89230 echo "$as_me: failed program was:" >&5
89231 sed 's/^/| /' conftest.$ac_ext >&5
89233 glibcxx_cv_func__fpclass_use=no
89235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89236 ac_ext=c
89237 ac_cpp='$CPP $CPPFLAGS'
89238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89246 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
89247 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
89249 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
89251 for ac_func in _fpclass
89253 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89254 echo "$as_me:$LINENO: checking for $ac_func" >&5
89255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89256 if eval "test \"\${$as_ac_var+set}\" = set"; then
89257 echo $ECHO_N "(cached) $ECHO_C" >&6
89258 else
89259 if test x$gcc_no_link = xyes; then
89260 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89262 { (exit 1); exit 1; }; }
89264 cat >conftest.$ac_ext <<_ACEOF
89265 /* confdefs.h. */
89266 _ACEOF
89267 cat confdefs.h >>conftest.$ac_ext
89268 cat >>conftest.$ac_ext <<_ACEOF
89269 /* end confdefs.h. */
89270 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89271 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89272 #define $ac_func innocuous_$ac_func
89274 /* System header to define __stub macros and hopefully few prototypes,
89275 which can conflict with char $ac_func (); below.
89276 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89277 <limits.h> exists even on freestanding compilers. */
89279 #ifdef __STDC__
89280 # include <limits.h>
89281 #else
89282 # include <assert.h>
89283 #endif
89285 #undef $ac_func
89287 /* Override any gcc2 internal prototype to avoid an error. */
89288 #ifdef __cplusplus
89289 extern "C"
89291 #endif
89292 /* We use char because int might match the return type of a gcc2
89293 builtin and then its argument prototype would still apply. */
89294 char $ac_func ();
89295 /* The GNU C library defines this for functions which it implements
89296 to always fail with ENOSYS. Some functions are actually named
89297 something starting with __ and the normal name is an alias. */
89298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89299 choke me
89300 #else
89301 char (*f) () = $ac_func;
89302 #endif
89303 #ifdef __cplusplus
89305 #endif
89308 main ()
89310 return f != $ac_func;
89312 return 0;
89314 _ACEOF
89315 rm -f conftest.$ac_objext conftest$ac_exeext
89316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89317 (eval $ac_link) 2>conftest.er1
89318 ac_status=$?
89319 grep -v '^ *+' conftest.er1 >conftest.err
89320 rm -f conftest.er1
89321 cat conftest.err >&5
89322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89323 (exit $ac_status); } &&
89324 { ac_try='test -z "$ac_c_werror_flag"
89325 || test ! -s conftest.err'
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); }; } &&
89331 { ac_try='test -s conftest$ac_exeext'
89332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89333 (eval $ac_try) 2>&5
89334 ac_status=$?
89335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89336 (exit $ac_status); }; }; then
89337 eval "$as_ac_var=yes"
89338 else
89339 echo "$as_me: failed program was:" >&5
89340 sed 's/^/| /' conftest.$ac_ext >&5
89342 eval "$as_ac_var=no"
89344 rm -f conftest.err conftest.$ac_objext \
89345 conftest$ac_exeext conftest.$ac_ext
89347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89348 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89349 if test `eval echo '${'$as_ac_var'}'` = yes; then
89350 cat >>confdefs.h <<_ACEOF
89351 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89352 _ACEOF
89355 done
89365 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
89366 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
89367 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
89368 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
89369 echo $ECHO_N "(cached) $ECHO_C" >&6
89370 else
89374 ac_ext=cc
89375 ac_cpp='$CXXCPP $CPPFLAGS'
89376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89380 cat >conftest.$ac_ext <<_ACEOF
89381 /* confdefs.h. */
89382 _ACEOF
89383 cat confdefs.h >>conftest.$ac_ext
89384 cat >>conftest.$ac_ext <<_ACEOF
89385 /* end confdefs.h. */
89386 #include <math.h>
89387 #ifdef HAVE_IEEEFP_H
89388 #include <ieeefp.h>
89389 #endif
89392 main ()
89394 qfpclass(0);
89396 return 0;
89398 _ACEOF
89399 rm -f conftest.$ac_objext
89400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89401 (eval $ac_compile) 2>conftest.er1
89402 ac_status=$?
89403 grep -v '^ *+' conftest.er1 >conftest.err
89404 rm -f conftest.er1
89405 cat conftest.err >&5
89406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89407 (exit $ac_status); } &&
89408 { ac_try='test -z "$ac_cxx_werror_flag"
89409 || test ! -s conftest.err'
89410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89411 (eval $ac_try) 2>&5
89412 ac_status=$?
89413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89414 (exit $ac_status); }; } &&
89415 { ac_try='test -s conftest.$ac_objext'
89416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89417 (eval $ac_try) 2>&5
89418 ac_status=$?
89419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89420 (exit $ac_status); }; }; then
89421 glibcxx_cv_func_qfpclass_use=yes
89422 else
89423 echo "$as_me: failed program was:" >&5
89424 sed 's/^/| /' conftest.$ac_ext >&5
89426 glibcxx_cv_func_qfpclass_use=no
89428 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89429 ac_ext=c
89430 ac_cpp='$CPP $CPPFLAGS'
89431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89439 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
89440 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
89442 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
89444 for ac_func in qfpclass
89446 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89447 echo "$as_me:$LINENO: checking for $ac_func" >&5
89448 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89449 if eval "test \"\${$as_ac_var+set}\" = set"; then
89450 echo $ECHO_N "(cached) $ECHO_C" >&6
89451 else
89452 if test x$gcc_no_link = xyes; then
89453 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89454 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89455 { (exit 1); exit 1; }; }
89457 cat >conftest.$ac_ext <<_ACEOF
89458 /* confdefs.h. */
89459 _ACEOF
89460 cat confdefs.h >>conftest.$ac_ext
89461 cat >>conftest.$ac_ext <<_ACEOF
89462 /* end confdefs.h. */
89463 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89464 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89465 #define $ac_func innocuous_$ac_func
89467 /* System header to define __stub macros and hopefully few prototypes,
89468 which can conflict with char $ac_func (); below.
89469 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89470 <limits.h> exists even on freestanding compilers. */
89472 #ifdef __STDC__
89473 # include <limits.h>
89474 #else
89475 # include <assert.h>
89476 #endif
89478 #undef $ac_func
89480 /* Override any gcc2 internal prototype to avoid an error. */
89481 #ifdef __cplusplus
89482 extern "C"
89484 #endif
89485 /* We use char because int might match the return type of a gcc2
89486 builtin and then its argument prototype would still apply. */
89487 char $ac_func ();
89488 /* The GNU C library defines this for functions which it implements
89489 to always fail with ENOSYS. Some functions are actually named
89490 something starting with __ and the normal name is an alias. */
89491 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89492 choke me
89493 #else
89494 char (*f) () = $ac_func;
89495 #endif
89496 #ifdef __cplusplus
89498 #endif
89501 main ()
89503 return f != $ac_func;
89505 return 0;
89507 _ACEOF
89508 rm -f conftest.$ac_objext conftest$ac_exeext
89509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89510 (eval $ac_link) 2>conftest.er1
89511 ac_status=$?
89512 grep -v '^ *+' conftest.er1 >conftest.err
89513 rm -f conftest.er1
89514 cat conftest.err >&5
89515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89516 (exit $ac_status); } &&
89517 { ac_try='test -z "$ac_c_werror_flag"
89518 || test ! -s conftest.err'
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); }; } &&
89524 { ac_try='test -s conftest$ac_exeext'
89525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89526 (eval $ac_try) 2>&5
89527 ac_status=$?
89528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89529 (exit $ac_status); }; }; then
89530 eval "$as_ac_var=yes"
89531 else
89532 echo "$as_me: failed program was:" >&5
89533 sed 's/^/| /' conftest.$ac_ext >&5
89535 eval "$as_ac_var=no"
89537 rm -f conftest.err conftest.$ac_objext \
89538 conftest$ac_exeext conftest.$ac_ext
89540 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89541 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89542 if test `eval echo '${'$as_ac_var'}'` = yes; then
89543 cat >>confdefs.h <<_ACEOF
89544 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89545 _ACEOF
89548 done
89550 else
89552 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
89553 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
89554 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
89555 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
89556 echo $ECHO_N "(cached) $ECHO_C" >&6
89557 else
89561 ac_ext=cc
89562 ac_cpp='$CXXCPP $CPPFLAGS'
89563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89567 cat >conftest.$ac_ext <<_ACEOF
89568 /* confdefs.h. */
89569 _ACEOF
89570 cat confdefs.h >>conftest.$ac_ext
89571 cat >>conftest.$ac_ext <<_ACEOF
89572 /* end confdefs.h. */
89573 #include <math.h>
89574 #ifdef HAVE_IEEEFP_H
89575 #include <ieeefp.h>
89576 #endif
89579 main ()
89581 _qfpclass(0);
89583 return 0;
89585 _ACEOF
89586 rm -f conftest.$ac_objext
89587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89588 (eval $ac_compile) 2>conftest.er1
89589 ac_status=$?
89590 grep -v '^ *+' conftest.er1 >conftest.err
89591 rm -f conftest.er1
89592 cat conftest.err >&5
89593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89594 (exit $ac_status); } &&
89595 { ac_try='test -z "$ac_cxx_werror_flag"
89596 || test ! -s conftest.err'
89597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89598 (eval $ac_try) 2>&5
89599 ac_status=$?
89600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89601 (exit $ac_status); }; } &&
89602 { ac_try='test -s conftest.$ac_objext'
89603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89604 (eval $ac_try) 2>&5
89605 ac_status=$?
89606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89607 (exit $ac_status); }; }; then
89608 glibcxx_cv_func__qfpclass_use=yes
89609 else
89610 echo "$as_me: failed program was:" >&5
89611 sed 's/^/| /' conftest.$ac_ext >&5
89613 glibcxx_cv_func__qfpclass_use=no
89615 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89616 ac_ext=c
89617 ac_cpp='$CPP $CPPFLAGS'
89618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89626 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
89627 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
89629 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
89631 for ac_func in _qfpclass
89633 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89634 echo "$as_me:$LINENO: checking for $ac_func" >&5
89635 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89636 if eval "test \"\${$as_ac_var+set}\" = set"; then
89637 echo $ECHO_N "(cached) $ECHO_C" >&6
89638 else
89639 if test x$gcc_no_link = xyes; then
89640 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89641 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89642 { (exit 1); exit 1; }; }
89644 cat >conftest.$ac_ext <<_ACEOF
89645 /* confdefs.h. */
89646 _ACEOF
89647 cat confdefs.h >>conftest.$ac_ext
89648 cat >>conftest.$ac_ext <<_ACEOF
89649 /* end confdefs.h. */
89650 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89651 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89652 #define $ac_func innocuous_$ac_func
89654 /* System header to define __stub macros and hopefully few prototypes,
89655 which can conflict with char $ac_func (); below.
89656 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89657 <limits.h> exists even on freestanding compilers. */
89659 #ifdef __STDC__
89660 # include <limits.h>
89661 #else
89662 # include <assert.h>
89663 #endif
89665 #undef $ac_func
89667 /* Override any gcc2 internal prototype to avoid an error. */
89668 #ifdef __cplusplus
89669 extern "C"
89671 #endif
89672 /* We use char because int might match the return type of a gcc2
89673 builtin and then its argument prototype would still apply. */
89674 char $ac_func ();
89675 /* The GNU C library defines this for functions which it implements
89676 to always fail with ENOSYS. Some functions are actually named
89677 something starting with __ and the normal name is an alias. */
89678 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89679 choke me
89680 #else
89681 char (*f) () = $ac_func;
89682 #endif
89683 #ifdef __cplusplus
89685 #endif
89688 main ()
89690 return f != $ac_func;
89692 return 0;
89694 _ACEOF
89695 rm -f conftest.$ac_objext conftest$ac_exeext
89696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89697 (eval $ac_link) 2>conftest.er1
89698 ac_status=$?
89699 grep -v '^ *+' conftest.er1 >conftest.err
89700 rm -f conftest.er1
89701 cat conftest.err >&5
89702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89703 (exit $ac_status); } &&
89704 { ac_try='test -z "$ac_c_werror_flag"
89705 || test ! -s conftest.err'
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); }; } &&
89711 { ac_try='test -s conftest$ac_exeext'
89712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89713 (eval $ac_try) 2>&5
89714 ac_status=$?
89715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89716 (exit $ac_status); }; }; then
89717 eval "$as_ac_var=yes"
89718 else
89719 echo "$as_me: failed program was:" >&5
89720 sed 's/^/| /' conftest.$ac_ext >&5
89722 eval "$as_ac_var=no"
89724 rm -f conftest.err conftest.$ac_objext \
89725 conftest$ac_exeext conftest.$ac_ext
89727 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89728 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89729 if test `eval echo '${'$as_ac_var'}'` = yes; then
89730 cat >>confdefs.h <<_ACEOF
89731 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89732 _ACEOF
89735 done
89745 echo "$as_me:$LINENO: checking for hypot declaration" >&5
89746 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
89747 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
89748 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
89749 echo $ECHO_N "(cached) $ECHO_C" >&6
89750 else
89754 ac_ext=cc
89755 ac_cpp='$CXXCPP $CPPFLAGS'
89756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89760 cat >conftest.$ac_ext <<_ACEOF
89761 /* confdefs.h. */
89762 _ACEOF
89763 cat confdefs.h >>conftest.$ac_ext
89764 cat >>conftest.$ac_ext <<_ACEOF
89765 /* end confdefs.h. */
89766 #include <math.h>
89768 main ()
89770 hypot(0, 0);
89772 return 0;
89774 _ACEOF
89775 rm -f conftest.$ac_objext
89776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89777 (eval $ac_compile) 2>conftest.er1
89778 ac_status=$?
89779 grep -v '^ *+' conftest.er1 >conftest.err
89780 rm -f conftest.er1
89781 cat conftest.err >&5
89782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89783 (exit $ac_status); } &&
89784 { ac_try='test -z "$ac_cxx_werror_flag"
89785 || test ! -s conftest.err'
89786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89787 (eval $ac_try) 2>&5
89788 ac_status=$?
89789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89790 (exit $ac_status); }; } &&
89791 { ac_try='test -s conftest.$ac_objext'
89792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89793 (eval $ac_try) 2>&5
89794 ac_status=$?
89795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89796 (exit $ac_status); }; }; then
89797 glibcxx_cv_func_hypot_use=yes
89798 else
89799 echo "$as_me: failed program was:" >&5
89800 sed 's/^/| /' conftest.$ac_ext >&5
89802 glibcxx_cv_func_hypot_use=no
89804 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89805 ac_ext=c
89806 ac_cpp='$CPP $CPPFLAGS'
89807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89815 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
89816 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
89818 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
89820 for ac_func in hypot
89822 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89823 echo "$as_me:$LINENO: checking for $ac_func" >&5
89824 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89825 if eval "test \"\${$as_ac_var+set}\" = set"; then
89826 echo $ECHO_N "(cached) $ECHO_C" >&6
89827 else
89828 if test x$gcc_no_link = xyes; then
89829 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89830 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89831 { (exit 1); exit 1; }; }
89833 cat >conftest.$ac_ext <<_ACEOF
89834 /* confdefs.h. */
89835 _ACEOF
89836 cat confdefs.h >>conftest.$ac_ext
89837 cat >>conftest.$ac_ext <<_ACEOF
89838 /* end confdefs.h. */
89839 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89840 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89841 #define $ac_func innocuous_$ac_func
89843 /* System header to define __stub macros and hopefully few prototypes,
89844 which can conflict with char $ac_func (); below.
89845 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89846 <limits.h> exists even on freestanding compilers. */
89848 #ifdef __STDC__
89849 # include <limits.h>
89850 #else
89851 # include <assert.h>
89852 #endif
89854 #undef $ac_func
89856 /* Override any gcc2 internal prototype to avoid an error. */
89857 #ifdef __cplusplus
89858 extern "C"
89860 #endif
89861 /* We use char because int might match the return type of a gcc2
89862 builtin and then its argument prototype would still apply. */
89863 char $ac_func ();
89864 /* The GNU C library defines this for functions which it implements
89865 to always fail with ENOSYS. Some functions are actually named
89866 something starting with __ and the normal name is an alias. */
89867 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89868 choke me
89869 #else
89870 char (*f) () = $ac_func;
89871 #endif
89872 #ifdef __cplusplus
89874 #endif
89877 main ()
89879 return f != $ac_func;
89881 return 0;
89883 _ACEOF
89884 rm -f conftest.$ac_objext conftest$ac_exeext
89885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89886 (eval $ac_link) 2>conftest.er1
89887 ac_status=$?
89888 grep -v '^ *+' conftest.er1 >conftest.err
89889 rm -f conftest.er1
89890 cat conftest.err >&5
89891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89892 (exit $ac_status); } &&
89893 { ac_try='test -z "$ac_c_werror_flag"
89894 || test ! -s conftest.err'
89895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89896 (eval $ac_try) 2>&5
89897 ac_status=$?
89898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89899 (exit $ac_status); }; } &&
89900 { ac_try='test -s conftest$ac_exeext'
89901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89902 (eval $ac_try) 2>&5
89903 ac_status=$?
89904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89905 (exit $ac_status); }; }; then
89906 eval "$as_ac_var=yes"
89907 else
89908 echo "$as_me: failed program was:" >&5
89909 sed 's/^/| /' conftest.$ac_ext >&5
89911 eval "$as_ac_var=no"
89913 rm -f conftest.err conftest.$ac_objext \
89914 conftest$ac_exeext conftest.$ac_ext
89916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89917 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89918 if test `eval echo '${'$as_ac_var'}'` = yes; then
89919 cat >>confdefs.h <<_ACEOF
89920 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89921 _ACEOF
89924 done
89926 else
89928 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
89929 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
89930 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
89931 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
89932 echo $ECHO_N "(cached) $ECHO_C" >&6
89933 else
89937 ac_ext=cc
89938 ac_cpp='$CXXCPP $CPPFLAGS'
89939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89943 cat >conftest.$ac_ext <<_ACEOF
89944 /* confdefs.h. */
89945 _ACEOF
89946 cat confdefs.h >>conftest.$ac_ext
89947 cat >>conftest.$ac_ext <<_ACEOF
89948 /* end confdefs.h. */
89949 #include <math.h>
89951 main ()
89953 _hypot(0, 0);
89955 return 0;
89957 _ACEOF
89958 rm -f conftest.$ac_objext
89959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89960 (eval $ac_compile) 2>conftest.er1
89961 ac_status=$?
89962 grep -v '^ *+' conftest.er1 >conftest.err
89963 rm -f conftest.er1
89964 cat conftest.err >&5
89965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89966 (exit $ac_status); } &&
89967 { ac_try='test -z "$ac_cxx_werror_flag"
89968 || test ! -s conftest.err'
89969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89970 (eval $ac_try) 2>&5
89971 ac_status=$?
89972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89973 (exit $ac_status); }; } &&
89974 { ac_try='test -s conftest.$ac_objext'
89975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89976 (eval $ac_try) 2>&5
89977 ac_status=$?
89978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89979 (exit $ac_status); }; }; then
89980 glibcxx_cv_func__hypot_use=yes
89981 else
89982 echo "$as_me: failed program was:" >&5
89983 sed 's/^/| /' conftest.$ac_ext >&5
89985 glibcxx_cv_func__hypot_use=no
89987 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89988 ac_ext=c
89989 ac_cpp='$CPP $CPPFLAGS'
89990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89998 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
89999 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
90001 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
90003 for ac_func in _hypot
90005 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90006 echo "$as_me:$LINENO: checking for $ac_func" >&5
90007 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90008 if eval "test \"\${$as_ac_var+set}\" = set"; then
90009 echo $ECHO_N "(cached) $ECHO_C" >&6
90010 else
90011 if test x$gcc_no_link = xyes; then
90012 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90013 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90014 { (exit 1); exit 1; }; }
90016 cat >conftest.$ac_ext <<_ACEOF
90017 /* confdefs.h. */
90018 _ACEOF
90019 cat confdefs.h >>conftest.$ac_ext
90020 cat >>conftest.$ac_ext <<_ACEOF
90021 /* end confdefs.h. */
90022 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90023 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90024 #define $ac_func innocuous_$ac_func
90026 /* System header to define __stub macros and hopefully few prototypes,
90027 which can conflict with char $ac_func (); below.
90028 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90029 <limits.h> exists even on freestanding compilers. */
90031 #ifdef __STDC__
90032 # include <limits.h>
90033 #else
90034 # include <assert.h>
90035 #endif
90037 #undef $ac_func
90039 /* Override any gcc2 internal prototype to avoid an error. */
90040 #ifdef __cplusplus
90041 extern "C"
90043 #endif
90044 /* We use char because int might match the return type of a gcc2
90045 builtin and then its argument prototype would still apply. */
90046 char $ac_func ();
90047 /* The GNU C library defines this for functions which it implements
90048 to always fail with ENOSYS. Some functions are actually named
90049 something starting with __ and the normal name is an alias. */
90050 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90051 choke me
90052 #else
90053 char (*f) () = $ac_func;
90054 #endif
90055 #ifdef __cplusplus
90057 #endif
90060 main ()
90062 return f != $ac_func;
90064 return 0;
90066 _ACEOF
90067 rm -f conftest.$ac_objext conftest$ac_exeext
90068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90069 (eval $ac_link) 2>conftest.er1
90070 ac_status=$?
90071 grep -v '^ *+' conftest.er1 >conftest.err
90072 rm -f conftest.er1
90073 cat conftest.err >&5
90074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90075 (exit $ac_status); } &&
90076 { ac_try='test -z "$ac_c_werror_flag"
90077 || test ! -s conftest.err'
90078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90079 (eval $ac_try) 2>&5
90080 ac_status=$?
90081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90082 (exit $ac_status); }; } &&
90083 { ac_try='test -s conftest$ac_exeext'
90084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90085 (eval $ac_try) 2>&5
90086 ac_status=$?
90087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90088 (exit $ac_status); }; }; then
90089 eval "$as_ac_var=yes"
90090 else
90091 echo "$as_me: failed program was:" >&5
90092 sed 's/^/| /' conftest.$ac_ext >&5
90094 eval "$as_ac_var=no"
90096 rm -f conftest.err conftest.$ac_objext \
90097 conftest$ac_exeext conftest.$ac_ext
90099 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90100 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90101 if test `eval echo '${'$as_ac_var'}'` = yes; then
90102 cat >>confdefs.h <<_ACEOF
90103 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90104 _ACEOF
90107 done
90117 echo "$as_me:$LINENO: checking for float trig functions" >&5
90118 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
90119 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
90120 echo $ECHO_N "(cached) $ECHO_C" >&6
90121 else
90125 ac_ext=cc
90126 ac_cpp='$CXXCPP $CPPFLAGS'
90127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90131 cat >conftest.$ac_ext <<_ACEOF
90132 /* confdefs.h. */
90133 _ACEOF
90134 cat confdefs.h >>conftest.$ac_ext
90135 cat >>conftest.$ac_ext <<_ACEOF
90136 /* end confdefs.h. */
90137 #include <math.h>
90139 main ()
90141 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
90143 return 0;
90145 _ACEOF
90146 rm -f conftest.$ac_objext
90147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90148 (eval $ac_compile) 2>conftest.er1
90149 ac_status=$?
90150 grep -v '^ *+' conftest.er1 >conftest.err
90151 rm -f conftest.er1
90152 cat conftest.err >&5
90153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90154 (exit $ac_status); } &&
90155 { ac_try='test -z "$ac_cxx_werror_flag"
90156 || test ! -s conftest.err'
90157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90158 (eval $ac_try) 2>&5
90159 ac_status=$?
90160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90161 (exit $ac_status); }; } &&
90162 { ac_try='test -s conftest.$ac_objext'
90163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90164 (eval $ac_try) 2>&5
90165 ac_status=$?
90166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90167 (exit $ac_status); }; }; then
90168 glibcxx_cv_func_float_trig_use=yes
90169 else
90170 echo "$as_me: failed program was:" >&5
90171 sed 's/^/| /' conftest.$ac_ext >&5
90173 glibcxx_cv_func_float_trig_use=no
90175 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90176 ac_ext=c
90177 ac_cpp='$CPP $CPPFLAGS'
90178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90184 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
90185 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
90186 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
90196 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
90198 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90199 echo "$as_me:$LINENO: checking for $ac_func" >&5
90200 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90201 if eval "test \"\${$as_ac_var+set}\" = set"; then
90202 echo $ECHO_N "(cached) $ECHO_C" >&6
90203 else
90204 if test x$gcc_no_link = xyes; then
90205 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90206 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90207 { (exit 1); exit 1; }; }
90209 cat >conftest.$ac_ext <<_ACEOF
90210 /* confdefs.h. */
90211 _ACEOF
90212 cat confdefs.h >>conftest.$ac_ext
90213 cat >>conftest.$ac_ext <<_ACEOF
90214 /* end confdefs.h. */
90215 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90216 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90217 #define $ac_func innocuous_$ac_func
90219 /* System header to define __stub macros and hopefully few prototypes,
90220 which can conflict with char $ac_func (); below.
90221 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90222 <limits.h> exists even on freestanding compilers. */
90224 #ifdef __STDC__
90225 # include <limits.h>
90226 #else
90227 # include <assert.h>
90228 #endif
90230 #undef $ac_func
90232 /* Override any gcc2 internal prototype to avoid an error. */
90233 #ifdef __cplusplus
90234 extern "C"
90236 #endif
90237 /* We use char because int might match the return type of a gcc2
90238 builtin and then its argument prototype would still apply. */
90239 char $ac_func ();
90240 /* The GNU C library defines this for functions which it implements
90241 to always fail with ENOSYS. Some functions are actually named
90242 something starting with __ and the normal name is an alias. */
90243 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90244 choke me
90245 #else
90246 char (*f) () = $ac_func;
90247 #endif
90248 #ifdef __cplusplus
90250 #endif
90253 main ()
90255 return f != $ac_func;
90257 return 0;
90259 _ACEOF
90260 rm -f conftest.$ac_objext conftest$ac_exeext
90261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90262 (eval $ac_link) 2>conftest.er1
90263 ac_status=$?
90264 grep -v '^ *+' conftest.er1 >conftest.err
90265 rm -f conftest.er1
90266 cat conftest.err >&5
90267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90268 (exit $ac_status); } &&
90269 { ac_try='test -z "$ac_c_werror_flag"
90270 || test ! -s conftest.err'
90271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90272 (eval $ac_try) 2>&5
90273 ac_status=$?
90274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90275 (exit $ac_status); }; } &&
90276 { ac_try='test -s conftest$ac_exeext'
90277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90278 (eval $ac_try) 2>&5
90279 ac_status=$?
90280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90281 (exit $ac_status); }; }; then
90282 eval "$as_ac_var=yes"
90283 else
90284 echo "$as_me: failed program was:" >&5
90285 sed 's/^/| /' conftest.$ac_ext >&5
90287 eval "$as_ac_var=no"
90289 rm -f conftest.err conftest.$ac_objext \
90290 conftest$ac_exeext conftest.$ac_ext
90292 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90293 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90294 if test `eval echo '${'$as_ac_var'}'` = yes; then
90295 cat >>confdefs.h <<_ACEOF
90296 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90297 _ACEOF
90300 done
90302 else
90303 echo "$as_me:$LINENO: checking for _float trig functions" >&5
90304 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
90305 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
90306 echo $ECHO_N "(cached) $ECHO_C" >&6
90307 else
90311 ac_ext=cc
90312 ac_cpp='$CXXCPP $CPPFLAGS'
90313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90317 cat >conftest.$ac_ext <<_ACEOF
90318 /* confdefs.h. */
90319 _ACEOF
90320 cat confdefs.h >>conftest.$ac_ext
90321 cat >>conftest.$ac_ext <<_ACEOF
90322 /* end confdefs.h. */
90323 #include <math.h>
90325 main ()
90327 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
90329 return 0;
90331 _ACEOF
90332 rm -f conftest.$ac_objext
90333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90334 (eval $ac_compile) 2>conftest.er1
90335 ac_status=$?
90336 grep -v '^ *+' conftest.er1 >conftest.err
90337 rm -f conftest.er1
90338 cat conftest.err >&5
90339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90340 (exit $ac_status); } &&
90341 { ac_try='test -z "$ac_cxx_werror_flag"
90342 || test ! -s conftest.err'
90343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90344 (eval $ac_try) 2>&5
90345 ac_status=$?
90346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90347 (exit $ac_status); }; } &&
90348 { ac_try='test -s conftest.$ac_objext'
90349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90350 (eval $ac_try) 2>&5
90351 ac_status=$?
90352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90353 (exit $ac_status); }; }; then
90354 glibcxx_cv_func__float_trig_use=yes
90355 else
90356 echo "$as_me: failed program was:" >&5
90357 sed 's/^/| /' conftest.$ac_ext >&5
90359 glibcxx_cv_func__float_trig_use=no
90361 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90362 ac_ext=c
90363 ac_cpp='$CPP $CPPFLAGS'
90364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90370 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
90371 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
90372 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
90382 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
90384 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90385 echo "$as_me:$LINENO: checking for $ac_func" >&5
90386 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90387 if eval "test \"\${$as_ac_var+set}\" = set"; then
90388 echo $ECHO_N "(cached) $ECHO_C" >&6
90389 else
90390 if test x$gcc_no_link = xyes; then
90391 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90392 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90393 { (exit 1); exit 1; }; }
90395 cat >conftest.$ac_ext <<_ACEOF
90396 /* confdefs.h. */
90397 _ACEOF
90398 cat confdefs.h >>conftest.$ac_ext
90399 cat >>conftest.$ac_ext <<_ACEOF
90400 /* end confdefs.h. */
90401 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90402 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90403 #define $ac_func innocuous_$ac_func
90405 /* System header to define __stub macros and hopefully few prototypes,
90406 which can conflict with char $ac_func (); below.
90407 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90408 <limits.h> exists even on freestanding compilers. */
90410 #ifdef __STDC__
90411 # include <limits.h>
90412 #else
90413 # include <assert.h>
90414 #endif
90416 #undef $ac_func
90418 /* Override any gcc2 internal prototype to avoid an error. */
90419 #ifdef __cplusplus
90420 extern "C"
90422 #endif
90423 /* We use char because int might match the return type of a gcc2
90424 builtin and then its argument prototype would still apply. */
90425 char $ac_func ();
90426 /* The GNU C library defines this for functions which it implements
90427 to always fail with ENOSYS. Some functions are actually named
90428 something starting with __ and the normal name is an alias. */
90429 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90430 choke me
90431 #else
90432 char (*f) () = $ac_func;
90433 #endif
90434 #ifdef __cplusplus
90436 #endif
90439 main ()
90441 return f != $ac_func;
90443 return 0;
90445 _ACEOF
90446 rm -f conftest.$ac_objext conftest$ac_exeext
90447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90448 (eval $ac_link) 2>conftest.er1
90449 ac_status=$?
90450 grep -v '^ *+' conftest.er1 >conftest.err
90451 rm -f conftest.er1
90452 cat conftest.err >&5
90453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90454 (exit $ac_status); } &&
90455 { ac_try='test -z "$ac_c_werror_flag"
90456 || test ! -s conftest.err'
90457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90458 (eval $ac_try) 2>&5
90459 ac_status=$?
90460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90461 (exit $ac_status); }; } &&
90462 { ac_try='test -s conftest$ac_exeext'
90463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90464 (eval $ac_try) 2>&5
90465 ac_status=$?
90466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90467 (exit $ac_status); }; }; then
90468 eval "$as_ac_var=yes"
90469 else
90470 echo "$as_me: failed program was:" >&5
90471 sed 's/^/| /' conftest.$ac_ext >&5
90473 eval "$as_ac_var=no"
90475 rm -f conftest.err conftest.$ac_objext \
90476 conftest$ac_exeext conftest.$ac_ext
90478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90479 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90480 if test `eval echo '${'$as_ac_var'}'` = yes; then
90481 cat >>confdefs.h <<_ACEOF
90482 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90483 _ACEOF
90486 done
90504 echo "$as_me:$LINENO: checking for float round functions" >&5
90505 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
90506 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
90507 echo $ECHO_N "(cached) $ECHO_C" >&6
90508 else
90512 ac_ext=cc
90513 ac_cpp='$CXXCPP $CPPFLAGS'
90514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90518 cat >conftest.$ac_ext <<_ACEOF
90519 /* confdefs.h. */
90520 _ACEOF
90521 cat confdefs.h >>conftest.$ac_ext
90522 cat >>conftest.$ac_ext <<_ACEOF
90523 /* end confdefs.h. */
90524 #include <math.h>
90526 main ()
90528 ceilf (0); floorf (0);
90530 return 0;
90532 _ACEOF
90533 rm -f conftest.$ac_objext
90534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90535 (eval $ac_compile) 2>conftest.er1
90536 ac_status=$?
90537 grep -v '^ *+' conftest.er1 >conftest.err
90538 rm -f conftest.er1
90539 cat conftest.err >&5
90540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90541 (exit $ac_status); } &&
90542 { ac_try='test -z "$ac_cxx_werror_flag"
90543 || test ! -s conftest.err'
90544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90545 (eval $ac_try) 2>&5
90546 ac_status=$?
90547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90548 (exit $ac_status); }; } &&
90549 { ac_try='test -s conftest.$ac_objext'
90550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90551 (eval $ac_try) 2>&5
90552 ac_status=$?
90553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90554 (exit $ac_status); }; }; then
90555 glibcxx_cv_func_float_round_use=yes
90556 else
90557 echo "$as_me: failed program was:" >&5
90558 sed 's/^/| /' conftest.$ac_ext >&5
90560 glibcxx_cv_func_float_round_use=no
90562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90563 ac_ext=c
90564 ac_cpp='$CPP $CPPFLAGS'
90565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90571 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
90572 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
90573 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
90576 for ac_func in ceilf floorf
90578 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90579 echo "$as_me:$LINENO: checking for $ac_func" >&5
90580 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90581 if eval "test \"\${$as_ac_var+set}\" = set"; then
90582 echo $ECHO_N "(cached) $ECHO_C" >&6
90583 else
90584 if test x$gcc_no_link = xyes; then
90585 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90586 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90587 { (exit 1); exit 1; }; }
90589 cat >conftest.$ac_ext <<_ACEOF
90590 /* confdefs.h. */
90591 _ACEOF
90592 cat confdefs.h >>conftest.$ac_ext
90593 cat >>conftest.$ac_ext <<_ACEOF
90594 /* end confdefs.h. */
90595 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90596 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90597 #define $ac_func innocuous_$ac_func
90599 /* System header to define __stub macros and hopefully few prototypes,
90600 which can conflict with char $ac_func (); below.
90601 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90602 <limits.h> exists even on freestanding compilers. */
90604 #ifdef __STDC__
90605 # include <limits.h>
90606 #else
90607 # include <assert.h>
90608 #endif
90610 #undef $ac_func
90612 /* Override any gcc2 internal prototype to avoid an error. */
90613 #ifdef __cplusplus
90614 extern "C"
90616 #endif
90617 /* We use char because int might match the return type of a gcc2
90618 builtin and then its argument prototype would still apply. */
90619 char $ac_func ();
90620 /* The GNU C library defines this for functions which it implements
90621 to always fail with ENOSYS. Some functions are actually named
90622 something starting with __ and the normal name is an alias. */
90623 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90624 choke me
90625 #else
90626 char (*f) () = $ac_func;
90627 #endif
90628 #ifdef __cplusplus
90630 #endif
90633 main ()
90635 return f != $ac_func;
90637 return 0;
90639 _ACEOF
90640 rm -f conftest.$ac_objext conftest$ac_exeext
90641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90642 (eval $ac_link) 2>conftest.er1
90643 ac_status=$?
90644 grep -v '^ *+' conftest.er1 >conftest.err
90645 rm -f conftest.er1
90646 cat conftest.err >&5
90647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90648 (exit $ac_status); } &&
90649 { ac_try='test -z "$ac_c_werror_flag"
90650 || test ! -s conftest.err'
90651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90652 (eval $ac_try) 2>&5
90653 ac_status=$?
90654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90655 (exit $ac_status); }; } &&
90656 { ac_try='test -s conftest$ac_exeext'
90657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90658 (eval $ac_try) 2>&5
90659 ac_status=$?
90660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90661 (exit $ac_status); }; }; then
90662 eval "$as_ac_var=yes"
90663 else
90664 echo "$as_me: failed program was:" >&5
90665 sed 's/^/| /' conftest.$ac_ext >&5
90667 eval "$as_ac_var=no"
90669 rm -f conftest.err conftest.$ac_objext \
90670 conftest$ac_exeext conftest.$ac_ext
90672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90673 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90674 if test `eval echo '${'$as_ac_var'}'` = yes; then
90675 cat >>confdefs.h <<_ACEOF
90676 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90677 _ACEOF
90680 done
90682 else
90683 echo "$as_me:$LINENO: checking for _float round functions" >&5
90684 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
90685 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
90686 echo $ECHO_N "(cached) $ECHO_C" >&6
90687 else
90691 ac_ext=cc
90692 ac_cpp='$CXXCPP $CPPFLAGS'
90693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90697 cat >conftest.$ac_ext <<_ACEOF
90698 /* confdefs.h. */
90699 _ACEOF
90700 cat confdefs.h >>conftest.$ac_ext
90701 cat >>conftest.$ac_ext <<_ACEOF
90702 /* end confdefs.h. */
90703 #include <math.h>
90705 main ()
90707 _ceilf (0); _floorf (0);
90709 return 0;
90711 _ACEOF
90712 rm -f conftest.$ac_objext
90713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90714 (eval $ac_compile) 2>conftest.er1
90715 ac_status=$?
90716 grep -v '^ *+' conftest.er1 >conftest.err
90717 rm -f conftest.er1
90718 cat conftest.err >&5
90719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90720 (exit $ac_status); } &&
90721 { ac_try='test -z "$ac_cxx_werror_flag"
90722 || test ! -s conftest.err'
90723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90724 (eval $ac_try) 2>&5
90725 ac_status=$?
90726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90727 (exit $ac_status); }; } &&
90728 { ac_try='test -s conftest.$ac_objext'
90729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90730 (eval $ac_try) 2>&5
90731 ac_status=$?
90732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90733 (exit $ac_status); }; }; then
90734 glibcxx_cv_func__float_round_use=yes
90735 else
90736 echo "$as_me: failed program was:" >&5
90737 sed 's/^/| /' conftest.$ac_ext >&5
90739 glibcxx_cv_func__float_round_use=no
90741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90742 ac_ext=c
90743 ac_cpp='$CPP $CPPFLAGS'
90744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90750 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
90751 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
90752 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
90755 for ac_func in _ceilf _floorf
90757 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90758 echo "$as_me:$LINENO: checking for $ac_func" >&5
90759 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90760 if eval "test \"\${$as_ac_var+set}\" = set"; then
90761 echo $ECHO_N "(cached) $ECHO_C" >&6
90762 else
90763 if test x$gcc_no_link = xyes; then
90764 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90765 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90766 { (exit 1); exit 1; }; }
90768 cat >conftest.$ac_ext <<_ACEOF
90769 /* confdefs.h. */
90770 _ACEOF
90771 cat confdefs.h >>conftest.$ac_ext
90772 cat >>conftest.$ac_ext <<_ACEOF
90773 /* end confdefs.h. */
90774 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90775 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90776 #define $ac_func innocuous_$ac_func
90778 /* System header to define __stub macros and hopefully few prototypes,
90779 which can conflict with char $ac_func (); below.
90780 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90781 <limits.h> exists even on freestanding compilers. */
90783 #ifdef __STDC__
90784 # include <limits.h>
90785 #else
90786 # include <assert.h>
90787 #endif
90789 #undef $ac_func
90791 /* Override any gcc2 internal prototype to avoid an error. */
90792 #ifdef __cplusplus
90793 extern "C"
90795 #endif
90796 /* We use char because int might match the return type of a gcc2
90797 builtin and then its argument prototype would still apply. */
90798 char $ac_func ();
90799 /* The GNU C library defines this for functions which it implements
90800 to always fail with ENOSYS. Some functions are actually named
90801 something starting with __ and the normal name is an alias. */
90802 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90803 choke me
90804 #else
90805 char (*f) () = $ac_func;
90806 #endif
90807 #ifdef __cplusplus
90809 #endif
90812 main ()
90814 return f != $ac_func;
90816 return 0;
90818 _ACEOF
90819 rm -f conftest.$ac_objext conftest$ac_exeext
90820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90821 (eval $ac_link) 2>conftest.er1
90822 ac_status=$?
90823 grep -v '^ *+' conftest.er1 >conftest.err
90824 rm -f conftest.er1
90825 cat conftest.err >&5
90826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90827 (exit $ac_status); } &&
90828 { ac_try='test -z "$ac_c_werror_flag"
90829 || test ! -s conftest.err'
90830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90831 (eval $ac_try) 2>&5
90832 ac_status=$?
90833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90834 (exit $ac_status); }; } &&
90835 { ac_try='test -s conftest$ac_exeext'
90836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90837 (eval $ac_try) 2>&5
90838 ac_status=$?
90839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90840 (exit $ac_status); }; }; then
90841 eval "$as_ac_var=yes"
90842 else
90843 echo "$as_me: failed program was:" >&5
90844 sed 's/^/| /' conftest.$ac_ext >&5
90846 eval "$as_ac_var=no"
90848 rm -f conftest.err conftest.$ac_objext \
90849 conftest$ac_exeext conftest.$ac_ext
90851 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90852 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90853 if test `eval echo '${'$as_ac_var'}'` = yes; then
90854 cat >>confdefs.h <<_ACEOF
90855 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90856 _ACEOF
90859 done
90871 echo "$as_me:$LINENO: checking for expf declaration" >&5
90872 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
90873 if test x${glibcxx_cv_func_expf_use+set} != xset; then
90874 if test "${glibcxx_cv_func_expf_use+set}" = set; then
90875 echo $ECHO_N "(cached) $ECHO_C" >&6
90876 else
90880 ac_ext=cc
90881 ac_cpp='$CXXCPP $CPPFLAGS'
90882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90886 cat >conftest.$ac_ext <<_ACEOF
90887 /* confdefs.h. */
90888 _ACEOF
90889 cat confdefs.h >>conftest.$ac_ext
90890 cat >>conftest.$ac_ext <<_ACEOF
90891 /* end confdefs.h. */
90892 #include <math.h>
90893 #ifdef HAVE_IEEEFP_H
90894 #include <ieeefp.h>
90895 #endif
90898 main ()
90900 expf(0);
90902 return 0;
90904 _ACEOF
90905 rm -f conftest.$ac_objext
90906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90907 (eval $ac_compile) 2>conftest.er1
90908 ac_status=$?
90909 grep -v '^ *+' conftest.er1 >conftest.err
90910 rm -f conftest.er1
90911 cat conftest.err >&5
90912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90913 (exit $ac_status); } &&
90914 { ac_try='test -z "$ac_cxx_werror_flag"
90915 || test ! -s conftest.err'
90916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90917 (eval $ac_try) 2>&5
90918 ac_status=$?
90919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90920 (exit $ac_status); }; } &&
90921 { ac_try='test -s conftest.$ac_objext'
90922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90923 (eval $ac_try) 2>&5
90924 ac_status=$?
90925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90926 (exit $ac_status); }; }; then
90927 glibcxx_cv_func_expf_use=yes
90928 else
90929 echo "$as_me: failed program was:" >&5
90930 sed 's/^/| /' conftest.$ac_ext >&5
90932 glibcxx_cv_func_expf_use=no
90934 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90935 ac_ext=c
90936 ac_cpp='$CPP $CPPFLAGS'
90937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90945 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
90946 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
90948 if test x$glibcxx_cv_func_expf_use = x"yes"; then
90950 for ac_func in expf
90952 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90953 echo "$as_me:$LINENO: checking for $ac_func" >&5
90954 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90955 if eval "test \"\${$as_ac_var+set}\" = set"; then
90956 echo $ECHO_N "(cached) $ECHO_C" >&6
90957 else
90958 if test x$gcc_no_link = xyes; then
90959 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90960 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90961 { (exit 1); exit 1; }; }
90963 cat >conftest.$ac_ext <<_ACEOF
90964 /* confdefs.h. */
90965 _ACEOF
90966 cat confdefs.h >>conftest.$ac_ext
90967 cat >>conftest.$ac_ext <<_ACEOF
90968 /* end confdefs.h. */
90969 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90970 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90971 #define $ac_func innocuous_$ac_func
90973 /* System header to define __stub macros and hopefully few prototypes,
90974 which can conflict with char $ac_func (); below.
90975 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90976 <limits.h> exists even on freestanding compilers. */
90978 #ifdef __STDC__
90979 # include <limits.h>
90980 #else
90981 # include <assert.h>
90982 #endif
90984 #undef $ac_func
90986 /* Override any gcc2 internal prototype to avoid an error. */
90987 #ifdef __cplusplus
90988 extern "C"
90990 #endif
90991 /* We use char because int might match the return type of a gcc2
90992 builtin and then its argument prototype would still apply. */
90993 char $ac_func ();
90994 /* The GNU C library defines this for functions which it implements
90995 to always fail with ENOSYS. Some functions are actually named
90996 something starting with __ and the normal name is an alias. */
90997 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90998 choke me
90999 #else
91000 char (*f) () = $ac_func;
91001 #endif
91002 #ifdef __cplusplus
91004 #endif
91007 main ()
91009 return f != $ac_func;
91011 return 0;
91013 _ACEOF
91014 rm -f conftest.$ac_objext conftest$ac_exeext
91015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91016 (eval $ac_link) 2>conftest.er1
91017 ac_status=$?
91018 grep -v '^ *+' conftest.er1 >conftest.err
91019 rm -f conftest.er1
91020 cat conftest.err >&5
91021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91022 (exit $ac_status); } &&
91023 { ac_try='test -z "$ac_c_werror_flag"
91024 || test ! -s conftest.err'
91025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91026 (eval $ac_try) 2>&5
91027 ac_status=$?
91028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91029 (exit $ac_status); }; } &&
91030 { ac_try='test -s conftest$ac_exeext'
91031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91032 (eval $ac_try) 2>&5
91033 ac_status=$?
91034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91035 (exit $ac_status); }; }; then
91036 eval "$as_ac_var=yes"
91037 else
91038 echo "$as_me: failed program was:" >&5
91039 sed 's/^/| /' conftest.$ac_ext >&5
91041 eval "$as_ac_var=no"
91043 rm -f conftest.err conftest.$ac_objext \
91044 conftest$ac_exeext conftest.$ac_ext
91046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91047 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91048 if test `eval echo '${'$as_ac_var'}'` = yes; then
91049 cat >>confdefs.h <<_ACEOF
91050 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91051 _ACEOF
91054 done
91056 else
91058 echo "$as_me:$LINENO: checking for _expf declaration" >&5
91059 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
91060 if test x${glibcxx_cv_func__expf_use+set} != xset; then
91061 if test "${glibcxx_cv_func__expf_use+set}" = set; then
91062 echo $ECHO_N "(cached) $ECHO_C" >&6
91063 else
91067 ac_ext=cc
91068 ac_cpp='$CXXCPP $CPPFLAGS'
91069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91073 cat >conftest.$ac_ext <<_ACEOF
91074 /* confdefs.h. */
91075 _ACEOF
91076 cat confdefs.h >>conftest.$ac_ext
91077 cat >>conftest.$ac_ext <<_ACEOF
91078 /* end confdefs.h. */
91079 #include <math.h>
91080 #ifdef HAVE_IEEEFP_H
91081 #include <ieeefp.h>
91082 #endif
91085 main ()
91087 _expf(0);
91089 return 0;
91091 _ACEOF
91092 rm -f conftest.$ac_objext
91093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91094 (eval $ac_compile) 2>conftest.er1
91095 ac_status=$?
91096 grep -v '^ *+' conftest.er1 >conftest.err
91097 rm -f conftest.er1
91098 cat conftest.err >&5
91099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91100 (exit $ac_status); } &&
91101 { ac_try='test -z "$ac_cxx_werror_flag"
91102 || test ! -s conftest.err'
91103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91104 (eval $ac_try) 2>&5
91105 ac_status=$?
91106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91107 (exit $ac_status); }; } &&
91108 { ac_try='test -s conftest.$ac_objext'
91109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91110 (eval $ac_try) 2>&5
91111 ac_status=$?
91112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91113 (exit $ac_status); }; }; then
91114 glibcxx_cv_func__expf_use=yes
91115 else
91116 echo "$as_me: failed program was:" >&5
91117 sed 's/^/| /' conftest.$ac_ext >&5
91119 glibcxx_cv_func__expf_use=no
91121 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91122 ac_ext=c
91123 ac_cpp='$CPP $CPPFLAGS'
91124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91132 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
91133 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
91135 if test x$glibcxx_cv_func__expf_use = x"yes"; then
91137 for ac_func in _expf
91139 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91140 echo "$as_me:$LINENO: checking for $ac_func" >&5
91141 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91142 if eval "test \"\${$as_ac_var+set}\" = set"; then
91143 echo $ECHO_N "(cached) $ECHO_C" >&6
91144 else
91145 if test x$gcc_no_link = xyes; then
91146 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91147 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91148 { (exit 1); exit 1; }; }
91150 cat >conftest.$ac_ext <<_ACEOF
91151 /* confdefs.h. */
91152 _ACEOF
91153 cat confdefs.h >>conftest.$ac_ext
91154 cat >>conftest.$ac_ext <<_ACEOF
91155 /* end confdefs.h. */
91156 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91157 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91158 #define $ac_func innocuous_$ac_func
91160 /* System header to define __stub macros and hopefully few prototypes,
91161 which can conflict with char $ac_func (); below.
91162 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91163 <limits.h> exists even on freestanding compilers. */
91165 #ifdef __STDC__
91166 # include <limits.h>
91167 #else
91168 # include <assert.h>
91169 #endif
91171 #undef $ac_func
91173 /* Override any gcc2 internal prototype to avoid an error. */
91174 #ifdef __cplusplus
91175 extern "C"
91177 #endif
91178 /* We use char because int might match the return type of a gcc2
91179 builtin and then its argument prototype would still apply. */
91180 char $ac_func ();
91181 /* The GNU C library defines this for functions which it implements
91182 to always fail with ENOSYS. Some functions are actually named
91183 something starting with __ and the normal name is an alias. */
91184 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91185 choke me
91186 #else
91187 char (*f) () = $ac_func;
91188 #endif
91189 #ifdef __cplusplus
91191 #endif
91194 main ()
91196 return f != $ac_func;
91198 return 0;
91200 _ACEOF
91201 rm -f conftest.$ac_objext conftest$ac_exeext
91202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91203 (eval $ac_link) 2>conftest.er1
91204 ac_status=$?
91205 grep -v '^ *+' conftest.er1 >conftest.err
91206 rm -f conftest.er1
91207 cat conftest.err >&5
91208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91209 (exit $ac_status); } &&
91210 { ac_try='test -z "$ac_c_werror_flag"
91211 || test ! -s conftest.err'
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); }; } &&
91217 { ac_try='test -s conftest$ac_exeext'
91218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91219 (eval $ac_try) 2>&5
91220 ac_status=$?
91221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91222 (exit $ac_status); }; }; then
91223 eval "$as_ac_var=yes"
91224 else
91225 echo "$as_me: failed program was:" >&5
91226 sed 's/^/| /' conftest.$ac_ext >&5
91228 eval "$as_ac_var=no"
91230 rm -f conftest.err conftest.$ac_objext \
91231 conftest$ac_exeext conftest.$ac_ext
91233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91234 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91235 if test `eval echo '${'$as_ac_var'}'` = yes; then
91236 cat >>confdefs.h <<_ACEOF
91237 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91238 _ACEOF
91241 done
91251 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
91252 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
91253 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
91254 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
91255 echo $ECHO_N "(cached) $ECHO_C" >&6
91256 else
91260 ac_ext=cc
91261 ac_cpp='$CXXCPP $CPPFLAGS'
91262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91266 cat >conftest.$ac_ext <<_ACEOF
91267 /* confdefs.h. */
91268 _ACEOF
91269 cat confdefs.h >>conftest.$ac_ext
91270 cat >>conftest.$ac_ext <<_ACEOF
91271 /* end confdefs.h. */
91272 #include <math.h>
91273 #ifdef HAVE_IEEEFP_H
91274 #include <ieeefp.h>
91275 #endif
91278 main ()
91280 isnanf(0);
91282 return 0;
91284 _ACEOF
91285 rm -f conftest.$ac_objext
91286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91287 (eval $ac_compile) 2>conftest.er1
91288 ac_status=$?
91289 grep -v '^ *+' conftest.er1 >conftest.err
91290 rm -f conftest.er1
91291 cat conftest.err >&5
91292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91293 (exit $ac_status); } &&
91294 { ac_try='test -z "$ac_cxx_werror_flag"
91295 || test ! -s conftest.err'
91296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91297 (eval $ac_try) 2>&5
91298 ac_status=$?
91299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91300 (exit $ac_status); }; } &&
91301 { ac_try='test -s conftest.$ac_objext'
91302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91303 (eval $ac_try) 2>&5
91304 ac_status=$?
91305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91306 (exit $ac_status); }; }; then
91307 glibcxx_cv_func_isnanf_use=yes
91308 else
91309 echo "$as_me: failed program was:" >&5
91310 sed 's/^/| /' conftest.$ac_ext >&5
91312 glibcxx_cv_func_isnanf_use=no
91314 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91315 ac_ext=c
91316 ac_cpp='$CPP $CPPFLAGS'
91317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91325 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
91326 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
91328 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
91330 for ac_func in isnanf
91332 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91333 echo "$as_me:$LINENO: checking for $ac_func" >&5
91334 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91335 if eval "test \"\${$as_ac_var+set}\" = set"; then
91336 echo $ECHO_N "(cached) $ECHO_C" >&6
91337 else
91338 if test x$gcc_no_link = xyes; then
91339 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91340 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91341 { (exit 1); exit 1; }; }
91343 cat >conftest.$ac_ext <<_ACEOF
91344 /* confdefs.h. */
91345 _ACEOF
91346 cat confdefs.h >>conftest.$ac_ext
91347 cat >>conftest.$ac_ext <<_ACEOF
91348 /* end confdefs.h. */
91349 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91350 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91351 #define $ac_func innocuous_$ac_func
91353 /* System header to define __stub macros and hopefully few prototypes,
91354 which can conflict with char $ac_func (); below.
91355 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91356 <limits.h> exists even on freestanding compilers. */
91358 #ifdef __STDC__
91359 # include <limits.h>
91360 #else
91361 # include <assert.h>
91362 #endif
91364 #undef $ac_func
91366 /* Override any gcc2 internal prototype to avoid an error. */
91367 #ifdef __cplusplus
91368 extern "C"
91370 #endif
91371 /* We use char because int might match the return type of a gcc2
91372 builtin and then its argument prototype would still apply. */
91373 char $ac_func ();
91374 /* The GNU C library defines this for functions which it implements
91375 to always fail with ENOSYS. Some functions are actually named
91376 something starting with __ and the normal name is an alias. */
91377 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91378 choke me
91379 #else
91380 char (*f) () = $ac_func;
91381 #endif
91382 #ifdef __cplusplus
91384 #endif
91387 main ()
91389 return f != $ac_func;
91391 return 0;
91393 _ACEOF
91394 rm -f conftest.$ac_objext conftest$ac_exeext
91395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91396 (eval $ac_link) 2>conftest.er1
91397 ac_status=$?
91398 grep -v '^ *+' conftest.er1 >conftest.err
91399 rm -f conftest.er1
91400 cat conftest.err >&5
91401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91402 (exit $ac_status); } &&
91403 { ac_try='test -z "$ac_c_werror_flag"
91404 || test ! -s conftest.err'
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); }; } &&
91410 { ac_try='test -s conftest$ac_exeext'
91411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91412 (eval $ac_try) 2>&5
91413 ac_status=$?
91414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91415 (exit $ac_status); }; }; then
91416 eval "$as_ac_var=yes"
91417 else
91418 echo "$as_me: failed program was:" >&5
91419 sed 's/^/| /' conftest.$ac_ext >&5
91421 eval "$as_ac_var=no"
91423 rm -f conftest.err conftest.$ac_objext \
91424 conftest$ac_exeext conftest.$ac_ext
91426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91427 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91428 if test `eval echo '${'$as_ac_var'}'` = yes; then
91429 cat >>confdefs.h <<_ACEOF
91430 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91431 _ACEOF
91434 done
91436 else
91438 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
91439 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
91440 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
91441 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
91442 echo $ECHO_N "(cached) $ECHO_C" >&6
91443 else
91447 ac_ext=cc
91448 ac_cpp='$CXXCPP $CPPFLAGS'
91449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91453 cat >conftest.$ac_ext <<_ACEOF
91454 /* confdefs.h. */
91455 _ACEOF
91456 cat confdefs.h >>conftest.$ac_ext
91457 cat >>conftest.$ac_ext <<_ACEOF
91458 /* end confdefs.h. */
91459 #include <math.h>
91460 #ifdef HAVE_IEEEFP_H
91461 #include <ieeefp.h>
91462 #endif
91465 main ()
91467 _isnanf(0);
91469 return 0;
91471 _ACEOF
91472 rm -f conftest.$ac_objext
91473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91474 (eval $ac_compile) 2>conftest.er1
91475 ac_status=$?
91476 grep -v '^ *+' conftest.er1 >conftest.err
91477 rm -f conftest.er1
91478 cat conftest.err >&5
91479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91480 (exit $ac_status); } &&
91481 { ac_try='test -z "$ac_cxx_werror_flag"
91482 || test ! -s conftest.err'
91483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91484 (eval $ac_try) 2>&5
91485 ac_status=$?
91486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91487 (exit $ac_status); }; } &&
91488 { ac_try='test -s conftest.$ac_objext'
91489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91490 (eval $ac_try) 2>&5
91491 ac_status=$?
91492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91493 (exit $ac_status); }; }; then
91494 glibcxx_cv_func__isnanf_use=yes
91495 else
91496 echo "$as_me: failed program was:" >&5
91497 sed 's/^/| /' conftest.$ac_ext >&5
91499 glibcxx_cv_func__isnanf_use=no
91501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91502 ac_ext=c
91503 ac_cpp='$CPP $CPPFLAGS'
91504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91512 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
91513 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
91515 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
91517 for ac_func in _isnanf
91519 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91520 echo "$as_me:$LINENO: checking for $ac_func" >&5
91521 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91522 if eval "test \"\${$as_ac_var+set}\" = set"; then
91523 echo $ECHO_N "(cached) $ECHO_C" >&6
91524 else
91525 if test x$gcc_no_link = xyes; then
91526 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91527 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91528 { (exit 1); exit 1; }; }
91530 cat >conftest.$ac_ext <<_ACEOF
91531 /* confdefs.h. */
91532 _ACEOF
91533 cat confdefs.h >>conftest.$ac_ext
91534 cat >>conftest.$ac_ext <<_ACEOF
91535 /* end confdefs.h. */
91536 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91537 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91538 #define $ac_func innocuous_$ac_func
91540 /* System header to define __stub macros and hopefully few prototypes,
91541 which can conflict with char $ac_func (); below.
91542 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91543 <limits.h> exists even on freestanding compilers. */
91545 #ifdef __STDC__
91546 # include <limits.h>
91547 #else
91548 # include <assert.h>
91549 #endif
91551 #undef $ac_func
91553 /* Override any gcc2 internal prototype to avoid an error. */
91554 #ifdef __cplusplus
91555 extern "C"
91557 #endif
91558 /* We use char because int might match the return type of a gcc2
91559 builtin and then its argument prototype would still apply. */
91560 char $ac_func ();
91561 /* The GNU C library defines this for functions which it implements
91562 to always fail with ENOSYS. Some functions are actually named
91563 something starting with __ and the normal name is an alias. */
91564 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91565 choke me
91566 #else
91567 char (*f) () = $ac_func;
91568 #endif
91569 #ifdef __cplusplus
91571 #endif
91574 main ()
91576 return f != $ac_func;
91578 return 0;
91580 _ACEOF
91581 rm -f conftest.$ac_objext conftest$ac_exeext
91582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91583 (eval $ac_link) 2>conftest.er1
91584 ac_status=$?
91585 grep -v '^ *+' conftest.er1 >conftest.err
91586 rm -f conftest.er1
91587 cat conftest.err >&5
91588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91589 (exit $ac_status); } &&
91590 { ac_try='test -z "$ac_c_werror_flag"
91591 || test ! -s conftest.err'
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); }; } &&
91597 { ac_try='test -s conftest$ac_exeext'
91598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91599 (eval $ac_try) 2>&5
91600 ac_status=$?
91601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91602 (exit $ac_status); }; }; then
91603 eval "$as_ac_var=yes"
91604 else
91605 echo "$as_me: failed program was:" >&5
91606 sed 's/^/| /' conftest.$ac_ext >&5
91608 eval "$as_ac_var=no"
91610 rm -f conftest.err conftest.$ac_objext \
91611 conftest$ac_exeext conftest.$ac_ext
91613 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91614 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91615 if test `eval echo '${'$as_ac_var'}'` = yes; then
91616 cat >>confdefs.h <<_ACEOF
91617 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91618 _ACEOF
91621 done
91631 echo "$as_me:$LINENO: checking for isinff declaration" >&5
91632 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
91633 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
91634 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
91635 echo $ECHO_N "(cached) $ECHO_C" >&6
91636 else
91640 ac_ext=cc
91641 ac_cpp='$CXXCPP $CPPFLAGS'
91642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91646 cat >conftest.$ac_ext <<_ACEOF
91647 /* confdefs.h. */
91648 _ACEOF
91649 cat confdefs.h >>conftest.$ac_ext
91650 cat >>conftest.$ac_ext <<_ACEOF
91651 /* end confdefs.h. */
91652 #include <math.h>
91653 #ifdef HAVE_IEEEFP_H
91654 #include <ieeefp.h>
91655 #endif
91658 main ()
91660 isinff(0);
91662 return 0;
91664 _ACEOF
91665 rm -f conftest.$ac_objext
91666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91667 (eval $ac_compile) 2>conftest.er1
91668 ac_status=$?
91669 grep -v '^ *+' conftest.er1 >conftest.err
91670 rm -f conftest.er1
91671 cat conftest.err >&5
91672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91673 (exit $ac_status); } &&
91674 { ac_try='test -z "$ac_cxx_werror_flag"
91675 || test ! -s conftest.err'
91676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91677 (eval $ac_try) 2>&5
91678 ac_status=$?
91679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91680 (exit $ac_status); }; } &&
91681 { ac_try='test -s conftest.$ac_objext'
91682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91683 (eval $ac_try) 2>&5
91684 ac_status=$?
91685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91686 (exit $ac_status); }; }; then
91687 glibcxx_cv_func_isinff_use=yes
91688 else
91689 echo "$as_me: failed program was:" >&5
91690 sed 's/^/| /' conftest.$ac_ext >&5
91692 glibcxx_cv_func_isinff_use=no
91694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91695 ac_ext=c
91696 ac_cpp='$CPP $CPPFLAGS'
91697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91705 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
91706 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
91708 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
91710 for ac_func in isinff
91712 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91713 echo "$as_me:$LINENO: checking for $ac_func" >&5
91714 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91715 if eval "test \"\${$as_ac_var+set}\" = set"; then
91716 echo $ECHO_N "(cached) $ECHO_C" >&6
91717 else
91718 if test x$gcc_no_link = xyes; then
91719 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91720 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91721 { (exit 1); exit 1; }; }
91723 cat >conftest.$ac_ext <<_ACEOF
91724 /* confdefs.h. */
91725 _ACEOF
91726 cat confdefs.h >>conftest.$ac_ext
91727 cat >>conftest.$ac_ext <<_ACEOF
91728 /* end confdefs.h. */
91729 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91730 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91731 #define $ac_func innocuous_$ac_func
91733 /* System header to define __stub macros and hopefully few prototypes,
91734 which can conflict with char $ac_func (); below.
91735 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91736 <limits.h> exists even on freestanding compilers. */
91738 #ifdef __STDC__
91739 # include <limits.h>
91740 #else
91741 # include <assert.h>
91742 #endif
91744 #undef $ac_func
91746 /* Override any gcc2 internal prototype to avoid an error. */
91747 #ifdef __cplusplus
91748 extern "C"
91750 #endif
91751 /* We use char because int might match the return type of a gcc2
91752 builtin and then its argument prototype would still apply. */
91753 char $ac_func ();
91754 /* The GNU C library defines this for functions which it implements
91755 to always fail with ENOSYS. Some functions are actually named
91756 something starting with __ and the normal name is an alias. */
91757 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91758 choke me
91759 #else
91760 char (*f) () = $ac_func;
91761 #endif
91762 #ifdef __cplusplus
91764 #endif
91767 main ()
91769 return f != $ac_func;
91771 return 0;
91773 _ACEOF
91774 rm -f conftest.$ac_objext conftest$ac_exeext
91775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91776 (eval $ac_link) 2>conftest.er1
91777 ac_status=$?
91778 grep -v '^ *+' conftest.er1 >conftest.err
91779 rm -f conftest.er1
91780 cat conftest.err >&5
91781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91782 (exit $ac_status); } &&
91783 { ac_try='test -z "$ac_c_werror_flag"
91784 || test ! -s conftest.err'
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); }; } &&
91790 { ac_try='test -s conftest$ac_exeext'
91791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91792 (eval $ac_try) 2>&5
91793 ac_status=$?
91794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91795 (exit $ac_status); }; }; then
91796 eval "$as_ac_var=yes"
91797 else
91798 echo "$as_me: failed program was:" >&5
91799 sed 's/^/| /' conftest.$ac_ext >&5
91801 eval "$as_ac_var=no"
91803 rm -f conftest.err conftest.$ac_objext \
91804 conftest$ac_exeext conftest.$ac_ext
91806 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91807 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91808 if test `eval echo '${'$as_ac_var'}'` = yes; then
91809 cat >>confdefs.h <<_ACEOF
91810 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91811 _ACEOF
91814 done
91816 else
91818 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
91819 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
91820 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
91821 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
91822 echo $ECHO_N "(cached) $ECHO_C" >&6
91823 else
91827 ac_ext=cc
91828 ac_cpp='$CXXCPP $CPPFLAGS'
91829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91833 cat >conftest.$ac_ext <<_ACEOF
91834 /* confdefs.h. */
91835 _ACEOF
91836 cat confdefs.h >>conftest.$ac_ext
91837 cat >>conftest.$ac_ext <<_ACEOF
91838 /* end confdefs.h. */
91839 #include <math.h>
91840 #ifdef HAVE_IEEEFP_H
91841 #include <ieeefp.h>
91842 #endif
91845 main ()
91847 _isinff(0);
91849 return 0;
91851 _ACEOF
91852 rm -f conftest.$ac_objext
91853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91854 (eval $ac_compile) 2>conftest.er1
91855 ac_status=$?
91856 grep -v '^ *+' conftest.er1 >conftest.err
91857 rm -f conftest.er1
91858 cat conftest.err >&5
91859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91860 (exit $ac_status); } &&
91861 { ac_try='test -z "$ac_cxx_werror_flag"
91862 || test ! -s conftest.err'
91863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91864 (eval $ac_try) 2>&5
91865 ac_status=$?
91866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91867 (exit $ac_status); }; } &&
91868 { ac_try='test -s conftest.$ac_objext'
91869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91870 (eval $ac_try) 2>&5
91871 ac_status=$?
91872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91873 (exit $ac_status); }; }; then
91874 glibcxx_cv_func__isinff_use=yes
91875 else
91876 echo "$as_me: failed program was:" >&5
91877 sed 's/^/| /' conftest.$ac_ext >&5
91879 glibcxx_cv_func__isinff_use=no
91881 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91882 ac_ext=c
91883 ac_cpp='$CPP $CPPFLAGS'
91884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91892 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
91893 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
91895 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
91897 for ac_func in _isinff
91899 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91900 echo "$as_me:$LINENO: checking for $ac_func" >&5
91901 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91902 if eval "test \"\${$as_ac_var+set}\" = set"; then
91903 echo $ECHO_N "(cached) $ECHO_C" >&6
91904 else
91905 if test x$gcc_no_link = xyes; then
91906 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91907 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91908 { (exit 1); exit 1; }; }
91910 cat >conftest.$ac_ext <<_ACEOF
91911 /* confdefs.h. */
91912 _ACEOF
91913 cat confdefs.h >>conftest.$ac_ext
91914 cat >>conftest.$ac_ext <<_ACEOF
91915 /* end confdefs.h. */
91916 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91917 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91918 #define $ac_func innocuous_$ac_func
91920 /* System header to define __stub macros and hopefully few prototypes,
91921 which can conflict with char $ac_func (); below.
91922 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91923 <limits.h> exists even on freestanding compilers. */
91925 #ifdef __STDC__
91926 # include <limits.h>
91927 #else
91928 # include <assert.h>
91929 #endif
91931 #undef $ac_func
91933 /* Override any gcc2 internal prototype to avoid an error. */
91934 #ifdef __cplusplus
91935 extern "C"
91937 #endif
91938 /* We use char because int might match the return type of a gcc2
91939 builtin and then its argument prototype would still apply. */
91940 char $ac_func ();
91941 /* The GNU C library defines this for functions which it implements
91942 to always fail with ENOSYS. Some functions are actually named
91943 something starting with __ and the normal name is an alias. */
91944 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91945 choke me
91946 #else
91947 char (*f) () = $ac_func;
91948 #endif
91949 #ifdef __cplusplus
91951 #endif
91954 main ()
91956 return f != $ac_func;
91958 return 0;
91960 _ACEOF
91961 rm -f conftest.$ac_objext conftest$ac_exeext
91962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91963 (eval $ac_link) 2>conftest.er1
91964 ac_status=$?
91965 grep -v '^ *+' conftest.er1 >conftest.err
91966 rm -f conftest.er1
91967 cat conftest.err >&5
91968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91969 (exit $ac_status); } &&
91970 { ac_try='test -z "$ac_c_werror_flag"
91971 || test ! -s conftest.err'
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); }; } &&
91977 { ac_try='test -s conftest$ac_exeext'
91978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91979 (eval $ac_try) 2>&5
91980 ac_status=$?
91981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91982 (exit $ac_status); }; }; then
91983 eval "$as_ac_var=yes"
91984 else
91985 echo "$as_me: failed program was:" >&5
91986 sed 's/^/| /' conftest.$ac_ext >&5
91988 eval "$as_ac_var=no"
91990 rm -f conftest.err conftest.$ac_objext \
91991 conftest$ac_exeext conftest.$ac_ext
91993 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91994 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91995 if test `eval echo '${'$as_ac_var'}'` = yes; then
91996 cat >>confdefs.h <<_ACEOF
91997 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91998 _ACEOF
92001 done
92011 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
92012 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
92013 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
92014 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
92015 echo $ECHO_N "(cached) $ECHO_C" >&6
92016 else
92020 ac_ext=cc
92021 ac_cpp='$CXXCPP $CPPFLAGS'
92022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92026 cat >conftest.$ac_ext <<_ACEOF
92027 /* confdefs.h. */
92028 _ACEOF
92029 cat confdefs.h >>conftest.$ac_ext
92030 cat >>conftest.$ac_ext <<_ACEOF
92031 /* end confdefs.h. */
92032 #include <math.h>
92034 main ()
92036 atan2f(0, 0);
92038 return 0;
92040 _ACEOF
92041 rm -f conftest.$ac_objext
92042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92043 (eval $ac_compile) 2>conftest.er1
92044 ac_status=$?
92045 grep -v '^ *+' conftest.er1 >conftest.err
92046 rm -f conftest.er1
92047 cat conftest.err >&5
92048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92049 (exit $ac_status); } &&
92050 { ac_try='test -z "$ac_cxx_werror_flag"
92051 || test ! -s conftest.err'
92052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92053 (eval $ac_try) 2>&5
92054 ac_status=$?
92055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92056 (exit $ac_status); }; } &&
92057 { ac_try='test -s conftest.$ac_objext'
92058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92059 (eval $ac_try) 2>&5
92060 ac_status=$?
92061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92062 (exit $ac_status); }; }; then
92063 glibcxx_cv_func_atan2f_use=yes
92064 else
92065 echo "$as_me: failed program was:" >&5
92066 sed 's/^/| /' conftest.$ac_ext >&5
92068 glibcxx_cv_func_atan2f_use=no
92070 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92071 ac_ext=c
92072 ac_cpp='$CPP $CPPFLAGS'
92073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92081 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
92082 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
92084 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
92086 for ac_func in atan2f
92088 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92089 echo "$as_me:$LINENO: checking for $ac_func" >&5
92090 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92091 if eval "test \"\${$as_ac_var+set}\" = set"; then
92092 echo $ECHO_N "(cached) $ECHO_C" >&6
92093 else
92094 if test x$gcc_no_link = xyes; then
92095 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92096 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92097 { (exit 1); exit 1; }; }
92099 cat >conftest.$ac_ext <<_ACEOF
92100 /* confdefs.h. */
92101 _ACEOF
92102 cat confdefs.h >>conftest.$ac_ext
92103 cat >>conftest.$ac_ext <<_ACEOF
92104 /* end confdefs.h. */
92105 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92106 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92107 #define $ac_func innocuous_$ac_func
92109 /* System header to define __stub macros and hopefully few prototypes,
92110 which can conflict with char $ac_func (); below.
92111 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92112 <limits.h> exists even on freestanding compilers. */
92114 #ifdef __STDC__
92115 # include <limits.h>
92116 #else
92117 # include <assert.h>
92118 #endif
92120 #undef $ac_func
92122 /* Override any gcc2 internal prototype to avoid an error. */
92123 #ifdef __cplusplus
92124 extern "C"
92126 #endif
92127 /* We use char because int might match the return type of a gcc2
92128 builtin and then its argument prototype would still apply. */
92129 char $ac_func ();
92130 /* The GNU C library defines this for functions which it implements
92131 to always fail with ENOSYS. Some functions are actually named
92132 something starting with __ and the normal name is an alias. */
92133 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92134 choke me
92135 #else
92136 char (*f) () = $ac_func;
92137 #endif
92138 #ifdef __cplusplus
92140 #endif
92143 main ()
92145 return f != $ac_func;
92147 return 0;
92149 _ACEOF
92150 rm -f conftest.$ac_objext conftest$ac_exeext
92151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92152 (eval $ac_link) 2>conftest.er1
92153 ac_status=$?
92154 grep -v '^ *+' conftest.er1 >conftest.err
92155 rm -f conftest.er1
92156 cat conftest.err >&5
92157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92158 (exit $ac_status); } &&
92159 { ac_try='test -z "$ac_c_werror_flag"
92160 || test ! -s conftest.err'
92161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92162 (eval $ac_try) 2>&5
92163 ac_status=$?
92164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92165 (exit $ac_status); }; } &&
92166 { ac_try='test -s conftest$ac_exeext'
92167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92168 (eval $ac_try) 2>&5
92169 ac_status=$?
92170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92171 (exit $ac_status); }; }; then
92172 eval "$as_ac_var=yes"
92173 else
92174 echo "$as_me: failed program was:" >&5
92175 sed 's/^/| /' conftest.$ac_ext >&5
92177 eval "$as_ac_var=no"
92179 rm -f conftest.err conftest.$ac_objext \
92180 conftest$ac_exeext conftest.$ac_ext
92182 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92183 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92184 if test `eval echo '${'$as_ac_var'}'` = yes; then
92185 cat >>confdefs.h <<_ACEOF
92186 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92187 _ACEOF
92190 done
92192 else
92194 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
92195 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
92196 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
92197 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
92198 echo $ECHO_N "(cached) $ECHO_C" >&6
92199 else
92203 ac_ext=cc
92204 ac_cpp='$CXXCPP $CPPFLAGS'
92205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92209 cat >conftest.$ac_ext <<_ACEOF
92210 /* confdefs.h. */
92211 _ACEOF
92212 cat confdefs.h >>conftest.$ac_ext
92213 cat >>conftest.$ac_ext <<_ACEOF
92214 /* end confdefs.h. */
92215 #include <math.h>
92217 main ()
92219 _atan2f(0, 0);
92221 return 0;
92223 _ACEOF
92224 rm -f conftest.$ac_objext
92225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92226 (eval $ac_compile) 2>conftest.er1
92227 ac_status=$?
92228 grep -v '^ *+' conftest.er1 >conftest.err
92229 rm -f conftest.er1
92230 cat conftest.err >&5
92231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92232 (exit $ac_status); } &&
92233 { ac_try='test -z "$ac_cxx_werror_flag"
92234 || test ! -s conftest.err'
92235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92236 (eval $ac_try) 2>&5
92237 ac_status=$?
92238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92239 (exit $ac_status); }; } &&
92240 { ac_try='test -s conftest.$ac_objext'
92241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92242 (eval $ac_try) 2>&5
92243 ac_status=$?
92244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92245 (exit $ac_status); }; }; then
92246 glibcxx_cv_func__atan2f_use=yes
92247 else
92248 echo "$as_me: failed program was:" >&5
92249 sed 's/^/| /' conftest.$ac_ext >&5
92251 glibcxx_cv_func__atan2f_use=no
92253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92254 ac_ext=c
92255 ac_cpp='$CPP $CPPFLAGS'
92256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92264 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
92265 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
92267 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
92269 for ac_func in _atan2f
92271 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92272 echo "$as_me:$LINENO: checking for $ac_func" >&5
92273 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92274 if eval "test \"\${$as_ac_var+set}\" = set"; then
92275 echo $ECHO_N "(cached) $ECHO_C" >&6
92276 else
92277 if test x$gcc_no_link = xyes; then
92278 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92279 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92280 { (exit 1); exit 1; }; }
92282 cat >conftest.$ac_ext <<_ACEOF
92283 /* confdefs.h. */
92284 _ACEOF
92285 cat confdefs.h >>conftest.$ac_ext
92286 cat >>conftest.$ac_ext <<_ACEOF
92287 /* end confdefs.h. */
92288 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92289 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92290 #define $ac_func innocuous_$ac_func
92292 /* System header to define __stub macros and hopefully few prototypes,
92293 which can conflict with char $ac_func (); below.
92294 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92295 <limits.h> exists even on freestanding compilers. */
92297 #ifdef __STDC__
92298 # include <limits.h>
92299 #else
92300 # include <assert.h>
92301 #endif
92303 #undef $ac_func
92305 /* Override any gcc2 internal prototype to avoid an error. */
92306 #ifdef __cplusplus
92307 extern "C"
92309 #endif
92310 /* We use char because int might match the return type of a gcc2
92311 builtin and then its argument prototype would still apply. */
92312 char $ac_func ();
92313 /* The GNU C library defines this for functions which it implements
92314 to always fail with ENOSYS. Some functions are actually named
92315 something starting with __ and the normal name is an alias. */
92316 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92317 choke me
92318 #else
92319 char (*f) () = $ac_func;
92320 #endif
92321 #ifdef __cplusplus
92323 #endif
92326 main ()
92328 return f != $ac_func;
92330 return 0;
92332 _ACEOF
92333 rm -f conftest.$ac_objext conftest$ac_exeext
92334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92335 (eval $ac_link) 2>conftest.er1
92336 ac_status=$?
92337 grep -v '^ *+' conftest.er1 >conftest.err
92338 rm -f conftest.er1
92339 cat conftest.err >&5
92340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92341 (exit $ac_status); } &&
92342 { ac_try='test -z "$ac_c_werror_flag"
92343 || test ! -s conftest.err'
92344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92345 (eval $ac_try) 2>&5
92346 ac_status=$?
92347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92348 (exit $ac_status); }; } &&
92349 { ac_try='test -s conftest$ac_exeext'
92350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92351 (eval $ac_try) 2>&5
92352 ac_status=$?
92353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92354 (exit $ac_status); }; }; then
92355 eval "$as_ac_var=yes"
92356 else
92357 echo "$as_me: failed program was:" >&5
92358 sed 's/^/| /' conftest.$ac_ext >&5
92360 eval "$as_ac_var=no"
92362 rm -f conftest.err conftest.$ac_objext \
92363 conftest$ac_exeext conftest.$ac_ext
92365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92366 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92367 if test `eval echo '${'$as_ac_var'}'` = yes; then
92368 cat >>confdefs.h <<_ACEOF
92369 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92370 _ACEOF
92373 done
92383 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
92384 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
92385 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
92386 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
92387 echo $ECHO_N "(cached) $ECHO_C" >&6
92388 else
92392 ac_ext=cc
92393 ac_cpp='$CXXCPP $CPPFLAGS'
92394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92398 cat >conftest.$ac_ext <<_ACEOF
92399 /* confdefs.h. */
92400 _ACEOF
92401 cat confdefs.h >>conftest.$ac_ext
92402 cat >>conftest.$ac_ext <<_ACEOF
92403 /* end confdefs.h. */
92404 #include <math.h>
92405 #ifdef HAVE_IEEEFP_H
92406 #include <ieeefp.h>
92407 #endif
92410 main ()
92412 fabsf(0);
92414 return 0;
92416 _ACEOF
92417 rm -f conftest.$ac_objext
92418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92419 (eval $ac_compile) 2>conftest.er1
92420 ac_status=$?
92421 grep -v '^ *+' conftest.er1 >conftest.err
92422 rm -f conftest.er1
92423 cat conftest.err >&5
92424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92425 (exit $ac_status); } &&
92426 { ac_try='test -z "$ac_cxx_werror_flag"
92427 || test ! -s conftest.err'
92428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92429 (eval $ac_try) 2>&5
92430 ac_status=$?
92431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92432 (exit $ac_status); }; } &&
92433 { ac_try='test -s conftest.$ac_objext'
92434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92435 (eval $ac_try) 2>&5
92436 ac_status=$?
92437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92438 (exit $ac_status); }; }; then
92439 glibcxx_cv_func_fabsf_use=yes
92440 else
92441 echo "$as_me: failed program was:" >&5
92442 sed 's/^/| /' conftest.$ac_ext >&5
92444 glibcxx_cv_func_fabsf_use=no
92446 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92447 ac_ext=c
92448 ac_cpp='$CPP $CPPFLAGS'
92449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92457 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
92458 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
92460 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
92462 for ac_func in fabsf
92464 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92465 echo "$as_me:$LINENO: checking for $ac_func" >&5
92466 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92467 if eval "test \"\${$as_ac_var+set}\" = set"; then
92468 echo $ECHO_N "(cached) $ECHO_C" >&6
92469 else
92470 if test x$gcc_no_link = xyes; then
92471 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92472 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92473 { (exit 1); exit 1; }; }
92475 cat >conftest.$ac_ext <<_ACEOF
92476 /* confdefs.h. */
92477 _ACEOF
92478 cat confdefs.h >>conftest.$ac_ext
92479 cat >>conftest.$ac_ext <<_ACEOF
92480 /* end confdefs.h. */
92481 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92482 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92483 #define $ac_func innocuous_$ac_func
92485 /* System header to define __stub macros and hopefully few prototypes,
92486 which can conflict with char $ac_func (); below.
92487 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92488 <limits.h> exists even on freestanding compilers. */
92490 #ifdef __STDC__
92491 # include <limits.h>
92492 #else
92493 # include <assert.h>
92494 #endif
92496 #undef $ac_func
92498 /* Override any gcc2 internal prototype to avoid an error. */
92499 #ifdef __cplusplus
92500 extern "C"
92502 #endif
92503 /* We use char because int might match the return type of a gcc2
92504 builtin and then its argument prototype would still apply. */
92505 char $ac_func ();
92506 /* The GNU C library defines this for functions which it implements
92507 to always fail with ENOSYS. Some functions are actually named
92508 something starting with __ and the normal name is an alias. */
92509 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92510 choke me
92511 #else
92512 char (*f) () = $ac_func;
92513 #endif
92514 #ifdef __cplusplus
92516 #endif
92519 main ()
92521 return f != $ac_func;
92523 return 0;
92525 _ACEOF
92526 rm -f conftest.$ac_objext conftest$ac_exeext
92527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92528 (eval $ac_link) 2>conftest.er1
92529 ac_status=$?
92530 grep -v '^ *+' conftest.er1 >conftest.err
92531 rm -f conftest.er1
92532 cat conftest.err >&5
92533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92534 (exit $ac_status); } &&
92535 { ac_try='test -z "$ac_c_werror_flag"
92536 || test ! -s conftest.err'
92537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92538 (eval $ac_try) 2>&5
92539 ac_status=$?
92540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92541 (exit $ac_status); }; } &&
92542 { ac_try='test -s conftest$ac_exeext'
92543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92544 (eval $ac_try) 2>&5
92545 ac_status=$?
92546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92547 (exit $ac_status); }; }; then
92548 eval "$as_ac_var=yes"
92549 else
92550 echo "$as_me: failed program was:" >&5
92551 sed 's/^/| /' conftest.$ac_ext >&5
92553 eval "$as_ac_var=no"
92555 rm -f conftest.err conftest.$ac_objext \
92556 conftest$ac_exeext conftest.$ac_ext
92558 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92559 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92560 if test `eval echo '${'$as_ac_var'}'` = yes; then
92561 cat >>confdefs.h <<_ACEOF
92562 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92563 _ACEOF
92566 done
92568 else
92570 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
92571 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
92572 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
92573 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
92574 echo $ECHO_N "(cached) $ECHO_C" >&6
92575 else
92579 ac_ext=cc
92580 ac_cpp='$CXXCPP $CPPFLAGS'
92581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92585 cat >conftest.$ac_ext <<_ACEOF
92586 /* confdefs.h. */
92587 _ACEOF
92588 cat confdefs.h >>conftest.$ac_ext
92589 cat >>conftest.$ac_ext <<_ACEOF
92590 /* end confdefs.h. */
92591 #include <math.h>
92592 #ifdef HAVE_IEEEFP_H
92593 #include <ieeefp.h>
92594 #endif
92597 main ()
92599 _fabsf(0);
92601 return 0;
92603 _ACEOF
92604 rm -f conftest.$ac_objext
92605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92606 (eval $ac_compile) 2>conftest.er1
92607 ac_status=$?
92608 grep -v '^ *+' conftest.er1 >conftest.err
92609 rm -f conftest.er1
92610 cat conftest.err >&5
92611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92612 (exit $ac_status); } &&
92613 { ac_try='test -z "$ac_cxx_werror_flag"
92614 || test ! -s conftest.err'
92615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92616 (eval $ac_try) 2>&5
92617 ac_status=$?
92618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92619 (exit $ac_status); }; } &&
92620 { ac_try='test -s conftest.$ac_objext'
92621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92622 (eval $ac_try) 2>&5
92623 ac_status=$?
92624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92625 (exit $ac_status); }; }; then
92626 glibcxx_cv_func__fabsf_use=yes
92627 else
92628 echo "$as_me: failed program was:" >&5
92629 sed 's/^/| /' conftest.$ac_ext >&5
92631 glibcxx_cv_func__fabsf_use=no
92633 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92634 ac_ext=c
92635 ac_cpp='$CPP $CPPFLAGS'
92636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92644 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
92645 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
92647 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
92649 for ac_func in _fabsf
92651 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92652 echo "$as_me:$LINENO: checking for $ac_func" >&5
92653 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92654 if eval "test \"\${$as_ac_var+set}\" = set"; then
92655 echo $ECHO_N "(cached) $ECHO_C" >&6
92656 else
92657 if test x$gcc_no_link = xyes; then
92658 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92659 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92660 { (exit 1); exit 1; }; }
92662 cat >conftest.$ac_ext <<_ACEOF
92663 /* confdefs.h. */
92664 _ACEOF
92665 cat confdefs.h >>conftest.$ac_ext
92666 cat >>conftest.$ac_ext <<_ACEOF
92667 /* end confdefs.h. */
92668 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92669 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92670 #define $ac_func innocuous_$ac_func
92672 /* System header to define __stub macros and hopefully few prototypes,
92673 which can conflict with char $ac_func (); below.
92674 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92675 <limits.h> exists even on freestanding compilers. */
92677 #ifdef __STDC__
92678 # include <limits.h>
92679 #else
92680 # include <assert.h>
92681 #endif
92683 #undef $ac_func
92685 /* Override any gcc2 internal prototype to avoid an error. */
92686 #ifdef __cplusplus
92687 extern "C"
92689 #endif
92690 /* We use char because int might match the return type of a gcc2
92691 builtin and then its argument prototype would still apply. */
92692 char $ac_func ();
92693 /* The GNU C library defines this for functions which it implements
92694 to always fail with ENOSYS. Some functions are actually named
92695 something starting with __ and the normal name is an alias. */
92696 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92697 choke me
92698 #else
92699 char (*f) () = $ac_func;
92700 #endif
92701 #ifdef __cplusplus
92703 #endif
92706 main ()
92708 return f != $ac_func;
92710 return 0;
92712 _ACEOF
92713 rm -f conftest.$ac_objext conftest$ac_exeext
92714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92715 (eval $ac_link) 2>conftest.er1
92716 ac_status=$?
92717 grep -v '^ *+' conftest.er1 >conftest.err
92718 rm -f conftest.er1
92719 cat conftest.err >&5
92720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92721 (exit $ac_status); } &&
92722 { ac_try='test -z "$ac_c_werror_flag"
92723 || test ! -s conftest.err'
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); }; } &&
92729 { ac_try='test -s conftest$ac_exeext'
92730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92731 (eval $ac_try) 2>&5
92732 ac_status=$?
92733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92734 (exit $ac_status); }; }; then
92735 eval "$as_ac_var=yes"
92736 else
92737 echo "$as_me: failed program was:" >&5
92738 sed 's/^/| /' conftest.$ac_ext >&5
92740 eval "$as_ac_var=no"
92742 rm -f conftest.err conftest.$ac_objext \
92743 conftest$ac_exeext conftest.$ac_ext
92745 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92746 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92747 if test `eval echo '${'$as_ac_var'}'` = yes; then
92748 cat >>confdefs.h <<_ACEOF
92749 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92750 _ACEOF
92753 done
92763 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
92764 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
92765 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
92766 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
92767 echo $ECHO_N "(cached) $ECHO_C" >&6
92768 else
92772 ac_ext=cc
92773 ac_cpp='$CXXCPP $CPPFLAGS'
92774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92778 cat >conftest.$ac_ext <<_ACEOF
92779 /* confdefs.h. */
92780 _ACEOF
92781 cat confdefs.h >>conftest.$ac_ext
92782 cat >>conftest.$ac_ext <<_ACEOF
92783 /* end confdefs.h. */
92784 #include <math.h>
92786 main ()
92788 fmodf(0, 0);
92790 return 0;
92792 _ACEOF
92793 rm -f conftest.$ac_objext
92794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92795 (eval $ac_compile) 2>conftest.er1
92796 ac_status=$?
92797 grep -v '^ *+' conftest.er1 >conftest.err
92798 rm -f conftest.er1
92799 cat conftest.err >&5
92800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92801 (exit $ac_status); } &&
92802 { ac_try='test -z "$ac_cxx_werror_flag"
92803 || test ! -s conftest.err'
92804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92805 (eval $ac_try) 2>&5
92806 ac_status=$?
92807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92808 (exit $ac_status); }; } &&
92809 { ac_try='test -s conftest.$ac_objext'
92810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92811 (eval $ac_try) 2>&5
92812 ac_status=$?
92813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92814 (exit $ac_status); }; }; then
92815 glibcxx_cv_func_fmodf_use=yes
92816 else
92817 echo "$as_me: failed program was:" >&5
92818 sed 's/^/| /' conftest.$ac_ext >&5
92820 glibcxx_cv_func_fmodf_use=no
92822 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92823 ac_ext=c
92824 ac_cpp='$CPP $CPPFLAGS'
92825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92833 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
92834 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
92836 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
92838 for ac_func in fmodf
92840 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92841 echo "$as_me:$LINENO: checking for $ac_func" >&5
92842 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92843 if eval "test \"\${$as_ac_var+set}\" = set"; then
92844 echo $ECHO_N "(cached) $ECHO_C" >&6
92845 else
92846 if test x$gcc_no_link = xyes; then
92847 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92848 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92849 { (exit 1); exit 1; }; }
92851 cat >conftest.$ac_ext <<_ACEOF
92852 /* confdefs.h. */
92853 _ACEOF
92854 cat confdefs.h >>conftest.$ac_ext
92855 cat >>conftest.$ac_ext <<_ACEOF
92856 /* end confdefs.h. */
92857 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92858 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92859 #define $ac_func innocuous_$ac_func
92861 /* System header to define __stub macros and hopefully few prototypes,
92862 which can conflict with char $ac_func (); below.
92863 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92864 <limits.h> exists even on freestanding compilers. */
92866 #ifdef __STDC__
92867 # include <limits.h>
92868 #else
92869 # include <assert.h>
92870 #endif
92872 #undef $ac_func
92874 /* Override any gcc2 internal prototype to avoid an error. */
92875 #ifdef __cplusplus
92876 extern "C"
92878 #endif
92879 /* We use char because int might match the return type of a gcc2
92880 builtin and then its argument prototype would still apply. */
92881 char $ac_func ();
92882 /* The GNU C library defines this for functions which it implements
92883 to always fail with ENOSYS. Some functions are actually named
92884 something starting with __ and the normal name is an alias. */
92885 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92886 choke me
92887 #else
92888 char (*f) () = $ac_func;
92889 #endif
92890 #ifdef __cplusplus
92892 #endif
92895 main ()
92897 return f != $ac_func;
92899 return 0;
92901 _ACEOF
92902 rm -f conftest.$ac_objext conftest$ac_exeext
92903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92904 (eval $ac_link) 2>conftest.er1
92905 ac_status=$?
92906 grep -v '^ *+' conftest.er1 >conftest.err
92907 rm -f conftest.er1
92908 cat conftest.err >&5
92909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92910 (exit $ac_status); } &&
92911 { ac_try='test -z "$ac_c_werror_flag"
92912 || test ! -s conftest.err'
92913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92914 (eval $ac_try) 2>&5
92915 ac_status=$?
92916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92917 (exit $ac_status); }; } &&
92918 { ac_try='test -s conftest$ac_exeext'
92919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92920 (eval $ac_try) 2>&5
92921 ac_status=$?
92922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92923 (exit $ac_status); }; }; then
92924 eval "$as_ac_var=yes"
92925 else
92926 echo "$as_me: failed program was:" >&5
92927 sed 's/^/| /' conftest.$ac_ext >&5
92929 eval "$as_ac_var=no"
92931 rm -f conftest.err conftest.$ac_objext \
92932 conftest$ac_exeext conftest.$ac_ext
92934 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92935 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92936 if test `eval echo '${'$as_ac_var'}'` = yes; then
92937 cat >>confdefs.h <<_ACEOF
92938 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92939 _ACEOF
92942 done
92944 else
92946 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
92947 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
92948 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
92949 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
92950 echo $ECHO_N "(cached) $ECHO_C" >&6
92951 else
92955 ac_ext=cc
92956 ac_cpp='$CXXCPP $CPPFLAGS'
92957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92961 cat >conftest.$ac_ext <<_ACEOF
92962 /* confdefs.h. */
92963 _ACEOF
92964 cat confdefs.h >>conftest.$ac_ext
92965 cat >>conftest.$ac_ext <<_ACEOF
92966 /* end confdefs.h. */
92967 #include <math.h>
92969 main ()
92971 _fmodf(0, 0);
92973 return 0;
92975 _ACEOF
92976 rm -f conftest.$ac_objext
92977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92978 (eval $ac_compile) 2>conftest.er1
92979 ac_status=$?
92980 grep -v '^ *+' conftest.er1 >conftest.err
92981 rm -f conftest.er1
92982 cat conftest.err >&5
92983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92984 (exit $ac_status); } &&
92985 { ac_try='test -z "$ac_cxx_werror_flag"
92986 || test ! -s conftest.err'
92987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92988 (eval $ac_try) 2>&5
92989 ac_status=$?
92990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92991 (exit $ac_status); }; } &&
92992 { ac_try='test -s conftest.$ac_objext'
92993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92994 (eval $ac_try) 2>&5
92995 ac_status=$?
92996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92997 (exit $ac_status); }; }; then
92998 glibcxx_cv_func__fmodf_use=yes
92999 else
93000 echo "$as_me: failed program was:" >&5
93001 sed 's/^/| /' conftest.$ac_ext >&5
93003 glibcxx_cv_func__fmodf_use=no
93005 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93006 ac_ext=c
93007 ac_cpp='$CPP $CPPFLAGS'
93008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93016 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
93017 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
93019 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
93021 for ac_func in _fmodf
93023 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93024 echo "$as_me:$LINENO: checking for $ac_func" >&5
93025 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93026 if eval "test \"\${$as_ac_var+set}\" = set"; then
93027 echo $ECHO_N "(cached) $ECHO_C" >&6
93028 else
93029 if test x$gcc_no_link = xyes; then
93030 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93031 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93032 { (exit 1); exit 1; }; }
93034 cat >conftest.$ac_ext <<_ACEOF
93035 /* confdefs.h. */
93036 _ACEOF
93037 cat confdefs.h >>conftest.$ac_ext
93038 cat >>conftest.$ac_ext <<_ACEOF
93039 /* end confdefs.h. */
93040 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93041 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93042 #define $ac_func innocuous_$ac_func
93044 /* System header to define __stub macros and hopefully few prototypes,
93045 which can conflict with char $ac_func (); below.
93046 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93047 <limits.h> exists even on freestanding compilers. */
93049 #ifdef __STDC__
93050 # include <limits.h>
93051 #else
93052 # include <assert.h>
93053 #endif
93055 #undef $ac_func
93057 /* Override any gcc2 internal prototype to avoid an error. */
93058 #ifdef __cplusplus
93059 extern "C"
93061 #endif
93062 /* We use char because int might match the return type of a gcc2
93063 builtin and then its argument prototype would still apply. */
93064 char $ac_func ();
93065 /* The GNU C library defines this for functions which it implements
93066 to always fail with ENOSYS. Some functions are actually named
93067 something starting with __ and the normal name is an alias. */
93068 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93069 choke me
93070 #else
93071 char (*f) () = $ac_func;
93072 #endif
93073 #ifdef __cplusplus
93075 #endif
93078 main ()
93080 return f != $ac_func;
93082 return 0;
93084 _ACEOF
93085 rm -f conftest.$ac_objext conftest$ac_exeext
93086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93087 (eval $ac_link) 2>conftest.er1
93088 ac_status=$?
93089 grep -v '^ *+' conftest.er1 >conftest.err
93090 rm -f conftest.er1
93091 cat conftest.err >&5
93092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93093 (exit $ac_status); } &&
93094 { ac_try='test -z "$ac_c_werror_flag"
93095 || test ! -s conftest.err'
93096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93097 (eval $ac_try) 2>&5
93098 ac_status=$?
93099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93100 (exit $ac_status); }; } &&
93101 { ac_try='test -s conftest$ac_exeext'
93102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93103 (eval $ac_try) 2>&5
93104 ac_status=$?
93105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93106 (exit $ac_status); }; }; then
93107 eval "$as_ac_var=yes"
93108 else
93109 echo "$as_me: failed program was:" >&5
93110 sed 's/^/| /' conftest.$ac_ext >&5
93112 eval "$as_ac_var=no"
93114 rm -f conftest.err conftest.$ac_objext \
93115 conftest$ac_exeext conftest.$ac_ext
93117 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93118 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93119 if test `eval echo '${'$as_ac_var'}'` = yes; then
93120 cat >>confdefs.h <<_ACEOF
93121 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93122 _ACEOF
93125 done
93135 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
93136 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
93137 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
93138 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
93139 echo $ECHO_N "(cached) $ECHO_C" >&6
93140 else
93144 ac_ext=cc
93145 ac_cpp='$CXXCPP $CPPFLAGS'
93146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93150 cat >conftest.$ac_ext <<_ACEOF
93151 /* confdefs.h. */
93152 _ACEOF
93153 cat confdefs.h >>conftest.$ac_ext
93154 cat >>conftest.$ac_ext <<_ACEOF
93155 /* end confdefs.h. */
93156 #include <math.h>
93158 main ()
93160 frexpf(0, 0);
93162 return 0;
93164 _ACEOF
93165 rm -f conftest.$ac_objext
93166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93167 (eval $ac_compile) 2>conftest.er1
93168 ac_status=$?
93169 grep -v '^ *+' conftest.er1 >conftest.err
93170 rm -f conftest.er1
93171 cat conftest.err >&5
93172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93173 (exit $ac_status); } &&
93174 { ac_try='test -z "$ac_cxx_werror_flag"
93175 || test ! -s conftest.err'
93176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93177 (eval $ac_try) 2>&5
93178 ac_status=$?
93179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93180 (exit $ac_status); }; } &&
93181 { ac_try='test -s conftest.$ac_objext'
93182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93183 (eval $ac_try) 2>&5
93184 ac_status=$?
93185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93186 (exit $ac_status); }; }; then
93187 glibcxx_cv_func_frexpf_use=yes
93188 else
93189 echo "$as_me: failed program was:" >&5
93190 sed 's/^/| /' conftest.$ac_ext >&5
93192 glibcxx_cv_func_frexpf_use=no
93194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93195 ac_ext=c
93196 ac_cpp='$CPP $CPPFLAGS'
93197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93205 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
93206 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
93208 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
93210 for ac_func in frexpf
93212 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93213 echo "$as_me:$LINENO: checking for $ac_func" >&5
93214 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93215 if eval "test \"\${$as_ac_var+set}\" = set"; then
93216 echo $ECHO_N "(cached) $ECHO_C" >&6
93217 else
93218 if test x$gcc_no_link = xyes; then
93219 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93220 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93221 { (exit 1); exit 1; }; }
93223 cat >conftest.$ac_ext <<_ACEOF
93224 /* confdefs.h. */
93225 _ACEOF
93226 cat confdefs.h >>conftest.$ac_ext
93227 cat >>conftest.$ac_ext <<_ACEOF
93228 /* end confdefs.h. */
93229 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93230 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93231 #define $ac_func innocuous_$ac_func
93233 /* System header to define __stub macros and hopefully few prototypes,
93234 which can conflict with char $ac_func (); below.
93235 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93236 <limits.h> exists even on freestanding compilers. */
93238 #ifdef __STDC__
93239 # include <limits.h>
93240 #else
93241 # include <assert.h>
93242 #endif
93244 #undef $ac_func
93246 /* Override any gcc2 internal prototype to avoid an error. */
93247 #ifdef __cplusplus
93248 extern "C"
93250 #endif
93251 /* We use char because int might match the return type of a gcc2
93252 builtin and then its argument prototype would still apply. */
93253 char $ac_func ();
93254 /* The GNU C library defines this for functions which it implements
93255 to always fail with ENOSYS. Some functions are actually named
93256 something starting with __ and the normal name is an alias. */
93257 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93258 choke me
93259 #else
93260 char (*f) () = $ac_func;
93261 #endif
93262 #ifdef __cplusplus
93264 #endif
93267 main ()
93269 return f != $ac_func;
93271 return 0;
93273 _ACEOF
93274 rm -f conftest.$ac_objext conftest$ac_exeext
93275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93276 (eval $ac_link) 2>conftest.er1
93277 ac_status=$?
93278 grep -v '^ *+' conftest.er1 >conftest.err
93279 rm -f conftest.er1
93280 cat conftest.err >&5
93281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93282 (exit $ac_status); } &&
93283 { ac_try='test -z "$ac_c_werror_flag"
93284 || test ! -s conftest.err'
93285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93286 (eval $ac_try) 2>&5
93287 ac_status=$?
93288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93289 (exit $ac_status); }; } &&
93290 { ac_try='test -s conftest$ac_exeext'
93291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93292 (eval $ac_try) 2>&5
93293 ac_status=$?
93294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93295 (exit $ac_status); }; }; then
93296 eval "$as_ac_var=yes"
93297 else
93298 echo "$as_me: failed program was:" >&5
93299 sed 's/^/| /' conftest.$ac_ext >&5
93301 eval "$as_ac_var=no"
93303 rm -f conftest.err conftest.$ac_objext \
93304 conftest$ac_exeext conftest.$ac_ext
93306 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93307 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93308 if test `eval echo '${'$as_ac_var'}'` = yes; then
93309 cat >>confdefs.h <<_ACEOF
93310 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93311 _ACEOF
93314 done
93316 else
93318 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
93319 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
93320 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
93321 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
93322 echo $ECHO_N "(cached) $ECHO_C" >&6
93323 else
93327 ac_ext=cc
93328 ac_cpp='$CXXCPP $CPPFLAGS'
93329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93333 cat >conftest.$ac_ext <<_ACEOF
93334 /* confdefs.h. */
93335 _ACEOF
93336 cat confdefs.h >>conftest.$ac_ext
93337 cat >>conftest.$ac_ext <<_ACEOF
93338 /* end confdefs.h. */
93339 #include <math.h>
93341 main ()
93343 _frexpf(0, 0);
93345 return 0;
93347 _ACEOF
93348 rm -f conftest.$ac_objext
93349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93350 (eval $ac_compile) 2>conftest.er1
93351 ac_status=$?
93352 grep -v '^ *+' conftest.er1 >conftest.err
93353 rm -f conftest.er1
93354 cat conftest.err >&5
93355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93356 (exit $ac_status); } &&
93357 { ac_try='test -z "$ac_cxx_werror_flag"
93358 || test ! -s conftest.err'
93359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93360 (eval $ac_try) 2>&5
93361 ac_status=$?
93362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93363 (exit $ac_status); }; } &&
93364 { ac_try='test -s conftest.$ac_objext'
93365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93366 (eval $ac_try) 2>&5
93367 ac_status=$?
93368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93369 (exit $ac_status); }; }; then
93370 glibcxx_cv_func__frexpf_use=yes
93371 else
93372 echo "$as_me: failed program was:" >&5
93373 sed 's/^/| /' conftest.$ac_ext >&5
93375 glibcxx_cv_func__frexpf_use=no
93377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93378 ac_ext=c
93379 ac_cpp='$CPP $CPPFLAGS'
93380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93388 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
93389 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
93391 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
93393 for ac_func in _frexpf
93395 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93396 echo "$as_me:$LINENO: checking for $ac_func" >&5
93397 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93398 if eval "test \"\${$as_ac_var+set}\" = set"; then
93399 echo $ECHO_N "(cached) $ECHO_C" >&6
93400 else
93401 if test x$gcc_no_link = xyes; then
93402 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93403 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93404 { (exit 1); exit 1; }; }
93406 cat >conftest.$ac_ext <<_ACEOF
93407 /* confdefs.h. */
93408 _ACEOF
93409 cat confdefs.h >>conftest.$ac_ext
93410 cat >>conftest.$ac_ext <<_ACEOF
93411 /* end confdefs.h. */
93412 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93413 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93414 #define $ac_func innocuous_$ac_func
93416 /* System header to define __stub macros and hopefully few prototypes,
93417 which can conflict with char $ac_func (); below.
93418 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93419 <limits.h> exists even on freestanding compilers. */
93421 #ifdef __STDC__
93422 # include <limits.h>
93423 #else
93424 # include <assert.h>
93425 #endif
93427 #undef $ac_func
93429 /* Override any gcc2 internal prototype to avoid an error. */
93430 #ifdef __cplusplus
93431 extern "C"
93433 #endif
93434 /* We use char because int might match the return type of a gcc2
93435 builtin and then its argument prototype would still apply. */
93436 char $ac_func ();
93437 /* The GNU C library defines this for functions which it implements
93438 to always fail with ENOSYS. Some functions are actually named
93439 something starting with __ and the normal name is an alias. */
93440 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93441 choke me
93442 #else
93443 char (*f) () = $ac_func;
93444 #endif
93445 #ifdef __cplusplus
93447 #endif
93450 main ()
93452 return f != $ac_func;
93454 return 0;
93456 _ACEOF
93457 rm -f conftest.$ac_objext conftest$ac_exeext
93458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93459 (eval $ac_link) 2>conftest.er1
93460 ac_status=$?
93461 grep -v '^ *+' conftest.er1 >conftest.err
93462 rm -f conftest.er1
93463 cat conftest.err >&5
93464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93465 (exit $ac_status); } &&
93466 { ac_try='test -z "$ac_c_werror_flag"
93467 || test ! -s conftest.err'
93468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93469 (eval $ac_try) 2>&5
93470 ac_status=$?
93471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93472 (exit $ac_status); }; } &&
93473 { ac_try='test -s conftest$ac_exeext'
93474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93475 (eval $ac_try) 2>&5
93476 ac_status=$?
93477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93478 (exit $ac_status); }; }; then
93479 eval "$as_ac_var=yes"
93480 else
93481 echo "$as_me: failed program was:" >&5
93482 sed 's/^/| /' conftest.$ac_ext >&5
93484 eval "$as_ac_var=no"
93486 rm -f conftest.err conftest.$ac_objext \
93487 conftest$ac_exeext conftest.$ac_ext
93489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93490 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93491 if test `eval echo '${'$as_ac_var'}'` = yes; then
93492 cat >>confdefs.h <<_ACEOF
93493 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93494 _ACEOF
93497 done
93507 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
93508 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
93509 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
93510 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
93511 echo $ECHO_N "(cached) $ECHO_C" >&6
93512 else
93516 ac_ext=cc
93517 ac_cpp='$CXXCPP $CPPFLAGS'
93518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93522 cat >conftest.$ac_ext <<_ACEOF
93523 /* confdefs.h. */
93524 _ACEOF
93525 cat confdefs.h >>conftest.$ac_ext
93526 cat >>conftest.$ac_ext <<_ACEOF
93527 /* end confdefs.h. */
93528 #include <math.h>
93530 main ()
93532 hypotf(0, 0);
93534 return 0;
93536 _ACEOF
93537 rm -f conftest.$ac_objext
93538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93539 (eval $ac_compile) 2>conftest.er1
93540 ac_status=$?
93541 grep -v '^ *+' conftest.er1 >conftest.err
93542 rm -f conftest.er1
93543 cat conftest.err >&5
93544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93545 (exit $ac_status); } &&
93546 { ac_try='test -z "$ac_cxx_werror_flag"
93547 || test ! -s conftest.err'
93548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93549 (eval $ac_try) 2>&5
93550 ac_status=$?
93551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93552 (exit $ac_status); }; } &&
93553 { ac_try='test -s conftest.$ac_objext'
93554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93555 (eval $ac_try) 2>&5
93556 ac_status=$?
93557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93558 (exit $ac_status); }; }; then
93559 glibcxx_cv_func_hypotf_use=yes
93560 else
93561 echo "$as_me: failed program was:" >&5
93562 sed 's/^/| /' conftest.$ac_ext >&5
93564 glibcxx_cv_func_hypotf_use=no
93566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93567 ac_ext=c
93568 ac_cpp='$CPP $CPPFLAGS'
93569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93577 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
93578 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
93580 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
93582 for ac_func in hypotf
93584 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93585 echo "$as_me:$LINENO: checking for $ac_func" >&5
93586 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93587 if eval "test \"\${$as_ac_var+set}\" = set"; then
93588 echo $ECHO_N "(cached) $ECHO_C" >&6
93589 else
93590 if test x$gcc_no_link = xyes; then
93591 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93592 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93593 { (exit 1); exit 1; }; }
93595 cat >conftest.$ac_ext <<_ACEOF
93596 /* confdefs.h. */
93597 _ACEOF
93598 cat confdefs.h >>conftest.$ac_ext
93599 cat >>conftest.$ac_ext <<_ACEOF
93600 /* end confdefs.h. */
93601 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93602 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93603 #define $ac_func innocuous_$ac_func
93605 /* System header to define __stub macros and hopefully few prototypes,
93606 which can conflict with char $ac_func (); below.
93607 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93608 <limits.h> exists even on freestanding compilers. */
93610 #ifdef __STDC__
93611 # include <limits.h>
93612 #else
93613 # include <assert.h>
93614 #endif
93616 #undef $ac_func
93618 /* Override any gcc2 internal prototype to avoid an error. */
93619 #ifdef __cplusplus
93620 extern "C"
93622 #endif
93623 /* We use char because int might match the return type of a gcc2
93624 builtin and then its argument prototype would still apply. */
93625 char $ac_func ();
93626 /* The GNU C library defines this for functions which it implements
93627 to always fail with ENOSYS. Some functions are actually named
93628 something starting with __ and the normal name is an alias. */
93629 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93630 choke me
93631 #else
93632 char (*f) () = $ac_func;
93633 #endif
93634 #ifdef __cplusplus
93636 #endif
93639 main ()
93641 return f != $ac_func;
93643 return 0;
93645 _ACEOF
93646 rm -f conftest.$ac_objext conftest$ac_exeext
93647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93648 (eval $ac_link) 2>conftest.er1
93649 ac_status=$?
93650 grep -v '^ *+' conftest.er1 >conftest.err
93651 rm -f conftest.er1
93652 cat conftest.err >&5
93653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93654 (exit $ac_status); } &&
93655 { ac_try='test -z "$ac_c_werror_flag"
93656 || test ! -s conftest.err'
93657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93658 (eval $ac_try) 2>&5
93659 ac_status=$?
93660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93661 (exit $ac_status); }; } &&
93662 { ac_try='test -s conftest$ac_exeext'
93663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93664 (eval $ac_try) 2>&5
93665 ac_status=$?
93666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93667 (exit $ac_status); }; }; then
93668 eval "$as_ac_var=yes"
93669 else
93670 echo "$as_me: failed program was:" >&5
93671 sed 's/^/| /' conftest.$ac_ext >&5
93673 eval "$as_ac_var=no"
93675 rm -f conftest.err conftest.$ac_objext \
93676 conftest$ac_exeext conftest.$ac_ext
93678 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93679 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93680 if test `eval echo '${'$as_ac_var'}'` = yes; then
93681 cat >>confdefs.h <<_ACEOF
93682 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93683 _ACEOF
93686 done
93688 else
93690 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
93691 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
93692 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
93693 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
93694 echo $ECHO_N "(cached) $ECHO_C" >&6
93695 else
93699 ac_ext=cc
93700 ac_cpp='$CXXCPP $CPPFLAGS'
93701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93705 cat >conftest.$ac_ext <<_ACEOF
93706 /* confdefs.h. */
93707 _ACEOF
93708 cat confdefs.h >>conftest.$ac_ext
93709 cat >>conftest.$ac_ext <<_ACEOF
93710 /* end confdefs.h. */
93711 #include <math.h>
93713 main ()
93715 _hypotf(0, 0);
93717 return 0;
93719 _ACEOF
93720 rm -f conftest.$ac_objext
93721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93722 (eval $ac_compile) 2>conftest.er1
93723 ac_status=$?
93724 grep -v '^ *+' conftest.er1 >conftest.err
93725 rm -f conftest.er1
93726 cat conftest.err >&5
93727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93728 (exit $ac_status); } &&
93729 { ac_try='test -z "$ac_cxx_werror_flag"
93730 || test ! -s conftest.err'
93731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93732 (eval $ac_try) 2>&5
93733 ac_status=$?
93734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93735 (exit $ac_status); }; } &&
93736 { ac_try='test -s conftest.$ac_objext'
93737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93738 (eval $ac_try) 2>&5
93739 ac_status=$?
93740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93741 (exit $ac_status); }; }; then
93742 glibcxx_cv_func__hypotf_use=yes
93743 else
93744 echo "$as_me: failed program was:" >&5
93745 sed 's/^/| /' conftest.$ac_ext >&5
93747 glibcxx_cv_func__hypotf_use=no
93749 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93750 ac_ext=c
93751 ac_cpp='$CPP $CPPFLAGS'
93752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93760 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
93761 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
93763 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
93765 for ac_func in _hypotf
93767 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93768 echo "$as_me:$LINENO: checking for $ac_func" >&5
93769 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93770 if eval "test \"\${$as_ac_var+set}\" = set"; then
93771 echo $ECHO_N "(cached) $ECHO_C" >&6
93772 else
93773 if test x$gcc_no_link = xyes; then
93774 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93775 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93776 { (exit 1); exit 1; }; }
93778 cat >conftest.$ac_ext <<_ACEOF
93779 /* confdefs.h. */
93780 _ACEOF
93781 cat confdefs.h >>conftest.$ac_ext
93782 cat >>conftest.$ac_ext <<_ACEOF
93783 /* end confdefs.h. */
93784 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93785 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93786 #define $ac_func innocuous_$ac_func
93788 /* System header to define __stub macros and hopefully few prototypes,
93789 which can conflict with char $ac_func (); below.
93790 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93791 <limits.h> exists even on freestanding compilers. */
93793 #ifdef __STDC__
93794 # include <limits.h>
93795 #else
93796 # include <assert.h>
93797 #endif
93799 #undef $ac_func
93801 /* Override any gcc2 internal prototype to avoid an error. */
93802 #ifdef __cplusplus
93803 extern "C"
93805 #endif
93806 /* We use char because int might match the return type of a gcc2
93807 builtin and then its argument prototype would still apply. */
93808 char $ac_func ();
93809 /* The GNU C library defines this for functions which it implements
93810 to always fail with ENOSYS. Some functions are actually named
93811 something starting with __ and the normal name is an alias. */
93812 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93813 choke me
93814 #else
93815 char (*f) () = $ac_func;
93816 #endif
93817 #ifdef __cplusplus
93819 #endif
93822 main ()
93824 return f != $ac_func;
93826 return 0;
93828 _ACEOF
93829 rm -f conftest.$ac_objext conftest$ac_exeext
93830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93831 (eval $ac_link) 2>conftest.er1
93832 ac_status=$?
93833 grep -v '^ *+' conftest.er1 >conftest.err
93834 rm -f conftest.er1
93835 cat conftest.err >&5
93836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93837 (exit $ac_status); } &&
93838 { ac_try='test -z "$ac_c_werror_flag"
93839 || test ! -s conftest.err'
93840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93841 (eval $ac_try) 2>&5
93842 ac_status=$?
93843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93844 (exit $ac_status); }; } &&
93845 { ac_try='test -s conftest$ac_exeext'
93846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93847 (eval $ac_try) 2>&5
93848 ac_status=$?
93849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93850 (exit $ac_status); }; }; then
93851 eval "$as_ac_var=yes"
93852 else
93853 echo "$as_me: failed program was:" >&5
93854 sed 's/^/| /' conftest.$ac_ext >&5
93856 eval "$as_ac_var=no"
93858 rm -f conftest.err conftest.$ac_objext \
93859 conftest$ac_exeext conftest.$ac_ext
93861 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93862 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93863 if test `eval echo '${'$as_ac_var'}'` = yes; then
93864 cat >>confdefs.h <<_ACEOF
93865 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93866 _ACEOF
93869 done
93879 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
93880 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
93881 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
93882 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
93883 echo $ECHO_N "(cached) $ECHO_C" >&6
93884 else
93888 ac_ext=cc
93889 ac_cpp='$CXXCPP $CPPFLAGS'
93890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93894 cat >conftest.$ac_ext <<_ACEOF
93895 /* confdefs.h. */
93896 _ACEOF
93897 cat confdefs.h >>conftest.$ac_ext
93898 cat >>conftest.$ac_ext <<_ACEOF
93899 /* end confdefs.h. */
93900 #include <math.h>
93902 main ()
93904 ldexpf(0, 0);
93906 return 0;
93908 _ACEOF
93909 rm -f conftest.$ac_objext
93910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93911 (eval $ac_compile) 2>conftest.er1
93912 ac_status=$?
93913 grep -v '^ *+' conftest.er1 >conftest.err
93914 rm -f conftest.er1
93915 cat conftest.err >&5
93916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93917 (exit $ac_status); } &&
93918 { ac_try='test -z "$ac_cxx_werror_flag"
93919 || test ! -s conftest.err'
93920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93921 (eval $ac_try) 2>&5
93922 ac_status=$?
93923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93924 (exit $ac_status); }; } &&
93925 { ac_try='test -s conftest.$ac_objext'
93926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93927 (eval $ac_try) 2>&5
93928 ac_status=$?
93929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93930 (exit $ac_status); }; }; then
93931 glibcxx_cv_func_ldexpf_use=yes
93932 else
93933 echo "$as_me: failed program was:" >&5
93934 sed 's/^/| /' conftest.$ac_ext >&5
93936 glibcxx_cv_func_ldexpf_use=no
93938 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93939 ac_ext=c
93940 ac_cpp='$CPP $CPPFLAGS'
93941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93949 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
93950 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
93952 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
93954 for ac_func in ldexpf
93956 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93957 echo "$as_me:$LINENO: checking for $ac_func" >&5
93958 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93959 if eval "test \"\${$as_ac_var+set}\" = set"; then
93960 echo $ECHO_N "(cached) $ECHO_C" >&6
93961 else
93962 if test x$gcc_no_link = xyes; then
93963 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93964 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93965 { (exit 1); exit 1; }; }
93967 cat >conftest.$ac_ext <<_ACEOF
93968 /* confdefs.h. */
93969 _ACEOF
93970 cat confdefs.h >>conftest.$ac_ext
93971 cat >>conftest.$ac_ext <<_ACEOF
93972 /* end confdefs.h. */
93973 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93974 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93975 #define $ac_func innocuous_$ac_func
93977 /* System header to define __stub macros and hopefully few prototypes,
93978 which can conflict with char $ac_func (); below.
93979 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93980 <limits.h> exists even on freestanding compilers. */
93982 #ifdef __STDC__
93983 # include <limits.h>
93984 #else
93985 # include <assert.h>
93986 #endif
93988 #undef $ac_func
93990 /* Override any gcc2 internal prototype to avoid an error. */
93991 #ifdef __cplusplus
93992 extern "C"
93994 #endif
93995 /* We use char because int might match the return type of a gcc2
93996 builtin and then its argument prototype would still apply. */
93997 char $ac_func ();
93998 /* The GNU C library defines this for functions which it implements
93999 to always fail with ENOSYS. Some functions are actually named
94000 something starting with __ and the normal name is an alias. */
94001 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94002 choke me
94003 #else
94004 char (*f) () = $ac_func;
94005 #endif
94006 #ifdef __cplusplus
94008 #endif
94011 main ()
94013 return f != $ac_func;
94015 return 0;
94017 _ACEOF
94018 rm -f conftest.$ac_objext conftest$ac_exeext
94019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94020 (eval $ac_link) 2>conftest.er1
94021 ac_status=$?
94022 grep -v '^ *+' conftest.er1 >conftest.err
94023 rm -f conftest.er1
94024 cat conftest.err >&5
94025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94026 (exit $ac_status); } &&
94027 { ac_try='test -z "$ac_c_werror_flag"
94028 || test ! -s conftest.err'
94029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94030 (eval $ac_try) 2>&5
94031 ac_status=$?
94032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94033 (exit $ac_status); }; } &&
94034 { ac_try='test -s conftest$ac_exeext'
94035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94036 (eval $ac_try) 2>&5
94037 ac_status=$?
94038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94039 (exit $ac_status); }; }; then
94040 eval "$as_ac_var=yes"
94041 else
94042 echo "$as_me: failed program was:" >&5
94043 sed 's/^/| /' conftest.$ac_ext >&5
94045 eval "$as_ac_var=no"
94047 rm -f conftest.err conftest.$ac_objext \
94048 conftest$ac_exeext conftest.$ac_ext
94050 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94051 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94052 if test `eval echo '${'$as_ac_var'}'` = yes; then
94053 cat >>confdefs.h <<_ACEOF
94054 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94055 _ACEOF
94058 done
94060 else
94062 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
94063 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
94064 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
94065 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
94066 echo $ECHO_N "(cached) $ECHO_C" >&6
94067 else
94071 ac_ext=cc
94072 ac_cpp='$CXXCPP $CPPFLAGS'
94073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94077 cat >conftest.$ac_ext <<_ACEOF
94078 /* confdefs.h. */
94079 _ACEOF
94080 cat confdefs.h >>conftest.$ac_ext
94081 cat >>conftest.$ac_ext <<_ACEOF
94082 /* end confdefs.h. */
94083 #include <math.h>
94085 main ()
94087 _ldexpf(0, 0);
94089 return 0;
94091 _ACEOF
94092 rm -f conftest.$ac_objext
94093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94094 (eval $ac_compile) 2>conftest.er1
94095 ac_status=$?
94096 grep -v '^ *+' conftest.er1 >conftest.err
94097 rm -f conftest.er1
94098 cat conftest.err >&5
94099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94100 (exit $ac_status); } &&
94101 { ac_try='test -z "$ac_cxx_werror_flag"
94102 || test ! -s conftest.err'
94103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94104 (eval $ac_try) 2>&5
94105 ac_status=$?
94106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94107 (exit $ac_status); }; } &&
94108 { ac_try='test -s conftest.$ac_objext'
94109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94110 (eval $ac_try) 2>&5
94111 ac_status=$?
94112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94113 (exit $ac_status); }; }; then
94114 glibcxx_cv_func__ldexpf_use=yes
94115 else
94116 echo "$as_me: failed program was:" >&5
94117 sed 's/^/| /' conftest.$ac_ext >&5
94119 glibcxx_cv_func__ldexpf_use=no
94121 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94122 ac_ext=c
94123 ac_cpp='$CPP $CPPFLAGS'
94124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94132 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
94133 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
94135 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
94137 for ac_func in _ldexpf
94139 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94140 echo "$as_me:$LINENO: checking for $ac_func" >&5
94141 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94142 if eval "test \"\${$as_ac_var+set}\" = set"; then
94143 echo $ECHO_N "(cached) $ECHO_C" >&6
94144 else
94145 if test x$gcc_no_link = xyes; then
94146 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94147 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94148 { (exit 1); exit 1; }; }
94150 cat >conftest.$ac_ext <<_ACEOF
94151 /* confdefs.h. */
94152 _ACEOF
94153 cat confdefs.h >>conftest.$ac_ext
94154 cat >>conftest.$ac_ext <<_ACEOF
94155 /* end confdefs.h. */
94156 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94157 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94158 #define $ac_func innocuous_$ac_func
94160 /* System header to define __stub macros and hopefully few prototypes,
94161 which can conflict with char $ac_func (); below.
94162 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94163 <limits.h> exists even on freestanding compilers. */
94165 #ifdef __STDC__
94166 # include <limits.h>
94167 #else
94168 # include <assert.h>
94169 #endif
94171 #undef $ac_func
94173 /* Override any gcc2 internal prototype to avoid an error. */
94174 #ifdef __cplusplus
94175 extern "C"
94177 #endif
94178 /* We use char because int might match the return type of a gcc2
94179 builtin and then its argument prototype would still apply. */
94180 char $ac_func ();
94181 /* The GNU C library defines this for functions which it implements
94182 to always fail with ENOSYS. Some functions are actually named
94183 something starting with __ and the normal name is an alias. */
94184 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94185 choke me
94186 #else
94187 char (*f) () = $ac_func;
94188 #endif
94189 #ifdef __cplusplus
94191 #endif
94194 main ()
94196 return f != $ac_func;
94198 return 0;
94200 _ACEOF
94201 rm -f conftest.$ac_objext conftest$ac_exeext
94202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94203 (eval $ac_link) 2>conftest.er1
94204 ac_status=$?
94205 grep -v '^ *+' conftest.er1 >conftest.err
94206 rm -f conftest.er1
94207 cat conftest.err >&5
94208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94209 (exit $ac_status); } &&
94210 { ac_try='test -z "$ac_c_werror_flag"
94211 || test ! -s conftest.err'
94212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94213 (eval $ac_try) 2>&5
94214 ac_status=$?
94215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94216 (exit $ac_status); }; } &&
94217 { ac_try='test -s conftest$ac_exeext'
94218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94219 (eval $ac_try) 2>&5
94220 ac_status=$?
94221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94222 (exit $ac_status); }; }; then
94223 eval "$as_ac_var=yes"
94224 else
94225 echo "$as_me: failed program was:" >&5
94226 sed 's/^/| /' conftest.$ac_ext >&5
94228 eval "$as_ac_var=no"
94230 rm -f conftest.err conftest.$ac_objext \
94231 conftest$ac_exeext conftest.$ac_ext
94233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94234 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94235 if test `eval echo '${'$as_ac_var'}'` = yes; then
94236 cat >>confdefs.h <<_ACEOF
94237 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94238 _ACEOF
94241 done
94251 echo "$as_me:$LINENO: checking for logf declaration" >&5
94252 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
94253 if test x${glibcxx_cv_func_logf_use+set} != xset; then
94254 if test "${glibcxx_cv_func_logf_use+set}" = set; then
94255 echo $ECHO_N "(cached) $ECHO_C" >&6
94256 else
94260 ac_ext=cc
94261 ac_cpp='$CXXCPP $CPPFLAGS'
94262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94266 cat >conftest.$ac_ext <<_ACEOF
94267 /* confdefs.h. */
94268 _ACEOF
94269 cat confdefs.h >>conftest.$ac_ext
94270 cat >>conftest.$ac_ext <<_ACEOF
94271 /* end confdefs.h. */
94272 #include <math.h>
94273 #ifdef HAVE_IEEEFP_H
94274 #include <ieeefp.h>
94275 #endif
94278 main ()
94280 logf(0);
94282 return 0;
94284 _ACEOF
94285 rm -f conftest.$ac_objext
94286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94287 (eval $ac_compile) 2>conftest.er1
94288 ac_status=$?
94289 grep -v '^ *+' conftest.er1 >conftest.err
94290 rm -f conftest.er1
94291 cat conftest.err >&5
94292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94293 (exit $ac_status); } &&
94294 { ac_try='test -z "$ac_cxx_werror_flag"
94295 || test ! -s conftest.err'
94296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94297 (eval $ac_try) 2>&5
94298 ac_status=$?
94299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94300 (exit $ac_status); }; } &&
94301 { ac_try='test -s conftest.$ac_objext'
94302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94303 (eval $ac_try) 2>&5
94304 ac_status=$?
94305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94306 (exit $ac_status); }; }; then
94307 glibcxx_cv_func_logf_use=yes
94308 else
94309 echo "$as_me: failed program was:" >&5
94310 sed 's/^/| /' conftest.$ac_ext >&5
94312 glibcxx_cv_func_logf_use=no
94314 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94315 ac_ext=c
94316 ac_cpp='$CPP $CPPFLAGS'
94317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94325 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
94326 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
94328 if test x$glibcxx_cv_func_logf_use = x"yes"; then
94330 for ac_func in logf
94332 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94333 echo "$as_me:$LINENO: checking for $ac_func" >&5
94334 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94335 if eval "test \"\${$as_ac_var+set}\" = set"; then
94336 echo $ECHO_N "(cached) $ECHO_C" >&6
94337 else
94338 if test x$gcc_no_link = xyes; then
94339 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94340 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94341 { (exit 1); exit 1; }; }
94343 cat >conftest.$ac_ext <<_ACEOF
94344 /* confdefs.h. */
94345 _ACEOF
94346 cat confdefs.h >>conftest.$ac_ext
94347 cat >>conftest.$ac_ext <<_ACEOF
94348 /* end confdefs.h. */
94349 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94350 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94351 #define $ac_func innocuous_$ac_func
94353 /* System header to define __stub macros and hopefully few prototypes,
94354 which can conflict with char $ac_func (); below.
94355 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94356 <limits.h> exists even on freestanding compilers. */
94358 #ifdef __STDC__
94359 # include <limits.h>
94360 #else
94361 # include <assert.h>
94362 #endif
94364 #undef $ac_func
94366 /* Override any gcc2 internal prototype to avoid an error. */
94367 #ifdef __cplusplus
94368 extern "C"
94370 #endif
94371 /* We use char because int might match the return type of a gcc2
94372 builtin and then its argument prototype would still apply. */
94373 char $ac_func ();
94374 /* The GNU C library defines this for functions which it implements
94375 to always fail with ENOSYS. Some functions are actually named
94376 something starting with __ and the normal name is an alias. */
94377 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94378 choke me
94379 #else
94380 char (*f) () = $ac_func;
94381 #endif
94382 #ifdef __cplusplus
94384 #endif
94387 main ()
94389 return f != $ac_func;
94391 return 0;
94393 _ACEOF
94394 rm -f conftest.$ac_objext conftest$ac_exeext
94395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94396 (eval $ac_link) 2>conftest.er1
94397 ac_status=$?
94398 grep -v '^ *+' conftest.er1 >conftest.err
94399 rm -f conftest.er1
94400 cat conftest.err >&5
94401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94402 (exit $ac_status); } &&
94403 { ac_try='test -z "$ac_c_werror_flag"
94404 || test ! -s conftest.err'
94405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94406 (eval $ac_try) 2>&5
94407 ac_status=$?
94408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94409 (exit $ac_status); }; } &&
94410 { ac_try='test -s conftest$ac_exeext'
94411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94412 (eval $ac_try) 2>&5
94413 ac_status=$?
94414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94415 (exit $ac_status); }; }; then
94416 eval "$as_ac_var=yes"
94417 else
94418 echo "$as_me: failed program was:" >&5
94419 sed 's/^/| /' conftest.$ac_ext >&5
94421 eval "$as_ac_var=no"
94423 rm -f conftest.err conftest.$ac_objext \
94424 conftest$ac_exeext conftest.$ac_ext
94426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94427 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94428 if test `eval echo '${'$as_ac_var'}'` = yes; then
94429 cat >>confdefs.h <<_ACEOF
94430 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94431 _ACEOF
94434 done
94436 else
94438 echo "$as_me:$LINENO: checking for _logf declaration" >&5
94439 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
94440 if test x${glibcxx_cv_func__logf_use+set} != xset; then
94441 if test "${glibcxx_cv_func__logf_use+set}" = set; then
94442 echo $ECHO_N "(cached) $ECHO_C" >&6
94443 else
94447 ac_ext=cc
94448 ac_cpp='$CXXCPP $CPPFLAGS'
94449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94453 cat >conftest.$ac_ext <<_ACEOF
94454 /* confdefs.h. */
94455 _ACEOF
94456 cat confdefs.h >>conftest.$ac_ext
94457 cat >>conftest.$ac_ext <<_ACEOF
94458 /* end confdefs.h. */
94459 #include <math.h>
94460 #ifdef HAVE_IEEEFP_H
94461 #include <ieeefp.h>
94462 #endif
94465 main ()
94467 _logf(0);
94469 return 0;
94471 _ACEOF
94472 rm -f conftest.$ac_objext
94473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94474 (eval $ac_compile) 2>conftest.er1
94475 ac_status=$?
94476 grep -v '^ *+' conftest.er1 >conftest.err
94477 rm -f conftest.er1
94478 cat conftest.err >&5
94479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94480 (exit $ac_status); } &&
94481 { ac_try='test -z "$ac_cxx_werror_flag"
94482 || test ! -s conftest.err'
94483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94484 (eval $ac_try) 2>&5
94485 ac_status=$?
94486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94487 (exit $ac_status); }; } &&
94488 { ac_try='test -s conftest.$ac_objext'
94489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94490 (eval $ac_try) 2>&5
94491 ac_status=$?
94492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94493 (exit $ac_status); }; }; then
94494 glibcxx_cv_func__logf_use=yes
94495 else
94496 echo "$as_me: failed program was:" >&5
94497 sed 's/^/| /' conftest.$ac_ext >&5
94499 glibcxx_cv_func__logf_use=no
94501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94502 ac_ext=c
94503 ac_cpp='$CPP $CPPFLAGS'
94504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94512 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
94513 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
94515 if test x$glibcxx_cv_func__logf_use = x"yes"; then
94517 for ac_func in _logf
94519 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94520 echo "$as_me:$LINENO: checking for $ac_func" >&5
94521 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94522 if eval "test \"\${$as_ac_var+set}\" = set"; then
94523 echo $ECHO_N "(cached) $ECHO_C" >&6
94524 else
94525 if test x$gcc_no_link = xyes; then
94526 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94527 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94528 { (exit 1); exit 1; }; }
94530 cat >conftest.$ac_ext <<_ACEOF
94531 /* confdefs.h. */
94532 _ACEOF
94533 cat confdefs.h >>conftest.$ac_ext
94534 cat >>conftest.$ac_ext <<_ACEOF
94535 /* end confdefs.h. */
94536 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94537 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94538 #define $ac_func innocuous_$ac_func
94540 /* System header to define __stub macros and hopefully few prototypes,
94541 which can conflict with char $ac_func (); below.
94542 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94543 <limits.h> exists even on freestanding compilers. */
94545 #ifdef __STDC__
94546 # include <limits.h>
94547 #else
94548 # include <assert.h>
94549 #endif
94551 #undef $ac_func
94553 /* Override any gcc2 internal prototype to avoid an error. */
94554 #ifdef __cplusplus
94555 extern "C"
94557 #endif
94558 /* We use char because int might match the return type of a gcc2
94559 builtin and then its argument prototype would still apply. */
94560 char $ac_func ();
94561 /* The GNU C library defines this for functions which it implements
94562 to always fail with ENOSYS. Some functions are actually named
94563 something starting with __ and the normal name is an alias. */
94564 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94565 choke me
94566 #else
94567 char (*f) () = $ac_func;
94568 #endif
94569 #ifdef __cplusplus
94571 #endif
94574 main ()
94576 return f != $ac_func;
94578 return 0;
94580 _ACEOF
94581 rm -f conftest.$ac_objext conftest$ac_exeext
94582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94583 (eval $ac_link) 2>conftest.er1
94584 ac_status=$?
94585 grep -v '^ *+' conftest.er1 >conftest.err
94586 rm -f conftest.er1
94587 cat conftest.err >&5
94588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94589 (exit $ac_status); } &&
94590 { ac_try='test -z "$ac_c_werror_flag"
94591 || test ! -s conftest.err'
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); }; } &&
94597 { ac_try='test -s conftest$ac_exeext'
94598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94599 (eval $ac_try) 2>&5
94600 ac_status=$?
94601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94602 (exit $ac_status); }; }; then
94603 eval "$as_ac_var=yes"
94604 else
94605 echo "$as_me: failed program was:" >&5
94606 sed 's/^/| /' conftest.$ac_ext >&5
94608 eval "$as_ac_var=no"
94610 rm -f conftest.err conftest.$ac_objext \
94611 conftest$ac_exeext conftest.$ac_ext
94613 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94614 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94615 if test `eval echo '${'$as_ac_var'}'` = yes; then
94616 cat >>confdefs.h <<_ACEOF
94617 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94618 _ACEOF
94621 done
94631 echo "$as_me:$LINENO: checking for log10f declaration" >&5
94632 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
94633 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
94634 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
94635 echo $ECHO_N "(cached) $ECHO_C" >&6
94636 else
94640 ac_ext=cc
94641 ac_cpp='$CXXCPP $CPPFLAGS'
94642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94646 cat >conftest.$ac_ext <<_ACEOF
94647 /* confdefs.h. */
94648 _ACEOF
94649 cat confdefs.h >>conftest.$ac_ext
94650 cat >>conftest.$ac_ext <<_ACEOF
94651 /* end confdefs.h. */
94652 #include <math.h>
94653 #ifdef HAVE_IEEEFP_H
94654 #include <ieeefp.h>
94655 #endif
94658 main ()
94660 log10f(0);
94662 return 0;
94664 _ACEOF
94665 rm -f conftest.$ac_objext
94666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94667 (eval $ac_compile) 2>conftest.er1
94668 ac_status=$?
94669 grep -v '^ *+' conftest.er1 >conftest.err
94670 rm -f conftest.er1
94671 cat conftest.err >&5
94672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94673 (exit $ac_status); } &&
94674 { ac_try='test -z "$ac_cxx_werror_flag"
94675 || test ! -s conftest.err'
94676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94677 (eval $ac_try) 2>&5
94678 ac_status=$?
94679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94680 (exit $ac_status); }; } &&
94681 { ac_try='test -s conftest.$ac_objext'
94682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94683 (eval $ac_try) 2>&5
94684 ac_status=$?
94685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94686 (exit $ac_status); }; }; then
94687 glibcxx_cv_func_log10f_use=yes
94688 else
94689 echo "$as_me: failed program was:" >&5
94690 sed 's/^/| /' conftest.$ac_ext >&5
94692 glibcxx_cv_func_log10f_use=no
94694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94695 ac_ext=c
94696 ac_cpp='$CPP $CPPFLAGS'
94697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94705 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
94706 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
94708 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
94710 for ac_func in log10f
94712 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94713 echo "$as_me:$LINENO: checking for $ac_func" >&5
94714 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94715 if eval "test \"\${$as_ac_var+set}\" = set"; then
94716 echo $ECHO_N "(cached) $ECHO_C" >&6
94717 else
94718 if test x$gcc_no_link = xyes; then
94719 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94720 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94721 { (exit 1); exit 1; }; }
94723 cat >conftest.$ac_ext <<_ACEOF
94724 /* confdefs.h. */
94725 _ACEOF
94726 cat confdefs.h >>conftest.$ac_ext
94727 cat >>conftest.$ac_ext <<_ACEOF
94728 /* end confdefs.h. */
94729 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94730 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94731 #define $ac_func innocuous_$ac_func
94733 /* System header to define __stub macros and hopefully few prototypes,
94734 which can conflict with char $ac_func (); below.
94735 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94736 <limits.h> exists even on freestanding compilers. */
94738 #ifdef __STDC__
94739 # include <limits.h>
94740 #else
94741 # include <assert.h>
94742 #endif
94744 #undef $ac_func
94746 /* Override any gcc2 internal prototype to avoid an error. */
94747 #ifdef __cplusplus
94748 extern "C"
94750 #endif
94751 /* We use char because int might match the return type of a gcc2
94752 builtin and then its argument prototype would still apply. */
94753 char $ac_func ();
94754 /* The GNU C library defines this for functions which it implements
94755 to always fail with ENOSYS. Some functions are actually named
94756 something starting with __ and the normal name is an alias. */
94757 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94758 choke me
94759 #else
94760 char (*f) () = $ac_func;
94761 #endif
94762 #ifdef __cplusplus
94764 #endif
94767 main ()
94769 return f != $ac_func;
94771 return 0;
94773 _ACEOF
94774 rm -f conftest.$ac_objext conftest$ac_exeext
94775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94776 (eval $ac_link) 2>conftest.er1
94777 ac_status=$?
94778 grep -v '^ *+' conftest.er1 >conftest.err
94779 rm -f conftest.er1
94780 cat conftest.err >&5
94781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94782 (exit $ac_status); } &&
94783 { ac_try='test -z "$ac_c_werror_flag"
94784 || test ! -s conftest.err'
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); }; } &&
94790 { ac_try='test -s conftest$ac_exeext'
94791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94792 (eval $ac_try) 2>&5
94793 ac_status=$?
94794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94795 (exit $ac_status); }; }; then
94796 eval "$as_ac_var=yes"
94797 else
94798 echo "$as_me: failed program was:" >&5
94799 sed 's/^/| /' conftest.$ac_ext >&5
94801 eval "$as_ac_var=no"
94803 rm -f conftest.err conftest.$ac_objext \
94804 conftest$ac_exeext conftest.$ac_ext
94806 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94807 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94808 if test `eval echo '${'$as_ac_var'}'` = yes; then
94809 cat >>confdefs.h <<_ACEOF
94810 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94811 _ACEOF
94814 done
94816 else
94818 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
94819 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
94820 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
94821 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
94822 echo $ECHO_N "(cached) $ECHO_C" >&6
94823 else
94827 ac_ext=cc
94828 ac_cpp='$CXXCPP $CPPFLAGS'
94829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94833 cat >conftest.$ac_ext <<_ACEOF
94834 /* confdefs.h. */
94835 _ACEOF
94836 cat confdefs.h >>conftest.$ac_ext
94837 cat >>conftest.$ac_ext <<_ACEOF
94838 /* end confdefs.h. */
94839 #include <math.h>
94840 #ifdef HAVE_IEEEFP_H
94841 #include <ieeefp.h>
94842 #endif
94845 main ()
94847 _log10f(0);
94849 return 0;
94851 _ACEOF
94852 rm -f conftest.$ac_objext
94853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94854 (eval $ac_compile) 2>conftest.er1
94855 ac_status=$?
94856 grep -v '^ *+' conftest.er1 >conftest.err
94857 rm -f conftest.er1
94858 cat conftest.err >&5
94859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94860 (exit $ac_status); } &&
94861 { ac_try='test -z "$ac_cxx_werror_flag"
94862 || test ! -s conftest.err'
94863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94864 (eval $ac_try) 2>&5
94865 ac_status=$?
94866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94867 (exit $ac_status); }; } &&
94868 { ac_try='test -s conftest.$ac_objext'
94869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94870 (eval $ac_try) 2>&5
94871 ac_status=$?
94872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94873 (exit $ac_status); }; }; then
94874 glibcxx_cv_func__log10f_use=yes
94875 else
94876 echo "$as_me: failed program was:" >&5
94877 sed 's/^/| /' conftest.$ac_ext >&5
94879 glibcxx_cv_func__log10f_use=no
94881 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94882 ac_ext=c
94883 ac_cpp='$CPP $CPPFLAGS'
94884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94892 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
94893 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
94895 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
94897 for ac_func in _log10f
94899 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94900 echo "$as_me:$LINENO: checking for $ac_func" >&5
94901 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94902 if eval "test \"\${$as_ac_var+set}\" = set"; then
94903 echo $ECHO_N "(cached) $ECHO_C" >&6
94904 else
94905 if test x$gcc_no_link = xyes; then
94906 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94907 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94908 { (exit 1); exit 1; }; }
94910 cat >conftest.$ac_ext <<_ACEOF
94911 /* confdefs.h. */
94912 _ACEOF
94913 cat confdefs.h >>conftest.$ac_ext
94914 cat >>conftest.$ac_ext <<_ACEOF
94915 /* end confdefs.h. */
94916 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94917 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94918 #define $ac_func innocuous_$ac_func
94920 /* System header to define __stub macros and hopefully few prototypes,
94921 which can conflict with char $ac_func (); below.
94922 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94923 <limits.h> exists even on freestanding compilers. */
94925 #ifdef __STDC__
94926 # include <limits.h>
94927 #else
94928 # include <assert.h>
94929 #endif
94931 #undef $ac_func
94933 /* Override any gcc2 internal prototype to avoid an error. */
94934 #ifdef __cplusplus
94935 extern "C"
94937 #endif
94938 /* We use char because int might match the return type of a gcc2
94939 builtin and then its argument prototype would still apply. */
94940 char $ac_func ();
94941 /* The GNU C library defines this for functions which it implements
94942 to always fail with ENOSYS. Some functions are actually named
94943 something starting with __ and the normal name is an alias. */
94944 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94945 choke me
94946 #else
94947 char (*f) () = $ac_func;
94948 #endif
94949 #ifdef __cplusplus
94951 #endif
94954 main ()
94956 return f != $ac_func;
94958 return 0;
94960 _ACEOF
94961 rm -f conftest.$ac_objext conftest$ac_exeext
94962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94963 (eval $ac_link) 2>conftest.er1
94964 ac_status=$?
94965 grep -v '^ *+' conftest.er1 >conftest.err
94966 rm -f conftest.er1
94967 cat conftest.err >&5
94968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94969 (exit $ac_status); } &&
94970 { ac_try='test -z "$ac_c_werror_flag"
94971 || test ! -s conftest.err'
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); }; } &&
94977 { ac_try='test -s conftest$ac_exeext'
94978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94979 (eval $ac_try) 2>&5
94980 ac_status=$?
94981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94982 (exit $ac_status); }; }; then
94983 eval "$as_ac_var=yes"
94984 else
94985 echo "$as_me: failed program was:" >&5
94986 sed 's/^/| /' conftest.$ac_ext >&5
94988 eval "$as_ac_var=no"
94990 rm -f conftest.err conftest.$ac_objext \
94991 conftest$ac_exeext conftest.$ac_ext
94993 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94994 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94995 if test `eval echo '${'$as_ac_var'}'` = yes; then
94996 cat >>confdefs.h <<_ACEOF
94997 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94998 _ACEOF
95001 done
95011 echo "$as_me:$LINENO: checking for modff declaration" >&5
95012 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
95013 if test x${glibcxx_cv_func_modff_use+set} != xset; then
95014 if test "${glibcxx_cv_func_modff_use+set}" = set; then
95015 echo $ECHO_N "(cached) $ECHO_C" >&6
95016 else
95020 ac_ext=cc
95021 ac_cpp='$CXXCPP $CPPFLAGS'
95022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95026 cat >conftest.$ac_ext <<_ACEOF
95027 /* confdefs.h. */
95028 _ACEOF
95029 cat confdefs.h >>conftest.$ac_ext
95030 cat >>conftest.$ac_ext <<_ACEOF
95031 /* end confdefs.h. */
95032 #include <math.h>
95034 main ()
95036 modff(0, 0);
95038 return 0;
95040 _ACEOF
95041 rm -f conftest.$ac_objext
95042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95043 (eval $ac_compile) 2>conftest.er1
95044 ac_status=$?
95045 grep -v '^ *+' conftest.er1 >conftest.err
95046 rm -f conftest.er1
95047 cat conftest.err >&5
95048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95049 (exit $ac_status); } &&
95050 { ac_try='test -z "$ac_cxx_werror_flag"
95051 || test ! -s conftest.err'
95052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95053 (eval $ac_try) 2>&5
95054 ac_status=$?
95055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95056 (exit $ac_status); }; } &&
95057 { ac_try='test -s conftest.$ac_objext'
95058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95059 (eval $ac_try) 2>&5
95060 ac_status=$?
95061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95062 (exit $ac_status); }; }; then
95063 glibcxx_cv_func_modff_use=yes
95064 else
95065 echo "$as_me: failed program was:" >&5
95066 sed 's/^/| /' conftest.$ac_ext >&5
95068 glibcxx_cv_func_modff_use=no
95070 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95071 ac_ext=c
95072 ac_cpp='$CPP $CPPFLAGS'
95073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95081 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
95082 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
95084 if test x$glibcxx_cv_func_modff_use = x"yes"; then
95086 for ac_func in modff
95088 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95089 echo "$as_me:$LINENO: checking for $ac_func" >&5
95090 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95091 if eval "test \"\${$as_ac_var+set}\" = set"; then
95092 echo $ECHO_N "(cached) $ECHO_C" >&6
95093 else
95094 if test x$gcc_no_link = xyes; then
95095 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95096 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95097 { (exit 1); exit 1; }; }
95099 cat >conftest.$ac_ext <<_ACEOF
95100 /* confdefs.h. */
95101 _ACEOF
95102 cat confdefs.h >>conftest.$ac_ext
95103 cat >>conftest.$ac_ext <<_ACEOF
95104 /* end confdefs.h. */
95105 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95106 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95107 #define $ac_func innocuous_$ac_func
95109 /* System header to define __stub macros and hopefully few prototypes,
95110 which can conflict with char $ac_func (); below.
95111 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95112 <limits.h> exists even on freestanding compilers. */
95114 #ifdef __STDC__
95115 # include <limits.h>
95116 #else
95117 # include <assert.h>
95118 #endif
95120 #undef $ac_func
95122 /* Override any gcc2 internal prototype to avoid an error. */
95123 #ifdef __cplusplus
95124 extern "C"
95126 #endif
95127 /* We use char because int might match the return type of a gcc2
95128 builtin and then its argument prototype would still apply. */
95129 char $ac_func ();
95130 /* The GNU C library defines this for functions which it implements
95131 to always fail with ENOSYS. Some functions are actually named
95132 something starting with __ and the normal name is an alias. */
95133 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95134 choke me
95135 #else
95136 char (*f) () = $ac_func;
95137 #endif
95138 #ifdef __cplusplus
95140 #endif
95143 main ()
95145 return f != $ac_func;
95147 return 0;
95149 _ACEOF
95150 rm -f conftest.$ac_objext conftest$ac_exeext
95151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95152 (eval $ac_link) 2>conftest.er1
95153 ac_status=$?
95154 grep -v '^ *+' conftest.er1 >conftest.err
95155 rm -f conftest.er1
95156 cat conftest.err >&5
95157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95158 (exit $ac_status); } &&
95159 { ac_try='test -z "$ac_c_werror_flag"
95160 || test ! -s conftest.err'
95161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95162 (eval $ac_try) 2>&5
95163 ac_status=$?
95164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95165 (exit $ac_status); }; } &&
95166 { ac_try='test -s conftest$ac_exeext'
95167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95168 (eval $ac_try) 2>&5
95169 ac_status=$?
95170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95171 (exit $ac_status); }; }; then
95172 eval "$as_ac_var=yes"
95173 else
95174 echo "$as_me: failed program was:" >&5
95175 sed 's/^/| /' conftest.$ac_ext >&5
95177 eval "$as_ac_var=no"
95179 rm -f conftest.err conftest.$ac_objext \
95180 conftest$ac_exeext conftest.$ac_ext
95182 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95183 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95184 if test `eval echo '${'$as_ac_var'}'` = yes; then
95185 cat >>confdefs.h <<_ACEOF
95186 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95187 _ACEOF
95190 done
95192 else
95194 echo "$as_me:$LINENO: checking for _modff declaration" >&5
95195 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
95196 if test x${glibcxx_cv_func__modff_use+set} != xset; then
95197 if test "${glibcxx_cv_func__modff_use+set}" = set; then
95198 echo $ECHO_N "(cached) $ECHO_C" >&6
95199 else
95203 ac_ext=cc
95204 ac_cpp='$CXXCPP $CPPFLAGS'
95205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95209 cat >conftest.$ac_ext <<_ACEOF
95210 /* confdefs.h. */
95211 _ACEOF
95212 cat confdefs.h >>conftest.$ac_ext
95213 cat >>conftest.$ac_ext <<_ACEOF
95214 /* end confdefs.h. */
95215 #include <math.h>
95217 main ()
95219 _modff(0, 0);
95221 return 0;
95223 _ACEOF
95224 rm -f conftest.$ac_objext
95225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95226 (eval $ac_compile) 2>conftest.er1
95227 ac_status=$?
95228 grep -v '^ *+' conftest.er1 >conftest.err
95229 rm -f conftest.er1
95230 cat conftest.err >&5
95231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95232 (exit $ac_status); } &&
95233 { ac_try='test -z "$ac_cxx_werror_flag"
95234 || test ! -s conftest.err'
95235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95236 (eval $ac_try) 2>&5
95237 ac_status=$?
95238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95239 (exit $ac_status); }; } &&
95240 { ac_try='test -s conftest.$ac_objext'
95241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95242 (eval $ac_try) 2>&5
95243 ac_status=$?
95244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95245 (exit $ac_status); }; }; then
95246 glibcxx_cv_func__modff_use=yes
95247 else
95248 echo "$as_me: failed program was:" >&5
95249 sed 's/^/| /' conftest.$ac_ext >&5
95251 glibcxx_cv_func__modff_use=no
95253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95254 ac_ext=c
95255 ac_cpp='$CPP $CPPFLAGS'
95256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95264 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
95265 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
95267 if test x$glibcxx_cv_func__modff_use = x"yes"; then
95269 for ac_func in _modff
95271 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95272 echo "$as_me:$LINENO: checking for $ac_func" >&5
95273 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95274 if eval "test \"\${$as_ac_var+set}\" = set"; then
95275 echo $ECHO_N "(cached) $ECHO_C" >&6
95276 else
95277 if test x$gcc_no_link = xyes; then
95278 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95279 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95280 { (exit 1); exit 1; }; }
95282 cat >conftest.$ac_ext <<_ACEOF
95283 /* confdefs.h. */
95284 _ACEOF
95285 cat confdefs.h >>conftest.$ac_ext
95286 cat >>conftest.$ac_ext <<_ACEOF
95287 /* end confdefs.h. */
95288 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95289 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95290 #define $ac_func innocuous_$ac_func
95292 /* System header to define __stub macros and hopefully few prototypes,
95293 which can conflict with char $ac_func (); below.
95294 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95295 <limits.h> exists even on freestanding compilers. */
95297 #ifdef __STDC__
95298 # include <limits.h>
95299 #else
95300 # include <assert.h>
95301 #endif
95303 #undef $ac_func
95305 /* Override any gcc2 internal prototype to avoid an error. */
95306 #ifdef __cplusplus
95307 extern "C"
95309 #endif
95310 /* We use char because int might match the return type of a gcc2
95311 builtin and then its argument prototype would still apply. */
95312 char $ac_func ();
95313 /* The GNU C library defines this for functions which it implements
95314 to always fail with ENOSYS. Some functions are actually named
95315 something starting with __ and the normal name is an alias. */
95316 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95317 choke me
95318 #else
95319 char (*f) () = $ac_func;
95320 #endif
95321 #ifdef __cplusplus
95323 #endif
95326 main ()
95328 return f != $ac_func;
95330 return 0;
95332 _ACEOF
95333 rm -f conftest.$ac_objext conftest$ac_exeext
95334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95335 (eval $ac_link) 2>conftest.er1
95336 ac_status=$?
95337 grep -v '^ *+' conftest.er1 >conftest.err
95338 rm -f conftest.er1
95339 cat conftest.err >&5
95340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95341 (exit $ac_status); } &&
95342 { ac_try='test -z "$ac_c_werror_flag"
95343 || test ! -s conftest.err'
95344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95345 (eval $ac_try) 2>&5
95346 ac_status=$?
95347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95348 (exit $ac_status); }; } &&
95349 { ac_try='test -s conftest$ac_exeext'
95350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95351 (eval $ac_try) 2>&5
95352 ac_status=$?
95353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95354 (exit $ac_status); }; }; then
95355 eval "$as_ac_var=yes"
95356 else
95357 echo "$as_me: failed program was:" >&5
95358 sed 's/^/| /' conftest.$ac_ext >&5
95360 eval "$as_ac_var=no"
95362 rm -f conftest.err conftest.$ac_objext \
95363 conftest$ac_exeext conftest.$ac_ext
95365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95366 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95367 if test `eval echo '${'$as_ac_var'}'` = yes; then
95368 cat >>confdefs.h <<_ACEOF
95369 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95370 _ACEOF
95373 done
95383 echo "$as_me:$LINENO: checking for modf declaration" >&5
95384 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
95385 if test x${glibcxx_cv_func_modf_use+set} != xset; then
95386 if test "${glibcxx_cv_func_modf_use+set}" = set; then
95387 echo $ECHO_N "(cached) $ECHO_C" >&6
95388 else
95392 ac_ext=cc
95393 ac_cpp='$CXXCPP $CPPFLAGS'
95394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95398 cat >conftest.$ac_ext <<_ACEOF
95399 /* confdefs.h. */
95400 _ACEOF
95401 cat confdefs.h >>conftest.$ac_ext
95402 cat >>conftest.$ac_ext <<_ACEOF
95403 /* end confdefs.h. */
95404 #include <math.h>
95406 main ()
95408 modf(0, 0);
95410 return 0;
95412 _ACEOF
95413 rm -f conftest.$ac_objext
95414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95415 (eval $ac_compile) 2>conftest.er1
95416 ac_status=$?
95417 grep -v '^ *+' conftest.er1 >conftest.err
95418 rm -f conftest.er1
95419 cat conftest.err >&5
95420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95421 (exit $ac_status); } &&
95422 { ac_try='test -z "$ac_cxx_werror_flag"
95423 || test ! -s conftest.err'
95424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95425 (eval $ac_try) 2>&5
95426 ac_status=$?
95427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95428 (exit $ac_status); }; } &&
95429 { ac_try='test -s conftest.$ac_objext'
95430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95431 (eval $ac_try) 2>&5
95432 ac_status=$?
95433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95434 (exit $ac_status); }; }; then
95435 glibcxx_cv_func_modf_use=yes
95436 else
95437 echo "$as_me: failed program was:" >&5
95438 sed 's/^/| /' conftest.$ac_ext >&5
95440 glibcxx_cv_func_modf_use=no
95442 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95443 ac_ext=c
95444 ac_cpp='$CPP $CPPFLAGS'
95445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95453 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
95454 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
95456 if test x$glibcxx_cv_func_modf_use = x"yes"; then
95458 for ac_func in modf
95460 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95461 echo "$as_me:$LINENO: checking for $ac_func" >&5
95462 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95463 if eval "test \"\${$as_ac_var+set}\" = set"; then
95464 echo $ECHO_N "(cached) $ECHO_C" >&6
95465 else
95466 if test x$gcc_no_link = xyes; then
95467 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95468 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95469 { (exit 1); exit 1; }; }
95471 cat >conftest.$ac_ext <<_ACEOF
95472 /* confdefs.h. */
95473 _ACEOF
95474 cat confdefs.h >>conftest.$ac_ext
95475 cat >>conftest.$ac_ext <<_ACEOF
95476 /* end confdefs.h. */
95477 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95478 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95479 #define $ac_func innocuous_$ac_func
95481 /* System header to define __stub macros and hopefully few prototypes,
95482 which can conflict with char $ac_func (); below.
95483 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95484 <limits.h> exists even on freestanding compilers. */
95486 #ifdef __STDC__
95487 # include <limits.h>
95488 #else
95489 # include <assert.h>
95490 #endif
95492 #undef $ac_func
95494 /* Override any gcc2 internal prototype to avoid an error. */
95495 #ifdef __cplusplus
95496 extern "C"
95498 #endif
95499 /* We use char because int might match the return type of a gcc2
95500 builtin and then its argument prototype would still apply. */
95501 char $ac_func ();
95502 /* The GNU C library defines this for functions which it implements
95503 to always fail with ENOSYS. Some functions are actually named
95504 something starting with __ and the normal name is an alias. */
95505 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95506 choke me
95507 #else
95508 char (*f) () = $ac_func;
95509 #endif
95510 #ifdef __cplusplus
95512 #endif
95515 main ()
95517 return f != $ac_func;
95519 return 0;
95521 _ACEOF
95522 rm -f conftest.$ac_objext conftest$ac_exeext
95523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95524 (eval $ac_link) 2>conftest.er1
95525 ac_status=$?
95526 grep -v '^ *+' conftest.er1 >conftest.err
95527 rm -f conftest.er1
95528 cat conftest.err >&5
95529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95530 (exit $ac_status); } &&
95531 { ac_try='test -z "$ac_c_werror_flag"
95532 || test ! -s conftest.err'
95533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95534 (eval $ac_try) 2>&5
95535 ac_status=$?
95536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95537 (exit $ac_status); }; } &&
95538 { ac_try='test -s conftest$ac_exeext'
95539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95540 (eval $ac_try) 2>&5
95541 ac_status=$?
95542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95543 (exit $ac_status); }; }; then
95544 eval "$as_ac_var=yes"
95545 else
95546 echo "$as_me: failed program was:" >&5
95547 sed 's/^/| /' conftest.$ac_ext >&5
95549 eval "$as_ac_var=no"
95551 rm -f conftest.err conftest.$ac_objext \
95552 conftest$ac_exeext conftest.$ac_ext
95554 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95555 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95556 if test `eval echo '${'$as_ac_var'}'` = yes; then
95557 cat >>confdefs.h <<_ACEOF
95558 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95559 _ACEOF
95562 done
95564 else
95566 echo "$as_me:$LINENO: checking for _modf declaration" >&5
95567 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
95568 if test x${glibcxx_cv_func__modf_use+set} != xset; then
95569 if test "${glibcxx_cv_func__modf_use+set}" = set; then
95570 echo $ECHO_N "(cached) $ECHO_C" >&6
95571 else
95575 ac_ext=cc
95576 ac_cpp='$CXXCPP $CPPFLAGS'
95577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95581 cat >conftest.$ac_ext <<_ACEOF
95582 /* confdefs.h. */
95583 _ACEOF
95584 cat confdefs.h >>conftest.$ac_ext
95585 cat >>conftest.$ac_ext <<_ACEOF
95586 /* end confdefs.h. */
95587 #include <math.h>
95589 main ()
95591 _modf(0, 0);
95593 return 0;
95595 _ACEOF
95596 rm -f conftest.$ac_objext
95597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95598 (eval $ac_compile) 2>conftest.er1
95599 ac_status=$?
95600 grep -v '^ *+' conftest.er1 >conftest.err
95601 rm -f conftest.er1
95602 cat conftest.err >&5
95603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95604 (exit $ac_status); } &&
95605 { ac_try='test -z "$ac_cxx_werror_flag"
95606 || test ! -s conftest.err'
95607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95608 (eval $ac_try) 2>&5
95609 ac_status=$?
95610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95611 (exit $ac_status); }; } &&
95612 { ac_try='test -s conftest.$ac_objext'
95613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95614 (eval $ac_try) 2>&5
95615 ac_status=$?
95616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95617 (exit $ac_status); }; }; then
95618 glibcxx_cv_func__modf_use=yes
95619 else
95620 echo "$as_me: failed program was:" >&5
95621 sed 's/^/| /' conftest.$ac_ext >&5
95623 glibcxx_cv_func__modf_use=no
95625 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95626 ac_ext=c
95627 ac_cpp='$CPP $CPPFLAGS'
95628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95636 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
95637 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
95639 if test x$glibcxx_cv_func__modf_use = x"yes"; then
95641 for ac_func in _modf
95643 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95644 echo "$as_me:$LINENO: checking for $ac_func" >&5
95645 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95646 if eval "test \"\${$as_ac_var+set}\" = set"; then
95647 echo $ECHO_N "(cached) $ECHO_C" >&6
95648 else
95649 if test x$gcc_no_link = xyes; then
95650 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95651 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95652 { (exit 1); exit 1; }; }
95654 cat >conftest.$ac_ext <<_ACEOF
95655 /* confdefs.h. */
95656 _ACEOF
95657 cat confdefs.h >>conftest.$ac_ext
95658 cat >>conftest.$ac_ext <<_ACEOF
95659 /* end confdefs.h. */
95660 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95661 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95662 #define $ac_func innocuous_$ac_func
95664 /* System header to define __stub macros and hopefully few prototypes,
95665 which can conflict with char $ac_func (); below.
95666 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95667 <limits.h> exists even on freestanding compilers. */
95669 #ifdef __STDC__
95670 # include <limits.h>
95671 #else
95672 # include <assert.h>
95673 #endif
95675 #undef $ac_func
95677 /* Override any gcc2 internal prototype to avoid an error. */
95678 #ifdef __cplusplus
95679 extern "C"
95681 #endif
95682 /* We use char because int might match the return type of a gcc2
95683 builtin and then its argument prototype would still apply. */
95684 char $ac_func ();
95685 /* The GNU C library defines this for functions which it implements
95686 to always fail with ENOSYS. Some functions are actually named
95687 something starting with __ and the normal name is an alias. */
95688 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95689 choke me
95690 #else
95691 char (*f) () = $ac_func;
95692 #endif
95693 #ifdef __cplusplus
95695 #endif
95698 main ()
95700 return f != $ac_func;
95702 return 0;
95704 _ACEOF
95705 rm -f conftest.$ac_objext conftest$ac_exeext
95706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95707 (eval $ac_link) 2>conftest.er1
95708 ac_status=$?
95709 grep -v '^ *+' conftest.er1 >conftest.err
95710 rm -f conftest.er1
95711 cat conftest.err >&5
95712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95713 (exit $ac_status); } &&
95714 { ac_try='test -z "$ac_c_werror_flag"
95715 || test ! -s conftest.err'
95716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95717 (eval $ac_try) 2>&5
95718 ac_status=$?
95719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95720 (exit $ac_status); }; } &&
95721 { ac_try='test -s conftest$ac_exeext'
95722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95723 (eval $ac_try) 2>&5
95724 ac_status=$?
95725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95726 (exit $ac_status); }; }; then
95727 eval "$as_ac_var=yes"
95728 else
95729 echo "$as_me: failed program was:" >&5
95730 sed 's/^/| /' conftest.$ac_ext >&5
95732 eval "$as_ac_var=no"
95734 rm -f conftest.err conftest.$ac_objext \
95735 conftest$ac_exeext conftest.$ac_ext
95737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95738 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95739 if test `eval echo '${'$as_ac_var'}'` = yes; then
95740 cat >>confdefs.h <<_ACEOF
95741 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95742 _ACEOF
95745 done
95755 echo "$as_me:$LINENO: checking for powf declaration" >&5
95756 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
95757 if test x${glibcxx_cv_func_powf_use+set} != xset; then
95758 if test "${glibcxx_cv_func_powf_use+set}" = set; then
95759 echo $ECHO_N "(cached) $ECHO_C" >&6
95760 else
95764 ac_ext=cc
95765 ac_cpp='$CXXCPP $CPPFLAGS'
95766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95770 cat >conftest.$ac_ext <<_ACEOF
95771 /* confdefs.h. */
95772 _ACEOF
95773 cat confdefs.h >>conftest.$ac_ext
95774 cat >>conftest.$ac_ext <<_ACEOF
95775 /* end confdefs.h. */
95776 #include <math.h>
95778 main ()
95780 powf(0, 0);
95782 return 0;
95784 _ACEOF
95785 rm -f conftest.$ac_objext
95786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95787 (eval $ac_compile) 2>conftest.er1
95788 ac_status=$?
95789 grep -v '^ *+' conftest.er1 >conftest.err
95790 rm -f conftest.er1
95791 cat conftest.err >&5
95792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95793 (exit $ac_status); } &&
95794 { ac_try='test -z "$ac_cxx_werror_flag"
95795 || test ! -s conftest.err'
95796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95797 (eval $ac_try) 2>&5
95798 ac_status=$?
95799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95800 (exit $ac_status); }; } &&
95801 { ac_try='test -s conftest.$ac_objext'
95802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95803 (eval $ac_try) 2>&5
95804 ac_status=$?
95805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95806 (exit $ac_status); }; }; then
95807 glibcxx_cv_func_powf_use=yes
95808 else
95809 echo "$as_me: failed program was:" >&5
95810 sed 's/^/| /' conftest.$ac_ext >&5
95812 glibcxx_cv_func_powf_use=no
95814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95815 ac_ext=c
95816 ac_cpp='$CPP $CPPFLAGS'
95817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95825 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
95826 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
95828 if test x$glibcxx_cv_func_powf_use = x"yes"; then
95830 for ac_func in powf
95832 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95833 echo "$as_me:$LINENO: checking for $ac_func" >&5
95834 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95835 if eval "test \"\${$as_ac_var+set}\" = set"; then
95836 echo $ECHO_N "(cached) $ECHO_C" >&6
95837 else
95838 if test x$gcc_no_link = xyes; then
95839 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95840 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95841 { (exit 1); exit 1; }; }
95843 cat >conftest.$ac_ext <<_ACEOF
95844 /* confdefs.h. */
95845 _ACEOF
95846 cat confdefs.h >>conftest.$ac_ext
95847 cat >>conftest.$ac_ext <<_ACEOF
95848 /* end confdefs.h. */
95849 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95850 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95851 #define $ac_func innocuous_$ac_func
95853 /* System header to define __stub macros and hopefully few prototypes,
95854 which can conflict with char $ac_func (); below.
95855 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95856 <limits.h> exists even on freestanding compilers. */
95858 #ifdef __STDC__
95859 # include <limits.h>
95860 #else
95861 # include <assert.h>
95862 #endif
95864 #undef $ac_func
95866 /* Override any gcc2 internal prototype to avoid an error. */
95867 #ifdef __cplusplus
95868 extern "C"
95870 #endif
95871 /* We use char because int might match the return type of a gcc2
95872 builtin and then its argument prototype would still apply. */
95873 char $ac_func ();
95874 /* The GNU C library defines this for functions which it implements
95875 to always fail with ENOSYS. Some functions are actually named
95876 something starting with __ and the normal name is an alias. */
95877 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95878 choke me
95879 #else
95880 char (*f) () = $ac_func;
95881 #endif
95882 #ifdef __cplusplus
95884 #endif
95887 main ()
95889 return f != $ac_func;
95891 return 0;
95893 _ACEOF
95894 rm -f conftest.$ac_objext conftest$ac_exeext
95895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95896 (eval $ac_link) 2>conftest.er1
95897 ac_status=$?
95898 grep -v '^ *+' conftest.er1 >conftest.err
95899 rm -f conftest.er1
95900 cat conftest.err >&5
95901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95902 (exit $ac_status); } &&
95903 { ac_try='test -z "$ac_c_werror_flag"
95904 || test ! -s conftest.err'
95905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95906 (eval $ac_try) 2>&5
95907 ac_status=$?
95908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95909 (exit $ac_status); }; } &&
95910 { ac_try='test -s conftest$ac_exeext'
95911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95912 (eval $ac_try) 2>&5
95913 ac_status=$?
95914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95915 (exit $ac_status); }; }; then
95916 eval "$as_ac_var=yes"
95917 else
95918 echo "$as_me: failed program was:" >&5
95919 sed 's/^/| /' conftest.$ac_ext >&5
95921 eval "$as_ac_var=no"
95923 rm -f conftest.err conftest.$ac_objext \
95924 conftest$ac_exeext conftest.$ac_ext
95926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95927 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95928 if test `eval echo '${'$as_ac_var'}'` = yes; then
95929 cat >>confdefs.h <<_ACEOF
95930 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95931 _ACEOF
95934 done
95936 else
95938 echo "$as_me:$LINENO: checking for _powf declaration" >&5
95939 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
95940 if test x${glibcxx_cv_func__powf_use+set} != xset; then
95941 if test "${glibcxx_cv_func__powf_use+set}" = set; then
95942 echo $ECHO_N "(cached) $ECHO_C" >&6
95943 else
95947 ac_ext=cc
95948 ac_cpp='$CXXCPP $CPPFLAGS'
95949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95953 cat >conftest.$ac_ext <<_ACEOF
95954 /* confdefs.h. */
95955 _ACEOF
95956 cat confdefs.h >>conftest.$ac_ext
95957 cat >>conftest.$ac_ext <<_ACEOF
95958 /* end confdefs.h. */
95959 #include <math.h>
95961 main ()
95963 _powf(0, 0);
95965 return 0;
95967 _ACEOF
95968 rm -f conftest.$ac_objext
95969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95970 (eval $ac_compile) 2>conftest.er1
95971 ac_status=$?
95972 grep -v '^ *+' conftest.er1 >conftest.err
95973 rm -f conftest.er1
95974 cat conftest.err >&5
95975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95976 (exit $ac_status); } &&
95977 { ac_try='test -z "$ac_cxx_werror_flag"
95978 || test ! -s conftest.err'
95979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95980 (eval $ac_try) 2>&5
95981 ac_status=$?
95982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95983 (exit $ac_status); }; } &&
95984 { ac_try='test -s conftest.$ac_objext'
95985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95986 (eval $ac_try) 2>&5
95987 ac_status=$?
95988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95989 (exit $ac_status); }; }; then
95990 glibcxx_cv_func__powf_use=yes
95991 else
95992 echo "$as_me: failed program was:" >&5
95993 sed 's/^/| /' conftest.$ac_ext >&5
95995 glibcxx_cv_func__powf_use=no
95997 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95998 ac_ext=c
95999 ac_cpp='$CPP $CPPFLAGS'
96000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96008 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
96009 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
96011 if test x$glibcxx_cv_func__powf_use = x"yes"; then
96013 for ac_func in _powf
96015 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96016 echo "$as_me:$LINENO: checking for $ac_func" >&5
96017 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96018 if eval "test \"\${$as_ac_var+set}\" = set"; then
96019 echo $ECHO_N "(cached) $ECHO_C" >&6
96020 else
96021 if test x$gcc_no_link = xyes; then
96022 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96023 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96024 { (exit 1); exit 1; }; }
96026 cat >conftest.$ac_ext <<_ACEOF
96027 /* confdefs.h. */
96028 _ACEOF
96029 cat confdefs.h >>conftest.$ac_ext
96030 cat >>conftest.$ac_ext <<_ACEOF
96031 /* end confdefs.h. */
96032 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96033 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96034 #define $ac_func innocuous_$ac_func
96036 /* System header to define __stub macros and hopefully few prototypes,
96037 which can conflict with char $ac_func (); below.
96038 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96039 <limits.h> exists even on freestanding compilers. */
96041 #ifdef __STDC__
96042 # include <limits.h>
96043 #else
96044 # include <assert.h>
96045 #endif
96047 #undef $ac_func
96049 /* Override any gcc2 internal prototype to avoid an error. */
96050 #ifdef __cplusplus
96051 extern "C"
96053 #endif
96054 /* We use char because int might match the return type of a gcc2
96055 builtin and then its argument prototype would still apply. */
96056 char $ac_func ();
96057 /* The GNU C library defines this for functions which it implements
96058 to always fail with ENOSYS. Some functions are actually named
96059 something starting with __ and the normal name is an alias. */
96060 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96061 choke me
96062 #else
96063 char (*f) () = $ac_func;
96064 #endif
96065 #ifdef __cplusplus
96067 #endif
96070 main ()
96072 return f != $ac_func;
96074 return 0;
96076 _ACEOF
96077 rm -f conftest.$ac_objext conftest$ac_exeext
96078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96079 (eval $ac_link) 2>conftest.er1
96080 ac_status=$?
96081 grep -v '^ *+' conftest.er1 >conftest.err
96082 rm -f conftest.er1
96083 cat conftest.err >&5
96084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96085 (exit $ac_status); } &&
96086 { ac_try='test -z "$ac_c_werror_flag"
96087 || test ! -s conftest.err'
96088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96089 (eval $ac_try) 2>&5
96090 ac_status=$?
96091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96092 (exit $ac_status); }; } &&
96093 { ac_try='test -s conftest$ac_exeext'
96094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96095 (eval $ac_try) 2>&5
96096 ac_status=$?
96097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96098 (exit $ac_status); }; }; then
96099 eval "$as_ac_var=yes"
96100 else
96101 echo "$as_me: failed program was:" >&5
96102 sed 's/^/| /' conftest.$ac_ext >&5
96104 eval "$as_ac_var=no"
96106 rm -f conftest.err conftest.$ac_objext \
96107 conftest$ac_exeext conftest.$ac_ext
96109 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96110 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96111 if test `eval echo '${'$as_ac_var'}'` = yes; then
96112 cat >>confdefs.h <<_ACEOF
96113 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96114 _ACEOF
96117 done
96127 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
96128 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
96129 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
96130 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
96131 echo $ECHO_N "(cached) $ECHO_C" >&6
96132 else
96136 ac_ext=cc
96137 ac_cpp='$CXXCPP $CPPFLAGS'
96138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96142 cat >conftest.$ac_ext <<_ACEOF
96143 /* confdefs.h. */
96144 _ACEOF
96145 cat confdefs.h >>conftest.$ac_ext
96146 cat >>conftest.$ac_ext <<_ACEOF
96147 /* end confdefs.h. */
96148 #include <math.h>
96149 #ifdef HAVE_IEEEFP_H
96150 #include <ieeefp.h>
96151 #endif
96154 main ()
96156 sqrtf(0);
96158 return 0;
96160 _ACEOF
96161 rm -f conftest.$ac_objext
96162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96163 (eval $ac_compile) 2>conftest.er1
96164 ac_status=$?
96165 grep -v '^ *+' conftest.er1 >conftest.err
96166 rm -f conftest.er1
96167 cat conftest.err >&5
96168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96169 (exit $ac_status); } &&
96170 { ac_try='test -z "$ac_cxx_werror_flag"
96171 || test ! -s conftest.err'
96172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96173 (eval $ac_try) 2>&5
96174 ac_status=$?
96175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96176 (exit $ac_status); }; } &&
96177 { ac_try='test -s conftest.$ac_objext'
96178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96179 (eval $ac_try) 2>&5
96180 ac_status=$?
96181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96182 (exit $ac_status); }; }; then
96183 glibcxx_cv_func_sqrtf_use=yes
96184 else
96185 echo "$as_me: failed program was:" >&5
96186 sed 's/^/| /' conftest.$ac_ext >&5
96188 glibcxx_cv_func_sqrtf_use=no
96190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96191 ac_ext=c
96192 ac_cpp='$CPP $CPPFLAGS'
96193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96201 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
96202 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
96204 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
96206 for ac_func in sqrtf
96208 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96209 echo "$as_me:$LINENO: checking for $ac_func" >&5
96210 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96211 if eval "test \"\${$as_ac_var+set}\" = set"; then
96212 echo $ECHO_N "(cached) $ECHO_C" >&6
96213 else
96214 if test x$gcc_no_link = xyes; then
96215 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96216 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96217 { (exit 1); exit 1; }; }
96219 cat >conftest.$ac_ext <<_ACEOF
96220 /* confdefs.h. */
96221 _ACEOF
96222 cat confdefs.h >>conftest.$ac_ext
96223 cat >>conftest.$ac_ext <<_ACEOF
96224 /* end confdefs.h. */
96225 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96226 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96227 #define $ac_func innocuous_$ac_func
96229 /* System header to define __stub macros and hopefully few prototypes,
96230 which can conflict with char $ac_func (); below.
96231 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96232 <limits.h> exists even on freestanding compilers. */
96234 #ifdef __STDC__
96235 # include <limits.h>
96236 #else
96237 # include <assert.h>
96238 #endif
96240 #undef $ac_func
96242 /* Override any gcc2 internal prototype to avoid an error. */
96243 #ifdef __cplusplus
96244 extern "C"
96246 #endif
96247 /* We use char because int might match the return type of a gcc2
96248 builtin and then its argument prototype would still apply. */
96249 char $ac_func ();
96250 /* The GNU C library defines this for functions which it implements
96251 to always fail with ENOSYS. Some functions are actually named
96252 something starting with __ and the normal name is an alias. */
96253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96254 choke me
96255 #else
96256 char (*f) () = $ac_func;
96257 #endif
96258 #ifdef __cplusplus
96260 #endif
96263 main ()
96265 return f != $ac_func;
96267 return 0;
96269 _ACEOF
96270 rm -f conftest.$ac_objext conftest$ac_exeext
96271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96272 (eval $ac_link) 2>conftest.er1
96273 ac_status=$?
96274 grep -v '^ *+' conftest.er1 >conftest.err
96275 rm -f conftest.er1
96276 cat conftest.err >&5
96277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96278 (exit $ac_status); } &&
96279 { ac_try='test -z "$ac_c_werror_flag"
96280 || test ! -s conftest.err'
96281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96282 (eval $ac_try) 2>&5
96283 ac_status=$?
96284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96285 (exit $ac_status); }; } &&
96286 { ac_try='test -s conftest$ac_exeext'
96287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96288 (eval $ac_try) 2>&5
96289 ac_status=$?
96290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96291 (exit $ac_status); }; }; then
96292 eval "$as_ac_var=yes"
96293 else
96294 echo "$as_me: failed program was:" >&5
96295 sed 's/^/| /' conftest.$ac_ext >&5
96297 eval "$as_ac_var=no"
96299 rm -f conftest.err conftest.$ac_objext \
96300 conftest$ac_exeext conftest.$ac_ext
96302 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96303 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96304 if test `eval echo '${'$as_ac_var'}'` = yes; then
96305 cat >>confdefs.h <<_ACEOF
96306 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96307 _ACEOF
96310 done
96312 else
96314 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
96315 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
96316 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
96317 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
96318 echo $ECHO_N "(cached) $ECHO_C" >&6
96319 else
96323 ac_ext=cc
96324 ac_cpp='$CXXCPP $CPPFLAGS'
96325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96329 cat >conftest.$ac_ext <<_ACEOF
96330 /* confdefs.h. */
96331 _ACEOF
96332 cat confdefs.h >>conftest.$ac_ext
96333 cat >>conftest.$ac_ext <<_ACEOF
96334 /* end confdefs.h. */
96335 #include <math.h>
96336 #ifdef HAVE_IEEEFP_H
96337 #include <ieeefp.h>
96338 #endif
96341 main ()
96343 _sqrtf(0);
96345 return 0;
96347 _ACEOF
96348 rm -f conftest.$ac_objext
96349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96350 (eval $ac_compile) 2>conftest.er1
96351 ac_status=$?
96352 grep -v '^ *+' conftest.er1 >conftest.err
96353 rm -f conftest.er1
96354 cat conftest.err >&5
96355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96356 (exit $ac_status); } &&
96357 { ac_try='test -z "$ac_cxx_werror_flag"
96358 || test ! -s conftest.err'
96359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96360 (eval $ac_try) 2>&5
96361 ac_status=$?
96362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96363 (exit $ac_status); }; } &&
96364 { ac_try='test -s conftest.$ac_objext'
96365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96366 (eval $ac_try) 2>&5
96367 ac_status=$?
96368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96369 (exit $ac_status); }; }; then
96370 glibcxx_cv_func__sqrtf_use=yes
96371 else
96372 echo "$as_me: failed program was:" >&5
96373 sed 's/^/| /' conftest.$ac_ext >&5
96375 glibcxx_cv_func__sqrtf_use=no
96377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96378 ac_ext=c
96379 ac_cpp='$CPP $CPPFLAGS'
96380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96388 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
96389 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
96391 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
96393 for ac_func in _sqrtf
96395 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96396 echo "$as_me:$LINENO: checking for $ac_func" >&5
96397 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96398 if eval "test \"\${$as_ac_var+set}\" = set"; then
96399 echo $ECHO_N "(cached) $ECHO_C" >&6
96400 else
96401 if test x$gcc_no_link = xyes; then
96402 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96403 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96404 { (exit 1); exit 1; }; }
96406 cat >conftest.$ac_ext <<_ACEOF
96407 /* confdefs.h. */
96408 _ACEOF
96409 cat confdefs.h >>conftest.$ac_ext
96410 cat >>conftest.$ac_ext <<_ACEOF
96411 /* end confdefs.h. */
96412 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96413 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96414 #define $ac_func innocuous_$ac_func
96416 /* System header to define __stub macros and hopefully few prototypes,
96417 which can conflict with char $ac_func (); below.
96418 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96419 <limits.h> exists even on freestanding compilers. */
96421 #ifdef __STDC__
96422 # include <limits.h>
96423 #else
96424 # include <assert.h>
96425 #endif
96427 #undef $ac_func
96429 /* Override any gcc2 internal prototype to avoid an error. */
96430 #ifdef __cplusplus
96431 extern "C"
96433 #endif
96434 /* We use char because int might match the return type of a gcc2
96435 builtin and then its argument prototype would still apply. */
96436 char $ac_func ();
96437 /* The GNU C library defines this for functions which it implements
96438 to always fail with ENOSYS. Some functions are actually named
96439 something starting with __ and the normal name is an alias. */
96440 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96441 choke me
96442 #else
96443 char (*f) () = $ac_func;
96444 #endif
96445 #ifdef __cplusplus
96447 #endif
96450 main ()
96452 return f != $ac_func;
96454 return 0;
96456 _ACEOF
96457 rm -f conftest.$ac_objext conftest$ac_exeext
96458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96459 (eval $ac_link) 2>conftest.er1
96460 ac_status=$?
96461 grep -v '^ *+' conftest.er1 >conftest.err
96462 rm -f conftest.er1
96463 cat conftest.err >&5
96464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96465 (exit $ac_status); } &&
96466 { ac_try='test -z "$ac_c_werror_flag"
96467 || test ! -s conftest.err'
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); }; } &&
96473 { ac_try='test -s conftest$ac_exeext'
96474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96475 (eval $ac_try) 2>&5
96476 ac_status=$?
96477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96478 (exit $ac_status); }; }; then
96479 eval "$as_ac_var=yes"
96480 else
96481 echo "$as_me: failed program was:" >&5
96482 sed 's/^/| /' conftest.$ac_ext >&5
96484 eval "$as_ac_var=no"
96486 rm -f conftest.err conftest.$ac_objext \
96487 conftest$ac_exeext conftest.$ac_ext
96489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96490 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96491 if test `eval echo '${'$as_ac_var'}'` = yes; then
96492 cat >>confdefs.h <<_ACEOF
96493 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96494 _ACEOF
96497 done
96507 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
96508 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
96509 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
96510 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
96511 echo $ECHO_N "(cached) $ECHO_C" >&6
96512 else
96516 ac_ext=cc
96517 ac_cpp='$CXXCPP $CPPFLAGS'
96518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96522 cat >conftest.$ac_ext <<_ACEOF
96523 /* confdefs.h. */
96524 _ACEOF
96525 cat confdefs.h >>conftest.$ac_ext
96526 cat >>conftest.$ac_ext <<_ACEOF
96527 /* end confdefs.h. */
96528 #include <math.h>
96530 main ()
96532 sincosf(0, 0, 0);
96534 return 0;
96536 _ACEOF
96537 rm -f conftest.$ac_objext
96538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96539 (eval $ac_compile) 2>conftest.er1
96540 ac_status=$?
96541 grep -v '^ *+' conftest.er1 >conftest.err
96542 rm -f conftest.er1
96543 cat conftest.err >&5
96544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96545 (exit $ac_status); } &&
96546 { ac_try='test -z "$ac_cxx_werror_flag"
96547 || test ! -s conftest.err'
96548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96549 (eval $ac_try) 2>&5
96550 ac_status=$?
96551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96552 (exit $ac_status); }; } &&
96553 { ac_try='test -s conftest.$ac_objext'
96554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96555 (eval $ac_try) 2>&5
96556 ac_status=$?
96557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96558 (exit $ac_status); }; }; then
96559 glibcxx_cv_func_sincosf_use=yes
96560 else
96561 echo "$as_me: failed program was:" >&5
96562 sed 's/^/| /' conftest.$ac_ext >&5
96564 glibcxx_cv_func_sincosf_use=no
96566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96567 ac_ext=c
96568 ac_cpp='$CPP $CPPFLAGS'
96569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96577 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
96578 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
96580 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
96582 for ac_func in sincosf
96584 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96585 echo "$as_me:$LINENO: checking for $ac_func" >&5
96586 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96587 if eval "test \"\${$as_ac_var+set}\" = set"; then
96588 echo $ECHO_N "(cached) $ECHO_C" >&6
96589 else
96590 if test x$gcc_no_link = xyes; then
96591 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96592 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96593 { (exit 1); exit 1; }; }
96595 cat >conftest.$ac_ext <<_ACEOF
96596 /* confdefs.h. */
96597 _ACEOF
96598 cat confdefs.h >>conftest.$ac_ext
96599 cat >>conftest.$ac_ext <<_ACEOF
96600 /* end confdefs.h. */
96601 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96602 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96603 #define $ac_func innocuous_$ac_func
96605 /* System header to define __stub macros and hopefully few prototypes,
96606 which can conflict with char $ac_func (); below.
96607 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96608 <limits.h> exists even on freestanding compilers. */
96610 #ifdef __STDC__
96611 # include <limits.h>
96612 #else
96613 # include <assert.h>
96614 #endif
96616 #undef $ac_func
96618 /* Override any gcc2 internal prototype to avoid an error. */
96619 #ifdef __cplusplus
96620 extern "C"
96622 #endif
96623 /* We use char because int might match the return type of a gcc2
96624 builtin and then its argument prototype would still apply. */
96625 char $ac_func ();
96626 /* The GNU C library defines this for functions which it implements
96627 to always fail with ENOSYS. Some functions are actually named
96628 something starting with __ and the normal name is an alias. */
96629 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96630 choke me
96631 #else
96632 char (*f) () = $ac_func;
96633 #endif
96634 #ifdef __cplusplus
96636 #endif
96639 main ()
96641 return f != $ac_func;
96643 return 0;
96645 _ACEOF
96646 rm -f conftest.$ac_objext conftest$ac_exeext
96647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96648 (eval $ac_link) 2>conftest.er1
96649 ac_status=$?
96650 grep -v '^ *+' conftest.er1 >conftest.err
96651 rm -f conftest.er1
96652 cat conftest.err >&5
96653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96654 (exit $ac_status); } &&
96655 { ac_try='test -z "$ac_c_werror_flag"
96656 || test ! -s conftest.err'
96657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96658 (eval $ac_try) 2>&5
96659 ac_status=$?
96660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96661 (exit $ac_status); }; } &&
96662 { ac_try='test -s conftest$ac_exeext'
96663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96664 (eval $ac_try) 2>&5
96665 ac_status=$?
96666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96667 (exit $ac_status); }; }; then
96668 eval "$as_ac_var=yes"
96669 else
96670 echo "$as_me: failed program was:" >&5
96671 sed 's/^/| /' conftest.$ac_ext >&5
96673 eval "$as_ac_var=no"
96675 rm -f conftest.err conftest.$ac_objext \
96676 conftest$ac_exeext conftest.$ac_ext
96678 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96679 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96680 if test `eval echo '${'$as_ac_var'}'` = yes; then
96681 cat >>confdefs.h <<_ACEOF
96682 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96683 _ACEOF
96686 done
96688 else
96690 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
96691 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
96692 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
96693 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
96694 echo $ECHO_N "(cached) $ECHO_C" >&6
96695 else
96699 ac_ext=cc
96700 ac_cpp='$CXXCPP $CPPFLAGS'
96701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96705 cat >conftest.$ac_ext <<_ACEOF
96706 /* confdefs.h. */
96707 _ACEOF
96708 cat confdefs.h >>conftest.$ac_ext
96709 cat >>conftest.$ac_ext <<_ACEOF
96710 /* end confdefs.h. */
96711 #include <math.h>
96713 main ()
96715 _sincosf(0, 0, 0);
96717 return 0;
96719 _ACEOF
96720 rm -f conftest.$ac_objext
96721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96722 (eval $ac_compile) 2>conftest.er1
96723 ac_status=$?
96724 grep -v '^ *+' conftest.er1 >conftest.err
96725 rm -f conftest.er1
96726 cat conftest.err >&5
96727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96728 (exit $ac_status); } &&
96729 { ac_try='test -z "$ac_cxx_werror_flag"
96730 || test ! -s conftest.err'
96731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96732 (eval $ac_try) 2>&5
96733 ac_status=$?
96734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96735 (exit $ac_status); }; } &&
96736 { ac_try='test -s conftest.$ac_objext'
96737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96738 (eval $ac_try) 2>&5
96739 ac_status=$?
96740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96741 (exit $ac_status); }; }; then
96742 glibcxx_cv_func__sincosf_use=yes
96743 else
96744 echo "$as_me: failed program was:" >&5
96745 sed 's/^/| /' conftest.$ac_ext >&5
96747 glibcxx_cv_func__sincosf_use=no
96749 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96750 ac_ext=c
96751 ac_cpp='$CPP $CPPFLAGS'
96752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96760 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
96761 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
96763 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
96765 for ac_func in _sincosf
96767 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96768 echo "$as_me:$LINENO: checking for $ac_func" >&5
96769 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96770 if eval "test \"\${$as_ac_var+set}\" = set"; then
96771 echo $ECHO_N "(cached) $ECHO_C" >&6
96772 else
96773 if test x$gcc_no_link = xyes; then
96774 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96775 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96776 { (exit 1); exit 1; }; }
96778 cat >conftest.$ac_ext <<_ACEOF
96779 /* confdefs.h. */
96780 _ACEOF
96781 cat confdefs.h >>conftest.$ac_ext
96782 cat >>conftest.$ac_ext <<_ACEOF
96783 /* end confdefs.h. */
96784 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96785 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96786 #define $ac_func innocuous_$ac_func
96788 /* System header to define __stub macros and hopefully few prototypes,
96789 which can conflict with char $ac_func (); below.
96790 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96791 <limits.h> exists even on freestanding compilers. */
96793 #ifdef __STDC__
96794 # include <limits.h>
96795 #else
96796 # include <assert.h>
96797 #endif
96799 #undef $ac_func
96801 /* Override any gcc2 internal prototype to avoid an error. */
96802 #ifdef __cplusplus
96803 extern "C"
96805 #endif
96806 /* We use char because int might match the return type of a gcc2
96807 builtin and then its argument prototype would still apply. */
96808 char $ac_func ();
96809 /* The GNU C library defines this for functions which it implements
96810 to always fail with ENOSYS. Some functions are actually named
96811 something starting with __ and the normal name is an alias. */
96812 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96813 choke me
96814 #else
96815 char (*f) () = $ac_func;
96816 #endif
96817 #ifdef __cplusplus
96819 #endif
96822 main ()
96824 return f != $ac_func;
96826 return 0;
96828 _ACEOF
96829 rm -f conftest.$ac_objext conftest$ac_exeext
96830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96831 (eval $ac_link) 2>conftest.er1
96832 ac_status=$?
96833 grep -v '^ *+' conftest.er1 >conftest.err
96834 rm -f conftest.er1
96835 cat conftest.err >&5
96836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96837 (exit $ac_status); } &&
96838 { ac_try='test -z "$ac_c_werror_flag"
96839 || test ! -s conftest.err'
96840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96841 (eval $ac_try) 2>&5
96842 ac_status=$?
96843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96844 (exit $ac_status); }; } &&
96845 { ac_try='test -s conftest$ac_exeext'
96846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96847 (eval $ac_try) 2>&5
96848 ac_status=$?
96849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96850 (exit $ac_status); }; }; then
96851 eval "$as_ac_var=yes"
96852 else
96853 echo "$as_me: failed program was:" >&5
96854 sed 's/^/| /' conftest.$ac_ext >&5
96856 eval "$as_ac_var=no"
96858 rm -f conftest.err conftest.$ac_objext \
96859 conftest$ac_exeext conftest.$ac_ext
96861 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96862 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96863 if test `eval echo '${'$as_ac_var'}'` = yes; then
96864 cat >>confdefs.h <<_ACEOF
96865 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96866 _ACEOF
96869 done
96879 echo "$as_me:$LINENO: checking for finitef declaration" >&5
96880 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
96881 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
96882 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
96883 echo $ECHO_N "(cached) $ECHO_C" >&6
96884 else
96888 ac_ext=cc
96889 ac_cpp='$CXXCPP $CPPFLAGS'
96890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96894 cat >conftest.$ac_ext <<_ACEOF
96895 /* confdefs.h. */
96896 _ACEOF
96897 cat confdefs.h >>conftest.$ac_ext
96898 cat >>conftest.$ac_ext <<_ACEOF
96899 /* end confdefs.h. */
96900 #include <math.h>
96901 #ifdef HAVE_IEEEFP_H
96902 #include <ieeefp.h>
96903 #endif
96906 main ()
96908 finitef(0);
96910 return 0;
96912 _ACEOF
96913 rm -f conftest.$ac_objext
96914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96915 (eval $ac_compile) 2>conftest.er1
96916 ac_status=$?
96917 grep -v '^ *+' conftest.er1 >conftest.err
96918 rm -f conftest.er1
96919 cat conftest.err >&5
96920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96921 (exit $ac_status); } &&
96922 { ac_try='test -z "$ac_cxx_werror_flag"
96923 || test ! -s conftest.err'
96924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96925 (eval $ac_try) 2>&5
96926 ac_status=$?
96927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96928 (exit $ac_status); }; } &&
96929 { ac_try='test -s conftest.$ac_objext'
96930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96931 (eval $ac_try) 2>&5
96932 ac_status=$?
96933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96934 (exit $ac_status); }; }; then
96935 glibcxx_cv_func_finitef_use=yes
96936 else
96937 echo "$as_me: failed program was:" >&5
96938 sed 's/^/| /' conftest.$ac_ext >&5
96940 glibcxx_cv_func_finitef_use=no
96942 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96943 ac_ext=c
96944 ac_cpp='$CPP $CPPFLAGS'
96945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96953 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
96954 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
96956 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
96958 for ac_func in finitef
96960 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96961 echo "$as_me:$LINENO: checking for $ac_func" >&5
96962 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96963 if eval "test \"\${$as_ac_var+set}\" = set"; then
96964 echo $ECHO_N "(cached) $ECHO_C" >&6
96965 else
96966 if test x$gcc_no_link = xyes; then
96967 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96968 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96969 { (exit 1); exit 1; }; }
96971 cat >conftest.$ac_ext <<_ACEOF
96972 /* confdefs.h. */
96973 _ACEOF
96974 cat confdefs.h >>conftest.$ac_ext
96975 cat >>conftest.$ac_ext <<_ACEOF
96976 /* end confdefs.h. */
96977 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96978 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96979 #define $ac_func innocuous_$ac_func
96981 /* System header to define __stub macros and hopefully few prototypes,
96982 which can conflict with char $ac_func (); below.
96983 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96984 <limits.h> exists even on freestanding compilers. */
96986 #ifdef __STDC__
96987 # include <limits.h>
96988 #else
96989 # include <assert.h>
96990 #endif
96992 #undef $ac_func
96994 /* Override any gcc2 internal prototype to avoid an error. */
96995 #ifdef __cplusplus
96996 extern "C"
96998 #endif
96999 /* We use char because int might match the return type of a gcc2
97000 builtin and then its argument prototype would still apply. */
97001 char $ac_func ();
97002 /* The GNU C library defines this for functions which it implements
97003 to always fail with ENOSYS. Some functions are actually named
97004 something starting with __ and the normal name is an alias. */
97005 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97006 choke me
97007 #else
97008 char (*f) () = $ac_func;
97009 #endif
97010 #ifdef __cplusplus
97012 #endif
97015 main ()
97017 return f != $ac_func;
97019 return 0;
97021 _ACEOF
97022 rm -f conftest.$ac_objext conftest$ac_exeext
97023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97024 (eval $ac_link) 2>conftest.er1
97025 ac_status=$?
97026 grep -v '^ *+' conftest.er1 >conftest.err
97027 rm -f conftest.er1
97028 cat conftest.err >&5
97029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97030 (exit $ac_status); } &&
97031 { ac_try='test -z "$ac_c_werror_flag"
97032 || test ! -s conftest.err'
97033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97034 (eval $ac_try) 2>&5
97035 ac_status=$?
97036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97037 (exit $ac_status); }; } &&
97038 { ac_try='test -s conftest$ac_exeext'
97039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97040 (eval $ac_try) 2>&5
97041 ac_status=$?
97042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97043 (exit $ac_status); }; }; then
97044 eval "$as_ac_var=yes"
97045 else
97046 echo "$as_me: failed program was:" >&5
97047 sed 's/^/| /' conftest.$ac_ext >&5
97049 eval "$as_ac_var=no"
97051 rm -f conftest.err conftest.$ac_objext \
97052 conftest$ac_exeext conftest.$ac_ext
97054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97055 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97056 if test `eval echo '${'$as_ac_var'}'` = yes; then
97057 cat >>confdefs.h <<_ACEOF
97058 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97059 _ACEOF
97062 done
97064 else
97066 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
97067 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
97068 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
97069 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
97070 echo $ECHO_N "(cached) $ECHO_C" >&6
97071 else
97075 ac_ext=cc
97076 ac_cpp='$CXXCPP $CPPFLAGS'
97077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97081 cat >conftest.$ac_ext <<_ACEOF
97082 /* confdefs.h. */
97083 _ACEOF
97084 cat confdefs.h >>conftest.$ac_ext
97085 cat >>conftest.$ac_ext <<_ACEOF
97086 /* end confdefs.h. */
97087 #include <math.h>
97088 #ifdef HAVE_IEEEFP_H
97089 #include <ieeefp.h>
97090 #endif
97093 main ()
97095 _finitef(0);
97097 return 0;
97099 _ACEOF
97100 rm -f conftest.$ac_objext
97101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97102 (eval $ac_compile) 2>conftest.er1
97103 ac_status=$?
97104 grep -v '^ *+' conftest.er1 >conftest.err
97105 rm -f conftest.er1
97106 cat conftest.err >&5
97107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97108 (exit $ac_status); } &&
97109 { ac_try='test -z "$ac_cxx_werror_flag"
97110 || test ! -s conftest.err'
97111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97112 (eval $ac_try) 2>&5
97113 ac_status=$?
97114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97115 (exit $ac_status); }; } &&
97116 { ac_try='test -s conftest.$ac_objext'
97117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97118 (eval $ac_try) 2>&5
97119 ac_status=$?
97120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97121 (exit $ac_status); }; }; then
97122 glibcxx_cv_func__finitef_use=yes
97123 else
97124 echo "$as_me: failed program was:" >&5
97125 sed 's/^/| /' conftest.$ac_ext >&5
97127 glibcxx_cv_func__finitef_use=no
97129 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97130 ac_ext=c
97131 ac_cpp='$CPP $CPPFLAGS'
97132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97140 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
97141 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
97143 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
97145 for ac_func in _finitef
97147 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97148 echo "$as_me:$LINENO: checking for $ac_func" >&5
97149 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97150 if eval "test \"\${$as_ac_var+set}\" = set"; then
97151 echo $ECHO_N "(cached) $ECHO_C" >&6
97152 else
97153 if test x$gcc_no_link = xyes; then
97154 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97155 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97156 { (exit 1); exit 1; }; }
97158 cat >conftest.$ac_ext <<_ACEOF
97159 /* confdefs.h. */
97160 _ACEOF
97161 cat confdefs.h >>conftest.$ac_ext
97162 cat >>conftest.$ac_ext <<_ACEOF
97163 /* end confdefs.h. */
97164 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97165 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97166 #define $ac_func innocuous_$ac_func
97168 /* System header to define __stub macros and hopefully few prototypes,
97169 which can conflict with char $ac_func (); below.
97170 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97171 <limits.h> exists even on freestanding compilers. */
97173 #ifdef __STDC__
97174 # include <limits.h>
97175 #else
97176 # include <assert.h>
97177 #endif
97179 #undef $ac_func
97181 /* Override any gcc2 internal prototype to avoid an error. */
97182 #ifdef __cplusplus
97183 extern "C"
97185 #endif
97186 /* We use char because int might match the return type of a gcc2
97187 builtin and then its argument prototype would still apply. */
97188 char $ac_func ();
97189 /* The GNU C library defines this for functions which it implements
97190 to always fail with ENOSYS. Some functions are actually named
97191 something starting with __ and the normal name is an alias. */
97192 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97193 choke me
97194 #else
97195 char (*f) () = $ac_func;
97196 #endif
97197 #ifdef __cplusplus
97199 #endif
97202 main ()
97204 return f != $ac_func;
97206 return 0;
97208 _ACEOF
97209 rm -f conftest.$ac_objext conftest$ac_exeext
97210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97211 (eval $ac_link) 2>conftest.er1
97212 ac_status=$?
97213 grep -v '^ *+' conftest.er1 >conftest.err
97214 rm -f conftest.er1
97215 cat conftest.err >&5
97216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97217 (exit $ac_status); } &&
97218 { ac_try='test -z "$ac_c_werror_flag"
97219 || test ! -s conftest.err'
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); }; } &&
97225 { ac_try='test -s conftest$ac_exeext'
97226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97227 (eval $ac_try) 2>&5
97228 ac_status=$?
97229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97230 (exit $ac_status); }; }; then
97231 eval "$as_ac_var=yes"
97232 else
97233 echo "$as_me: failed program was:" >&5
97234 sed 's/^/| /' conftest.$ac_ext >&5
97236 eval "$as_ac_var=no"
97238 rm -f conftest.err conftest.$ac_objext \
97239 conftest$ac_exeext conftest.$ac_ext
97241 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97242 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97243 if test `eval echo '${'$as_ac_var'}'` = yes; then
97244 cat >>confdefs.h <<_ACEOF
97245 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97246 _ACEOF
97249 done
97259 echo "$as_me:$LINENO: checking for long double trig functions" >&5
97260 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
97261 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
97262 echo $ECHO_N "(cached) $ECHO_C" >&6
97263 else
97267 ac_ext=cc
97268 ac_cpp='$CXXCPP $CPPFLAGS'
97269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97273 cat >conftest.$ac_ext <<_ACEOF
97274 /* confdefs.h. */
97275 _ACEOF
97276 cat confdefs.h >>conftest.$ac_ext
97277 cat >>conftest.$ac_ext <<_ACEOF
97278 /* end confdefs.h. */
97279 #include <math.h>
97281 main ()
97283 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
97285 return 0;
97287 _ACEOF
97288 rm -f conftest.$ac_objext
97289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97290 (eval $ac_compile) 2>conftest.er1
97291 ac_status=$?
97292 grep -v '^ *+' conftest.er1 >conftest.err
97293 rm -f conftest.er1
97294 cat conftest.err >&5
97295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97296 (exit $ac_status); } &&
97297 { ac_try='test -z "$ac_cxx_werror_flag"
97298 || test ! -s conftest.err'
97299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97300 (eval $ac_try) 2>&5
97301 ac_status=$?
97302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97303 (exit $ac_status); }; } &&
97304 { ac_try='test -s conftest.$ac_objext'
97305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97306 (eval $ac_try) 2>&5
97307 ac_status=$?
97308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97309 (exit $ac_status); }; }; then
97310 glibcxx_cv_func_long_double_trig_use=yes
97311 else
97312 echo "$as_me: failed program was:" >&5
97313 sed 's/^/| /' conftest.$ac_ext >&5
97315 glibcxx_cv_func_long_double_trig_use=no
97317 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97318 ac_ext=c
97319 ac_cpp='$CPP $CPPFLAGS'
97320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97326 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
97327 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
97328 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
97338 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
97340 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97341 echo "$as_me:$LINENO: checking for $ac_func" >&5
97342 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97343 if eval "test \"\${$as_ac_var+set}\" = set"; then
97344 echo $ECHO_N "(cached) $ECHO_C" >&6
97345 else
97346 if test x$gcc_no_link = xyes; then
97347 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97348 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97349 { (exit 1); exit 1; }; }
97351 cat >conftest.$ac_ext <<_ACEOF
97352 /* confdefs.h. */
97353 _ACEOF
97354 cat confdefs.h >>conftest.$ac_ext
97355 cat >>conftest.$ac_ext <<_ACEOF
97356 /* end confdefs.h. */
97357 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97358 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97359 #define $ac_func innocuous_$ac_func
97361 /* System header to define __stub macros and hopefully few prototypes,
97362 which can conflict with char $ac_func (); below.
97363 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97364 <limits.h> exists even on freestanding compilers. */
97366 #ifdef __STDC__
97367 # include <limits.h>
97368 #else
97369 # include <assert.h>
97370 #endif
97372 #undef $ac_func
97374 /* Override any gcc2 internal prototype to avoid an error. */
97375 #ifdef __cplusplus
97376 extern "C"
97378 #endif
97379 /* We use char because int might match the return type of a gcc2
97380 builtin and then its argument prototype would still apply. */
97381 char $ac_func ();
97382 /* The GNU C library defines this for functions which it implements
97383 to always fail with ENOSYS. Some functions are actually named
97384 something starting with __ and the normal name is an alias. */
97385 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97386 choke me
97387 #else
97388 char (*f) () = $ac_func;
97389 #endif
97390 #ifdef __cplusplus
97392 #endif
97395 main ()
97397 return f != $ac_func;
97399 return 0;
97401 _ACEOF
97402 rm -f conftest.$ac_objext conftest$ac_exeext
97403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97404 (eval $ac_link) 2>conftest.er1
97405 ac_status=$?
97406 grep -v '^ *+' conftest.er1 >conftest.err
97407 rm -f conftest.er1
97408 cat conftest.err >&5
97409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97410 (exit $ac_status); } &&
97411 { ac_try='test -z "$ac_c_werror_flag"
97412 || test ! -s conftest.err'
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); }; } &&
97418 { ac_try='test -s conftest$ac_exeext'
97419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97420 (eval $ac_try) 2>&5
97421 ac_status=$?
97422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97423 (exit $ac_status); }; }; then
97424 eval "$as_ac_var=yes"
97425 else
97426 echo "$as_me: failed program was:" >&5
97427 sed 's/^/| /' conftest.$ac_ext >&5
97429 eval "$as_ac_var=no"
97431 rm -f conftest.err conftest.$ac_objext \
97432 conftest$ac_exeext conftest.$ac_ext
97434 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97435 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97436 if test `eval echo '${'$as_ac_var'}'` = yes; then
97437 cat >>confdefs.h <<_ACEOF
97438 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97439 _ACEOF
97442 done
97444 else
97445 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
97446 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
97447 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
97448 echo $ECHO_N "(cached) $ECHO_C" >&6
97449 else
97453 ac_ext=cc
97454 ac_cpp='$CXXCPP $CPPFLAGS'
97455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97459 cat >conftest.$ac_ext <<_ACEOF
97460 /* confdefs.h. */
97461 _ACEOF
97462 cat confdefs.h >>conftest.$ac_ext
97463 cat >>conftest.$ac_ext <<_ACEOF
97464 /* end confdefs.h. */
97465 #include <math.h>
97467 main ()
97469 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
97471 return 0;
97473 _ACEOF
97474 rm -f conftest.$ac_objext
97475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97476 (eval $ac_compile) 2>conftest.er1
97477 ac_status=$?
97478 grep -v '^ *+' conftest.er1 >conftest.err
97479 rm -f conftest.er1
97480 cat conftest.err >&5
97481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97482 (exit $ac_status); } &&
97483 { ac_try='test -z "$ac_cxx_werror_flag"
97484 || test ! -s conftest.err'
97485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97486 (eval $ac_try) 2>&5
97487 ac_status=$?
97488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97489 (exit $ac_status); }; } &&
97490 { ac_try='test -s conftest.$ac_objext'
97491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97492 (eval $ac_try) 2>&5
97493 ac_status=$?
97494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97495 (exit $ac_status); }; }; then
97496 glibcxx_cv_func__long_double_trig_use=yes
97497 else
97498 echo "$as_me: failed program was:" >&5
97499 sed 's/^/| /' conftest.$ac_ext >&5
97501 glibcxx_cv_func__long_double_trig_use=no
97503 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97504 ac_ext=c
97505 ac_cpp='$CPP $CPPFLAGS'
97506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97512 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
97513 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
97514 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
97524 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
97526 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97527 echo "$as_me:$LINENO: checking for $ac_func" >&5
97528 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97529 if eval "test \"\${$as_ac_var+set}\" = set"; then
97530 echo $ECHO_N "(cached) $ECHO_C" >&6
97531 else
97532 if test x$gcc_no_link = xyes; then
97533 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97534 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97535 { (exit 1); exit 1; }; }
97537 cat >conftest.$ac_ext <<_ACEOF
97538 /* confdefs.h. */
97539 _ACEOF
97540 cat confdefs.h >>conftest.$ac_ext
97541 cat >>conftest.$ac_ext <<_ACEOF
97542 /* end confdefs.h. */
97543 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97544 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97545 #define $ac_func innocuous_$ac_func
97547 /* System header to define __stub macros and hopefully few prototypes,
97548 which can conflict with char $ac_func (); below.
97549 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97550 <limits.h> exists even on freestanding compilers. */
97552 #ifdef __STDC__
97553 # include <limits.h>
97554 #else
97555 # include <assert.h>
97556 #endif
97558 #undef $ac_func
97560 /* Override any gcc2 internal prototype to avoid an error. */
97561 #ifdef __cplusplus
97562 extern "C"
97564 #endif
97565 /* We use char because int might match the return type of a gcc2
97566 builtin and then its argument prototype would still apply. */
97567 char $ac_func ();
97568 /* The GNU C library defines this for functions which it implements
97569 to always fail with ENOSYS. Some functions are actually named
97570 something starting with __ and the normal name is an alias. */
97571 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97572 choke me
97573 #else
97574 char (*f) () = $ac_func;
97575 #endif
97576 #ifdef __cplusplus
97578 #endif
97581 main ()
97583 return f != $ac_func;
97585 return 0;
97587 _ACEOF
97588 rm -f conftest.$ac_objext conftest$ac_exeext
97589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97590 (eval $ac_link) 2>conftest.er1
97591 ac_status=$?
97592 grep -v '^ *+' conftest.er1 >conftest.err
97593 rm -f conftest.er1
97594 cat conftest.err >&5
97595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97596 (exit $ac_status); } &&
97597 { ac_try='test -z "$ac_c_werror_flag"
97598 || test ! -s conftest.err'
97599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97600 (eval $ac_try) 2>&5
97601 ac_status=$?
97602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97603 (exit $ac_status); }; } &&
97604 { ac_try='test -s conftest$ac_exeext'
97605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97606 (eval $ac_try) 2>&5
97607 ac_status=$?
97608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97609 (exit $ac_status); }; }; then
97610 eval "$as_ac_var=yes"
97611 else
97612 echo "$as_me: failed program was:" >&5
97613 sed 's/^/| /' conftest.$ac_ext >&5
97615 eval "$as_ac_var=no"
97617 rm -f conftest.err conftest.$ac_objext \
97618 conftest$ac_exeext conftest.$ac_ext
97620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97621 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97622 if test `eval echo '${'$as_ac_var'}'` = yes; then
97623 cat >>confdefs.h <<_ACEOF
97624 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97625 _ACEOF
97628 done
97646 echo "$as_me:$LINENO: checking for long double round functions" >&5
97647 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
97648 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
97649 echo $ECHO_N "(cached) $ECHO_C" >&6
97650 else
97654 ac_ext=cc
97655 ac_cpp='$CXXCPP $CPPFLAGS'
97656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97660 cat >conftest.$ac_ext <<_ACEOF
97661 /* confdefs.h. */
97662 _ACEOF
97663 cat confdefs.h >>conftest.$ac_ext
97664 cat >>conftest.$ac_ext <<_ACEOF
97665 /* end confdefs.h. */
97666 #include <math.h>
97668 main ()
97670 ceill (0); floorl (0);
97672 return 0;
97674 _ACEOF
97675 rm -f conftest.$ac_objext
97676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97677 (eval $ac_compile) 2>conftest.er1
97678 ac_status=$?
97679 grep -v '^ *+' conftest.er1 >conftest.err
97680 rm -f conftest.er1
97681 cat conftest.err >&5
97682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97683 (exit $ac_status); } &&
97684 { ac_try='test -z "$ac_cxx_werror_flag"
97685 || test ! -s conftest.err'
97686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97687 (eval $ac_try) 2>&5
97688 ac_status=$?
97689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97690 (exit $ac_status); }; } &&
97691 { ac_try='test -s conftest.$ac_objext'
97692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97693 (eval $ac_try) 2>&5
97694 ac_status=$?
97695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97696 (exit $ac_status); }; }; then
97697 glibcxx_cv_func_long_double_round_use=yes
97698 else
97699 echo "$as_me: failed program was:" >&5
97700 sed 's/^/| /' conftest.$ac_ext >&5
97702 glibcxx_cv_func_long_double_round_use=no
97704 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97705 ac_ext=c
97706 ac_cpp='$CPP $CPPFLAGS'
97707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97713 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
97714 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
97715 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
97718 for ac_func in ceill floorl
97720 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97721 echo "$as_me:$LINENO: checking for $ac_func" >&5
97722 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97723 if eval "test \"\${$as_ac_var+set}\" = set"; then
97724 echo $ECHO_N "(cached) $ECHO_C" >&6
97725 else
97726 if test x$gcc_no_link = xyes; then
97727 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97728 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97729 { (exit 1); exit 1; }; }
97731 cat >conftest.$ac_ext <<_ACEOF
97732 /* confdefs.h. */
97733 _ACEOF
97734 cat confdefs.h >>conftest.$ac_ext
97735 cat >>conftest.$ac_ext <<_ACEOF
97736 /* end confdefs.h. */
97737 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97738 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97739 #define $ac_func innocuous_$ac_func
97741 /* System header to define __stub macros and hopefully few prototypes,
97742 which can conflict with char $ac_func (); below.
97743 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97744 <limits.h> exists even on freestanding compilers. */
97746 #ifdef __STDC__
97747 # include <limits.h>
97748 #else
97749 # include <assert.h>
97750 #endif
97752 #undef $ac_func
97754 /* Override any gcc2 internal prototype to avoid an error. */
97755 #ifdef __cplusplus
97756 extern "C"
97758 #endif
97759 /* We use char because int might match the return type of a gcc2
97760 builtin and then its argument prototype would still apply. */
97761 char $ac_func ();
97762 /* The GNU C library defines this for functions which it implements
97763 to always fail with ENOSYS. Some functions are actually named
97764 something starting with __ and the normal name is an alias. */
97765 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97766 choke me
97767 #else
97768 char (*f) () = $ac_func;
97769 #endif
97770 #ifdef __cplusplus
97772 #endif
97775 main ()
97777 return f != $ac_func;
97779 return 0;
97781 _ACEOF
97782 rm -f conftest.$ac_objext conftest$ac_exeext
97783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97784 (eval $ac_link) 2>conftest.er1
97785 ac_status=$?
97786 grep -v '^ *+' conftest.er1 >conftest.err
97787 rm -f conftest.er1
97788 cat conftest.err >&5
97789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97790 (exit $ac_status); } &&
97791 { ac_try='test -z "$ac_c_werror_flag"
97792 || test ! -s conftest.err'
97793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97794 (eval $ac_try) 2>&5
97795 ac_status=$?
97796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97797 (exit $ac_status); }; } &&
97798 { ac_try='test -s conftest$ac_exeext'
97799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97800 (eval $ac_try) 2>&5
97801 ac_status=$?
97802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97803 (exit $ac_status); }; }; then
97804 eval "$as_ac_var=yes"
97805 else
97806 echo "$as_me: failed program was:" >&5
97807 sed 's/^/| /' conftest.$ac_ext >&5
97809 eval "$as_ac_var=no"
97811 rm -f conftest.err conftest.$ac_objext \
97812 conftest$ac_exeext conftest.$ac_ext
97814 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97815 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97816 if test `eval echo '${'$as_ac_var'}'` = yes; then
97817 cat >>confdefs.h <<_ACEOF
97818 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97819 _ACEOF
97822 done
97824 else
97825 echo "$as_me:$LINENO: checking for _long double round functions" >&5
97826 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
97827 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
97828 echo $ECHO_N "(cached) $ECHO_C" >&6
97829 else
97833 ac_ext=cc
97834 ac_cpp='$CXXCPP $CPPFLAGS'
97835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97839 cat >conftest.$ac_ext <<_ACEOF
97840 /* confdefs.h. */
97841 _ACEOF
97842 cat confdefs.h >>conftest.$ac_ext
97843 cat >>conftest.$ac_ext <<_ACEOF
97844 /* end confdefs.h. */
97845 #include <math.h>
97847 main ()
97849 _ceill (0); _floorl (0);
97851 return 0;
97853 _ACEOF
97854 rm -f conftest.$ac_objext
97855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97856 (eval $ac_compile) 2>conftest.er1
97857 ac_status=$?
97858 grep -v '^ *+' conftest.er1 >conftest.err
97859 rm -f conftest.er1
97860 cat conftest.err >&5
97861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97862 (exit $ac_status); } &&
97863 { ac_try='test -z "$ac_cxx_werror_flag"
97864 || test ! -s conftest.err'
97865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97866 (eval $ac_try) 2>&5
97867 ac_status=$?
97868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97869 (exit $ac_status); }; } &&
97870 { ac_try='test -s conftest.$ac_objext'
97871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97872 (eval $ac_try) 2>&5
97873 ac_status=$?
97874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97875 (exit $ac_status); }; }; then
97876 glibcxx_cv_func__long_double_round_use=yes
97877 else
97878 echo "$as_me: failed program was:" >&5
97879 sed 's/^/| /' conftest.$ac_ext >&5
97881 glibcxx_cv_func__long_double_round_use=no
97883 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97884 ac_ext=c
97885 ac_cpp='$CPP $CPPFLAGS'
97886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97892 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
97893 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
97894 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
97897 for ac_func in _ceill _floorl
97899 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97900 echo "$as_me:$LINENO: checking for $ac_func" >&5
97901 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97902 if eval "test \"\${$as_ac_var+set}\" = set"; then
97903 echo $ECHO_N "(cached) $ECHO_C" >&6
97904 else
97905 if test x$gcc_no_link = xyes; then
97906 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97907 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97908 { (exit 1); exit 1; }; }
97910 cat >conftest.$ac_ext <<_ACEOF
97911 /* confdefs.h. */
97912 _ACEOF
97913 cat confdefs.h >>conftest.$ac_ext
97914 cat >>conftest.$ac_ext <<_ACEOF
97915 /* end confdefs.h. */
97916 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97917 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97918 #define $ac_func innocuous_$ac_func
97920 /* System header to define __stub macros and hopefully few prototypes,
97921 which can conflict with char $ac_func (); below.
97922 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97923 <limits.h> exists even on freestanding compilers. */
97925 #ifdef __STDC__
97926 # include <limits.h>
97927 #else
97928 # include <assert.h>
97929 #endif
97931 #undef $ac_func
97933 /* Override any gcc2 internal prototype to avoid an error. */
97934 #ifdef __cplusplus
97935 extern "C"
97937 #endif
97938 /* We use char because int might match the return type of a gcc2
97939 builtin and then its argument prototype would still apply. */
97940 char $ac_func ();
97941 /* The GNU C library defines this for functions which it implements
97942 to always fail with ENOSYS. Some functions are actually named
97943 something starting with __ and the normal name is an alias. */
97944 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97945 choke me
97946 #else
97947 char (*f) () = $ac_func;
97948 #endif
97949 #ifdef __cplusplus
97951 #endif
97954 main ()
97956 return f != $ac_func;
97958 return 0;
97960 _ACEOF
97961 rm -f conftest.$ac_objext conftest$ac_exeext
97962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97963 (eval $ac_link) 2>conftest.er1
97964 ac_status=$?
97965 grep -v '^ *+' conftest.er1 >conftest.err
97966 rm -f conftest.er1
97967 cat conftest.err >&5
97968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97969 (exit $ac_status); } &&
97970 { ac_try='test -z "$ac_c_werror_flag"
97971 || test ! -s conftest.err'
97972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97973 (eval $ac_try) 2>&5
97974 ac_status=$?
97975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97976 (exit $ac_status); }; } &&
97977 { ac_try='test -s conftest$ac_exeext'
97978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97979 (eval $ac_try) 2>&5
97980 ac_status=$?
97981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97982 (exit $ac_status); }; }; then
97983 eval "$as_ac_var=yes"
97984 else
97985 echo "$as_me: failed program was:" >&5
97986 sed 's/^/| /' conftest.$ac_ext >&5
97988 eval "$as_ac_var=no"
97990 rm -f conftest.err conftest.$ac_objext \
97991 conftest$ac_exeext conftest.$ac_ext
97993 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97994 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97995 if test `eval echo '${'$as_ac_var'}'` = yes; then
97996 cat >>confdefs.h <<_ACEOF
97997 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97998 _ACEOF
98001 done
98013 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
98014 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
98015 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
98016 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
98017 echo $ECHO_N "(cached) $ECHO_C" >&6
98018 else
98022 ac_ext=cc
98023 ac_cpp='$CXXCPP $CPPFLAGS'
98024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98028 cat >conftest.$ac_ext <<_ACEOF
98029 /* confdefs.h. */
98030 _ACEOF
98031 cat confdefs.h >>conftest.$ac_ext
98032 cat >>conftest.$ac_ext <<_ACEOF
98033 /* end confdefs.h. */
98034 #include <math.h>
98035 #ifdef HAVE_IEEEFP_H
98036 #include <ieeefp.h>
98037 #endif
98040 main ()
98042 isnanl(0);
98044 return 0;
98046 _ACEOF
98047 rm -f conftest.$ac_objext
98048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98049 (eval $ac_compile) 2>conftest.er1
98050 ac_status=$?
98051 grep -v '^ *+' conftest.er1 >conftest.err
98052 rm -f conftest.er1
98053 cat conftest.err >&5
98054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98055 (exit $ac_status); } &&
98056 { ac_try='test -z "$ac_cxx_werror_flag"
98057 || test ! -s conftest.err'
98058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98059 (eval $ac_try) 2>&5
98060 ac_status=$?
98061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98062 (exit $ac_status); }; } &&
98063 { ac_try='test -s conftest.$ac_objext'
98064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98065 (eval $ac_try) 2>&5
98066 ac_status=$?
98067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98068 (exit $ac_status); }; }; then
98069 glibcxx_cv_func_isnanl_use=yes
98070 else
98071 echo "$as_me: failed program was:" >&5
98072 sed 's/^/| /' conftest.$ac_ext >&5
98074 glibcxx_cv_func_isnanl_use=no
98076 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98077 ac_ext=c
98078 ac_cpp='$CPP $CPPFLAGS'
98079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98087 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
98088 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
98090 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
98092 for ac_func in isnanl
98094 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98095 echo "$as_me:$LINENO: checking for $ac_func" >&5
98096 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98097 if eval "test \"\${$as_ac_var+set}\" = set"; then
98098 echo $ECHO_N "(cached) $ECHO_C" >&6
98099 else
98100 if test x$gcc_no_link = xyes; then
98101 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98102 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98103 { (exit 1); exit 1; }; }
98105 cat >conftest.$ac_ext <<_ACEOF
98106 /* confdefs.h. */
98107 _ACEOF
98108 cat confdefs.h >>conftest.$ac_ext
98109 cat >>conftest.$ac_ext <<_ACEOF
98110 /* end confdefs.h. */
98111 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98112 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98113 #define $ac_func innocuous_$ac_func
98115 /* System header to define __stub macros and hopefully few prototypes,
98116 which can conflict with char $ac_func (); below.
98117 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98118 <limits.h> exists even on freestanding compilers. */
98120 #ifdef __STDC__
98121 # include <limits.h>
98122 #else
98123 # include <assert.h>
98124 #endif
98126 #undef $ac_func
98128 /* Override any gcc2 internal prototype to avoid an error. */
98129 #ifdef __cplusplus
98130 extern "C"
98132 #endif
98133 /* We use char because int might match the return type of a gcc2
98134 builtin and then its argument prototype would still apply. */
98135 char $ac_func ();
98136 /* The GNU C library defines this for functions which it implements
98137 to always fail with ENOSYS. Some functions are actually named
98138 something starting with __ and the normal name is an alias. */
98139 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98140 choke me
98141 #else
98142 char (*f) () = $ac_func;
98143 #endif
98144 #ifdef __cplusplus
98146 #endif
98149 main ()
98151 return f != $ac_func;
98153 return 0;
98155 _ACEOF
98156 rm -f conftest.$ac_objext conftest$ac_exeext
98157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98158 (eval $ac_link) 2>conftest.er1
98159 ac_status=$?
98160 grep -v '^ *+' conftest.er1 >conftest.err
98161 rm -f conftest.er1
98162 cat conftest.err >&5
98163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98164 (exit $ac_status); } &&
98165 { ac_try='test -z "$ac_c_werror_flag"
98166 || test ! -s conftest.err'
98167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98168 (eval $ac_try) 2>&5
98169 ac_status=$?
98170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98171 (exit $ac_status); }; } &&
98172 { ac_try='test -s conftest$ac_exeext'
98173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98174 (eval $ac_try) 2>&5
98175 ac_status=$?
98176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98177 (exit $ac_status); }; }; then
98178 eval "$as_ac_var=yes"
98179 else
98180 echo "$as_me: failed program was:" >&5
98181 sed 's/^/| /' conftest.$ac_ext >&5
98183 eval "$as_ac_var=no"
98185 rm -f conftest.err conftest.$ac_objext \
98186 conftest$ac_exeext conftest.$ac_ext
98188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98189 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98190 if test `eval echo '${'$as_ac_var'}'` = yes; then
98191 cat >>confdefs.h <<_ACEOF
98192 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98193 _ACEOF
98196 done
98198 else
98200 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
98201 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
98202 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
98203 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
98204 echo $ECHO_N "(cached) $ECHO_C" >&6
98205 else
98209 ac_ext=cc
98210 ac_cpp='$CXXCPP $CPPFLAGS'
98211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98215 cat >conftest.$ac_ext <<_ACEOF
98216 /* confdefs.h. */
98217 _ACEOF
98218 cat confdefs.h >>conftest.$ac_ext
98219 cat >>conftest.$ac_ext <<_ACEOF
98220 /* end confdefs.h. */
98221 #include <math.h>
98222 #ifdef HAVE_IEEEFP_H
98223 #include <ieeefp.h>
98224 #endif
98227 main ()
98229 _isnanl(0);
98231 return 0;
98233 _ACEOF
98234 rm -f conftest.$ac_objext
98235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98236 (eval $ac_compile) 2>conftest.er1
98237 ac_status=$?
98238 grep -v '^ *+' conftest.er1 >conftest.err
98239 rm -f conftest.er1
98240 cat conftest.err >&5
98241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98242 (exit $ac_status); } &&
98243 { ac_try='test -z "$ac_cxx_werror_flag"
98244 || test ! -s conftest.err'
98245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98246 (eval $ac_try) 2>&5
98247 ac_status=$?
98248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98249 (exit $ac_status); }; } &&
98250 { ac_try='test -s conftest.$ac_objext'
98251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98252 (eval $ac_try) 2>&5
98253 ac_status=$?
98254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98255 (exit $ac_status); }; }; then
98256 glibcxx_cv_func__isnanl_use=yes
98257 else
98258 echo "$as_me: failed program was:" >&5
98259 sed 's/^/| /' conftest.$ac_ext >&5
98261 glibcxx_cv_func__isnanl_use=no
98263 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98264 ac_ext=c
98265 ac_cpp='$CPP $CPPFLAGS'
98266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98274 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
98275 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
98277 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
98279 for ac_func in _isnanl
98281 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98282 echo "$as_me:$LINENO: checking for $ac_func" >&5
98283 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98284 if eval "test \"\${$as_ac_var+set}\" = set"; then
98285 echo $ECHO_N "(cached) $ECHO_C" >&6
98286 else
98287 if test x$gcc_no_link = xyes; then
98288 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98289 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98290 { (exit 1); exit 1; }; }
98292 cat >conftest.$ac_ext <<_ACEOF
98293 /* confdefs.h. */
98294 _ACEOF
98295 cat confdefs.h >>conftest.$ac_ext
98296 cat >>conftest.$ac_ext <<_ACEOF
98297 /* end confdefs.h. */
98298 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98299 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98300 #define $ac_func innocuous_$ac_func
98302 /* System header to define __stub macros and hopefully few prototypes,
98303 which can conflict with char $ac_func (); below.
98304 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98305 <limits.h> exists even on freestanding compilers. */
98307 #ifdef __STDC__
98308 # include <limits.h>
98309 #else
98310 # include <assert.h>
98311 #endif
98313 #undef $ac_func
98315 /* Override any gcc2 internal prototype to avoid an error. */
98316 #ifdef __cplusplus
98317 extern "C"
98319 #endif
98320 /* We use char because int might match the return type of a gcc2
98321 builtin and then its argument prototype would still apply. */
98322 char $ac_func ();
98323 /* The GNU C library defines this for functions which it implements
98324 to always fail with ENOSYS. Some functions are actually named
98325 something starting with __ and the normal name is an alias. */
98326 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98327 choke me
98328 #else
98329 char (*f) () = $ac_func;
98330 #endif
98331 #ifdef __cplusplus
98333 #endif
98336 main ()
98338 return f != $ac_func;
98340 return 0;
98342 _ACEOF
98343 rm -f conftest.$ac_objext conftest$ac_exeext
98344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98345 (eval $ac_link) 2>conftest.er1
98346 ac_status=$?
98347 grep -v '^ *+' conftest.er1 >conftest.err
98348 rm -f conftest.er1
98349 cat conftest.err >&5
98350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98351 (exit $ac_status); } &&
98352 { ac_try='test -z "$ac_c_werror_flag"
98353 || test ! -s conftest.err'
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); }; } &&
98359 { ac_try='test -s conftest$ac_exeext'
98360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98361 (eval $ac_try) 2>&5
98362 ac_status=$?
98363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98364 (exit $ac_status); }; }; then
98365 eval "$as_ac_var=yes"
98366 else
98367 echo "$as_me: failed program was:" >&5
98368 sed 's/^/| /' conftest.$ac_ext >&5
98370 eval "$as_ac_var=no"
98372 rm -f conftest.err conftest.$ac_objext \
98373 conftest$ac_exeext conftest.$ac_ext
98375 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98376 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98377 if test `eval echo '${'$as_ac_var'}'` = yes; then
98378 cat >>confdefs.h <<_ACEOF
98379 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98380 _ACEOF
98383 done
98393 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
98394 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
98395 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
98396 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
98397 echo $ECHO_N "(cached) $ECHO_C" >&6
98398 else
98402 ac_ext=cc
98403 ac_cpp='$CXXCPP $CPPFLAGS'
98404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98408 cat >conftest.$ac_ext <<_ACEOF
98409 /* confdefs.h. */
98410 _ACEOF
98411 cat confdefs.h >>conftest.$ac_ext
98412 cat >>conftest.$ac_ext <<_ACEOF
98413 /* end confdefs.h. */
98414 #include <math.h>
98415 #ifdef HAVE_IEEEFP_H
98416 #include <ieeefp.h>
98417 #endif
98420 main ()
98422 isinfl(0);
98424 return 0;
98426 _ACEOF
98427 rm -f conftest.$ac_objext
98428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98429 (eval $ac_compile) 2>conftest.er1
98430 ac_status=$?
98431 grep -v '^ *+' conftest.er1 >conftest.err
98432 rm -f conftest.er1
98433 cat conftest.err >&5
98434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98435 (exit $ac_status); } &&
98436 { ac_try='test -z "$ac_cxx_werror_flag"
98437 || test ! -s conftest.err'
98438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98439 (eval $ac_try) 2>&5
98440 ac_status=$?
98441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98442 (exit $ac_status); }; } &&
98443 { ac_try='test -s conftest.$ac_objext'
98444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98445 (eval $ac_try) 2>&5
98446 ac_status=$?
98447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98448 (exit $ac_status); }; }; then
98449 glibcxx_cv_func_isinfl_use=yes
98450 else
98451 echo "$as_me: failed program was:" >&5
98452 sed 's/^/| /' conftest.$ac_ext >&5
98454 glibcxx_cv_func_isinfl_use=no
98456 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98457 ac_ext=c
98458 ac_cpp='$CPP $CPPFLAGS'
98459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98467 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
98468 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
98470 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
98472 for ac_func in isinfl
98474 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98475 echo "$as_me:$LINENO: checking for $ac_func" >&5
98476 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98477 if eval "test \"\${$as_ac_var+set}\" = set"; then
98478 echo $ECHO_N "(cached) $ECHO_C" >&6
98479 else
98480 if test x$gcc_no_link = xyes; then
98481 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98482 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98483 { (exit 1); exit 1; }; }
98485 cat >conftest.$ac_ext <<_ACEOF
98486 /* confdefs.h. */
98487 _ACEOF
98488 cat confdefs.h >>conftest.$ac_ext
98489 cat >>conftest.$ac_ext <<_ACEOF
98490 /* end confdefs.h. */
98491 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98492 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98493 #define $ac_func innocuous_$ac_func
98495 /* System header to define __stub macros and hopefully few prototypes,
98496 which can conflict with char $ac_func (); below.
98497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98498 <limits.h> exists even on freestanding compilers. */
98500 #ifdef __STDC__
98501 # include <limits.h>
98502 #else
98503 # include <assert.h>
98504 #endif
98506 #undef $ac_func
98508 /* Override any gcc2 internal prototype to avoid an error. */
98509 #ifdef __cplusplus
98510 extern "C"
98512 #endif
98513 /* We use char because int might match the return type of a gcc2
98514 builtin and then its argument prototype would still apply. */
98515 char $ac_func ();
98516 /* The GNU C library defines this for functions which it implements
98517 to always fail with ENOSYS. Some functions are actually named
98518 something starting with __ and the normal name is an alias. */
98519 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98520 choke me
98521 #else
98522 char (*f) () = $ac_func;
98523 #endif
98524 #ifdef __cplusplus
98526 #endif
98529 main ()
98531 return f != $ac_func;
98533 return 0;
98535 _ACEOF
98536 rm -f conftest.$ac_objext conftest$ac_exeext
98537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98538 (eval $ac_link) 2>conftest.er1
98539 ac_status=$?
98540 grep -v '^ *+' conftest.er1 >conftest.err
98541 rm -f conftest.er1
98542 cat conftest.err >&5
98543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98544 (exit $ac_status); } &&
98545 { ac_try='test -z "$ac_c_werror_flag"
98546 || test ! -s conftest.err'
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); }; } &&
98552 { ac_try='test -s conftest$ac_exeext'
98553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98554 (eval $ac_try) 2>&5
98555 ac_status=$?
98556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98557 (exit $ac_status); }; }; then
98558 eval "$as_ac_var=yes"
98559 else
98560 echo "$as_me: failed program was:" >&5
98561 sed 's/^/| /' conftest.$ac_ext >&5
98563 eval "$as_ac_var=no"
98565 rm -f conftest.err conftest.$ac_objext \
98566 conftest$ac_exeext conftest.$ac_ext
98568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98569 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98570 if test `eval echo '${'$as_ac_var'}'` = yes; then
98571 cat >>confdefs.h <<_ACEOF
98572 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98573 _ACEOF
98576 done
98578 else
98580 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
98581 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
98582 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
98583 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
98584 echo $ECHO_N "(cached) $ECHO_C" >&6
98585 else
98589 ac_ext=cc
98590 ac_cpp='$CXXCPP $CPPFLAGS'
98591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98595 cat >conftest.$ac_ext <<_ACEOF
98596 /* confdefs.h. */
98597 _ACEOF
98598 cat confdefs.h >>conftest.$ac_ext
98599 cat >>conftest.$ac_ext <<_ACEOF
98600 /* end confdefs.h. */
98601 #include <math.h>
98602 #ifdef HAVE_IEEEFP_H
98603 #include <ieeefp.h>
98604 #endif
98607 main ()
98609 _isinfl(0);
98611 return 0;
98613 _ACEOF
98614 rm -f conftest.$ac_objext
98615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98616 (eval $ac_compile) 2>conftest.er1
98617 ac_status=$?
98618 grep -v '^ *+' conftest.er1 >conftest.err
98619 rm -f conftest.er1
98620 cat conftest.err >&5
98621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98622 (exit $ac_status); } &&
98623 { ac_try='test -z "$ac_cxx_werror_flag"
98624 || test ! -s conftest.err'
98625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98626 (eval $ac_try) 2>&5
98627 ac_status=$?
98628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98629 (exit $ac_status); }; } &&
98630 { ac_try='test -s conftest.$ac_objext'
98631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98632 (eval $ac_try) 2>&5
98633 ac_status=$?
98634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98635 (exit $ac_status); }; }; then
98636 glibcxx_cv_func__isinfl_use=yes
98637 else
98638 echo "$as_me: failed program was:" >&5
98639 sed 's/^/| /' conftest.$ac_ext >&5
98641 glibcxx_cv_func__isinfl_use=no
98643 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98644 ac_ext=c
98645 ac_cpp='$CPP $CPPFLAGS'
98646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98654 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
98655 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
98657 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
98659 for ac_func in _isinfl
98661 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98662 echo "$as_me:$LINENO: checking for $ac_func" >&5
98663 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98664 if eval "test \"\${$as_ac_var+set}\" = set"; then
98665 echo $ECHO_N "(cached) $ECHO_C" >&6
98666 else
98667 if test x$gcc_no_link = xyes; then
98668 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98669 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98670 { (exit 1); exit 1; }; }
98672 cat >conftest.$ac_ext <<_ACEOF
98673 /* confdefs.h. */
98674 _ACEOF
98675 cat confdefs.h >>conftest.$ac_ext
98676 cat >>conftest.$ac_ext <<_ACEOF
98677 /* end confdefs.h. */
98678 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98679 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98680 #define $ac_func innocuous_$ac_func
98682 /* System header to define __stub macros and hopefully few prototypes,
98683 which can conflict with char $ac_func (); below.
98684 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98685 <limits.h> exists even on freestanding compilers. */
98687 #ifdef __STDC__
98688 # include <limits.h>
98689 #else
98690 # include <assert.h>
98691 #endif
98693 #undef $ac_func
98695 /* Override any gcc2 internal prototype to avoid an error. */
98696 #ifdef __cplusplus
98697 extern "C"
98699 #endif
98700 /* We use char because int might match the return type of a gcc2
98701 builtin and then its argument prototype would still apply. */
98702 char $ac_func ();
98703 /* The GNU C library defines this for functions which it implements
98704 to always fail with ENOSYS. Some functions are actually named
98705 something starting with __ and the normal name is an alias. */
98706 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98707 choke me
98708 #else
98709 char (*f) () = $ac_func;
98710 #endif
98711 #ifdef __cplusplus
98713 #endif
98716 main ()
98718 return f != $ac_func;
98720 return 0;
98722 _ACEOF
98723 rm -f conftest.$ac_objext conftest$ac_exeext
98724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98725 (eval $ac_link) 2>conftest.er1
98726 ac_status=$?
98727 grep -v '^ *+' conftest.er1 >conftest.err
98728 rm -f conftest.er1
98729 cat conftest.err >&5
98730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98731 (exit $ac_status); } &&
98732 { ac_try='test -z "$ac_c_werror_flag"
98733 || test ! -s conftest.err'
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); }; } &&
98739 { ac_try='test -s conftest$ac_exeext'
98740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98741 (eval $ac_try) 2>&5
98742 ac_status=$?
98743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98744 (exit $ac_status); }; }; then
98745 eval "$as_ac_var=yes"
98746 else
98747 echo "$as_me: failed program was:" >&5
98748 sed 's/^/| /' conftest.$ac_ext >&5
98750 eval "$as_ac_var=no"
98752 rm -f conftest.err conftest.$ac_objext \
98753 conftest$ac_exeext conftest.$ac_ext
98755 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98756 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98757 if test `eval echo '${'$as_ac_var'}'` = yes; then
98758 cat >>confdefs.h <<_ACEOF
98759 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98760 _ACEOF
98763 done
98773 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
98774 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
98775 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
98776 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
98777 echo $ECHO_N "(cached) $ECHO_C" >&6
98778 else
98782 ac_ext=cc
98783 ac_cpp='$CXXCPP $CPPFLAGS'
98784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98788 cat >conftest.$ac_ext <<_ACEOF
98789 /* confdefs.h. */
98790 _ACEOF
98791 cat confdefs.h >>conftest.$ac_ext
98792 cat >>conftest.$ac_ext <<_ACEOF
98793 /* end confdefs.h. */
98794 #include <math.h>
98796 main ()
98798 copysignl(0, 0);
98800 return 0;
98802 _ACEOF
98803 rm -f conftest.$ac_objext
98804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98805 (eval $ac_compile) 2>conftest.er1
98806 ac_status=$?
98807 grep -v '^ *+' conftest.er1 >conftest.err
98808 rm -f conftest.er1
98809 cat conftest.err >&5
98810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98811 (exit $ac_status); } &&
98812 { ac_try='test -z "$ac_cxx_werror_flag"
98813 || test ! -s conftest.err'
98814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98815 (eval $ac_try) 2>&5
98816 ac_status=$?
98817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98818 (exit $ac_status); }; } &&
98819 { ac_try='test -s conftest.$ac_objext'
98820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98821 (eval $ac_try) 2>&5
98822 ac_status=$?
98823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98824 (exit $ac_status); }; }; then
98825 glibcxx_cv_func_copysignl_use=yes
98826 else
98827 echo "$as_me: failed program was:" >&5
98828 sed 's/^/| /' conftest.$ac_ext >&5
98830 glibcxx_cv_func_copysignl_use=no
98832 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98833 ac_ext=c
98834 ac_cpp='$CPP $CPPFLAGS'
98835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98843 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
98844 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
98846 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
98848 for ac_func in copysignl
98850 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98851 echo "$as_me:$LINENO: checking for $ac_func" >&5
98852 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98853 if eval "test \"\${$as_ac_var+set}\" = set"; then
98854 echo $ECHO_N "(cached) $ECHO_C" >&6
98855 else
98856 if test x$gcc_no_link = xyes; then
98857 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98858 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98859 { (exit 1); exit 1; }; }
98861 cat >conftest.$ac_ext <<_ACEOF
98862 /* confdefs.h. */
98863 _ACEOF
98864 cat confdefs.h >>conftest.$ac_ext
98865 cat >>conftest.$ac_ext <<_ACEOF
98866 /* end confdefs.h. */
98867 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98868 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98869 #define $ac_func innocuous_$ac_func
98871 /* System header to define __stub macros and hopefully few prototypes,
98872 which can conflict with char $ac_func (); below.
98873 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98874 <limits.h> exists even on freestanding compilers. */
98876 #ifdef __STDC__
98877 # include <limits.h>
98878 #else
98879 # include <assert.h>
98880 #endif
98882 #undef $ac_func
98884 /* Override any gcc2 internal prototype to avoid an error. */
98885 #ifdef __cplusplus
98886 extern "C"
98888 #endif
98889 /* We use char because int might match the return type of a gcc2
98890 builtin and then its argument prototype would still apply. */
98891 char $ac_func ();
98892 /* The GNU C library defines this for functions which it implements
98893 to always fail with ENOSYS. Some functions are actually named
98894 something starting with __ and the normal name is an alias. */
98895 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98896 choke me
98897 #else
98898 char (*f) () = $ac_func;
98899 #endif
98900 #ifdef __cplusplus
98902 #endif
98905 main ()
98907 return f != $ac_func;
98909 return 0;
98911 _ACEOF
98912 rm -f conftest.$ac_objext conftest$ac_exeext
98913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98914 (eval $ac_link) 2>conftest.er1
98915 ac_status=$?
98916 grep -v '^ *+' conftest.er1 >conftest.err
98917 rm -f conftest.er1
98918 cat conftest.err >&5
98919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98920 (exit $ac_status); } &&
98921 { ac_try='test -z "$ac_c_werror_flag"
98922 || test ! -s conftest.err'
98923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98924 (eval $ac_try) 2>&5
98925 ac_status=$?
98926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98927 (exit $ac_status); }; } &&
98928 { ac_try='test -s conftest$ac_exeext'
98929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98930 (eval $ac_try) 2>&5
98931 ac_status=$?
98932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98933 (exit $ac_status); }; }; then
98934 eval "$as_ac_var=yes"
98935 else
98936 echo "$as_me: failed program was:" >&5
98937 sed 's/^/| /' conftest.$ac_ext >&5
98939 eval "$as_ac_var=no"
98941 rm -f conftest.err conftest.$ac_objext \
98942 conftest$ac_exeext conftest.$ac_ext
98944 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98945 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98946 if test `eval echo '${'$as_ac_var'}'` = yes; then
98947 cat >>confdefs.h <<_ACEOF
98948 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98949 _ACEOF
98952 done
98954 else
98956 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
98957 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
98958 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
98959 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
98960 echo $ECHO_N "(cached) $ECHO_C" >&6
98961 else
98965 ac_ext=cc
98966 ac_cpp='$CXXCPP $CPPFLAGS'
98967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98971 cat >conftest.$ac_ext <<_ACEOF
98972 /* confdefs.h. */
98973 _ACEOF
98974 cat confdefs.h >>conftest.$ac_ext
98975 cat >>conftest.$ac_ext <<_ACEOF
98976 /* end confdefs.h. */
98977 #include <math.h>
98979 main ()
98981 _copysignl(0, 0);
98983 return 0;
98985 _ACEOF
98986 rm -f conftest.$ac_objext
98987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98988 (eval $ac_compile) 2>conftest.er1
98989 ac_status=$?
98990 grep -v '^ *+' conftest.er1 >conftest.err
98991 rm -f conftest.er1
98992 cat conftest.err >&5
98993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98994 (exit $ac_status); } &&
98995 { ac_try='test -z "$ac_cxx_werror_flag"
98996 || test ! -s conftest.err'
98997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98998 (eval $ac_try) 2>&5
98999 ac_status=$?
99000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99001 (exit $ac_status); }; } &&
99002 { ac_try='test -s conftest.$ac_objext'
99003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99004 (eval $ac_try) 2>&5
99005 ac_status=$?
99006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99007 (exit $ac_status); }; }; then
99008 glibcxx_cv_func__copysignl_use=yes
99009 else
99010 echo "$as_me: failed program was:" >&5
99011 sed 's/^/| /' conftest.$ac_ext >&5
99013 glibcxx_cv_func__copysignl_use=no
99015 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99016 ac_ext=c
99017 ac_cpp='$CPP $CPPFLAGS'
99018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99026 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
99027 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
99029 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
99031 for ac_func in _copysignl
99033 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99034 echo "$as_me:$LINENO: checking for $ac_func" >&5
99035 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99036 if eval "test \"\${$as_ac_var+set}\" = set"; then
99037 echo $ECHO_N "(cached) $ECHO_C" >&6
99038 else
99039 if test x$gcc_no_link = xyes; then
99040 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99041 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99042 { (exit 1); exit 1; }; }
99044 cat >conftest.$ac_ext <<_ACEOF
99045 /* confdefs.h. */
99046 _ACEOF
99047 cat confdefs.h >>conftest.$ac_ext
99048 cat >>conftest.$ac_ext <<_ACEOF
99049 /* end confdefs.h. */
99050 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99051 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99052 #define $ac_func innocuous_$ac_func
99054 /* System header to define __stub macros and hopefully few prototypes,
99055 which can conflict with char $ac_func (); below.
99056 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99057 <limits.h> exists even on freestanding compilers. */
99059 #ifdef __STDC__
99060 # include <limits.h>
99061 #else
99062 # include <assert.h>
99063 #endif
99065 #undef $ac_func
99067 /* Override any gcc2 internal prototype to avoid an error. */
99068 #ifdef __cplusplus
99069 extern "C"
99071 #endif
99072 /* We use char because int might match the return type of a gcc2
99073 builtin and then its argument prototype would still apply. */
99074 char $ac_func ();
99075 /* The GNU C library defines this for functions which it implements
99076 to always fail with ENOSYS. Some functions are actually named
99077 something starting with __ and the normal name is an alias. */
99078 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99079 choke me
99080 #else
99081 char (*f) () = $ac_func;
99082 #endif
99083 #ifdef __cplusplus
99085 #endif
99088 main ()
99090 return f != $ac_func;
99092 return 0;
99094 _ACEOF
99095 rm -f conftest.$ac_objext conftest$ac_exeext
99096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99097 (eval $ac_link) 2>conftest.er1
99098 ac_status=$?
99099 grep -v '^ *+' conftest.er1 >conftest.err
99100 rm -f conftest.er1
99101 cat conftest.err >&5
99102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99103 (exit $ac_status); } &&
99104 { ac_try='test -z "$ac_c_werror_flag"
99105 || test ! -s conftest.err'
99106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99107 (eval $ac_try) 2>&5
99108 ac_status=$?
99109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99110 (exit $ac_status); }; } &&
99111 { ac_try='test -s conftest$ac_exeext'
99112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99113 (eval $ac_try) 2>&5
99114 ac_status=$?
99115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99116 (exit $ac_status); }; }; then
99117 eval "$as_ac_var=yes"
99118 else
99119 echo "$as_me: failed program was:" >&5
99120 sed 's/^/| /' conftest.$ac_ext >&5
99122 eval "$as_ac_var=no"
99124 rm -f conftest.err conftest.$ac_objext \
99125 conftest$ac_exeext conftest.$ac_ext
99127 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99128 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99129 if test `eval echo '${'$as_ac_var'}'` = yes; then
99130 cat >>confdefs.h <<_ACEOF
99131 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99132 _ACEOF
99135 done
99145 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
99146 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
99147 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
99148 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
99149 echo $ECHO_N "(cached) $ECHO_C" >&6
99150 else
99154 ac_ext=cc
99155 ac_cpp='$CXXCPP $CPPFLAGS'
99156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99160 cat >conftest.$ac_ext <<_ACEOF
99161 /* confdefs.h. */
99162 _ACEOF
99163 cat confdefs.h >>conftest.$ac_ext
99164 cat >>conftest.$ac_ext <<_ACEOF
99165 /* end confdefs.h. */
99166 #include <math.h>
99168 main ()
99170 atan2l(0, 0);
99172 return 0;
99174 _ACEOF
99175 rm -f conftest.$ac_objext
99176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99177 (eval $ac_compile) 2>conftest.er1
99178 ac_status=$?
99179 grep -v '^ *+' conftest.er1 >conftest.err
99180 rm -f conftest.er1
99181 cat conftest.err >&5
99182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99183 (exit $ac_status); } &&
99184 { ac_try='test -z "$ac_cxx_werror_flag"
99185 || test ! -s conftest.err'
99186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99187 (eval $ac_try) 2>&5
99188 ac_status=$?
99189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99190 (exit $ac_status); }; } &&
99191 { ac_try='test -s conftest.$ac_objext'
99192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99193 (eval $ac_try) 2>&5
99194 ac_status=$?
99195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99196 (exit $ac_status); }; }; then
99197 glibcxx_cv_func_atan2l_use=yes
99198 else
99199 echo "$as_me: failed program was:" >&5
99200 sed 's/^/| /' conftest.$ac_ext >&5
99202 glibcxx_cv_func_atan2l_use=no
99204 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99205 ac_ext=c
99206 ac_cpp='$CPP $CPPFLAGS'
99207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99215 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
99216 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
99218 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
99220 for ac_func in atan2l
99222 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99223 echo "$as_me:$LINENO: checking for $ac_func" >&5
99224 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99225 if eval "test \"\${$as_ac_var+set}\" = set"; then
99226 echo $ECHO_N "(cached) $ECHO_C" >&6
99227 else
99228 if test x$gcc_no_link = xyes; then
99229 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99230 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99231 { (exit 1); exit 1; }; }
99233 cat >conftest.$ac_ext <<_ACEOF
99234 /* confdefs.h. */
99235 _ACEOF
99236 cat confdefs.h >>conftest.$ac_ext
99237 cat >>conftest.$ac_ext <<_ACEOF
99238 /* end confdefs.h. */
99239 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99240 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99241 #define $ac_func innocuous_$ac_func
99243 /* System header to define __stub macros and hopefully few prototypes,
99244 which can conflict with char $ac_func (); below.
99245 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99246 <limits.h> exists even on freestanding compilers. */
99248 #ifdef __STDC__
99249 # include <limits.h>
99250 #else
99251 # include <assert.h>
99252 #endif
99254 #undef $ac_func
99256 /* Override any gcc2 internal prototype to avoid an error. */
99257 #ifdef __cplusplus
99258 extern "C"
99260 #endif
99261 /* We use char because int might match the return type of a gcc2
99262 builtin and then its argument prototype would still apply. */
99263 char $ac_func ();
99264 /* The GNU C library defines this for functions which it implements
99265 to always fail with ENOSYS. Some functions are actually named
99266 something starting with __ and the normal name is an alias. */
99267 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99268 choke me
99269 #else
99270 char (*f) () = $ac_func;
99271 #endif
99272 #ifdef __cplusplus
99274 #endif
99277 main ()
99279 return f != $ac_func;
99281 return 0;
99283 _ACEOF
99284 rm -f conftest.$ac_objext conftest$ac_exeext
99285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99286 (eval $ac_link) 2>conftest.er1
99287 ac_status=$?
99288 grep -v '^ *+' conftest.er1 >conftest.err
99289 rm -f conftest.er1
99290 cat conftest.err >&5
99291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99292 (exit $ac_status); } &&
99293 { ac_try='test -z "$ac_c_werror_flag"
99294 || test ! -s conftest.err'
99295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99296 (eval $ac_try) 2>&5
99297 ac_status=$?
99298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99299 (exit $ac_status); }; } &&
99300 { ac_try='test -s conftest$ac_exeext'
99301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99302 (eval $ac_try) 2>&5
99303 ac_status=$?
99304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99305 (exit $ac_status); }; }; then
99306 eval "$as_ac_var=yes"
99307 else
99308 echo "$as_me: failed program was:" >&5
99309 sed 's/^/| /' conftest.$ac_ext >&5
99311 eval "$as_ac_var=no"
99313 rm -f conftest.err conftest.$ac_objext \
99314 conftest$ac_exeext conftest.$ac_ext
99316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99317 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99318 if test `eval echo '${'$as_ac_var'}'` = yes; then
99319 cat >>confdefs.h <<_ACEOF
99320 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99321 _ACEOF
99324 done
99326 else
99328 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
99329 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
99330 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
99331 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
99332 echo $ECHO_N "(cached) $ECHO_C" >&6
99333 else
99337 ac_ext=cc
99338 ac_cpp='$CXXCPP $CPPFLAGS'
99339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99343 cat >conftest.$ac_ext <<_ACEOF
99344 /* confdefs.h. */
99345 _ACEOF
99346 cat confdefs.h >>conftest.$ac_ext
99347 cat >>conftest.$ac_ext <<_ACEOF
99348 /* end confdefs.h. */
99349 #include <math.h>
99351 main ()
99353 _atan2l(0, 0);
99355 return 0;
99357 _ACEOF
99358 rm -f conftest.$ac_objext
99359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99360 (eval $ac_compile) 2>conftest.er1
99361 ac_status=$?
99362 grep -v '^ *+' conftest.er1 >conftest.err
99363 rm -f conftest.er1
99364 cat conftest.err >&5
99365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99366 (exit $ac_status); } &&
99367 { ac_try='test -z "$ac_cxx_werror_flag"
99368 || test ! -s conftest.err'
99369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99370 (eval $ac_try) 2>&5
99371 ac_status=$?
99372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99373 (exit $ac_status); }; } &&
99374 { ac_try='test -s conftest.$ac_objext'
99375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99376 (eval $ac_try) 2>&5
99377 ac_status=$?
99378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99379 (exit $ac_status); }; }; then
99380 glibcxx_cv_func__atan2l_use=yes
99381 else
99382 echo "$as_me: failed program was:" >&5
99383 sed 's/^/| /' conftest.$ac_ext >&5
99385 glibcxx_cv_func__atan2l_use=no
99387 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99388 ac_ext=c
99389 ac_cpp='$CPP $CPPFLAGS'
99390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99398 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
99399 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
99401 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
99403 for ac_func in _atan2l
99405 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99406 echo "$as_me:$LINENO: checking for $ac_func" >&5
99407 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99408 if eval "test \"\${$as_ac_var+set}\" = set"; then
99409 echo $ECHO_N "(cached) $ECHO_C" >&6
99410 else
99411 if test x$gcc_no_link = xyes; then
99412 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99413 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99414 { (exit 1); exit 1; }; }
99416 cat >conftest.$ac_ext <<_ACEOF
99417 /* confdefs.h. */
99418 _ACEOF
99419 cat confdefs.h >>conftest.$ac_ext
99420 cat >>conftest.$ac_ext <<_ACEOF
99421 /* end confdefs.h. */
99422 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99423 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99424 #define $ac_func innocuous_$ac_func
99426 /* System header to define __stub macros and hopefully few prototypes,
99427 which can conflict with char $ac_func (); below.
99428 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99429 <limits.h> exists even on freestanding compilers. */
99431 #ifdef __STDC__
99432 # include <limits.h>
99433 #else
99434 # include <assert.h>
99435 #endif
99437 #undef $ac_func
99439 /* Override any gcc2 internal prototype to avoid an error. */
99440 #ifdef __cplusplus
99441 extern "C"
99443 #endif
99444 /* We use char because int might match the return type of a gcc2
99445 builtin and then its argument prototype would still apply. */
99446 char $ac_func ();
99447 /* The GNU C library defines this for functions which it implements
99448 to always fail with ENOSYS. Some functions are actually named
99449 something starting with __ and the normal name is an alias. */
99450 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99451 choke me
99452 #else
99453 char (*f) () = $ac_func;
99454 #endif
99455 #ifdef __cplusplus
99457 #endif
99460 main ()
99462 return f != $ac_func;
99464 return 0;
99466 _ACEOF
99467 rm -f conftest.$ac_objext conftest$ac_exeext
99468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99469 (eval $ac_link) 2>conftest.er1
99470 ac_status=$?
99471 grep -v '^ *+' conftest.er1 >conftest.err
99472 rm -f conftest.er1
99473 cat conftest.err >&5
99474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99475 (exit $ac_status); } &&
99476 { ac_try='test -z "$ac_c_werror_flag"
99477 || test ! -s conftest.err'
99478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99479 (eval $ac_try) 2>&5
99480 ac_status=$?
99481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99482 (exit $ac_status); }; } &&
99483 { ac_try='test -s conftest$ac_exeext'
99484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99485 (eval $ac_try) 2>&5
99486 ac_status=$?
99487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99488 (exit $ac_status); }; }; then
99489 eval "$as_ac_var=yes"
99490 else
99491 echo "$as_me: failed program was:" >&5
99492 sed 's/^/| /' conftest.$ac_ext >&5
99494 eval "$as_ac_var=no"
99496 rm -f conftest.err conftest.$ac_objext \
99497 conftest$ac_exeext conftest.$ac_ext
99499 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99500 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99501 if test `eval echo '${'$as_ac_var'}'` = yes; then
99502 cat >>confdefs.h <<_ACEOF
99503 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99504 _ACEOF
99507 done
99517 echo "$as_me:$LINENO: checking for expl declaration" >&5
99518 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
99519 if test x${glibcxx_cv_func_expl_use+set} != xset; then
99520 if test "${glibcxx_cv_func_expl_use+set}" = set; then
99521 echo $ECHO_N "(cached) $ECHO_C" >&6
99522 else
99526 ac_ext=cc
99527 ac_cpp='$CXXCPP $CPPFLAGS'
99528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99532 cat >conftest.$ac_ext <<_ACEOF
99533 /* confdefs.h. */
99534 _ACEOF
99535 cat confdefs.h >>conftest.$ac_ext
99536 cat >>conftest.$ac_ext <<_ACEOF
99537 /* end confdefs.h. */
99538 #include <math.h>
99539 #ifdef HAVE_IEEEFP_H
99540 #include <ieeefp.h>
99541 #endif
99544 main ()
99546 expl(0);
99548 return 0;
99550 _ACEOF
99551 rm -f conftest.$ac_objext
99552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99553 (eval $ac_compile) 2>conftest.er1
99554 ac_status=$?
99555 grep -v '^ *+' conftest.er1 >conftest.err
99556 rm -f conftest.er1
99557 cat conftest.err >&5
99558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99559 (exit $ac_status); } &&
99560 { ac_try='test -z "$ac_cxx_werror_flag"
99561 || test ! -s conftest.err'
99562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99563 (eval $ac_try) 2>&5
99564 ac_status=$?
99565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99566 (exit $ac_status); }; } &&
99567 { ac_try='test -s conftest.$ac_objext'
99568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99569 (eval $ac_try) 2>&5
99570 ac_status=$?
99571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99572 (exit $ac_status); }; }; then
99573 glibcxx_cv_func_expl_use=yes
99574 else
99575 echo "$as_me: failed program was:" >&5
99576 sed 's/^/| /' conftest.$ac_ext >&5
99578 glibcxx_cv_func_expl_use=no
99580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99581 ac_ext=c
99582 ac_cpp='$CPP $CPPFLAGS'
99583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99591 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
99592 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
99594 if test x$glibcxx_cv_func_expl_use = x"yes"; then
99596 for ac_func in expl
99598 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99599 echo "$as_me:$LINENO: checking for $ac_func" >&5
99600 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99601 if eval "test \"\${$as_ac_var+set}\" = set"; then
99602 echo $ECHO_N "(cached) $ECHO_C" >&6
99603 else
99604 if test x$gcc_no_link = xyes; then
99605 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99606 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99607 { (exit 1); exit 1; }; }
99609 cat >conftest.$ac_ext <<_ACEOF
99610 /* confdefs.h. */
99611 _ACEOF
99612 cat confdefs.h >>conftest.$ac_ext
99613 cat >>conftest.$ac_ext <<_ACEOF
99614 /* end confdefs.h. */
99615 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99616 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99617 #define $ac_func innocuous_$ac_func
99619 /* System header to define __stub macros and hopefully few prototypes,
99620 which can conflict with char $ac_func (); below.
99621 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99622 <limits.h> exists even on freestanding compilers. */
99624 #ifdef __STDC__
99625 # include <limits.h>
99626 #else
99627 # include <assert.h>
99628 #endif
99630 #undef $ac_func
99632 /* Override any gcc2 internal prototype to avoid an error. */
99633 #ifdef __cplusplus
99634 extern "C"
99636 #endif
99637 /* We use char because int might match the return type of a gcc2
99638 builtin and then its argument prototype would still apply. */
99639 char $ac_func ();
99640 /* The GNU C library defines this for functions which it implements
99641 to always fail with ENOSYS. Some functions are actually named
99642 something starting with __ and the normal name is an alias. */
99643 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99644 choke me
99645 #else
99646 char (*f) () = $ac_func;
99647 #endif
99648 #ifdef __cplusplus
99650 #endif
99653 main ()
99655 return f != $ac_func;
99657 return 0;
99659 _ACEOF
99660 rm -f conftest.$ac_objext conftest$ac_exeext
99661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99662 (eval $ac_link) 2>conftest.er1
99663 ac_status=$?
99664 grep -v '^ *+' conftest.er1 >conftest.err
99665 rm -f conftest.er1
99666 cat conftest.err >&5
99667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99668 (exit $ac_status); } &&
99669 { ac_try='test -z "$ac_c_werror_flag"
99670 || test ! -s conftest.err'
99671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99672 (eval $ac_try) 2>&5
99673 ac_status=$?
99674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99675 (exit $ac_status); }; } &&
99676 { ac_try='test -s conftest$ac_exeext'
99677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99678 (eval $ac_try) 2>&5
99679 ac_status=$?
99680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99681 (exit $ac_status); }; }; then
99682 eval "$as_ac_var=yes"
99683 else
99684 echo "$as_me: failed program was:" >&5
99685 sed 's/^/| /' conftest.$ac_ext >&5
99687 eval "$as_ac_var=no"
99689 rm -f conftest.err conftest.$ac_objext \
99690 conftest$ac_exeext conftest.$ac_ext
99692 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99693 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99694 if test `eval echo '${'$as_ac_var'}'` = yes; then
99695 cat >>confdefs.h <<_ACEOF
99696 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99697 _ACEOF
99700 done
99702 else
99704 echo "$as_me:$LINENO: checking for _expl declaration" >&5
99705 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
99706 if test x${glibcxx_cv_func__expl_use+set} != xset; then
99707 if test "${glibcxx_cv_func__expl_use+set}" = set; then
99708 echo $ECHO_N "(cached) $ECHO_C" >&6
99709 else
99713 ac_ext=cc
99714 ac_cpp='$CXXCPP $CPPFLAGS'
99715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99719 cat >conftest.$ac_ext <<_ACEOF
99720 /* confdefs.h. */
99721 _ACEOF
99722 cat confdefs.h >>conftest.$ac_ext
99723 cat >>conftest.$ac_ext <<_ACEOF
99724 /* end confdefs.h. */
99725 #include <math.h>
99726 #ifdef HAVE_IEEEFP_H
99727 #include <ieeefp.h>
99728 #endif
99731 main ()
99733 _expl(0);
99735 return 0;
99737 _ACEOF
99738 rm -f conftest.$ac_objext
99739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99740 (eval $ac_compile) 2>conftest.er1
99741 ac_status=$?
99742 grep -v '^ *+' conftest.er1 >conftest.err
99743 rm -f conftest.er1
99744 cat conftest.err >&5
99745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99746 (exit $ac_status); } &&
99747 { ac_try='test -z "$ac_cxx_werror_flag"
99748 || test ! -s conftest.err'
99749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99750 (eval $ac_try) 2>&5
99751 ac_status=$?
99752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99753 (exit $ac_status); }; } &&
99754 { ac_try='test -s conftest.$ac_objext'
99755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99756 (eval $ac_try) 2>&5
99757 ac_status=$?
99758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99759 (exit $ac_status); }; }; then
99760 glibcxx_cv_func__expl_use=yes
99761 else
99762 echo "$as_me: failed program was:" >&5
99763 sed 's/^/| /' conftest.$ac_ext >&5
99765 glibcxx_cv_func__expl_use=no
99767 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99768 ac_ext=c
99769 ac_cpp='$CPP $CPPFLAGS'
99770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99778 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
99779 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
99781 if test x$glibcxx_cv_func__expl_use = x"yes"; then
99783 for ac_func in _expl
99785 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99786 echo "$as_me:$LINENO: checking for $ac_func" >&5
99787 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99788 if eval "test \"\${$as_ac_var+set}\" = set"; then
99789 echo $ECHO_N "(cached) $ECHO_C" >&6
99790 else
99791 if test x$gcc_no_link = xyes; then
99792 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99793 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99794 { (exit 1); exit 1; }; }
99796 cat >conftest.$ac_ext <<_ACEOF
99797 /* confdefs.h. */
99798 _ACEOF
99799 cat confdefs.h >>conftest.$ac_ext
99800 cat >>conftest.$ac_ext <<_ACEOF
99801 /* end confdefs.h. */
99802 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99803 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99804 #define $ac_func innocuous_$ac_func
99806 /* System header to define __stub macros and hopefully few prototypes,
99807 which can conflict with char $ac_func (); below.
99808 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99809 <limits.h> exists even on freestanding compilers. */
99811 #ifdef __STDC__
99812 # include <limits.h>
99813 #else
99814 # include <assert.h>
99815 #endif
99817 #undef $ac_func
99819 /* Override any gcc2 internal prototype to avoid an error. */
99820 #ifdef __cplusplus
99821 extern "C"
99823 #endif
99824 /* We use char because int might match the return type of a gcc2
99825 builtin and then its argument prototype would still apply. */
99826 char $ac_func ();
99827 /* The GNU C library defines this for functions which it implements
99828 to always fail with ENOSYS. Some functions are actually named
99829 something starting with __ and the normal name is an alias. */
99830 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99831 choke me
99832 #else
99833 char (*f) () = $ac_func;
99834 #endif
99835 #ifdef __cplusplus
99837 #endif
99840 main ()
99842 return f != $ac_func;
99844 return 0;
99846 _ACEOF
99847 rm -f conftest.$ac_objext conftest$ac_exeext
99848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99849 (eval $ac_link) 2>conftest.er1
99850 ac_status=$?
99851 grep -v '^ *+' conftest.er1 >conftest.err
99852 rm -f conftest.er1
99853 cat conftest.err >&5
99854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99855 (exit $ac_status); } &&
99856 { ac_try='test -z "$ac_c_werror_flag"
99857 || test ! -s conftest.err'
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); }; } &&
99863 { ac_try='test -s conftest$ac_exeext'
99864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99865 (eval $ac_try) 2>&5
99866 ac_status=$?
99867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99868 (exit $ac_status); }; }; then
99869 eval "$as_ac_var=yes"
99870 else
99871 echo "$as_me: failed program was:" >&5
99872 sed 's/^/| /' conftest.$ac_ext >&5
99874 eval "$as_ac_var=no"
99876 rm -f conftest.err conftest.$ac_objext \
99877 conftest$ac_exeext conftest.$ac_ext
99879 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99880 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99881 if test `eval echo '${'$as_ac_var'}'` = yes; then
99882 cat >>confdefs.h <<_ACEOF
99883 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99884 _ACEOF
99887 done
99897 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
99898 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
99899 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
99900 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
99901 echo $ECHO_N "(cached) $ECHO_C" >&6
99902 else
99906 ac_ext=cc
99907 ac_cpp='$CXXCPP $CPPFLAGS'
99908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99912 cat >conftest.$ac_ext <<_ACEOF
99913 /* confdefs.h. */
99914 _ACEOF
99915 cat confdefs.h >>conftest.$ac_ext
99916 cat >>conftest.$ac_ext <<_ACEOF
99917 /* end confdefs.h. */
99918 #include <math.h>
99919 #ifdef HAVE_IEEEFP_H
99920 #include <ieeefp.h>
99921 #endif
99924 main ()
99926 fabsl(0);
99928 return 0;
99930 _ACEOF
99931 rm -f conftest.$ac_objext
99932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99933 (eval $ac_compile) 2>conftest.er1
99934 ac_status=$?
99935 grep -v '^ *+' conftest.er1 >conftest.err
99936 rm -f conftest.er1
99937 cat conftest.err >&5
99938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99939 (exit $ac_status); } &&
99940 { ac_try='test -z "$ac_cxx_werror_flag"
99941 || test ! -s conftest.err'
99942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99943 (eval $ac_try) 2>&5
99944 ac_status=$?
99945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99946 (exit $ac_status); }; } &&
99947 { ac_try='test -s conftest.$ac_objext'
99948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99949 (eval $ac_try) 2>&5
99950 ac_status=$?
99951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99952 (exit $ac_status); }; }; then
99953 glibcxx_cv_func_fabsl_use=yes
99954 else
99955 echo "$as_me: failed program was:" >&5
99956 sed 's/^/| /' conftest.$ac_ext >&5
99958 glibcxx_cv_func_fabsl_use=no
99960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99961 ac_ext=c
99962 ac_cpp='$CPP $CPPFLAGS'
99963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99971 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
99972 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
99974 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
99976 for ac_func in fabsl
99978 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99979 echo "$as_me:$LINENO: checking for $ac_func" >&5
99980 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99981 if eval "test \"\${$as_ac_var+set}\" = set"; then
99982 echo $ECHO_N "(cached) $ECHO_C" >&6
99983 else
99984 if test x$gcc_no_link = xyes; then
99985 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99986 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99987 { (exit 1); exit 1; }; }
99989 cat >conftest.$ac_ext <<_ACEOF
99990 /* confdefs.h. */
99991 _ACEOF
99992 cat confdefs.h >>conftest.$ac_ext
99993 cat >>conftest.$ac_ext <<_ACEOF
99994 /* end confdefs.h. */
99995 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99996 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99997 #define $ac_func innocuous_$ac_func
99999 /* System header to define __stub macros and hopefully few prototypes,
100000 which can conflict with char $ac_func (); below.
100001 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100002 <limits.h> exists even on freestanding compilers. */
100004 #ifdef __STDC__
100005 # include <limits.h>
100006 #else
100007 # include <assert.h>
100008 #endif
100010 #undef $ac_func
100012 /* Override any gcc2 internal prototype to avoid an error. */
100013 #ifdef __cplusplus
100014 extern "C"
100016 #endif
100017 /* We use char because int might match the return type of a gcc2
100018 builtin and then its argument prototype would still apply. */
100019 char $ac_func ();
100020 /* The GNU C library defines this for functions which it implements
100021 to always fail with ENOSYS. Some functions are actually named
100022 something starting with __ and the normal name is an alias. */
100023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100024 choke me
100025 #else
100026 char (*f) () = $ac_func;
100027 #endif
100028 #ifdef __cplusplus
100030 #endif
100033 main ()
100035 return f != $ac_func;
100037 return 0;
100039 _ACEOF
100040 rm -f conftest.$ac_objext conftest$ac_exeext
100041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100042 (eval $ac_link) 2>conftest.er1
100043 ac_status=$?
100044 grep -v '^ *+' conftest.er1 >conftest.err
100045 rm -f conftest.er1
100046 cat conftest.err >&5
100047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100048 (exit $ac_status); } &&
100049 { ac_try='test -z "$ac_c_werror_flag"
100050 || test ! -s conftest.err'
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); }; } &&
100056 { ac_try='test -s conftest$ac_exeext'
100057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100058 (eval $ac_try) 2>&5
100059 ac_status=$?
100060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100061 (exit $ac_status); }; }; then
100062 eval "$as_ac_var=yes"
100064 echo "$as_me: failed program was:" >&5
100065 sed 's/^/| /' conftest.$ac_ext >&5
100067 eval "$as_ac_var=no"
100069 rm -f conftest.err conftest.$ac_objext \
100070 conftest$ac_exeext conftest.$ac_ext
100072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100073 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100074 if test `eval echo '${'$as_ac_var'}'` = yes; then
100075 cat >>confdefs.h <<_ACEOF
100076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100077 _ACEOF
100084 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
100085 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
100086 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
100087 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
100088 echo $ECHO_N "(cached) $ECHO_C" >&6
100093 ac_ext=cc
100094 ac_cpp='$CXXCPP $CPPFLAGS'
100095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100099 cat >conftest.$ac_ext <<_ACEOF
100100 /* confdefs.h. */
100101 _ACEOF
100102 cat confdefs.h >>conftest.$ac_ext
100103 cat >>conftest.$ac_ext <<_ACEOF
100104 /* end confdefs.h. */
100105 #include <math.h>
100106 #ifdef HAVE_IEEEFP_H
100107 #include <ieeefp.h>
100108 #endif
100111 main ()
100113 _fabsl(0);
100115 return 0;
100117 _ACEOF
100118 rm -f conftest.$ac_objext
100119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100120 (eval $ac_compile) 2>conftest.er1
100121 ac_status=$?
100122 grep -v '^ *+' conftest.er1 >conftest.err
100123 rm -f conftest.er1
100124 cat conftest.err >&5
100125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100126 (exit $ac_status); } &&
100127 { ac_try='test -z "$ac_cxx_werror_flag"
100128 || test ! -s conftest.err'
100129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100130 (eval $ac_try) 2>&5
100131 ac_status=$?
100132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100133 (exit $ac_status); }; } &&
100134 { ac_try='test -s conftest.$ac_objext'
100135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100136 (eval $ac_try) 2>&5
100137 ac_status=$?
100138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100139 (exit $ac_status); }; }; then
100140 glibcxx_cv_func__fabsl_use=yes
100142 echo "$as_me: failed program was:" >&5
100143 sed 's/^/| /' conftest.$ac_ext >&5
100145 glibcxx_cv_func__fabsl_use=no
100147 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100148 ac_ext=c
100149 ac_cpp='$CPP $CPPFLAGS'
100150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100158 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
100159 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
100161 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
100163 for ac_func in _fabsl
100165 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100166 echo "$as_me:$LINENO: checking for $ac_func" >&5
100167 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100168 if eval "test \"\${$as_ac_var+set}\" = set"; then
100169 echo $ECHO_N "(cached) $ECHO_C" >&6
100171 if test x$gcc_no_link = xyes; then
100172 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100173 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100174 { (exit 1); exit 1; }; }
100176 cat >conftest.$ac_ext <<_ACEOF
100177 /* confdefs.h. */
100178 _ACEOF
100179 cat confdefs.h >>conftest.$ac_ext
100180 cat >>conftest.$ac_ext <<_ACEOF
100181 /* end confdefs.h. */
100182 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100183 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100184 #define $ac_func innocuous_$ac_func
100186 /* System header to define __stub macros and hopefully few prototypes,
100187 which can conflict with char $ac_func (); below.
100188 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100189 <limits.h> exists even on freestanding compilers. */
100191 #ifdef __STDC__
100192 # include <limits.h>
100193 #else
100194 # include <assert.h>
100195 #endif
100197 #undef $ac_func
100199 /* Override any gcc2 internal prototype to avoid an error. */
100200 #ifdef __cplusplus
100201 extern "C"
100203 #endif
100204 /* We use char because int might match the return type of a gcc2
100205 builtin and then its argument prototype would still apply. */
100206 char $ac_func ();
100207 /* The GNU C library defines this for functions which it implements
100208 to always fail with ENOSYS. Some functions are actually named
100209 something starting with __ and the normal name is an alias. */
100210 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100211 choke me
100212 #else
100213 char (*f) () = $ac_func;
100214 #endif
100215 #ifdef __cplusplus
100217 #endif
100220 main ()
100222 return f != $ac_func;
100224 return 0;
100226 _ACEOF
100227 rm -f conftest.$ac_objext conftest$ac_exeext
100228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100229 (eval $ac_link) 2>conftest.er1
100230 ac_status=$?
100231 grep -v '^ *+' conftest.er1 >conftest.err
100232 rm -f conftest.er1
100233 cat conftest.err >&5
100234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100235 (exit $ac_status); } &&
100236 { ac_try='test -z "$ac_c_werror_flag"
100237 || test ! -s conftest.err'
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); }; } &&
100243 { ac_try='test -s conftest$ac_exeext'
100244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100245 (eval $ac_try) 2>&5
100246 ac_status=$?
100247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100248 (exit $ac_status); }; }; then
100249 eval "$as_ac_var=yes"
100251 echo "$as_me: failed program was:" >&5
100252 sed 's/^/| /' conftest.$ac_ext >&5
100254 eval "$as_ac_var=no"
100256 rm -f conftest.err conftest.$ac_objext \
100257 conftest$ac_exeext conftest.$ac_ext
100259 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100260 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100261 if test `eval echo '${'$as_ac_var'}'` = yes; then
100262 cat >>confdefs.h <<_ACEOF
100263 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100264 _ACEOF
100277 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
100278 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
100279 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
100280 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
100281 echo $ECHO_N "(cached) $ECHO_C" >&6
100286 ac_ext=cc
100287 ac_cpp='$CXXCPP $CPPFLAGS'
100288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100292 cat >conftest.$ac_ext <<_ACEOF
100293 /* confdefs.h. */
100294 _ACEOF
100295 cat confdefs.h >>conftest.$ac_ext
100296 cat >>conftest.$ac_ext <<_ACEOF
100297 /* end confdefs.h. */
100298 #include <math.h>
100300 main ()
100302 fmodl(0, 0);
100304 return 0;
100306 _ACEOF
100307 rm -f conftest.$ac_objext
100308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100309 (eval $ac_compile) 2>conftest.er1
100310 ac_status=$?
100311 grep -v '^ *+' conftest.er1 >conftest.err
100312 rm -f conftest.er1
100313 cat conftest.err >&5
100314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100315 (exit $ac_status); } &&
100316 { ac_try='test -z "$ac_cxx_werror_flag"
100317 || test ! -s conftest.err'
100318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100319 (eval $ac_try) 2>&5
100320 ac_status=$?
100321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100322 (exit $ac_status); }; } &&
100323 { ac_try='test -s conftest.$ac_objext'
100324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100325 (eval $ac_try) 2>&5
100326 ac_status=$?
100327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100328 (exit $ac_status); }; }; then
100329 glibcxx_cv_func_fmodl_use=yes
100331 echo "$as_me: failed program was:" >&5
100332 sed 's/^/| /' conftest.$ac_ext >&5
100334 glibcxx_cv_func_fmodl_use=no
100336 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100337 ac_ext=c
100338 ac_cpp='$CPP $CPPFLAGS'
100339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100347 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
100348 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
100350 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
100352 for ac_func in fmodl
100354 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100355 echo "$as_me:$LINENO: checking for $ac_func" >&5
100356 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100357 if eval "test \"\${$as_ac_var+set}\" = set"; then
100358 echo $ECHO_N "(cached) $ECHO_C" >&6
100360 if test x$gcc_no_link = xyes; then
100361 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100362 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100363 { (exit 1); exit 1; }; }
100365 cat >conftest.$ac_ext <<_ACEOF
100366 /* confdefs.h. */
100367 _ACEOF
100368 cat confdefs.h >>conftest.$ac_ext
100369 cat >>conftest.$ac_ext <<_ACEOF
100370 /* end confdefs.h. */
100371 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100372 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100373 #define $ac_func innocuous_$ac_func
100375 /* System header to define __stub macros and hopefully few prototypes,
100376 which can conflict with char $ac_func (); below.
100377 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100378 <limits.h> exists even on freestanding compilers. */
100380 #ifdef __STDC__
100381 # include <limits.h>
100382 #else
100383 # include <assert.h>
100384 #endif
100386 #undef $ac_func
100388 /* Override any gcc2 internal prototype to avoid an error. */
100389 #ifdef __cplusplus
100390 extern "C"
100392 #endif
100393 /* We use char because int might match the return type of a gcc2
100394 builtin and then its argument prototype would still apply. */
100395 char $ac_func ();
100396 /* The GNU C library defines this for functions which it implements
100397 to always fail with ENOSYS. Some functions are actually named
100398 something starting with __ and the normal name is an alias. */
100399 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100400 choke me
100401 #else
100402 char (*f) () = $ac_func;
100403 #endif
100404 #ifdef __cplusplus
100406 #endif
100409 main ()
100411 return f != $ac_func;
100413 return 0;
100415 _ACEOF
100416 rm -f conftest.$ac_objext conftest$ac_exeext
100417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100418 (eval $ac_link) 2>conftest.er1
100419 ac_status=$?
100420 grep -v '^ *+' conftest.er1 >conftest.err
100421 rm -f conftest.er1
100422 cat conftest.err >&5
100423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100424 (exit $ac_status); } &&
100425 { ac_try='test -z "$ac_c_werror_flag"
100426 || test ! -s conftest.err'
100427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100428 (eval $ac_try) 2>&5
100429 ac_status=$?
100430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100431 (exit $ac_status); }; } &&
100432 { ac_try='test -s conftest$ac_exeext'
100433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100434 (eval $ac_try) 2>&5
100435 ac_status=$?
100436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100437 (exit $ac_status); }; }; then
100438 eval "$as_ac_var=yes"
100440 echo "$as_me: failed program was:" >&5
100441 sed 's/^/| /' conftest.$ac_ext >&5
100443 eval "$as_ac_var=no"
100445 rm -f conftest.err conftest.$ac_objext \
100446 conftest$ac_exeext conftest.$ac_ext
100448 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100449 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100450 if test `eval echo '${'$as_ac_var'}'` = yes; then
100451 cat >>confdefs.h <<_ACEOF
100452 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100453 _ACEOF
100460 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
100461 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
100462 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
100463 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
100464 echo $ECHO_N "(cached) $ECHO_C" >&6
100469 ac_ext=cc
100470 ac_cpp='$CXXCPP $CPPFLAGS'
100471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100475 cat >conftest.$ac_ext <<_ACEOF
100476 /* confdefs.h. */
100477 _ACEOF
100478 cat confdefs.h >>conftest.$ac_ext
100479 cat >>conftest.$ac_ext <<_ACEOF
100480 /* end confdefs.h. */
100481 #include <math.h>
100483 main ()
100485 _fmodl(0, 0);
100487 return 0;
100489 _ACEOF
100490 rm -f conftest.$ac_objext
100491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100492 (eval $ac_compile) 2>conftest.er1
100493 ac_status=$?
100494 grep -v '^ *+' conftest.er1 >conftest.err
100495 rm -f conftest.er1
100496 cat conftest.err >&5
100497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100498 (exit $ac_status); } &&
100499 { ac_try='test -z "$ac_cxx_werror_flag"
100500 || test ! -s conftest.err'
100501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100502 (eval $ac_try) 2>&5
100503 ac_status=$?
100504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100505 (exit $ac_status); }; } &&
100506 { ac_try='test -s conftest.$ac_objext'
100507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100508 (eval $ac_try) 2>&5
100509 ac_status=$?
100510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100511 (exit $ac_status); }; }; then
100512 glibcxx_cv_func__fmodl_use=yes
100514 echo "$as_me: failed program was:" >&5
100515 sed 's/^/| /' conftest.$ac_ext >&5
100517 glibcxx_cv_func__fmodl_use=no
100519 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100520 ac_ext=c
100521 ac_cpp='$CPP $CPPFLAGS'
100522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100530 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
100531 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
100533 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
100535 for ac_func in _fmodl
100537 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100538 echo "$as_me:$LINENO: checking for $ac_func" >&5
100539 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100540 if eval "test \"\${$as_ac_var+set}\" = set"; then
100541 echo $ECHO_N "(cached) $ECHO_C" >&6
100543 if test x$gcc_no_link = xyes; then
100544 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100545 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100546 { (exit 1); exit 1; }; }
100548 cat >conftest.$ac_ext <<_ACEOF
100549 /* confdefs.h. */
100550 _ACEOF
100551 cat confdefs.h >>conftest.$ac_ext
100552 cat >>conftest.$ac_ext <<_ACEOF
100553 /* end confdefs.h. */
100554 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100555 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100556 #define $ac_func innocuous_$ac_func
100558 /* System header to define __stub macros and hopefully few prototypes,
100559 which can conflict with char $ac_func (); below.
100560 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100561 <limits.h> exists even on freestanding compilers. */
100563 #ifdef __STDC__
100564 # include <limits.h>
100565 #else
100566 # include <assert.h>
100567 #endif
100569 #undef $ac_func
100571 /* Override any gcc2 internal prototype to avoid an error. */
100572 #ifdef __cplusplus
100573 extern "C"
100575 #endif
100576 /* We use char because int might match the return type of a gcc2
100577 builtin and then its argument prototype would still apply. */
100578 char $ac_func ();
100579 /* The GNU C library defines this for functions which it implements
100580 to always fail with ENOSYS. Some functions are actually named
100581 something starting with __ and the normal name is an alias. */
100582 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100583 choke me
100584 #else
100585 char (*f) () = $ac_func;
100586 #endif
100587 #ifdef __cplusplus
100589 #endif
100592 main ()
100594 return f != $ac_func;
100596 return 0;
100598 _ACEOF
100599 rm -f conftest.$ac_objext conftest$ac_exeext
100600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100601 (eval $ac_link) 2>conftest.er1
100602 ac_status=$?
100603 grep -v '^ *+' conftest.er1 >conftest.err
100604 rm -f conftest.er1
100605 cat conftest.err >&5
100606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100607 (exit $ac_status); } &&
100608 { ac_try='test -z "$ac_c_werror_flag"
100609 || test ! -s conftest.err'
100610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100611 (eval $ac_try) 2>&5
100612 ac_status=$?
100613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100614 (exit $ac_status); }; } &&
100615 { ac_try='test -s conftest$ac_exeext'
100616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100617 (eval $ac_try) 2>&5
100618 ac_status=$?
100619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100620 (exit $ac_status); }; }; then
100621 eval "$as_ac_var=yes"
100623 echo "$as_me: failed program was:" >&5
100624 sed 's/^/| /' conftest.$ac_ext >&5
100626 eval "$as_ac_var=no"
100628 rm -f conftest.err conftest.$ac_objext \
100629 conftest$ac_exeext conftest.$ac_ext
100631 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100632 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100633 if test `eval echo '${'$as_ac_var'}'` = yes; then
100634 cat >>confdefs.h <<_ACEOF
100635 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100636 _ACEOF
100649 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
100650 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
100651 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
100652 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
100653 echo $ECHO_N "(cached) $ECHO_C" >&6
100658 ac_ext=cc
100659 ac_cpp='$CXXCPP $CPPFLAGS'
100660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100664 cat >conftest.$ac_ext <<_ACEOF
100665 /* confdefs.h. */
100666 _ACEOF
100667 cat confdefs.h >>conftest.$ac_ext
100668 cat >>conftest.$ac_ext <<_ACEOF
100669 /* end confdefs.h. */
100670 #include <math.h>
100672 main ()
100674 frexpl(0, 0);
100676 return 0;
100678 _ACEOF
100679 rm -f conftest.$ac_objext
100680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100681 (eval $ac_compile) 2>conftest.er1
100682 ac_status=$?
100683 grep -v '^ *+' conftest.er1 >conftest.err
100684 rm -f conftest.er1
100685 cat conftest.err >&5
100686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100687 (exit $ac_status); } &&
100688 { ac_try='test -z "$ac_cxx_werror_flag"
100689 || test ! -s conftest.err'
100690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100691 (eval $ac_try) 2>&5
100692 ac_status=$?
100693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100694 (exit $ac_status); }; } &&
100695 { ac_try='test -s conftest.$ac_objext'
100696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100697 (eval $ac_try) 2>&5
100698 ac_status=$?
100699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100700 (exit $ac_status); }; }; then
100701 glibcxx_cv_func_frexpl_use=yes
100703 echo "$as_me: failed program was:" >&5
100704 sed 's/^/| /' conftest.$ac_ext >&5
100706 glibcxx_cv_func_frexpl_use=no
100708 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100709 ac_ext=c
100710 ac_cpp='$CPP $CPPFLAGS'
100711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100719 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
100720 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
100722 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
100724 for ac_func in frexpl
100726 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100727 echo "$as_me:$LINENO: checking for $ac_func" >&5
100728 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100729 if eval "test \"\${$as_ac_var+set}\" = set"; then
100730 echo $ECHO_N "(cached) $ECHO_C" >&6
100732 if test x$gcc_no_link = xyes; then
100733 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100734 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100735 { (exit 1); exit 1; }; }
100737 cat >conftest.$ac_ext <<_ACEOF
100738 /* confdefs.h. */
100739 _ACEOF
100740 cat confdefs.h >>conftest.$ac_ext
100741 cat >>conftest.$ac_ext <<_ACEOF
100742 /* end confdefs.h. */
100743 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100744 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100745 #define $ac_func innocuous_$ac_func
100747 /* System header to define __stub macros and hopefully few prototypes,
100748 which can conflict with char $ac_func (); below.
100749 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100750 <limits.h> exists even on freestanding compilers. */
100752 #ifdef __STDC__
100753 # include <limits.h>
100754 #else
100755 # include <assert.h>
100756 #endif
100758 #undef $ac_func
100760 /* Override any gcc2 internal prototype to avoid an error. */
100761 #ifdef __cplusplus
100762 extern "C"
100764 #endif
100765 /* We use char because int might match the return type of a gcc2
100766 builtin and then its argument prototype would still apply. */
100767 char $ac_func ();
100768 /* The GNU C library defines this for functions which it implements
100769 to always fail with ENOSYS. Some functions are actually named
100770 something starting with __ and the normal name is an alias. */
100771 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100772 choke me
100773 #else
100774 char (*f) () = $ac_func;
100775 #endif
100776 #ifdef __cplusplus
100778 #endif
100781 main ()
100783 return f != $ac_func;
100785 return 0;
100787 _ACEOF
100788 rm -f conftest.$ac_objext conftest$ac_exeext
100789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100790 (eval $ac_link) 2>conftest.er1
100791 ac_status=$?
100792 grep -v '^ *+' conftest.er1 >conftest.err
100793 rm -f conftest.er1
100794 cat conftest.err >&5
100795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100796 (exit $ac_status); } &&
100797 { ac_try='test -z "$ac_c_werror_flag"
100798 || test ! -s conftest.err'
100799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100800 (eval $ac_try) 2>&5
100801 ac_status=$?
100802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100803 (exit $ac_status); }; } &&
100804 { ac_try='test -s conftest$ac_exeext'
100805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100806 (eval $ac_try) 2>&5
100807 ac_status=$?
100808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100809 (exit $ac_status); }; }; then
100810 eval "$as_ac_var=yes"
100812 echo "$as_me: failed program was:" >&5
100813 sed 's/^/| /' conftest.$ac_ext >&5
100815 eval "$as_ac_var=no"
100817 rm -f conftest.err conftest.$ac_objext \
100818 conftest$ac_exeext conftest.$ac_ext
100820 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100821 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100822 if test `eval echo '${'$as_ac_var'}'` = yes; then
100823 cat >>confdefs.h <<_ACEOF
100824 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100825 _ACEOF
100832 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
100833 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
100834 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
100835 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
100836 echo $ECHO_N "(cached) $ECHO_C" >&6
100841 ac_ext=cc
100842 ac_cpp='$CXXCPP $CPPFLAGS'
100843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100847 cat >conftest.$ac_ext <<_ACEOF
100848 /* confdefs.h. */
100849 _ACEOF
100850 cat confdefs.h >>conftest.$ac_ext
100851 cat >>conftest.$ac_ext <<_ACEOF
100852 /* end confdefs.h. */
100853 #include <math.h>
100855 main ()
100857 _frexpl(0, 0);
100859 return 0;
100861 _ACEOF
100862 rm -f conftest.$ac_objext
100863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100864 (eval $ac_compile) 2>conftest.er1
100865 ac_status=$?
100866 grep -v '^ *+' conftest.er1 >conftest.err
100867 rm -f conftest.er1
100868 cat conftest.err >&5
100869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100870 (exit $ac_status); } &&
100871 { ac_try='test -z "$ac_cxx_werror_flag"
100872 || test ! -s conftest.err'
100873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100874 (eval $ac_try) 2>&5
100875 ac_status=$?
100876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100877 (exit $ac_status); }; } &&
100878 { ac_try='test -s conftest.$ac_objext'
100879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100880 (eval $ac_try) 2>&5
100881 ac_status=$?
100882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100883 (exit $ac_status); }; }; then
100884 glibcxx_cv_func__frexpl_use=yes
100886 echo "$as_me: failed program was:" >&5
100887 sed 's/^/| /' conftest.$ac_ext >&5
100889 glibcxx_cv_func__frexpl_use=no
100891 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100892 ac_ext=c
100893 ac_cpp='$CPP $CPPFLAGS'
100894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100902 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
100903 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
100905 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
100907 for ac_func in _frexpl
100909 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100910 echo "$as_me:$LINENO: checking for $ac_func" >&5
100911 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100912 if eval "test \"\${$as_ac_var+set}\" = set"; then
100913 echo $ECHO_N "(cached) $ECHO_C" >&6
100915 if test x$gcc_no_link = xyes; then
100916 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100917 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100918 { (exit 1); exit 1; }; }
100920 cat >conftest.$ac_ext <<_ACEOF
100921 /* confdefs.h. */
100922 _ACEOF
100923 cat confdefs.h >>conftest.$ac_ext
100924 cat >>conftest.$ac_ext <<_ACEOF
100925 /* end confdefs.h. */
100926 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100927 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100928 #define $ac_func innocuous_$ac_func
100930 /* System header to define __stub macros and hopefully few prototypes,
100931 which can conflict with char $ac_func (); below.
100932 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100933 <limits.h> exists even on freestanding compilers. */
100935 #ifdef __STDC__
100936 # include <limits.h>
100937 #else
100938 # include <assert.h>
100939 #endif
100941 #undef $ac_func
100943 /* Override any gcc2 internal prototype to avoid an error. */
100944 #ifdef __cplusplus
100945 extern "C"
100947 #endif
100948 /* We use char because int might match the return type of a gcc2
100949 builtin and then its argument prototype would still apply. */
100950 char $ac_func ();
100951 /* The GNU C library defines this for functions which it implements
100952 to always fail with ENOSYS. Some functions are actually named
100953 something starting with __ and the normal name is an alias. */
100954 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100955 choke me
100956 #else
100957 char (*f) () = $ac_func;
100958 #endif
100959 #ifdef __cplusplus
100961 #endif
100964 main ()
100966 return f != $ac_func;
100968 return 0;
100970 _ACEOF
100971 rm -f conftest.$ac_objext conftest$ac_exeext
100972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100973 (eval $ac_link) 2>conftest.er1
100974 ac_status=$?
100975 grep -v '^ *+' conftest.er1 >conftest.err
100976 rm -f conftest.er1
100977 cat conftest.err >&5
100978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100979 (exit $ac_status); } &&
100980 { ac_try='test -z "$ac_c_werror_flag"
100981 || test ! -s conftest.err'
100982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100983 (eval $ac_try) 2>&5
100984 ac_status=$?
100985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100986 (exit $ac_status); }; } &&
100987 { ac_try='test -s conftest$ac_exeext'
100988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100989 (eval $ac_try) 2>&5
100990 ac_status=$?
100991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100992 (exit $ac_status); }; }; then
100993 eval "$as_ac_var=yes"
100995 echo "$as_me: failed program was:" >&5
100996 sed 's/^/| /' conftest.$ac_ext >&5
100998 eval "$as_ac_var=no"
101000 rm -f conftest.err conftest.$ac_objext \
101001 conftest$ac_exeext conftest.$ac_ext
101003 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101004 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101005 if test `eval echo '${'$as_ac_var'}'` = yes; then
101006 cat >>confdefs.h <<_ACEOF
101007 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101008 _ACEOF
101021 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
101022 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
101023 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
101024 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
101025 echo $ECHO_N "(cached) $ECHO_C" >&6
101030 ac_ext=cc
101031 ac_cpp='$CXXCPP $CPPFLAGS'
101032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101036 cat >conftest.$ac_ext <<_ACEOF
101037 /* confdefs.h. */
101038 _ACEOF
101039 cat confdefs.h >>conftest.$ac_ext
101040 cat >>conftest.$ac_ext <<_ACEOF
101041 /* end confdefs.h. */
101042 #include <math.h>
101044 main ()
101046 hypotl(0, 0);
101048 return 0;
101050 _ACEOF
101051 rm -f conftest.$ac_objext
101052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101053 (eval $ac_compile) 2>conftest.er1
101054 ac_status=$?
101055 grep -v '^ *+' conftest.er1 >conftest.err
101056 rm -f conftest.er1
101057 cat conftest.err >&5
101058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101059 (exit $ac_status); } &&
101060 { ac_try='test -z "$ac_cxx_werror_flag"
101061 || test ! -s conftest.err'
101062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101063 (eval $ac_try) 2>&5
101064 ac_status=$?
101065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101066 (exit $ac_status); }; } &&
101067 { ac_try='test -s conftest.$ac_objext'
101068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101069 (eval $ac_try) 2>&5
101070 ac_status=$?
101071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101072 (exit $ac_status); }; }; then
101073 glibcxx_cv_func_hypotl_use=yes
101075 echo "$as_me: failed program was:" >&5
101076 sed 's/^/| /' conftest.$ac_ext >&5
101078 glibcxx_cv_func_hypotl_use=no
101080 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101081 ac_ext=c
101082 ac_cpp='$CPP $CPPFLAGS'
101083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101091 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
101092 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
101094 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
101096 for ac_func in hypotl
101098 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101099 echo "$as_me:$LINENO: checking for $ac_func" >&5
101100 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101101 if eval "test \"\${$as_ac_var+set}\" = set"; then
101102 echo $ECHO_N "(cached) $ECHO_C" >&6
101104 if test x$gcc_no_link = xyes; then
101105 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101106 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101107 { (exit 1); exit 1; }; }
101109 cat >conftest.$ac_ext <<_ACEOF
101110 /* confdefs.h. */
101111 _ACEOF
101112 cat confdefs.h >>conftest.$ac_ext
101113 cat >>conftest.$ac_ext <<_ACEOF
101114 /* end confdefs.h. */
101115 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101116 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101117 #define $ac_func innocuous_$ac_func
101119 /* System header to define __stub macros and hopefully few prototypes,
101120 which can conflict with char $ac_func (); below.
101121 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101122 <limits.h> exists even on freestanding compilers. */
101124 #ifdef __STDC__
101125 # include <limits.h>
101126 #else
101127 # include <assert.h>
101128 #endif
101130 #undef $ac_func
101132 /* Override any gcc2 internal prototype to avoid an error. */
101133 #ifdef __cplusplus
101134 extern "C"
101136 #endif
101137 /* We use char because int might match the return type of a gcc2
101138 builtin and then its argument prototype would still apply. */
101139 char $ac_func ();
101140 /* The GNU C library defines this for functions which it implements
101141 to always fail with ENOSYS. Some functions are actually named
101142 something starting with __ and the normal name is an alias. */
101143 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101144 choke me
101145 #else
101146 char (*f) () = $ac_func;
101147 #endif
101148 #ifdef __cplusplus
101150 #endif
101153 main ()
101155 return f != $ac_func;
101157 return 0;
101159 _ACEOF
101160 rm -f conftest.$ac_objext conftest$ac_exeext
101161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101162 (eval $ac_link) 2>conftest.er1
101163 ac_status=$?
101164 grep -v '^ *+' conftest.er1 >conftest.err
101165 rm -f conftest.er1
101166 cat conftest.err >&5
101167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101168 (exit $ac_status); } &&
101169 { ac_try='test -z "$ac_c_werror_flag"
101170 || test ! -s conftest.err'
101171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101172 (eval $ac_try) 2>&5
101173 ac_status=$?
101174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101175 (exit $ac_status); }; } &&
101176 { ac_try='test -s conftest$ac_exeext'
101177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101178 (eval $ac_try) 2>&5
101179 ac_status=$?
101180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101181 (exit $ac_status); }; }; then
101182 eval "$as_ac_var=yes"
101184 echo "$as_me: failed program was:" >&5
101185 sed 's/^/| /' conftest.$ac_ext >&5
101187 eval "$as_ac_var=no"
101189 rm -f conftest.err conftest.$ac_objext \
101190 conftest$ac_exeext conftest.$ac_ext
101192 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101193 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101194 if test `eval echo '${'$as_ac_var'}'` = yes; then
101195 cat >>confdefs.h <<_ACEOF
101196 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101197 _ACEOF
101204 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
101205 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
101206 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
101207 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
101208 echo $ECHO_N "(cached) $ECHO_C" >&6
101213 ac_ext=cc
101214 ac_cpp='$CXXCPP $CPPFLAGS'
101215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101219 cat >conftest.$ac_ext <<_ACEOF
101220 /* confdefs.h. */
101221 _ACEOF
101222 cat confdefs.h >>conftest.$ac_ext
101223 cat >>conftest.$ac_ext <<_ACEOF
101224 /* end confdefs.h. */
101225 #include <math.h>
101227 main ()
101229 _hypotl(0, 0);
101231 return 0;
101233 _ACEOF
101234 rm -f conftest.$ac_objext
101235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101236 (eval $ac_compile) 2>conftest.er1
101237 ac_status=$?
101238 grep -v '^ *+' conftest.er1 >conftest.err
101239 rm -f conftest.er1
101240 cat conftest.err >&5
101241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101242 (exit $ac_status); } &&
101243 { ac_try='test -z "$ac_cxx_werror_flag"
101244 || test ! -s conftest.err'
101245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101246 (eval $ac_try) 2>&5
101247 ac_status=$?
101248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101249 (exit $ac_status); }; } &&
101250 { ac_try='test -s conftest.$ac_objext'
101251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101252 (eval $ac_try) 2>&5
101253 ac_status=$?
101254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101255 (exit $ac_status); }; }; then
101256 glibcxx_cv_func__hypotl_use=yes
101258 echo "$as_me: failed program was:" >&5
101259 sed 's/^/| /' conftest.$ac_ext >&5
101261 glibcxx_cv_func__hypotl_use=no
101263 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101264 ac_ext=c
101265 ac_cpp='$CPP $CPPFLAGS'
101266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101274 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
101275 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
101277 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
101279 for ac_func in _hypotl
101281 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101282 echo "$as_me:$LINENO: checking for $ac_func" >&5
101283 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101284 if eval "test \"\${$as_ac_var+set}\" = set"; then
101285 echo $ECHO_N "(cached) $ECHO_C" >&6
101287 if test x$gcc_no_link = xyes; then
101288 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101289 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101290 { (exit 1); exit 1; }; }
101292 cat >conftest.$ac_ext <<_ACEOF
101293 /* confdefs.h. */
101294 _ACEOF
101295 cat confdefs.h >>conftest.$ac_ext
101296 cat >>conftest.$ac_ext <<_ACEOF
101297 /* end confdefs.h. */
101298 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101299 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101300 #define $ac_func innocuous_$ac_func
101302 /* System header to define __stub macros and hopefully few prototypes,
101303 which can conflict with char $ac_func (); below.
101304 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101305 <limits.h> exists even on freestanding compilers. */
101307 #ifdef __STDC__
101308 # include <limits.h>
101309 #else
101310 # include <assert.h>
101311 #endif
101313 #undef $ac_func
101315 /* Override any gcc2 internal prototype to avoid an error. */
101316 #ifdef __cplusplus
101317 extern "C"
101319 #endif
101320 /* We use char because int might match the return type of a gcc2
101321 builtin and then its argument prototype would still apply. */
101322 char $ac_func ();
101323 /* The GNU C library defines this for functions which it implements
101324 to always fail with ENOSYS. Some functions are actually named
101325 something starting with __ and the normal name is an alias. */
101326 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101327 choke me
101328 #else
101329 char (*f) () = $ac_func;
101330 #endif
101331 #ifdef __cplusplus
101333 #endif
101336 main ()
101338 return f != $ac_func;
101340 return 0;
101342 _ACEOF
101343 rm -f conftest.$ac_objext conftest$ac_exeext
101344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101345 (eval $ac_link) 2>conftest.er1
101346 ac_status=$?
101347 grep -v '^ *+' conftest.er1 >conftest.err
101348 rm -f conftest.er1
101349 cat conftest.err >&5
101350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101351 (exit $ac_status); } &&
101352 { ac_try='test -z "$ac_c_werror_flag"
101353 || test ! -s conftest.err'
101354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101355 (eval $ac_try) 2>&5
101356 ac_status=$?
101357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101358 (exit $ac_status); }; } &&
101359 { ac_try='test -s conftest$ac_exeext'
101360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101361 (eval $ac_try) 2>&5
101362 ac_status=$?
101363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101364 (exit $ac_status); }; }; then
101365 eval "$as_ac_var=yes"
101367 echo "$as_me: failed program was:" >&5
101368 sed 's/^/| /' conftest.$ac_ext >&5
101370 eval "$as_ac_var=no"
101372 rm -f conftest.err conftest.$ac_objext \
101373 conftest$ac_exeext conftest.$ac_ext
101375 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101376 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101377 if test `eval echo '${'$as_ac_var'}'` = yes; then
101378 cat >>confdefs.h <<_ACEOF
101379 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101380 _ACEOF
101393 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
101394 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
101395 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
101396 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
101397 echo $ECHO_N "(cached) $ECHO_C" >&6
101402 ac_ext=cc
101403 ac_cpp='$CXXCPP $CPPFLAGS'
101404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101408 cat >conftest.$ac_ext <<_ACEOF
101409 /* confdefs.h. */
101410 _ACEOF
101411 cat confdefs.h >>conftest.$ac_ext
101412 cat >>conftest.$ac_ext <<_ACEOF
101413 /* end confdefs.h. */
101414 #include <math.h>
101416 main ()
101418 ldexpl(0, 0);
101420 return 0;
101422 _ACEOF
101423 rm -f conftest.$ac_objext
101424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101425 (eval $ac_compile) 2>conftest.er1
101426 ac_status=$?
101427 grep -v '^ *+' conftest.er1 >conftest.err
101428 rm -f conftest.er1
101429 cat conftest.err >&5
101430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101431 (exit $ac_status); } &&
101432 { ac_try='test -z "$ac_cxx_werror_flag"
101433 || test ! -s conftest.err'
101434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101435 (eval $ac_try) 2>&5
101436 ac_status=$?
101437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101438 (exit $ac_status); }; } &&
101439 { ac_try='test -s conftest.$ac_objext'
101440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101441 (eval $ac_try) 2>&5
101442 ac_status=$?
101443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101444 (exit $ac_status); }; }; then
101445 glibcxx_cv_func_ldexpl_use=yes
101447 echo "$as_me: failed program was:" >&5
101448 sed 's/^/| /' conftest.$ac_ext >&5
101450 glibcxx_cv_func_ldexpl_use=no
101452 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101453 ac_ext=c
101454 ac_cpp='$CPP $CPPFLAGS'
101455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101463 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
101464 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
101466 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
101468 for ac_func in ldexpl
101470 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101471 echo "$as_me:$LINENO: checking for $ac_func" >&5
101472 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101473 if eval "test \"\${$as_ac_var+set}\" = set"; then
101474 echo $ECHO_N "(cached) $ECHO_C" >&6
101476 if test x$gcc_no_link = xyes; then
101477 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101478 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101479 { (exit 1); exit 1; }; }
101481 cat >conftest.$ac_ext <<_ACEOF
101482 /* confdefs.h. */
101483 _ACEOF
101484 cat confdefs.h >>conftest.$ac_ext
101485 cat >>conftest.$ac_ext <<_ACEOF
101486 /* end confdefs.h. */
101487 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101488 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101489 #define $ac_func innocuous_$ac_func
101491 /* System header to define __stub macros and hopefully few prototypes,
101492 which can conflict with char $ac_func (); below.
101493 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101494 <limits.h> exists even on freestanding compilers. */
101496 #ifdef __STDC__
101497 # include <limits.h>
101498 #else
101499 # include <assert.h>
101500 #endif
101502 #undef $ac_func
101504 /* Override any gcc2 internal prototype to avoid an error. */
101505 #ifdef __cplusplus
101506 extern "C"
101508 #endif
101509 /* We use char because int might match the return type of a gcc2
101510 builtin and then its argument prototype would still apply. */
101511 char $ac_func ();
101512 /* The GNU C library defines this for functions which it implements
101513 to always fail with ENOSYS. Some functions are actually named
101514 something starting with __ and the normal name is an alias. */
101515 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101516 choke me
101517 #else
101518 char (*f) () = $ac_func;
101519 #endif
101520 #ifdef __cplusplus
101522 #endif
101525 main ()
101527 return f != $ac_func;
101529 return 0;
101531 _ACEOF
101532 rm -f conftest.$ac_objext conftest$ac_exeext
101533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101534 (eval $ac_link) 2>conftest.er1
101535 ac_status=$?
101536 grep -v '^ *+' conftest.er1 >conftest.err
101537 rm -f conftest.er1
101538 cat conftest.err >&5
101539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101540 (exit $ac_status); } &&
101541 { ac_try='test -z "$ac_c_werror_flag"
101542 || test ! -s conftest.err'
101543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101544 (eval $ac_try) 2>&5
101545 ac_status=$?
101546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101547 (exit $ac_status); }; } &&
101548 { ac_try='test -s conftest$ac_exeext'
101549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101550 (eval $ac_try) 2>&5
101551 ac_status=$?
101552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101553 (exit $ac_status); }; }; then
101554 eval "$as_ac_var=yes"
101556 echo "$as_me: failed program was:" >&5
101557 sed 's/^/| /' conftest.$ac_ext >&5
101559 eval "$as_ac_var=no"
101561 rm -f conftest.err conftest.$ac_objext \
101562 conftest$ac_exeext conftest.$ac_ext
101564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101565 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101566 if test `eval echo '${'$as_ac_var'}'` = yes; then
101567 cat >>confdefs.h <<_ACEOF
101568 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101569 _ACEOF
101576 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
101577 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
101578 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
101579 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
101580 echo $ECHO_N "(cached) $ECHO_C" >&6
101585 ac_ext=cc
101586 ac_cpp='$CXXCPP $CPPFLAGS'
101587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101591 cat >conftest.$ac_ext <<_ACEOF
101592 /* confdefs.h. */
101593 _ACEOF
101594 cat confdefs.h >>conftest.$ac_ext
101595 cat >>conftest.$ac_ext <<_ACEOF
101596 /* end confdefs.h. */
101597 #include <math.h>
101599 main ()
101601 _ldexpl(0, 0);
101603 return 0;
101605 _ACEOF
101606 rm -f conftest.$ac_objext
101607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101608 (eval $ac_compile) 2>conftest.er1
101609 ac_status=$?
101610 grep -v '^ *+' conftest.er1 >conftest.err
101611 rm -f conftest.er1
101612 cat conftest.err >&5
101613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101614 (exit $ac_status); } &&
101615 { ac_try='test -z "$ac_cxx_werror_flag"
101616 || test ! -s conftest.err'
101617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101618 (eval $ac_try) 2>&5
101619 ac_status=$?
101620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101621 (exit $ac_status); }; } &&
101622 { ac_try='test -s conftest.$ac_objext'
101623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101624 (eval $ac_try) 2>&5
101625 ac_status=$?
101626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101627 (exit $ac_status); }; }; then
101628 glibcxx_cv_func__ldexpl_use=yes
101630 echo "$as_me: failed program was:" >&5
101631 sed 's/^/| /' conftest.$ac_ext >&5
101633 glibcxx_cv_func__ldexpl_use=no
101635 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101636 ac_ext=c
101637 ac_cpp='$CPP $CPPFLAGS'
101638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101646 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
101647 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
101649 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
101651 for ac_func in _ldexpl
101653 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101654 echo "$as_me:$LINENO: checking for $ac_func" >&5
101655 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101656 if eval "test \"\${$as_ac_var+set}\" = set"; then
101657 echo $ECHO_N "(cached) $ECHO_C" >&6
101659 if test x$gcc_no_link = xyes; then
101660 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101661 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101662 { (exit 1); exit 1; }; }
101664 cat >conftest.$ac_ext <<_ACEOF
101665 /* confdefs.h. */
101666 _ACEOF
101667 cat confdefs.h >>conftest.$ac_ext
101668 cat >>conftest.$ac_ext <<_ACEOF
101669 /* end confdefs.h. */
101670 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101671 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101672 #define $ac_func innocuous_$ac_func
101674 /* System header to define __stub macros and hopefully few prototypes,
101675 which can conflict with char $ac_func (); below.
101676 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101677 <limits.h> exists even on freestanding compilers. */
101679 #ifdef __STDC__
101680 # include <limits.h>
101681 #else
101682 # include <assert.h>
101683 #endif
101685 #undef $ac_func
101687 /* Override any gcc2 internal prototype to avoid an error. */
101688 #ifdef __cplusplus
101689 extern "C"
101691 #endif
101692 /* We use char because int might match the return type of a gcc2
101693 builtin and then its argument prototype would still apply. */
101694 char $ac_func ();
101695 /* The GNU C library defines this for functions which it implements
101696 to always fail with ENOSYS. Some functions are actually named
101697 something starting with __ and the normal name is an alias. */
101698 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101699 choke me
101700 #else
101701 char (*f) () = $ac_func;
101702 #endif
101703 #ifdef __cplusplus
101705 #endif
101708 main ()
101710 return f != $ac_func;
101712 return 0;
101714 _ACEOF
101715 rm -f conftest.$ac_objext conftest$ac_exeext
101716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101717 (eval $ac_link) 2>conftest.er1
101718 ac_status=$?
101719 grep -v '^ *+' conftest.er1 >conftest.err
101720 rm -f conftest.er1
101721 cat conftest.err >&5
101722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101723 (exit $ac_status); } &&
101724 { ac_try='test -z "$ac_c_werror_flag"
101725 || test ! -s conftest.err'
101726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101727 (eval $ac_try) 2>&5
101728 ac_status=$?
101729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101730 (exit $ac_status); }; } &&
101731 { ac_try='test -s conftest$ac_exeext'
101732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101733 (eval $ac_try) 2>&5
101734 ac_status=$?
101735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101736 (exit $ac_status); }; }; then
101737 eval "$as_ac_var=yes"
101739 echo "$as_me: failed program was:" >&5
101740 sed 's/^/| /' conftest.$ac_ext >&5
101742 eval "$as_ac_var=no"
101744 rm -f conftest.err conftest.$ac_objext \
101745 conftest$ac_exeext conftest.$ac_ext
101747 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101748 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101749 if test `eval echo '${'$as_ac_var'}'` = yes; then
101750 cat >>confdefs.h <<_ACEOF
101751 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101752 _ACEOF
101765 echo "$as_me:$LINENO: checking for logl declaration" >&5
101766 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
101767 if test x${glibcxx_cv_func_logl_use+set} != xset; then
101768 if test "${glibcxx_cv_func_logl_use+set}" = set; then
101769 echo $ECHO_N "(cached) $ECHO_C" >&6
101774 ac_ext=cc
101775 ac_cpp='$CXXCPP $CPPFLAGS'
101776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101780 cat >conftest.$ac_ext <<_ACEOF
101781 /* confdefs.h. */
101782 _ACEOF
101783 cat confdefs.h >>conftest.$ac_ext
101784 cat >>conftest.$ac_ext <<_ACEOF
101785 /* end confdefs.h. */
101786 #include <math.h>
101787 #ifdef HAVE_IEEEFP_H
101788 #include <ieeefp.h>
101789 #endif
101792 main ()
101794 logl(0);
101796 return 0;
101798 _ACEOF
101799 rm -f conftest.$ac_objext
101800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101801 (eval $ac_compile) 2>conftest.er1
101802 ac_status=$?
101803 grep -v '^ *+' conftest.er1 >conftest.err
101804 rm -f conftest.er1
101805 cat conftest.err >&5
101806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101807 (exit $ac_status); } &&
101808 { ac_try='test -z "$ac_cxx_werror_flag"
101809 || test ! -s conftest.err'
101810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101811 (eval $ac_try) 2>&5
101812 ac_status=$?
101813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101814 (exit $ac_status); }; } &&
101815 { ac_try='test -s conftest.$ac_objext'
101816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101817 (eval $ac_try) 2>&5
101818 ac_status=$?
101819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101820 (exit $ac_status); }; }; then
101821 glibcxx_cv_func_logl_use=yes
101823 echo "$as_me: failed program was:" >&5
101824 sed 's/^/| /' conftest.$ac_ext >&5
101826 glibcxx_cv_func_logl_use=no
101828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101829 ac_ext=c
101830 ac_cpp='$CPP $CPPFLAGS'
101831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101839 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
101840 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
101842 if test x$glibcxx_cv_func_logl_use = x"yes"; then
101844 for ac_func in logl
101846 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101847 echo "$as_me:$LINENO: checking for $ac_func" >&5
101848 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101849 if eval "test \"\${$as_ac_var+set}\" = set"; then
101850 echo $ECHO_N "(cached) $ECHO_C" >&6
101852 if test x$gcc_no_link = xyes; then
101853 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101854 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101855 { (exit 1); exit 1; }; }
101857 cat >conftest.$ac_ext <<_ACEOF
101858 /* confdefs.h. */
101859 _ACEOF
101860 cat confdefs.h >>conftest.$ac_ext
101861 cat >>conftest.$ac_ext <<_ACEOF
101862 /* end confdefs.h. */
101863 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101864 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101865 #define $ac_func innocuous_$ac_func
101867 /* System header to define __stub macros and hopefully few prototypes,
101868 which can conflict with char $ac_func (); below.
101869 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101870 <limits.h> exists even on freestanding compilers. */
101872 #ifdef __STDC__
101873 # include <limits.h>
101874 #else
101875 # include <assert.h>
101876 #endif
101878 #undef $ac_func
101880 /* Override any gcc2 internal prototype to avoid an error. */
101881 #ifdef __cplusplus
101882 extern "C"
101884 #endif
101885 /* We use char because int might match the return type of a gcc2
101886 builtin and then its argument prototype would still apply. */
101887 char $ac_func ();
101888 /* The GNU C library defines this for functions which it implements
101889 to always fail with ENOSYS. Some functions are actually named
101890 something starting with __ and the normal name is an alias. */
101891 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101892 choke me
101893 #else
101894 char (*f) () = $ac_func;
101895 #endif
101896 #ifdef __cplusplus
101898 #endif
101901 main ()
101903 return f != $ac_func;
101905 return 0;
101907 _ACEOF
101908 rm -f conftest.$ac_objext conftest$ac_exeext
101909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101910 (eval $ac_link) 2>conftest.er1
101911 ac_status=$?
101912 grep -v '^ *+' conftest.er1 >conftest.err
101913 rm -f conftest.er1
101914 cat conftest.err >&5
101915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101916 (exit $ac_status); } &&
101917 { ac_try='test -z "$ac_c_werror_flag"
101918 || test ! -s conftest.err'
101919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101920 (eval $ac_try) 2>&5
101921 ac_status=$?
101922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101923 (exit $ac_status); }; } &&
101924 { ac_try='test -s conftest$ac_exeext'
101925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101926 (eval $ac_try) 2>&5
101927 ac_status=$?
101928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101929 (exit $ac_status); }; }; then
101930 eval "$as_ac_var=yes"
101932 echo "$as_me: failed program was:" >&5
101933 sed 's/^/| /' conftest.$ac_ext >&5
101935 eval "$as_ac_var=no"
101937 rm -f conftest.err conftest.$ac_objext \
101938 conftest$ac_exeext conftest.$ac_ext
101940 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101941 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101942 if test `eval echo '${'$as_ac_var'}'` = yes; then
101943 cat >>confdefs.h <<_ACEOF
101944 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101945 _ACEOF
101952 echo "$as_me:$LINENO: checking for _logl declaration" >&5
101953 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
101954 if test x${glibcxx_cv_func__logl_use+set} != xset; then
101955 if test "${glibcxx_cv_func__logl_use+set}" = set; then
101956 echo $ECHO_N "(cached) $ECHO_C" >&6
101961 ac_ext=cc
101962 ac_cpp='$CXXCPP $CPPFLAGS'
101963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101967 cat >conftest.$ac_ext <<_ACEOF
101968 /* confdefs.h. */
101969 _ACEOF
101970 cat confdefs.h >>conftest.$ac_ext
101971 cat >>conftest.$ac_ext <<_ACEOF
101972 /* end confdefs.h. */
101973 #include <math.h>
101974 #ifdef HAVE_IEEEFP_H
101975 #include <ieeefp.h>
101976 #endif
101979 main ()
101981 _logl(0);
101983 return 0;
101985 _ACEOF
101986 rm -f conftest.$ac_objext
101987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101988 (eval $ac_compile) 2>conftest.er1
101989 ac_status=$?
101990 grep -v '^ *+' conftest.er1 >conftest.err
101991 rm -f conftest.er1
101992 cat conftest.err >&5
101993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101994 (exit $ac_status); } &&
101995 { ac_try='test -z "$ac_cxx_werror_flag"
101996 || test ! -s conftest.err'
101997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101998 (eval $ac_try) 2>&5
101999 ac_status=$?
102000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102001 (exit $ac_status); }; } &&
102002 { ac_try='test -s conftest.$ac_objext'
102003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102004 (eval $ac_try) 2>&5
102005 ac_status=$?
102006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102007 (exit $ac_status); }; }; then
102008 glibcxx_cv_func__logl_use=yes
102010 echo "$as_me: failed program was:" >&5
102011 sed 's/^/| /' conftest.$ac_ext >&5
102013 glibcxx_cv_func__logl_use=no
102015 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102016 ac_ext=c
102017 ac_cpp='$CPP $CPPFLAGS'
102018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102026 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
102027 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
102029 if test x$glibcxx_cv_func__logl_use = x"yes"; then
102031 for ac_func in _logl
102033 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102034 echo "$as_me:$LINENO: checking for $ac_func" >&5
102035 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102036 if eval "test \"\${$as_ac_var+set}\" = set"; then
102037 echo $ECHO_N "(cached) $ECHO_C" >&6
102039 if test x$gcc_no_link = xyes; then
102040 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102041 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102042 { (exit 1); exit 1; }; }
102044 cat >conftest.$ac_ext <<_ACEOF
102045 /* confdefs.h. */
102046 _ACEOF
102047 cat confdefs.h >>conftest.$ac_ext
102048 cat >>conftest.$ac_ext <<_ACEOF
102049 /* end confdefs.h. */
102050 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102051 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102052 #define $ac_func innocuous_$ac_func
102054 /* System header to define __stub macros and hopefully few prototypes,
102055 which can conflict with char $ac_func (); below.
102056 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102057 <limits.h> exists even on freestanding compilers. */
102059 #ifdef __STDC__
102060 # include <limits.h>
102061 #else
102062 # include <assert.h>
102063 #endif
102065 #undef $ac_func
102067 /* Override any gcc2 internal prototype to avoid an error. */
102068 #ifdef __cplusplus
102069 extern "C"
102071 #endif
102072 /* We use char because int might match the return type of a gcc2
102073 builtin and then its argument prototype would still apply. */
102074 char $ac_func ();
102075 /* The GNU C library defines this for functions which it implements
102076 to always fail with ENOSYS. Some functions are actually named
102077 something starting with __ and the normal name is an alias. */
102078 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102079 choke me
102080 #else
102081 char (*f) () = $ac_func;
102082 #endif
102083 #ifdef __cplusplus
102085 #endif
102088 main ()
102090 return f != $ac_func;
102092 return 0;
102094 _ACEOF
102095 rm -f conftest.$ac_objext conftest$ac_exeext
102096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102097 (eval $ac_link) 2>conftest.er1
102098 ac_status=$?
102099 grep -v '^ *+' conftest.er1 >conftest.err
102100 rm -f conftest.er1
102101 cat conftest.err >&5
102102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102103 (exit $ac_status); } &&
102104 { ac_try='test -z "$ac_c_werror_flag"
102105 || test ! -s conftest.err'
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); }; } &&
102111 { ac_try='test -s conftest$ac_exeext'
102112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102113 (eval $ac_try) 2>&5
102114 ac_status=$?
102115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102116 (exit $ac_status); }; }; then
102117 eval "$as_ac_var=yes"
102119 echo "$as_me: failed program was:" >&5
102120 sed 's/^/| /' conftest.$ac_ext >&5
102122 eval "$as_ac_var=no"
102124 rm -f conftest.err conftest.$ac_objext \
102125 conftest$ac_exeext conftest.$ac_ext
102127 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102128 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102129 if test `eval echo '${'$as_ac_var'}'` = yes; then
102130 cat >>confdefs.h <<_ACEOF
102131 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102132 _ACEOF
102145 echo "$as_me:$LINENO: checking for log10l declaration" >&5
102146 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
102147 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
102148 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
102149 echo $ECHO_N "(cached) $ECHO_C" >&6
102154 ac_ext=cc
102155 ac_cpp='$CXXCPP $CPPFLAGS'
102156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102160 cat >conftest.$ac_ext <<_ACEOF
102161 /* confdefs.h. */
102162 _ACEOF
102163 cat confdefs.h >>conftest.$ac_ext
102164 cat >>conftest.$ac_ext <<_ACEOF
102165 /* end confdefs.h. */
102166 #include <math.h>
102167 #ifdef HAVE_IEEEFP_H
102168 #include <ieeefp.h>
102169 #endif
102172 main ()
102174 log10l(0);
102176 return 0;
102178 _ACEOF
102179 rm -f conftest.$ac_objext
102180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102181 (eval $ac_compile) 2>conftest.er1
102182 ac_status=$?
102183 grep -v '^ *+' conftest.er1 >conftest.err
102184 rm -f conftest.er1
102185 cat conftest.err >&5
102186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102187 (exit $ac_status); } &&
102188 { ac_try='test -z "$ac_cxx_werror_flag"
102189 || test ! -s conftest.err'
102190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102191 (eval $ac_try) 2>&5
102192 ac_status=$?
102193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102194 (exit $ac_status); }; } &&
102195 { ac_try='test -s conftest.$ac_objext'
102196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102197 (eval $ac_try) 2>&5
102198 ac_status=$?
102199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102200 (exit $ac_status); }; }; then
102201 glibcxx_cv_func_log10l_use=yes
102203 echo "$as_me: failed program was:" >&5
102204 sed 's/^/| /' conftest.$ac_ext >&5
102206 glibcxx_cv_func_log10l_use=no
102208 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102209 ac_ext=c
102210 ac_cpp='$CPP $CPPFLAGS'
102211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102219 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
102220 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
102222 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
102224 for ac_func in log10l
102226 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102227 echo "$as_me:$LINENO: checking for $ac_func" >&5
102228 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102229 if eval "test \"\${$as_ac_var+set}\" = set"; then
102230 echo $ECHO_N "(cached) $ECHO_C" >&6
102232 if test x$gcc_no_link = xyes; then
102233 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102234 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102235 { (exit 1); exit 1; }; }
102237 cat >conftest.$ac_ext <<_ACEOF
102238 /* confdefs.h. */
102239 _ACEOF
102240 cat confdefs.h >>conftest.$ac_ext
102241 cat >>conftest.$ac_ext <<_ACEOF
102242 /* end confdefs.h. */
102243 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102244 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102245 #define $ac_func innocuous_$ac_func
102247 /* System header to define __stub macros and hopefully few prototypes,
102248 which can conflict with char $ac_func (); below.
102249 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102250 <limits.h> exists even on freestanding compilers. */
102252 #ifdef __STDC__
102253 # include <limits.h>
102254 #else
102255 # include <assert.h>
102256 #endif
102258 #undef $ac_func
102260 /* Override any gcc2 internal prototype to avoid an error. */
102261 #ifdef __cplusplus
102262 extern "C"
102264 #endif
102265 /* We use char because int might match the return type of a gcc2
102266 builtin and then its argument prototype would still apply. */
102267 char $ac_func ();
102268 /* The GNU C library defines this for functions which it implements
102269 to always fail with ENOSYS. Some functions are actually named
102270 something starting with __ and the normal name is an alias. */
102271 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102272 choke me
102273 #else
102274 char (*f) () = $ac_func;
102275 #endif
102276 #ifdef __cplusplus
102278 #endif
102281 main ()
102283 return f != $ac_func;
102285 return 0;
102287 _ACEOF
102288 rm -f conftest.$ac_objext conftest$ac_exeext
102289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102290 (eval $ac_link) 2>conftest.er1
102291 ac_status=$?
102292 grep -v '^ *+' conftest.er1 >conftest.err
102293 rm -f conftest.er1
102294 cat conftest.err >&5
102295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102296 (exit $ac_status); } &&
102297 { ac_try='test -z "$ac_c_werror_flag"
102298 || test ! -s conftest.err'
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); }; } &&
102304 { ac_try='test -s conftest$ac_exeext'
102305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102306 (eval $ac_try) 2>&5
102307 ac_status=$?
102308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102309 (exit $ac_status); }; }; then
102310 eval "$as_ac_var=yes"
102312 echo "$as_me: failed program was:" >&5
102313 sed 's/^/| /' conftest.$ac_ext >&5
102315 eval "$as_ac_var=no"
102317 rm -f conftest.err conftest.$ac_objext \
102318 conftest$ac_exeext conftest.$ac_ext
102320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102321 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102322 if test `eval echo '${'$as_ac_var'}'` = yes; then
102323 cat >>confdefs.h <<_ACEOF
102324 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102325 _ACEOF
102332 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
102333 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
102334 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
102335 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
102336 echo $ECHO_N "(cached) $ECHO_C" >&6
102341 ac_ext=cc
102342 ac_cpp='$CXXCPP $CPPFLAGS'
102343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102347 cat >conftest.$ac_ext <<_ACEOF
102348 /* confdefs.h. */
102349 _ACEOF
102350 cat confdefs.h >>conftest.$ac_ext
102351 cat >>conftest.$ac_ext <<_ACEOF
102352 /* end confdefs.h. */
102353 #include <math.h>
102354 #ifdef HAVE_IEEEFP_H
102355 #include <ieeefp.h>
102356 #endif
102359 main ()
102361 _log10l(0);
102363 return 0;
102365 _ACEOF
102366 rm -f conftest.$ac_objext
102367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102368 (eval $ac_compile) 2>conftest.er1
102369 ac_status=$?
102370 grep -v '^ *+' conftest.er1 >conftest.err
102371 rm -f conftest.er1
102372 cat conftest.err >&5
102373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102374 (exit $ac_status); } &&
102375 { ac_try='test -z "$ac_cxx_werror_flag"
102376 || test ! -s conftest.err'
102377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102378 (eval $ac_try) 2>&5
102379 ac_status=$?
102380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102381 (exit $ac_status); }; } &&
102382 { ac_try='test -s conftest.$ac_objext'
102383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102384 (eval $ac_try) 2>&5
102385 ac_status=$?
102386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102387 (exit $ac_status); }; }; then
102388 glibcxx_cv_func__log10l_use=yes
102390 echo "$as_me: failed program was:" >&5
102391 sed 's/^/| /' conftest.$ac_ext >&5
102393 glibcxx_cv_func__log10l_use=no
102395 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102396 ac_ext=c
102397 ac_cpp='$CPP $CPPFLAGS'
102398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102406 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
102407 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
102409 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
102411 for ac_func in _log10l
102413 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102414 echo "$as_me:$LINENO: checking for $ac_func" >&5
102415 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102416 if eval "test \"\${$as_ac_var+set}\" = set"; then
102417 echo $ECHO_N "(cached) $ECHO_C" >&6
102419 if test x$gcc_no_link = xyes; then
102420 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102421 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102422 { (exit 1); exit 1; }; }
102424 cat >conftest.$ac_ext <<_ACEOF
102425 /* confdefs.h. */
102426 _ACEOF
102427 cat confdefs.h >>conftest.$ac_ext
102428 cat >>conftest.$ac_ext <<_ACEOF
102429 /* end confdefs.h. */
102430 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102431 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102432 #define $ac_func innocuous_$ac_func
102434 /* System header to define __stub macros and hopefully few prototypes,
102435 which can conflict with char $ac_func (); below.
102436 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102437 <limits.h> exists even on freestanding compilers. */
102439 #ifdef __STDC__
102440 # include <limits.h>
102441 #else
102442 # include <assert.h>
102443 #endif
102445 #undef $ac_func
102447 /* Override any gcc2 internal prototype to avoid an error. */
102448 #ifdef __cplusplus
102449 extern "C"
102451 #endif
102452 /* We use char because int might match the return type of a gcc2
102453 builtin and then its argument prototype would still apply. */
102454 char $ac_func ();
102455 /* The GNU C library defines this for functions which it implements
102456 to always fail with ENOSYS. Some functions are actually named
102457 something starting with __ and the normal name is an alias. */
102458 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102459 choke me
102460 #else
102461 char (*f) () = $ac_func;
102462 #endif
102463 #ifdef __cplusplus
102465 #endif
102468 main ()
102470 return f != $ac_func;
102472 return 0;
102474 _ACEOF
102475 rm -f conftest.$ac_objext conftest$ac_exeext
102476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102477 (eval $ac_link) 2>conftest.er1
102478 ac_status=$?
102479 grep -v '^ *+' conftest.er1 >conftest.err
102480 rm -f conftest.er1
102481 cat conftest.err >&5
102482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102483 (exit $ac_status); } &&
102484 { ac_try='test -z "$ac_c_werror_flag"
102485 || test ! -s conftest.err'
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); }; } &&
102491 { ac_try='test -s conftest$ac_exeext'
102492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102493 (eval $ac_try) 2>&5
102494 ac_status=$?
102495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102496 (exit $ac_status); }; }; then
102497 eval "$as_ac_var=yes"
102499 echo "$as_me: failed program was:" >&5
102500 sed 's/^/| /' conftest.$ac_ext >&5
102502 eval "$as_ac_var=no"
102504 rm -f conftest.err conftest.$ac_objext \
102505 conftest$ac_exeext conftest.$ac_ext
102507 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102508 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102509 if test `eval echo '${'$as_ac_var'}'` = yes; then
102510 cat >>confdefs.h <<_ACEOF
102511 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102512 _ACEOF
102525 echo "$as_me:$LINENO: checking for modfl declaration" >&5
102526 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
102527 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
102528 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
102529 echo $ECHO_N "(cached) $ECHO_C" >&6
102534 ac_ext=cc
102535 ac_cpp='$CXXCPP $CPPFLAGS'
102536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102540 cat >conftest.$ac_ext <<_ACEOF
102541 /* confdefs.h. */
102542 _ACEOF
102543 cat confdefs.h >>conftest.$ac_ext
102544 cat >>conftest.$ac_ext <<_ACEOF
102545 /* end confdefs.h. */
102546 #include <math.h>
102548 main ()
102550 modfl(0, 0);
102552 return 0;
102554 _ACEOF
102555 rm -f conftest.$ac_objext
102556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102557 (eval $ac_compile) 2>conftest.er1
102558 ac_status=$?
102559 grep -v '^ *+' conftest.er1 >conftest.err
102560 rm -f conftest.er1
102561 cat conftest.err >&5
102562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102563 (exit $ac_status); } &&
102564 { ac_try='test -z "$ac_cxx_werror_flag"
102565 || test ! -s conftest.err'
102566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102567 (eval $ac_try) 2>&5
102568 ac_status=$?
102569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102570 (exit $ac_status); }; } &&
102571 { ac_try='test -s conftest.$ac_objext'
102572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102573 (eval $ac_try) 2>&5
102574 ac_status=$?
102575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102576 (exit $ac_status); }; }; then
102577 glibcxx_cv_func_modfl_use=yes
102579 echo "$as_me: failed program was:" >&5
102580 sed 's/^/| /' conftest.$ac_ext >&5
102582 glibcxx_cv_func_modfl_use=no
102584 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102585 ac_ext=c
102586 ac_cpp='$CPP $CPPFLAGS'
102587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102595 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
102596 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
102598 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
102600 for ac_func in modfl
102602 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102603 echo "$as_me:$LINENO: checking for $ac_func" >&5
102604 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102605 if eval "test \"\${$as_ac_var+set}\" = set"; then
102606 echo $ECHO_N "(cached) $ECHO_C" >&6
102608 if test x$gcc_no_link = xyes; then
102609 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102610 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102611 { (exit 1); exit 1; }; }
102613 cat >conftest.$ac_ext <<_ACEOF
102614 /* confdefs.h. */
102615 _ACEOF
102616 cat confdefs.h >>conftest.$ac_ext
102617 cat >>conftest.$ac_ext <<_ACEOF
102618 /* end confdefs.h. */
102619 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102620 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102621 #define $ac_func innocuous_$ac_func
102623 /* System header to define __stub macros and hopefully few prototypes,
102624 which can conflict with char $ac_func (); below.
102625 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102626 <limits.h> exists even on freestanding compilers. */
102628 #ifdef __STDC__
102629 # include <limits.h>
102630 #else
102631 # include <assert.h>
102632 #endif
102634 #undef $ac_func
102636 /* Override any gcc2 internal prototype to avoid an error. */
102637 #ifdef __cplusplus
102638 extern "C"
102640 #endif
102641 /* We use char because int might match the return type of a gcc2
102642 builtin and then its argument prototype would still apply. */
102643 char $ac_func ();
102644 /* The GNU C library defines this for functions which it implements
102645 to always fail with ENOSYS. Some functions are actually named
102646 something starting with __ and the normal name is an alias. */
102647 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102648 choke me
102649 #else
102650 char (*f) () = $ac_func;
102651 #endif
102652 #ifdef __cplusplus
102654 #endif
102657 main ()
102659 return f != $ac_func;
102661 return 0;
102663 _ACEOF
102664 rm -f conftest.$ac_objext conftest$ac_exeext
102665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102666 (eval $ac_link) 2>conftest.er1
102667 ac_status=$?
102668 grep -v '^ *+' conftest.er1 >conftest.err
102669 rm -f conftest.er1
102670 cat conftest.err >&5
102671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102672 (exit $ac_status); } &&
102673 { ac_try='test -z "$ac_c_werror_flag"
102674 || test ! -s conftest.err'
102675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102676 (eval $ac_try) 2>&5
102677 ac_status=$?
102678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102679 (exit $ac_status); }; } &&
102680 { ac_try='test -s conftest$ac_exeext'
102681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102682 (eval $ac_try) 2>&5
102683 ac_status=$?
102684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102685 (exit $ac_status); }; }; then
102686 eval "$as_ac_var=yes"
102688 echo "$as_me: failed program was:" >&5
102689 sed 's/^/| /' conftest.$ac_ext >&5
102691 eval "$as_ac_var=no"
102693 rm -f conftest.err conftest.$ac_objext \
102694 conftest$ac_exeext conftest.$ac_ext
102696 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102697 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102698 if test `eval echo '${'$as_ac_var'}'` = yes; then
102699 cat >>confdefs.h <<_ACEOF
102700 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102701 _ACEOF
102708 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
102709 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
102710 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
102711 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
102712 echo $ECHO_N "(cached) $ECHO_C" >&6
102717 ac_ext=cc
102718 ac_cpp='$CXXCPP $CPPFLAGS'
102719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102723 cat >conftest.$ac_ext <<_ACEOF
102724 /* confdefs.h. */
102725 _ACEOF
102726 cat confdefs.h >>conftest.$ac_ext
102727 cat >>conftest.$ac_ext <<_ACEOF
102728 /* end confdefs.h. */
102729 #include <math.h>
102731 main ()
102733 _modfl(0, 0);
102735 return 0;
102737 _ACEOF
102738 rm -f conftest.$ac_objext
102739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102740 (eval $ac_compile) 2>conftest.er1
102741 ac_status=$?
102742 grep -v '^ *+' conftest.er1 >conftest.err
102743 rm -f conftest.er1
102744 cat conftest.err >&5
102745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102746 (exit $ac_status); } &&
102747 { ac_try='test -z "$ac_cxx_werror_flag"
102748 || test ! -s conftest.err'
102749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102750 (eval $ac_try) 2>&5
102751 ac_status=$?
102752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102753 (exit $ac_status); }; } &&
102754 { ac_try='test -s conftest.$ac_objext'
102755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102756 (eval $ac_try) 2>&5
102757 ac_status=$?
102758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102759 (exit $ac_status); }; }; then
102760 glibcxx_cv_func__modfl_use=yes
102762 echo "$as_me: failed program was:" >&5
102763 sed 's/^/| /' conftest.$ac_ext >&5
102765 glibcxx_cv_func__modfl_use=no
102767 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102768 ac_ext=c
102769 ac_cpp='$CPP $CPPFLAGS'
102770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102778 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
102779 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
102781 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
102783 for ac_func in _modfl
102785 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102786 echo "$as_me:$LINENO: checking for $ac_func" >&5
102787 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102788 if eval "test \"\${$as_ac_var+set}\" = set"; then
102789 echo $ECHO_N "(cached) $ECHO_C" >&6
102791 if test x$gcc_no_link = xyes; then
102792 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102793 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102794 { (exit 1); exit 1; }; }
102796 cat >conftest.$ac_ext <<_ACEOF
102797 /* confdefs.h. */
102798 _ACEOF
102799 cat confdefs.h >>conftest.$ac_ext
102800 cat >>conftest.$ac_ext <<_ACEOF
102801 /* end confdefs.h. */
102802 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102803 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102804 #define $ac_func innocuous_$ac_func
102806 /* System header to define __stub macros and hopefully few prototypes,
102807 which can conflict with char $ac_func (); below.
102808 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102809 <limits.h> exists even on freestanding compilers. */
102811 #ifdef __STDC__
102812 # include <limits.h>
102813 #else
102814 # include <assert.h>
102815 #endif
102817 #undef $ac_func
102819 /* Override any gcc2 internal prototype to avoid an error. */
102820 #ifdef __cplusplus
102821 extern "C"
102823 #endif
102824 /* We use char because int might match the return type of a gcc2
102825 builtin and then its argument prototype would still apply. */
102826 char $ac_func ();
102827 /* The GNU C library defines this for functions which it implements
102828 to always fail with ENOSYS. Some functions are actually named
102829 something starting with __ and the normal name is an alias. */
102830 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102831 choke me
102832 #else
102833 char (*f) () = $ac_func;
102834 #endif
102835 #ifdef __cplusplus
102837 #endif
102840 main ()
102842 return f != $ac_func;
102844 return 0;
102846 _ACEOF
102847 rm -f conftest.$ac_objext conftest$ac_exeext
102848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102849 (eval $ac_link) 2>conftest.er1
102850 ac_status=$?
102851 grep -v '^ *+' conftest.er1 >conftest.err
102852 rm -f conftest.er1
102853 cat conftest.err >&5
102854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102855 (exit $ac_status); } &&
102856 { ac_try='test -z "$ac_c_werror_flag"
102857 || test ! -s conftest.err'
102858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102859 (eval $ac_try) 2>&5
102860 ac_status=$?
102861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102862 (exit $ac_status); }; } &&
102863 { ac_try='test -s conftest$ac_exeext'
102864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102865 (eval $ac_try) 2>&5
102866 ac_status=$?
102867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102868 (exit $ac_status); }; }; then
102869 eval "$as_ac_var=yes"
102871 echo "$as_me: failed program was:" >&5
102872 sed 's/^/| /' conftest.$ac_ext >&5
102874 eval "$as_ac_var=no"
102876 rm -f conftest.err conftest.$ac_objext \
102877 conftest$ac_exeext conftest.$ac_ext
102879 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102880 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102881 if test `eval echo '${'$as_ac_var'}'` = yes; then
102882 cat >>confdefs.h <<_ACEOF
102883 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102884 _ACEOF
102897 echo "$as_me:$LINENO: checking for powl declaration" >&5
102898 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
102899 if test x${glibcxx_cv_func_powl_use+set} != xset; then
102900 if test "${glibcxx_cv_func_powl_use+set}" = set; then
102901 echo $ECHO_N "(cached) $ECHO_C" >&6
102906 ac_ext=cc
102907 ac_cpp='$CXXCPP $CPPFLAGS'
102908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102912 cat >conftest.$ac_ext <<_ACEOF
102913 /* confdefs.h. */
102914 _ACEOF
102915 cat confdefs.h >>conftest.$ac_ext
102916 cat >>conftest.$ac_ext <<_ACEOF
102917 /* end confdefs.h. */
102918 #include <math.h>
102920 main ()
102922 powl(0, 0);
102924 return 0;
102926 _ACEOF
102927 rm -f conftest.$ac_objext
102928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102929 (eval $ac_compile) 2>conftest.er1
102930 ac_status=$?
102931 grep -v '^ *+' conftest.er1 >conftest.err
102932 rm -f conftest.er1
102933 cat conftest.err >&5
102934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102935 (exit $ac_status); } &&
102936 { ac_try='test -z "$ac_cxx_werror_flag"
102937 || test ! -s conftest.err'
102938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102939 (eval $ac_try) 2>&5
102940 ac_status=$?
102941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102942 (exit $ac_status); }; } &&
102943 { ac_try='test -s conftest.$ac_objext'
102944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102945 (eval $ac_try) 2>&5
102946 ac_status=$?
102947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102948 (exit $ac_status); }; }; then
102949 glibcxx_cv_func_powl_use=yes
102951 echo "$as_me: failed program was:" >&5
102952 sed 's/^/| /' conftest.$ac_ext >&5
102954 glibcxx_cv_func_powl_use=no
102956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102957 ac_ext=c
102958 ac_cpp='$CPP $CPPFLAGS'
102959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102967 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
102968 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
102970 if test x$glibcxx_cv_func_powl_use = x"yes"; then
102972 for ac_func in powl
102974 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102975 echo "$as_me:$LINENO: checking for $ac_func" >&5
102976 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102977 if eval "test \"\${$as_ac_var+set}\" = set"; then
102978 echo $ECHO_N "(cached) $ECHO_C" >&6
102980 if test x$gcc_no_link = xyes; then
102981 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102982 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102983 { (exit 1); exit 1; }; }
102985 cat >conftest.$ac_ext <<_ACEOF
102986 /* confdefs.h. */
102987 _ACEOF
102988 cat confdefs.h >>conftest.$ac_ext
102989 cat >>conftest.$ac_ext <<_ACEOF
102990 /* end confdefs.h. */
102991 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102992 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102993 #define $ac_func innocuous_$ac_func
102995 /* System header to define __stub macros and hopefully few prototypes,
102996 which can conflict with char $ac_func (); below.
102997 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102998 <limits.h> exists even on freestanding compilers. */
103000 #ifdef __STDC__
103001 # include <limits.h>
103002 #else
103003 # include <assert.h>
103004 #endif
103006 #undef $ac_func
103008 /* Override any gcc2 internal prototype to avoid an error. */
103009 #ifdef __cplusplus
103010 extern "C"
103012 #endif
103013 /* We use char because int might match the return type of a gcc2
103014 builtin and then its argument prototype would still apply. */
103015 char $ac_func ();
103016 /* The GNU C library defines this for functions which it implements
103017 to always fail with ENOSYS. Some functions are actually named
103018 something starting with __ and the normal name is an alias. */
103019 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103020 choke me
103021 #else
103022 char (*f) () = $ac_func;
103023 #endif
103024 #ifdef __cplusplus
103026 #endif
103029 main ()
103031 return f != $ac_func;
103033 return 0;
103035 _ACEOF
103036 rm -f conftest.$ac_objext conftest$ac_exeext
103037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103038 (eval $ac_link) 2>conftest.er1
103039 ac_status=$?
103040 grep -v '^ *+' conftest.er1 >conftest.err
103041 rm -f conftest.er1
103042 cat conftest.err >&5
103043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103044 (exit $ac_status); } &&
103045 { ac_try='test -z "$ac_c_werror_flag"
103046 || test ! -s conftest.err'
103047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103048 (eval $ac_try) 2>&5
103049 ac_status=$?
103050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103051 (exit $ac_status); }; } &&
103052 { ac_try='test -s conftest$ac_exeext'
103053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103054 (eval $ac_try) 2>&5
103055 ac_status=$?
103056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103057 (exit $ac_status); }; }; then
103058 eval "$as_ac_var=yes"
103060 echo "$as_me: failed program was:" >&5
103061 sed 's/^/| /' conftest.$ac_ext >&5
103063 eval "$as_ac_var=no"
103065 rm -f conftest.err conftest.$ac_objext \
103066 conftest$ac_exeext conftest.$ac_ext
103068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103069 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103070 if test `eval echo '${'$as_ac_var'}'` = yes; then
103071 cat >>confdefs.h <<_ACEOF
103072 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103073 _ACEOF
103080 echo "$as_me:$LINENO: checking for _powl declaration" >&5
103081 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
103082 if test x${glibcxx_cv_func__powl_use+set} != xset; then
103083 if test "${glibcxx_cv_func__powl_use+set}" = set; then
103084 echo $ECHO_N "(cached) $ECHO_C" >&6
103089 ac_ext=cc
103090 ac_cpp='$CXXCPP $CPPFLAGS'
103091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103095 cat >conftest.$ac_ext <<_ACEOF
103096 /* confdefs.h. */
103097 _ACEOF
103098 cat confdefs.h >>conftest.$ac_ext
103099 cat >>conftest.$ac_ext <<_ACEOF
103100 /* end confdefs.h. */
103101 #include <math.h>
103103 main ()
103105 _powl(0, 0);
103107 return 0;
103109 _ACEOF
103110 rm -f conftest.$ac_objext
103111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103112 (eval $ac_compile) 2>conftest.er1
103113 ac_status=$?
103114 grep -v '^ *+' conftest.er1 >conftest.err
103115 rm -f conftest.er1
103116 cat conftest.err >&5
103117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103118 (exit $ac_status); } &&
103119 { ac_try='test -z "$ac_cxx_werror_flag"
103120 || test ! -s conftest.err'
103121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103122 (eval $ac_try) 2>&5
103123 ac_status=$?
103124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103125 (exit $ac_status); }; } &&
103126 { ac_try='test -s conftest.$ac_objext'
103127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103128 (eval $ac_try) 2>&5
103129 ac_status=$?
103130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103131 (exit $ac_status); }; }; then
103132 glibcxx_cv_func__powl_use=yes
103134 echo "$as_me: failed program was:" >&5
103135 sed 's/^/| /' conftest.$ac_ext >&5
103137 glibcxx_cv_func__powl_use=no
103139 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103140 ac_ext=c
103141 ac_cpp='$CPP $CPPFLAGS'
103142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103150 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
103151 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
103153 if test x$glibcxx_cv_func__powl_use = x"yes"; then
103155 for ac_func in _powl
103157 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103158 echo "$as_me:$LINENO: checking for $ac_func" >&5
103159 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103160 if eval "test \"\${$as_ac_var+set}\" = set"; then
103161 echo $ECHO_N "(cached) $ECHO_C" >&6
103163 if test x$gcc_no_link = xyes; then
103164 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103165 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103166 { (exit 1); exit 1; }; }
103168 cat >conftest.$ac_ext <<_ACEOF
103169 /* confdefs.h. */
103170 _ACEOF
103171 cat confdefs.h >>conftest.$ac_ext
103172 cat >>conftest.$ac_ext <<_ACEOF
103173 /* end confdefs.h. */
103174 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103175 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103176 #define $ac_func innocuous_$ac_func
103178 /* System header to define __stub macros and hopefully few prototypes,
103179 which can conflict with char $ac_func (); below.
103180 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103181 <limits.h> exists even on freestanding compilers. */
103183 #ifdef __STDC__
103184 # include <limits.h>
103185 #else
103186 # include <assert.h>
103187 #endif
103189 #undef $ac_func
103191 /* Override any gcc2 internal prototype to avoid an error. */
103192 #ifdef __cplusplus
103193 extern "C"
103195 #endif
103196 /* We use char because int might match the return type of a gcc2
103197 builtin and then its argument prototype would still apply. */
103198 char $ac_func ();
103199 /* The GNU C library defines this for functions which it implements
103200 to always fail with ENOSYS. Some functions are actually named
103201 something starting with __ and the normal name is an alias. */
103202 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103203 choke me
103204 #else
103205 char (*f) () = $ac_func;
103206 #endif
103207 #ifdef __cplusplus
103209 #endif
103212 main ()
103214 return f != $ac_func;
103216 return 0;
103218 _ACEOF
103219 rm -f conftest.$ac_objext conftest$ac_exeext
103220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103221 (eval $ac_link) 2>conftest.er1
103222 ac_status=$?
103223 grep -v '^ *+' conftest.er1 >conftest.err
103224 rm -f conftest.er1
103225 cat conftest.err >&5
103226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103227 (exit $ac_status); } &&
103228 { ac_try='test -z "$ac_c_werror_flag"
103229 || test ! -s conftest.err'
103230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103231 (eval $ac_try) 2>&5
103232 ac_status=$?
103233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103234 (exit $ac_status); }; } &&
103235 { ac_try='test -s conftest$ac_exeext'
103236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103237 (eval $ac_try) 2>&5
103238 ac_status=$?
103239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103240 (exit $ac_status); }; }; then
103241 eval "$as_ac_var=yes"
103243 echo "$as_me: failed program was:" >&5
103244 sed 's/^/| /' conftest.$ac_ext >&5
103246 eval "$as_ac_var=no"
103248 rm -f conftest.err conftest.$ac_objext \
103249 conftest$ac_exeext conftest.$ac_ext
103251 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103252 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103253 if test `eval echo '${'$as_ac_var'}'` = yes; then
103254 cat >>confdefs.h <<_ACEOF
103255 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103256 _ACEOF
103269 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
103270 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
103271 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
103272 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
103273 echo $ECHO_N "(cached) $ECHO_C" >&6
103278 ac_ext=cc
103279 ac_cpp='$CXXCPP $CPPFLAGS'
103280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103284 cat >conftest.$ac_ext <<_ACEOF
103285 /* confdefs.h. */
103286 _ACEOF
103287 cat confdefs.h >>conftest.$ac_ext
103288 cat >>conftest.$ac_ext <<_ACEOF
103289 /* end confdefs.h. */
103290 #include <math.h>
103291 #ifdef HAVE_IEEEFP_H
103292 #include <ieeefp.h>
103293 #endif
103296 main ()
103298 sqrtl(0);
103300 return 0;
103302 _ACEOF
103303 rm -f conftest.$ac_objext
103304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103305 (eval $ac_compile) 2>conftest.er1
103306 ac_status=$?
103307 grep -v '^ *+' conftest.er1 >conftest.err
103308 rm -f conftest.er1
103309 cat conftest.err >&5
103310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103311 (exit $ac_status); } &&
103312 { ac_try='test -z "$ac_cxx_werror_flag"
103313 || test ! -s conftest.err'
103314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103315 (eval $ac_try) 2>&5
103316 ac_status=$?
103317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103318 (exit $ac_status); }; } &&
103319 { ac_try='test -s conftest.$ac_objext'
103320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103321 (eval $ac_try) 2>&5
103322 ac_status=$?
103323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103324 (exit $ac_status); }; }; then
103325 glibcxx_cv_func_sqrtl_use=yes
103327 echo "$as_me: failed program was:" >&5
103328 sed 's/^/| /' conftest.$ac_ext >&5
103330 glibcxx_cv_func_sqrtl_use=no
103332 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103333 ac_ext=c
103334 ac_cpp='$CPP $CPPFLAGS'
103335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103343 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
103344 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
103346 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
103348 for ac_func in sqrtl
103350 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103351 echo "$as_me:$LINENO: checking for $ac_func" >&5
103352 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103353 if eval "test \"\${$as_ac_var+set}\" = set"; then
103354 echo $ECHO_N "(cached) $ECHO_C" >&6
103356 if test x$gcc_no_link = xyes; then
103357 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103358 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103359 { (exit 1); exit 1; }; }
103361 cat >conftest.$ac_ext <<_ACEOF
103362 /* confdefs.h. */
103363 _ACEOF
103364 cat confdefs.h >>conftest.$ac_ext
103365 cat >>conftest.$ac_ext <<_ACEOF
103366 /* end confdefs.h. */
103367 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103368 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103369 #define $ac_func innocuous_$ac_func
103371 /* System header to define __stub macros and hopefully few prototypes,
103372 which can conflict with char $ac_func (); below.
103373 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103374 <limits.h> exists even on freestanding compilers. */
103376 #ifdef __STDC__
103377 # include <limits.h>
103378 #else
103379 # include <assert.h>
103380 #endif
103382 #undef $ac_func
103384 /* Override any gcc2 internal prototype to avoid an error. */
103385 #ifdef __cplusplus
103386 extern "C"
103388 #endif
103389 /* We use char because int might match the return type of a gcc2
103390 builtin and then its argument prototype would still apply. */
103391 char $ac_func ();
103392 /* The GNU C library defines this for functions which it implements
103393 to always fail with ENOSYS. Some functions are actually named
103394 something starting with __ and the normal name is an alias. */
103395 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103396 choke me
103397 #else
103398 char (*f) () = $ac_func;
103399 #endif
103400 #ifdef __cplusplus
103402 #endif
103405 main ()
103407 return f != $ac_func;
103409 return 0;
103411 _ACEOF
103412 rm -f conftest.$ac_objext conftest$ac_exeext
103413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103414 (eval $ac_link) 2>conftest.er1
103415 ac_status=$?
103416 grep -v '^ *+' conftest.er1 >conftest.err
103417 rm -f conftest.er1
103418 cat conftest.err >&5
103419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103420 (exit $ac_status); } &&
103421 { ac_try='test -z "$ac_c_werror_flag"
103422 || test ! -s conftest.err'
103423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103424 (eval $ac_try) 2>&5
103425 ac_status=$?
103426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103427 (exit $ac_status); }; } &&
103428 { ac_try='test -s conftest$ac_exeext'
103429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103430 (eval $ac_try) 2>&5
103431 ac_status=$?
103432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103433 (exit $ac_status); }; }; then
103434 eval "$as_ac_var=yes"
103436 echo "$as_me: failed program was:" >&5
103437 sed 's/^/| /' conftest.$ac_ext >&5
103439 eval "$as_ac_var=no"
103441 rm -f conftest.err conftest.$ac_objext \
103442 conftest$ac_exeext conftest.$ac_ext
103444 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103445 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103446 if test `eval echo '${'$as_ac_var'}'` = yes; then
103447 cat >>confdefs.h <<_ACEOF
103448 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103449 _ACEOF
103456 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
103457 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
103458 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
103459 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
103460 echo $ECHO_N "(cached) $ECHO_C" >&6
103465 ac_ext=cc
103466 ac_cpp='$CXXCPP $CPPFLAGS'
103467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103471 cat >conftest.$ac_ext <<_ACEOF
103472 /* confdefs.h. */
103473 _ACEOF
103474 cat confdefs.h >>conftest.$ac_ext
103475 cat >>conftest.$ac_ext <<_ACEOF
103476 /* end confdefs.h. */
103477 #include <math.h>
103478 #ifdef HAVE_IEEEFP_H
103479 #include <ieeefp.h>
103480 #endif
103483 main ()
103485 _sqrtl(0);
103487 return 0;
103489 _ACEOF
103490 rm -f conftest.$ac_objext
103491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103492 (eval $ac_compile) 2>conftest.er1
103493 ac_status=$?
103494 grep -v '^ *+' conftest.er1 >conftest.err
103495 rm -f conftest.er1
103496 cat conftest.err >&5
103497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103498 (exit $ac_status); } &&
103499 { ac_try='test -z "$ac_cxx_werror_flag"
103500 || test ! -s conftest.err'
103501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103502 (eval $ac_try) 2>&5
103503 ac_status=$?
103504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103505 (exit $ac_status); }; } &&
103506 { ac_try='test -s conftest.$ac_objext'
103507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103508 (eval $ac_try) 2>&5
103509 ac_status=$?
103510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103511 (exit $ac_status); }; }; then
103512 glibcxx_cv_func__sqrtl_use=yes
103514 echo "$as_me: failed program was:" >&5
103515 sed 's/^/| /' conftest.$ac_ext >&5
103517 glibcxx_cv_func__sqrtl_use=no
103519 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103520 ac_ext=c
103521 ac_cpp='$CPP $CPPFLAGS'
103522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103530 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
103531 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
103533 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
103535 for ac_func in _sqrtl
103537 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103538 echo "$as_me:$LINENO: checking for $ac_func" >&5
103539 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103540 if eval "test \"\${$as_ac_var+set}\" = set"; then
103541 echo $ECHO_N "(cached) $ECHO_C" >&6
103543 if test x$gcc_no_link = xyes; then
103544 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103545 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103546 { (exit 1); exit 1; }; }
103548 cat >conftest.$ac_ext <<_ACEOF
103549 /* confdefs.h. */
103550 _ACEOF
103551 cat confdefs.h >>conftest.$ac_ext
103552 cat >>conftest.$ac_ext <<_ACEOF
103553 /* end confdefs.h. */
103554 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103555 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103556 #define $ac_func innocuous_$ac_func
103558 /* System header to define __stub macros and hopefully few prototypes,
103559 which can conflict with char $ac_func (); below.
103560 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103561 <limits.h> exists even on freestanding compilers. */
103563 #ifdef __STDC__
103564 # include <limits.h>
103565 #else
103566 # include <assert.h>
103567 #endif
103569 #undef $ac_func
103571 /* Override any gcc2 internal prototype to avoid an error. */
103572 #ifdef __cplusplus
103573 extern "C"
103575 #endif
103576 /* We use char because int might match the return type of a gcc2
103577 builtin and then its argument prototype would still apply. */
103578 char $ac_func ();
103579 /* The GNU C library defines this for functions which it implements
103580 to always fail with ENOSYS. Some functions are actually named
103581 something starting with __ and the normal name is an alias. */
103582 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103583 choke me
103584 #else
103585 char (*f) () = $ac_func;
103586 #endif
103587 #ifdef __cplusplus
103589 #endif
103592 main ()
103594 return f != $ac_func;
103596 return 0;
103598 _ACEOF
103599 rm -f conftest.$ac_objext conftest$ac_exeext
103600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103601 (eval $ac_link) 2>conftest.er1
103602 ac_status=$?
103603 grep -v '^ *+' conftest.er1 >conftest.err
103604 rm -f conftest.er1
103605 cat conftest.err >&5
103606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103607 (exit $ac_status); } &&
103608 { ac_try='test -z "$ac_c_werror_flag"
103609 || test ! -s conftest.err'
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); }; } &&
103615 { ac_try='test -s conftest$ac_exeext'
103616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103617 (eval $ac_try) 2>&5
103618 ac_status=$?
103619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103620 (exit $ac_status); }; }; then
103621 eval "$as_ac_var=yes"
103623 echo "$as_me: failed program was:" >&5
103624 sed 's/^/| /' conftest.$ac_ext >&5
103626 eval "$as_ac_var=no"
103628 rm -f conftest.err conftest.$ac_objext \
103629 conftest$ac_exeext conftest.$ac_ext
103631 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103632 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103633 if test `eval echo '${'$as_ac_var'}'` = yes; then
103634 cat >>confdefs.h <<_ACEOF
103635 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103636 _ACEOF
103649 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
103650 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
103651 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
103652 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
103653 echo $ECHO_N "(cached) $ECHO_C" >&6
103658 ac_ext=cc
103659 ac_cpp='$CXXCPP $CPPFLAGS'
103660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103664 cat >conftest.$ac_ext <<_ACEOF
103665 /* confdefs.h. */
103666 _ACEOF
103667 cat confdefs.h >>conftest.$ac_ext
103668 cat >>conftest.$ac_ext <<_ACEOF
103669 /* end confdefs.h. */
103670 #include <math.h>
103672 main ()
103674 sincosl(0, 0, 0);
103676 return 0;
103678 _ACEOF
103679 rm -f conftest.$ac_objext
103680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103681 (eval $ac_compile) 2>conftest.er1
103682 ac_status=$?
103683 grep -v '^ *+' conftest.er1 >conftest.err
103684 rm -f conftest.er1
103685 cat conftest.err >&5
103686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103687 (exit $ac_status); } &&
103688 { ac_try='test -z "$ac_cxx_werror_flag"
103689 || test ! -s conftest.err'
103690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103691 (eval $ac_try) 2>&5
103692 ac_status=$?
103693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103694 (exit $ac_status); }; } &&
103695 { ac_try='test -s conftest.$ac_objext'
103696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103697 (eval $ac_try) 2>&5
103698 ac_status=$?
103699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103700 (exit $ac_status); }; }; then
103701 glibcxx_cv_func_sincosl_use=yes
103703 echo "$as_me: failed program was:" >&5
103704 sed 's/^/| /' conftest.$ac_ext >&5
103706 glibcxx_cv_func_sincosl_use=no
103708 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103709 ac_ext=c
103710 ac_cpp='$CPP $CPPFLAGS'
103711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103719 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
103720 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
103722 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
103724 for ac_func in sincosl
103726 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103727 echo "$as_me:$LINENO: checking for $ac_func" >&5
103728 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103729 if eval "test \"\${$as_ac_var+set}\" = set"; then
103730 echo $ECHO_N "(cached) $ECHO_C" >&6
103732 if test x$gcc_no_link = xyes; then
103733 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103734 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103735 { (exit 1); exit 1; }; }
103737 cat >conftest.$ac_ext <<_ACEOF
103738 /* confdefs.h. */
103739 _ACEOF
103740 cat confdefs.h >>conftest.$ac_ext
103741 cat >>conftest.$ac_ext <<_ACEOF
103742 /* end confdefs.h. */
103743 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103744 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103745 #define $ac_func innocuous_$ac_func
103747 /* System header to define __stub macros and hopefully few prototypes,
103748 which can conflict with char $ac_func (); below.
103749 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103750 <limits.h> exists even on freestanding compilers. */
103752 #ifdef __STDC__
103753 # include <limits.h>
103754 #else
103755 # include <assert.h>
103756 #endif
103758 #undef $ac_func
103760 /* Override any gcc2 internal prototype to avoid an error. */
103761 #ifdef __cplusplus
103762 extern "C"
103764 #endif
103765 /* We use char because int might match the return type of a gcc2
103766 builtin and then its argument prototype would still apply. */
103767 char $ac_func ();
103768 /* The GNU C library defines this for functions which it implements
103769 to always fail with ENOSYS. Some functions are actually named
103770 something starting with __ and the normal name is an alias. */
103771 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103772 choke me
103773 #else
103774 char (*f) () = $ac_func;
103775 #endif
103776 #ifdef __cplusplus
103778 #endif
103781 main ()
103783 return f != $ac_func;
103785 return 0;
103787 _ACEOF
103788 rm -f conftest.$ac_objext conftest$ac_exeext
103789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103790 (eval $ac_link) 2>conftest.er1
103791 ac_status=$?
103792 grep -v '^ *+' conftest.er1 >conftest.err
103793 rm -f conftest.er1
103794 cat conftest.err >&5
103795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103796 (exit $ac_status); } &&
103797 { ac_try='test -z "$ac_c_werror_flag"
103798 || test ! -s conftest.err'
103799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103800 (eval $ac_try) 2>&5
103801 ac_status=$?
103802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103803 (exit $ac_status); }; } &&
103804 { ac_try='test -s conftest$ac_exeext'
103805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103806 (eval $ac_try) 2>&5
103807 ac_status=$?
103808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103809 (exit $ac_status); }; }; then
103810 eval "$as_ac_var=yes"
103812 echo "$as_me: failed program was:" >&5
103813 sed 's/^/| /' conftest.$ac_ext >&5
103815 eval "$as_ac_var=no"
103817 rm -f conftest.err conftest.$ac_objext \
103818 conftest$ac_exeext conftest.$ac_ext
103820 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103821 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103822 if test `eval echo '${'$as_ac_var'}'` = yes; then
103823 cat >>confdefs.h <<_ACEOF
103824 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103825 _ACEOF
103832 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
103833 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
103834 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
103835 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
103836 echo $ECHO_N "(cached) $ECHO_C" >&6
103841 ac_ext=cc
103842 ac_cpp='$CXXCPP $CPPFLAGS'
103843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103847 cat >conftest.$ac_ext <<_ACEOF
103848 /* confdefs.h. */
103849 _ACEOF
103850 cat confdefs.h >>conftest.$ac_ext
103851 cat >>conftest.$ac_ext <<_ACEOF
103852 /* end confdefs.h. */
103853 #include <math.h>
103855 main ()
103857 _sincosl(0, 0, 0);
103859 return 0;
103861 _ACEOF
103862 rm -f conftest.$ac_objext
103863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103864 (eval $ac_compile) 2>conftest.er1
103865 ac_status=$?
103866 grep -v '^ *+' conftest.er1 >conftest.err
103867 rm -f conftest.er1
103868 cat conftest.err >&5
103869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103870 (exit $ac_status); } &&
103871 { ac_try='test -z "$ac_cxx_werror_flag"
103872 || test ! -s conftest.err'
103873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103874 (eval $ac_try) 2>&5
103875 ac_status=$?
103876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103877 (exit $ac_status); }; } &&
103878 { ac_try='test -s conftest.$ac_objext'
103879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103880 (eval $ac_try) 2>&5
103881 ac_status=$?
103882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103883 (exit $ac_status); }; }; then
103884 glibcxx_cv_func__sincosl_use=yes
103886 echo "$as_me: failed program was:" >&5
103887 sed 's/^/| /' conftest.$ac_ext >&5
103889 glibcxx_cv_func__sincosl_use=no
103891 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103892 ac_ext=c
103893 ac_cpp='$CPP $CPPFLAGS'
103894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103902 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
103903 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
103905 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
103907 for ac_func in _sincosl
103909 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103910 echo "$as_me:$LINENO: checking for $ac_func" >&5
103911 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103912 if eval "test \"\${$as_ac_var+set}\" = set"; then
103913 echo $ECHO_N "(cached) $ECHO_C" >&6
103915 if test x$gcc_no_link = xyes; then
103916 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103917 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103918 { (exit 1); exit 1; }; }
103920 cat >conftest.$ac_ext <<_ACEOF
103921 /* confdefs.h. */
103922 _ACEOF
103923 cat confdefs.h >>conftest.$ac_ext
103924 cat >>conftest.$ac_ext <<_ACEOF
103925 /* end confdefs.h. */
103926 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103927 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103928 #define $ac_func innocuous_$ac_func
103930 /* System header to define __stub macros and hopefully few prototypes,
103931 which can conflict with char $ac_func (); below.
103932 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103933 <limits.h> exists even on freestanding compilers. */
103935 #ifdef __STDC__
103936 # include <limits.h>
103937 #else
103938 # include <assert.h>
103939 #endif
103941 #undef $ac_func
103943 /* Override any gcc2 internal prototype to avoid an error. */
103944 #ifdef __cplusplus
103945 extern "C"
103947 #endif
103948 /* We use char because int might match the return type of a gcc2
103949 builtin and then its argument prototype would still apply. */
103950 char $ac_func ();
103951 /* The GNU C library defines this for functions which it implements
103952 to always fail with ENOSYS. Some functions are actually named
103953 something starting with __ and the normal name is an alias. */
103954 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103955 choke me
103956 #else
103957 char (*f) () = $ac_func;
103958 #endif
103959 #ifdef __cplusplus
103961 #endif
103964 main ()
103966 return f != $ac_func;
103968 return 0;
103970 _ACEOF
103971 rm -f conftest.$ac_objext conftest$ac_exeext
103972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103973 (eval $ac_link) 2>conftest.er1
103974 ac_status=$?
103975 grep -v '^ *+' conftest.er1 >conftest.err
103976 rm -f conftest.er1
103977 cat conftest.err >&5
103978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103979 (exit $ac_status); } &&
103980 { ac_try='test -z "$ac_c_werror_flag"
103981 || test ! -s conftest.err'
103982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103983 (eval $ac_try) 2>&5
103984 ac_status=$?
103985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103986 (exit $ac_status); }; } &&
103987 { ac_try='test -s conftest$ac_exeext'
103988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103989 (eval $ac_try) 2>&5
103990 ac_status=$?
103991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103992 (exit $ac_status); }; }; then
103993 eval "$as_ac_var=yes"
103995 echo "$as_me: failed program was:" >&5
103996 sed 's/^/| /' conftest.$ac_ext >&5
103998 eval "$as_ac_var=no"
104000 rm -f conftest.err conftest.$ac_objext \
104001 conftest$ac_exeext conftest.$ac_ext
104003 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104004 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104005 if test `eval echo '${'$as_ac_var'}'` = yes; then
104006 cat >>confdefs.h <<_ACEOF
104007 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104008 _ACEOF
104021 echo "$as_me:$LINENO: checking for finitel declaration" >&5
104022 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
104023 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
104024 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
104025 echo $ECHO_N "(cached) $ECHO_C" >&6
104030 ac_ext=cc
104031 ac_cpp='$CXXCPP $CPPFLAGS'
104032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104036 cat >conftest.$ac_ext <<_ACEOF
104037 /* confdefs.h. */
104038 _ACEOF
104039 cat confdefs.h >>conftest.$ac_ext
104040 cat >>conftest.$ac_ext <<_ACEOF
104041 /* end confdefs.h. */
104042 #include <math.h>
104043 #ifdef HAVE_IEEEFP_H
104044 #include <ieeefp.h>
104045 #endif
104048 main ()
104050 finitel(0);
104052 return 0;
104054 _ACEOF
104055 rm -f conftest.$ac_objext
104056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104057 (eval $ac_compile) 2>conftest.er1
104058 ac_status=$?
104059 grep -v '^ *+' conftest.er1 >conftest.err
104060 rm -f conftest.er1
104061 cat conftest.err >&5
104062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104063 (exit $ac_status); } &&
104064 { ac_try='test -z "$ac_cxx_werror_flag"
104065 || test ! -s conftest.err'
104066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104067 (eval $ac_try) 2>&5
104068 ac_status=$?
104069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104070 (exit $ac_status); }; } &&
104071 { ac_try='test -s conftest.$ac_objext'
104072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104073 (eval $ac_try) 2>&5
104074 ac_status=$?
104075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104076 (exit $ac_status); }; }; then
104077 glibcxx_cv_func_finitel_use=yes
104079 echo "$as_me: failed program was:" >&5
104080 sed 's/^/| /' conftest.$ac_ext >&5
104082 glibcxx_cv_func_finitel_use=no
104084 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104085 ac_ext=c
104086 ac_cpp='$CPP $CPPFLAGS'
104087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104095 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
104096 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
104098 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
104100 for ac_func in finitel
104102 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104103 echo "$as_me:$LINENO: checking for $ac_func" >&5
104104 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104105 if eval "test \"\${$as_ac_var+set}\" = set"; then
104106 echo $ECHO_N "(cached) $ECHO_C" >&6
104108 if test x$gcc_no_link = xyes; then
104109 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104110 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104111 { (exit 1); exit 1; }; }
104113 cat >conftest.$ac_ext <<_ACEOF
104114 /* confdefs.h. */
104115 _ACEOF
104116 cat confdefs.h >>conftest.$ac_ext
104117 cat >>conftest.$ac_ext <<_ACEOF
104118 /* end confdefs.h. */
104119 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104120 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104121 #define $ac_func innocuous_$ac_func
104123 /* System header to define __stub macros and hopefully few prototypes,
104124 which can conflict with char $ac_func (); below.
104125 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104126 <limits.h> exists even on freestanding compilers. */
104128 #ifdef __STDC__
104129 # include <limits.h>
104130 #else
104131 # include <assert.h>
104132 #endif
104134 #undef $ac_func
104136 /* Override any gcc2 internal prototype to avoid an error. */
104137 #ifdef __cplusplus
104138 extern "C"
104140 #endif
104141 /* We use char because int might match the return type of a gcc2
104142 builtin and then its argument prototype would still apply. */
104143 char $ac_func ();
104144 /* The GNU C library defines this for functions which it implements
104145 to always fail with ENOSYS. Some functions are actually named
104146 something starting with __ and the normal name is an alias. */
104147 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104148 choke me
104149 #else
104150 char (*f) () = $ac_func;
104151 #endif
104152 #ifdef __cplusplus
104154 #endif
104157 main ()
104159 return f != $ac_func;
104161 return 0;
104163 _ACEOF
104164 rm -f conftest.$ac_objext conftest$ac_exeext
104165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104166 (eval $ac_link) 2>conftest.er1
104167 ac_status=$?
104168 grep -v '^ *+' conftest.er1 >conftest.err
104169 rm -f conftest.er1
104170 cat conftest.err >&5
104171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104172 (exit $ac_status); } &&
104173 { ac_try='test -z "$ac_c_werror_flag"
104174 || test ! -s conftest.err'
104175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104176 (eval $ac_try) 2>&5
104177 ac_status=$?
104178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104179 (exit $ac_status); }; } &&
104180 { ac_try='test -s conftest$ac_exeext'
104181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104182 (eval $ac_try) 2>&5
104183 ac_status=$?
104184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104185 (exit $ac_status); }; }; then
104186 eval "$as_ac_var=yes"
104188 echo "$as_me: failed program was:" >&5
104189 sed 's/^/| /' conftest.$ac_ext >&5
104191 eval "$as_ac_var=no"
104193 rm -f conftest.err conftest.$ac_objext \
104194 conftest$ac_exeext conftest.$ac_ext
104196 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104197 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104198 if test `eval echo '${'$as_ac_var'}'` = yes; then
104199 cat >>confdefs.h <<_ACEOF
104200 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104201 _ACEOF
104208 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
104209 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
104210 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
104211 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
104212 echo $ECHO_N "(cached) $ECHO_C" >&6
104217 ac_ext=cc
104218 ac_cpp='$CXXCPP $CPPFLAGS'
104219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104223 cat >conftest.$ac_ext <<_ACEOF
104224 /* confdefs.h. */
104225 _ACEOF
104226 cat confdefs.h >>conftest.$ac_ext
104227 cat >>conftest.$ac_ext <<_ACEOF
104228 /* end confdefs.h. */
104229 #include <math.h>
104230 #ifdef HAVE_IEEEFP_H
104231 #include <ieeefp.h>
104232 #endif
104235 main ()
104237 _finitel(0);
104239 return 0;
104241 _ACEOF
104242 rm -f conftest.$ac_objext
104243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104244 (eval $ac_compile) 2>conftest.er1
104245 ac_status=$?
104246 grep -v '^ *+' conftest.er1 >conftest.err
104247 rm -f conftest.er1
104248 cat conftest.err >&5
104249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104250 (exit $ac_status); } &&
104251 { ac_try='test -z "$ac_cxx_werror_flag"
104252 || test ! -s conftest.err'
104253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104254 (eval $ac_try) 2>&5
104255 ac_status=$?
104256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104257 (exit $ac_status); }; } &&
104258 { ac_try='test -s conftest.$ac_objext'
104259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104260 (eval $ac_try) 2>&5
104261 ac_status=$?
104262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104263 (exit $ac_status); }; }; then
104264 glibcxx_cv_func__finitel_use=yes
104266 echo "$as_me: failed program was:" >&5
104267 sed 's/^/| /' conftest.$ac_ext >&5
104269 glibcxx_cv_func__finitel_use=no
104271 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104272 ac_ext=c
104273 ac_cpp='$CPP $CPPFLAGS'
104274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104282 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
104283 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
104285 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
104287 for ac_func in _finitel
104289 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104290 echo "$as_me:$LINENO: checking for $ac_func" >&5
104291 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104292 if eval "test \"\${$as_ac_var+set}\" = set"; then
104293 echo $ECHO_N "(cached) $ECHO_C" >&6
104295 if test x$gcc_no_link = xyes; then
104296 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104297 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104298 { (exit 1); exit 1; }; }
104300 cat >conftest.$ac_ext <<_ACEOF
104301 /* confdefs.h. */
104302 _ACEOF
104303 cat confdefs.h >>conftest.$ac_ext
104304 cat >>conftest.$ac_ext <<_ACEOF
104305 /* end confdefs.h. */
104306 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104307 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104308 #define $ac_func innocuous_$ac_func
104310 /* System header to define __stub macros and hopefully few prototypes,
104311 which can conflict with char $ac_func (); below.
104312 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104313 <limits.h> exists even on freestanding compilers. */
104315 #ifdef __STDC__
104316 # include <limits.h>
104317 #else
104318 # include <assert.h>
104319 #endif
104321 #undef $ac_func
104323 /* Override any gcc2 internal prototype to avoid an error. */
104324 #ifdef __cplusplus
104325 extern "C"
104327 #endif
104328 /* We use char because int might match the return type of a gcc2
104329 builtin and then its argument prototype would still apply. */
104330 char $ac_func ();
104331 /* The GNU C library defines this for functions which it implements
104332 to always fail with ENOSYS. Some functions are actually named
104333 something starting with __ and the normal name is an alias. */
104334 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104335 choke me
104336 #else
104337 char (*f) () = $ac_func;
104338 #endif
104339 #ifdef __cplusplus
104341 #endif
104344 main ()
104346 return f != $ac_func;
104348 return 0;
104350 _ACEOF
104351 rm -f conftest.$ac_objext conftest$ac_exeext
104352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104353 (eval $ac_link) 2>conftest.er1
104354 ac_status=$?
104355 grep -v '^ *+' conftest.er1 >conftest.err
104356 rm -f conftest.er1
104357 cat conftest.err >&5
104358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104359 (exit $ac_status); } &&
104360 { ac_try='test -z "$ac_c_werror_flag"
104361 || test ! -s conftest.err'
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); }; } &&
104367 { ac_try='test -s conftest$ac_exeext'
104368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104369 (eval $ac_try) 2>&5
104370 ac_status=$?
104371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104372 (exit $ac_status); }; }; then
104373 eval "$as_ac_var=yes"
104375 echo "$as_me: failed program was:" >&5
104376 sed 's/^/| /' conftest.$ac_ext >&5
104378 eval "$as_ac_var=no"
104380 rm -f conftest.err conftest.$ac_objext \
104381 conftest$ac_exeext conftest.$ac_ext
104383 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104384 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104385 if test `eval echo '${'$as_ac_var'}'` = yes; then
104386 cat >>confdefs.h <<_ACEOF
104387 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104388 _ACEOF
104400 LIBS="$ac_save_LIBS"
104401 CXXFLAGS="$ac_save_CXXFLAGS"
104405 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
104406 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
104407 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
104408 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
104409 echo $ECHO_N "(cached) $ECHO_C" >&6
104414 ac_ext=cc
104415 ac_cpp='$CXXCPP $CPPFLAGS'
104416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104420 cat >conftest.$ac_ext <<_ACEOF
104421 /* confdefs.h. */
104422 _ACEOF
104423 cat confdefs.h >>conftest.$ac_ext
104424 cat >>conftest.$ac_ext <<_ACEOF
104425 /* end confdefs.h. */
104426 #include <math.h>
104428 main ()
104430 __builtin_abs(0);
104432 return 0;
104434 _ACEOF
104435 rm -f conftest.$ac_objext
104436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104437 (eval $ac_compile) 2>conftest.er1
104438 ac_status=$?
104439 grep -v '^ *+' conftest.er1 >conftest.err
104440 rm -f conftest.er1
104441 cat conftest.err >&5
104442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104443 (exit $ac_status); } &&
104444 { ac_try='test -z "$ac_cxx_werror_flag"
104445 || test ! -s conftest.err'
104446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104447 (eval $ac_try) 2>&5
104448 ac_status=$?
104449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104450 (exit $ac_status); }; } &&
104451 { ac_try='test -s conftest.$ac_objext'
104452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104453 (eval $ac_try) 2>&5
104454 ac_status=$?
104455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104456 (exit $ac_status); }; }; then
104457 glibcxx_cv_func___builtin_abs_use=yes
104459 echo "$as_me: failed program was:" >&5
104460 sed 's/^/| /' conftest.$ac_ext >&5
104462 glibcxx_cv_func___builtin_abs_use=no
104464 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104465 ac_ext=c
104466 ac_cpp='$CPP $CPPFLAGS'
104467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104475 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
104476 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
104477 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
104478 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
104479 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
104480 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
104481 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
104482 echo $ECHO_N "(cached) $ECHO_C" >&6
104485 if test x$gcc_no_link = xyes; then
104486 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104487 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104488 { (exit 1); exit 1; }; }
104490 cat >conftest.$ac_ext <<_ACEOF
104491 /* confdefs.h. */
104492 _ACEOF
104493 cat confdefs.h >>conftest.$ac_ext
104494 cat >>conftest.$ac_ext <<_ACEOF
104495 /* end confdefs.h. */
104496 #include <math.h>
104498 main ()
104500 __builtin_abs(0);
104502 return 0;
104504 _ACEOF
104505 rm -f conftest.$ac_objext conftest$ac_exeext
104506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104507 (eval $ac_link) 2>conftest.er1
104508 ac_status=$?
104509 grep -v '^ *+' conftest.er1 >conftest.err
104510 rm -f conftest.er1
104511 cat conftest.err >&5
104512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104513 (exit $ac_status); } &&
104514 { ac_try='test -z "$ac_c_werror_flag"
104515 || test ! -s conftest.err'
104516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104517 (eval $ac_try) 2>&5
104518 ac_status=$?
104519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104520 (exit $ac_status); }; } &&
104521 { ac_try='test -s conftest$ac_exeext'
104522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104523 (eval $ac_try) 2>&5
104524 ac_status=$?
104525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104526 (exit $ac_status); }; }; then
104527 glibcxx_cv_func___builtin_abs_link=yes
104529 echo "$as_me: failed program was:" >&5
104530 sed 's/^/| /' conftest.$ac_ext >&5
104532 glibcxx_cv_func___builtin_abs_link=no
104534 rm -f conftest.err conftest.$ac_objext \
104535 conftest$ac_exeext conftest.$ac_ext
104540 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
104541 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
104543 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
104545 cat >>confdefs.h <<\_ACEOF
104546 #define HAVE___BUILTIN_ABS 1
104547 _ACEOF
104554 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
104555 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
104556 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
104557 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
104558 echo $ECHO_N "(cached) $ECHO_C" >&6
104563 ac_ext=cc
104564 ac_cpp='$CXXCPP $CPPFLAGS'
104565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104569 cat >conftest.$ac_ext <<_ACEOF
104570 /* confdefs.h. */
104571 _ACEOF
104572 cat confdefs.h >>conftest.$ac_ext
104573 cat >>conftest.$ac_ext <<_ACEOF
104574 /* end confdefs.h. */
104575 #include <math.h>
104577 main ()
104579 __builtin_fabsf(0);
104581 return 0;
104583 _ACEOF
104584 rm -f conftest.$ac_objext
104585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104586 (eval $ac_compile) 2>conftest.er1
104587 ac_status=$?
104588 grep -v '^ *+' conftest.er1 >conftest.err
104589 rm -f conftest.er1
104590 cat conftest.err >&5
104591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104592 (exit $ac_status); } &&
104593 { ac_try='test -z "$ac_cxx_werror_flag"
104594 || test ! -s conftest.err'
104595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104596 (eval $ac_try) 2>&5
104597 ac_status=$?
104598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104599 (exit $ac_status); }; } &&
104600 { ac_try='test -s conftest.$ac_objext'
104601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104602 (eval $ac_try) 2>&5
104603 ac_status=$?
104604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104605 (exit $ac_status); }; }; then
104606 glibcxx_cv_func___builtin_fabsf_use=yes
104608 echo "$as_me: failed program was:" >&5
104609 sed 's/^/| /' conftest.$ac_ext >&5
104611 glibcxx_cv_func___builtin_fabsf_use=no
104613 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104614 ac_ext=c
104615 ac_cpp='$CPP $CPPFLAGS'
104616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104624 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
104625 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
104626 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
104627 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
104628 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
104629 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
104630 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
104631 echo $ECHO_N "(cached) $ECHO_C" >&6
104634 if test x$gcc_no_link = xyes; then
104635 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104636 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104637 { (exit 1); exit 1; }; }
104639 cat >conftest.$ac_ext <<_ACEOF
104640 /* confdefs.h. */
104641 _ACEOF
104642 cat confdefs.h >>conftest.$ac_ext
104643 cat >>conftest.$ac_ext <<_ACEOF
104644 /* end confdefs.h. */
104645 #include <math.h>
104647 main ()
104649 __builtin_fabsf(0);
104651 return 0;
104653 _ACEOF
104654 rm -f conftest.$ac_objext conftest$ac_exeext
104655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104656 (eval $ac_link) 2>conftest.er1
104657 ac_status=$?
104658 grep -v '^ *+' conftest.er1 >conftest.err
104659 rm -f conftest.er1
104660 cat conftest.err >&5
104661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104662 (exit $ac_status); } &&
104663 { ac_try='test -z "$ac_c_werror_flag"
104664 || test ! -s conftest.err'
104665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104666 (eval $ac_try) 2>&5
104667 ac_status=$?
104668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104669 (exit $ac_status); }; } &&
104670 { ac_try='test -s conftest$ac_exeext'
104671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104672 (eval $ac_try) 2>&5
104673 ac_status=$?
104674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104675 (exit $ac_status); }; }; then
104676 glibcxx_cv_func___builtin_fabsf_link=yes
104678 echo "$as_me: failed program was:" >&5
104679 sed 's/^/| /' conftest.$ac_ext >&5
104681 glibcxx_cv_func___builtin_fabsf_link=no
104683 rm -f conftest.err conftest.$ac_objext \
104684 conftest$ac_exeext conftest.$ac_ext
104689 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
104690 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
104692 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
104694 cat >>confdefs.h <<\_ACEOF
104695 #define HAVE___BUILTIN_FABSF 1
104696 _ACEOF
104703 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
104704 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
104705 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
104706 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
104707 echo $ECHO_N "(cached) $ECHO_C" >&6
104712 ac_ext=cc
104713 ac_cpp='$CXXCPP $CPPFLAGS'
104714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104718 cat >conftest.$ac_ext <<_ACEOF
104719 /* confdefs.h. */
104720 _ACEOF
104721 cat confdefs.h >>conftest.$ac_ext
104722 cat >>conftest.$ac_ext <<_ACEOF
104723 /* end confdefs.h. */
104724 #include <math.h>
104726 main ()
104728 __builtin_fabs(0);
104730 return 0;
104732 _ACEOF
104733 rm -f conftest.$ac_objext
104734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104735 (eval $ac_compile) 2>conftest.er1
104736 ac_status=$?
104737 grep -v '^ *+' conftest.er1 >conftest.err
104738 rm -f conftest.er1
104739 cat conftest.err >&5
104740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104741 (exit $ac_status); } &&
104742 { ac_try='test -z "$ac_cxx_werror_flag"
104743 || test ! -s conftest.err'
104744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104745 (eval $ac_try) 2>&5
104746 ac_status=$?
104747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104748 (exit $ac_status); }; } &&
104749 { ac_try='test -s conftest.$ac_objext'
104750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104751 (eval $ac_try) 2>&5
104752 ac_status=$?
104753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104754 (exit $ac_status); }; }; then
104755 glibcxx_cv_func___builtin_fabs_use=yes
104757 echo "$as_me: failed program was:" >&5
104758 sed 's/^/| /' conftest.$ac_ext >&5
104760 glibcxx_cv_func___builtin_fabs_use=no
104762 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104763 ac_ext=c
104764 ac_cpp='$CPP $CPPFLAGS'
104765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104773 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
104774 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
104775 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
104776 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
104777 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
104778 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
104779 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
104780 echo $ECHO_N "(cached) $ECHO_C" >&6
104783 if test x$gcc_no_link = xyes; then
104784 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104785 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104786 { (exit 1); exit 1; }; }
104788 cat >conftest.$ac_ext <<_ACEOF
104789 /* confdefs.h. */
104790 _ACEOF
104791 cat confdefs.h >>conftest.$ac_ext
104792 cat >>conftest.$ac_ext <<_ACEOF
104793 /* end confdefs.h. */
104794 #include <math.h>
104796 main ()
104798 __builtin_fabs(0);
104800 return 0;
104802 _ACEOF
104803 rm -f conftest.$ac_objext conftest$ac_exeext
104804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104805 (eval $ac_link) 2>conftest.er1
104806 ac_status=$?
104807 grep -v '^ *+' conftest.er1 >conftest.err
104808 rm -f conftest.er1
104809 cat conftest.err >&5
104810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104811 (exit $ac_status); } &&
104812 { ac_try='test -z "$ac_c_werror_flag"
104813 || test ! -s conftest.err'
104814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104815 (eval $ac_try) 2>&5
104816 ac_status=$?
104817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104818 (exit $ac_status); }; } &&
104819 { ac_try='test -s conftest$ac_exeext'
104820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104821 (eval $ac_try) 2>&5
104822 ac_status=$?
104823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104824 (exit $ac_status); }; }; then
104825 glibcxx_cv_func___builtin_fabs_link=yes
104827 echo "$as_me: failed program was:" >&5
104828 sed 's/^/| /' conftest.$ac_ext >&5
104830 glibcxx_cv_func___builtin_fabs_link=no
104832 rm -f conftest.err conftest.$ac_objext \
104833 conftest$ac_exeext conftest.$ac_ext
104838 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
104839 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
104841 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
104843 cat >>confdefs.h <<\_ACEOF
104844 #define HAVE___BUILTIN_FABS 1
104845 _ACEOF
104852 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
104853 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
104854 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
104855 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
104856 echo $ECHO_N "(cached) $ECHO_C" >&6
104861 ac_ext=cc
104862 ac_cpp='$CXXCPP $CPPFLAGS'
104863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104867 cat >conftest.$ac_ext <<_ACEOF
104868 /* confdefs.h. */
104869 _ACEOF
104870 cat confdefs.h >>conftest.$ac_ext
104871 cat >>conftest.$ac_ext <<_ACEOF
104872 /* end confdefs.h. */
104873 #include <math.h>
104875 main ()
104877 __builtin_fabsl(0);
104879 return 0;
104881 _ACEOF
104882 rm -f conftest.$ac_objext
104883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104884 (eval $ac_compile) 2>conftest.er1
104885 ac_status=$?
104886 grep -v '^ *+' conftest.er1 >conftest.err
104887 rm -f conftest.er1
104888 cat conftest.err >&5
104889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104890 (exit $ac_status); } &&
104891 { ac_try='test -z "$ac_cxx_werror_flag"
104892 || test ! -s conftest.err'
104893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104894 (eval $ac_try) 2>&5
104895 ac_status=$?
104896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104897 (exit $ac_status); }; } &&
104898 { ac_try='test -s conftest.$ac_objext'
104899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104900 (eval $ac_try) 2>&5
104901 ac_status=$?
104902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104903 (exit $ac_status); }; }; then
104904 glibcxx_cv_func___builtin_fabsl_use=yes
104906 echo "$as_me: failed program was:" >&5
104907 sed 's/^/| /' conftest.$ac_ext >&5
104909 glibcxx_cv_func___builtin_fabsl_use=no
104911 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104912 ac_ext=c
104913 ac_cpp='$CPP $CPPFLAGS'
104914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104922 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
104923 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
104924 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
104925 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
104926 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
104927 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
104928 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
104929 echo $ECHO_N "(cached) $ECHO_C" >&6
104932 if test x$gcc_no_link = xyes; then
104933 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104934 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104935 { (exit 1); exit 1; }; }
104937 cat >conftest.$ac_ext <<_ACEOF
104938 /* confdefs.h. */
104939 _ACEOF
104940 cat confdefs.h >>conftest.$ac_ext
104941 cat >>conftest.$ac_ext <<_ACEOF
104942 /* end confdefs.h. */
104943 #include <math.h>
104945 main ()
104947 __builtin_fabsl(0);
104949 return 0;
104951 _ACEOF
104952 rm -f conftest.$ac_objext conftest$ac_exeext
104953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104954 (eval $ac_link) 2>conftest.er1
104955 ac_status=$?
104956 grep -v '^ *+' conftest.er1 >conftest.err
104957 rm -f conftest.er1
104958 cat conftest.err >&5
104959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104960 (exit $ac_status); } &&
104961 { ac_try='test -z "$ac_c_werror_flag"
104962 || test ! -s conftest.err'
104963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104964 (eval $ac_try) 2>&5
104965 ac_status=$?
104966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104967 (exit $ac_status); }; } &&
104968 { ac_try='test -s conftest$ac_exeext'
104969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104970 (eval $ac_try) 2>&5
104971 ac_status=$?
104972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104973 (exit $ac_status); }; }; then
104974 glibcxx_cv_func___builtin_fabsl_link=yes
104976 echo "$as_me: failed program was:" >&5
104977 sed 's/^/| /' conftest.$ac_ext >&5
104979 glibcxx_cv_func___builtin_fabsl_link=no
104981 rm -f conftest.err conftest.$ac_objext \
104982 conftest$ac_exeext conftest.$ac_ext
104987 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
104988 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
104990 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
104992 cat >>confdefs.h <<\_ACEOF
104993 #define HAVE___BUILTIN_FABSL 1
104994 _ACEOF
105001 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
105002 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
105003 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
105004 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
105005 echo $ECHO_N "(cached) $ECHO_C" >&6
105010 ac_ext=cc
105011 ac_cpp='$CXXCPP $CPPFLAGS'
105012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105016 cat >conftest.$ac_ext <<_ACEOF
105017 /* confdefs.h. */
105018 _ACEOF
105019 cat confdefs.h >>conftest.$ac_ext
105020 cat >>conftest.$ac_ext <<_ACEOF
105021 /* end confdefs.h. */
105022 #include <math.h>
105024 main ()
105026 __builtin_labs(0);
105028 return 0;
105030 _ACEOF
105031 rm -f conftest.$ac_objext
105032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105033 (eval $ac_compile) 2>conftest.er1
105034 ac_status=$?
105035 grep -v '^ *+' conftest.er1 >conftest.err
105036 rm -f conftest.er1
105037 cat conftest.err >&5
105038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105039 (exit $ac_status); } &&
105040 { ac_try='test -z "$ac_cxx_werror_flag"
105041 || test ! -s conftest.err'
105042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105043 (eval $ac_try) 2>&5
105044 ac_status=$?
105045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105046 (exit $ac_status); }; } &&
105047 { ac_try='test -s conftest.$ac_objext'
105048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105049 (eval $ac_try) 2>&5
105050 ac_status=$?
105051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105052 (exit $ac_status); }; }; then
105053 glibcxx_cv_func___builtin_labs_use=yes
105055 echo "$as_me: failed program was:" >&5
105056 sed 's/^/| /' conftest.$ac_ext >&5
105058 glibcxx_cv_func___builtin_labs_use=no
105060 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105061 ac_ext=c
105062 ac_cpp='$CPP $CPPFLAGS'
105063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105071 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
105072 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
105073 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
105074 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
105075 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
105076 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
105077 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
105078 echo $ECHO_N "(cached) $ECHO_C" >&6
105081 if test x$gcc_no_link = xyes; then
105082 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105083 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105084 { (exit 1); exit 1; }; }
105086 cat >conftest.$ac_ext <<_ACEOF
105087 /* confdefs.h. */
105088 _ACEOF
105089 cat confdefs.h >>conftest.$ac_ext
105090 cat >>conftest.$ac_ext <<_ACEOF
105091 /* end confdefs.h. */
105092 #include <math.h>
105094 main ()
105096 __builtin_labs(0);
105098 return 0;
105100 _ACEOF
105101 rm -f conftest.$ac_objext conftest$ac_exeext
105102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105103 (eval $ac_link) 2>conftest.er1
105104 ac_status=$?
105105 grep -v '^ *+' conftest.er1 >conftest.err
105106 rm -f conftest.er1
105107 cat conftest.err >&5
105108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105109 (exit $ac_status); } &&
105110 { ac_try='test -z "$ac_c_werror_flag"
105111 || test ! -s conftest.err'
105112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105113 (eval $ac_try) 2>&5
105114 ac_status=$?
105115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105116 (exit $ac_status); }; } &&
105117 { ac_try='test -s conftest$ac_exeext'
105118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105119 (eval $ac_try) 2>&5
105120 ac_status=$?
105121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105122 (exit $ac_status); }; }; then
105123 glibcxx_cv_func___builtin_labs_link=yes
105125 echo "$as_me: failed program was:" >&5
105126 sed 's/^/| /' conftest.$ac_ext >&5
105128 glibcxx_cv_func___builtin_labs_link=no
105130 rm -f conftest.err conftest.$ac_objext \
105131 conftest$ac_exeext conftest.$ac_ext
105136 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
105137 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
105139 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
105141 cat >>confdefs.h <<\_ACEOF
105142 #define HAVE___BUILTIN_LABS 1
105143 _ACEOF
105151 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
105152 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
105153 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
105154 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
105155 echo $ECHO_N "(cached) $ECHO_C" >&6
105160 ac_ext=cc
105161 ac_cpp='$CXXCPP $CPPFLAGS'
105162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105166 cat >conftest.$ac_ext <<_ACEOF
105167 /* confdefs.h. */
105168 _ACEOF
105169 cat confdefs.h >>conftest.$ac_ext
105170 cat >>conftest.$ac_ext <<_ACEOF
105171 /* end confdefs.h. */
105172 #include <math.h>
105174 main ()
105176 __builtin_sqrtf(0);
105178 return 0;
105180 _ACEOF
105181 rm -f conftest.$ac_objext
105182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105183 (eval $ac_compile) 2>conftest.er1
105184 ac_status=$?
105185 grep -v '^ *+' conftest.er1 >conftest.err
105186 rm -f conftest.er1
105187 cat conftest.err >&5
105188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105189 (exit $ac_status); } &&
105190 { ac_try='test -z "$ac_cxx_werror_flag"
105191 || test ! -s conftest.err'
105192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105193 (eval $ac_try) 2>&5
105194 ac_status=$?
105195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105196 (exit $ac_status); }; } &&
105197 { ac_try='test -s conftest.$ac_objext'
105198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105199 (eval $ac_try) 2>&5
105200 ac_status=$?
105201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105202 (exit $ac_status); }; }; then
105203 glibcxx_cv_func___builtin_sqrtf_use=yes
105205 echo "$as_me: failed program was:" >&5
105206 sed 's/^/| /' conftest.$ac_ext >&5
105208 glibcxx_cv_func___builtin_sqrtf_use=no
105210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105211 ac_ext=c
105212 ac_cpp='$CPP $CPPFLAGS'
105213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105221 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
105222 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
105223 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
105224 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
105225 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
105226 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
105227 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
105228 echo $ECHO_N "(cached) $ECHO_C" >&6
105231 if test x$gcc_no_link = xyes; then
105232 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105233 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105234 { (exit 1); exit 1; }; }
105236 cat >conftest.$ac_ext <<_ACEOF
105237 /* confdefs.h. */
105238 _ACEOF
105239 cat confdefs.h >>conftest.$ac_ext
105240 cat >>conftest.$ac_ext <<_ACEOF
105241 /* end confdefs.h. */
105242 #include <math.h>
105244 main ()
105246 __builtin_sqrtf(0);
105248 return 0;
105250 _ACEOF
105251 rm -f conftest.$ac_objext conftest$ac_exeext
105252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105253 (eval $ac_link) 2>conftest.er1
105254 ac_status=$?
105255 grep -v '^ *+' conftest.er1 >conftest.err
105256 rm -f conftest.er1
105257 cat conftest.err >&5
105258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105259 (exit $ac_status); } &&
105260 { ac_try='test -z "$ac_c_werror_flag"
105261 || test ! -s conftest.err'
105262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105263 (eval $ac_try) 2>&5
105264 ac_status=$?
105265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105266 (exit $ac_status); }; } &&
105267 { ac_try='test -s conftest$ac_exeext'
105268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105269 (eval $ac_try) 2>&5
105270 ac_status=$?
105271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105272 (exit $ac_status); }; }; then
105273 glibcxx_cv_func___builtin_sqrtf_link=yes
105275 echo "$as_me: failed program was:" >&5
105276 sed 's/^/| /' conftest.$ac_ext >&5
105278 glibcxx_cv_func___builtin_sqrtf_link=no
105280 rm -f conftest.err conftest.$ac_objext \
105281 conftest$ac_exeext conftest.$ac_ext
105286 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
105287 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
105289 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
105291 cat >>confdefs.h <<\_ACEOF
105292 #define HAVE___BUILTIN_SQRTF 1
105293 _ACEOF
105300 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
105301 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
105302 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
105303 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
105304 echo $ECHO_N "(cached) $ECHO_C" >&6
105309 ac_ext=cc
105310 ac_cpp='$CXXCPP $CPPFLAGS'
105311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105315 cat >conftest.$ac_ext <<_ACEOF
105316 /* confdefs.h. */
105317 _ACEOF
105318 cat confdefs.h >>conftest.$ac_ext
105319 cat >>conftest.$ac_ext <<_ACEOF
105320 /* end confdefs.h. */
105321 #include <math.h>
105323 main ()
105325 __builtin_sqrt(0);
105327 return 0;
105329 _ACEOF
105330 rm -f conftest.$ac_objext
105331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105332 (eval $ac_compile) 2>conftest.er1
105333 ac_status=$?
105334 grep -v '^ *+' conftest.er1 >conftest.err
105335 rm -f conftest.er1
105336 cat conftest.err >&5
105337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105338 (exit $ac_status); } &&
105339 { ac_try='test -z "$ac_cxx_werror_flag"
105340 || test ! -s conftest.err'
105341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105342 (eval $ac_try) 2>&5
105343 ac_status=$?
105344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105345 (exit $ac_status); }; } &&
105346 { ac_try='test -s conftest.$ac_objext'
105347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105348 (eval $ac_try) 2>&5
105349 ac_status=$?
105350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105351 (exit $ac_status); }; }; then
105352 glibcxx_cv_func___builtin_sqrt_use=yes
105354 echo "$as_me: failed program was:" >&5
105355 sed 's/^/| /' conftest.$ac_ext >&5
105357 glibcxx_cv_func___builtin_sqrt_use=no
105359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105360 ac_ext=c
105361 ac_cpp='$CPP $CPPFLAGS'
105362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105370 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
105371 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
105372 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
105373 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
105374 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
105375 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
105376 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
105377 echo $ECHO_N "(cached) $ECHO_C" >&6
105380 if test x$gcc_no_link = xyes; then
105381 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105382 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105383 { (exit 1); exit 1; }; }
105385 cat >conftest.$ac_ext <<_ACEOF
105386 /* confdefs.h. */
105387 _ACEOF
105388 cat confdefs.h >>conftest.$ac_ext
105389 cat >>conftest.$ac_ext <<_ACEOF
105390 /* end confdefs.h. */
105391 #include <math.h>
105393 main ()
105395 __builtin_sqrt(0);
105397 return 0;
105399 _ACEOF
105400 rm -f conftest.$ac_objext conftest$ac_exeext
105401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105402 (eval $ac_link) 2>conftest.er1
105403 ac_status=$?
105404 grep -v '^ *+' conftest.er1 >conftest.err
105405 rm -f conftest.er1
105406 cat conftest.err >&5
105407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105408 (exit $ac_status); } &&
105409 { ac_try='test -z "$ac_c_werror_flag"
105410 || test ! -s conftest.err'
105411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105412 (eval $ac_try) 2>&5
105413 ac_status=$?
105414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105415 (exit $ac_status); }; } &&
105416 { ac_try='test -s conftest$ac_exeext'
105417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105418 (eval $ac_try) 2>&5
105419 ac_status=$?
105420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105421 (exit $ac_status); }; }; then
105422 glibcxx_cv_func___builtin_sqrt_link=yes
105424 echo "$as_me: failed program was:" >&5
105425 sed 's/^/| /' conftest.$ac_ext >&5
105427 glibcxx_cv_func___builtin_sqrt_link=no
105429 rm -f conftest.err conftest.$ac_objext \
105430 conftest$ac_exeext conftest.$ac_ext
105435 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
105436 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
105438 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
105440 cat >>confdefs.h <<\_ACEOF
105441 #define HAVE___BUILTIN_SQRT 1
105442 _ACEOF
105449 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
105450 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
105451 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
105452 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
105453 echo $ECHO_N "(cached) $ECHO_C" >&6
105458 ac_ext=cc
105459 ac_cpp='$CXXCPP $CPPFLAGS'
105460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105464 cat >conftest.$ac_ext <<_ACEOF
105465 /* confdefs.h. */
105466 _ACEOF
105467 cat confdefs.h >>conftest.$ac_ext
105468 cat >>conftest.$ac_ext <<_ACEOF
105469 /* end confdefs.h. */
105470 #include <math.h>
105472 main ()
105474 __builtin_sqrtl(0);
105476 return 0;
105478 _ACEOF
105479 rm -f conftest.$ac_objext
105480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105481 (eval $ac_compile) 2>conftest.er1
105482 ac_status=$?
105483 grep -v '^ *+' conftest.er1 >conftest.err
105484 rm -f conftest.er1
105485 cat conftest.err >&5
105486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105487 (exit $ac_status); } &&
105488 { ac_try='test -z "$ac_cxx_werror_flag"
105489 || test ! -s conftest.err'
105490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105491 (eval $ac_try) 2>&5
105492 ac_status=$?
105493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105494 (exit $ac_status); }; } &&
105495 { ac_try='test -s conftest.$ac_objext'
105496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105497 (eval $ac_try) 2>&5
105498 ac_status=$?
105499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105500 (exit $ac_status); }; }; then
105501 glibcxx_cv_func___builtin_sqrtl_use=yes
105503 echo "$as_me: failed program was:" >&5
105504 sed 's/^/| /' conftest.$ac_ext >&5
105506 glibcxx_cv_func___builtin_sqrtl_use=no
105508 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105509 ac_ext=c
105510 ac_cpp='$CPP $CPPFLAGS'
105511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105519 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
105520 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
105521 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
105522 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
105523 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
105524 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
105525 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
105526 echo $ECHO_N "(cached) $ECHO_C" >&6
105529 if test x$gcc_no_link = xyes; then
105530 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105531 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105532 { (exit 1); exit 1; }; }
105534 cat >conftest.$ac_ext <<_ACEOF
105535 /* confdefs.h. */
105536 _ACEOF
105537 cat confdefs.h >>conftest.$ac_ext
105538 cat >>conftest.$ac_ext <<_ACEOF
105539 /* end confdefs.h. */
105540 #include <math.h>
105542 main ()
105544 __builtin_sqrtl(0);
105546 return 0;
105548 _ACEOF
105549 rm -f conftest.$ac_objext conftest$ac_exeext
105550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105551 (eval $ac_link) 2>conftest.er1
105552 ac_status=$?
105553 grep -v '^ *+' conftest.er1 >conftest.err
105554 rm -f conftest.er1
105555 cat conftest.err >&5
105556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105557 (exit $ac_status); } &&
105558 { ac_try='test -z "$ac_c_werror_flag"
105559 || test ! -s conftest.err'
105560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105561 (eval $ac_try) 2>&5
105562 ac_status=$?
105563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105564 (exit $ac_status); }; } &&
105565 { ac_try='test -s conftest$ac_exeext'
105566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105567 (eval $ac_try) 2>&5
105568 ac_status=$?
105569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105570 (exit $ac_status); }; }; then
105571 glibcxx_cv_func___builtin_sqrtl_link=yes
105573 echo "$as_me: failed program was:" >&5
105574 sed 's/^/| /' conftest.$ac_ext >&5
105576 glibcxx_cv_func___builtin_sqrtl_link=no
105578 rm -f conftest.err conftest.$ac_objext \
105579 conftest$ac_exeext conftest.$ac_ext
105584 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
105585 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
105587 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
105589 cat >>confdefs.h <<\_ACEOF
105590 #define HAVE___BUILTIN_SQRTL 1
105591 _ACEOF
105599 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
105600 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
105601 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
105602 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
105603 echo $ECHO_N "(cached) $ECHO_C" >&6
105608 ac_ext=cc
105609 ac_cpp='$CXXCPP $CPPFLAGS'
105610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105614 cat >conftest.$ac_ext <<_ACEOF
105615 /* confdefs.h. */
105616 _ACEOF
105617 cat confdefs.h >>conftest.$ac_ext
105618 cat >>conftest.$ac_ext <<_ACEOF
105619 /* end confdefs.h. */
105620 #include <math.h>
105622 main ()
105624 __builtin_sinf(0);
105626 return 0;
105628 _ACEOF
105629 rm -f conftest.$ac_objext
105630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105631 (eval $ac_compile) 2>conftest.er1
105632 ac_status=$?
105633 grep -v '^ *+' conftest.er1 >conftest.err
105634 rm -f conftest.er1
105635 cat conftest.err >&5
105636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105637 (exit $ac_status); } &&
105638 { ac_try='test -z "$ac_cxx_werror_flag"
105639 || test ! -s conftest.err'
105640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105641 (eval $ac_try) 2>&5
105642 ac_status=$?
105643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105644 (exit $ac_status); }; } &&
105645 { ac_try='test -s conftest.$ac_objext'
105646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105647 (eval $ac_try) 2>&5
105648 ac_status=$?
105649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105650 (exit $ac_status); }; }; then
105651 glibcxx_cv_func___builtin_sinf_use=yes
105653 echo "$as_me: failed program was:" >&5
105654 sed 's/^/| /' conftest.$ac_ext >&5
105656 glibcxx_cv_func___builtin_sinf_use=no
105658 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105659 ac_ext=c
105660 ac_cpp='$CPP $CPPFLAGS'
105661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105669 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
105670 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
105671 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
105672 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
105673 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
105674 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
105675 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
105676 echo $ECHO_N "(cached) $ECHO_C" >&6
105679 if test x$gcc_no_link = xyes; then
105680 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105681 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105682 { (exit 1); exit 1; }; }
105684 cat >conftest.$ac_ext <<_ACEOF
105685 /* confdefs.h. */
105686 _ACEOF
105687 cat confdefs.h >>conftest.$ac_ext
105688 cat >>conftest.$ac_ext <<_ACEOF
105689 /* end confdefs.h. */
105690 #include <math.h>
105692 main ()
105694 __builtin_sinf(0);
105696 return 0;
105698 _ACEOF
105699 rm -f conftest.$ac_objext conftest$ac_exeext
105700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105701 (eval $ac_link) 2>conftest.er1
105702 ac_status=$?
105703 grep -v '^ *+' conftest.er1 >conftest.err
105704 rm -f conftest.er1
105705 cat conftest.err >&5
105706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105707 (exit $ac_status); } &&
105708 { ac_try='test -z "$ac_c_werror_flag"
105709 || test ! -s conftest.err'
105710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105711 (eval $ac_try) 2>&5
105712 ac_status=$?
105713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105714 (exit $ac_status); }; } &&
105715 { ac_try='test -s conftest$ac_exeext'
105716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105717 (eval $ac_try) 2>&5
105718 ac_status=$?
105719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105720 (exit $ac_status); }; }; then
105721 glibcxx_cv_func___builtin_sinf_link=yes
105723 echo "$as_me: failed program was:" >&5
105724 sed 's/^/| /' conftest.$ac_ext >&5
105726 glibcxx_cv_func___builtin_sinf_link=no
105728 rm -f conftest.err conftest.$ac_objext \
105729 conftest$ac_exeext conftest.$ac_ext
105734 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
105735 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
105737 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
105739 cat >>confdefs.h <<\_ACEOF
105740 #define HAVE___BUILTIN_SINF 1
105741 _ACEOF
105748 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
105749 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
105750 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
105751 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
105752 echo $ECHO_N "(cached) $ECHO_C" >&6
105757 ac_ext=cc
105758 ac_cpp='$CXXCPP $CPPFLAGS'
105759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105763 cat >conftest.$ac_ext <<_ACEOF
105764 /* confdefs.h. */
105765 _ACEOF
105766 cat confdefs.h >>conftest.$ac_ext
105767 cat >>conftest.$ac_ext <<_ACEOF
105768 /* end confdefs.h. */
105769 #include <math.h>
105771 main ()
105773 __builtin_sin(0);
105775 return 0;
105777 _ACEOF
105778 rm -f conftest.$ac_objext
105779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105780 (eval $ac_compile) 2>conftest.er1
105781 ac_status=$?
105782 grep -v '^ *+' conftest.er1 >conftest.err
105783 rm -f conftest.er1
105784 cat conftest.err >&5
105785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105786 (exit $ac_status); } &&
105787 { ac_try='test -z "$ac_cxx_werror_flag"
105788 || test ! -s conftest.err'
105789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105790 (eval $ac_try) 2>&5
105791 ac_status=$?
105792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105793 (exit $ac_status); }; } &&
105794 { ac_try='test -s conftest.$ac_objext'
105795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105796 (eval $ac_try) 2>&5
105797 ac_status=$?
105798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105799 (exit $ac_status); }; }; then
105800 glibcxx_cv_func___builtin_sin_use=yes
105802 echo "$as_me: failed program was:" >&5
105803 sed 's/^/| /' conftest.$ac_ext >&5
105805 glibcxx_cv_func___builtin_sin_use=no
105807 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105808 ac_ext=c
105809 ac_cpp='$CPP $CPPFLAGS'
105810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105818 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
105819 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
105820 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
105821 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
105822 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
105823 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
105824 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
105825 echo $ECHO_N "(cached) $ECHO_C" >&6
105828 if test x$gcc_no_link = xyes; then
105829 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105830 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105831 { (exit 1); exit 1; }; }
105833 cat >conftest.$ac_ext <<_ACEOF
105834 /* confdefs.h. */
105835 _ACEOF
105836 cat confdefs.h >>conftest.$ac_ext
105837 cat >>conftest.$ac_ext <<_ACEOF
105838 /* end confdefs.h. */
105839 #include <math.h>
105841 main ()
105843 __builtin_sin(0);
105845 return 0;
105847 _ACEOF
105848 rm -f conftest.$ac_objext conftest$ac_exeext
105849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105850 (eval $ac_link) 2>conftest.er1
105851 ac_status=$?
105852 grep -v '^ *+' conftest.er1 >conftest.err
105853 rm -f conftest.er1
105854 cat conftest.err >&5
105855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105856 (exit $ac_status); } &&
105857 { ac_try='test -z "$ac_c_werror_flag"
105858 || test ! -s conftest.err'
105859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105860 (eval $ac_try) 2>&5
105861 ac_status=$?
105862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105863 (exit $ac_status); }; } &&
105864 { ac_try='test -s conftest$ac_exeext'
105865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105866 (eval $ac_try) 2>&5
105867 ac_status=$?
105868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105869 (exit $ac_status); }; }; then
105870 glibcxx_cv_func___builtin_sin_link=yes
105872 echo "$as_me: failed program was:" >&5
105873 sed 's/^/| /' conftest.$ac_ext >&5
105875 glibcxx_cv_func___builtin_sin_link=no
105877 rm -f conftest.err conftest.$ac_objext \
105878 conftest$ac_exeext conftest.$ac_ext
105883 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
105884 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
105886 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
105888 cat >>confdefs.h <<\_ACEOF
105889 #define HAVE___BUILTIN_SIN 1
105890 _ACEOF
105897 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
105898 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
105899 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
105900 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
105901 echo $ECHO_N "(cached) $ECHO_C" >&6
105906 ac_ext=cc
105907 ac_cpp='$CXXCPP $CPPFLAGS'
105908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105912 cat >conftest.$ac_ext <<_ACEOF
105913 /* confdefs.h. */
105914 _ACEOF
105915 cat confdefs.h >>conftest.$ac_ext
105916 cat >>conftest.$ac_ext <<_ACEOF
105917 /* end confdefs.h. */
105918 #include <math.h>
105920 main ()
105922 __builtin_sinl(0);
105924 return 0;
105926 _ACEOF
105927 rm -f conftest.$ac_objext
105928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105929 (eval $ac_compile) 2>conftest.er1
105930 ac_status=$?
105931 grep -v '^ *+' conftest.er1 >conftest.err
105932 rm -f conftest.er1
105933 cat conftest.err >&5
105934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105935 (exit $ac_status); } &&
105936 { ac_try='test -z "$ac_cxx_werror_flag"
105937 || test ! -s conftest.err'
105938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105939 (eval $ac_try) 2>&5
105940 ac_status=$?
105941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105942 (exit $ac_status); }; } &&
105943 { ac_try='test -s conftest.$ac_objext'
105944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105945 (eval $ac_try) 2>&5
105946 ac_status=$?
105947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105948 (exit $ac_status); }; }; then
105949 glibcxx_cv_func___builtin_sinl_use=yes
105951 echo "$as_me: failed program was:" >&5
105952 sed 's/^/| /' conftest.$ac_ext >&5
105954 glibcxx_cv_func___builtin_sinl_use=no
105956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105957 ac_ext=c
105958 ac_cpp='$CPP $CPPFLAGS'
105959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105967 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
105968 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
105969 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
105970 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
105971 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
105972 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
105973 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
105974 echo $ECHO_N "(cached) $ECHO_C" >&6
105977 if test x$gcc_no_link = xyes; then
105978 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105979 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105980 { (exit 1); exit 1; }; }
105982 cat >conftest.$ac_ext <<_ACEOF
105983 /* confdefs.h. */
105984 _ACEOF
105985 cat confdefs.h >>conftest.$ac_ext
105986 cat >>conftest.$ac_ext <<_ACEOF
105987 /* end confdefs.h. */
105988 #include <math.h>
105990 main ()
105992 __builtin_sinl(0);
105994 return 0;
105996 _ACEOF
105997 rm -f conftest.$ac_objext conftest$ac_exeext
105998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105999 (eval $ac_link) 2>conftest.er1
106000 ac_status=$?
106001 grep -v '^ *+' conftest.er1 >conftest.err
106002 rm -f conftest.er1
106003 cat conftest.err >&5
106004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106005 (exit $ac_status); } &&
106006 { ac_try='test -z "$ac_c_werror_flag"
106007 || test ! -s conftest.err'
106008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106009 (eval $ac_try) 2>&5
106010 ac_status=$?
106011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106012 (exit $ac_status); }; } &&
106013 { ac_try='test -s conftest$ac_exeext'
106014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106015 (eval $ac_try) 2>&5
106016 ac_status=$?
106017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106018 (exit $ac_status); }; }; then
106019 glibcxx_cv_func___builtin_sinl_link=yes
106021 echo "$as_me: failed program was:" >&5
106022 sed 's/^/| /' conftest.$ac_ext >&5
106024 glibcxx_cv_func___builtin_sinl_link=no
106026 rm -f conftest.err conftest.$ac_objext \
106027 conftest$ac_exeext conftest.$ac_ext
106032 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
106033 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
106035 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
106037 cat >>confdefs.h <<\_ACEOF
106038 #define HAVE___BUILTIN_SINL 1
106039 _ACEOF
106047 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
106048 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
106049 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
106050 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
106051 echo $ECHO_N "(cached) $ECHO_C" >&6
106056 ac_ext=cc
106057 ac_cpp='$CXXCPP $CPPFLAGS'
106058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106062 cat >conftest.$ac_ext <<_ACEOF
106063 /* confdefs.h. */
106064 _ACEOF
106065 cat confdefs.h >>conftest.$ac_ext
106066 cat >>conftest.$ac_ext <<_ACEOF
106067 /* end confdefs.h. */
106068 #include <math.h>
106070 main ()
106072 __builtin_cosf(0);
106074 return 0;
106076 _ACEOF
106077 rm -f conftest.$ac_objext
106078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106079 (eval $ac_compile) 2>conftest.er1
106080 ac_status=$?
106081 grep -v '^ *+' conftest.er1 >conftest.err
106082 rm -f conftest.er1
106083 cat conftest.err >&5
106084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106085 (exit $ac_status); } &&
106086 { ac_try='test -z "$ac_cxx_werror_flag"
106087 || test ! -s conftest.err'
106088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106089 (eval $ac_try) 2>&5
106090 ac_status=$?
106091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106092 (exit $ac_status); }; } &&
106093 { ac_try='test -s conftest.$ac_objext'
106094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106095 (eval $ac_try) 2>&5
106096 ac_status=$?
106097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106098 (exit $ac_status); }; }; then
106099 glibcxx_cv_func___builtin_cosf_use=yes
106101 echo "$as_me: failed program was:" >&5
106102 sed 's/^/| /' conftest.$ac_ext >&5
106104 glibcxx_cv_func___builtin_cosf_use=no
106106 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106107 ac_ext=c
106108 ac_cpp='$CPP $CPPFLAGS'
106109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106117 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
106118 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
106119 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
106120 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
106121 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
106122 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
106123 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
106124 echo $ECHO_N "(cached) $ECHO_C" >&6
106127 if test x$gcc_no_link = xyes; then
106128 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106129 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106130 { (exit 1); exit 1; }; }
106132 cat >conftest.$ac_ext <<_ACEOF
106133 /* confdefs.h. */
106134 _ACEOF
106135 cat confdefs.h >>conftest.$ac_ext
106136 cat >>conftest.$ac_ext <<_ACEOF
106137 /* end confdefs.h. */
106138 #include <math.h>
106140 main ()
106142 __builtin_cosf(0);
106144 return 0;
106146 _ACEOF
106147 rm -f conftest.$ac_objext conftest$ac_exeext
106148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106149 (eval $ac_link) 2>conftest.er1
106150 ac_status=$?
106151 grep -v '^ *+' conftest.er1 >conftest.err
106152 rm -f conftest.er1
106153 cat conftest.err >&5
106154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106155 (exit $ac_status); } &&
106156 { ac_try='test -z "$ac_c_werror_flag"
106157 || test ! -s conftest.err'
106158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106159 (eval $ac_try) 2>&5
106160 ac_status=$?
106161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106162 (exit $ac_status); }; } &&
106163 { ac_try='test -s conftest$ac_exeext'
106164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106165 (eval $ac_try) 2>&5
106166 ac_status=$?
106167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106168 (exit $ac_status); }; }; then
106169 glibcxx_cv_func___builtin_cosf_link=yes
106171 echo "$as_me: failed program was:" >&5
106172 sed 's/^/| /' conftest.$ac_ext >&5
106174 glibcxx_cv_func___builtin_cosf_link=no
106176 rm -f conftest.err conftest.$ac_objext \
106177 conftest$ac_exeext conftest.$ac_ext
106182 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
106183 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
106185 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
106187 cat >>confdefs.h <<\_ACEOF
106188 #define HAVE___BUILTIN_COSF 1
106189 _ACEOF
106196 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
106197 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
106198 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
106199 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
106200 echo $ECHO_N "(cached) $ECHO_C" >&6
106205 ac_ext=cc
106206 ac_cpp='$CXXCPP $CPPFLAGS'
106207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106211 cat >conftest.$ac_ext <<_ACEOF
106212 /* confdefs.h. */
106213 _ACEOF
106214 cat confdefs.h >>conftest.$ac_ext
106215 cat >>conftest.$ac_ext <<_ACEOF
106216 /* end confdefs.h. */
106217 #include <math.h>
106219 main ()
106221 __builtin_cos(0);
106223 return 0;
106225 _ACEOF
106226 rm -f conftest.$ac_objext
106227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106228 (eval $ac_compile) 2>conftest.er1
106229 ac_status=$?
106230 grep -v '^ *+' conftest.er1 >conftest.err
106231 rm -f conftest.er1
106232 cat conftest.err >&5
106233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106234 (exit $ac_status); } &&
106235 { ac_try='test -z "$ac_cxx_werror_flag"
106236 || test ! -s conftest.err'
106237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106238 (eval $ac_try) 2>&5
106239 ac_status=$?
106240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106241 (exit $ac_status); }; } &&
106242 { ac_try='test -s conftest.$ac_objext'
106243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106244 (eval $ac_try) 2>&5
106245 ac_status=$?
106246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106247 (exit $ac_status); }; }; then
106248 glibcxx_cv_func___builtin_cos_use=yes
106250 echo "$as_me: failed program was:" >&5
106251 sed 's/^/| /' conftest.$ac_ext >&5
106253 glibcxx_cv_func___builtin_cos_use=no
106255 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106256 ac_ext=c
106257 ac_cpp='$CPP $CPPFLAGS'
106258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106266 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
106267 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
106268 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
106269 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
106270 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
106271 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
106272 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
106273 echo $ECHO_N "(cached) $ECHO_C" >&6
106276 if test x$gcc_no_link = xyes; then
106277 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106278 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106279 { (exit 1); exit 1; }; }
106281 cat >conftest.$ac_ext <<_ACEOF
106282 /* confdefs.h. */
106283 _ACEOF
106284 cat confdefs.h >>conftest.$ac_ext
106285 cat >>conftest.$ac_ext <<_ACEOF
106286 /* end confdefs.h. */
106287 #include <math.h>
106289 main ()
106291 __builtin_cos(0);
106293 return 0;
106295 _ACEOF
106296 rm -f conftest.$ac_objext conftest$ac_exeext
106297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106298 (eval $ac_link) 2>conftest.er1
106299 ac_status=$?
106300 grep -v '^ *+' conftest.er1 >conftest.err
106301 rm -f conftest.er1
106302 cat conftest.err >&5
106303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106304 (exit $ac_status); } &&
106305 { ac_try='test -z "$ac_c_werror_flag"
106306 || test ! -s conftest.err'
106307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106308 (eval $ac_try) 2>&5
106309 ac_status=$?
106310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106311 (exit $ac_status); }; } &&
106312 { ac_try='test -s conftest$ac_exeext'
106313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106314 (eval $ac_try) 2>&5
106315 ac_status=$?
106316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106317 (exit $ac_status); }; }; then
106318 glibcxx_cv_func___builtin_cos_link=yes
106320 echo "$as_me: failed program was:" >&5
106321 sed 's/^/| /' conftest.$ac_ext >&5
106323 glibcxx_cv_func___builtin_cos_link=no
106325 rm -f conftest.err conftest.$ac_objext \
106326 conftest$ac_exeext conftest.$ac_ext
106331 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
106332 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
106334 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
106336 cat >>confdefs.h <<\_ACEOF
106337 #define HAVE___BUILTIN_COS 1
106338 _ACEOF
106345 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
106346 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
106347 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
106348 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
106349 echo $ECHO_N "(cached) $ECHO_C" >&6
106354 ac_ext=cc
106355 ac_cpp='$CXXCPP $CPPFLAGS'
106356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106360 cat >conftest.$ac_ext <<_ACEOF
106361 /* confdefs.h. */
106362 _ACEOF
106363 cat confdefs.h >>conftest.$ac_ext
106364 cat >>conftest.$ac_ext <<_ACEOF
106365 /* end confdefs.h. */
106366 #include <math.h>
106368 main ()
106370 __builtin_cosl(0);
106372 return 0;
106374 _ACEOF
106375 rm -f conftest.$ac_objext
106376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106377 (eval $ac_compile) 2>conftest.er1
106378 ac_status=$?
106379 grep -v '^ *+' conftest.er1 >conftest.err
106380 rm -f conftest.er1
106381 cat conftest.err >&5
106382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106383 (exit $ac_status); } &&
106384 { ac_try='test -z "$ac_cxx_werror_flag"
106385 || test ! -s conftest.err'
106386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106387 (eval $ac_try) 2>&5
106388 ac_status=$?
106389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106390 (exit $ac_status); }; } &&
106391 { ac_try='test -s conftest.$ac_objext'
106392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106393 (eval $ac_try) 2>&5
106394 ac_status=$?
106395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106396 (exit $ac_status); }; }; then
106397 glibcxx_cv_func___builtin_cosl_use=yes
106399 echo "$as_me: failed program was:" >&5
106400 sed 's/^/| /' conftest.$ac_ext >&5
106402 glibcxx_cv_func___builtin_cosl_use=no
106404 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106405 ac_ext=c
106406 ac_cpp='$CPP $CPPFLAGS'
106407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106415 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
106416 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
106417 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
106418 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
106419 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
106420 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
106421 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
106422 echo $ECHO_N "(cached) $ECHO_C" >&6
106425 if test x$gcc_no_link = xyes; then
106426 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106427 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106428 { (exit 1); exit 1; }; }
106430 cat >conftest.$ac_ext <<_ACEOF
106431 /* confdefs.h. */
106432 _ACEOF
106433 cat confdefs.h >>conftest.$ac_ext
106434 cat >>conftest.$ac_ext <<_ACEOF
106435 /* end confdefs.h. */
106436 #include <math.h>
106438 main ()
106440 __builtin_cosl(0);
106442 return 0;
106444 _ACEOF
106445 rm -f conftest.$ac_objext conftest$ac_exeext
106446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106447 (eval $ac_link) 2>conftest.er1
106448 ac_status=$?
106449 grep -v '^ *+' conftest.er1 >conftest.err
106450 rm -f conftest.er1
106451 cat conftest.err >&5
106452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106453 (exit $ac_status); } &&
106454 { ac_try='test -z "$ac_c_werror_flag"
106455 || test ! -s conftest.err'
106456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106457 (eval $ac_try) 2>&5
106458 ac_status=$?
106459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106460 (exit $ac_status); }; } &&
106461 { ac_try='test -s conftest$ac_exeext'
106462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106463 (eval $ac_try) 2>&5
106464 ac_status=$?
106465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106466 (exit $ac_status); }; }; then
106467 glibcxx_cv_func___builtin_cosl_link=yes
106469 echo "$as_me: failed program was:" >&5
106470 sed 's/^/| /' conftest.$ac_ext >&5
106472 glibcxx_cv_func___builtin_cosl_link=no
106474 rm -f conftest.err conftest.$ac_objext \
106475 conftest$ac_exeext conftest.$ac_ext
106480 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
106481 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
106483 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
106485 cat >>confdefs.h <<\_ACEOF
106486 #define HAVE___BUILTIN_COSL 1
106487 _ACEOF
106496 echo "$as_me:$LINENO: checking for main in -lm" >&5
106497 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
106498 if test "${ac_cv_lib_m_main+set}" = set; then
106499 echo $ECHO_N "(cached) $ECHO_C" >&6
106501 ac_check_lib_save_LIBS=$LIBS
106502 LIBS="-lm $LIBS"
106503 if test x$gcc_no_link = xyes; then
106504 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106505 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106506 { (exit 1); exit 1; }; }
106508 cat >conftest.$ac_ext <<_ACEOF
106509 /* confdefs.h. */
106510 _ACEOF
106511 cat confdefs.h >>conftest.$ac_ext
106512 cat >>conftest.$ac_ext <<_ACEOF
106513 /* end confdefs.h. */
106517 main ()
106519 main ();
106521 return 0;
106523 _ACEOF
106524 rm -f conftest.$ac_objext conftest$ac_exeext
106525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106526 (eval $ac_link) 2>conftest.er1
106527 ac_status=$?
106528 grep -v '^ *+' conftest.er1 >conftest.err
106529 rm -f conftest.er1
106530 cat conftest.err >&5
106531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106532 (exit $ac_status); } &&
106533 { ac_try='test -z "$ac_c_werror_flag"
106534 || test ! -s conftest.err'
106535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106536 (eval $ac_try) 2>&5
106537 ac_status=$?
106538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106539 (exit $ac_status); }; } &&
106540 { ac_try='test -s conftest$ac_exeext'
106541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106542 (eval $ac_try) 2>&5
106543 ac_status=$?
106544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106545 (exit $ac_status); }; }; then
106546 ac_cv_lib_m_main=yes
106548 echo "$as_me: failed program was:" >&5
106549 sed 's/^/| /' conftest.$ac_ext >&5
106551 ac_cv_lib_m_main=no
106553 rm -f conftest.err conftest.$ac_objext \
106554 conftest$ac_exeext conftest.$ac_ext
106555 LIBS=$ac_check_lib_save_LIBS
106557 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
106558 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
106559 if test $ac_cv_lib_m_main = yes; then
106560 cat >>confdefs.h <<_ACEOF
106561 #define HAVE_LIBM 1
106562 _ACEOF
106564 LIBS="-lm $LIBS"
106569 for ac_func in copysignf
106571 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
106572 echo "$as_me:$LINENO: checking for $ac_func" >&5
106573 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
106574 if eval "test \"\${$as_ac_var+set}\" = set"; then
106575 echo $ECHO_N "(cached) $ECHO_C" >&6
106577 if test x$gcc_no_link = xyes; then
106578 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106579 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106580 { (exit 1); exit 1; }; }
106582 cat >conftest.$ac_ext <<_ACEOF
106583 /* confdefs.h. */
106584 _ACEOF
106585 cat confdefs.h >>conftest.$ac_ext
106586 cat >>conftest.$ac_ext <<_ACEOF
106587 /* end confdefs.h. */
106588 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
106589 For example, HP-UX 11i <limits.h> declares gettimeofday. */
106590 #define $ac_func innocuous_$ac_func
106592 /* System header to define __stub macros and hopefully few prototypes,
106593 which can conflict with char $ac_func (); below.
106594 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
106595 <limits.h> exists even on freestanding compilers. */
106597 #ifdef __STDC__
106598 # include <limits.h>
106599 #else
106600 # include <assert.h>
106601 #endif
106603 #undef $ac_func
106605 /* Override any gcc2 internal prototype to avoid an error. */
106606 #ifdef __cplusplus
106607 extern "C"
106609 #endif
106610 /* We use char because int might match the return type of a gcc2
106611 builtin and then its argument prototype would still apply. */
106612 char $ac_func ();
106613 /* The GNU C library defines this for functions which it implements
106614 to always fail with ENOSYS. Some functions are actually named
106615 something starting with __ and the normal name is an alias. */
106616 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
106617 choke me
106618 #else
106619 char (*f) () = $ac_func;
106620 #endif
106621 #ifdef __cplusplus
106623 #endif
106626 main ()
106628 return f != $ac_func;
106630 return 0;
106632 _ACEOF
106633 rm -f conftest.$ac_objext conftest$ac_exeext
106634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106635 (eval $ac_link) 2>conftest.er1
106636 ac_status=$?
106637 grep -v '^ *+' conftest.er1 >conftest.err
106638 rm -f conftest.er1
106639 cat conftest.err >&5
106640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106641 (exit $ac_status); } &&
106642 { ac_try='test -z "$ac_c_werror_flag"
106643 || test ! -s conftest.err'
106644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106645 (eval $ac_try) 2>&5
106646 ac_status=$?
106647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106648 (exit $ac_status); }; } &&
106649 { ac_try='test -s conftest$ac_exeext'
106650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106651 (eval $ac_try) 2>&5
106652 ac_status=$?
106653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106654 (exit $ac_status); }; }; then
106655 eval "$as_ac_var=yes"
106657 echo "$as_me: failed program was:" >&5
106658 sed 's/^/| /' conftest.$ac_ext >&5
106660 eval "$as_ac_var=no"
106662 rm -f conftest.err conftest.$ac_objext \
106663 conftest$ac_exeext conftest.$ac_ext
106665 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
106666 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
106667 if test `eval echo '${'$as_ac_var'}'` = yes; then
106668 cat >>confdefs.h <<_ACEOF
106669 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
106670 _ACEOF
106673 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
106679 for ac_func in __signbit
106681 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
106682 echo "$as_me:$LINENO: checking for $ac_func" >&5
106683 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
106684 if eval "test \"\${$as_ac_var+set}\" = set"; then
106685 echo $ECHO_N "(cached) $ECHO_C" >&6
106687 if test x$gcc_no_link = xyes; then
106688 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106689 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106690 { (exit 1); exit 1; }; }
106692 cat >conftest.$ac_ext <<_ACEOF
106693 /* confdefs.h. */
106694 _ACEOF
106695 cat confdefs.h >>conftest.$ac_ext
106696 cat >>conftest.$ac_ext <<_ACEOF
106697 /* end confdefs.h. */
106698 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
106699 For example, HP-UX 11i <limits.h> declares gettimeofday. */
106700 #define $ac_func innocuous_$ac_func
106702 /* System header to define __stub macros and hopefully few prototypes,
106703 which can conflict with char $ac_func (); below.
106704 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
106705 <limits.h> exists even on freestanding compilers. */
106707 #ifdef __STDC__
106708 # include <limits.h>
106709 #else
106710 # include <assert.h>
106711 #endif
106713 #undef $ac_func
106715 /* Override any gcc2 internal prototype to avoid an error. */
106716 #ifdef __cplusplus
106717 extern "C"
106719 #endif
106720 /* We use char because int might match the return type of a gcc2
106721 builtin and then its argument prototype would still apply. */
106722 char $ac_func ();
106723 /* The GNU C library defines this for functions which it implements
106724 to always fail with ENOSYS. Some functions are actually named
106725 something starting with __ and the normal name is an alias. */
106726 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
106727 choke me
106728 #else
106729 char (*f) () = $ac_func;
106730 #endif
106731 #ifdef __cplusplus
106733 #endif
106736 main ()
106738 return f != $ac_func;
106740 return 0;
106742 _ACEOF
106743 rm -f conftest.$ac_objext conftest$ac_exeext
106744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106745 (eval $ac_link) 2>conftest.er1
106746 ac_status=$?
106747 grep -v '^ *+' conftest.er1 >conftest.err
106748 rm -f conftest.er1
106749 cat conftest.err >&5
106750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106751 (exit $ac_status); } &&
106752 { ac_try='test -z "$ac_c_werror_flag"
106753 || test ! -s conftest.err'
106754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106755 (eval $ac_try) 2>&5
106756 ac_status=$?
106757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106758 (exit $ac_status); }; } &&
106759 { ac_try='test -s conftest$ac_exeext'
106760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106761 (eval $ac_try) 2>&5
106762 ac_status=$?
106763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106764 (exit $ac_status); }; }; then
106765 eval "$as_ac_var=yes"
106767 echo "$as_me: failed program was:" >&5
106768 sed 's/^/| /' conftest.$ac_ext >&5
106770 eval "$as_ac_var=no"
106772 rm -f conftest.err conftest.$ac_objext \
106773 conftest$ac_exeext conftest.$ac_ext
106775 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
106776 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
106777 if test `eval echo '${'$as_ac_var'}'` = yes; then
106778 cat >>confdefs.h <<_ACEOF
106779 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
106780 _ACEOF
106783 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
106789 for ac_func in __signbitf
106791 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
106792 echo "$as_me:$LINENO: checking for $ac_func" >&5
106793 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
106794 if eval "test \"\${$as_ac_var+set}\" = set"; then
106795 echo $ECHO_N "(cached) $ECHO_C" >&6
106797 if test x$gcc_no_link = xyes; then
106798 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106799 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106800 { (exit 1); exit 1; }; }
106802 cat >conftest.$ac_ext <<_ACEOF
106803 /* confdefs.h. */
106804 _ACEOF
106805 cat confdefs.h >>conftest.$ac_ext
106806 cat >>conftest.$ac_ext <<_ACEOF
106807 /* end confdefs.h. */
106808 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
106809 For example, HP-UX 11i <limits.h> declares gettimeofday. */
106810 #define $ac_func innocuous_$ac_func
106812 /* System header to define __stub macros and hopefully few prototypes,
106813 which can conflict with char $ac_func (); below.
106814 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
106815 <limits.h> exists even on freestanding compilers. */
106817 #ifdef __STDC__
106818 # include <limits.h>
106819 #else
106820 # include <assert.h>
106821 #endif
106823 #undef $ac_func
106825 /* Override any gcc2 internal prototype to avoid an error. */
106826 #ifdef __cplusplus
106827 extern "C"
106829 #endif
106830 /* We use char because int might match the return type of a gcc2
106831 builtin and then its argument prototype would still apply. */
106832 char $ac_func ();
106833 /* The GNU C library defines this for functions which it implements
106834 to always fail with ENOSYS. Some functions are actually named
106835 something starting with __ and the normal name is an alias. */
106836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
106837 choke me
106838 #else
106839 char (*f) () = $ac_func;
106840 #endif
106841 #ifdef __cplusplus
106843 #endif
106846 main ()
106848 return f != $ac_func;
106850 return 0;
106852 _ACEOF
106853 rm -f conftest.$ac_objext conftest$ac_exeext
106854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106855 (eval $ac_link) 2>conftest.er1
106856 ac_status=$?
106857 grep -v '^ *+' conftest.er1 >conftest.err
106858 rm -f conftest.er1
106859 cat conftest.err >&5
106860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106861 (exit $ac_status); } &&
106862 { ac_try='test -z "$ac_c_werror_flag"
106863 || test ! -s conftest.err'
106864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106865 (eval $ac_try) 2>&5
106866 ac_status=$?
106867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106868 (exit $ac_status); }; } &&
106869 { ac_try='test -s conftest$ac_exeext'
106870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106871 (eval $ac_try) 2>&5
106872 ac_status=$?
106873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106874 (exit $ac_status); }; }; then
106875 eval "$as_ac_var=yes"
106877 echo "$as_me: failed program was:" >&5
106878 sed 's/^/| /' conftest.$ac_ext >&5
106880 eval "$as_ac_var=no"
106882 rm -f conftest.err conftest.$ac_objext \
106883 conftest$ac_exeext conftest.$ac_ext
106885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
106886 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
106887 if test `eval echo '${'$as_ac_var'}'` = yes; then
106888 cat >>confdefs.h <<_ACEOF
106889 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
106890 _ACEOF
106893 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
106898 if test x$ac_cv_func_copysignl = x"yes"; then
106900 for ac_func in __signbitl
106902 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
106903 echo "$as_me:$LINENO: checking for $ac_func" >&5
106904 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
106905 if eval "test \"\${$as_ac_var+set}\" = set"; then
106906 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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
106920 For example, HP-UX 11i <limits.h> declares gettimeofday. */
106921 #define $ac_func innocuous_$ac_func
106923 /* System header to define __stub macros and hopefully few prototypes,
106924 which can conflict with char $ac_func (); below.
106925 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
106926 <limits.h> exists even on freestanding compilers. */
106928 #ifdef __STDC__
106929 # include <limits.h>
106930 #else
106931 # include <assert.h>
106932 #endif
106934 #undef $ac_func
106936 /* Override any gcc2 internal prototype to avoid an error. */
106937 #ifdef __cplusplus
106938 extern "C"
106940 #endif
106941 /* We use char because int might match the return type of a gcc2
106942 builtin and then its argument prototype would still apply. */
106943 char $ac_func ();
106944 /* The GNU C library defines this for functions which it implements
106945 to always fail with ENOSYS. Some functions are actually named
106946 something starting with __ and the normal name is an alias. */
106947 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
106948 choke me
106949 #else
106950 char (*f) () = $ac_func;
106951 #endif
106952 #ifdef __cplusplus
106954 #endif
106957 main ()
106959 return f != $ac_func;
106961 return 0;
106963 _ACEOF
106964 rm -f conftest.$ac_objext conftest$ac_exeext
106965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106966 (eval $ac_link) 2>conftest.er1
106967 ac_status=$?
106968 grep -v '^ *+' conftest.er1 >conftest.err
106969 rm -f conftest.er1
106970 cat conftest.err >&5
106971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106972 (exit $ac_status); } &&
106973 { ac_try='test -z "$ac_c_werror_flag"
106974 || test ! -s conftest.err'
106975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106976 (eval $ac_try) 2>&5
106977 ac_status=$?
106978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106979 (exit $ac_status); }; } &&
106980 { ac_try='test -s conftest$ac_exeext'
106981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106982 (eval $ac_try) 2>&5
106983 ac_status=$?
106984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106985 (exit $ac_status); }; }; then
106986 eval "$as_ac_var=yes"
106988 echo "$as_me: failed program was:" >&5
106989 sed 's/^/| /' conftest.$ac_ext >&5
106991 eval "$as_ac_var=no"
106993 rm -f conftest.err conftest.$ac_objext \
106994 conftest$ac_exeext conftest.$ac_ext
106996 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
106997 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
106998 if test `eval echo '${'$as_ac_var'}'` = yes; then
106999 cat >>confdefs.h <<_ACEOF
107000 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107001 _ACEOF
107004 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
107010 # Used in libmath/Makefile.am.
107011 if test -n "$LIBMATHOBJS"; then
107012 need_libmath=yes
107017 ac_test_CXXFLAGS="${CXXFLAGS+set}"
107018 ac_save_CXXFLAGS="$CXXFLAGS"
107019 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
107022 echo "$as_me:$LINENO: checking for strtold declaration" >&5
107023 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
107024 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
107025 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
107026 echo $ECHO_N "(cached) $ECHO_C" >&6
107031 ac_ext=cc
107032 ac_cpp='$CXXCPP $CPPFLAGS'
107033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107037 cat >conftest.$ac_ext <<_ACEOF
107038 /* confdefs.h. */
107039 _ACEOF
107040 cat confdefs.h >>conftest.$ac_ext
107041 cat >>conftest.$ac_ext <<_ACEOF
107042 /* end confdefs.h. */
107043 #include <stdlib.h>
107045 main ()
107047 strtold(0, 0);
107049 return 0;
107051 _ACEOF
107052 rm -f conftest.$ac_objext
107053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107054 (eval $ac_compile) 2>conftest.er1
107055 ac_status=$?
107056 grep -v '^ *+' conftest.er1 >conftest.err
107057 rm -f conftest.er1
107058 cat conftest.err >&5
107059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107060 (exit $ac_status); } &&
107061 { ac_try='test -z "$ac_cxx_werror_flag"
107062 || test ! -s conftest.err'
107063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107064 (eval $ac_try) 2>&5
107065 ac_status=$?
107066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107067 (exit $ac_status); }; } &&
107068 { ac_try='test -s conftest.$ac_objext'
107069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107070 (eval $ac_try) 2>&5
107071 ac_status=$?
107072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107073 (exit $ac_status); }; }; then
107074 glibcxx_cv_func_strtold_use=yes
107076 echo "$as_me: failed program was:" >&5
107077 sed 's/^/| /' conftest.$ac_ext >&5
107079 glibcxx_cv_func_strtold_use=no
107081 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107082 ac_ext=c
107083 ac_cpp='$CPP $CPPFLAGS'
107084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107092 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
107093 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
107094 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
107096 for ac_func in strtold
107098 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107099 echo "$as_me:$LINENO: checking for $ac_func" >&5
107100 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107101 if eval "test \"\${$as_ac_var+set}\" = set"; then
107102 echo $ECHO_N "(cached) $ECHO_C" >&6
107104 if test x$gcc_no_link = xyes; then
107105 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107106 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107107 { (exit 1); exit 1; }; }
107109 cat >conftest.$ac_ext <<_ACEOF
107110 /* confdefs.h. */
107111 _ACEOF
107112 cat confdefs.h >>conftest.$ac_ext
107113 cat >>conftest.$ac_ext <<_ACEOF
107114 /* end confdefs.h. */
107115 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107116 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107117 #define $ac_func innocuous_$ac_func
107119 /* System header to define __stub macros and hopefully few prototypes,
107120 which can conflict with char $ac_func (); below.
107121 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107122 <limits.h> exists even on freestanding compilers. */
107124 #ifdef __STDC__
107125 # include <limits.h>
107126 #else
107127 # include <assert.h>
107128 #endif
107130 #undef $ac_func
107132 /* Override any gcc2 internal prototype to avoid an error. */
107133 #ifdef __cplusplus
107134 extern "C"
107136 #endif
107137 /* We use char because int might match the return type of a gcc2
107138 builtin and then its argument prototype would still apply. */
107139 char $ac_func ();
107140 /* The GNU C library defines this for functions which it implements
107141 to always fail with ENOSYS. Some functions are actually named
107142 something starting with __ and the normal name is an alias. */
107143 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107144 choke me
107145 #else
107146 char (*f) () = $ac_func;
107147 #endif
107148 #ifdef __cplusplus
107150 #endif
107153 main ()
107155 return f != $ac_func;
107157 return 0;
107159 _ACEOF
107160 rm -f conftest.$ac_objext conftest$ac_exeext
107161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107162 (eval $ac_link) 2>conftest.er1
107163 ac_status=$?
107164 grep -v '^ *+' conftest.er1 >conftest.err
107165 rm -f conftest.er1
107166 cat conftest.err >&5
107167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107168 (exit $ac_status); } &&
107169 { ac_try='test -z "$ac_c_werror_flag"
107170 || test ! -s conftest.err'
107171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107172 (eval $ac_try) 2>&5
107173 ac_status=$?
107174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107175 (exit $ac_status); }; } &&
107176 { ac_try='test -s conftest$ac_exeext'
107177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107178 (eval $ac_try) 2>&5
107179 ac_status=$?
107180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107181 (exit $ac_status); }; }; then
107182 eval "$as_ac_var=yes"
107184 echo "$as_me: failed program was:" >&5
107185 sed 's/^/| /' conftest.$ac_ext >&5
107187 eval "$as_ac_var=no"
107189 rm -f conftest.err conftest.$ac_objext \
107190 conftest$ac_exeext conftest.$ac_ext
107192 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107193 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107194 if test `eval echo '${'$as_ac_var'}'` = yes; then
107195 cat >>confdefs.h <<_ACEOF
107196 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107197 _ACEOF
107208 echo "$as_me:$LINENO: checking for strtof declaration" >&5
107209 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
107210 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
107211 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
107212 echo $ECHO_N "(cached) $ECHO_C" >&6
107217 ac_ext=cc
107218 ac_cpp='$CXXCPP $CPPFLAGS'
107219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107223 cat >conftest.$ac_ext <<_ACEOF
107224 /* confdefs.h. */
107225 _ACEOF
107226 cat confdefs.h >>conftest.$ac_ext
107227 cat >>conftest.$ac_ext <<_ACEOF
107228 /* end confdefs.h. */
107229 #include <stdlib.h>
107231 main ()
107233 strtof(0, 0);
107235 return 0;
107237 _ACEOF
107238 rm -f conftest.$ac_objext
107239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107240 (eval $ac_compile) 2>conftest.er1
107241 ac_status=$?
107242 grep -v '^ *+' conftest.er1 >conftest.err
107243 rm -f conftest.er1
107244 cat conftest.err >&5
107245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107246 (exit $ac_status); } &&
107247 { ac_try='test -z "$ac_cxx_werror_flag"
107248 || test ! -s conftest.err'
107249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107250 (eval $ac_try) 2>&5
107251 ac_status=$?
107252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107253 (exit $ac_status); }; } &&
107254 { ac_try='test -s conftest.$ac_objext'
107255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107256 (eval $ac_try) 2>&5
107257 ac_status=$?
107258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107259 (exit $ac_status); }; }; then
107260 glibcxx_cv_func_strtof_use=yes
107262 echo "$as_me: failed program was:" >&5
107263 sed 's/^/| /' conftest.$ac_ext >&5
107265 glibcxx_cv_func_strtof_use=no
107267 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107268 ac_ext=c
107269 ac_cpp='$CPP $CPPFLAGS'
107270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107278 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
107279 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
107280 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
107282 for ac_func in strtof
107284 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107285 echo "$as_me:$LINENO: checking for $ac_func" >&5
107286 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107287 if eval "test \"\${$as_ac_var+set}\" = set"; then
107288 echo $ECHO_N "(cached) $ECHO_C" >&6
107290 if test x$gcc_no_link = xyes; then
107291 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107292 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107293 { (exit 1); exit 1; }; }
107295 cat >conftest.$ac_ext <<_ACEOF
107296 /* confdefs.h. */
107297 _ACEOF
107298 cat confdefs.h >>conftest.$ac_ext
107299 cat >>conftest.$ac_ext <<_ACEOF
107300 /* end confdefs.h. */
107301 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107302 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107303 #define $ac_func innocuous_$ac_func
107305 /* System header to define __stub macros and hopefully few prototypes,
107306 which can conflict with char $ac_func (); below.
107307 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107308 <limits.h> exists even on freestanding compilers. */
107310 #ifdef __STDC__
107311 # include <limits.h>
107312 #else
107313 # include <assert.h>
107314 #endif
107316 #undef $ac_func
107318 /* Override any gcc2 internal prototype to avoid an error. */
107319 #ifdef __cplusplus
107320 extern "C"
107322 #endif
107323 /* We use char because int might match the return type of a gcc2
107324 builtin and then its argument prototype would still apply. */
107325 char $ac_func ();
107326 /* The GNU C library defines this for functions which it implements
107327 to always fail with ENOSYS. Some functions are actually named
107328 something starting with __ and the normal name is an alias. */
107329 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107330 choke me
107331 #else
107332 char (*f) () = $ac_func;
107333 #endif
107334 #ifdef __cplusplus
107336 #endif
107339 main ()
107341 return f != $ac_func;
107343 return 0;
107345 _ACEOF
107346 rm -f conftest.$ac_objext conftest$ac_exeext
107347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107348 (eval $ac_link) 2>conftest.er1
107349 ac_status=$?
107350 grep -v '^ *+' conftest.er1 >conftest.err
107351 rm -f conftest.er1
107352 cat conftest.err >&5
107353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107354 (exit $ac_status); } &&
107355 { ac_try='test -z "$ac_c_werror_flag"
107356 || test ! -s conftest.err'
107357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107358 (eval $ac_try) 2>&5
107359 ac_status=$?
107360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107361 (exit $ac_status); }; } &&
107362 { ac_try='test -s conftest$ac_exeext'
107363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107364 (eval $ac_try) 2>&5
107365 ac_status=$?
107366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107367 (exit $ac_status); }; }; then
107368 eval "$as_ac_var=yes"
107370 echo "$as_me: failed program was:" >&5
107371 sed 's/^/| /' conftest.$ac_ext >&5
107373 eval "$as_ac_var=no"
107375 rm -f conftest.err conftest.$ac_objext \
107376 conftest$ac_exeext conftest.$ac_ext
107378 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107379 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107380 if test `eval echo '${'$as_ac_var'}'` = yes; then
107381 cat >>confdefs.h <<_ACEOF
107382 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107383 _ACEOF
107394 CXXFLAGS="$ac_save_CXXFLAGS"
107397 # For LFS.
107398 cat >>confdefs.h <<\_ACEOF
107399 #define HAVE_INT64_T 1
107400 _ACEOF
107405 ac_ext=cc
107406 ac_cpp='$CXXCPP $CPPFLAGS'
107407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107411 ac_save_CXXFLAGS="$CXXFLAGS"
107412 CXXFLAGS="$CXXFLAGS -fno-exceptions"
107413 echo "$as_me:$LINENO: checking for LFS support" >&5
107414 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
107415 if test "${glibcxx_cv_LFS+set}" = set; then
107416 echo $ECHO_N "(cached) $ECHO_C" >&6
107419 if test x$gcc_no_link = xyes; then
107420 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107421 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107422 { (exit 1); exit 1; }; }
107424 cat >conftest.$ac_ext <<_ACEOF
107425 /* confdefs.h. */
107426 _ACEOF
107427 cat confdefs.h >>conftest.$ac_ext
107428 cat >>conftest.$ac_ext <<_ACEOF
107429 /* end confdefs.h. */
107430 #include <unistd.h>
107431 #include <stdio.h>
107432 #include <sys/stat.h>
107435 main ()
107437 FILE* fp;
107438 fopen64("t", "w");
107439 fseeko64(fp, 0, SEEK_CUR);
107440 ftello64(fp);
107441 lseek64(1, 0, SEEK_CUR);
107442 struct stat64 buf;
107443 fstat64(1, &buf);
107445 return 0;
107447 _ACEOF
107448 rm -f conftest.$ac_objext conftest$ac_exeext
107449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107450 (eval $ac_link) 2>conftest.er1
107451 ac_status=$?
107452 grep -v '^ *+' conftest.er1 >conftest.err
107453 rm -f conftest.er1
107454 cat conftest.err >&5
107455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107456 (exit $ac_status); } &&
107457 { ac_try='test -z "$ac_cxx_werror_flag"
107458 || test ! -s conftest.err'
107459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107460 (eval $ac_try) 2>&5
107461 ac_status=$?
107462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107463 (exit $ac_status); }; } &&
107464 { ac_try='test -s conftest$ac_exeext'
107465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107466 (eval $ac_try) 2>&5
107467 ac_status=$?
107468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107469 (exit $ac_status); }; }; then
107470 glibcxx_cv_LFS=yes
107472 echo "$as_me: failed program was:" >&5
107473 sed 's/^/| /' conftest.$ac_ext >&5
107475 glibcxx_cv_LFS=no
107477 rm -f conftest.err conftest.$ac_objext \
107478 conftest$ac_exeext conftest.$ac_ext
107482 if test $glibcxx_cv_LFS = yes; then
107484 cat >>confdefs.h <<\_ACEOF
107485 #define _GLIBCXX_USE_LFS 1
107486 _ACEOF
107489 echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
107490 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
107491 CXXFLAGS="$ac_save_CXXFLAGS"
107492 ac_ext=c
107493 ac_cpp='$CPP $CPPFLAGS'
107494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107500 # For showmanyc_helper().
107503 for ac_header in sys/ioctl.h sys/filio.h
107505 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
107506 if eval "test \"\${$as_ac_Header+set}\" = set"; then
107507 echo "$as_me:$LINENO: checking for $ac_header" >&5
107508 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
107509 if eval "test \"\${$as_ac_Header+set}\" = set"; then
107510 echo $ECHO_N "(cached) $ECHO_C" >&6
107512 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
107513 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
107515 # Is the header compilable?
107516 echo "$as_me:$LINENO: checking $ac_header usability" >&5
107517 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
107518 cat >conftest.$ac_ext <<_ACEOF
107519 /* confdefs.h. */
107520 _ACEOF
107521 cat confdefs.h >>conftest.$ac_ext
107522 cat >>conftest.$ac_ext <<_ACEOF
107523 /* end confdefs.h. */
107524 $ac_includes_default
107525 #include <$ac_header>
107526 _ACEOF
107527 rm -f conftest.$ac_objext
107528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107529 (eval $ac_compile) 2>conftest.er1
107530 ac_status=$?
107531 grep -v '^ *+' conftest.er1 >conftest.err
107532 rm -f conftest.er1
107533 cat conftest.err >&5
107534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107535 (exit $ac_status); } &&
107536 { ac_try='test -z "$ac_c_werror_flag"
107537 || test ! -s conftest.err'
107538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107539 (eval $ac_try) 2>&5
107540 ac_status=$?
107541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107542 (exit $ac_status); }; } &&
107543 { ac_try='test -s conftest.$ac_objext'
107544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107545 (eval $ac_try) 2>&5
107546 ac_status=$?
107547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107548 (exit $ac_status); }; }; then
107549 ac_header_compiler=yes
107551 echo "$as_me: failed program was:" >&5
107552 sed 's/^/| /' conftest.$ac_ext >&5
107554 ac_header_compiler=no
107556 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107557 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
107558 echo "${ECHO_T}$ac_header_compiler" >&6
107560 # Is the header present?
107561 echo "$as_me:$LINENO: checking $ac_header presence" >&5
107562 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
107563 cat >conftest.$ac_ext <<_ACEOF
107564 /* confdefs.h. */
107565 _ACEOF
107566 cat confdefs.h >>conftest.$ac_ext
107567 cat >>conftest.$ac_ext <<_ACEOF
107568 /* end confdefs.h. */
107569 #include <$ac_header>
107570 _ACEOF
107571 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
107572 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
107573 ac_status=$?
107574 grep -v '^ *+' conftest.er1 >conftest.err
107575 rm -f conftest.er1
107576 cat conftest.err >&5
107577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107578 (exit $ac_status); } >/dev/null; then
107579 if test -s conftest.err; then
107580 ac_cpp_err=$ac_c_preproc_warn_flag
107581 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
107583 ac_cpp_err=
107586 ac_cpp_err=yes
107588 if test -z "$ac_cpp_err"; then
107589 ac_header_preproc=yes
107591 echo "$as_me: failed program was:" >&5
107592 sed 's/^/| /' conftest.$ac_ext >&5
107594 ac_header_preproc=no
107596 rm -f conftest.err conftest.$ac_ext
107597 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
107598 echo "${ECHO_T}$ac_header_preproc" >&6
107600 # So? What about this header?
107601 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
107602 yes:no: )
107603 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
107604 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
107605 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
107606 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
107607 ac_header_preproc=yes
107609 no:yes:* )
107610 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
107611 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
107612 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
107613 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
107614 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
107615 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
107616 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
107617 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
107618 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
107619 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
107620 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
107621 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
107623 cat <<\_ASBOX
107624 ## ----------------------------------------- ##
107625 ## Report this to the package-unused lists. ##
107626 ## ----------------------------------------- ##
107627 _ASBOX
107629 sed "s/^/$as_me: WARNING: /" >&2
107632 echo "$as_me:$LINENO: checking for $ac_header" >&5
107633 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
107634 if eval "test \"\${$as_ac_Header+set}\" = set"; then
107635 echo $ECHO_N "(cached) $ECHO_C" >&6
107637 eval "$as_ac_Header=\$ac_header_preproc"
107639 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
107640 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
107643 if test `eval echo '${'$as_ac_Header'}'` = yes; then
107644 cat >>confdefs.h <<_ACEOF
107645 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
107646 _ACEOF
107653 echo "$as_me:$LINENO: checking for poll" >&5
107654 echo $ECHO_N "checking for poll... $ECHO_C" >&6
107655 if test "${glibcxx_cv_POLL+set}" = set; then
107656 echo $ECHO_N "(cached) $ECHO_C" >&6
107659 if test x$gcc_no_link = xyes; then
107660 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107661 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107662 { (exit 1); exit 1; }; }
107664 cat >conftest.$ac_ext <<_ACEOF
107665 /* confdefs.h. */
107666 _ACEOF
107667 cat confdefs.h >>conftest.$ac_ext
107668 cat >>conftest.$ac_ext <<_ACEOF
107669 /* end confdefs.h. */
107670 #include <poll.h>
107672 main ()
107674 struct pollfd pfd[1];
107675 pfd[0].events = POLLIN;
107676 poll(pfd, 1, 0);
107678 return 0;
107680 _ACEOF
107681 rm -f conftest.$ac_objext conftest$ac_exeext
107682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107683 (eval $ac_link) 2>conftest.er1
107684 ac_status=$?
107685 grep -v '^ *+' conftest.er1 >conftest.err
107686 rm -f conftest.er1
107687 cat conftest.err >&5
107688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107689 (exit $ac_status); } &&
107690 { ac_try='test -z "$ac_c_werror_flag"
107691 || test ! -s conftest.err'
107692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107693 (eval $ac_try) 2>&5
107694 ac_status=$?
107695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107696 (exit $ac_status); }; } &&
107697 { ac_try='test -s conftest$ac_exeext'
107698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107699 (eval $ac_try) 2>&5
107700 ac_status=$?
107701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107702 (exit $ac_status); }; }; then
107703 glibcxx_cv_POLL=yes
107705 echo "$as_me: failed program was:" >&5
107706 sed 's/^/| /' conftest.$ac_ext >&5
107708 glibcxx_cv_POLL=no
107710 rm -f conftest.err conftest.$ac_objext \
107711 conftest$ac_exeext conftest.$ac_ext
107715 if test $glibcxx_cv_POLL = yes; then
107717 cat >>confdefs.h <<\_ACEOF
107718 #define HAVE_POLL 1
107719 _ACEOF
107722 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
107723 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
107726 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
107727 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
107728 if test "${glibcxx_cv_S_ISREG+set}" = set; then
107729 echo $ECHO_N "(cached) $ECHO_C" >&6
107732 if test x$gcc_no_link = xyes; then
107733 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107734 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107735 { (exit 1); exit 1; }; }
107737 cat >conftest.$ac_ext <<_ACEOF
107738 /* confdefs.h. */
107739 _ACEOF
107740 cat confdefs.h >>conftest.$ac_ext
107741 cat >>conftest.$ac_ext <<_ACEOF
107742 /* end confdefs.h. */
107743 #include <sys/stat.h>
107745 main ()
107747 struct stat buffer;
107748 fstat(0, &buffer);
107749 S_ISREG(buffer.st_mode);
107751 return 0;
107753 _ACEOF
107754 rm -f conftest.$ac_objext conftest$ac_exeext
107755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107756 (eval $ac_link) 2>conftest.er1
107757 ac_status=$?
107758 grep -v '^ *+' conftest.er1 >conftest.err
107759 rm -f conftest.er1
107760 cat conftest.err >&5
107761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107762 (exit $ac_status); } &&
107763 { ac_try='test -z "$ac_c_werror_flag"
107764 || test ! -s conftest.err'
107765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107766 (eval $ac_try) 2>&5
107767 ac_status=$?
107768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107769 (exit $ac_status); }; } &&
107770 { ac_try='test -s conftest$ac_exeext'
107771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107772 (eval $ac_try) 2>&5
107773 ac_status=$?
107774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107775 (exit $ac_status); }; }; then
107776 glibcxx_cv_S_ISREG=yes
107778 echo "$as_me: failed program was:" >&5
107779 sed 's/^/| /' conftest.$ac_ext >&5
107781 glibcxx_cv_S_ISREG=no
107783 rm -f conftest.err conftest.$ac_objext \
107784 conftest$ac_exeext conftest.$ac_ext
107788 if test "${glibcxx_cv_S_IFREG+set}" = set; then
107789 echo $ECHO_N "(cached) $ECHO_C" >&6
107792 if test x$gcc_no_link = xyes; then
107793 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107794 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107795 { (exit 1); exit 1; }; }
107797 cat >conftest.$ac_ext <<_ACEOF
107798 /* confdefs.h. */
107799 _ACEOF
107800 cat confdefs.h >>conftest.$ac_ext
107801 cat >>conftest.$ac_ext <<_ACEOF
107802 /* end confdefs.h. */
107803 #include <sys/stat.h>
107805 main ()
107807 struct stat buffer;
107808 fstat(0, &buffer);
107809 S_IFREG & buffer.st_mode;
107811 return 0;
107813 _ACEOF
107814 rm -f conftest.$ac_objext conftest$ac_exeext
107815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107816 (eval $ac_link) 2>conftest.er1
107817 ac_status=$?
107818 grep -v '^ *+' conftest.er1 >conftest.err
107819 rm -f conftest.er1
107820 cat conftest.err >&5
107821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107822 (exit $ac_status); } &&
107823 { ac_try='test -z "$ac_c_werror_flag"
107824 || test ! -s conftest.err'
107825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107826 (eval $ac_try) 2>&5
107827 ac_status=$?
107828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107829 (exit $ac_status); }; } &&
107830 { ac_try='test -s conftest$ac_exeext'
107831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107832 (eval $ac_try) 2>&5
107833 ac_status=$?
107834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107835 (exit $ac_status); }; }; then
107836 glibcxx_cv_S_IFREG=yes
107838 echo "$as_me: failed program was:" >&5
107839 sed 's/^/| /' conftest.$ac_ext >&5
107841 glibcxx_cv_S_IFREG=no
107843 rm -f conftest.err conftest.$ac_objext \
107844 conftest$ac_exeext conftest.$ac_ext
107848 res=no
107849 if test $glibcxx_cv_S_ISREG = yes; then
107851 cat >>confdefs.h <<\_ACEOF
107852 #define HAVE_S_ISREG 1
107853 _ACEOF
107855 res=S_ISREG
107856 elif test $glibcxx_cv_S_IFREG = yes; then
107858 cat >>confdefs.h <<\_ACEOF
107859 #define HAVE_S_IFREG 1
107860 _ACEOF
107862 res=S_IFREG
107864 echo "$as_me:$LINENO: result: $res" >&5
107865 echo "${ECHO_T}$res" >&6
107868 # For xsputn_2().
107870 for ac_header in sys/uio.h
107872 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
107873 if eval "test \"\${$as_ac_Header+set}\" = set"; then
107874 echo "$as_me:$LINENO: checking for $ac_header" >&5
107875 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
107876 if eval "test \"\${$as_ac_Header+set}\" = set"; then
107877 echo $ECHO_N "(cached) $ECHO_C" >&6
107879 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
107880 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
107882 # Is the header compilable?
107883 echo "$as_me:$LINENO: checking $ac_header usability" >&5
107884 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
107885 cat >conftest.$ac_ext <<_ACEOF
107886 /* confdefs.h. */
107887 _ACEOF
107888 cat confdefs.h >>conftest.$ac_ext
107889 cat >>conftest.$ac_ext <<_ACEOF
107890 /* end confdefs.h. */
107891 $ac_includes_default
107892 #include <$ac_header>
107893 _ACEOF
107894 rm -f conftest.$ac_objext
107895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107896 (eval $ac_compile) 2>conftest.er1
107897 ac_status=$?
107898 grep -v '^ *+' conftest.er1 >conftest.err
107899 rm -f conftest.er1
107900 cat conftest.err >&5
107901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107902 (exit $ac_status); } &&
107903 { ac_try='test -z "$ac_c_werror_flag"
107904 || test ! -s conftest.err'
107905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107906 (eval $ac_try) 2>&5
107907 ac_status=$?
107908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107909 (exit $ac_status); }; } &&
107910 { ac_try='test -s conftest.$ac_objext'
107911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107912 (eval $ac_try) 2>&5
107913 ac_status=$?
107914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107915 (exit $ac_status); }; }; then
107916 ac_header_compiler=yes
107918 echo "$as_me: failed program was:" >&5
107919 sed 's/^/| /' conftest.$ac_ext >&5
107921 ac_header_compiler=no
107923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107924 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
107925 echo "${ECHO_T}$ac_header_compiler" >&6
107927 # Is the header present?
107928 echo "$as_me:$LINENO: checking $ac_header presence" >&5
107929 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
107930 cat >conftest.$ac_ext <<_ACEOF
107931 /* confdefs.h. */
107932 _ACEOF
107933 cat confdefs.h >>conftest.$ac_ext
107934 cat >>conftest.$ac_ext <<_ACEOF
107935 /* end confdefs.h. */
107936 #include <$ac_header>
107937 _ACEOF
107938 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
107939 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
107940 ac_status=$?
107941 grep -v '^ *+' conftest.er1 >conftest.err
107942 rm -f conftest.er1
107943 cat conftest.err >&5
107944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107945 (exit $ac_status); } >/dev/null; then
107946 if test -s conftest.err; then
107947 ac_cpp_err=$ac_c_preproc_warn_flag
107948 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
107950 ac_cpp_err=
107953 ac_cpp_err=yes
107955 if test -z "$ac_cpp_err"; then
107956 ac_header_preproc=yes
107958 echo "$as_me: failed program was:" >&5
107959 sed 's/^/| /' conftest.$ac_ext >&5
107961 ac_header_preproc=no
107963 rm -f conftest.err conftest.$ac_ext
107964 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
107965 echo "${ECHO_T}$ac_header_preproc" >&6
107967 # So? What about this header?
107968 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
107969 yes:no: )
107970 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
107971 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
107972 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
107973 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
107974 ac_header_preproc=yes
107976 no:yes:* )
107977 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
107978 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
107979 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
107980 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
107981 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
107982 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
107983 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
107984 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
107985 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
107986 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
107987 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
107988 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
107990 cat <<\_ASBOX
107991 ## ----------------------------------------- ##
107992 ## Report this to the package-unused lists. ##
107993 ## ----------------------------------------- ##
107994 _ASBOX
107996 sed "s/^/$as_me: WARNING: /" >&2
107999 echo "$as_me:$LINENO: checking for $ac_header" >&5
108000 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108001 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108002 echo $ECHO_N "(cached) $ECHO_C" >&6
108004 eval "$as_ac_Header=\$ac_header_preproc"
108006 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108007 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108010 if test `eval echo '${'$as_ac_Header'}'` = yes; then
108011 cat >>confdefs.h <<_ACEOF
108012 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
108013 _ACEOF
108020 echo "$as_me:$LINENO: checking for writev" >&5
108021 echo $ECHO_N "checking for writev... $ECHO_C" >&6
108022 if test "${glibcxx_cv_WRITEV+set}" = set; then
108023 echo $ECHO_N "(cached) $ECHO_C" >&6
108026 if test x$gcc_no_link = xyes; then
108027 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108028 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108029 { (exit 1); exit 1; }; }
108031 cat >conftest.$ac_ext <<_ACEOF
108032 /* confdefs.h. */
108033 _ACEOF
108034 cat confdefs.h >>conftest.$ac_ext
108035 cat >>conftest.$ac_ext <<_ACEOF
108036 /* end confdefs.h. */
108037 #include <sys/uio.h>
108039 main ()
108041 struct iovec iov[2];
108042 writev(0, iov, 0);
108044 return 0;
108046 _ACEOF
108047 rm -f conftest.$ac_objext conftest$ac_exeext
108048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108049 (eval $ac_link) 2>conftest.er1
108050 ac_status=$?
108051 grep -v '^ *+' conftest.er1 >conftest.err
108052 rm -f conftest.er1
108053 cat conftest.err >&5
108054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108055 (exit $ac_status); } &&
108056 { ac_try='test -z "$ac_c_werror_flag"
108057 || test ! -s conftest.err'
108058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108059 (eval $ac_try) 2>&5
108060 ac_status=$?
108061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108062 (exit $ac_status); }; } &&
108063 { ac_try='test -s conftest$ac_exeext'
108064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108065 (eval $ac_try) 2>&5
108066 ac_status=$?
108067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108068 (exit $ac_status); }; }; then
108069 glibcxx_cv_WRITEV=yes
108071 echo "$as_me: failed program was:" >&5
108072 sed 's/^/| /' conftest.$ac_ext >&5
108074 glibcxx_cv_WRITEV=no
108076 rm -f conftest.err conftest.$ac_objext \
108077 conftest$ac_exeext conftest.$ac_ext
108081 if test $glibcxx_cv_WRITEV = yes; then
108083 cat >>confdefs.h <<\_ACEOF
108084 #define HAVE_WRITEV 1
108085 _ACEOF
108088 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
108089 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
108092 *-mingw32*)
108096 for ac_header in sys/types.h locale.h float.h
108098 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
108099 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108100 echo "$as_me:$LINENO: checking for $ac_header" >&5
108101 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108102 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108103 echo $ECHO_N "(cached) $ECHO_C" >&6
108105 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108106 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108108 # Is the header compilable?
108109 echo "$as_me:$LINENO: checking $ac_header usability" >&5
108110 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
108111 cat >conftest.$ac_ext <<_ACEOF
108112 /* confdefs.h. */
108113 _ACEOF
108114 cat confdefs.h >>conftest.$ac_ext
108115 cat >>conftest.$ac_ext <<_ACEOF
108116 /* end confdefs.h. */
108117 $ac_includes_default
108118 #include <$ac_header>
108119 _ACEOF
108120 rm -f conftest.$ac_objext
108121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108122 (eval $ac_compile) 2>conftest.er1
108123 ac_status=$?
108124 grep -v '^ *+' conftest.er1 >conftest.err
108125 rm -f conftest.er1
108126 cat conftest.err >&5
108127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108128 (exit $ac_status); } &&
108129 { ac_try='test -z "$ac_c_werror_flag"
108130 || test ! -s conftest.err'
108131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108132 (eval $ac_try) 2>&5
108133 ac_status=$?
108134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108135 (exit $ac_status); }; } &&
108136 { ac_try='test -s conftest.$ac_objext'
108137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108138 (eval $ac_try) 2>&5
108139 ac_status=$?
108140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108141 (exit $ac_status); }; }; then
108142 ac_header_compiler=yes
108144 echo "$as_me: failed program was:" >&5
108145 sed 's/^/| /' conftest.$ac_ext >&5
108147 ac_header_compiler=no
108149 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108150 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
108151 echo "${ECHO_T}$ac_header_compiler" >&6
108153 # Is the header present?
108154 echo "$as_me:$LINENO: checking $ac_header presence" >&5
108155 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
108156 cat >conftest.$ac_ext <<_ACEOF
108157 /* confdefs.h. */
108158 _ACEOF
108159 cat confdefs.h >>conftest.$ac_ext
108160 cat >>conftest.$ac_ext <<_ACEOF
108161 /* end confdefs.h. */
108162 #include <$ac_header>
108163 _ACEOF
108164 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
108165 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
108166 ac_status=$?
108167 grep -v '^ *+' conftest.er1 >conftest.err
108168 rm -f conftest.er1
108169 cat conftest.err >&5
108170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108171 (exit $ac_status); } >/dev/null; then
108172 if test -s conftest.err; then
108173 ac_cpp_err=$ac_c_preproc_warn_flag
108174 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
108176 ac_cpp_err=
108179 ac_cpp_err=yes
108181 if test -z "$ac_cpp_err"; then
108182 ac_header_preproc=yes
108184 echo "$as_me: failed program was:" >&5
108185 sed 's/^/| /' conftest.$ac_ext >&5
108187 ac_header_preproc=no
108189 rm -f conftest.err conftest.$ac_ext
108190 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
108191 echo "${ECHO_T}$ac_header_preproc" >&6
108193 # So? What about this header?
108194 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
108195 yes:no: )
108196 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
108197 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
108198 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
108199 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
108200 ac_header_preproc=yes
108202 no:yes:* )
108203 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
108204 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
108205 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
108206 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
108207 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
108208 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
108209 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
108210 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
108211 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
108212 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
108213 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
108214 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
108216 cat <<\_ASBOX
108217 ## ----------------------------------------- ##
108218 ## Report this to the package-unused lists. ##
108219 ## ----------------------------------------- ##
108220 _ASBOX
108222 sed "s/^/$as_me: WARNING: /" >&2
108225 echo "$as_me:$LINENO: checking for $ac_header" >&5
108226 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108227 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108228 echo $ECHO_N "(cached) $ECHO_C" >&6
108230 eval "$as_ac_Header=\$ac_header_preproc"
108232 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108233 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108236 if test `eval echo '${'$as_ac_Header'}'` = yes; then
108237 cat >>confdefs.h <<_ACEOF
108238 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
108239 _ACEOF
108246 # If we're not using GNU ld, then there's no point in even trying these
108247 # tests. Check for that first. We should have already tested for gld
108248 # by now (in libtool), but require it now just to be safe...
108249 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
108250 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
108254 # The name set by libtool depends on the version of libtool. Shame on us
108255 # for depending on an impl detail, but c'est la vie. Older versions used
108256 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
108257 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
108258 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
108259 # set (hence we're using an older libtool), then set it.
108260 if test x${with_gnu_ld+set} != xset; then
108261 if test x${ac_cv_prog_gnu_ld+set} != xset; then
108262 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
108263 with_gnu_ld=no
108265 with_gnu_ld=$ac_cv_prog_gnu_ld
108269 # Start by getting the version number. I think the libtool test already
108270 # does some of this, but throws away the result.
108271 if test x"$with_gnu_ld" = x"yes"; then
108272 echo "$as_me:$LINENO: checking for ld version" >&5
108273 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
108275 ldver=`$LD --version 2>/dev/null | head -1 | \
108276 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
108278 glibcxx_gnu_ld_version=`echo $ldver | \
108279 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
108280 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
108281 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
108284 # Set --gc-sections.
108285 glibcxx_gcsections_min_ld=21602
108286 if test x"$with_gnu_ld" = x"yes" &&
108287 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
108289 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
108290 # NB: This flag only works reliably after 2.16.1. Configure tests
108291 # for this are difficult, so hard wire a value that should work.
108293 ac_test_CFLAGS="${CFLAGS+set}"
108294 ac_save_CFLAGS="$CFLAGS"
108295 CFLAGS='-Wl,--gc-sections'
108297 # Check for -Wl,--gc-sections
108298 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
108299 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
108300 if test x$gcc_no_link = xyes; then
108301 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108302 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108303 { (exit 1); exit 1; }; }
108305 cat >conftest.$ac_ext <<_ACEOF
108306 /* confdefs.h. */
108307 _ACEOF
108308 cat confdefs.h >>conftest.$ac_ext
108309 cat >>conftest.$ac_ext <<_ACEOF
108310 /* end confdefs.h. */
108311 int one(void) { return 1; }
108312 int two(void) { return 2; }
108315 main ()
108317 two();
108319 return 0;
108321 _ACEOF
108322 rm -f conftest.$ac_objext conftest$ac_exeext
108323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108324 (eval $ac_link) 2>conftest.er1
108325 ac_status=$?
108326 grep -v '^ *+' conftest.er1 >conftest.err
108327 rm -f conftest.er1
108328 cat conftest.err >&5
108329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108330 (exit $ac_status); } &&
108331 { ac_try='test -z "$ac_c_werror_flag"
108332 || test ! -s conftest.err'
108333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108334 (eval $ac_try) 2>&5
108335 ac_status=$?
108336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108337 (exit $ac_status); }; } &&
108338 { ac_try='test -s conftest$ac_exeext'
108339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108340 (eval $ac_try) 2>&5
108341 ac_status=$?
108342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108343 (exit $ac_status); }; }; then
108344 ac_gcsections=yes
108346 echo "$as_me: failed program was:" >&5
108347 sed 's/^/| /' conftest.$ac_ext >&5
108349 ac_gcsections=no
108351 rm -f conftest.err conftest.$ac_objext \
108352 conftest$ac_exeext conftest.$ac_ext
108353 if test "$ac_gcsections" = "yes"; then
108354 rm -f conftest.c
108355 touch conftest.c
108356 if $CC -c conftest.c; then
108357 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
108358 grep "Warning: gc-sections option ignored" > /dev/null; then
108359 ac_gcsections=no
108362 rm -f conftest.c conftest.o conftest
108364 if test "$ac_gcsections" = "yes"; then
108365 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
108367 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
108368 echo "${ECHO_T}$ac_gcsections" >&6
108370 if test "$ac_test_CFLAGS" = set; then
108371 CFLAGS="$ac_save_CFLAGS"
108373 # this is the suspicious part
108374 CFLAGS=''
108378 # Set -z,relro.
108379 # Note this is only for shared objects.
108380 ac_ld_relro=no
108381 if test x"$with_gnu_ld" = x"yes"; then
108382 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
108383 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
108384 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
108385 if test -n "$cxx_z_relo"; then
108386 OPT_LDFLAGS="-Wl,-z,relro"
108387 ac_ld_relro=yes
108389 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
108390 echo "${ECHO_T}$ac_ld_relro" >&6
108393 # Set linker optimization flags.
108394 if test x"$with_gnu_ld" = x"yes"; then
108395 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
108403 echo "$as_me:$LINENO: checking for main in -lm" >&5
108404 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
108405 if test "${ac_cv_lib_m_main+set}" = set; then
108406 echo $ECHO_N "(cached) $ECHO_C" >&6
108408 ac_check_lib_save_LIBS=$LIBS
108409 LIBS="-lm $LIBS"
108410 if test x$gcc_no_link = xyes; then
108411 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108412 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108413 { (exit 1); exit 1; }; }
108415 cat >conftest.$ac_ext <<_ACEOF
108416 /* confdefs.h. */
108417 _ACEOF
108418 cat confdefs.h >>conftest.$ac_ext
108419 cat >>conftest.$ac_ext <<_ACEOF
108420 /* end confdefs.h. */
108424 main ()
108426 main ();
108428 return 0;
108430 _ACEOF
108431 rm -f conftest.$ac_objext conftest$ac_exeext
108432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108433 (eval $ac_link) 2>conftest.er1
108434 ac_status=$?
108435 grep -v '^ *+' conftest.er1 >conftest.err
108436 rm -f conftest.er1
108437 cat conftest.err >&5
108438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108439 (exit $ac_status); } &&
108440 { ac_try='test -z "$ac_c_werror_flag"
108441 || test ! -s conftest.err'
108442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108443 (eval $ac_try) 2>&5
108444 ac_status=$?
108445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108446 (exit $ac_status); }; } &&
108447 { ac_try='test -s conftest$ac_exeext'
108448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108449 (eval $ac_try) 2>&5
108450 ac_status=$?
108451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108452 (exit $ac_status); }; }; then
108453 ac_cv_lib_m_main=yes
108455 echo "$as_me: failed program was:" >&5
108456 sed 's/^/| /' conftest.$ac_ext >&5
108458 ac_cv_lib_m_main=no
108460 rm -f conftest.err conftest.$ac_objext \
108461 conftest$ac_exeext conftest.$ac_ext
108462 LIBS=$ac_check_lib_save_LIBS
108464 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
108465 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
108466 if test $ac_cv_lib_m_main = yes; then
108467 cat >>confdefs.h <<_ACEOF
108468 #define HAVE_LIBM 1
108469 _ACEOF
108471 LIBS="-lm $LIBS"
108476 for ac_func in copysignf
108478 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
108479 echo "$as_me:$LINENO: checking for $ac_func" >&5
108480 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
108481 if eval "test \"\${$as_ac_var+set}\" = set"; then
108482 echo $ECHO_N "(cached) $ECHO_C" >&6
108484 if test x$gcc_no_link = xyes; then
108485 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108486 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108487 { (exit 1); exit 1; }; }
108489 cat >conftest.$ac_ext <<_ACEOF
108490 /* confdefs.h. */
108491 _ACEOF
108492 cat confdefs.h >>conftest.$ac_ext
108493 cat >>conftest.$ac_ext <<_ACEOF
108494 /* end confdefs.h. */
108495 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
108496 For example, HP-UX 11i <limits.h> declares gettimeofday. */
108497 #define $ac_func innocuous_$ac_func
108499 /* System header to define __stub macros and hopefully few prototypes,
108500 which can conflict with char $ac_func (); below.
108501 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
108502 <limits.h> exists even on freestanding compilers. */
108504 #ifdef __STDC__
108505 # include <limits.h>
108506 #else
108507 # include <assert.h>
108508 #endif
108510 #undef $ac_func
108512 /* Override any gcc2 internal prototype to avoid an error. */
108513 #ifdef __cplusplus
108514 extern "C"
108516 #endif
108517 /* We use char because int might match the return type of a gcc2
108518 builtin and then its argument prototype would still apply. */
108519 char $ac_func ();
108520 /* The GNU C library defines this for functions which it implements
108521 to always fail with ENOSYS. Some functions are actually named
108522 something starting with __ and the normal name is an alias. */
108523 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
108524 choke me
108525 #else
108526 char (*f) () = $ac_func;
108527 #endif
108528 #ifdef __cplusplus
108530 #endif
108533 main ()
108535 return f != $ac_func;
108537 return 0;
108539 _ACEOF
108540 rm -f conftest.$ac_objext conftest$ac_exeext
108541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108542 (eval $ac_link) 2>conftest.er1
108543 ac_status=$?
108544 grep -v '^ *+' conftest.er1 >conftest.err
108545 rm -f conftest.er1
108546 cat conftest.err >&5
108547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108548 (exit $ac_status); } &&
108549 { ac_try='test -z "$ac_c_werror_flag"
108550 || test ! -s conftest.err'
108551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108552 (eval $ac_try) 2>&5
108553 ac_status=$?
108554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108555 (exit $ac_status); }; } &&
108556 { ac_try='test -s conftest$ac_exeext'
108557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108558 (eval $ac_try) 2>&5
108559 ac_status=$?
108560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108561 (exit $ac_status); }; }; then
108562 eval "$as_ac_var=yes"
108564 echo "$as_me: failed program was:" >&5
108565 sed 's/^/| /' conftest.$ac_ext >&5
108567 eval "$as_ac_var=no"
108569 rm -f conftest.err conftest.$ac_objext \
108570 conftest$ac_exeext conftest.$ac_ext
108572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108573 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108574 if test `eval echo '${'$as_ac_var'}'` = yes; then
108575 cat >>confdefs.h <<_ACEOF
108576 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108577 _ACEOF
108580 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
108586 for ac_func in __signbit
108588 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
108589 echo "$as_me:$LINENO: checking for $ac_func" >&5
108590 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
108591 if eval "test \"\${$as_ac_var+set}\" = set"; then
108592 echo $ECHO_N "(cached) $ECHO_C" >&6
108594 if test x$gcc_no_link = xyes; then
108595 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108596 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108597 { (exit 1); exit 1; }; }
108599 cat >conftest.$ac_ext <<_ACEOF
108600 /* confdefs.h. */
108601 _ACEOF
108602 cat confdefs.h >>conftest.$ac_ext
108603 cat >>conftest.$ac_ext <<_ACEOF
108604 /* end confdefs.h. */
108605 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
108606 For example, HP-UX 11i <limits.h> declares gettimeofday. */
108607 #define $ac_func innocuous_$ac_func
108609 /* System header to define __stub macros and hopefully few prototypes,
108610 which can conflict with char $ac_func (); below.
108611 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
108612 <limits.h> exists even on freestanding compilers. */
108614 #ifdef __STDC__
108615 # include <limits.h>
108616 #else
108617 # include <assert.h>
108618 #endif
108620 #undef $ac_func
108622 /* Override any gcc2 internal prototype to avoid an error. */
108623 #ifdef __cplusplus
108624 extern "C"
108626 #endif
108627 /* We use char because int might match the return type of a gcc2
108628 builtin and then its argument prototype would still apply. */
108629 char $ac_func ();
108630 /* The GNU C library defines this for functions which it implements
108631 to always fail with ENOSYS. Some functions are actually named
108632 something starting with __ and the normal name is an alias. */
108633 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
108634 choke me
108635 #else
108636 char (*f) () = $ac_func;
108637 #endif
108638 #ifdef __cplusplus
108640 #endif
108643 main ()
108645 return f != $ac_func;
108647 return 0;
108649 _ACEOF
108650 rm -f conftest.$ac_objext conftest$ac_exeext
108651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108652 (eval $ac_link) 2>conftest.er1
108653 ac_status=$?
108654 grep -v '^ *+' conftest.er1 >conftest.err
108655 rm -f conftest.er1
108656 cat conftest.err >&5
108657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108658 (exit $ac_status); } &&
108659 { ac_try='test -z "$ac_c_werror_flag"
108660 || test ! -s conftest.err'
108661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108662 (eval $ac_try) 2>&5
108663 ac_status=$?
108664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108665 (exit $ac_status); }; } &&
108666 { ac_try='test -s conftest$ac_exeext'
108667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108668 (eval $ac_try) 2>&5
108669 ac_status=$?
108670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108671 (exit $ac_status); }; }; then
108672 eval "$as_ac_var=yes"
108674 echo "$as_me: failed program was:" >&5
108675 sed 's/^/| /' conftest.$ac_ext >&5
108677 eval "$as_ac_var=no"
108679 rm -f conftest.err conftest.$ac_objext \
108680 conftest$ac_exeext conftest.$ac_ext
108682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108683 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108684 if test `eval echo '${'$as_ac_var'}'` = yes; then
108685 cat >>confdefs.h <<_ACEOF
108686 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108687 _ACEOF
108690 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
108696 for ac_func in __signbitf
108698 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
108699 echo "$as_me:$LINENO: checking for $ac_func" >&5
108700 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
108701 if eval "test \"\${$as_ac_var+set}\" = set"; then
108702 echo $ECHO_N "(cached) $ECHO_C" >&6
108704 if test x$gcc_no_link = xyes; then
108705 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108706 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108707 { (exit 1); exit 1; }; }
108709 cat >conftest.$ac_ext <<_ACEOF
108710 /* confdefs.h. */
108711 _ACEOF
108712 cat confdefs.h >>conftest.$ac_ext
108713 cat >>conftest.$ac_ext <<_ACEOF
108714 /* end confdefs.h. */
108715 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
108716 For example, HP-UX 11i <limits.h> declares gettimeofday. */
108717 #define $ac_func innocuous_$ac_func
108719 /* System header to define __stub macros and hopefully few prototypes,
108720 which can conflict with char $ac_func (); below.
108721 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
108722 <limits.h> exists even on freestanding compilers. */
108724 #ifdef __STDC__
108725 # include <limits.h>
108726 #else
108727 # include <assert.h>
108728 #endif
108730 #undef $ac_func
108732 /* Override any gcc2 internal prototype to avoid an error. */
108733 #ifdef __cplusplus
108734 extern "C"
108736 #endif
108737 /* We use char because int might match the return type of a gcc2
108738 builtin and then its argument prototype would still apply. */
108739 char $ac_func ();
108740 /* The GNU C library defines this for functions which it implements
108741 to always fail with ENOSYS. Some functions are actually named
108742 something starting with __ and the normal name is an alias. */
108743 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
108744 choke me
108745 #else
108746 char (*f) () = $ac_func;
108747 #endif
108748 #ifdef __cplusplus
108750 #endif
108753 main ()
108755 return f != $ac_func;
108757 return 0;
108759 _ACEOF
108760 rm -f conftest.$ac_objext conftest$ac_exeext
108761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108762 (eval $ac_link) 2>conftest.er1
108763 ac_status=$?
108764 grep -v '^ *+' conftest.er1 >conftest.err
108765 rm -f conftest.er1
108766 cat conftest.err >&5
108767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108768 (exit $ac_status); } &&
108769 { ac_try='test -z "$ac_c_werror_flag"
108770 || test ! -s conftest.err'
108771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108772 (eval $ac_try) 2>&5
108773 ac_status=$?
108774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108775 (exit $ac_status); }; } &&
108776 { ac_try='test -s conftest$ac_exeext'
108777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108778 (eval $ac_try) 2>&5
108779 ac_status=$?
108780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108781 (exit $ac_status); }; }; then
108782 eval "$as_ac_var=yes"
108784 echo "$as_me: failed program was:" >&5
108785 sed 's/^/| /' conftest.$ac_ext >&5
108787 eval "$as_ac_var=no"
108789 rm -f conftest.err conftest.$ac_objext \
108790 conftest$ac_exeext conftest.$ac_ext
108792 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108793 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108794 if test `eval echo '${'$as_ac_var'}'` = yes; then
108795 cat >>confdefs.h <<_ACEOF
108796 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108797 _ACEOF
108800 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
108805 if test x$ac_cv_func_copysignl = x"yes"; then
108807 for ac_func in __signbitl
108809 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
108810 echo "$as_me:$LINENO: checking for $ac_func" >&5
108811 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
108812 if eval "test \"\${$as_ac_var+set}\" = set"; then
108813 echo $ECHO_N "(cached) $ECHO_C" >&6
108815 if test x$gcc_no_link = xyes; then
108816 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108817 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108818 { (exit 1); exit 1; }; }
108820 cat >conftest.$ac_ext <<_ACEOF
108821 /* confdefs.h. */
108822 _ACEOF
108823 cat confdefs.h >>conftest.$ac_ext
108824 cat >>conftest.$ac_ext <<_ACEOF
108825 /* end confdefs.h. */
108826 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
108827 For example, HP-UX 11i <limits.h> declares gettimeofday. */
108828 #define $ac_func innocuous_$ac_func
108830 /* System header to define __stub macros and hopefully few prototypes,
108831 which can conflict with char $ac_func (); below.
108832 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
108833 <limits.h> exists even on freestanding compilers. */
108835 #ifdef __STDC__
108836 # include <limits.h>
108837 #else
108838 # include <assert.h>
108839 #endif
108841 #undef $ac_func
108843 /* Override any gcc2 internal prototype to avoid an error. */
108844 #ifdef __cplusplus
108845 extern "C"
108847 #endif
108848 /* We use char because int might match the return type of a gcc2
108849 builtin and then its argument prototype would still apply. */
108850 char $ac_func ();
108851 /* The GNU C library defines this for functions which it implements
108852 to always fail with ENOSYS. Some functions are actually named
108853 something starting with __ and the normal name is an alias. */
108854 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
108855 choke me
108856 #else
108857 char (*f) () = $ac_func;
108858 #endif
108859 #ifdef __cplusplus
108861 #endif
108864 main ()
108866 return f != $ac_func;
108868 return 0;
108870 _ACEOF
108871 rm -f conftest.$ac_objext conftest$ac_exeext
108872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108873 (eval $ac_link) 2>conftest.er1
108874 ac_status=$?
108875 grep -v '^ *+' conftest.er1 >conftest.err
108876 rm -f conftest.er1
108877 cat conftest.err >&5
108878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108879 (exit $ac_status); } &&
108880 { ac_try='test -z "$ac_c_werror_flag"
108881 || test ! -s conftest.err'
108882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108883 (eval $ac_try) 2>&5
108884 ac_status=$?
108885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108886 (exit $ac_status); }; } &&
108887 { ac_try='test -s conftest$ac_exeext'
108888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108889 (eval $ac_try) 2>&5
108890 ac_status=$?
108891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108892 (exit $ac_status); }; }; then
108893 eval "$as_ac_var=yes"
108895 echo "$as_me: failed program was:" >&5
108896 sed 's/^/| /' conftest.$ac_ext >&5
108898 eval "$as_ac_var=no"
108900 rm -f conftest.err conftest.$ac_objext \
108901 conftest$ac_exeext conftest.$ac_ext
108903 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108904 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108905 if test `eval echo '${'$as_ac_var'}'` = yes; then
108906 cat >>confdefs.h <<_ACEOF
108907 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108908 _ACEOF
108911 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
108917 # Used in libmath/Makefile.am.
108918 if test -n "$LIBMATHOBJS"; then
108919 need_libmath=yes
108924 *-netbsd*)
108937 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
108938 machine/endian.h machine/param.h sys/machine.h sys/types.h \
108939 fp.h locale.h float.h inttypes.h
108941 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
108942 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108943 echo "$as_me:$LINENO: checking for $ac_header" >&5
108944 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108945 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108946 echo $ECHO_N "(cached) $ECHO_C" >&6
108948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108949 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108951 # Is the header compilable?
108952 echo "$as_me:$LINENO: checking $ac_header usability" >&5
108953 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
108954 cat >conftest.$ac_ext <<_ACEOF
108955 /* confdefs.h. */
108956 _ACEOF
108957 cat confdefs.h >>conftest.$ac_ext
108958 cat >>conftest.$ac_ext <<_ACEOF
108959 /* end confdefs.h. */
108960 $ac_includes_default
108961 #include <$ac_header>
108962 _ACEOF
108963 rm -f conftest.$ac_objext
108964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108965 (eval $ac_compile) 2>conftest.er1
108966 ac_status=$?
108967 grep -v '^ *+' conftest.er1 >conftest.err
108968 rm -f conftest.er1
108969 cat conftest.err >&5
108970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108971 (exit $ac_status); } &&
108972 { ac_try='test -z "$ac_c_werror_flag"
108973 || test ! -s conftest.err'
108974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108975 (eval $ac_try) 2>&5
108976 ac_status=$?
108977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108978 (exit $ac_status); }; } &&
108979 { ac_try='test -s conftest.$ac_objext'
108980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108981 (eval $ac_try) 2>&5
108982 ac_status=$?
108983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108984 (exit $ac_status); }; }; then
108985 ac_header_compiler=yes
108987 echo "$as_me: failed program was:" >&5
108988 sed 's/^/| /' conftest.$ac_ext >&5
108990 ac_header_compiler=no
108992 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108993 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
108994 echo "${ECHO_T}$ac_header_compiler" >&6
108996 # Is the header present?
108997 echo "$as_me:$LINENO: checking $ac_header presence" >&5
108998 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
108999 cat >conftest.$ac_ext <<_ACEOF
109000 /* confdefs.h. */
109001 _ACEOF
109002 cat confdefs.h >>conftest.$ac_ext
109003 cat >>conftest.$ac_ext <<_ACEOF
109004 /* end confdefs.h. */
109005 #include <$ac_header>
109006 _ACEOF
109007 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
109008 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
109009 ac_status=$?
109010 grep -v '^ *+' conftest.er1 >conftest.err
109011 rm -f conftest.er1
109012 cat conftest.err >&5
109013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109014 (exit $ac_status); } >/dev/null; then
109015 if test -s conftest.err; then
109016 ac_cpp_err=$ac_c_preproc_warn_flag
109017 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
109019 ac_cpp_err=
109022 ac_cpp_err=yes
109024 if test -z "$ac_cpp_err"; then
109025 ac_header_preproc=yes
109027 echo "$as_me: failed program was:" >&5
109028 sed 's/^/| /' conftest.$ac_ext >&5
109030 ac_header_preproc=no
109032 rm -f conftest.err conftest.$ac_ext
109033 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
109034 echo "${ECHO_T}$ac_header_preproc" >&6
109036 # So? What about this header?
109037 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
109038 yes:no: )
109039 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
109040 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
109041 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
109042 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
109043 ac_header_preproc=yes
109045 no:yes:* )
109046 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
109047 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
109048 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
109049 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
109050 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
109051 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
109052 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
109053 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
109054 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
109055 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
109056 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
109057 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
109059 cat <<\_ASBOX
109060 ## ----------------------------------------- ##
109061 ## Report this to the package-unused lists. ##
109062 ## ----------------------------------------- ##
109063 _ASBOX
109065 sed "s/^/$as_me: WARNING: /" >&2
109068 echo "$as_me:$LINENO: checking for $ac_header" >&5
109069 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109070 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109071 echo $ECHO_N "(cached) $ECHO_C" >&6
109073 eval "$as_ac_Header=\$ac_header_preproc"
109075 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109076 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109079 if test `eval echo '${'$as_ac_Header'}'` = yes; then
109080 cat >>confdefs.h <<_ACEOF
109081 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
109082 _ACEOF
109088 SECTION_FLAGS='-ffunction-sections -fdata-sections'
109091 # If we're not using GNU ld, then there's no point in even trying these
109092 # tests. Check for that first. We should have already tested for gld
109093 # by now (in libtool), but require it now just to be safe...
109094 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
109095 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
109099 # The name set by libtool depends on the version of libtool. Shame on us
109100 # for depending on an impl detail, but c'est la vie. Older versions used
109101 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
109102 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
109103 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
109104 # set (hence we're using an older libtool), then set it.
109105 if test x${with_gnu_ld+set} != xset; then
109106 if test x${ac_cv_prog_gnu_ld+set} != xset; then
109107 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
109108 with_gnu_ld=no
109110 with_gnu_ld=$ac_cv_prog_gnu_ld
109114 # Start by getting the version number. I think the libtool test already
109115 # does some of this, but throws away the result.
109116 if test x"$with_gnu_ld" = x"yes"; then
109117 echo "$as_me:$LINENO: checking for ld version" >&5
109118 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
109120 ldver=`$LD --version 2>/dev/null | head -1 | \
109121 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
109123 glibcxx_gnu_ld_version=`echo $ldver | \
109124 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
109125 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
109126 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
109129 # Set --gc-sections.
109130 glibcxx_gcsections_min_ld=21602
109131 if test x"$with_gnu_ld" = x"yes" &&
109132 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
109134 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
109135 # NB: This flag only works reliably after 2.16.1. Configure tests
109136 # for this are difficult, so hard wire a value that should work.
109138 ac_test_CFLAGS="${CFLAGS+set}"
109139 ac_save_CFLAGS="$CFLAGS"
109140 CFLAGS='-Wl,--gc-sections'
109142 # Check for -Wl,--gc-sections
109143 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
109144 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
109145 if test x$gcc_no_link = xyes; then
109146 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109147 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109148 { (exit 1); exit 1; }; }
109150 cat >conftest.$ac_ext <<_ACEOF
109151 /* confdefs.h. */
109152 _ACEOF
109153 cat confdefs.h >>conftest.$ac_ext
109154 cat >>conftest.$ac_ext <<_ACEOF
109155 /* end confdefs.h. */
109156 int one(void) { return 1; }
109157 int two(void) { return 2; }
109160 main ()
109162 two();
109164 return 0;
109166 _ACEOF
109167 rm -f conftest.$ac_objext conftest$ac_exeext
109168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109169 (eval $ac_link) 2>conftest.er1
109170 ac_status=$?
109171 grep -v '^ *+' conftest.er1 >conftest.err
109172 rm -f conftest.er1
109173 cat conftest.err >&5
109174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109175 (exit $ac_status); } &&
109176 { ac_try='test -z "$ac_c_werror_flag"
109177 || test ! -s conftest.err'
109178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109179 (eval $ac_try) 2>&5
109180 ac_status=$?
109181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109182 (exit $ac_status); }; } &&
109183 { ac_try='test -s conftest$ac_exeext'
109184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109185 (eval $ac_try) 2>&5
109186 ac_status=$?
109187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109188 (exit $ac_status); }; }; then
109189 ac_gcsections=yes
109191 echo "$as_me: failed program was:" >&5
109192 sed 's/^/| /' conftest.$ac_ext >&5
109194 ac_gcsections=no
109196 rm -f conftest.err conftest.$ac_objext \
109197 conftest$ac_exeext conftest.$ac_ext
109198 if test "$ac_gcsections" = "yes"; then
109199 rm -f conftest.c
109200 touch conftest.c
109201 if $CC -c conftest.c; then
109202 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
109203 grep "Warning: gc-sections option ignored" > /dev/null; then
109204 ac_gcsections=no
109207 rm -f conftest.c conftest.o conftest
109209 if test "$ac_gcsections" = "yes"; then
109210 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
109212 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
109213 echo "${ECHO_T}$ac_gcsections" >&6
109215 if test "$ac_test_CFLAGS" = set; then
109216 CFLAGS="$ac_save_CFLAGS"
109218 # this is the suspicious part
109219 CFLAGS=''
109223 # Set -z,relro.
109224 # Note this is only for shared objects.
109225 ac_ld_relro=no
109226 if test x"$with_gnu_ld" = x"yes"; then
109227 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
109228 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
109229 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
109230 if test -n "$cxx_z_relo"; then
109231 OPT_LDFLAGS="-Wl,-z,relro"
109232 ac_ld_relro=yes
109234 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
109235 echo "${ECHO_T}$ac_ld_relro" >&6
109238 # Set linker optimization flags.
109239 if test x"$with_gnu_ld" = x"yes"; then
109240 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
109248 echo "$as_me:$LINENO: checking for main in -lm" >&5
109249 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
109250 if test "${ac_cv_lib_m_main+set}" = set; then
109251 echo $ECHO_N "(cached) $ECHO_C" >&6
109253 ac_check_lib_save_LIBS=$LIBS
109254 LIBS="-lm $LIBS"
109255 if test x$gcc_no_link = xyes; then
109256 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109257 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109258 { (exit 1); exit 1; }; }
109260 cat >conftest.$ac_ext <<_ACEOF
109261 /* confdefs.h. */
109262 _ACEOF
109263 cat confdefs.h >>conftest.$ac_ext
109264 cat >>conftest.$ac_ext <<_ACEOF
109265 /* end confdefs.h. */
109269 main ()
109271 main ();
109273 return 0;
109275 _ACEOF
109276 rm -f conftest.$ac_objext conftest$ac_exeext
109277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109278 (eval $ac_link) 2>conftest.er1
109279 ac_status=$?
109280 grep -v '^ *+' conftest.er1 >conftest.err
109281 rm -f conftest.er1
109282 cat conftest.err >&5
109283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109284 (exit $ac_status); } &&
109285 { ac_try='test -z "$ac_c_werror_flag"
109286 || test ! -s conftest.err'
109287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109288 (eval $ac_try) 2>&5
109289 ac_status=$?
109290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109291 (exit $ac_status); }; } &&
109292 { ac_try='test -s conftest$ac_exeext'
109293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109294 (eval $ac_try) 2>&5
109295 ac_status=$?
109296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109297 (exit $ac_status); }; }; then
109298 ac_cv_lib_m_main=yes
109300 echo "$as_me: failed program was:" >&5
109301 sed 's/^/| /' conftest.$ac_ext >&5
109303 ac_cv_lib_m_main=no
109305 rm -f conftest.err conftest.$ac_objext \
109306 conftest$ac_exeext conftest.$ac_ext
109307 LIBS=$ac_check_lib_save_LIBS
109309 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
109310 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
109311 if test $ac_cv_lib_m_main = yes; then
109312 cat >>confdefs.h <<_ACEOF
109313 #define HAVE_LIBM 1
109314 _ACEOF
109316 LIBS="-lm $LIBS"
109321 for ac_func in copysignf
109323 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
109324 echo "$as_me:$LINENO: checking for $ac_func" >&5
109325 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
109326 if eval "test \"\${$as_ac_var+set}\" = set"; then
109327 echo $ECHO_N "(cached) $ECHO_C" >&6
109329 if test x$gcc_no_link = xyes; then
109330 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109331 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109332 { (exit 1); exit 1; }; }
109334 cat >conftest.$ac_ext <<_ACEOF
109335 /* confdefs.h. */
109336 _ACEOF
109337 cat confdefs.h >>conftest.$ac_ext
109338 cat >>conftest.$ac_ext <<_ACEOF
109339 /* end confdefs.h. */
109340 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
109341 For example, HP-UX 11i <limits.h> declares gettimeofday. */
109342 #define $ac_func innocuous_$ac_func
109344 /* System header to define __stub macros and hopefully few prototypes,
109345 which can conflict with char $ac_func (); below.
109346 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
109347 <limits.h> exists even on freestanding compilers. */
109349 #ifdef __STDC__
109350 # include <limits.h>
109351 #else
109352 # include <assert.h>
109353 #endif
109355 #undef $ac_func
109357 /* Override any gcc2 internal prototype to avoid an error. */
109358 #ifdef __cplusplus
109359 extern "C"
109361 #endif
109362 /* We use char because int might match the return type of a gcc2
109363 builtin and then its argument prototype would still apply. */
109364 char $ac_func ();
109365 /* The GNU C library defines this for functions which it implements
109366 to always fail with ENOSYS. Some functions are actually named
109367 something starting with __ and the normal name is an alias. */
109368 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
109369 choke me
109370 #else
109371 char (*f) () = $ac_func;
109372 #endif
109373 #ifdef __cplusplus
109375 #endif
109378 main ()
109380 return f != $ac_func;
109382 return 0;
109384 _ACEOF
109385 rm -f conftest.$ac_objext conftest$ac_exeext
109386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109387 (eval $ac_link) 2>conftest.er1
109388 ac_status=$?
109389 grep -v '^ *+' conftest.er1 >conftest.err
109390 rm -f conftest.er1
109391 cat conftest.err >&5
109392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109393 (exit $ac_status); } &&
109394 { ac_try='test -z "$ac_c_werror_flag"
109395 || test ! -s conftest.err'
109396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109397 (eval $ac_try) 2>&5
109398 ac_status=$?
109399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109400 (exit $ac_status); }; } &&
109401 { ac_try='test -s conftest$ac_exeext'
109402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109403 (eval $ac_try) 2>&5
109404 ac_status=$?
109405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109406 (exit $ac_status); }; }; then
109407 eval "$as_ac_var=yes"
109409 echo "$as_me: failed program was:" >&5
109410 sed 's/^/| /' conftest.$ac_ext >&5
109412 eval "$as_ac_var=no"
109414 rm -f conftest.err conftest.$ac_objext \
109415 conftest$ac_exeext conftest.$ac_ext
109417 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
109418 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
109419 if test `eval echo '${'$as_ac_var'}'` = yes; then
109420 cat >>confdefs.h <<_ACEOF
109421 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
109422 _ACEOF
109425 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
109431 for ac_func in __signbit
109433 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
109434 echo "$as_me:$LINENO: checking for $ac_func" >&5
109435 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
109436 if eval "test \"\${$as_ac_var+set}\" = set"; then
109437 echo $ECHO_N "(cached) $ECHO_C" >&6
109439 if test x$gcc_no_link = xyes; then
109440 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109441 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109442 { (exit 1); exit 1; }; }
109444 cat >conftest.$ac_ext <<_ACEOF
109445 /* confdefs.h. */
109446 _ACEOF
109447 cat confdefs.h >>conftest.$ac_ext
109448 cat >>conftest.$ac_ext <<_ACEOF
109449 /* end confdefs.h. */
109450 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
109451 For example, HP-UX 11i <limits.h> declares gettimeofday. */
109452 #define $ac_func innocuous_$ac_func
109454 /* System header to define __stub macros and hopefully few prototypes,
109455 which can conflict with char $ac_func (); below.
109456 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
109457 <limits.h> exists even on freestanding compilers. */
109459 #ifdef __STDC__
109460 # include <limits.h>
109461 #else
109462 # include <assert.h>
109463 #endif
109465 #undef $ac_func
109467 /* Override any gcc2 internal prototype to avoid an error. */
109468 #ifdef __cplusplus
109469 extern "C"
109471 #endif
109472 /* We use char because int might match the return type of a gcc2
109473 builtin and then its argument prototype would still apply. */
109474 char $ac_func ();
109475 /* The GNU C library defines this for functions which it implements
109476 to always fail with ENOSYS. Some functions are actually named
109477 something starting with __ and the normal name is an alias. */
109478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
109479 choke me
109480 #else
109481 char (*f) () = $ac_func;
109482 #endif
109483 #ifdef __cplusplus
109485 #endif
109488 main ()
109490 return f != $ac_func;
109492 return 0;
109494 _ACEOF
109495 rm -f conftest.$ac_objext conftest$ac_exeext
109496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109497 (eval $ac_link) 2>conftest.er1
109498 ac_status=$?
109499 grep -v '^ *+' conftest.er1 >conftest.err
109500 rm -f conftest.er1
109501 cat conftest.err >&5
109502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109503 (exit $ac_status); } &&
109504 { ac_try='test -z "$ac_c_werror_flag"
109505 || test ! -s conftest.err'
109506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109507 (eval $ac_try) 2>&5
109508 ac_status=$?
109509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109510 (exit $ac_status); }; } &&
109511 { ac_try='test -s conftest$ac_exeext'
109512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109513 (eval $ac_try) 2>&5
109514 ac_status=$?
109515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109516 (exit $ac_status); }; }; then
109517 eval "$as_ac_var=yes"
109519 echo "$as_me: failed program was:" >&5
109520 sed 's/^/| /' conftest.$ac_ext >&5
109522 eval "$as_ac_var=no"
109524 rm -f conftest.err conftest.$ac_objext \
109525 conftest$ac_exeext conftest.$ac_ext
109527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
109528 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
109529 if test `eval echo '${'$as_ac_var'}'` = yes; then
109530 cat >>confdefs.h <<_ACEOF
109531 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
109532 _ACEOF
109535 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
109541 for ac_func in __signbitf
109543 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
109544 echo "$as_me:$LINENO: checking for $ac_func" >&5
109545 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
109546 if eval "test \"\${$as_ac_var+set}\" = set"; then
109547 echo $ECHO_N "(cached) $ECHO_C" >&6
109549 if test x$gcc_no_link = xyes; then
109550 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109551 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109552 { (exit 1); exit 1; }; }
109554 cat >conftest.$ac_ext <<_ACEOF
109555 /* confdefs.h. */
109556 _ACEOF
109557 cat confdefs.h >>conftest.$ac_ext
109558 cat >>conftest.$ac_ext <<_ACEOF
109559 /* end confdefs.h. */
109560 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
109561 For example, HP-UX 11i <limits.h> declares gettimeofday. */
109562 #define $ac_func innocuous_$ac_func
109564 /* System header to define __stub macros and hopefully few prototypes,
109565 which can conflict with char $ac_func (); below.
109566 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
109567 <limits.h> exists even on freestanding compilers. */
109569 #ifdef __STDC__
109570 # include <limits.h>
109571 #else
109572 # include <assert.h>
109573 #endif
109575 #undef $ac_func
109577 /* Override any gcc2 internal prototype to avoid an error. */
109578 #ifdef __cplusplus
109579 extern "C"
109581 #endif
109582 /* We use char because int might match the return type of a gcc2
109583 builtin and then its argument prototype would still apply. */
109584 char $ac_func ();
109585 /* The GNU C library defines this for functions which it implements
109586 to always fail with ENOSYS. Some functions are actually named
109587 something starting with __ and the normal name is an alias. */
109588 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
109589 choke me
109590 #else
109591 char (*f) () = $ac_func;
109592 #endif
109593 #ifdef __cplusplus
109595 #endif
109598 main ()
109600 return f != $ac_func;
109602 return 0;
109604 _ACEOF
109605 rm -f conftest.$ac_objext conftest$ac_exeext
109606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109607 (eval $ac_link) 2>conftest.er1
109608 ac_status=$?
109609 grep -v '^ *+' conftest.er1 >conftest.err
109610 rm -f conftest.er1
109611 cat conftest.err >&5
109612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109613 (exit $ac_status); } &&
109614 { ac_try='test -z "$ac_c_werror_flag"
109615 || test ! -s conftest.err'
109616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109617 (eval $ac_try) 2>&5
109618 ac_status=$?
109619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109620 (exit $ac_status); }; } &&
109621 { ac_try='test -s conftest$ac_exeext'
109622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109623 (eval $ac_try) 2>&5
109624 ac_status=$?
109625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109626 (exit $ac_status); }; }; then
109627 eval "$as_ac_var=yes"
109629 echo "$as_me: failed program was:" >&5
109630 sed 's/^/| /' conftest.$ac_ext >&5
109632 eval "$as_ac_var=no"
109634 rm -f conftest.err conftest.$ac_objext \
109635 conftest$ac_exeext conftest.$ac_ext
109637 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
109638 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
109639 if test `eval echo '${'$as_ac_var'}'` = yes; then
109640 cat >>confdefs.h <<_ACEOF
109641 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
109642 _ACEOF
109645 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
109650 if test x$ac_cv_func_copysignl = x"yes"; then
109652 for ac_func in __signbitl
109654 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
109655 echo "$as_me:$LINENO: checking for $ac_func" >&5
109656 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
109657 if eval "test \"\${$as_ac_var+set}\" = set"; then
109658 echo $ECHO_N "(cached) $ECHO_C" >&6
109660 if test x$gcc_no_link = xyes; then
109661 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109662 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109663 { (exit 1); exit 1; }; }
109665 cat >conftest.$ac_ext <<_ACEOF
109666 /* confdefs.h. */
109667 _ACEOF
109668 cat confdefs.h >>conftest.$ac_ext
109669 cat >>conftest.$ac_ext <<_ACEOF
109670 /* end confdefs.h. */
109671 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
109672 For example, HP-UX 11i <limits.h> declares gettimeofday. */
109673 #define $ac_func innocuous_$ac_func
109675 /* System header to define __stub macros and hopefully few prototypes,
109676 which can conflict with char $ac_func (); below.
109677 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
109678 <limits.h> exists even on freestanding compilers. */
109680 #ifdef __STDC__
109681 # include <limits.h>
109682 #else
109683 # include <assert.h>
109684 #endif
109686 #undef $ac_func
109688 /* Override any gcc2 internal prototype to avoid an error. */
109689 #ifdef __cplusplus
109690 extern "C"
109692 #endif
109693 /* We use char because int might match the return type of a gcc2
109694 builtin and then its argument prototype would still apply. */
109695 char $ac_func ();
109696 /* The GNU C library defines this for functions which it implements
109697 to always fail with ENOSYS. Some functions are actually named
109698 something starting with __ and the normal name is an alias. */
109699 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
109700 choke me
109701 #else
109702 char (*f) () = $ac_func;
109703 #endif
109704 #ifdef __cplusplus
109706 #endif
109709 main ()
109711 return f != $ac_func;
109713 return 0;
109715 _ACEOF
109716 rm -f conftest.$ac_objext conftest$ac_exeext
109717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109718 (eval $ac_link) 2>conftest.er1
109719 ac_status=$?
109720 grep -v '^ *+' conftest.er1 >conftest.err
109721 rm -f conftest.er1
109722 cat conftest.err >&5
109723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109724 (exit $ac_status); } &&
109725 { ac_try='test -z "$ac_c_werror_flag"
109726 || test ! -s conftest.err'
109727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109728 (eval $ac_try) 2>&5
109729 ac_status=$?
109730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109731 (exit $ac_status); }; } &&
109732 { ac_try='test -s conftest$ac_exeext'
109733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109734 (eval $ac_try) 2>&5
109735 ac_status=$?
109736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109737 (exit $ac_status); }; }; then
109738 eval "$as_ac_var=yes"
109740 echo "$as_me: failed program was:" >&5
109741 sed 's/^/| /' conftest.$ac_ext >&5
109743 eval "$as_ac_var=no"
109745 rm -f conftest.err conftest.$ac_objext \
109746 conftest$ac_exeext conftest.$ac_ext
109748 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
109749 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
109750 if test `eval echo '${'$as_ac_var'}'` = yes; then
109751 cat >>confdefs.h <<_ACEOF
109752 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
109753 _ACEOF
109756 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
109762 # Used in libmath/Makefile.am.
109763 if test -n "$LIBMATHOBJS"; then
109764 need_libmath=yes
109768 cat >>confdefs.h <<\_ACEOF
109769 #define HAVE_COPYSIGN 1
109770 _ACEOF
109772 cat >>confdefs.h <<\_ACEOF
109773 #define HAVE_COPYSIGNF 1
109774 _ACEOF
109776 cat >>confdefs.h <<\_ACEOF
109777 #define HAVE_FINITEF 1
109778 _ACEOF
109780 cat >>confdefs.h <<\_ACEOF
109781 #define HAVE_FINITE 1
109782 _ACEOF
109784 cat >>confdefs.h <<\_ACEOF
109785 #define HAVE_FREXPF 1
109786 _ACEOF
109788 cat >>confdefs.h <<\_ACEOF
109789 #define HAVE_HYPOTF 1
109790 _ACEOF
109792 cat >>confdefs.h <<\_ACEOF
109793 #define HAVE_ISINF 1
109794 _ACEOF
109796 cat >>confdefs.h <<\_ACEOF
109797 #define HAVE_ISINFF 1
109798 _ACEOF
109800 cat >>confdefs.h <<\_ACEOF
109801 #define HAVE_ISNAN 1
109802 _ACEOF
109804 cat >>confdefs.h <<\_ACEOF
109805 #define HAVE_ISNANF 1
109806 _ACEOF
109808 if test x"long_double_math_on_this_cpu" = x"yes"; then
109809 cat >>confdefs.h <<\_ACEOF
109810 #define HAVE_FINITEL 1
109811 _ACEOF
109813 cat >>confdefs.h <<\_ACEOF
109814 #define HAVE_ISINFL 1
109815 _ACEOF
109817 cat >>confdefs.h <<\_ACEOF
109818 #define HAVE_ISNANL 1
109819 _ACEOF
109823 *-netware)
109832 for ac_header in nan.h ieeefp.h sys/isa_defs.h sys/machine.h \
109833 sys/types.h locale.h float.h inttypes.h
109835 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
109836 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109837 echo "$as_me:$LINENO: checking for $ac_header" >&5
109838 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109839 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109840 echo $ECHO_N "(cached) $ECHO_C" >&6
109842 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109843 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109845 # Is the header compilable?
109846 echo "$as_me:$LINENO: checking $ac_header usability" >&5
109847 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
109848 cat >conftest.$ac_ext <<_ACEOF
109849 /* confdefs.h. */
109850 _ACEOF
109851 cat confdefs.h >>conftest.$ac_ext
109852 cat >>conftest.$ac_ext <<_ACEOF
109853 /* end confdefs.h. */
109854 $ac_includes_default
109855 #include <$ac_header>
109856 _ACEOF
109857 rm -f conftest.$ac_objext
109858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109859 (eval $ac_compile) 2>conftest.er1
109860 ac_status=$?
109861 grep -v '^ *+' conftest.er1 >conftest.err
109862 rm -f conftest.er1
109863 cat conftest.err >&5
109864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109865 (exit $ac_status); } &&
109866 { ac_try='test -z "$ac_c_werror_flag"
109867 || test ! -s conftest.err'
109868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109869 (eval $ac_try) 2>&5
109870 ac_status=$?
109871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109872 (exit $ac_status); }; } &&
109873 { ac_try='test -s conftest.$ac_objext'
109874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109875 (eval $ac_try) 2>&5
109876 ac_status=$?
109877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109878 (exit $ac_status); }; }; then
109879 ac_header_compiler=yes
109881 echo "$as_me: failed program was:" >&5
109882 sed 's/^/| /' conftest.$ac_ext >&5
109884 ac_header_compiler=no
109886 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109887 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
109888 echo "${ECHO_T}$ac_header_compiler" >&6
109890 # Is the header present?
109891 echo "$as_me:$LINENO: checking $ac_header presence" >&5
109892 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
109893 cat >conftest.$ac_ext <<_ACEOF
109894 /* confdefs.h. */
109895 _ACEOF
109896 cat confdefs.h >>conftest.$ac_ext
109897 cat >>conftest.$ac_ext <<_ACEOF
109898 /* end confdefs.h. */
109899 #include <$ac_header>
109900 _ACEOF
109901 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
109902 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
109903 ac_status=$?
109904 grep -v '^ *+' conftest.er1 >conftest.err
109905 rm -f conftest.er1
109906 cat conftest.err >&5
109907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109908 (exit $ac_status); } >/dev/null; then
109909 if test -s conftest.err; then
109910 ac_cpp_err=$ac_c_preproc_warn_flag
109911 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
109913 ac_cpp_err=
109916 ac_cpp_err=yes
109918 if test -z "$ac_cpp_err"; then
109919 ac_header_preproc=yes
109921 echo "$as_me: failed program was:" >&5
109922 sed 's/^/| /' conftest.$ac_ext >&5
109924 ac_header_preproc=no
109926 rm -f conftest.err conftest.$ac_ext
109927 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
109928 echo "${ECHO_T}$ac_header_preproc" >&6
109930 # So? What about this header?
109931 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
109932 yes:no: )
109933 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
109934 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
109935 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
109936 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
109937 ac_header_preproc=yes
109939 no:yes:* )
109940 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
109941 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
109942 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
109943 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
109944 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
109945 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
109946 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
109947 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
109948 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
109949 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
109950 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
109951 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
109953 cat <<\_ASBOX
109954 ## ----------------------------------------- ##
109955 ## Report this to the package-unused lists. ##
109956 ## ----------------------------------------- ##
109957 _ASBOX
109959 sed "s/^/$as_me: WARNING: /" >&2
109962 echo "$as_me:$LINENO: checking for $ac_header" >&5
109963 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109964 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109965 echo $ECHO_N "(cached) $ECHO_C" >&6
109967 eval "$as_ac_Header=\$ac_header_preproc"
109969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109970 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109973 if test `eval echo '${'$as_ac_Header'}'` = yes; then
109974 cat >>confdefs.h <<_ACEOF
109975 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
109976 _ACEOF
109982 SECTION_FLAGS='-ffunction-sections -fdata-sections'
109985 # If we're not using GNU ld, then there's no point in even trying these
109986 # tests. Check for that first. We should have already tested for gld
109987 # by now (in libtool), but require it now just to be safe...
109988 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
109989 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
109993 # The name set by libtool depends on the version of libtool. Shame on us
109994 # for depending on an impl detail, but c'est la vie. Older versions used
109995 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
109996 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
109997 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
109998 # set (hence we're using an older libtool), then set it.
109999 if test x${with_gnu_ld+set} != xset; then
110000 if test x${ac_cv_prog_gnu_ld+set} != xset; then
110001 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
110002 with_gnu_ld=no
110004 with_gnu_ld=$ac_cv_prog_gnu_ld
110008 # Start by getting the version number. I think the libtool test already
110009 # does some of this, but throws away the result.
110010 if test x"$with_gnu_ld" = x"yes"; then
110011 echo "$as_me:$LINENO: checking for ld version" >&5
110012 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
110014 ldver=`$LD --version 2>/dev/null | head -1 | \
110015 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
110017 glibcxx_gnu_ld_version=`echo $ldver | \
110018 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
110019 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
110020 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
110023 # Set --gc-sections.
110024 glibcxx_gcsections_min_ld=21602
110025 if test x"$with_gnu_ld" = x"yes" &&
110026 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
110028 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
110029 # NB: This flag only works reliably after 2.16.1. Configure tests
110030 # for this are difficult, so hard wire a value that should work.
110032 ac_test_CFLAGS="${CFLAGS+set}"
110033 ac_save_CFLAGS="$CFLAGS"
110034 CFLAGS='-Wl,--gc-sections'
110036 # Check for -Wl,--gc-sections
110037 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
110038 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
110039 if test x$gcc_no_link = xyes; then
110040 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110041 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110042 { (exit 1); exit 1; }; }
110044 cat >conftest.$ac_ext <<_ACEOF
110045 /* confdefs.h. */
110046 _ACEOF
110047 cat confdefs.h >>conftest.$ac_ext
110048 cat >>conftest.$ac_ext <<_ACEOF
110049 /* end confdefs.h. */
110050 int one(void) { return 1; }
110051 int two(void) { return 2; }
110054 main ()
110056 two();
110058 return 0;
110060 _ACEOF
110061 rm -f conftest.$ac_objext conftest$ac_exeext
110062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110063 (eval $ac_link) 2>conftest.er1
110064 ac_status=$?
110065 grep -v '^ *+' conftest.er1 >conftest.err
110066 rm -f conftest.er1
110067 cat conftest.err >&5
110068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110069 (exit $ac_status); } &&
110070 { ac_try='test -z "$ac_c_werror_flag"
110071 || test ! -s conftest.err'
110072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110073 (eval $ac_try) 2>&5
110074 ac_status=$?
110075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110076 (exit $ac_status); }; } &&
110077 { ac_try='test -s conftest$ac_exeext'
110078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110079 (eval $ac_try) 2>&5
110080 ac_status=$?
110081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110082 (exit $ac_status); }; }; then
110083 ac_gcsections=yes
110085 echo "$as_me: failed program was:" >&5
110086 sed 's/^/| /' conftest.$ac_ext >&5
110088 ac_gcsections=no
110090 rm -f conftest.err conftest.$ac_objext \
110091 conftest$ac_exeext conftest.$ac_ext
110092 if test "$ac_gcsections" = "yes"; then
110093 rm -f conftest.c
110094 touch conftest.c
110095 if $CC -c conftest.c; then
110096 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
110097 grep "Warning: gc-sections option ignored" > /dev/null; then
110098 ac_gcsections=no
110101 rm -f conftest.c conftest.o conftest
110103 if test "$ac_gcsections" = "yes"; then
110104 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
110106 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
110107 echo "${ECHO_T}$ac_gcsections" >&6
110109 if test "$ac_test_CFLAGS" = set; then
110110 CFLAGS="$ac_save_CFLAGS"
110112 # this is the suspicious part
110113 CFLAGS=''
110117 # Set -z,relro.
110118 # Note this is only for shared objects.
110119 ac_ld_relro=no
110120 if test x"$with_gnu_ld" = x"yes"; then
110121 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
110122 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
110123 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
110124 if test -n "$cxx_z_relo"; then
110125 OPT_LDFLAGS="-Wl,-z,relro"
110126 ac_ld_relro=yes
110128 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
110129 echo "${ECHO_T}$ac_ld_relro" >&6
110132 # Set linker optimization flags.
110133 if test x"$with_gnu_ld" = x"yes"; then
110134 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
110142 echo "$as_me:$LINENO: checking for main in -lm" >&5
110143 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
110144 if test "${ac_cv_lib_m_main+set}" = set; then
110145 echo $ECHO_N "(cached) $ECHO_C" >&6
110147 ac_check_lib_save_LIBS=$LIBS
110148 LIBS="-lm $LIBS"
110149 if test x$gcc_no_link = xyes; then
110150 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110151 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110152 { (exit 1); exit 1; }; }
110154 cat >conftest.$ac_ext <<_ACEOF
110155 /* confdefs.h. */
110156 _ACEOF
110157 cat confdefs.h >>conftest.$ac_ext
110158 cat >>conftest.$ac_ext <<_ACEOF
110159 /* end confdefs.h. */
110163 main ()
110165 main ();
110167 return 0;
110169 _ACEOF
110170 rm -f conftest.$ac_objext conftest$ac_exeext
110171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110172 (eval $ac_link) 2>conftest.er1
110173 ac_status=$?
110174 grep -v '^ *+' conftest.er1 >conftest.err
110175 rm -f conftest.er1
110176 cat conftest.err >&5
110177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110178 (exit $ac_status); } &&
110179 { ac_try='test -z "$ac_c_werror_flag"
110180 || test ! -s conftest.err'
110181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110182 (eval $ac_try) 2>&5
110183 ac_status=$?
110184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110185 (exit $ac_status); }; } &&
110186 { ac_try='test -s conftest$ac_exeext'
110187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110188 (eval $ac_try) 2>&5
110189 ac_status=$?
110190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110191 (exit $ac_status); }; }; then
110192 ac_cv_lib_m_main=yes
110194 echo "$as_me: failed program was:" >&5
110195 sed 's/^/| /' conftest.$ac_ext >&5
110197 ac_cv_lib_m_main=no
110199 rm -f conftest.err conftest.$ac_objext \
110200 conftest$ac_exeext conftest.$ac_ext
110201 LIBS=$ac_check_lib_save_LIBS
110203 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
110204 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
110205 if test $ac_cv_lib_m_main = yes; then
110206 cat >>confdefs.h <<_ACEOF
110207 #define HAVE_LIBM 1
110208 _ACEOF
110210 LIBS="-lm $LIBS"
110215 for ac_func in copysignf
110217 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110218 echo "$as_me:$LINENO: checking for $ac_func" >&5
110219 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110220 if eval "test \"\${$as_ac_var+set}\" = set"; then
110221 echo $ECHO_N "(cached) $ECHO_C" >&6
110223 if test x$gcc_no_link = xyes; then
110224 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110225 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110226 { (exit 1); exit 1; }; }
110228 cat >conftest.$ac_ext <<_ACEOF
110229 /* confdefs.h. */
110230 _ACEOF
110231 cat confdefs.h >>conftest.$ac_ext
110232 cat >>conftest.$ac_ext <<_ACEOF
110233 /* end confdefs.h. */
110234 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110235 For example, HP-UX 11i <limits.h> declares gettimeofday. */
110236 #define $ac_func innocuous_$ac_func
110238 /* System header to define __stub macros and hopefully few prototypes,
110239 which can conflict with char $ac_func (); below.
110240 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110241 <limits.h> exists even on freestanding compilers. */
110243 #ifdef __STDC__
110244 # include <limits.h>
110245 #else
110246 # include <assert.h>
110247 #endif
110249 #undef $ac_func
110251 /* Override any gcc2 internal prototype to avoid an error. */
110252 #ifdef __cplusplus
110253 extern "C"
110255 #endif
110256 /* We use char because int might match the return type of a gcc2
110257 builtin and then its argument prototype would still apply. */
110258 char $ac_func ();
110259 /* The GNU C library defines this for functions which it implements
110260 to always fail with ENOSYS. Some functions are actually named
110261 something starting with __ and the normal name is an alias. */
110262 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110263 choke me
110264 #else
110265 char (*f) () = $ac_func;
110266 #endif
110267 #ifdef __cplusplus
110269 #endif
110272 main ()
110274 return f != $ac_func;
110276 return 0;
110278 _ACEOF
110279 rm -f conftest.$ac_objext conftest$ac_exeext
110280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110281 (eval $ac_link) 2>conftest.er1
110282 ac_status=$?
110283 grep -v '^ *+' conftest.er1 >conftest.err
110284 rm -f conftest.er1
110285 cat conftest.err >&5
110286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110287 (exit $ac_status); } &&
110288 { ac_try='test -z "$ac_c_werror_flag"
110289 || test ! -s conftest.err'
110290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110291 (eval $ac_try) 2>&5
110292 ac_status=$?
110293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110294 (exit $ac_status); }; } &&
110295 { ac_try='test -s conftest$ac_exeext'
110296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110297 (eval $ac_try) 2>&5
110298 ac_status=$?
110299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110300 (exit $ac_status); }; }; then
110301 eval "$as_ac_var=yes"
110303 echo "$as_me: failed program was:" >&5
110304 sed 's/^/| /' conftest.$ac_ext >&5
110306 eval "$as_ac_var=no"
110308 rm -f conftest.err conftest.$ac_objext \
110309 conftest$ac_exeext conftest.$ac_ext
110311 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110312 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110313 if test `eval echo '${'$as_ac_var'}'` = yes; then
110314 cat >>confdefs.h <<_ACEOF
110315 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110316 _ACEOF
110319 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
110325 for ac_func in __signbit
110327 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110328 echo "$as_me:$LINENO: checking for $ac_func" >&5
110329 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110330 if eval "test \"\${$as_ac_var+set}\" = set"; then
110331 echo $ECHO_N "(cached) $ECHO_C" >&6
110333 if test x$gcc_no_link = xyes; then
110334 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110335 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110336 { (exit 1); exit 1; }; }
110338 cat >conftest.$ac_ext <<_ACEOF
110339 /* confdefs.h. */
110340 _ACEOF
110341 cat confdefs.h >>conftest.$ac_ext
110342 cat >>conftest.$ac_ext <<_ACEOF
110343 /* end confdefs.h. */
110344 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110345 For example, HP-UX 11i <limits.h> declares gettimeofday. */
110346 #define $ac_func innocuous_$ac_func
110348 /* System header to define __stub macros and hopefully few prototypes,
110349 which can conflict with char $ac_func (); below.
110350 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110351 <limits.h> exists even on freestanding compilers. */
110353 #ifdef __STDC__
110354 # include <limits.h>
110355 #else
110356 # include <assert.h>
110357 #endif
110359 #undef $ac_func
110361 /* Override any gcc2 internal prototype to avoid an error. */
110362 #ifdef __cplusplus
110363 extern "C"
110365 #endif
110366 /* We use char because int might match the return type of a gcc2
110367 builtin and then its argument prototype would still apply. */
110368 char $ac_func ();
110369 /* The GNU C library defines this for functions which it implements
110370 to always fail with ENOSYS. Some functions are actually named
110371 something starting with __ and the normal name is an alias. */
110372 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110373 choke me
110374 #else
110375 char (*f) () = $ac_func;
110376 #endif
110377 #ifdef __cplusplus
110379 #endif
110382 main ()
110384 return f != $ac_func;
110386 return 0;
110388 _ACEOF
110389 rm -f conftest.$ac_objext conftest$ac_exeext
110390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110391 (eval $ac_link) 2>conftest.er1
110392 ac_status=$?
110393 grep -v '^ *+' conftest.er1 >conftest.err
110394 rm -f conftest.er1
110395 cat conftest.err >&5
110396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110397 (exit $ac_status); } &&
110398 { ac_try='test -z "$ac_c_werror_flag"
110399 || test ! -s conftest.err'
110400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110401 (eval $ac_try) 2>&5
110402 ac_status=$?
110403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110404 (exit $ac_status); }; } &&
110405 { ac_try='test -s conftest$ac_exeext'
110406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110407 (eval $ac_try) 2>&5
110408 ac_status=$?
110409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110410 (exit $ac_status); }; }; then
110411 eval "$as_ac_var=yes"
110413 echo "$as_me: failed program was:" >&5
110414 sed 's/^/| /' conftest.$ac_ext >&5
110416 eval "$as_ac_var=no"
110418 rm -f conftest.err conftest.$ac_objext \
110419 conftest$ac_exeext conftest.$ac_ext
110421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110422 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110423 if test `eval echo '${'$as_ac_var'}'` = yes; then
110424 cat >>confdefs.h <<_ACEOF
110425 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110426 _ACEOF
110429 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
110435 for ac_func in __signbitf
110437 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110438 echo "$as_me:$LINENO: checking for $ac_func" >&5
110439 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110440 if eval "test \"\${$as_ac_var+set}\" = set"; then
110441 echo $ECHO_N "(cached) $ECHO_C" >&6
110443 if test x$gcc_no_link = xyes; then
110444 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110445 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110446 { (exit 1); exit 1; }; }
110448 cat >conftest.$ac_ext <<_ACEOF
110449 /* confdefs.h. */
110450 _ACEOF
110451 cat confdefs.h >>conftest.$ac_ext
110452 cat >>conftest.$ac_ext <<_ACEOF
110453 /* end confdefs.h. */
110454 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110455 For example, HP-UX 11i <limits.h> declares gettimeofday. */
110456 #define $ac_func innocuous_$ac_func
110458 /* System header to define __stub macros and hopefully few prototypes,
110459 which can conflict with char $ac_func (); below.
110460 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110461 <limits.h> exists even on freestanding compilers. */
110463 #ifdef __STDC__
110464 # include <limits.h>
110465 #else
110466 # include <assert.h>
110467 #endif
110469 #undef $ac_func
110471 /* Override any gcc2 internal prototype to avoid an error. */
110472 #ifdef __cplusplus
110473 extern "C"
110475 #endif
110476 /* We use char because int might match the return type of a gcc2
110477 builtin and then its argument prototype would still apply. */
110478 char $ac_func ();
110479 /* The GNU C library defines this for functions which it implements
110480 to always fail with ENOSYS. Some functions are actually named
110481 something starting with __ and the normal name is an alias. */
110482 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110483 choke me
110484 #else
110485 char (*f) () = $ac_func;
110486 #endif
110487 #ifdef __cplusplus
110489 #endif
110492 main ()
110494 return f != $ac_func;
110496 return 0;
110498 _ACEOF
110499 rm -f conftest.$ac_objext conftest$ac_exeext
110500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110501 (eval $ac_link) 2>conftest.er1
110502 ac_status=$?
110503 grep -v '^ *+' conftest.er1 >conftest.err
110504 rm -f conftest.er1
110505 cat conftest.err >&5
110506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110507 (exit $ac_status); } &&
110508 { ac_try='test -z "$ac_c_werror_flag"
110509 || test ! -s conftest.err'
110510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110511 (eval $ac_try) 2>&5
110512 ac_status=$?
110513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110514 (exit $ac_status); }; } &&
110515 { ac_try='test -s conftest$ac_exeext'
110516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110517 (eval $ac_try) 2>&5
110518 ac_status=$?
110519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110520 (exit $ac_status); }; }; then
110521 eval "$as_ac_var=yes"
110523 echo "$as_me: failed program was:" >&5
110524 sed 's/^/| /' conftest.$ac_ext >&5
110526 eval "$as_ac_var=no"
110528 rm -f conftest.err conftest.$ac_objext \
110529 conftest$ac_exeext conftest.$ac_ext
110531 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110532 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110533 if test `eval echo '${'$as_ac_var'}'` = yes; then
110534 cat >>confdefs.h <<_ACEOF
110535 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110536 _ACEOF
110539 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
110544 if test x$ac_cv_func_copysignl = x"yes"; then
110546 for ac_func in __signbitl
110548 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110549 echo "$as_me:$LINENO: checking for $ac_func" >&5
110550 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110551 if eval "test \"\${$as_ac_var+set}\" = set"; then
110552 echo $ECHO_N "(cached) $ECHO_C" >&6
110554 if test x$gcc_no_link = xyes; then
110555 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110556 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110557 { (exit 1); exit 1; }; }
110559 cat >conftest.$ac_ext <<_ACEOF
110560 /* confdefs.h. */
110561 _ACEOF
110562 cat confdefs.h >>conftest.$ac_ext
110563 cat >>conftest.$ac_ext <<_ACEOF
110564 /* end confdefs.h. */
110565 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110566 For example, HP-UX 11i <limits.h> declares gettimeofday. */
110567 #define $ac_func innocuous_$ac_func
110569 /* System header to define __stub macros and hopefully few prototypes,
110570 which can conflict with char $ac_func (); below.
110571 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110572 <limits.h> exists even on freestanding compilers. */
110574 #ifdef __STDC__
110575 # include <limits.h>
110576 #else
110577 # include <assert.h>
110578 #endif
110580 #undef $ac_func
110582 /* Override any gcc2 internal prototype to avoid an error. */
110583 #ifdef __cplusplus
110584 extern "C"
110586 #endif
110587 /* We use char because int might match the return type of a gcc2
110588 builtin and then its argument prototype would still apply. */
110589 char $ac_func ();
110590 /* The GNU C library defines this for functions which it implements
110591 to always fail with ENOSYS. Some functions are actually named
110592 something starting with __ and the normal name is an alias. */
110593 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110594 choke me
110595 #else
110596 char (*f) () = $ac_func;
110597 #endif
110598 #ifdef __cplusplus
110600 #endif
110603 main ()
110605 return f != $ac_func;
110607 return 0;
110609 _ACEOF
110610 rm -f conftest.$ac_objext conftest$ac_exeext
110611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110612 (eval $ac_link) 2>conftest.er1
110613 ac_status=$?
110614 grep -v '^ *+' conftest.er1 >conftest.err
110615 rm -f conftest.er1
110616 cat conftest.err >&5
110617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110618 (exit $ac_status); } &&
110619 { ac_try='test -z "$ac_c_werror_flag"
110620 || test ! -s conftest.err'
110621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110622 (eval $ac_try) 2>&5
110623 ac_status=$?
110624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110625 (exit $ac_status); }; } &&
110626 { ac_try='test -s conftest$ac_exeext'
110627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110628 (eval $ac_try) 2>&5
110629 ac_status=$?
110630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110631 (exit $ac_status); }; }; then
110632 eval "$as_ac_var=yes"
110634 echo "$as_me: failed program was:" >&5
110635 sed 's/^/| /' conftest.$ac_ext >&5
110637 eval "$as_ac_var=no"
110639 rm -f conftest.err conftest.$ac_objext \
110640 conftest$ac_exeext conftest.$ac_ext
110642 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110643 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110644 if test `eval echo '${'$as_ac_var'}'` = yes; then
110645 cat >>confdefs.h <<_ACEOF
110646 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110647 _ACEOF
110650 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
110656 # Used in libmath/Makefile.am.
110657 if test -n "$LIBMATHOBJS"; then
110658 need_libmath=yes
110662 cat >>confdefs.h <<\_ACEOF
110663 #define HAVE_HYPOT 1
110664 _ACEOF
110666 cat >>confdefs.h <<\_ACEOF
110667 #define HAVE_ISINF 1
110668 _ACEOF
110670 cat >>confdefs.h <<\_ACEOF
110671 #define HAVE_ISNAN 1
110672 _ACEOF
110675 # For showmanyc_helper().
110678 for ac_header in sys/ioctl.h sys/filio.h
110680 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
110681 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110682 echo "$as_me:$LINENO: checking for $ac_header" >&5
110683 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
110684 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110685 echo $ECHO_N "(cached) $ECHO_C" >&6
110687 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
110688 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
110690 # Is the header compilable?
110691 echo "$as_me:$LINENO: checking $ac_header usability" >&5
110692 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
110693 cat >conftest.$ac_ext <<_ACEOF
110694 /* confdefs.h. */
110695 _ACEOF
110696 cat confdefs.h >>conftest.$ac_ext
110697 cat >>conftest.$ac_ext <<_ACEOF
110698 /* end confdefs.h. */
110699 $ac_includes_default
110700 #include <$ac_header>
110701 _ACEOF
110702 rm -f conftest.$ac_objext
110703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110704 (eval $ac_compile) 2>conftest.er1
110705 ac_status=$?
110706 grep -v '^ *+' conftest.er1 >conftest.err
110707 rm -f conftest.er1
110708 cat conftest.err >&5
110709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110710 (exit $ac_status); } &&
110711 { ac_try='test -z "$ac_c_werror_flag"
110712 || test ! -s conftest.err'
110713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110714 (eval $ac_try) 2>&5
110715 ac_status=$?
110716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110717 (exit $ac_status); }; } &&
110718 { ac_try='test -s conftest.$ac_objext'
110719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110720 (eval $ac_try) 2>&5
110721 ac_status=$?
110722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110723 (exit $ac_status); }; }; then
110724 ac_header_compiler=yes
110726 echo "$as_me: failed program was:" >&5
110727 sed 's/^/| /' conftest.$ac_ext >&5
110729 ac_header_compiler=no
110731 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110732 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
110733 echo "${ECHO_T}$ac_header_compiler" >&6
110735 # Is the header present?
110736 echo "$as_me:$LINENO: checking $ac_header presence" >&5
110737 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
110738 cat >conftest.$ac_ext <<_ACEOF
110739 /* confdefs.h. */
110740 _ACEOF
110741 cat confdefs.h >>conftest.$ac_ext
110742 cat >>conftest.$ac_ext <<_ACEOF
110743 /* end confdefs.h. */
110744 #include <$ac_header>
110745 _ACEOF
110746 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
110747 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
110748 ac_status=$?
110749 grep -v '^ *+' conftest.er1 >conftest.err
110750 rm -f conftest.er1
110751 cat conftest.err >&5
110752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110753 (exit $ac_status); } >/dev/null; then
110754 if test -s conftest.err; then
110755 ac_cpp_err=$ac_c_preproc_warn_flag
110756 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
110758 ac_cpp_err=
110761 ac_cpp_err=yes
110763 if test -z "$ac_cpp_err"; then
110764 ac_header_preproc=yes
110766 echo "$as_me: failed program was:" >&5
110767 sed 's/^/| /' conftest.$ac_ext >&5
110769 ac_header_preproc=no
110771 rm -f conftest.err conftest.$ac_ext
110772 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
110773 echo "${ECHO_T}$ac_header_preproc" >&6
110775 # So? What about this header?
110776 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
110777 yes:no: )
110778 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
110779 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
110780 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
110781 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
110782 ac_header_preproc=yes
110784 no:yes:* )
110785 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
110786 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
110787 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
110788 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
110789 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
110790 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
110791 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
110792 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
110793 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
110794 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
110795 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
110796 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
110798 cat <<\_ASBOX
110799 ## ----------------------------------------- ##
110800 ## Report this to the package-unused lists. ##
110801 ## ----------------------------------------- ##
110802 _ASBOX
110804 sed "s/^/$as_me: WARNING: /" >&2
110807 echo "$as_me:$LINENO: checking for $ac_header" >&5
110808 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
110809 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110810 echo $ECHO_N "(cached) $ECHO_C" >&6
110812 eval "$as_ac_Header=\$ac_header_preproc"
110814 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
110815 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
110818 if test `eval echo '${'$as_ac_Header'}'` = yes; then
110819 cat >>confdefs.h <<_ACEOF
110820 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
110821 _ACEOF
110828 echo "$as_me:$LINENO: checking for poll" >&5
110829 echo $ECHO_N "checking for poll... $ECHO_C" >&6
110830 if test "${glibcxx_cv_POLL+set}" = set; then
110831 echo $ECHO_N "(cached) $ECHO_C" >&6
110834 if test x$gcc_no_link = xyes; then
110835 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110836 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110837 { (exit 1); exit 1; }; }
110839 cat >conftest.$ac_ext <<_ACEOF
110840 /* confdefs.h. */
110841 _ACEOF
110842 cat confdefs.h >>conftest.$ac_ext
110843 cat >>conftest.$ac_ext <<_ACEOF
110844 /* end confdefs.h. */
110845 #include <poll.h>
110847 main ()
110849 struct pollfd pfd[1];
110850 pfd[0].events = POLLIN;
110851 poll(pfd, 1, 0);
110853 return 0;
110855 _ACEOF
110856 rm -f conftest.$ac_objext conftest$ac_exeext
110857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110858 (eval $ac_link) 2>conftest.er1
110859 ac_status=$?
110860 grep -v '^ *+' conftest.er1 >conftest.err
110861 rm -f conftest.er1
110862 cat conftest.err >&5
110863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110864 (exit $ac_status); } &&
110865 { ac_try='test -z "$ac_c_werror_flag"
110866 || test ! -s conftest.err'
110867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110868 (eval $ac_try) 2>&5
110869 ac_status=$?
110870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110871 (exit $ac_status); }; } &&
110872 { ac_try='test -s conftest$ac_exeext'
110873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110874 (eval $ac_try) 2>&5
110875 ac_status=$?
110876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110877 (exit $ac_status); }; }; then
110878 glibcxx_cv_POLL=yes
110880 echo "$as_me: failed program was:" >&5
110881 sed 's/^/| /' conftest.$ac_ext >&5
110883 glibcxx_cv_POLL=no
110885 rm -f conftest.err conftest.$ac_objext \
110886 conftest$ac_exeext conftest.$ac_ext
110890 if test $glibcxx_cv_POLL = yes; then
110892 cat >>confdefs.h <<\_ACEOF
110893 #define HAVE_POLL 1
110894 _ACEOF
110897 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
110898 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
110901 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
110902 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
110903 if test "${glibcxx_cv_S_ISREG+set}" = set; then
110904 echo $ECHO_N "(cached) $ECHO_C" >&6
110907 if test x$gcc_no_link = xyes; then
110908 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110909 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110910 { (exit 1); exit 1; }; }
110912 cat >conftest.$ac_ext <<_ACEOF
110913 /* confdefs.h. */
110914 _ACEOF
110915 cat confdefs.h >>conftest.$ac_ext
110916 cat >>conftest.$ac_ext <<_ACEOF
110917 /* end confdefs.h. */
110918 #include <sys/stat.h>
110920 main ()
110922 struct stat buffer;
110923 fstat(0, &buffer);
110924 S_ISREG(buffer.st_mode);
110926 return 0;
110928 _ACEOF
110929 rm -f conftest.$ac_objext conftest$ac_exeext
110930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110931 (eval $ac_link) 2>conftest.er1
110932 ac_status=$?
110933 grep -v '^ *+' conftest.er1 >conftest.err
110934 rm -f conftest.er1
110935 cat conftest.err >&5
110936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110937 (exit $ac_status); } &&
110938 { ac_try='test -z "$ac_c_werror_flag"
110939 || test ! -s conftest.err'
110940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110941 (eval $ac_try) 2>&5
110942 ac_status=$?
110943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110944 (exit $ac_status); }; } &&
110945 { ac_try='test -s conftest$ac_exeext'
110946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110947 (eval $ac_try) 2>&5
110948 ac_status=$?
110949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110950 (exit $ac_status); }; }; then
110951 glibcxx_cv_S_ISREG=yes
110953 echo "$as_me: failed program was:" >&5
110954 sed 's/^/| /' conftest.$ac_ext >&5
110956 glibcxx_cv_S_ISREG=no
110958 rm -f conftest.err conftest.$ac_objext \
110959 conftest$ac_exeext conftest.$ac_ext
110963 if test "${glibcxx_cv_S_IFREG+set}" = set; then
110964 echo $ECHO_N "(cached) $ECHO_C" >&6
110967 if test x$gcc_no_link = xyes; then
110968 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110969 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110970 { (exit 1); exit 1; }; }
110972 cat >conftest.$ac_ext <<_ACEOF
110973 /* confdefs.h. */
110974 _ACEOF
110975 cat confdefs.h >>conftest.$ac_ext
110976 cat >>conftest.$ac_ext <<_ACEOF
110977 /* end confdefs.h. */
110978 #include <sys/stat.h>
110980 main ()
110982 struct stat buffer;
110983 fstat(0, &buffer);
110984 S_IFREG & buffer.st_mode;
110986 return 0;
110988 _ACEOF
110989 rm -f conftest.$ac_objext conftest$ac_exeext
110990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110991 (eval $ac_link) 2>conftest.er1
110992 ac_status=$?
110993 grep -v '^ *+' conftest.er1 >conftest.err
110994 rm -f conftest.er1
110995 cat conftest.err >&5
110996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110997 (exit $ac_status); } &&
110998 { ac_try='test -z "$ac_c_werror_flag"
110999 || test ! -s conftest.err'
111000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111001 (eval $ac_try) 2>&5
111002 ac_status=$?
111003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111004 (exit $ac_status); }; } &&
111005 { ac_try='test -s conftest$ac_exeext'
111006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111007 (eval $ac_try) 2>&5
111008 ac_status=$?
111009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111010 (exit $ac_status); }; }; then
111011 glibcxx_cv_S_IFREG=yes
111013 echo "$as_me: failed program was:" >&5
111014 sed 's/^/| /' conftest.$ac_ext >&5
111016 glibcxx_cv_S_IFREG=no
111018 rm -f conftest.err conftest.$ac_objext \
111019 conftest$ac_exeext conftest.$ac_ext
111023 res=no
111024 if test $glibcxx_cv_S_ISREG = yes; then
111026 cat >>confdefs.h <<\_ACEOF
111027 #define HAVE_S_ISREG 1
111028 _ACEOF
111030 res=S_ISREG
111031 elif test $glibcxx_cv_S_IFREG = yes; then
111033 cat >>confdefs.h <<\_ACEOF
111034 #define HAVE_S_IFREG 1
111035 _ACEOF
111037 res=S_IFREG
111039 echo "$as_me:$LINENO: result: $res" >&5
111040 echo "${ECHO_T}$res" >&6
111043 # For xsputn_2().
111045 for ac_header in sys/uio.h
111047 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
111048 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111049 echo "$as_me:$LINENO: checking for $ac_header" >&5
111050 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
111051 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111052 echo $ECHO_N "(cached) $ECHO_C" >&6
111054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
111055 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
111057 # Is the header compilable?
111058 echo "$as_me:$LINENO: checking $ac_header usability" >&5
111059 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
111060 cat >conftest.$ac_ext <<_ACEOF
111061 /* confdefs.h. */
111062 _ACEOF
111063 cat confdefs.h >>conftest.$ac_ext
111064 cat >>conftest.$ac_ext <<_ACEOF
111065 /* end confdefs.h. */
111066 $ac_includes_default
111067 #include <$ac_header>
111068 _ACEOF
111069 rm -f conftest.$ac_objext
111070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
111071 (eval $ac_compile) 2>conftest.er1
111072 ac_status=$?
111073 grep -v '^ *+' conftest.er1 >conftest.err
111074 rm -f conftest.er1
111075 cat conftest.err >&5
111076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111077 (exit $ac_status); } &&
111078 { ac_try='test -z "$ac_c_werror_flag"
111079 || test ! -s conftest.err'
111080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111081 (eval $ac_try) 2>&5
111082 ac_status=$?
111083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111084 (exit $ac_status); }; } &&
111085 { ac_try='test -s conftest.$ac_objext'
111086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111087 (eval $ac_try) 2>&5
111088 ac_status=$?
111089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111090 (exit $ac_status); }; }; then
111091 ac_header_compiler=yes
111093 echo "$as_me: failed program was:" >&5
111094 sed 's/^/| /' conftest.$ac_ext >&5
111096 ac_header_compiler=no
111098 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
111099 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
111100 echo "${ECHO_T}$ac_header_compiler" >&6
111102 # Is the header present?
111103 echo "$as_me:$LINENO: checking $ac_header presence" >&5
111104 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
111105 cat >conftest.$ac_ext <<_ACEOF
111106 /* confdefs.h. */
111107 _ACEOF
111108 cat confdefs.h >>conftest.$ac_ext
111109 cat >>conftest.$ac_ext <<_ACEOF
111110 /* end confdefs.h. */
111111 #include <$ac_header>
111112 _ACEOF
111113 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
111114 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
111115 ac_status=$?
111116 grep -v '^ *+' conftest.er1 >conftest.err
111117 rm -f conftest.er1
111118 cat conftest.err >&5
111119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111120 (exit $ac_status); } >/dev/null; then
111121 if test -s conftest.err; then
111122 ac_cpp_err=$ac_c_preproc_warn_flag
111123 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
111125 ac_cpp_err=
111128 ac_cpp_err=yes
111130 if test -z "$ac_cpp_err"; then
111131 ac_header_preproc=yes
111133 echo "$as_me: failed program was:" >&5
111134 sed 's/^/| /' conftest.$ac_ext >&5
111136 ac_header_preproc=no
111138 rm -f conftest.err conftest.$ac_ext
111139 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
111140 echo "${ECHO_T}$ac_header_preproc" >&6
111142 # So? What about this header?
111143 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
111144 yes:no: )
111145 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
111146 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
111147 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
111148 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
111149 ac_header_preproc=yes
111151 no:yes:* )
111152 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
111153 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
111154 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
111155 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
111156 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
111157 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
111158 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
111159 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
111160 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
111161 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
111162 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
111163 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
111165 cat <<\_ASBOX
111166 ## ----------------------------------------- ##
111167 ## Report this to the package-unused lists. ##
111168 ## ----------------------------------------- ##
111169 _ASBOX
111171 sed "s/^/$as_me: WARNING: /" >&2
111174 echo "$as_me:$LINENO: checking for $ac_header" >&5
111175 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
111176 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111177 echo $ECHO_N "(cached) $ECHO_C" >&6
111179 eval "$as_ac_Header=\$ac_header_preproc"
111181 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
111182 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
111185 if test `eval echo '${'$as_ac_Header'}'` = yes; then
111186 cat >>confdefs.h <<_ACEOF
111187 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
111188 _ACEOF
111195 echo "$as_me:$LINENO: checking for writev" >&5
111196 echo $ECHO_N "checking for writev... $ECHO_C" >&6
111197 if test "${glibcxx_cv_WRITEV+set}" = set; then
111198 echo $ECHO_N "(cached) $ECHO_C" >&6
111201 if test x$gcc_no_link = xyes; then
111202 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111203 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111204 { (exit 1); exit 1; }; }
111206 cat >conftest.$ac_ext <<_ACEOF
111207 /* confdefs.h. */
111208 _ACEOF
111209 cat confdefs.h >>conftest.$ac_ext
111210 cat >>conftest.$ac_ext <<_ACEOF
111211 /* end confdefs.h. */
111212 #include <sys/uio.h>
111214 main ()
111216 struct iovec iov[2];
111217 writev(0, iov, 0);
111219 return 0;
111221 _ACEOF
111222 rm -f conftest.$ac_objext conftest$ac_exeext
111223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111224 (eval $ac_link) 2>conftest.er1
111225 ac_status=$?
111226 grep -v '^ *+' conftest.er1 >conftest.err
111227 rm -f conftest.er1
111228 cat conftest.err >&5
111229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111230 (exit $ac_status); } &&
111231 { ac_try='test -z "$ac_c_werror_flag"
111232 || test ! -s conftest.err'
111233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111234 (eval $ac_try) 2>&5
111235 ac_status=$?
111236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111237 (exit $ac_status); }; } &&
111238 { ac_try='test -s conftest$ac_exeext'
111239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111240 (eval $ac_try) 2>&5
111241 ac_status=$?
111242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111243 (exit $ac_status); }; }; then
111244 glibcxx_cv_WRITEV=yes
111246 echo "$as_me: failed program was:" >&5
111247 sed 's/^/| /' conftest.$ac_ext >&5
111249 glibcxx_cv_WRITEV=no
111251 rm -f conftest.err conftest.$ac_objext \
111252 conftest$ac_exeext conftest.$ac_ext
111256 if test $glibcxx_cv_WRITEV = yes; then
111258 cat >>confdefs.h <<\_ACEOF
111259 #define HAVE_WRITEV 1
111260 _ACEOF
111263 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
111264 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
111267 *-qnx6.1* | *-qnx6.2*)
111268 SECTION_FLAGS='-ffunction-sections -fdata-sections'
111271 # If we're not using GNU ld, then there's no point in even trying these
111272 # tests. Check for that first. We should have already tested for gld
111273 # by now (in libtool), but require it now just to be safe...
111274 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
111275 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
111279 # The name set by libtool depends on the version of libtool. Shame on us
111280 # for depending on an impl detail, but c'est la vie. Older versions used
111281 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
111282 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
111283 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
111284 # set (hence we're using an older libtool), then set it.
111285 if test x${with_gnu_ld+set} != xset; then
111286 if test x${ac_cv_prog_gnu_ld+set} != xset; then
111287 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
111288 with_gnu_ld=no
111290 with_gnu_ld=$ac_cv_prog_gnu_ld
111294 # Start by getting the version number. I think the libtool test already
111295 # does some of this, but throws away the result.
111296 if test x"$with_gnu_ld" = x"yes"; then
111297 echo "$as_me:$LINENO: checking for ld version" >&5
111298 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
111300 ldver=`$LD --version 2>/dev/null | head -1 | \
111301 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
111303 glibcxx_gnu_ld_version=`echo $ldver | \
111304 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
111305 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
111306 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
111309 # Set --gc-sections.
111310 glibcxx_gcsections_min_ld=21602
111311 if test x"$with_gnu_ld" = x"yes" &&
111312 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
111314 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
111315 # NB: This flag only works reliably after 2.16.1. Configure tests
111316 # for this are difficult, so hard wire a value that should work.
111318 ac_test_CFLAGS="${CFLAGS+set}"
111319 ac_save_CFLAGS="$CFLAGS"
111320 CFLAGS='-Wl,--gc-sections'
111322 # Check for -Wl,--gc-sections
111323 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
111324 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
111325 if test x$gcc_no_link = xyes; then
111326 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111327 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111328 { (exit 1); exit 1; }; }
111330 cat >conftest.$ac_ext <<_ACEOF
111331 /* confdefs.h. */
111332 _ACEOF
111333 cat confdefs.h >>conftest.$ac_ext
111334 cat >>conftest.$ac_ext <<_ACEOF
111335 /* end confdefs.h. */
111336 int one(void) { return 1; }
111337 int two(void) { return 2; }
111340 main ()
111342 two();
111344 return 0;
111346 _ACEOF
111347 rm -f conftest.$ac_objext conftest$ac_exeext
111348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111349 (eval $ac_link) 2>conftest.er1
111350 ac_status=$?
111351 grep -v '^ *+' conftest.er1 >conftest.err
111352 rm -f conftest.er1
111353 cat conftest.err >&5
111354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111355 (exit $ac_status); } &&
111356 { ac_try='test -z "$ac_c_werror_flag"
111357 || test ! -s conftest.err'
111358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111359 (eval $ac_try) 2>&5
111360 ac_status=$?
111361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111362 (exit $ac_status); }; } &&
111363 { ac_try='test -s conftest$ac_exeext'
111364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111365 (eval $ac_try) 2>&5
111366 ac_status=$?
111367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111368 (exit $ac_status); }; }; then
111369 ac_gcsections=yes
111371 echo "$as_me: failed program was:" >&5
111372 sed 's/^/| /' conftest.$ac_ext >&5
111374 ac_gcsections=no
111376 rm -f conftest.err conftest.$ac_objext \
111377 conftest$ac_exeext conftest.$ac_ext
111378 if test "$ac_gcsections" = "yes"; then
111379 rm -f conftest.c
111380 touch conftest.c
111381 if $CC -c conftest.c; then
111382 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
111383 grep "Warning: gc-sections option ignored" > /dev/null; then
111384 ac_gcsections=no
111387 rm -f conftest.c conftest.o conftest
111389 if test "$ac_gcsections" = "yes"; then
111390 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
111392 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
111393 echo "${ECHO_T}$ac_gcsections" >&6
111395 if test "$ac_test_CFLAGS" = set; then
111396 CFLAGS="$ac_save_CFLAGS"
111398 # this is the suspicious part
111399 CFLAGS=''
111403 # Set -z,relro.
111404 # Note this is only for shared objects.
111405 ac_ld_relro=no
111406 if test x"$with_gnu_ld" = x"yes"; then
111407 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
111408 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
111409 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
111410 if test -n "$cxx_z_relo"; then
111411 OPT_LDFLAGS="-Wl,-z,relro"
111412 ac_ld_relro=yes
111414 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
111415 echo "${ECHO_T}$ac_ld_relro" >&6
111418 # Set linker optimization flags.
111419 if test x"$with_gnu_ld" = x"yes"; then
111420 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
111428 echo "$as_me:$LINENO: checking for main in -lm" >&5
111429 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
111430 if test "${ac_cv_lib_m_main+set}" = set; then
111431 echo $ECHO_N "(cached) $ECHO_C" >&6
111433 ac_check_lib_save_LIBS=$LIBS
111434 LIBS="-lm $LIBS"
111435 if test x$gcc_no_link = xyes; then
111436 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111437 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111438 { (exit 1); exit 1; }; }
111440 cat >conftest.$ac_ext <<_ACEOF
111441 /* confdefs.h. */
111442 _ACEOF
111443 cat confdefs.h >>conftest.$ac_ext
111444 cat >>conftest.$ac_ext <<_ACEOF
111445 /* end confdefs.h. */
111449 main ()
111451 main ();
111453 return 0;
111455 _ACEOF
111456 rm -f conftest.$ac_objext conftest$ac_exeext
111457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111458 (eval $ac_link) 2>conftest.er1
111459 ac_status=$?
111460 grep -v '^ *+' conftest.er1 >conftest.err
111461 rm -f conftest.er1
111462 cat conftest.err >&5
111463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111464 (exit $ac_status); } &&
111465 { ac_try='test -z "$ac_c_werror_flag"
111466 || test ! -s conftest.err'
111467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111468 (eval $ac_try) 2>&5
111469 ac_status=$?
111470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111471 (exit $ac_status); }; } &&
111472 { ac_try='test -s conftest$ac_exeext'
111473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111474 (eval $ac_try) 2>&5
111475 ac_status=$?
111476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111477 (exit $ac_status); }; }; then
111478 ac_cv_lib_m_main=yes
111480 echo "$as_me: failed program was:" >&5
111481 sed 's/^/| /' conftest.$ac_ext >&5
111483 ac_cv_lib_m_main=no
111485 rm -f conftest.err conftest.$ac_objext \
111486 conftest$ac_exeext conftest.$ac_ext
111487 LIBS=$ac_check_lib_save_LIBS
111489 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
111490 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
111491 if test $ac_cv_lib_m_main = yes; then
111492 cat >>confdefs.h <<_ACEOF
111493 #define HAVE_LIBM 1
111494 _ACEOF
111496 LIBS="-lm $LIBS"
111501 for ac_func in copysignf
111503 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111504 echo "$as_me:$LINENO: checking for $ac_func" >&5
111505 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111506 if eval "test \"\${$as_ac_var+set}\" = set"; then
111507 echo $ECHO_N "(cached) $ECHO_C" >&6
111509 if test x$gcc_no_link = xyes; then
111510 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111511 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111512 { (exit 1); exit 1; }; }
111514 cat >conftest.$ac_ext <<_ACEOF
111515 /* confdefs.h. */
111516 _ACEOF
111517 cat confdefs.h >>conftest.$ac_ext
111518 cat >>conftest.$ac_ext <<_ACEOF
111519 /* end confdefs.h. */
111520 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111521 For example, HP-UX 11i <limits.h> declares gettimeofday. */
111522 #define $ac_func innocuous_$ac_func
111524 /* System header to define __stub macros and hopefully few prototypes,
111525 which can conflict with char $ac_func (); below.
111526 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111527 <limits.h> exists even on freestanding compilers. */
111529 #ifdef __STDC__
111530 # include <limits.h>
111531 #else
111532 # include <assert.h>
111533 #endif
111535 #undef $ac_func
111537 /* Override any gcc2 internal prototype to avoid an error. */
111538 #ifdef __cplusplus
111539 extern "C"
111541 #endif
111542 /* We use char because int might match the return type of a gcc2
111543 builtin and then its argument prototype would still apply. */
111544 char $ac_func ();
111545 /* The GNU C library defines this for functions which it implements
111546 to always fail with ENOSYS. Some functions are actually named
111547 something starting with __ and the normal name is an alias. */
111548 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111549 choke me
111550 #else
111551 char (*f) () = $ac_func;
111552 #endif
111553 #ifdef __cplusplus
111555 #endif
111558 main ()
111560 return f != $ac_func;
111562 return 0;
111564 _ACEOF
111565 rm -f conftest.$ac_objext conftest$ac_exeext
111566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111567 (eval $ac_link) 2>conftest.er1
111568 ac_status=$?
111569 grep -v '^ *+' conftest.er1 >conftest.err
111570 rm -f conftest.er1
111571 cat conftest.err >&5
111572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111573 (exit $ac_status); } &&
111574 { ac_try='test -z "$ac_c_werror_flag"
111575 || test ! -s conftest.err'
111576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111577 (eval $ac_try) 2>&5
111578 ac_status=$?
111579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111580 (exit $ac_status); }; } &&
111581 { ac_try='test -s conftest$ac_exeext'
111582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111583 (eval $ac_try) 2>&5
111584 ac_status=$?
111585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111586 (exit $ac_status); }; }; then
111587 eval "$as_ac_var=yes"
111589 echo "$as_me: failed program was:" >&5
111590 sed 's/^/| /' conftest.$ac_ext >&5
111592 eval "$as_ac_var=no"
111594 rm -f conftest.err conftest.$ac_objext \
111595 conftest$ac_exeext conftest.$ac_ext
111597 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111598 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111599 if test `eval echo '${'$as_ac_var'}'` = yes; then
111600 cat >>confdefs.h <<_ACEOF
111601 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111602 _ACEOF
111605 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
111611 for ac_func in __signbit
111613 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111614 echo "$as_me:$LINENO: checking for $ac_func" >&5
111615 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111616 if eval "test \"\${$as_ac_var+set}\" = set"; then
111617 echo $ECHO_N "(cached) $ECHO_C" >&6
111619 if test x$gcc_no_link = xyes; then
111620 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111621 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111622 { (exit 1); exit 1; }; }
111624 cat >conftest.$ac_ext <<_ACEOF
111625 /* confdefs.h. */
111626 _ACEOF
111627 cat confdefs.h >>conftest.$ac_ext
111628 cat >>conftest.$ac_ext <<_ACEOF
111629 /* end confdefs.h. */
111630 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111631 For example, HP-UX 11i <limits.h> declares gettimeofday. */
111632 #define $ac_func innocuous_$ac_func
111634 /* System header to define __stub macros and hopefully few prototypes,
111635 which can conflict with char $ac_func (); below.
111636 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111637 <limits.h> exists even on freestanding compilers. */
111639 #ifdef __STDC__
111640 # include <limits.h>
111641 #else
111642 # include <assert.h>
111643 #endif
111645 #undef $ac_func
111647 /* Override any gcc2 internal prototype to avoid an error. */
111648 #ifdef __cplusplus
111649 extern "C"
111651 #endif
111652 /* We use char because int might match the return type of a gcc2
111653 builtin and then its argument prototype would still apply. */
111654 char $ac_func ();
111655 /* The GNU C library defines this for functions which it implements
111656 to always fail with ENOSYS. Some functions are actually named
111657 something starting with __ and the normal name is an alias. */
111658 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111659 choke me
111660 #else
111661 char (*f) () = $ac_func;
111662 #endif
111663 #ifdef __cplusplus
111665 #endif
111668 main ()
111670 return f != $ac_func;
111672 return 0;
111674 _ACEOF
111675 rm -f conftest.$ac_objext conftest$ac_exeext
111676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111677 (eval $ac_link) 2>conftest.er1
111678 ac_status=$?
111679 grep -v '^ *+' conftest.er1 >conftest.err
111680 rm -f conftest.er1
111681 cat conftest.err >&5
111682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111683 (exit $ac_status); } &&
111684 { ac_try='test -z "$ac_c_werror_flag"
111685 || test ! -s conftest.err'
111686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111687 (eval $ac_try) 2>&5
111688 ac_status=$?
111689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111690 (exit $ac_status); }; } &&
111691 { ac_try='test -s conftest$ac_exeext'
111692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111693 (eval $ac_try) 2>&5
111694 ac_status=$?
111695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111696 (exit $ac_status); }; }; then
111697 eval "$as_ac_var=yes"
111699 echo "$as_me: failed program was:" >&5
111700 sed 's/^/| /' conftest.$ac_ext >&5
111702 eval "$as_ac_var=no"
111704 rm -f conftest.err conftest.$ac_objext \
111705 conftest$ac_exeext conftest.$ac_ext
111707 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111708 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111709 if test `eval echo '${'$as_ac_var'}'` = yes; then
111710 cat >>confdefs.h <<_ACEOF
111711 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111712 _ACEOF
111715 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
111721 for ac_func in __signbitf
111723 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111724 echo "$as_me:$LINENO: checking for $ac_func" >&5
111725 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111726 if eval "test \"\${$as_ac_var+set}\" = set"; then
111727 echo $ECHO_N "(cached) $ECHO_C" >&6
111729 if test x$gcc_no_link = xyes; then
111730 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111731 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111732 { (exit 1); exit 1; }; }
111734 cat >conftest.$ac_ext <<_ACEOF
111735 /* confdefs.h. */
111736 _ACEOF
111737 cat confdefs.h >>conftest.$ac_ext
111738 cat >>conftest.$ac_ext <<_ACEOF
111739 /* end confdefs.h. */
111740 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111741 For example, HP-UX 11i <limits.h> declares gettimeofday. */
111742 #define $ac_func innocuous_$ac_func
111744 /* System header to define __stub macros and hopefully few prototypes,
111745 which can conflict with char $ac_func (); below.
111746 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111747 <limits.h> exists even on freestanding compilers. */
111749 #ifdef __STDC__
111750 # include <limits.h>
111751 #else
111752 # include <assert.h>
111753 #endif
111755 #undef $ac_func
111757 /* Override any gcc2 internal prototype to avoid an error. */
111758 #ifdef __cplusplus
111759 extern "C"
111761 #endif
111762 /* We use char because int might match the return type of a gcc2
111763 builtin and then its argument prototype would still apply. */
111764 char $ac_func ();
111765 /* The GNU C library defines this for functions which it implements
111766 to always fail with ENOSYS. Some functions are actually named
111767 something starting with __ and the normal name is an alias. */
111768 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111769 choke me
111770 #else
111771 char (*f) () = $ac_func;
111772 #endif
111773 #ifdef __cplusplus
111775 #endif
111778 main ()
111780 return f != $ac_func;
111782 return 0;
111784 _ACEOF
111785 rm -f conftest.$ac_objext conftest$ac_exeext
111786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111787 (eval $ac_link) 2>conftest.er1
111788 ac_status=$?
111789 grep -v '^ *+' conftest.er1 >conftest.err
111790 rm -f conftest.er1
111791 cat conftest.err >&5
111792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111793 (exit $ac_status); } &&
111794 { ac_try='test -z "$ac_c_werror_flag"
111795 || test ! -s conftest.err'
111796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111797 (eval $ac_try) 2>&5
111798 ac_status=$?
111799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111800 (exit $ac_status); }; } &&
111801 { ac_try='test -s conftest$ac_exeext'
111802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111803 (eval $ac_try) 2>&5
111804 ac_status=$?
111805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111806 (exit $ac_status); }; }; then
111807 eval "$as_ac_var=yes"
111809 echo "$as_me: failed program was:" >&5
111810 sed 's/^/| /' conftest.$ac_ext >&5
111812 eval "$as_ac_var=no"
111814 rm -f conftest.err conftest.$ac_objext \
111815 conftest$ac_exeext conftest.$ac_ext
111817 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111818 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111819 if test `eval echo '${'$as_ac_var'}'` = yes; then
111820 cat >>confdefs.h <<_ACEOF
111821 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111822 _ACEOF
111825 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
111830 if test x$ac_cv_func_copysignl = x"yes"; then
111832 for ac_func in __signbitl
111834 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111835 echo "$as_me:$LINENO: checking for $ac_func" >&5
111836 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111837 if eval "test \"\${$as_ac_var+set}\" = set"; then
111838 echo $ECHO_N "(cached) $ECHO_C" >&6
111840 if test x$gcc_no_link = xyes; then
111841 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111842 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111843 { (exit 1); exit 1; }; }
111845 cat >conftest.$ac_ext <<_ACEOF
111846 /* confdefs.h. */
111847 _ACEOF
111848 cat confdefs.h >>conftest.$ac_ext
111849 cat >>conftest.$ac_ext <<_ACEOF
111850 /* end confdefs.h. */
111851 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111852 For example, HP-UX 11i <limits.h> declares gettimeofday. */
111853 #define $ac_func innocuous_$ac_func
111855 /* System header to define __stub macros and hopefully few prototypes,
111856 which can conflict with char $ac_func (); below.
111857 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111858 <limits.h> exists even on freestanding compilers. */
111860 #ifdef __STDC__
111861 # include <limits.h>
111862 #else
111863 # include <assert.h>
111864 #endif
111866 #undef $ac_func
111868 /* Override any gcc2 internal prototype to avoid an error. */
111869 #ifdef __cplusplus
111870 extern "C"
111872 #endif
111873 /* We use char because int might match the return type of a gcc2
111874 builtin and then its argument prototype would still apply. */
111875 char $ac_func ();
111876 /* The GNU C library defines this for functions which it implements
111877 to always fail with ENOSYS. Some functions are actually named
111878 something starting with __ and the normal name is an alias. */
111879 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111880 choke me
111881 #else
111882 char (*f) () = $ac_func;
111883 #endif
111884 #ifdef __cplusplus
111886 #endif
111889 main ()
111891 return f != $ac_func;
111893 return 0;
111895 _ACEOF
111896 rm -f conftest.$ac_objext conftest$ac_exeext
111897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111898 (eval $ac_link) 2>conftest.er1
111899 ac_status=$?
111900 grep -v '^ *+' conftest.er1 >conftest.err
111901 rm -f conftest.er1
111902 cat conftest.err >&5
111903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111904 (exit $ac_status); } &&
111905 { ac_try='test -z "$ac_c_werror_flag"
111906 || test ! -s conftest.err'
111907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111908 (eval $ac_try) 2>&5
111909 ac_status=$?
111910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111911 (exit $ac_status); }; } &&
111912 { ac_try='test -s conftest$ac_exeext'
111913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111914 (eval $ac_try) 2>&5
111915 ac_status=$?
111916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111917 (exit $ac_status); }; }; then
111918 eval "$as_ac_var=yes"
111920 echo "$as_me: failed program was:" >&5
111921 sed 's/^/| /' conftest.$ac_ext >&5
111923 eval "$as_ac_var=no"
111925 rm -f conftest.err conftest.$ac_objext \
111926 conftest$ac_exeext conftest.$ac_ext
111928 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111929 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111930 if test `eval echo '${'$as_ac_var'}'` = yes; then
111931 cat >>confdefs.h <<_ACEOF
111932 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111933 _ACEOF
111936 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
111942 # Used in libmath/Makefile.am.
111943 if test -n "$LIBMATHOBJS"; then
111944 need_libmath=yes
111948 cat >>confdefs.h <<\_ACEOF
111949 #define HAVE_COSF 1
111950 _ACEOF
111952 cat >>confdefs.h <<\_ACEOF
111953 #define HAVE_COSL 1
111954 _ACEOF
111956 cat >>confdefs.h <<\_ACEOF
111957 #define HAVE_COSHF 1
111958 _ACEOF
111960 cat >>confdefs.h <<\_ACEOF
111961 #define HAVE_COSHL 1
111962 _ACEOF
111964 cat >>confdefs.h <<\_ACEOF
111965 #define HAVE_LOGF 1
111966 _ACEOF
111968 cat >>confdefs.h <<\_ACEOF
111969 #define HAVE_LOGL 1
111970 _ACEOF
111972 cat >>confdefs.h <<\_ACEOF
111973 #define HAVE_LOG10F 1
111974 _ACEOF
111976 cat >>confdefs.h <<\_ACEOF
111977 #define HAVE_LOG10L 1
111978 _ACEOF
111980 cat >>confdefs.h <<\_ACEOF
111981 #define HAVE_SINF 1
111982 _ACEOF
111984 cat >>confdefs.h <<\_ACEOF
111985 #define HAVE_SINL 1
111986 _ACEOF
111988 cat >>confdefs.h <<\_ACEOF
111989 #define HAVE_SINHF 1
111990 _ACEOF
111992 cat >>confdefs.h <<\_ACEOF
111993 #define HAVE_SINHL 1
111994 _ACEOF
111997 *-solaris*)
111998 case "$target" in
111999 # *-solaris2.5)
112000 # os_include_dir="os/solaris/solaris2.5"
112002 # *-solaris2.6)
112003 # os_include_dir="os/solaris/solaris2.6"
112005 *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
112007 # If we're not using GNU ld, then there's no point in even trying these
112008 # tests. Check for that first. We should have already tested for gld
112009 # by now (in libtool), but require it now just to be safe...
112010 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
112011 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
112015 # The name set by libtool depends on the version of libtool. Shame on us
112016 # for depending on an impl detail, but c'est la vie. Older versions used
112017 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
112018 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
112019 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
112020 # set (hence we're using an older libtool), then set it.
112021 if test x${with_gnu_ld+set} != xset; then
112022 if test x${ac_cv_prog_gnu_ld+set} != xset; then
112023 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
112024 with_gnu_ld=no
112026 with_gnu_ld=$ac_cv_prog_gnu_ld
112030 # Start by getting the version number. I think the libtool test already
112031 # does some of this, but throws away the result.
112032 if test x"$with_gnu_ld" = x"yes"; then
112033 echo "$as_me:$LINENO: checking for ld version" >&5
112034 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
112036 ldver=`$LD --version 2>/dev/null | head -1 | \
112037 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
112039 glibcxx_gnu_ld_version=`echo $ldver | \
112040 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
112041 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
112042 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
112045 # Set --gc-sections.
112046 glibcxx_gcsections_min_ld=21602
112047 if test x"$with_gnu_ld" = x"yes" &&
112048 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
112050 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
112051 # NB: This flag only works reliably after 2.16.1. Configure tests
112052 # for this are difficult, so hard wire a value that should work.
112054 ac_test_CFLAGS="${CFLAGS+set}"
112055 ac_save_CFLAGS="$CFLAGS"
112056 CFLAGS='-Wl,--gc-sections'
112058 # Check for -Wl,--gc-sections
112059 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
112060 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
112061 if test x$gcc_no_link = xyes; then
112062 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112063 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112064 { (exit 1); exit 1; }; }
112066 cat >conftest.$ac_ext <<_ACEOF
112067 /* confdefs.h. */
112068 _ACEOF
112069 cat confdefs.h >>conftest.$ac_ext
112070 cat >>conftest.$ac_ext <<_ACEOF
112071 /* end confdefs.h. */
112072 int one(void) { return 1; }
112073 int two(void) { return 2; }
112076 main ()
112078 two();
112080 return 0;
112082 _ACEOF
112083 rm -f conftest.$ac_objext conftest$ac_exeext
112084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112085 (eval $ac_link) 2>conftest.er1
112086 ac_status=$?
112087 grep -v '^ *+' conftest.er1 >conftest.err
112088 rm -f conftest.er1
112089 cat conftest.err >&5
112090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112091 (exit $ac_status); } &&
112092 { ac_try='test -z "$ac_c_werror_flag"
112093 || test ! -s conftest.err'
112094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112095 (eval $ac_try) 2>&5
112096 ac_status=$?
112097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112098 (exit $ac_status); }; } &&
112099 { ac_try='test -s conftest$ac_exeext'
112100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112101 (eval $ac_try) 2>&5
112102 ac_status=$?
112103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112104 (exit $ac_status); }; }; then
112105 ac_gcsections=yes
112107 echo "$as_me: failed program was:" >&5
112108 sed 's/^/| /' conftest.$ac_ext >&5
112110 ac_gcsections=no
112112 rm -f conftest.err conftest.$ac_objext \
112113 conftest$ac_exeext conftest.$ac_ext
112114 if test "$ac_gcsections" = "yes"; then
112115 rm -f conftest.c
112116 touch conftest.c
112117 if $CC -c conftest.c; then
112118 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
112119 grep "Warning: gc-sections option ignored" > /dev/null; then
112120 ac_gcsections=no
112123 rm -f conftest.c conftest.o conftest
112125 if test "$ac_gcsections" = "yes"; then
112126 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
112128 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
112129 echo "${ECHO_T}$ac_gcsections" >&6
112131 if test "$ac_test_CFLAGS" = set; then
112132 CFLAGS="$ac_save_CFLAGS"
112134 # this is the suspicious part
112135 CFLAGS=''
112139 # Set -z,relro.
112140 # Note this is only for shared objects.
112141 ac_ld_relro=no
112142 if test x"$with_gnu_ld" = x"yes"; then
112143 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
112144 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
112145 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
112146 if test -n "$cxx_z_relo"; then
112147 OPT_LDFLAGS="-Wl,-z,relro"
112148 ac_ld_relro=yes
112150 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
112151 echo "${ECHO_T}$ac_ld_relro" >&6
112154 # Set linker optimization flags.
112155 if test x"$with_gnu_ld" = x"yes"; then
112156 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
112162 cat >>confdefs.h <<\_ACEOF
112163 #define HAVE_GETPAGESIZE 1
112164 _ACEOF
112166 cat >>confdefs.h <<\_ACEOF
112167 #define HAVE_SIGSETJMP 1
112168 _ACEOF
112170 cat >>confdefs.h <<\_ACEOF
112171 #define HAVE_MBSTATE_T 1
112172 _ACEOF
112174 cat >>confdefs.h <<\_ACEOF
112175 #define HAVE_POLL 1
112176 _ACEOF
112178 cat >>confdefs.h <<\_ACEOF
112179 #define HAVE_S_ISREG 1
112180 _ACEOF
112182 cat >>confdefs.h <<\_ACEOF
112183 #define HAVE_LC_MESSAGES 1
112184 _ACEOF
112186 cat >>confdefs.h <<\_ACEOF
112187 #define HAVE_FINITE 1
112188 _ACEOF
112190 cat >>confdefs.h <<\_ACEOF
112191 #define HAVE_FPCLASS 1
112192 _ACEOF
112194 cat >>confdefs.h <<\_ACEOF
112195 #define HAVE_GETPAGESIZE 1
112196 _ACEOF
112198 # All of the dependencies for wide character support are here, so
112199 # turn it on.
112200 cat >>confdefs.h <<\_ACEOF
112201 #define _GLIBCXX_USE_WCHAR_T 1
112202 _ACEOF
112204 # Are these tested for even when cross?
112205 cat >>confdefs.h <<\_ACEOF
112206 #define HAVE_FLOAT_H 1
112207 _ACEOF
112209 cat >>confdefs.h <<\_ACEOF
112210 #define HAVE_IEEEFP_H 1
112211 _ACEOF
112213 cat >>confdefs.h <<\_ACEOF
112214 #define HAVE_INTTYPES_H 1
112215 _ACEOF
112217 cat >>confdefs.h <<\_ACEOF
112218 #define HAVE_LOCALE_H 1
112219 _ACEOF
112221 cat >>confdefs.h <<\_ACEOF
112222 #define HAVE_NAN_H 1
112223 _ACEOF
112225 cat >>confdefs.h <<\_ACEOF
112226 #define HAVE_SYS_FILIO_H 1
112227 _ACEOF
112229 cat >>confdefs.h <<\_ACEOF
112230 #define HAVE_SYS_IOCTL_H 1
112231 _ACEOF
112233 cat >>confdefs.h <<\_ACEOF
112234 #define HAVE_SYS_ISA_DEFS_H 1
112235 _ACEOF
112237 cat >>confdefs.h <<\_ACEOF
112238 #define HAVE_SYS_RESOURCE_H 1
112239 _ACEOF
112241 cat >>confdefs.h <<\_ACEOF
112242 #define HAVE_SYS_TIME_H 1
112243 _ACEOF
112245 cat >>confdefs.h <<\_ACEOF
112246 #define HAVE_SYS_TYPES_H 1
112247 _ACEOF
112249 cat >>confdefs.h <<\_ACEOF
112250 #define HAVE_UNISTD_H 1
112251 _ACEOF
112253 cat >>confdefs.h <<\_ACEOF
112254 #define HAVE_WCHAR_H 1
112255 _ACEOF
112257 cat >>confdefs.h <<\_ACEOF
112258 #define HAVE_WCTYPE_H 1
112259 _ACEOF
112261 cat >>confdefs.h <<\_ACEOF
112262 #define HAVE_LIBM 1
112263 _ACEOF
112267 case "$target" in
112268 sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
112269 # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
112270 cat >>confdefs.h <<\_ACEOF
112271 #define HAVE___BUILTIN_ABS 1
112272 _ACEOF
112274 cat >>confdefs.h <<\_ACEOF
112275 #define HAVE___BUILTIN_LABS 1
112276 _ACEOF
112278 cat >>confdefs.h <<\_ACEOF
112279 #define HAVE___BUILTIN_FABS 1
112280 _ACEOF
112282 cat >>confdefs.h <<\_ACEOF
112283 #define HAVE___BUILTIN_FABSF 1
112284 _ACEOF
112286 cat >>confdefs.h <<\_ACEOF
112287 #define HAVE___BUILTIN_FABSL 1
112288 _ACEOF
112290 cat >>confdefs.h <<\_ACEOF
112291 #define HAVE___BUILTIN_COS 1
112292 _ACEOF
112294 cat >>confdefs.h <<\_ACEOF
112295 #define HAVE___BUILTIN_COSF 1
112296 _ACEOF
112298 cat >>confdefs.h <<\_ACEOF
112299 #define HAVE___BUILTIN_SIN 1
112300 _ACEOF
112302 cat >>confdefs.h <<\_ACEOF
112303 #define HAVE___BUILTIN_SINF 1
112304 _ACEOF
112308 case "$target" in
112309 *-*-solaris2.10)
112310 # These two C99 functions are present only in Solaris >= 10
112311 cat >>confdefs.h <<\_ACEOF
112312 #define HAVE_STRTOF 1
112313 _ACEOF
112315 cat >>confdefs.h <<\_ACEOF
112316 #define HAVE_STRTOLD 1
112317 _ACEOF
112321 cat >>confdefs.h <<\_ACEOF
112322 #define HAVE_MMAP 1
112323 _ACEOF
112325 cat >>confdefs.h <<\_ACEOF
112326 #define HAVE_COPYSIGN 1
112327 _ACEOF
112329 cat >>confdefs.h <<\_ACEOF
112330 #define HAVE_ISNAN 1
112331 _ACEOF
112333 cat >>confdefs.h <<\_ACEOF
112334 #define HAVE_ISNANF 1
112335 _ACEOF
112337 cat >>confdefs.h <<\_ACEOF
112338 #define HAVE_MODFF 1
112339 _ACEOF
112341 cat >>confdefs.h <<\_ACEOF
112342 #define HAVE_HYPOT 1
112343 _ACEOF
112346 *-tpf)
112355 for ac_header in nan.h endian.h machine/endian.h \
112356 sys/param.h sys/types.h locale.h float.h inttypes.h
112358 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
112359 if eval "test \"\${$as_ac_Header+set}\" = set"; then
112360 echo "$as_me:$LINENO: checking for $ac_header" >&5
112361 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
112362 if eval "test \"\${$as_ac_Header+set}\" = set"; then
112363 echo $ECHO_N "(cached) $ECHO_C" >&6
112365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
112366 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
112368 # Is the header compilable?
112369 echo "$as_me:$LINENO: checking $ac_header usability" >&5
112370 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
112371 cat >conftest.$ac_ext <<_ACEOF
112372 /* confdefs.h. */
112373 _ACEOF
112374 cat confdefs.h >>conftest.$ac_ext
112375 cat >>conftest.$ac_ext <<_ACEOF
112376 /* end confdefs.h. */
112377 $ac_includes_default
112378 #include <$ac_header>
112379 _ACEOF
112380 rm -f conftest.$ac_objext
112381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
112382 (eval $ac_compile) 2>conftest.er1
112383 ac_status=$?
112384 grep -v '^ *+' conftest.er1 >conftest.err
112385 rm -f conftest.er1
112386 cat conftest.err >&5
112387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112388 (exit $ac_status); } &&
112389 { ac_try='test -z "$ac_c_werror_flag"
112390 || test ! -s conftest.err'
112391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112392 (eval $ac_try) 2>&5
112393 ac_status=$?
112394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112395 (exit $ac_status); }; } &&
112396 { ac_try='test -s conftest.$ac_objext'
112397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112398 (eval $ac_try) 2>&5
112399 ac_status=$?
112400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112401 (exit $ac_status); }; }; then
112402 ac_header_compiler=yes
112404 echo "$as_me: failed program was:" >&5
112405 sed 's/^/| /' conftest.$ac_ext >&5
112407 ac_header_compiler=no
112409 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
112410 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
112411 echo "${ECHO_T}$ac_header_compiler" >&6
112413 # Is the header present?
112414 echo "$as_me:$LINENO: checking $ac_header presence" >&5
112415 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
112416 cat >conftest.$ac_ext <<_ACEOF
112417 /* confdefs.h. */
112418 _ACEOF
112419 cat confdefs.h >>conftest.$ac_ext
112420 cat >>conftest.$ac_ext <<_ACEOF
112421 /* end confdefs.h. */
112422 #include <$ac_header>
112423 _ACEOF
112424 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
112425 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
112426 ac_status=$?
112427 grep -v '^ *+' conftest.er1 >conftest.err
112428 rm -f conftest.er1
112429 cat conftest.err >&5
112430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112431 (exit $ac_status); } >/dev/null; then
112432 if test -s conftest.err; then
112433 ac_cpp_err=$ac_c_preproc_warn_flag
112434 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
112436 ac_cpp_err=
112439 ac_cpp_err=yes
112441 if test -z "$ac_cpp_err"; then
112442 ac_header_preproc=yes
112444 echo "$as_me: failed program was:" >&5
112445 sed 's/^/| /' conftest.$ac_ext >&5
112447 ac_header_preproc=no
112449 rm -f conftest.err conftest.$ac_ext
112450 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
112451 echo "${ECHO_T}$ac_header_preproc" >&6
112453 # So? What about this header?
112454 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
112455 yes:no: )
112456 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
112457 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
112458 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
112459 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
112460 ac_header_preproc=yes
112462 no:yes:* )
112463 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
112464 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
112465 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
112466 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
112467 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
112468 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
112469 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
112470 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
112471 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
112472 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
112473 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
112474 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
112476 cat <<\_ASBOX
112477 ## ----------------------------------------- ##
112478 ## Report this to the package-unused lists. ##
112479 ## ----------------------------------------- ##
112480 _ASBOX
112482 sed "s/^/$as_me: WARNING: /" >&2
112485 echo "$as_me:$LINENO: checking for $ac_header" >&5
112486 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
112487 if eval "test \"\${$as_ac_Header+set}\" = set"; then
112488 echo $ECHO_N "(cached) $ECHO_C" >&6
112490 eval "$as_ac_Header=\$ac_header_preproc"
112492 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
112493 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
112496 if test `eval echo '${'$as_ac_Header'}'` = yes; then
112497 cat >>confdefs.h <<_ACEOF
112498 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
112499 _ACEOF
112505 SECTION_FLAGS='-ffunction-sections -fdata-sections'
112508 # If we're not using GNU ld, then there's no point in even trying these
112509 # tests. Check for that first. We should have already tested for gld
112510 # by now (in libtool), but require it now just to be safe...
112511 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
112512 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
112516 # The name set by libtool depends on the version of libtool. Shame on us
112517 # for depending on an impl detail, but c'est la vie. Older versions used
112518 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
112519 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
112520 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
112521 # set (hence we're using an older libtool), then set it.
112522 if test x${with_gnu_ld+set} != xset; then
112523 if test x${ac_cv_prog_gnu_ld+set} != xset; then
112524 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
112525 with_gnu_ld=no
112527 with_gnu_ld=$ac_cv_prog_gnu_ld
112531 # Start by getting the version number. I think the libtool test already
112532 # does some of this, but throws away the result.
112533 if test x"$with_gnu_ld" = x"yes"; then
112534 echo "$as_me:$LINENO: checking for ld version" >&5
112535 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
112537 ldver=`$LD --version 2>/dev/null | head -1 | \
112538 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
112540 glibcxx_gnu_ld_version=`echo $ldver | \
112541 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
112542 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
112543 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
112546 # Set --gc-sections.
112547 glibcxx_gcsections_min_ld=21602
112548 if test x"$with_gnu_ld" = x"yes" &&
112549 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
112551 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
112552 # NB: This flag only works reliably after 2.16.1. Configure tests
112553 # for this are difficult, so hard wire a value that should work.
112555 ac_test_CFLAGS="${CFLAGS+set}"
112556 ac_save_CFLAGS="$CFLAGS"
112557 CFLAGS='-Wl,--gc-sections'
112559 # Check for -Wl,--gc-sections
112560 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
112561 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
112562 if test x$gcc_no_link = xyes; then
112563 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112564 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112565 { (exit 1); exit 1; }; }
112567 cat >conftest.$ac_ext <<_ACEOF
112568 /* confdefs.h. */
112569 _ACEOF
112570 cat confdefs.h >>conftest.$ac_ext
112571 cat >>conftest.$ac_ext <<_ACEOF
112572 /* end confdefs.h. */
112573 int one(void) { return 1; }
112574 int two(void) { return 2; }
112577 main ()
112579 two();
112581 return 0;
112583 _ACEOF
112584 rm -f conftest.$ac_objext conftest$ac_exeext
112585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112586 (eval $ac_link) 2>conftest.er1
112587 ac_status=$?
112588 grep -v '^ *+' conftest.er1 >conftest.err
112589 rm -f conftest.er1
112590 cat conftest.err >&5
112591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112592 (exit $ac_status); } &&
112593 { ac_try='test -z "$ac_c_werror_flag"
112594 || test ! -s conftest.err'
112595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112596 (eval $ac_try) 2>&5
112597 ac_status=$?
112598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112599 (exit $ac_status); }; } &&
112600 { ac_try='test -s conftest$ac_exeext'
112601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112602 (eval $ac_try) 2>&5
112603 ac_status=$?
112604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112605 (exit $ac_status); }; }; then
112606 ac_gcsections=yes
112608 echo "$as_me: failed program was:" >&5
112609 sed 's/^/| /' conftest.$ac_ext >&5
112611 ac_gcsections=no
112613 rm -f conftest.err conftest.$ac_objext \
112614 conftest$ac_exeext conftest.$ac_ext
112615 if test "$ac_gcsections" = "yes"; then
112616 rm -f conftest.c
112617 touch conftest.c
112618 if $CC -c conftest.c; then
112619 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
112620 grep "Warning: gc-sections option ignored" > /dev/null; then
112621 ac_gcsections=no
112624 rm -f conftest.c conftest.o conftest
112626 if test "$ac_gcsections" = "yes"; then
112627 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
112629 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
112630 echo "${ECHO_T}$ac_gcsections" >&6
112632 if test "$ac_test_CFLAGS" = set; then
112633 CFLAGS="$ac_save_CFLAGS"
112635 # this is the suspicious part
112636 CFLAGS=''
112640 # Set -z,relro.
112641 # Note this is only for shared objects.
112642 ac_ld_relro=no
112643 if test x"$with_gnu_ld" = x"yes"; then
112644 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
112645 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
112646 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
112647 if test -n "$cxx_z_relo"; then
112648 OPT_LDFLAGS="-Wl,-z,relro"
112649 ac_ld_relro=yes
112651 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
112652 echo "${ECHO_T}$ac_ld_relro" >&6
112655 # Set linker optimization flags.
112656 if test x"$with_gnu_ld" = x"yes"; then
112657 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
112665 echo "$as_me:$LINENO: checking for main in -lm" >&5
112666 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
112667 if test "${ac_cv_lib_m_main+set}" = set; then
112668 echo $ECHO_N "(cached) $ECHO_C" >&6
112670 ac_check_lib_save_LIBS=$LIBS
112671 LIBS="-lm $LIBS"
112672 if test x$gcc_no_link = xyes; then
112673 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112674 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112675 { (exit 1); exit 1; }; }
112677 cat >conftest.$ac_ext <<_ACEOF
112678 /* confdefs.h. */
112679 _ACEOF
112680 cat confdefs.h >>conftest.$ac_ext
112681 cat >>conftest.$ac_ext <<_ACEOF
112682 /* end confdefs.h. */
112686 main ()
112688 main ();
112690 return 0;
112692 _ACEOF
112693 rm -f conftest.$ac_objext conftest$ac_exeext
112694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112695 (eval $ac_link) 2>conftest.er1
112696 ac_status=$?
112697 grep -v '^ *+' conftest.er1 >conftest.err
112698 rm -f conftest.er1
112699 cat conftest.err >&5
112700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112701 (exit $ac_status); } &&
112702 { ac_try='test -z "$ac_c_werror_flag"
112703 || test ! -s conftest.err'
112704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112705 (eval $ac_try) 2>&5
112706 ac_status=$?
112707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112708 (exit $ac_status); }; } &&
112709 { ac_try='test -s conftest$ac_exeext'
112710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112711 (eval $ac_try) 2>&5
112712 ac_status=$?
112713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112714 (exit $ac_status); }; }; then
112715 ac_cv_lib_m_main=yes
112717 echo "$as_me: failed program was:" >&5
112718 sed 's/^/| /' conftest.$ac_ext >&5
112720 ac_cv_lib_m_main=no
112722 rm -f conftest.err conftest.$ac_objext \
112723 conftest$ac_exeext conftest.$ac_ext
112724 LIBS=$ac_check_lib_save_LIBS
112726 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
112727 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
112728 if test $ac_cv_lib_m_main = yes; then
112729 cat >>confdefs.h <<_ACEOF
112730 #define HAVE_LIBM 1
112731 _ACEOF
112733 LIBS="-lm $LIBS"
112738 for ac_func in copysignf
112740 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112741 echo "$as_me:$LINENO: checking for $ac_func" >&5
112742 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112743 if eval "test \"\${$as_ac_var+set}\" = set"; then
112744 echo $ECHO_N "(cached) $ECHO_C" >&6
112746 if test x$gcc_no_link = xyes; then
112747 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112748 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112749 { (exit 1); exit 1; }; }
112751 cat >conftest.$ac_ext <<_ACEOF
112752 /* confdefs.h. */
112753 _ACEOF
112754 cat confdefs.h >>conftest.$ac_ext
112755 cat >>conftest.$ac_ext <<_ACEOF
112756 /* end confdefs.h. */
112757 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112758 For example, HP-UX 11i <limits.h> declares gettimeofday. */
112759 #define $ac_func innocuous_$ac_func
112761 /* System header to define __stub macros and hopefully few prototypes,
112762 which can conflict with char $ac_func (); below.
112763 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112764 <limits.h> exists even on freestanding compilers. */
112766 #ifdef __STDC__
112767 # include <limits.h>
112768 #else
112769 # include <assert.h>
112770 #endif
112772 #undef $ac_func
112774 /* Override any gcc2 internal prototype to avoid an error. */
112775 #ifdef __cplusplus
112776 extern "C"
112778 #endif
112779 /* We use char because int might match the return type of a gcc2
112780 builtin and then its argument prototype would still apply. */
112781 char $ac_func ();
112782 /* The GNU C library defines this for functions which it implements
112783 to always fail with ENOSYS. Some functions are actually named
112784 something starting with __ and the normal name is an alias. */
112785 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112786 choke me
112787 #else
112788 char (*f) () = $ac_func;
112789 #endif
112790 #ifdef __cplusplus
112792 #endif
112795 main ()
112797 return f != $ac_func;
112799 return 0;
112801 _ACEOF
112802 rm -f conftest.$ac_objext conftest$ac_exeext
112803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112804 (eval $ac_link) 2>conftest.er1
112805 ac_status=$?
112806 grep -v '^ *+' conftest.er1 >conftest.err
112807 rm -f conftest.er1
112808 cat conftest.err >&5
112809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112810 (exit $ac_status); } &&
112811 { ac_try='test -z "$ac_c_werror_flag"
112812 || test ! -s conftest.err'
112813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112814 (eval $ac_try) 2>&5
112815 ac_status=$?
112816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112817 (exit $ac_status); }; } &&
112818 { ac_try='test -s conftest$ac_exeext'
112819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112820 (eval $ac_try) 2>&5
112821 ac_status=$?
112822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112823 (exit $ac_status); }; }; then
112824 eval "$as_ac_var=yes"
112826 echo "$as_me: failed program was:" >&5
112827 sed 's/^/| /' conftest.$ac_ext >&5
112829 eval "$as_ac_var=no"
112831 rm -f conftest.err conftest.$ac_objext \
112832 conftest$ac_exeext conftest.$ac_ext
112834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112835 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112836 if test `eval echo '${'$as_ac_var'}'` = yes; then
112837 cat >>confdefs.h <<_ACEOF
112838 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112839 _ACEOF
112842 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
112848 for ac_func in __signbit
112850 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112851 echo "$as_me:$LINENO: checking for $ac_func" >&5
112852 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112853 if eval "test \"\${$as_ac_var+set}\" = set"; then
112854 echo $ECHO_N "(cached) $ECHO_C" >&6
112856 if test x$gcc_no_link = xyes; then
112857 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112858 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112859 { (exit 1); exit 1; }; }
112861 cat >conftest.$ac_ext <<_ACEOF
112862 /* confdefs.h. */
112863 _ACEOF
112864 cat confdefs.h >>conftest.$ac_ext
112865 cat >>conftest.$ac_ext <<_ACEOF
112866 /* end confdefs.h. */
112867 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112868 For example, HP-UX 11i <limits.h> declares gettimeofday. */
112869 #define $ac_func innocuous_$ac_func
112871 /* System header to define __stub macros and hopefully few prototypes,
112872 which can conflict with char $ac_func (); below.
112873 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112874 <limits.h> exists even on freestanding compilers. */
112876 #ifdef __STDC__
112877 # include <limits.h>
112878 #else
112879 # include <assert.h>
112880 #endif
112882 #undef $ac_func
112884 /* Override any gcc2 internal prototype to avoid an error. */
112885 #ifdef __cplusplus
112886 extern "C"
112888 #endif
112889 /* We use char because int might match the return type of a gcc2
112890 builtin and then its argument prototype would still apply. */
112891 char $ac_func ();
112892 /* The GNU C library defines this for functions which it implements
112893 to always fail with ENOSYS. Some functions are actually named
112894 something starting with __ and the normal name is an alias. */
112895 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112896 choke me
112897 #else
112898 char (*f) () = $ac_func;
112899 #endif
112900 #ifdef __cplusplus
112902 #endif
112905 main ()
112907 return f != $ac_func;
112909 return 0;
112911 _ACEOF
112912 rm -f conftest.$ac_objext conftest$ac_exeext
112913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112914 (eval $ac_link) 2>conftest.er1
112915 ac_status=$?
112916 grep -v '^ *+' conftest.er1 >conftest.err
112917 rm -f conftest.er1
112918 cat conftest.err >&5
112919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112920 (exit $ac_status); } &&
112921 { ac_try='test -z "$ac_c_werror_flag"
112922 || test ! -s conftest.err'
112923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112924 (eval $ac_try) 2>&5
112925 ac_status=$?
112926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112927 (exit $ac_status); }; } &&
112928 { ac_try='test -s conftest$ac_exeext'
112929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112930 (eval $ac_try) 2>&5
112931 ac_status=$?
112932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112933 (exit $ac_status); }; }; then
112934 eval "$as_ac_var=yes"
112936 echo "$as_me: failed program was:" >&5
112937 sed 's/^/| /' conftest.$ac_ext >&5
112939 eval "$as_ac_var=no"
112941 rm -f conftest.err conftest.$ac_objext \
112942 conftest$ac_exeext conftest.$ac_ext
112944 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112945 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112946 if test `eval echo '${'$as_ac_var'}'` = yes; then
112947 cat >>confdefs.h <<_ACEOF
112948 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112949 _ACEOF
112952 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
112958 for ac_func in __signbitf
112960 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112961 echo "$as_me:$LINENO: checking for $ac_func" >&5
112962 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112963 if eval "test \"\${$as_ac_var+set}\" = set"; then
112964 echo $ECHO_N "(cached) $ECHO_C" >&6
112966 if test x$gcc_no_link = xyes; then
112967 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112968 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112969 { (exit 1); exit 1; }; }
112971 cat >conftest.$ac_ext <<_ACEOF
112972 /* confdefs.h. */
112973 _ACEOF
112974 cat confdefs.h >>conftest.$ac_ext
112975 cat >>conftest.$ac_ext <<_ACEOF
112976 /* end confdefs.h. */
112977 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112978 For example, HP-UX 11i <limits.h> declares gettimeofday. */
112979 #define $ac_func innocuous_$ac_func
112981 /* System header to define __stub macros and hopefully few prototypes,
112982 which can conflict with char $ac_func (); below.
112983 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112984 <limits.h> exists even on freestanding compilers. */
112986 #ifdef __STDC__
112987 # include <limits.h>
112988 #else
112989 # include <assert.h>
112990 #endif
112992 #undef $ac_func
112994 /* Override any gcc2 internal prototype to avoid an error. */
112995 #ifdef __cplusplus
112996 extern "C"
112998 #endif
112999 /* We use char because int might match the return type of a gcc2
113000 builtin and then its argument prototype would still apply. */
113001 char $ac_func ();
113002 /* The GNU C library defines this for functions which it implements
113003 to always fail with ENOSYS. Some functions are actually named
113004 something starting with __ and the normal name is an alias. */
113005 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113006 choke me
113007 #else
113008 char (*f) () = $ac_func;
113009 #endif
113010 #ifdef __cplusplus
113012 #endif
113015 main ()
113017 return f != $ac_func;
113019 return 0;
113021 _ACEOF
113022 rm -f conftest.$ac_objext conftest$ac_exeext
113023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113024 (eval $ac_link) 2>conftest.er1
113025 ac_status=$?
113026 grep -v '^ *+' conftest.er1 >conftest.err
113027 rm -f conftest.er1
113028 cat conftest.err >&5
113029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113030 (exit $ac_status); } &&
113031 { ac_try='test -z "$ac_c_werror_flag"
113032 || test ! -s conftest.err'
113033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113034 (eval $ac_try) 2>&5
113035 ac_status=$?
113036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113037 (exit $ac_status); }; } &&
113038 { ac_try='test -s conftest$ac_exeext'
113039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113040 (eval $ac_try) 2>&5
113041 ac_status=$?
113042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113043 (exit $ac_status); }; }; then
113044 eval "$as_ac_var=yes"
113046 echo "$as_me: failed program was:" >&5
113047 sed 's/^/| /' conftest.$ac_ext >&5
113049 eval "$as_ac_var=no"
113051 rm -f conftest.err conftest.$ac_objext \
113052 conftest$ac_exeext conftest.$ac_ext
113054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113055 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113056 if test `eval echo '${'$as_ac_var'}'` = yes; then
113057 cat >>confdefs.h <<_ACEOF
113058 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113059 _ACEOF
113062 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
113067 if test x$ac_cv_func_copysignl = x"yes"; then
113069 for ac_func in __signbitl
113071 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113072 echo "$as_me:$LINENO: checking for $ac_func" >&5
113073 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113074 if eval "test \"\${$as_ac_var+set}\" = set"; then
113075 echo $ECHO_N "(cached) $ECHO_C" >&6
113077 if test x$gcc_no_link = xyes; then
113078 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113079 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113080 { (exit 1); exit 1; }; }
113082 cat >conftest.$ac_ext <<_ACEOF
113083 /* confdefs.h. */
113084 _ACEOF
113085 cat confdefs.h >>conftest.$ac_ext
113086 cat >>conftest.$ac_ext <<_ACEOF
113087 /* end confdefs.h. */
113088 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113089 For example, HP-UX 11i <limits.h> declares gettimeofday. */
113090 #define $ac_func innocuous_$ac_func
113092 /* System header to define __stub macros and hopefully few prototypes,
113093 which can conflict with char $ac_func (); below.
113094 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113095 <limits.h> exists even on freestanding compilers. */
113097 #ifdef __STDC__
113098 # include <limits.h>
113099 #else
113100 # include <assert.h>
113101 #endif
113103 #undef $ac_func
113105 /* Override any gcc2 internal prototype to avoid an error. */
113106 #ifdef __cplusplus
113107 extern "C"
113109 #endif
113110 /* We use char because int might match the return type of a gcc2
113111 builtin and then its argument prototype would still apply. */
113112 char $ac_func ();
113113 /* The GNU C library defines this for functions which it implements
113114 to always fail with ENOSYS. Some functions are actually named
113115 something starting with __ and the normal name is an alias. */
113116 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113117 choke me
113118 #else
113119 char (*f) () = $ac_func;
113120 #endif
113121 #ifdef __cplusplus
113123 #endif
113126 main ()
113128 return f != $ac_func;
113130 return 0;
113132 _ACEOF
113133 rm -f conftest.$ac_objext conftest$ac_exeext
113134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113135 (eval $ac_link) 2>conftest.er1
113136 ac_status=$?
113137 grep -v '^ *+' conftest.er1 >conftest.err
113138 rm -f conftest.er1
113139 cat conftest.err >&5
113140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113141 (exit $ac_status); } &&
113142 { ac_try='test -z "$ac_c_werror_flag"
113143 || test ! -s conftest.err'
113144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113145 (eval $ac_try) 2>&5
113146 ac_status=$?
113147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113148 (exit $ac_status); }; } &&
113149 { ac_try='test -s conftest$ac_exeext'
113150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113151 (eval $ac_try) 2>&5
113152 ac_status=$?
113153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113154 (exit $ac_status); }; }; then
113155 eval "$as_ac_var=yes"
113157 echo "$as_me: failed program was:" >&5
113158 sed 's/^/| /' conftest.$ac_ext >&5
113160 eval "$as_ac_var=no"
113162 rm -f conftest.err conftest.$ac_objext \
113163 conftest$ac_exeext conftest.$ac_ext
113165 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113166 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113167 if test `eval echo '${'$as_ac_var'}'` = yes; then
113168 cat >>confdefs.h <<_ACEOF
113169 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113170 _ACEOF
113173 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
113179 # Used in libmath/Makefile.am.
113180 if test -n "$LIBMATHOBJS"; then
113181 need_libmath=yes
113185 cat >>confdefs.h <<\_ACEOF
113186 #define HAVE_COPYSIGN 1
113187 _ACEOF
113189 cat >>confdefs.h <<\_ACEOF
113190 #define HAVE_COPYSIGNF 1
113191 _ACEOF
113193 cat >>confdefs.h <<\_ACEOF
113194 #define HAVE_FINITE 1
113195 _ACEOF
113197 cat >>confdefs.h <<\_ACEOF
113198 #define HAVE_FINITEF 1
113199 _ACEOF
113201 cat >>confdefs.h <<\_ACEOF
113202 #define HAVE_FREXPF 1
113203 _ACEOF
113205 cat >>confdefs.h <<\_ACEOF
113206 #define HAVE_HYPOTF 1
113207 _ACEOF
113209 cat >>confdefs.h <<\_ACEOF
113210 #define HAVE_ISINF 1
113211 _ACEOF
113213 cat >>confdefs.h <<\_ACEOF
113214 #define HAVE_ISINFF 1
113215 _ACEOF
113217 cat >>confdefs.h <<\_ACEOF
113218 #define HAVE_ISNAN 1
113219 _ACEOF
113221 cat >>confdefs.h <<\_ACEOF
113222 #define HAVE_ISNANF 1
113223 _ACEOF
113225 cat >>confdefs.h <<\_ACEOF
113226 #define HAVE_SINCOS 1
113227 _ACEOF
113229 cat >>confdefs.h <<\_ACEOF
113230 #define HAVE_SINCOSF 1
113231 _ACEOF
113233 if test x"long_double_math_on_this_cpu" = x"yes"; then
113234 cat >>confdefs.h <<\_ACEOF
113235 #define HAVE_FINITEL 1
113236 _ACEOF
113238 cat >>confdefs.h <<\_ACEOF
113239 #define HAVE_HYPOTL 1
113240 _ACEOF
113242 cat >>confdefs.h <<\_ACEOF
113243 #define HAVE_ISINFL 1
113244 _ACEOF
113246 cat >>confdefs.h <<\_ACEOF
113247 #define HAVE_ISNANL 1
113248 _ACEOF
113252 *-vxworks)
113253 cat >>confdefs.h <<\_ACEOF
113254 #define HAVE_MMAP 1
113255 _ACEOF
113257 cat >>confdefs.h <<\_ACEOF
113258 #define HAVE_ACOSF 1
113259 _ACEOF
113261 cat >>confdefs.h <<\_ACEOF
113262 #define HAVE_ASINF 1
113263 _ACEOF
113265 cat >>confdefs.h <<\_ACEOF
113266 #define HAVE_ATAN2F 1
113267 _ACEOF
113269 cat >>confdefs.h <<\_ACEOF
113270 #define HAVE_ATANF 1
113271 _ACEOF
113273 cat >>confdefs.h <<\_ACEOF
113274 #define HAVE_CEILF 1
113275 _ACEOF
113277 cat >>confdefs.h <<\_ACEOF
113278 #define HAVE_COSF 1
113279 _ACEOF
113281 cat >>confdefs.h <<\_ACEOF
113282 #define HAVE_COSHF 1
113283 _ACEOF
113285 cat >>confdefs.h <<\_ACEOF
113286 #define HAVE_EXPF 1
113287 _ACEOF
113289 cat >>confdefs.h <<\_ACEOF
113290 #define HAVE_FABSF 1
113291 _ACEOF
113293 cat >>confdefs.h <<\_ACEOF
113294 #define HAVE_FLOORF 1
113295 _ACEOF
113297 cat >>confdefs.h <<\_ACEOF
113298 #define HAVE_FMODF 1
113299 _ACEOF
113301 cat >>confdefs.h <<\_ACEOF
113302 #define HAVE_HYPOT 1
113303 _ACEOF
113305 cat >>confdefs.h <<\_ACEOF
113306 #define HAVE_LOG10F 1
113307 _ACEOF
113309 cat >>confdefs.h <<\_ACEOF
113310 #define HAVE_LOGF 1
113311 _ACEOF
113313 cat >>confdefs.h <<\_ACEOF
113314 #define HAVE_POWF 1
113315 _ACEOF
113317 cat >>confdefs.h <<\_ACEOF
113318 #define HAVE_SINF 1
113319 _ACEOF
113321 cat >>confdefs.h <<\_ACEOF
113322 #define HAVE_SINHF 1
113323 _ACEOF
113325 cat >>confdefs.h <<\_ACEOF
113326 #define HAVE_SQRTF 1
113327 _ACEOF
113329 cat >>confdefs.h <<\_ACEOF
113330 #define HAVE_TANF 1
113331 _ACEOF
113333 cat >>confdefs.h <<\_ACEOF
113334 #define HAVE_TANHF 1
113335 _ACEOF
113338 *-windiss*)
113339 cat >>confdefs.h <<\_ACEOF
113340 #define HAVE_ACOSF 1
113341 _ACEOF
113343 cat >>confdefs.h <<\_ACEOF
113344 #define HAVE_ACOSL 1
113345 _ACEOF
113347 cat >>confdefs.h <<\_ACEOF
113348 #define HAVE_ASINF 1
113349 _ACEOF
113351 cat >>confdefs.h <<\_ACEOF
113352 #define HAVE_ASINL 1
113353 _ACEOF
113355 cat >>confdefs.h <<\_ACEOF
113356 #define HAVE_ATAN2F 1
113357 _ACEOF
113359 cat >>confdefs.h <<\_ACEOF
113360 #define HAVE_ATAN2L 1
113361 _ACEOF
113363 cat >>confdefs.h <<\_ACEOF
113364 #define HAVE_ATANF 1
113365 _ACEOF
113367 cat >>confdefs.h <<\_ACEOF
113368 #define HAVE_ATANL 1
113369 _ACEOF
113371 cat >>confdefs.h <<\_ACEOF
113372 #define HAVE_CEILF 1
113373 _ACEOF
113375 cat >>confdefs.h <<\_ACEOF
113376 #define HAVE_CEILL 1
113377 _ACEOF
113379 cat >>confdefs.h <<\_ACEOF
113380 #define HAVE_COPYSIGN 1
113381 _ACEOF
113383 cat >>confdefs.h <<\_ACEOF
113384 #define HAVE_COPYSIGNF 1
113385 _ACEOF
113387 cat >>confdefs.h <<\_ACEOF
113388 #define HAVE_COSF 1
113389 _ACEOF
113391 cat >>confdefs.h <<\_ACEOF
113392 #define HAVE_COSL 1
113393 _ACEOF
113395 cat >>confdefs.h <<\_ACEOF
113396 #define HAVE_COSHF 1
113397 _ACEOF
113399 cat >>confdefs.h <<\_ACEOF
113400 #define HAVE_COSHL 1
113401 _ACEOF
113403 cat >>confdefs.h <<\_ACEOF
113404 #define HAVE_EXPF 1
113405 _ACEOF
113407 cat >>confdefs.h <<\_ACEOF
113408 #define HAVE_EXPL 1
113409 _ACEOF
113411 cat >>confdefs.h <<\_ACEOF
113412 #define HAVE_FABSF 1
113413 _ACEOF
113415 cat >>confdefs.h <<\_ACEOF
113416 #define HAVE_FABSL 1
113417 _ACEOF
113419 cat >>confdefs.h <<\_ACEOF
113420 #define HAVE_FLOORF 1
113421 _ACEOF
113423 cat >>confdefs.h <<\_ACEOF
113424 #define HAVE_FLOORL 1
113425 _ACEOF
113427 cat >>confdefs.h <<\_ACEOF
113428 #define HAVE_FMODF 1
113429 _ACEOF
113431 cat >>confdefs.h <<\_ACEOF
113432 #define HAVE_FMODL 1
113433 _ACEOF
113435 cat >>confdefs.h <<\_ACEOF
113436 #define HAVE_FREXPF 1
113437 _ACEOF
113439 cat >>confdefs.h <<\_ACEOF
113440 #define HAVE_FREXPL 1
113441 _ACEOF
113443 cat >>confdefs.h <<\_ACEOF
113444 #define HAVE_LDEXPF 1
113445 _ACEOF
113447 cat >>confdefs.h <<\_ACEOF
113448 #define HAVE_LDEXPL 1
113449 _ACEOF
113451 cat >>confdefs.h <<\_ACEOF
113452 #define HAVE_LOG10F 1
113453 _ACEOF
113455 cat >>confdefs.h <<\_ACEOF
113456 #define HAVE_LOG10L 1
113457 _ACEOF
113459 cat >>confdefs.h <<\_ACEOF
113460 #define HAVE_LOGF 1
113461 _ACEOF
113463 cat >>confdefs.h <<\_ACEOF
113464 #define HAVE_MODFF 1
113465 _ACEOF
113467 cat >>confdefs.h <<\_ACEOF
113468 #define HAVE_MODFL 1
113469 _ACEOF
113471 cat >>confdefs.h <<\_ACEOF
113472 #define HAVE_POWF 1
113473 _ACEOF
113475 cat >>confdefs.h <<\_ACEOF
113476 #define HAVE_POWL 1
113477 _ACEOF
113479 cat >>confdefs.h <<\_ACEOF
113480 #define HAVE_SINF 1
113481 _ACEOF
113483 cat >>confdefs.h <<\_ACEOF
113484 #define HAVE_SINL 1
113485 _ACEOF
113487 cat >>confdefs.h <<\_ACEOF
113488 #define HAVE_SINHF 1
113489 _ACEOF
113491 cat >>confdefs.h <<\_ACEOF
113492 #define HAVE_SINHL 1
113493 _ACEOF
113495 cat >>confdefs.h <<\_ACEOF
113496 #define HAVE_SQRTF 1
113497 _ACEOF
113499 cat >>confdefs.h <<\_ACEOF
113500 #define HAVE_SQRTL 1
113501 _ACEOF
113503 cat >>confdefs.h <<\_ACEOF
113504 #define HAVE_TANF 1
113505 _ACEOF
113507 cat >>confdefs.h <<\_ACEOF
113508 #define HAVE_TANL 1
113509 _ACEOF
113511 cat >>confdefs.h <<\_ACEOF
113512 #define HAVE_TANHF 1
113513 _ACEOF
113515 cat >>confdefs.h <<\_ACEOF
113516 #define HAVE_TANHL 1
113517 _ACEOF
113521 { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
113522 echo "$as_me: error: No support for this host/target combination." >&2;}
113523 { (exit 1); exit 1; }; }
113529 # At some point, we should differentiate between architectures
113530 # like x86, which have long double versions, and alpha/powerpc/etc.,
113531 # which don't. For the time being, punt.
113532 if test x"long_double_math_on_this_cpu" = x"yes"; then
113533 cat >>confdefs.h <<\_ACEOF
113534 #define HAVE_ACOSL 1
113535 _ACEOF
113537 cat >>confdefs.h <<\_ACEOF
113538 #define HAVE_ASINL 1
113539 _ACEOF
113541 cat >>confdefs.h <<\_ACEOF
113542 #define HAVE_ATAN2L 1
113543 _ACEOF
113545 cat >>confdefs.h <<\_ACEOF
113546 #define HAVE_ATANL 1
113547 _ACEOF
113549 cat >>confdefs.h <<\_ACEOF
113550 #define HAVE_CEILL 1
113551 _ACEOF
113553 cat >>confdefs.h <<\_ACEOF
113554 #define HAVE_COPYSIGNL 1
113555 _ACEOF
113557 cat >>confdefs.h <<\_ACEOF
113558 #define HAVE_COSL 1
113559 _ACEOF
113561 cat >>confdefs.h <<\_ACEOF
113562 #define HAVE_COSHL 1
113563 _ACEOF
113565 cat >>confdefs.h <<\_ACEOF
113566 #define HAVE_EXPL 1
113567 _ACEOF
113569 cat >>confdefs.h <<\_ACEOF
113570 #define HAVE_FABSL 1
113571 _ACEOF
113573 cat >>confdefs.h <<\_ACEOF
113574 #define HAVE_FLOORL 1
113575 _ACEOF
113577 cat >>confdefs.h <<\_ACEOF
113578 #define HAVE_FMODL 1
113579 _ACEOF
113581 cat >>confdefs.h <<\_ACEOF
113582 #define HAVE_FREXPL 1
113583 _ACEOF
113585 cat >>confdefs.h <<\_ACEOF
113586 #define HAVE_LDEXPL 1
113587 _ACEOF
113589 cat >>confdefs.h <<\_ACEOF
113590 #define HAVE_LOG10L 1
113591 _ACEOF
113593 cat >>confdefs.h <<\_ACEOF
113594 #define HAVE_LOGL 1
113595 _ACEOF
113597 cat >>confdefs.h <<\_ACEOF
113598 #define HAVE_MODFL 1
113599 _ACEOF
113601 cat >>confdefs.h <<\_ACEOF
113602 #define HAVE_POWL 1
113603 _ACEOF
113605 cat >>confdefs.h <<\_ACEOF
113606 #define HAVE_SINCOSL 1
113607 _ACEOF
113609 cat >>confdefs.h <<\_ACEOF
113610 #define HAVE_SINL 1
113611 _ACEOF
113613 cat >>confdefs.h <<\_ACEOF
113614 #define HAVE_SINHL 1
113615 _ACEOF
113617 cat >>confdefs.h <<\_ACEOF
113618 #define HAVE_SQRTL 1
113619 _ACEOF
113621 cat >>confdefs.h <<\_ACEOF
113622 #define HAVE_TANL 1
113623 _ACEOF
113625 cat >>confdefs.h <<\_ACEOF
113626 #define HAVE_TANHL 1
113627 _ACEOF
113631 # Assume we have _Unwind_GetIPInfo for cross-compiles.
113632 cat >>confdefs.h <<\_ACEOF
113633 #define HAVE_GETIPINFO 1
113634 _ACEOF
113639 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
113642 # Check whether --enable-symvers or --disable-symvers was given.
113643 if test "${enable_symvers+set}" = set; then
113644 enableval="$enable_symvers"
113646 case "$enableval" in
113647 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export) ;;
113648 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
113649 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
113650 { (exit 1); exit 1; }; } ;;
113654 enable_symvers=yes
113658 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
113659 # don't know enough about $LD to do tricks...
113662 # Turn a 'yes' into a suitable default.
113663 if test x$enable_symvers = xyes ; then
113664 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
113665 enable_symvers=no
113667 if test $with_gnu_ld = yes ; then
113668 enable_symvers=gnu
113670 case ${target_os} in
113671 darwin*)
113672 enable_symvers=darwin ;;
113674 enable_symvers=no ;;
113680 # Check to see if 'darwin' or 'darwin-export' can win.
113681 if test x$enable_symvers = xdarwin-export ; then
113682 enable_symvers=darwin
113685 # Check to see if 'gnu' can win.
113686 if test $enable_symvers = gnu || test $enable_symvers = gnu-versioned-namespace; then
113687 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
113688 echo "$as_me:$LINENO: checking for shared libgcc" >&5
113689 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
113690 ac_save_CFLAGS="$CFLAGS"
113691 CFLAGS=' -lgcc_s'
113692 if test x$gcc_no_link = xyes; then
113693 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113694 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113695 { (exit 1); exit 1; }; }
113697 cat >conftest.$ac_ext <<_ACEOF
113698 /* confdefs.h. */
113699 _ACEOF
113700 cat confdefs.h >>conftest.$ac_ext
113701 cat >>conftest.$ac_ext <<_ACEOF
113702 /* end confdefs.h. */
113705 main ()
113707 return 0;
113709 return 0;
113711 _ACEOF
113712 rm -f conftest.$ac_objext conftest$ac_exeext
113713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113714 (eval $ac_link) 2>conftest.er1
113715 ac_status=$?
113716 grep -v '^ *+' conftest.er1 >conftest.err
113717 rm -f conftest.er1
113718 cat conftest.err >&5
113719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113720 (exit $ac_status); } &&
113721 { ac_try='test -z "$ac_c_werror_flag"
113722 || test ! -s conftest.err'
113723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113724 (eval $ac_try) 2>&5
113725 ac_status=$?
113726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113727 (exit $ac_status); }; } &&
113728 { ac_try='test -s conftest$ac_exeext'
113729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113730 (eval $ac_try) 2>&5
113731 ac_status=$?
113732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113733 (exit $ac_status); }; }; then
113734 glibcxx_shared_libgcc=yes
113736 echo "$as_me: failed program was:" >&5
113737 sed 's/^/| /' conftest.$ac_ext >&5
113739 glibcxx_shared_libgcc=no
113741 rm -f conftest.err conftest.$ac_objext \
113742 conftest$ac_exeext conftest.$ac_ext
113743 CFLAGS="$ac_save_CFLAGS"
113744 if test $glibcxx_shared_libgcc = no; then
113745 cat > conftest.c <<EOF
113746 int main (void) { return 0; }
113748 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
113749 -shared -shared-libgcc -o conftest.so \
113750 conftest.c -v 2>&1 >/dev/null \
113751 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
113752 rm -f conftest.c conftest.so
113753 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
113754 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
113755 if test x$gcc_no_link = xyes; then
113756 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113757 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113758 { (exit 1); exit 1; }; }
113760 cat >conftest.$ac_ext <<_ACEOF
113761 /* confdefs.h. */
113762 _ACEOF
113763 cat confdefs.h >>conftest.$ac_ext
113764 cat >>conftest.$ac_ext <<_ACEOF
113765 /* end confdefs.h. */
113768 main ()
113770 return 0;
113772 return 0;
113774 _ACEOF
113775 rm -f conftest.$ac_objext conftest$ac_exeext
113776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113777 (eval $ac_link) 2>conftest.er1
113778 ac_status=$?
113779 grep -v '^ *+' conftest.er1 >conftest.err
113780 rm -f conftest.er1
113781 cat conftest.err >&5
113782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113783 (exit $ac_status); } &&
113784 { ac_try='test -z "$ac_c_werror_flag"
113785 || test ! -s conftest.err'
113786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113787 (eval $ac_try) 2>&5
113788 ac_status=$?
113789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113790 (exit $ac_status); }; } &&
113791 { ac_try='test -s conftest$ac_exeext'
113792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113793 (eval $ac_try) 2>&5
113794 ac_status=$?
113795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113796 (exit $ac_status); }; }; then
113797 glibcxx_shared_libgcc=yes
113799 echo "$as_me: failed program was:" >&5
113800 sed 's/^/| /' conftest.$ac_ext >&5
113803 rm -f conftest.err conftest.$ac_objext \
113804 conftest$ac_exeext conftest.$ac_ext
113805 CFLAGS="$ac_save_CFLAGS"
113808 echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
113809 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
113811 # For GNU ld, we need at least this version. The format is described in
113812 # GLIBCXX_CHECK_LINKER_FEATURES above.
113813 glibcxx_min_gnu_ld_version=21400
113815 # If no shared libgcc, can't win.
113816 if test $glibcxx_shared_libgcc != yes; then
113817 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
113818 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
113819 { echo "$as_me:$LINENO: WARNING: === you are not building a shared libgcc_s." >&5
113820 echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
113821 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
113822 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
113823 enable_symvers=no
113824 elif test $with_gnu_ld != yes ; then
113825 # just fail for now
113826 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
113827 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
113828 { echo "$as_me:$LINENO: WARNING: === you are not using the GNU linker." >&5
113829 echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
113830 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
113831 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
113832 enable_symvers=no
113833 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
113834 # The right tools, the right setup, but too old. Fallbacks?
113835 { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
113836 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
113837 { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
113838 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
113839 { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
113840 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
113841 { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
113842 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
113843 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
113844 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
113845 enable_symvers=no
113849 # Everything parsed; figure out what file to use.
113850 case $enable_symvers in
113852 SYMVER_FILE=config/abi/pre/none.ver
113855 SYMVER_FILE=config/abi/pre/gnu.ver
113857 cat >>confdefs.h <<\_ACEOF
113858 #define _GLIBCXX_SYMVER_GNU 1
113859 _ACEOF
113862 gnu-versioned-namespace)
113863 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
113865 cat >>confdefs.h <<\_ACEOF
113866 #define _GLIBCXX_SYMVER_GNU_NAMESPACE 1
113867 _ACEOF
113870 darwin)
113871 SYMVER_FILE=config/abi/pre/gnu.ver
113873 cat >>confdefs.h <<\_ACEOF
113874 #define _GLIBCXX_SYMVER_DARWIN 1
113875 _ACEOF
113880 if test x$enable_symvers != xno ; then
113882 cat >>confdefs.h <<\_ACEOF
113883 #define _GLIBCXX_SYMVER 1
113884 _ACEOF
113894 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
113895 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
113897 # Now, set up compatibility support, if any.
113898 # In addition, need this to deal with std::size_t mangling in
113899 # src/compatibility.cc. In a perfect world, could use
113900 # typeid(std::size_t).name()[0] to do direct substitution.
113901 echo "$as_me:$LINENO: checking for size_t as unsigned int" >&5
113902 echo $ECHO_N "checking for size_t as unsigned int... $ECHO_C" >&6
113903 ac_save_CFLAGS="$CFLAGS"
113904 CFLAGS="-Werror"
113905 cat >conftest.$ac_ext <<_ACEOF
113906 /* confdefs.h. */
113907 _ACEOF
113908 cat confdefs.h >>conftest.$ac_ext
113909 cat >>conftest.$ac_ext <<_ACEOF
113910 /* end confdefs.h. */
113913 main ()
113915 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
113917 return 0;
113919 _ACEOF
113920 rm -f conftest.$ac_objext
113921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
113922 (eval $ac_compile) 2>conftest.er1
113923 ac_status=$?
113924 grep -v '^ *+' conftest.er1 >conftest.err
113925 rm -f conftest.er1
113926 cat conftest.err >&5
113927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113928 (exit $ac_status); } &&
113929 { ac_try='test -z "$ac_c_werror_flag"
113930 || test ! -s conftest.err'
113931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113932 (eval $ac_try) 2>&5
113933 ac_status=$?
113934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113935 (exit $ac_status); }; } &&
113936 { ac_try='test -s conftest.$ac_objext'
113937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113938 (eval $ac_try) 2>&5
113939 ac_status=$?
113940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113941 (exit $ac_status); }; }; then
113942 glibcxx_size_t_is_i=yes
113944 echo "$as_me: failed program was:" >&5
113945 sed 's/^/| /' conftest.$ac_ext >&5
113947 glibcxx_size_t_is_i=no
113949 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
113950 CFLAGS=$ac_save_CFLAGS
113951 if test "$glibcxx_size_t_is_i" = yes; then
113953 cat >>confdefs.h <<\_ACEOF
113954 #define _GLIBCXX_SIZE_T_IS_UINT 1
113955 _ACEOF
113958 echo "$as_me:$LINENO: result: $glibcxx_size_t_is_i" >&5
113959 echo "${ECHO_T}$glibcxx_size_t_is_i" >&6
113961 echo "$as_me:$LINENO: checking for ptrdiff_t as int" >&5
113962 echo $ECHO_N "checking for ptrdiff_t as int... $ECHO_C" >&6
113963 ac_save_CFLAGS="$CFLAGS"
113964 CFLAGS="-Werror"
113965 cat >conftest.$ac_ext <<_ACEOF
113966 /* confdefs.h. */
113967 _ACEOF
113968 cat confdefs.h >>conftest.$ac_ext
113969 cat >>conftest.$ac_ext <<_ACEOF
113970 /* end confdefs.h. */
113973 main ()
113975 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
113977 return 0;
113979 _ACEOF
113980 rm -f conftest.$ac_objext
113981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
113982 (eval $ac_compile) 2>conftest.er1
113983 ac_status=$?
113984 grep -v '^ *+' conftest.er1 >conftest.err
113985 rm -f conftest.er1
113986 cat conftest.err >&5
113987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113988 (exit $ac_status); } &&
113989 { ac_try='test -z "$ac_c_werror_flag"
113990 || test ! -s conftest.err'
113991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113992 (eval $ac_try) 2>&5
113993 ac_status=$?
113994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113995 (exit $ac_status); }; } &&
113996 { ac_try='test -s conftest.$ac_objext'
113997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113998 (eval $ac_try) 2>&5
113999 ac_status=$?
114000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114001 (exit $ac_status); }; }; then
114002 glibcxx_ptrdiff_t_is_i=yes
114004 echo "$as_me: failed program was:" >&5
114005 sed 's/^/| /' conftest.$ac_ext >&5
114007 glibcxx_ptrdiff_t_is_i=no
114009 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114010 CFLAGS=$ac_save_CFLAGS
114011 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
114013 cat >>confdefs.h <<\_ACEOF
114014 #define _GLIBCXX_PTRDIFF_T_IS_INT 1
114015 _ACEOF
114018 echo "$as_me:$LINENO: result: $glibcxx_ptrdiff_t_is_i" >&5
114019 echo "${ECHO_T}$glibcxx_ptrdiff_t_is_i" >&6
114022 # Check whether --enable-visibility or --disable-visibility was given.
114023 if test "${enable_visibility+set}" = set; then
114024 enableval="$enable_visibility"
114026 case "$enableval" in
114027 yes|no) ;;
114028 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable visibility must be yes or no" >&5
114029 echo "$as_me: error: Argument to enable/disable visibility must be yes or no" >&2;}
114030 { (exit 1); exit 1; }; } ;;
114034 enable_visibility=yes
114038 if test x$enable_visibility = xyes ; then
114039 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
114040 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
114041 if test "${have_attribute_visibility+set}" = set; then
114042 echo $ECHO_N "(cached) $ECHO_C" >&6
114045 save_CFLAGS="$CFLAGS"
114046 CFLAGS="$CFLAGS -Werror"
114047 cat >conftest.$ac_ext <<_ACEOF
114048 /* confdefs.h. */
114049 _ACEOF
114050 cat confdefs.h >>conftest.$ac_ext
114051 cat >>conftest.$ac_ext <<_ACEOF
114052 /* end confdefs.h. */
114053 void __attribute__((visibility("hidden"))) foo(void) { }
114055 main ()
114059 return 0;
114061 _ACEOF
114062 rm -f conftest.$ac_objext
114063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114064 (eval $ac_compile) 2>conftest.er1
114065 ac_status=$?
114066 grep -v '^ *+' conftest.er1 >conftest.err
114067 rm -f conftest.er1
114068 cat conftest.err >&5
114069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114070 (exit $ac_status); } &&
114071 { ac_try='test -z "$ac_c_werror_flag"
114072 || test ! -s conftest.err'
114073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114074 (eval $ac_try) 2>&5
114075 ac_status=$?
114076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114077 (exit $ac_status); }; } &&
114078 { ac_try='test -s conftest.$ac_objext'
114079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114080 (eval $ac_try) 2>&5
114081 ac_status=$?
114082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114083 (exit $ac_status); }; }; then
114084 have_attribute_visibility=yes
114086 echo "$as_me: failed program was:" >&5
114087 sed 's/^/| /' conftest.$ac_ext >&5
114089 have_attribute_visibility=no
114091 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114092 CFLAGS="$save_CFLAGS"
114094 echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
114095 echo "${ECHO_T}$have_attribute_visibility" >&6
114096 if test $have_attribute_visibility = no; then
114097 enable_visibility=no
114102 { echo "$as_me:$LINENO: visibility supported: $enable_visibility" >&5
114103 echo "$as_me: visibility supported: $enable_visibility" >&6;}
114106 ac_ldbl_compat=no
114107 case "$target" in
114108 powerpc*-*-linux* | \
114109 powerpc*-*-gnu* | \
114110 sparc*-*-linux* | \
114111 s390*-*-linux* | \
114112 alpha*-*-linux*)
114113 cat >conftest.$ac_ext <<_ACEOF
114114 /* confdefs.h. */
114115 _ACEOF
114116 cat confdefs.h >>conftest.$ac_ext
114117 cat >>conftest.$ac_ext <<_ACEOF
114118 /* end confdefs.h. */
114121 main ()
114124 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
114125 #error no need for long double compatibility
114126 #endif
114129 return 0;
114131 _ACEOF
114132 rm -f conftest.$ac_objext
114133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114134 (eval $ac_compile) 2>conftest.er1
114135 ac_status=$?
114136 grep -v '^ *+' conftest.er1 >conftest.err
114137 rm -f conftest.er1
114138 cat conftest.err >&5
114139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114140 (exit $ac_status); } &&
114141 { ac_try='test -z "$ac_c_werror_flag"
114142 || test ! -s conftest.err'
114143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114144 (eval $ac_try) 2>&5
114145 ac_status=$?
114146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114147 (exit $ac_status); }; } &&
114148 { ac_try='test -s conftest.$ac_objext'
114149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114150 (eval $ac_try) 2>&5
114151 ac_status=$?
114152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114153 (exit $ac_status); }; }; then
114154 ac_ldbl_compat=yes
114156 echo "$as_me: failed program was:" >&5
114157 sed 's/^/| /' conftest.$ac_ext >&5
114159 ac_ldbl_compat=no
114161 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114162 if test "$ac_ldbl_compat" = yes; then
114164 cat >>confdefs.h <<\_ACEOF
114165 #define _GLIBCXX_LONG_DOUBLE_COMPAT 1
114166 _ACEOF
114168 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
114173 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
114175 if $GLIBCXX_IS_NATIVE ; then
114176 # Do checks for resource limit functions.
114178 setrlimit_have_headers=yes
114182 for ac_header in unistd.h sys/time.h sys/resource.h
114184 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
114185 if eval "test \"\${$as_ac_Header+set}\" = set"; then
114186 echo "$as_me:$LINENO: checking for $ac_header" >&5
114187 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
114188 if eval "test \"\${$as_ac_Header+set}\" = set"; then
114189 echo $ECHO_N "(cached) $ECHO_C" >&6
114191 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
114192 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
114194 # Is the header compilable?
114195 echo "$as_me:$LINENO: checking $ac_header usability" >&5
114196 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
114197 cat >conftest.$ac_ext <<_ACEOF
114198 /* confdefs.h. */
114199 _ACEOF
114200 cat confdefs.h >>conftest.$ac_ext
114201 cat >>conftest.$ac_ext <<_ACEOF
114202 /* end confdefs.h. */
114203 $ac_includes_default
114204 #include <$ac_header>
114205 _ACEOF
114206 rm -f conftest.$ac_objext
114207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114208 (eval $ac_compile) 2>conftest.er1
114209 ac_status=$?
114210 grep -v '^ *+' conftest.er1 >conftest.err
114211 rm -f conftest.er1
114212 cat conftest.err >&5
114213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114214 (exit $ac_status); } &&
114215 { ac_try='test -z "$ac_c_werror_flag"
114216 || test ! -s conftest.err'
114217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114218 (eval $ac_try) 2>&5
114219 ac_status=$?
114220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114221 (exit $ac_status); }; } &&
114222 { ac_try='test -s conftest.$ac_objext'
114223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114224 (eval $ac_try) 2>&5
114225 ac_status=$?
114226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114227 (exit $ac_status); }; }; then
114228 ac_header_compiler=yes
114230 echo "$as_me: failed program was:" >&5
114231 sed 's/^/| /' conftest.$ac_ext >&5
114233 ac_header_compiler=no
114235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114236 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
114237 echo "${ECHO_T}$ac_header_compiler" >&6
114239 # Is the header present?
114240 echo "$as_me:$LINENO: checking $ac_header presence" >&5
114241 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
114242 cat >conftest.$ac_ext <<_ACEOF
114243 /* confdefs.h. */
114244 _ACEOF
114245 cat confdefs.h >>conftest.$ac_ext
114246 cat >>conftest.$ac_ext <<_ACEOF
114247 /* end confdefs.h. */
114248 #include <$ac_header>
114249 _ACEOF
114250 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
114251 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
114252 ac_status=$?
114253 grep -v '^ *+' conftest.er1 >conftest.err
114254 rm -f conftest.er1
114255 cat conftest.err >&5
114256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114257 (exit $ac_status); } >/dev/null; then
114258 if test -s conftest.err; then
114259 ac_cpp_err=$ac_c_preproc_warn_flag
114260 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
114262 ac_cpp_err=
114265 ac_cpp_err=yes
114267 if test -z "$ac_cpp_err"; then
114268 ac_header_preproc=yes
114270 echo "$as_me: failed program was:" >&5
114271 sed 's/^/| /' conftest.$ac_ext >&5
114273 ac_header_preproc=no
114275 rm -f conftest.err conftest.$ac_ext
114276 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
114277 echo "${ECHO_T}$ac_header_preproc" >&6
114279 # So? What about this header?
114280 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
114281 yes:no: )
114282 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
114283 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
114284 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
114285 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
114286 ac_header_preproc=yes
114288 no:yes:* )
114289 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
114290 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
114291 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
114292 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
114293 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
114294 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
114295 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
114296 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
114297 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
114298 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
114299 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
114300 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
114302 cat <<\_ASBOX
114303 ## ----------------------------------------- ##
114304 ## Report this to the package-unused lists. ##
114305 ## ----------------------------------------- ##
114306 _ASBOX
114308 sed "s/^/$as_me: WARNING: /" >&2
114311 echo "$as_me:$LINENO: checking for $ac_header" >&5
114312 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
114313 if eval "test \"\${$as_ac_Header+set}\" = set"; then
114314 echo $ECHO_N "(cached) $ECHO_C" >&6
114316 eval "$as_ac_Header=\$ac_header_preproc"
114318 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
114319 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
114322 if test `eval echo '${'$as_ac_Header'}'` = yes; then
114323 cat >>confdefs.h <<_ACEOF
114324 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
114325 _ACEOF
114328 setrlimit_have_headers=no
114333 # If don't have the headers, then we can't run the tests now, and we
114334 # won't be seeing any of these during testsuite compilation.
114335 if test $setrlimit_have_headers = yes; then
114336 # Can't do these in a loop, else the resulting syntax is wrong.
114338 echo "$as_me:$LINENO: checking for RLIMIT_DATA" >&5
114339 echo $ECHO_N "checking for RLIMIT_DATA... $ECHO_C" >&6
114340 cat >conftest.$ac_ext <<_ACEOF
114341 /* confdefs.h. */
114342 _ACEOF
114343 cat confdefs.h >>conftest.$ac_ext
114344 cat >>conftest.$ac_ext <<_ACEOF
114345 /* end confdefs.h. */
114346 #include <unistd.h>
114347 #include <sys/time.h>
114348 #include <sys/resource.h>
114351 main ()
114353 int f = RLIMIT_DATA ;
114355 return 0;
114357 _ACEOF
114358 rm -f conftest.$ac_objext
114359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114360 (eval $ac_compile) 2>conftest.er1
114361 ac_status=$?
114362 grep -v '^ *+' conftest.er1 >conftest.err
114363 rm -f conftest.er1
114364 cat conftest.err >&5
114365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114366 (exit $ac_status); } &&
114367 { ac_try='test -z "$ac_c_werror_flag"
114368 || test ! -s conftest.err'
114369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114370 (eval $ac_try) 2>&5
114371 ac_status=$?
114372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114373 (exit $ac_status); }; } &&
114374 { ac_try='test -s conftest.$ac_objext'
114375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114376 (eval $ac_try) 2>&5
114377 ac_status=$?
114378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114379 (exit $ac_status); }; }; then
114380 glibcxx_mresult=1
114382 echo "$as_me: failed program was:" >&5
114383 sed 's/^/| /' conftest.$ac_ext >&5
114385 glibcxx_mresult=0
114387 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114389 cat >>confdefs.h <<_ACEOF
114390 #define HAVE_LIMIT_DATA $glibcxx_mresult
114391 _ACEOF
114393 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
114394 echo "$as_me:$LINENO: result: $res" >&5
114395 echo "${ECHO_T}$res" >&6
114398 echo "$as_me:$LINENO: checking for RLIMIT_RSS" >&5
114399 echo $ECHO_N "checking for RLIMIT_RSS... $ECHO_C" >&6
114400 cat >conftest.$ac_ext <<_ACEOF
114401 /* confdefs.h. */
114402 _ACEOF
114403 cat confdefs.h >>conftest.$ac_ext
114404 cat >>conftest.$ac_ext <<_ACEOF
114405 /* end confdefs.h. */
114406 #include <unistd.h>
114407 #include <sys/time.h>
114408 #include <sys/resource.h>
114411 main ()
114413 int f = RLIMIT_RSS ;
114415 return 0;
114417 _ACEOF
114418 rm -f conftest.$ac_objext
114419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114420 (eval $ac_compile) 2>conftest.er1
114421 ac_status=$?
114422 grep -v '^ *+' conftest.er1 >conftest.err
114423 rm -f conftest.er1
114424 cat conftest.err >&5
114425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114426 (exit $ac_status); } &&
114427 { ac_try='test -z "$ac_c_werror_flag"
114428 || test ! -s conftest.err'
114429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114430 (eval $ac_try) 2>&5
114431 ac_status=$?
114432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114433 (exit $ac_status); }; } &&
114434 { ac_try='test -s conftest.$ac_objext'
114435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114436 (eval $ac_try) 2>&5
114437 ac_status=$?
114438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114439 (exit $ac_status); }; }; then
114440 glibcxx_mresult=1
114442 echo "$as_me: failed program was:" >&5
114443 sed 's/^/| /' conftest.$ac_ext >&5
114445 glibcxx_mresult=0
114447 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114449 cat >>confdefs.h <<_ACEOF
114450 #define HAVE_LIMIT_RSS $glibcxx_mresult
114451 _ACEOF
114453 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
114454 echo "$as_me:$LINENO: result: $res" >&5
114455 echo "${ECHO_T}$res" >&6
114458 echo "$as_me:$LINENO: checking for RLIMIT_VMEM" >&5
114459 echo $ECHO_N "checking for RLIMIT_VMEM... $ECHO_C" >&6
114460 cat >conftest.$ac_ext <<_ACEOF
114461 /* confdefs.h. */
114462 _ACEOF
114463 cat confdefs.h >>conftest.$ac_ext
114464 cat >>conftest.$ac_ext <<_ACEOF
114465 /* end confdefs.h. */
114466 #include <unistd.h>
114467 #include <sys/time.h>
114468 #include <sys/resource.h>
114471 main ()
114473 int f = RLIMIT_VMEM ;
114475 return 0;
114477 _ACEOF
114478 rm -f conftest.$ac_objext
114479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114480 (eval $ac_compile) 2>conftest.er1
114481 ac_status=$?
114482 grep -v '^ *+' conftest.er1 >conftest.err
114483 rm -f conftest.er1
114484 cat conftest.err >&5
114485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114486 (exit $ac_status); } &&
114487 { ac_try='test -z "$ac_c_werror_flag"
114488 || test ! -s conftest.err'
114489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114490 (eval $ac_try) 2>&5
114491 ac_status=$?
114492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114493 (exit $ac_status); }; } &&
114494 { ac_try='test -s conftest.$ac_objext'
114495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114496 (eval $ac_try) 2>&5
114497 ac_status=$?
114498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114499 (exit $ac_status); }; }; then
114500 glibcxx_mresult=1
114502 echo "$as_me: failed program was:" >&5
114503 sed 's/^/| /' conftest.$ac_ext >&5
114505 glibcxx_mresult=0
114507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114509 cat >>confdefs.h <<_ACEOF
114510 #define HAVE_LIMIT_VMEM $glibcxx_mresult
114511 _ACEOF
114513 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
114514 echo "$as_me:$LINENO: result: $res" >&5
114515 echo "${ECHO_T}$res" >&6
114518 echo "$as_me:$LINENO: checking for RLIMIT_AS" >&5
114519 echo $ECHO_N "checking for RLIMIT_AS... $ECHO_C" >&6
114520 cat >conftest.$ac_ext <<_ACEOF
114521 /* confdefs.h. */
114522 _ACEOF
114523 cat confdefs.h >>conftest.$ac_ext
114524 cat >>conftest.$ac_ext <<_ACEOF
114525 /* end confdefs.h. */
114526 #include <unistd.h>
114527 #include <sys/time.h>
114528 #include <sys/resource.h>
114531 main ()
114533 int f = RLIMIT_AS ;
114535 return 0;
114537 _ACEOF
114538 rm -f conftest.$ac_objext
114539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114540 (eval $ac_compile) 2>conftest.er1
114541 ac_status=$?
114542 grep -v '^ *+' conftest.er1 >conftest.err
114543 rm -f conftest.er1
114544 cat conftest.err >&5
114545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114546 (exit $ac_status); } &&
114547 { ac_try='test -z "$ac_c_werror_flag"
114548 || test ! -s conftest.err'
114549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114550 (eval $ac_try) 2>&5
114551 ac_status=$?
114552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114553 (exit $ac_status); }; } &&
114554 { ac_try='test -s conftest.$ac_objext'
114555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114556 (eval $ac_try) 2>&5
114557 ac_status=$?
114558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114559 (exit $ac_status); }; }; then
114560 glibcxx_mresult=1
114562 echo "$as_me: failed program was:" >&5
114563 sed 's/^/| /' conftest.$ac_ext >&5
114565 glibcxx_mresult=0
114567 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114569 cat >>confdefs.h <<_ACEOF
114570 #define HAVE_LIMIT_AS $glibcxx_mresult
114571 _ACEOF
114573 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
114574 echo "$as_me:$LINENO: result: $res" >&5
114575 echo "${ECHO_T}$res" >&6
114578 echo "$as_me:$LINENO: checking for RLIMIT_FSIZE" >&5
114579 echo $ECHO_N "checking for RLIMIT_FSIZE... $ECHO_C" >&6
114580 cat >conftest.$ac_ext <<_ACEOF
114581 /* confdefs.h. */
114582 _ACEOF
114583 cat confdefs.h >>conftest.$ac_ext
114584 cat >>conftest.$ac_ext <<_ACEOF
114585 /* end confdefs.h. */
114586 #include <unistd.h>
114587 #include <sys/time.h>
114588 #include <sys/resource.h>
114591 main ()
114593 int f = RLIMIT_FSIZE ;
114595 return 0;
114597 _ACEOF
114598 rm -f conftest.$ac_objext
114599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114600 (eval $ac_compile) 2>conftest.er1
114601 ac_status=$?
114602 grep -v '^ *+' conftest.er1 >conftest.err
114603 rm -f conftest.er1
114604 cat conftest.err >&5
114605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114606 (exit $ac_status); } &&
114607 { ac_try='test -z "$ac_c_werror_flag"
114608 || test ! -s conftest.err'
114609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114610 (eval $ac_try) 2>&5
114611 ac_status=$?
114612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114613 (exit $ac_status); }; } &&
114614 { ac_try='test -s conftest.$ac_objext'
114615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114616 (eval $ac_try) 2>&5
114617 ac_status=$?
114618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114619 (exit $ac_status); }; }; then
114620 glibcxx_mresult=1
114622 echo "$as_me: failed program was:" >&5
114623 sed 's/^/| /' conftest.$ac_ext >&5
114625 glibcxx_mresult=0
114627 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114629 cat >>confdefs.h <<_ACEOF
114630 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
114631 _ACEOF
114633 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
114634 echo "$as_me:$LINENO: result: $res" >&5
114635 echo "${ECHO_T}$res" >&6
114638 # Check for rlimit, setrlimit.
114639 if test "${ac_setrlimit+set}" = set; then
114640 echo $ECHO_N "(cached) $ECHO_C" >&6
114643 cat >conftest.$ac_ext <<_ACEOF
114644 /* confdefs.h. */
114645 _ACEOF
114646 cat confdefs.h >>conftest.$ac_ext
114647 cat >>conftest.$ac_ext <<_ACEOF
114648 /* end confdefs.h. */
114649 #include <unistd.h>
114650 #include <sys/time.h>
114651 #include <sys/resource.h>
114654 main ()
114656 struct rlimit r;
114657 setrlimit(0, &r);
114659 return 0;
114661 _ACEOF
114662 rm -f conftest.$ac_objext
114663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114664 (eval $ac_compile) 2>conftest.er1
114665 ac_status=$?
114666 grep -v '^ *+' conftest.er1 >conftest.err
114667 rm -f conftest.er1
114668 cat conftest.err >&5
114669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114670 (exit $ac_status); } &&
114671 { ac_try='test -z "$ac_c_werror_flag"
114672 || test ! -s conftest.err'
114673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114674 (eval $ac_try) 2>&5
114675 ac_status=$?
114676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114677 (exit $ac_status); }; } &&
114678 { ac_try='test -s conftest.$ac_objext'
114679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114680 (eval $ac_try) 2>&5
114681 ac_status=$?
114682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114683 (exit $ac_status); }; }; then
114684 ac_setrlimit=yes
114686 echo "$as_me: failed program was:" >&5
114687 sed 's/^/| /' conftest.$ac_ext >&5
114689 ac_setrlimit=no
114691 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114697 echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
114698 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
114699 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
114700 ac_res_limits=yes
114702 cat >>confdefs.h <<\_ACEOF
114703 #define _GLIBCXX_RES_LIMITS 1
114704 _ACEOF
114707 ac_res_limits=no
114709 echo "$as_me:$LINENO: result: $ac_res_limits" >&5
114710 echo "${ECHO_T}$ac_res_limits" >&6
114713 # Look for setenv, so that extended locale tests can be performed.
114715 echo "$as_me:$LINENO: checking for setenv declaration" >&5
114716 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
114717 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
114718 if test "${glibcxx_cv_func_setenv_use+set}" = set; then
114719 echo $ECHO_N "(cached) $ECHO_C" >&6
114724 ac_ext=cc
114725 ac_cpp='$CXXCPP $CPPFLAGS'
114726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
114727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
114728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
114730 cat >conftest.$ac_ext <<_ACEOF
114731 /* confdefs.h. */
114732 _ACEOF
114733 cat confdefs.h >>conftest.$ac_ext
114734 cat >>conftest.$ac_ext <<_ACEOF
114735 /* end confdefs.h. */
114736 #include <stdlib.h>
114738 main ()
114740 setenv(0, 0, 0);
114742 return 0;
114744 _ACEOF
114745 rm -f conftest.$ac_objext
114746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114747 (eval $ac_compile) 2>conftest.er1
114748 ac_status=$?
114749 grep -v '^ *+' conftest.er1 >conftest.err
114750 rm -f conftest.er1
114751 cat conftest.err >&5
114752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114753 (exit $ac_status); } &&
114754 { ac_try='test -z "$ac_cxx_werror_flag"
114755 || test ! -s conftest.err'
114756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114757 (eval $ac_try) 2>&5
114758 ac_status=$?
114759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114760 (exit $ac_status); }; } &&
114761 { ac_try='test -s conftest.$ac_objext'
114762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114763 (eval $ac_try) 2>&5
114764 ac_status=$?
114765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114766 (exit $ac_status); }; }; then
114767 glibcxx_cv_func_setenv_use=yes
114769 echo "$as_me: failed program was:" >&5
114770 sed 's/^/| /' conftest.$ac_ext >&5
114772 glibcxx_cv_func_setenv_use=no
114774 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114775 ac_ext=c
114776 ac_cpp='$CPP $CPPFLAGS'
114777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
114778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
114779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
114785 echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
114786 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
114787 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
114789 for ac_func in setenv
114791 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
114792 echo "$as_me:$LINENO: checking for $ac_func" >&5
114793 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
114794 if eval "test \"\${$as_ac_var+set}\" = set"; then
114795 echo $ECHO_N "(cached) $ECHO_C" >&6
114797 if test x$gcc_no_link = xyes; then
114798 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114799 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114800 { (exit 1); exit 1; }; }
114802 cat >conftest.$ac_ext <<_ACEOF
114803 /* confdefs.h. */
114804 _ACEOF
114805 cat confdefs.h >>conftest.$ac_ext
114806 cat >>conftest.$ac_ext <<_ACEOF
114807 /* end confdefs.h. */
114808 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
114809 For example, HP-UX 11i <limits.h> declares gettimeofday. */
114810 #define $ac_func innocuous_$ac_func
114812 /* System header to define __stub macros and hopefully few prototypes,
114813 which can conflict with char $ac_func (); below.
114814 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
114815 <limits.h> exists even on freestanding compilers. */
114817 #ifdef __STDC__
114818 # include <limits.h>
114819 #else
114820 # include <assert.h>
114821 #endif
114823 #undef $ac_func
114825 /* Override any gcc2 internal prototype to avoid an error. */
114826 #ifdef __cplusplus
114827 extern "C"
114829 #endif
114830 /* We use char because int might match the return type of a gcc2
114831 builtin and then its argument prototype would still apply. */
114832 char $ac_func ();
114833 /* The GNU C library defines this for functions which it implements
114834 to always fail with ENOSYS. Some functions are actually named
114835 something starting with __ and the normal name is an alias. */
114836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
114837 choke me
114838 #else
114839 char (*f) () = $ac_func;
114840 #endif
114841 #ifdef __cplusplus
114843 #endif
114846 main ()
114848 return f != $ac_func;
114850 return 0;
114852 _ACEOF
114853 rm -f conftest.$ac_objext conftest$ac_exeext
114854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114855 (eval $ac_link) 2>conftest.er1
114856 ac_status=$?
114857 grep -v '^ *+' conftest.er1 >conftest.err
114858 rm -f conftest.er1
114859 cat conftest.err >&5
114860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114861 (exit $ac_status); } &&
114862 { ac_try='test -z "$ac_c_werror_flag"
114863 || test ! -s conftest.err'
114864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114865 (eval $ac_try) 2>&5
114866 ac_status=$?
114867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114868 (exit $ac_status); }; } &&
114869 { ac_try='test -s conftest$ac_exeext'
114870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114871 (eval $ac_try) 2>&5
114872 ac_status=$?
114873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114874 (exit $ac_status); }; }; then
114875 eval "$as_ac_var=yes"
114877 echo "$as_me: failed program was:" >&5
114878 sed 's/^/| /' conftest.$ac_ext >&5
114880 eval "$as_ac_var=no"
114882 rm -f conftest.err conftest.$ac_objext \
114883 conftest$ac_exeext conftest.$ac_ext
114885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
114886 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
114887 if test `eval echo '${'$as_ac_var'}'` = yes; then
114888 cat >>confdefs.h <<_ACEOF
114889 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
114890 _ACEOF
114899 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
114900 test $enable_symvers != no; then
114901 case "$host" in
114902 *-*-cygwin*)
114903 enable_abi_check=no ;;
114905 enable_abi_check=yes ;;
114908 # Only build this as native, since automake does not understand
114909 # CXX_FOR_BUILD.
114910 enable_abi_check=no
114913 # Export file names for ABI checking.
114914 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}\$(MULTISUBDIR)"
114918 # Propagate the target-specific source directories through the build chain.
114919 ATOMICITY_SRCDIR=config/${atomicity_dir}
114920 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
114921 ATOMIC_FLAGS=${atomic_flags}
114922 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
114923 OS_INC_SRCDIR=config/${os_include_dir}
114924 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
114925 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
114935 # Determine cross-compile flags and AM_CONDITIONALs.
114936 #AC_SUBST(GLIBCXX_IS_NATIVE)
114937 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
114938 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
114939 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH, test $need_libmath = yes)
114942 if test $is_hosted = yes; then
114943 GLIBCXX_HOSTED_TRUE=
114944 GLIBCXX_HOSTED_FALSE='#'
114946 GLIBCXX_HOSTED_TRUE='#'
114947 GLIBCXX_HOSTED_FALSE=
114953 if test $enable_libstdcxx_pch = yes; then
114954 GLIBCXX_BUILD_PCH_TRUE=
114955 GLIBCXX_BUILD_PCH_FALSE='#'
114957 GLIBCXX_BUILD_PCH_TRUE='#'
114958 GLIBCXX_BUILD_PCH_FALSE=
114964 if test $enable_cheaders = c; then
114965 GLIBCXX_C_HEADERS_C_TRUE=
114966 GLIBCXX_C_HEADERS_C_FALSE='#'
114968 GLIBCXX_C_HEADERS_C_TRUE='#'
114969 GLIBCXX_C_HEADERS_C_FALSE=
114975 if test $enable_cheaders = c_std; then
114976 GLIBCXX_C_HEADERS_C_STD_TRUE=
114977 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
114979 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
114980 GLIBCXX_C_HEADERS_C_STD_FALSE=
114986 if test $enable_cheaders = c_global; then
114987 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
114988 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
114990 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
114991 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
114997 if test $c_compatibility = yes; then
114998 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
114999 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
115001 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
115002 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
115008 if test $c_extra = yes; then
115009 GLIBCXX_C_HEADERS_EXTRA_TRUE=
115010 GLIBCXX_C_HEADERS_EXTRA_FALSE='#'
115012 GLIBCXX_C_HEADERS_EXTRA_TRUE='#'
115013 GLIBCXX_C_HEADERS_EXTRA_FALSE=
115019 if test $enable_libstdcxx_debug = yes; then
115020 GLIBCXX_BUILD_DEBUG_TRUE=
115021 GLIBCXX_BUILD_DEBUG_FALSE='#'
115023 GLIBCXX_BUILD_DEBUG_TRUE='#'
115024 GLIBCXX_BUILD_DEBUG_FALSE=
115030 if test $enable_parallel = yes; then
115031 ENABLE_PARALLEL_TRUE=
115032 ENABLE_PARALLEL_FALSE='#'
115034 ENABLE_PARALLEL_TRUE='#'
115035 ENABLE_PARALLEL_FALSE=
115041 if test $enable_symvers != no; then
115042 ENABLE_SYMVERS_TRUE=
115043 ENABLE_SYMVERS_FALSE='#'
115045 ENABLE_SYMVERS_TRUE='#'
115046 ENABLE_SYMVERS_FALSE=
115052 if test $enable_symvers = gnu; then
115053 ENABLE_SYMVERS_GNU_TRUE=
115054 ENABLE_SYMVERS_GNU_FALSE='#'
115056 ENABLE_SYMVERS_GNU_TRUE='#'
115057 ENABLE_SYMVERS_GNU_FALSE=
115063 if test $enable_symvers = gnu-versioned-namespace; then
115064 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
115065 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
115067 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
115068 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
115074 if test $enable_symvers = darwin; then
115075 ENABLE_SYMVERS_DARWIN_TRUE=
115076 ENABLE_SYMVERS_DARWIN_FALSE='#'
115078 ENABLE_SYMVERS_DARWIN_TRUE='#'
115079 ENABLE_SYMVERS_DARWIN_FALSE=
115085 if test $enable_visibility = yes; then
115086 ENABLE_VISIBILITY_TRUE=
115087 ENABLE_VISIBILITY_FALSE='#'
115089 ENABLE_VISIBILITY_TRUE='#'
115090 ENABLE_VISIBILITY_FALSE=
115096 if test $ac_ldbl_compat = yes; then
115097 GLIBCXX_LDBL_COMPAT_TRUE=
115098 GLIBCXX_LDBL_COMPAT_FALSE='#'
115100 GLIBCXX_LDBL_COMPAT_TRUE='#'
115101 GLIBCXX_LDBL_COMPAT_FALSE=
115107 cat >confcache <<\_ACEOF
115108 # This file is a shell script that caches the results of configure
115109 # tests run on this system so they can be shared between configure
115110 # scripts and configure runs, see configure's option --config-cache.
115111 # It is not useful on other systems. If it contains results you don't
115112 # want to keep, you may remove or edit it.
115114 # config.status only pays attention to the cache file if you give it
115115 # the --recheck option to rerun configure.
115117 # `ac_cv_env_foo' variables (set or unset) will be overridden when
115118 # loading this file, other *unset* `ac_cv_foo' will be assigned the
115119 # following values.
115121 _ACEOF
115123 # The following way of writing the cache mishandles newlines in values,
115124 # but we know of no workaround that is simple, portable, and efficient.
115125 # So, don't put newlines in cache variables' values.
115126 # Ultrix sh set writes to stderr and can't be redirected directly,
115127 # and sets the high bit in the cache file unless we assign to the vars.
115129 (set) 2>&1 |
115130 case `(ac_space=' '; set | grep ac_space) 2>&1` in
115131 *ac_space=\ *)
115132 # `set' does not quote correctly, so add quotes (double-quote
115133 # substitution turns \\\\ into \\, and sed turns \\ into \).
115134 sed -n \
115135 "s/'/'\\\\''/g;
115136 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
115139 # `set' quotes correctly as required by POSIX, so do not add quotes.
115140 sed -n \
115141 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
115143 esac;
115145 sed '
115146 t clear
115147 : clear
115148 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
115149 t end
115150 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
115151 : end' >>confcache
115152 if diff $cache_file confcache >/dev/null 2>&1; then :; else
115153 if test -w $cache_file; then
115154 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
115155 cat confcache >$cache_file
115157 echo "not updating unwritable cache $cache_file"
115160 rm -f confcache
115162 if test ${multilib} = yes; then
115163 multilib_arg="--enable-multilib"
115165 multilib_arg=
115168 # Export all the install information.
115170 glibcxx_toolexecdir=no
115171 glibcxx_toolexeclibdir=no
115172 glibcxx_prefixdir=$prefix
115174 echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
115175 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
115177 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
115178 if test "${with_gxx_include_dir+set}" = set; then
115179 withval="$with_gxx_include_dir"
115180 case "$withval" in
115181 yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
115182 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
115183 { (exit 1); exit 1; }; } ;;
115184 no) gxx_include_dir=no ;;
115185 *) gxx_include_dir=$withval ;;
115188 gxx_include_dir=no
115190 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
115191 echo "${ECHO_T}$gxx_include_dir" >&6
115193 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
115194 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
115195 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
115196 if test "${enable_version_specific_runtime_libs+set}" = set; then
115197 enableval="$enable_version_specific_runtime_libs"
115198 case "$enableval" in
115199 yes) version_specific_libs=yes ;;
115200 no) version_specific_libs=no ;;
115201 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
115202 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
115203 { (exit 1); exit 1; }; };;
115206 version_specific_libs=no
115208 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
115209 echo "${ECHO_T}$version_specific_libs" >&6
115211 # Default case for install directory for include files.
115212 if test $version_specific_libs = no && test $gxx_include_dir = no; then
115213 gxx_include_dir='include/c++/${gcc_version}'
115214 if test -n "$with_cross_host" &&
115215 test x"$with_cross_host" != x"no"; then
115216 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
115218 gxx_include_dir='${prefix}/'"$gxx_include_dir"
115222 # Version-specific runtime libs processing.
115223 if test $version_specific_libs = yes; then
115224 # Need the gcc compiler version to know where to install libraries
115225 # and header files if --enable-version-specific-runtime-libs option
115226 # is selected. FIXME: these variables are misnamed, there are
115227 # no executables installed in _toolexecdir or _toolexeclibdir.
115228 if test x"$gxx_include_dir" = x"no"; then
115229 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
115231 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
115232 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
115235 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
115236 # Install a library built with a cross compiler in tooldir, not libdir.
115237 if test x"$glibcxx_toolexecdir" = x"no"; then
115238 if test -n "$with_cross_host" &&
115239 test x"$with_cross_host" != x"no"; then
115240 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
115241 glibcxx_toolexeclibdir='${toolexecdir}/lib'
115243 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
115244 glibcxx_toolexeclibdir='${libdir}'
115246 multi_os_directory=`$CXX -print-multi-os-directory`
115247 case $multi_os_directory in
115248 .) ;; # Avoid trailing /.
115249 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
115253 echo "$as_me:$LINENO: checking for install location" >&5
115254 echo $ECHO_N "checking for install location... $ECHO_C" >&6
115255 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
115256 echo "${ECHO_T}$gxx_include_dir" >&6
115264 # Export all the include and flag information to Makefiles.
115266 # Used for every C++ compile we perform.
115267 GLIBCXX_INCLUDES="\
115268 -I$glibcxx_builddir/include/$host_alias \
115269 -I$glibcxx_builddir/include \
115270 -I$glibcxx_srcdir/libsupc++"
115272 # For Canadian crosses, pick this up too.
115273 if test $CANADIAN = yes; then
115274 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
115277 # Stuff in the actual top level. Currently only used by libsupc++ to
115278 # get unwind* headers from the gcc dir.
115279 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
115280 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
115282 # Now, export this to all the little Makefiles....
115287 # Optimization flags that are probably a good idea for thrill-seekers. Just
115288 # uncomment the lines below and make, everything else is ready to go...
115289 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
115290 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
115293 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
115297 if test "$enable_shared" = yes; then
115298 LIBSUPCXX_PICFLAGS="-prefer-pic"
115300 LIBSUPCXX_PICFLAGS=
115304 ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile po/Makefile testsuite/Makefile"
115306 ac_config_files="$ac_config_files scripts/testsuite_flags"
115309 ac_config_commands="$ac_config_commands default"
115312 cat >confcache <<\_ACEOF
115313 # This file is a shell script that caches the results of configure
115314 # tests run on this system so they can be shared between configure
115315 # scripts and configure runs, see configure's option --config-cache.
115316 # It is not useful on other systems. If it contains results you don't
115317 # want to keep, you may remove or edit it.
115319 # config.status only pays attention to the cache file if you give it
115320 # the --recheck option to rerun configure.
115322 # `ac_cv_env_foo' variables (set or unset) will be overridden when
115323 # loading this file, other *unset* `ac_cv_foo' will be assigned the
115324 # following values.
115326 _ACEOF
115328 # The following way of writing the cache mishandles newlines in values,
115329 # but we know of no workaround that is simple, portable, and efficient.
115330 # So, don't put newlines in cache variables' values.
115331 # Ultrix sh set writes to stderr and can't be redirected directly,
115332 # and sets the high bit in the cache file unless we assign to the vars.
115334 (set) 2>&1 |
115335 case `(ac_space=' '; set | grep ac_space) 2>&1` in
115336 *ac_space=\ *)
115337 # `set' does not quote correctly, so add quotes (double-quote
115338 # substitution turns \\\\ into \\, and sed turns \\ into \).
115339 sed -n \
115340 "s/'/'\\\\''/g;
115341 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
115344 # `set' quotes correctly as required by POSIX, so do not add quotes.
115345 sed -n \
115346 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
115348 esac;
115350 sed '
115351 t clear
115352 : clear
115353 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
115354 t end
115355 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
115356 : end' >>confcache
115357 if diff $cache_file confcache >/dev/null 2>&1; then :; else
115358 if test -w $cache_file; then
115359 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
115360 cat confcache >$cache_file
115362 echo "not updating unwritable cache $cache_file"
115365 rm -f confcache
115367 test "x$prefix" = xNONE && prefix=$ac_default_prefix
115368 # Let make expand exec_prefix.
115369 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
115371 # VPATH may cause trouble with some makes, so we remove $(srcdir),
115372 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
115373 # trailing colons and then remove the whole line if VPATH becomes empty
115374 # (actually we leave an empty line to preserve line numbers).
115375 if test "x$srcdir" = x.; then
115376 ac_vpsub='/^[ ]*VPATH[ ]*=/{
115377 s/:*\$(srcdir):*/:/;
115378 s/:*\${srcdir}:*/:/;
115379 s/:*@srcdir@:*/:/;
115380 s/^\([^=]*=[ ]*\):*/\1/;
115381 s/:*$//;
115382 s/^[^=]*=[ ]*$//;
115386 DEFS=-DHAVE_CONFIG_H
115388 ac_libobjs=
115389 ac_ltlibobjs=
115390 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
115391 # 1. Remove the extension, and $U if already installed.
115392 ac_i=`echo "$ac_i" |
115393 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
115394 # 2. Add them.
115395 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
115396 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
115398 LIBOBJS=$ac_libobjs
115400 LTLIBOBJS=$ac_ltlibobjs
115403 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
115404 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
115405 Usually this means the macro was only invoked conditionally." >&5
115406 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
115407 Usually this means the macro was only invoked conditionally." >&2;}
115408 { (exit 1); exit 1; }; }
115410 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
115411 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
115412 Usually this means the macro was only invoked conditionally." >&5
115413 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
115414 Usually this means the macro was only invoked conditionally." >&2;}
115415 { (exit 1); exit 1; }; }
115417 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
115418 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
115419 Usually this means the macro was only invoked conditionally." >&5
115420 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
115421 Usually this means the macro was only invoked conditionally." >&2;}
115422 { (exit 1); exit 1; }; }
115424 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
115425 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
115426 Usually this means the macro was only invoked conditionally." >&5
115427 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
115428 Usually this means the macro was only invoked conditionally." >&2;}
115429 { (exit 1); exit 1; }; }
115431 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
115432 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
115433 Usually this means the macro was only invoked conditionally." >&5
115434 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
115435 Usually this means the macro was only invoked conditionally." >&2;}
115436 { (exit 1); exit 1; }; }
115438 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
115439 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
115440 Usually this means the macro was only invoked conditionally." >&5
115441 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
115442 Usually this means the macro was only invoked conditionally." >&2;}
115443 { (exit 1); exit 1; }; }
115445 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
115446 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
115447 Usually this means the macro was only invoked conditionally." >&5
115448 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
115449 Usually this means the macro was only invoked conditionally." >&2;}
115450 { (exit 1); exit 1; }; }
115452 if test -z "${GLIBCXX_C_HEADERS_EXTRA_TRUE}" && test -z "${GLIBCXX_C_HEADERS_EXTRA_FALSE}"; then
115453 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
115454 Usually this means the macro was only invoked conditionally." >&5
115455 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
115456 Usually this means the macro was only invoked conditionally." >&2;}
115457 { (exit 1); exit 1; }; }
115459 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
115460 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
115461 Usually this means the macro was only invoked conditionally." >&5
115462 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
115463 Usually this means the macro was only invoked conditionally." >&2;}
115464 { (exit 1); exit 1; }; }
115466 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
115467 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_PARALLEL\" was never defined.
115468 Usually this means the macro was only invoked conditionally." >&5
115469 echo "$as_me: error: conditional \"ENABLE_PARALLEL\" was never defined.
115470 Usually this means the macro was only invoked conditionally." >&2;}
115471 { (exit 1); exit 1; }; }
115473 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
115474 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS\" was never defined.
115475 Usually this means the macro was only invoked conditionally." >&5
115476 echo "$as_me: error: conditional \"ENABLE_SYMVERS\" was never defined.
115477 Usually this means the macro was only invoked conditionally." >&2;}
115478 { (exit 1); exit 1; }; }
115480 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
115481 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
115482 Usually this means the macro was only invoked conditionally." >&5
115483 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
115484 Usually this means the macro was only invoked conditionally." >&2;}
115485 { (exit 1); exit 1; }; }
115487 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
115488 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
115489 Usually this means the macro was only invoked conditionally." >&5
115490 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
115491 Usually this means the macro was only invoked conditionally." >&2;}
115492 { (exit 1); exit 1; }; }
115494 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
115495 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
115496 Usually this means the macro was only invoked conditionally." >&5
115497 echo "$as_me: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
115498 Usually this means the macro was only invoked conditionally." >&2;}
115499 { (exit 1); exit 1; }; }
115501 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
115502 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_VISIBILITY\" was never defined.
115503 Usually this means the macro was only invoked conditionally." >&5
115504 echo "$as_me: error: conditional \"ENABLE_VISIBILITY\" was never defined.
115505 Usually this means the macro was only invoked conditionally." >&2;}
115506 { (exit 1); exit 1; }; }
115508 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
115509 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
115510 Usually this means the macro was only invoked conditionally." >&5
115511 echo "$as_me: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
115512 Usually this means the macro was only invoked conditionally." >&2;}
115513 { (exit 1); exit 1; }; }
115516 : ${CONFIG_STATUS=./config.status}
115517 ac_clean_files_save=$ac_clean_files
115518 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
115519 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
115520 echo "$as_me: creating $CONFIG_STATUS" >&6;}
115521 cat >$CONFIG_STATUS <<_ACEOF
115522 #! $SHELL
115523 # Generated by $as_me.
115524 # Run this file to recreate the current configuration.
115525 # Compiler output produced by configure, useful for debugging
115526 # configure, is in config.log if it exists.
115528 debug=false
115529 ac_cs_recheck=false
115530 ac_cs_silent=false
115531 SHELL=\${CONFIG_SHELL-$SHELL}
115532 _ACEOF
115534 cat >>$CONFIG_STATUS <<\_ACEOF
115535 ## --------------------- ##
115536 ## M4sh Initialization. ##
115537 ## --------------------- ##
115539 # Be Bourne compatible
115540 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
115541 emulate sh
115542 NULLCMD=:
115543 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
115544 # is contrary to our usage. Disable this feature.
115545 alias -g '${1+"$@"}'='"$@"'
115546 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
115547 set -o posix
115549 DUALCASE=1; export DUALCASE # for MKS sh
115551 # Support unset when possible.
115552 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
115553 as_unset=unset
115555 as_unset=false
115559 # Work around bugs in pre-3.0 UWIN ksh.
115560 $as_unset ENV MAIL MAILPATH
115561 PS1='$ '
115562 PS2='> '
115563 PS4='+ '
115565 # NLS nuisances.
115566 for as_var in \
115567 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
115568 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
115569 LC_TELEPHONE LC_TIME
115571 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
115572 eval $as_var=C; export $as_var
115574 $as_unset $as_var
115578 # Required to use basename.
115579 if expr a : '\(a\)' >/dev/null 2>&1; then
115580 as_expr=expr
115582 as_expr=false
115585 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
115586 as_basename=basename
115588 as_basename=false
115592 # Name of the executable.
115593 as_me=`$as_basename "$0" ||
115594 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
115595 X"$0" : 'X\(//\)$' \| \
115596 X"$0" : 'X\(/\)$' \| \
115597 . : '\(.\)' 2>/dev/null ||
115598 echo X/"$0" |
115599 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
115600 /^X\/\(\/\/\)$/{ s//\1/; q; }
115601 /^X\/\(\/\).*/{ s//\1/; q; }
115602 s/.*/./; q'`
115605 # PATH needs CR, and LINENO needs CR and PATH.
115606 # Avoid depending upon Character Ranges.
115607 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
115608 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
115609 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
115610 as_cr_digits='0123456789'
115611 as_cr_alnum=$as_cr_Letters$as_cr_digits
115613 # The user is always right.
115614 if test "${PATH_SEPARATOR+set}" != set; then
115615 echo "#! /bin/sh" >conf$$.sh
115616 echo "exit 0" >>conf$$.sh
115617 chmod +x conf$$.sh
115618 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
115619 PATH_SEPARATOR=';'
115621 PATH_SEPARATOR=:
115623 rm -f conf$$.sh
115627 as_lineno_1=$LINENO
115628 as_lineno_2=$LINENO
115629 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
115630 test "x$as_lineno_1" != "x$as_lineno_2" &&
115631 test "x$as_lineno_3" = "x$as_lineno_2" || {
115632 # Find who we are. Look in the path if we contain no path at all
115633 # relative or not.
115634 case $0 in
115635 *[\\/]* ) as_myself=$0 ;;
115636 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
115637 for as_dir in $PATH
115639 IFS=$as_save_IFS
115640 test -z "$as_dir" && as_dir=.
115641 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115646 # We did not find ourselves, most probably we were run as `sh COMMAND'
115647 # in which case we are not to be found in the path.
115648 if test "x$as_myself" = x; then
115649 as_myself=$0
115651 if test ! -f "$as_myself"; then
115652 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
115653 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
115654 { (exit 1); exit 1; }; }
115656 case $CONFIG_SHELL in
115658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
115659 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
115661 IFS=$as_save_IFS
115662 test -z "$as_dir" && as_dir=.
115663 for as_base in sh bash ksh sh5; do
115664 case $as_dir in
115666 if ("$as_dir/$as_base" -c '
115667 as_lineno_1=$LINENO
115668 as_lineno_2=$LINENO
115669 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
115670 test "x$as_lineno_1" != "x$as_lineno_2" &&
115671 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
115672 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
115673 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
115674 CONFIG_SHELL=$as_dir/$as_base
115675 export CONFIG_SHELL
115676 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
115684 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
115685 # uniformly replaced by the line number. The first 'sed' inserts a
115686 # line-number line before each line; the second 'sed' does the real
115687 # work. The second script uses 'N' to pair each line-number line
115688 # with the numbered line, and appends trailing '-' during
115689 # substitution so that $LINENO is not a special case at line end.
115690 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
115691 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
115692 sed '=' <$as_myself |
115693 sed '
115695 s,$,-,
115696 : loop
115697 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
115698 t loop
115699 s,-$,,
115700 s,^['$as_cr_digits']*\n,,
115701 ' >$as_me.lineno &&
115702 chmod +x $as_me.lineno ||
115703 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
115704 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
115705 { (exit 1); exit 1; }; }
115707 # Don't try to exec as it changes $[0], causing all sort of problems
115708 # (the dirname of $[0] is not the place where we might find the
115709 # original and so on. Autoconf is especially sensible to this).
115710 . ./$as_me.lineno
115711 # Exit status is that of the last command.
115716 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
115717 *c*,-n*) ECHO_N= ECHO_C='
115718 ' ECHO_T=' ' ;;
115719 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
115720 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
115723 if expr a : '\(a\)' >/dev/null 2>&1; then
115724 as_expr=expr
115726 as_expr=false
115729 rm -f conf$$ conf$$.exe conf$$.file
115730 echo >conf$$.file
115731 if ln -s conf$$.file conf$$ 2>/dev/null; then
115732 # We could just check for DJGPP; but this test a) works b) is more generic
115733 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
115734 if test -f conf$$.exe; then
115735 # Don't use ln at all; we don't have any links
115736 as_ln_s='cp -p'
115738 as_ln_s='ln -s'
115740 elif ln conf$$.file conf$$ 2>/dev/null; then
115741 as_ln_s=ln
115743 as_ln_s='cp -p'
115745 rm -f conf$$ conf$$.exe conf$$.file
115747 if mkdir -p . 2>/dev/null; then
115748 as_mkdir_p=:
115750 test -d ./-p && rmdir ./-p
115751 as_mkdir_p=false
115754 as_executable_p="test -f"
115756 # Sed expression to map a string onto a valid CPP name.
115757 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
115759 # Sed expression to map a string onto a valid variable name.
115760 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
115763 # IFS
115764 # We need space, tab and new line, in precisely that order.
115765 as_nl='
115767 IFS=" $as_nl"
115769 # CDPATH.
115770 $as_unset CDPATH
115772 exec 6>&1
115774 # Open the log real soon, to keep \$[0] and so on meaningful, and to
115775 # report actual input values of CONFIG_FILES etc. instead of their
115776 # values after options handling. Logging --version etc. is OK.
115777 exec 5>>config.log
115780 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
115781 ## Running $as_me. ##
115782 _ASBOX
115783 } >&5
115784 cat >&5 <<_CSEOF
115786 This file was extended by package-unused $as_me version-unused, which was
115787 generated by GNU Autoconf 2.59. Invocation command line was
115789 CONFIG_FILES = $CONFIG_FILES
115790 CONFIG_HEADERS = $CONFIG_HEADERS
115791 CONFIG_LINKS = $CONFIG_LINKS
115792 CONFIG_COMMANDS = $CONFIG_COMMANDS
115793 $ $0 $@
115795 _CSEOF
115796 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
115797 echo >&5
115798 _ACEOF
115800 # Files that config.status was made for.
115801 if test -n "$ac_config_files"; then
115802 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
115805 if test -n "$ac_config_headers"; then
115806 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
115809 if test -n "$ac_config_links"; then
115810 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
115813 if test -n "$ac_config_commands"; then
115814 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
115817 cat >>$CONFIG_STATUS <<\_ACEOF
115819 ac_cs_usage="\
115820 \`$as_me' instantiates files from templates according to the
115821 current configuration.
115823 Usage: $0 [OPTIONS] [FILE]...
115825 -h, --help print this help, then exit
115826 -V, --version print version number, then exit
115827 -q, --quiet do not print progress messages
115828 -d, --debug don't remove temporary files
115829 --recheck update $as_me by reconfiguring in the same conditions
115830 --file=FILE[:TEMPLATE]
115831 instantiate the configuration file FILE
115832 --header=FILE[:TEMPLATE]
115833 instantiate the configuration header FILE
115835 Configuration files:
115836 $config_files
115838 Configuration headers:
115839 $config_headers
115841 Configuration commands:
115842 $config_commands
115844 Report bugs to <bug-autoconf@gnu.org>."
115845 _ACEOF
115847 cat >>$CONFIG_STATUS <<_ACEOF
115848 ac_cs_version="\\
115849 package-unused config.status version-unused
115850 configured by $0, generated by GNU Autoconf 2.59,
115851 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
115853 Copyright (C) 2003 Free Software Foundation, Inc.
115854 This config.status script is free software; the Free Software Foundation
115855 gives unlimited permission to copy, distribute and modify it."
115856 srcdir=$srcdir
115857 INSTALL="$INSTALL"
115858 _ACEOF
115860 cat >>$CONFIG_STATUS <<\_ACEOF
115861 # If no file are specified by the user, then we need to provide default
115862 # value. By we need to know if files were specified by the user.
115863 ac_need_defaults=:
115864 while test $# != 0
115866 case $1 in
115867 --*=*)
115868 ac_option=`expr "x$1" : 'x\([^=]*\)='`
115869 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
115870 ac_shift=:
115873 ac_option=$1
115874 ac_optarg=$2
115875 ac_shift=shift
115877 *) # This is not an option, so the user has probably given explicit
115878 # arguments.
115879 ac_option=$1
115880 ac_need_defaults=false;;
115883 case $ac_option in
115884 # Handling of the options.
115885 _ACEOF
115886 cat >>$CONFIG_STATUS <<\_ACEOF
115887 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
115888 ac_cs_recheck=: ;;
115889 --version | --vers* | -V )
115890 echo "$ac_cs_version"; exit 0 ;;
115891 --he | --h)
115892 # Conflict between --help and --header
115893 { { echo "$as_me:$LINENO: error: ambiguous option: $1
115894 Try \`$0 --help' for more information." >&5
115895 echo "$as_me: error: ambiguous option: $1
115896 Try \`$0 --help' for more information." >&2;}
115897 { (exit 1); exit 1; }; };;
115898 --help | --hel | -h )
115899 echo "$ac_cs_usage"; exit 0 ;;
115900 --debug | --d* | -d )
115901 debug=: ;;
115902 --file | --fil | --fi | --f )
115903 $ac_shift
115904 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
115905 ac_need_defaults=false;;
115906 --header | --heade | --head | --hea )
115907 $ac_shift
115908 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
115909 ac_need_defaults=false;;
115910 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
115911 | -silent | --silent | --silen | --sile | --sil | --si | --s)
115912 ac_cs_silent=: ;;
115914 # This is an error.
115915 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
115916 Try \`$0 --help' for more information." >&5
115917 echo "$as_me: error: unrecognized option: $1
115918 Try \`$0 --help' for more information." >&2;}
115919 { (exit 1); exit 1; }; } ;;
115921 *) ac_config_targets="$ac_config_targets $1" ;;
115924 shift
115927 ac_configure_extra_args=
115929 if $ac_cs_silent; then
115930 exec 6>/dev/null
115931 ac_configure_extra_args="$ac_configure_extra_args --silent"
115934 _ACEOF
115935 cat >>$CONFIG_STATUS <<_ACEOF
115936 if \$ac_cs_recheck; then
115937 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
115938 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
115941 _ACEOF
115943 cat >>$CONFIG_STATUS <<_ACEOF
115945 # INIT-COMMANDS section.
115949 srcdir="$srcdir"
115950 host="$host"
115951 target="$target"
115952 with_multisubdir="$with_multisubdir"
115953 with_multisrctop="$with_multisrctop"
115954 with_target_subdir="$with_target_subdir"
115955 ac_configure_args="${multilib_arg} ${ac_configure_args}"
115956 multi_basedir="$multi_basedir"
115957 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
115958 CC="$CC"
115961 # The HP-UX ksh and POSIX shell print the target directory to stdout
115962 # if CDPATH is set.
115963 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
115965 sed_quote_subst='$sed_quote_subst'
115966 double_quote_subst='$double_quote_subst'
115967 delay_variable_subst='$delay_variable_subst'
115968 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
115969 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
115970 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
115971 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
115972 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
115973 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
115974 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
115975 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
115976 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
115977 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
115978 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
115979 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
115980 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
115981 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
115982 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
115983 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
115984 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
115985 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
115986 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
115987 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
115988 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
115989 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
115990 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
115991 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
115992 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
115993 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
115994 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
115995 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
115996 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
115997 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
115998 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
115999 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
116000 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
116001 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
116002 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
116003 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
116004 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
116005 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
116006 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
116007 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
116008 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
116009 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
116010 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
116011 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"`'
116012 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
116013 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
116014 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
116015 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
116016 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
116017 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
116018 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
116019 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
116020 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
116021 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
116022 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
116023 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
116024 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
116025 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
116026 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
116027 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
116028 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
116029 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
116030 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
116031 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
116032 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
116033 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
116034 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
116035 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
116036 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
116037 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
116038 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
116039 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
116040 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
116041 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
116042 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
116043 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
116044 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
116045 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
116046 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
116047 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
116048 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
116049 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
116050 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
116051 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
116052 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
116053 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
116054 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
116055 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
116056 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
116057 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
116058 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
116059 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
116060 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
116061 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
116062 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
116063 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
116064 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
116065 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
116066 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
116067 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
116068 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
116069 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
116070 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
116071 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
116072 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
116073 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
116074 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
116075 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
116076 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
116077 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
116078 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
116079 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
116080 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
116081 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
116082 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
116083 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
116084 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116085 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116086 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116087 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116088 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116089 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116090 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116091 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116092 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116093 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116094 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116095 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116096 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116097 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116098 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116099 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116100 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116101 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116102 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116103 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116104 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116105 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116106 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116107 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116108 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116109 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116110 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116111 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116112 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116113 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116114 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116115 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116116 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116117 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116118 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116119 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116120 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116121 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116122 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116123 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116124 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116125 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116126 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116127 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116128 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116129 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
116131 LTCC='$LTCC'
116132 LTCFLAGS='$LTCFLAGS'
116133 compiler='$compiler_DEFAULT'
116135 # Quote evaled strings.
116136 for var in SED \
116137 GREP \
116138 EGREP \
116139 FGREP \
116142 LN_S \
116143 lt_SP2NL \
116144 lt_NL2SP \
116145 reload_flag \
116146 deplibs_check_method \
116147 file_magic_cmd \
116149 AR_FLAGS \
116150 STRIP \
116151 RANLIB \
116153 CFLAGS \
116154 compiler \
116155 lt_cv_sys_global_symbol_pipe \
116156 lt_cv_sys_global_symbol_to_cdecl \
116157 lt_cv_sys_global_symbol_to_c_name_address \
116158 SHELL \
116159 ECHO \
116160 lt_prog_compiler_no_builtin_flag \
116161 lt_prog_compiler_wl \
116162 lt_prog_compiler_pic \
116163 lt_prog_compiler_static \
116164 lt_cv_prog_compiler_c_o \
116165 need_locks \
116166 shrext_cmds \
116167 export_dynamic_flag_spec \
116168 whole_archive_flag_spec \
116169 compiler_needs_object \
116170 with_gnu_ld \
116171 allow_undefined_flag \
116172 no_undefined_flag \
116173 hardcode_libdir_flag_spec \
116174 hardcode_libdir_flag_spec_ld \
116175 hardcode_libdir_separator \
116176 fix_srcfile_path \
116177 exclude_expsyms \
116178 include_expsyms \
116179 file_list_spec \
116180 variables_saved_for_relink \
116181 libname_spec \
116182 library_names_spec \
116183 soname_spec \
116184 finish_eval \
116185 old_striplib \
116186 striplib \
116187 predep_objects \
116188 postdep_objects \
116189 predeps \
116190 postdeps \
116191 compiler_lib_search_path \
116192 LD_CXX \
116193 compiler_CXX \
116194 lt_prog_compiler_no_builtin_flag_CXX \
116195 lt_prog_compiler_wl_CXX \
116196 lt_prog_compiler_pic_CXX \
116197 lt_prog_compiler_static_CXX \
116198 lt_cv_prog_compiler_c_o_CXX \
116199 export_dynamic_flag_spec_CXX \
116200 whole_archive_flag_spec_CXX \
116201 compiler_needs_object_CXX \
116202 with_gnu_ld_CXX \
116203 allow_undefined_flag_CXX \
116204 no_undefined_flag_CXX \
116205 hardcode_libdir_flag_spec_CXX \
116206 hardcode_libdir_flag_spec_ld_CXX \
116207 hardcode_libdir_separator_CXX \
116208 fix_srcfile_path_CXX \
116209 exclude_expsyms_CXX \
116210 include_expsyms_CXX \
116211 file_list_spec_CXX \
116212 predep_objects_CXX \
116213 postdep_objects_CXX \
116214 predeps_CXX \
116215 postdeps_CXX \
116216 compiler_lib_search_path_CXX; do
116217 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
116218 *[\\\\\\\`\\"\\\$]*)
116219 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
116222 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
116227 # Double-quote double-evaled strings.
116228 for var in reload_cmds \
116229 old_postinstall_cmds \
116230 old_postuninstall_cmds \
116231 old_archive_cmds \
116232 extract_expsyms_cmds \
116233 old_archive_from_new_cmds \
116234 old_archive_from_expsyms_cmds \
116235 archive_cmds \
116236 archive_expsym_cmds \
116237 module_cmds \
116238 module_expsym_cmds \
116239 export_symbols_cmds \
116240 prelink_cmds \
116241 postinstall_cmds \
116242 postuninstall_cmds \
116243 finish_cmds \
116244 sys_lib_search_path_spec \
116245 sys_lib_dlsearch_path_spec \
116246 old_archive_cmds_CXX \
116247 old_archive_from_new_cmds_CXX \
116248 old_archive_from_expsyms_cmds_CXX \
116249 archive_cmds_CXX \
116250 archive_expsym_cmds_CXX \
116251 module_cmds_CXX \
116252 module_expsym_cmds_CXX \
116253 export_symbols_cmds_CXX \
116254 prelink_cmds_CXX; do
116255 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
116256 *[\\\\\\\`\\"\\\$]*)
116257 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
116260 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
116265 # Fix-up fallback echo if it was mangled by the above quoting rules.
116266 case \$lt_ECHO in
116267 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
116271 ac_aux_dir='$ac_aux_dir'
116272 xsi_shell='$xsi_shell'
116273 lt_shell_append='$lt_shell_append'
116275 # See if we are running on zsh, and set the options which allow our
116276 # commands through without removal of \ escapes INIT.
116277 if test -n "\${ZSH_VERSION+set}" ; then
116278 setopt NO_GLOB_SUBST
116282 PACKAGE='$PACKAGE'
116283 VERSION='$VERSION'
116284 TIMESTAMP='$TIMESTAMP'
116285 RM='$RM'
116286 ofile='$ofile'
116293 # Variables needed in config.status (file generation) which aren't already
116294 # passed by autoconf.
116295 SUBDIRS="$SUBDIRS"
116298 _ACEOF
116302 cat >>$CONFIG_STATUS <<\_ACEOF
116303 for ac_config_target in $ac_config_targets
116305 case "$ac_config_target" in
116306 # Handling of arguments.
116307 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
116308 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
116309 "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
116310 "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
116311 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
116312 "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
116313 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
116314 "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
116315 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
116316 "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
116317 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
116318 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
116319 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
116320 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
116321 { (exit 1); exit 1; }; };;
116325 # If the user did not use the arguments to specify the items to instantiate,
116326 # then the envvar interface is used. Set only those that are not.
116327 # We use the long form for the default assignment because of an extremely
116328 # bizarre bug on SunOS 4.1.3.
116329 if $ac_need_defaults; then
116330 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
116331 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
116332 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
116335 # Have a temporary directory for convenience. Make it in the build tree
116336 # simply because there is no reason to put it here, and in addition,
116337 # creating and moving files from /tmp can sometimes cause problems.
116338 # Create a temporary directory, and hook for its removal unless debugging.
116339 $debug ||
116341 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
116342 trap '{ (exit 1); exit 1; }' 1 2 13 15
116345 # Create a (secure) tmp directory for tmp files.
116348 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
116349 test -n "$tmp" && test -d "$tmp"
116352 tmp=./confstat$$-$RANDOM
116353 (umask 077 && mkdir $tmp)
116356 echo "$me: cannot create a temporary directory in ." >&2
116357 { (exit 1); exit 1; }
116360 _ACEOF
116362 cat >>$CONFIG_STATUS <<_ACEOF
116365 # CONFIG_FILES section.
116368 # No need to generate the scripts if there are no CONFIG_FILES.
116369 # This happens for instance when ./config.status config.h
116370 if test -n "\$CONFIG_FILES"; then
116371 # Protect against being on the right side of a sed subst in config.status.
116372 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
116373 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
116374 s,@SHELL@,$SHELL,;t t
116375 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
116376 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
116377 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
116378 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
116379 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
116380 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
116381 s,@exec_prefix@,$exec_prefix,;t t
116382 s,@prefix@,$prefix,;t t
116383 s,@program_transform_name@,$program_transform_name,;t t
116384 s,@bindir@,$bindir,;t t
116385 s,@sbindir@,$sbindir,;t t
116386 s,@libexecdir@,$libexecdir,;t t
116387 s,@datadir@,$datadir,;t t
116388 s,@sysconfdir@,$sysconfdir,;t t
116389 s,@sharedstatedir@,$sharedstatedir,;t t
116390 s,@localstatedir@,$localstatedir,;t t
116391 s,@libdir@,$libdir,;t t
116392 s,@includedir@,$includedir,;t t
116393 s,@oldincludedir@,$oldincludedir,;t t
116394 s,@infodir@,$infodir,;t t
116395 s,@mandir@,$mandir,;t t
116396 s,@build_alias@,$build_alias,;t t
116397 s,@host_alias@,$host_alias,;t t
116398 s,@target_alias@,$target_alias,;t t
116399 s,@DEFS@,$DEFS,;t t
116400 s,@ECHO_C@,$ECHO_C,;t t
116401 s,@ECHO_N@,$ECHO_N,;t t
116402 s,@ECHO_T@,$ECHO_T,;t t
116403 s,@LIBS@,$LIBS,;t t
116404 s,@libtool_VERSION@,$libtool_VERSION,;t t
116405 s,@multi_basedir@,$multi_basedir,;t t
116406 s,@build@,$build,;t t
116407 s,@build_cpu@,$build_cpu,;t t
116408 s,@build_vendor@,$build_vendor,;t t
116409 s,@build_os@,$build_os,;t t
116410 s,@host@,$host,;t t
116411 s,@host_cpu@,$host_cpu,;t t
116412 s,@host_vendor@,$host_vendor,;t t
116413 s,@host_os@,$host_os,;t t
116414 s,@target@,$target,;t t
116415 s,@target_cpu@,$target_cpu,;t t
116416 s,@target_vendor@,$target_vendor,;t t
116417 s,@target_os@,$target_os,;t t
116418 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
116419 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
116420 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
116421 s,@CYGPATH_W@,$CYGPATH_W,;t t
116422 s,@PACKAGE@,$PACKAGE,;t t
116423 s,@VERSION@,$VERSION,;t t
116424 s,@ACLOCAL@,$ACLOCAL,;t t
116425 s,@AUTOCONF@,$AUTOCONF,;t t
116426 s,@AUTOMAKE@,$AUTOMAKE,;t t
116427 s,@AUTOHEADER@,$AUTOHEADER,;t t
116428 s,@MAKEINFO@,$MAKEINFO,;t t
116429 s,@install_sh@,$install_sh,;t t
116430 s,@STRIP@,$STRIP,;t t
116431 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
116432 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
116433 s,@mkdir_p@,$mkdir_p,;t t
116434 s,@AWK@,$AWK,;t t
116435 s,@SET_MAKE@,$SET_MAKE,;t t
116436 s,@am__leading_dot@,$am__leading_dot,;t t
116437 s,@AMTAR@,$AMTAR,;t t
116438 s,@am__tar@,$am__tar,;t t
116439 s,@am__untar@,$am__untar,;t t
116440 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
116441 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
116442 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
116443 s,@CC@,$CC,;t t
116444 s,@ac_ct_CC@,$ac_ct_CC,;t t
116445 s,@EXEEXT@,$EXEEXT,;t t
116446 s,@OBJEXT@,$OBJEXT,;t t
116447 s,@CXX@,$CXX,;t t
116448 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
116449 s,@CFLAGS@,$CFLAGS,;t t
116450 s,@CXXFLAGS@,$CXXFLAGS,;t t
116451 s,@LN_S@,$LN_S,;t t
116452 s,@AS@,$AS,;t t
116453 s,@ac_ct_AS@,$ac_ct_AS,;t t
116454 s,@AR@,$AR,;t t
116455 s,@ac_ct_AR@,$ac_ct_AR,;t t
116456 s,@RANLIB@,$RANLIB,;t t
116457 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
116458 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
116459 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
116460 s,@MAINT@,$MAINT,;t t
116461 s,@CPP@,$CPP,;t t
116462 s,@CPPFLAGS@,$CPPFLAGS,;t t
116463 s,@EGREP@,$EGREP,;t t
116464 s,@LIBTOOL@,$LIBTOOL,;t t
116465 s,@SED@,$SED,;t t
116466 s,@FGREP@,$FGREP,;t t
116467 s,@GREP@,$GREP,;t t
116468 s,@LD@,$LD,;t t
116469 s,@DUMPBIN@,$DUMPBIN,;t t
116470 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
116471 s,@NM@,$NM,;t t
116472 s,@lt_ECHO@,$lt_ECHO,;t t
116473 s,@LDFLAGS@,$LDFLAGS,;t t
116474 s,@CXXCPP@,$CXXCPP,;t t
116475 s,@enable_shared@,$enable_shared,;t t
116476 s,@enable_static@,$enable_static,;t t
116477 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
116478 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
116479 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
116480 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
116481 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
116482 s,@CSTDIO_H@,$CSTDIO_H,;t t
116483 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
116484 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
116485 s,@check_msgfmt@,$check_msgfmt,;t t
116486 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
116487 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
116488 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
116489 s,@USE_NLS@,$USE_NLS,;t t
116490 s,@CLOCALE_H@,$CLOCALE_H,;t t
116491 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
116492 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
116493 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
116494 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
116495 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
116496 s,@CMONEY_CC@,$CMONEY_CC,;t t
116497 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
116498 s,@CTIME_H@,$CTIME_H,;t t
116499 s,@CTIME_CC@,$CTIME_CC,;t t
116500 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
116501 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
116502 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
116503 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
116504 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
116505 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
116506 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
116507 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
116508 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
116509 s,@GLIBCXX_C_HEADERS_C_GLOBAL_TRUE@,$GLIBCXX_C_HEADERS_C_GLOBAL_TRUE,;t t
116510 s,@GLIBCXX_C_HEADERS_C_GLOBAL_FALSE@,$GLIBCXX_C_HEADERS_C_GLOBAL_FALSE,;t t
116511 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
116512 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
116513 s,@GLIBCXX_C_HEADERS_EXTRA_TRUE@,$GLIBCXX_C_HEADERS_EXTRA_TRUE,;t t
116514 s,@GLIBCXX_C_HEADERS_EXTRA_FALSE@,$GLIBCXX_C_HEADERS_EXTRA_FALSE,;t t
116515 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
116516 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
116517 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
116518 s,@ENABLE_PARALLEL_TRUE@,$ENABLE_PARALLEL_TRUE,;t t
116519 s,@ENABLE_PARALLEL_FALSE@,$ENABLE_PARALLEL_FALSE,;t t
116520 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
116521 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
116522 s,@WERROR@,$WERROR,;t t
116523 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
116524 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
116525 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
116526 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
116527 s,@LIBICONV@,$LIBICONV,;t t
116528 s,@LTLIBICONV@,$LTLIBICONV,;t t
116529 s,@SYMVER_FILE@,$SYMVER_FILE,;t t
116530 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
116531 s,@ENABLE_SYMVERS_TRUE@,$ENABLE_SYMVERS_TRUE,;t t
116532 s,@ENABLE_SYMVERS_FALSE@,$ENABLE_SYMVERS_FALSE,;t t
116533 s,@ENABLE_SYMVERS_GNU_TRUE@,$ENABLE_SYMVERS_GNU_TRUE,;t t
116534 s,@ENABLE_SYMVERS_GNU_FALSE@,$ENABLE_SYMVERS_GNU_FALSE,;t t
116535 s,@ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@,$ENABLE_SYMVERS_GNU_NAMESPACE_TRUE,;t t
116536 s,@ENABLE_SYMVERS_GNU_NAMESPACE_FALSE@,$ENABLE_SYMVERS_GNU_NAMESPACE_FALSE,;t t
116537 s,@ENABLE_SYMVERS_DARWIN_TRUE@,$ENABLE_SYMVERS_DARWIN_TRUE,;t t
116538 s,@ENABLE_SYMVERS_DARWIN_FALSE@,$ENABLE_SYMVERS_DARWIN_FALSE,;t t
116539 s,@ENABLE_VISIBILITY_TRUE@,$ENABLE_VISIBILITY_TRUE,;t t
116540 s,@ENABLE_VISIBILITY_FALSE@,$ENABLE_VISIBILITY_FALSE,;t t
116541 s,@GLIBCXX_LDBL_COMPAT_TRUE@,$GLIBCXX_LDBL_COMPAT_TRUE,;t t
116542 s,@GLIBCXX_LDBL_COMPAT_FALSE@,$GLIBCXX_LDBL_COMPAT_FALSE,;t t
116543 s,@baseline_dir@,$baseline_dir,;t t
116544 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
116545 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
116546 s,@ATOMIC_FLAGS@,$ATOMIC_FLAGS,;t t
116547 s,@CPU_DEFINES_SRCDIR@,$CPU_DEFINES_SRCDIR,;t t
116548 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
116549 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
116550 s,@ERROR_CONSTANTS_SRCDIR@,$ERROR_CONSTANTS_SRCDIR,;t t
116551 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
116552 s,@gxx_include_dir@,$gxx_include_dir,;t t
116553 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
116554 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
116555 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
116556 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
116557 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
116558 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
116559 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
116560 s,@LIBOBJS@,$LIBOBJS,;t t
116561 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
116564 _ACEOF
116566 cat >>$CONFIG_STATUS <<\_ACEOF
116567 # Split the substitutions into bite-sized pieces for seds with
116568 # small command number limits, like on Digital OSF/1 and HP-UX.
116569 ac_max_sed_lines=48
116570 ac_sed_frag=1 # Number of current file.
116571 ac_beg=1 # First line for current file.
116572 ac_end=$ac_max_sed_lines # Line after last line for current file.
116573 ac_more_lines=:
116574 ac_sed_cmds=
116575 while $ac_more_lines; do
116576 if test $ac_beg -gt 1; then
116577 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
116579 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
116581 if test ! -s $tmp/subs.frag; then
116582 ac_more_lines=false
116584 # The purpose of the label and of the branching condition is to
116585 # speed up the sed processing (if there are no `@' at all, there
116586 # is no need to browse any of the substitutions).
116587 # These are the two extra sed commands mentioned above.
116588 (echo ':t
116589 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
116590 if test -z "$ac_sed_cmds"; then
116591 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
116593 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
116595 ac_sed_frag=`expr $ac_sed_frag + 1`
116596 ac_beg=$ac_end
116597 ac_end=`expr $ac_end + $ac_max_sed_lines`
116600 if test -z "$ac_sed_cmds"; then
116601 ac_sed_cmds=cat
116603 fi # test -n "$CONFIG_FILES"
116605 _ACEOF
116606 cat >>$CONFIG_STATUS <<\_ACEOF
116607 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
116608 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
116609 case $ac_file in
116610 - | *:- | *:-:* ) # input from stdin
116611 cat >$tmp/stdin
116612 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
116613 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
116614 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
116615 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
116616 * ) ac_file_in=$ac_file.in ;;
116619 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
116620 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
116621 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
116622 X"$ac_file" : 'X\(//\)[^/]' \| \
116623 X"$ac_file" : 'X\(//\)$' \| \
116624 X"$ac_file" : 'X\(/\)' \| \
116625 . : '\(.\)' 2>/dev/null ||
116626 echo X"$ac_file" |
116627 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
116628 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
116629 /^X\(\/\/\)$/{ s//\1/; q; }
116630 /^X\(\/\).*/{ s//\1/; q; }
116631 s/.*/./; q'`
116632 { if $as_mkdir_p; then
116633 mkdir -p "$ac_dir"
116635 as_dir="$ac_dir"
116636 as_dirs=
116637 while test ! -d "$as_dir"; do
116638 as_dirs="$as_dir $as_dirs"
116639 as_dir=`(dirname "$as_dir") 2>/dev/null ||
116640 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
116641 X"$as_dir" : 'X\(//\)[^/]' \| \
116642 X"$as_dir" : 'X\(//\)$' \| \
116643 X"$as_dir" : 'X\(/\)' \| \
116644 . : '\(.\)' 2>/dev/null ||
116645 echo X"$as_dir" |
116646 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
116647 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
116648 /^X\(\/\/\)$/{ s//\1/; q; }
116649 /^X\(\/\).*/{ s//\1/; q; }
116650 s/.*/./; q'`
116652 test ! -n "$as_dirs" || mkdir $as_dirs
116653 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
116654 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
116655 { (exit 1); exit 1; }; }; }
116657 ac_builddir=.
116659 if test "$ac_dir" != .; then
116660 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
116661 # A "../" for each directory in $ac_dir_suffix.
116662 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
116664 ac_dir_suffix= ac_top_builddir=
116667 case $srcdir in
116668 .) # No --srcdir option. We are building in place.
116669 ac_srcdir=.
116670 if test -z "$ac_top_builddir"; then
116671 ac_top_srcdir=.
116673 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
116674 fi ;;
116675 [\\/]* | ?:[\\/]* ) # Absolute path.
116676 ac_srcdir=$srcdir$ac_dir_suffix;
116677 ac_top_srcdir=$srcdir ;;
116678 *) # Relative path.
116679 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
116680 ac_top_srcdir=$ac_top_builddir$srcdir ;;
116683 # Do not use `cd foo && pwd` to compute absolute paths, because
116684 # the directories may not exist.
116685 case `pwd` in
116686 .) ac_abs_builddir="$ac_dir";;
116688 case "$ac_dir" in
116689 .) ac_abs_builddir=`pwd`;;
116690 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
116691 *) ac_abs_builddir=`pwd`/"$ac_dir";;
116692 esac;;
116694 case $ac_abs_builddir in
116695 .) ac_abs_top_builddir=${ac_top_builddir}.;;
116697 case ${ac_top_builddir}. in
116698 .) ac_abs_top_builddir=$ac_abs_builddir;;
116699 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
116700 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
116701 esac;;
116703 case $ac_abs_builddir in
116704 .) ac_abs_srcdir=$ac_srcdir;;
116706 case $ac_srcdir in
116707 .) ac_abs_srcdir=$ac_abs_builddir;;
116708 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
116709 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
116710 esac;;
116712 case $ac_abs_builddir in
116713 .) ac_abs_top_srcdir=$ac_top_srcdir;;
116715 case $ac_top_srcdir in
116716 .) ac_abs_top_srcdir=$ac_abs_builddir;;
116717 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
116718 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
116719 esac;;
116723 case $INSTALL in
116724 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
116725 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
116728 if test x"$ac_file" != x-; then
116729 { echo "$as_me:$LINENO: creating $ac_file" >&5
116730 echo "$as_me: creating $ac_file" >&6;}
116731 rm -f "$ac_file"
116733 # Let's still pretend it is `configure' which instantiates (i.e., don't
116734 # use $as_me), people would be surprised to read:
116735 # /* config.h. Generated by config.status. */
116736 if test x"$ac_file" = x-; then
116737 configure_input=
116739 configure_input="$ac_file. "
116741 configure_input=$configure_input"Generated from `echo $ac_file_in |
116742 sed 's,.*/,,'` by configure."
116744 # First look for the input files in the build tree, otherwise in the
116745 # src tree.
116746 ac_file_inputs=`IFS=:
116747 for f in $ac_file_in; do
116748 case $f in
116749 -) echo $tmp/stdin ;;
116750 [\\/$]*)
116751 # Absolute (can't be DOS-style, as IFS=:)
116752 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
116753 echo "$as_me: error: cannot find input file: $f" >&2;}
116754 { (exit 1); exit 1; }; }
116755 echo "$f";;
116756 *) # Relative
116757 if test -f "$f"; then
116758 # Build tree
116759 echo "$f"
116760 elif test -f "$srcdir/$f"; then
116761 # Source tree
116762 echo "$srcdir/$f"
116764 # /dev/null tree
116765 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
116766 echo "$as_me: error: cannot find input file: $f" >&2;}
116767 { (exit 1); exit 1; }; }
116770 done` || { (exit 1); exit 1; }
116771 _ACEOF
116772 cat >>$CONFIG_STATUS <<_ACEOF
116773 sed "$ac_vpsub
116774 $extrasub
116775 _ACEOF
116776 cat >>$CONFIG_STATUS <<\_ACEOF
116778 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
116779 s,@configure_input@,$configure_input,;t t
116780 s,@srcdir@,$ac_srcdir,;t t
116781 s,@abs_srcdir@,$ac_abs_srcdir,;t t
116782 s,@top_srcdir@,$ac_top_srcdir,;t t
116783 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
116784 s,@builddir@,$ac_builddir,;t t
116785 s,@abs_builddir@,$ac_abs_builddir,;t t
116786 s,@top_builddir@,$ac_top_builddir,;t t
116787 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
116788 s,@INSTALL@,$ac_INSTALL,;t t
116789 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
116790 rm -f $tmp/stdin
116791 if test x"$ac_file" != x-; then
116792 mv $tmp/out $ac_file
116794 cat $tmp/out
116795 rm -f $tmp/out
116798 # Run the commands associated with the file.
116799 case $ac_file in
116800 scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
116803 _ACEOF
116804 cat >>$CONFIG_STATUS <<\_ACEOF
116807 # CONFIG_HEADER section.
116810 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
116811 # NAME is the cpp macro being defined and VALUE is the value it is being given.
116813 # ac_d sets the value in "#define NAME VALUE" lines.
116814 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
116815 ac_dB='[ ].*$,\1#\2'
116816 ac_dC=' '
116817 ac_dD=',;t'
116818 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
116819 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
116820 ac_uB='$,\1#\2define\3'
116821 ac_uC=' '
116822 ac_uD=',;t'
116824 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
116825 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
116826 case $ac_file in
116827 - | *:- | *:-:* ) # input from stdin
116828 cat >$tmp/stdin
116829 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
116830 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
116831 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
116832 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
116833 * ) ac_file_in=$ac_file.in ;;
116836 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
116837 echo "$as_me: creating $ac_file" >&6;}
116839 # First look for the input files in the build tree, otherwise in the
116840 # src tree.
116841 ac_file_inputs=`IFS=:
116842 for f in $ac_file_in; do
116843 case $f in
116844 -) echo $tmp/stdin ;;
116845 [\\/$]*)
116846 # Absolute (can't be DOS-style, as IFS=:)
116847 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
116848 echo "$as_me: error: cannot find input file: $f" >&2;}
116849 { (exit 1); exit 1; }; }
116850 # Do quote $f, to prevent DOS paths from being IFS'd.
116851 echo "$f";;
116852 *) # Relative
116853 if test -f "$f"; then
116854 # Build tree
116855 echo "$f"
116856 elif test -f "$srcdir/$f"; then
116857 # Source tree
116858 echo "$srcdir/$f"
116860 # /dev/null tree
116861 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
116862 echo "$as_me: error: cannot find input file: $f" >&2;}
116863 { (exit 1); exit 1; }; }
116866 done` || { (exit 1); exit 1; }
116867 # Remove the trailing spaces.
116868 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
116870 _ACEOF
116872 # Transform confdefs.h into two sed scripts, `conftest.defines' and
116873 # `conftest.undefs', that substitutes the proper values into
116874 # config.h.in to produce config.h. The first handles `#define'
116875 # templates, and the second `#undef' templates.
116876 # And first: Protect against being on the right side of a sed subst in
116877 # config.status. Protect against being in an unquoted here document
116878 # in config.status.
116879 rm -f conftest.defines conftest.undefs
116880 # Using a here document instead of a string reduces the quoting nightmare.
116881 # Putting comments in sed scripts is not portable.
116883 # `end' is used to avoid that the second main sed command (meant for
116884 # 0-ary CPP macros) applies to n-ary macro definitions.
116885 # See the Autoconf documentation for `clear'.
116886 cat >confdef2sed.sed <<\_ACEOF
116887 s/[\\&,]/\\&/g
116888 s,[\\$`],\\&,g
116889 t clear
116890 : clear
116891 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
116892 t end
116893 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
116894 : end
116895 _ACEOF
116896 # If some macros were called several times there might be several times
116897 # the same #defines, which is useless. Nevertheless, we may not want to
116898 # sort them, since we want the *last* AC-DEFINE to be honored.
116899 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
116900 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
116901 rm -f confdef2sed.sed
116903 # This sed command replaces #undef with comments. This is necessary, for
116904 # example, in the case of _POSIX_SOURCE, which is predefined and required
116905 # on some systems where configure will not decide to define it.
116906 cat >>conftest.undefs <<\_ACEOF
116907 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
116908 _ACEOF
116910 # Break up conftest.defines because some shells have a limit on the size
116911 # of here documents, and old seds have small limits too (100 cmds).
116912 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
116913 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
116914 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
116915 echo ' :' >>$CONFIG_STATUS
116916 rm -f conftest.tail
116917 while grep . conftest.defines >/dev/null
116919 # Write a limited-size here document to $tmp/defines.sed.
116920 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
116921 # Speed up: don't consider the non `#define' lines.
116922 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
116923 # Work around the forget-to-reset-the-flag bug.
116924 echo 't clr' >>$CONFIG_STATUS
116925 echo ': clr' >>$CONFIG_STATUS
116926 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
116927 echo 'CEOF
116928 sed -f $tmp/defines.sed $tmp/in >$tmp/out
116929 rm -f $tmp/in
116930 mv $tmp/out $tmp/in
116931 ' >>$CONFIG_STATUS
116932 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
116933 rm -f conftest.defines
116934 mv conftest.tail conftest.defines
116936 rm -f conftest.defines
116937 echo ' fi # grep' >>$CONFIG_STATUS
116938 echo >>$CONFIG_STATUS
116940 # Break up conftest.undefs because some shells have a limit on the size
116941 # of here documents, and old seds have small limits too (100 cmds).
116942 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
116943 rm -f conftest.tail
116944 while grep . conftest.undefs >/dev/null
116946 # Write a limited-size here document to $tmp/undefs.sed.
116947 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
116948 # Speed up: don't consider the non `#undef'
116949 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
116950 # Work around the forget-to-reset-the-flag bug.
116951 echo 't clr' >>$CONFIG_STATUS
116952 echo ': clr' >>$CONFIG_STATUS
116953 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
116954 echo 'CEOF
116955 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
116956 rm -f $tmp/in
116957 mv $tmp/out $tmp/in
116958 ' >>$CONFIG_STATUS
116959 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
116960 rm -f conftest.undefs
116961 mv conftest.tail conftest.undefs
116963 rm -f conftest.undefs
116965 cat >>$CONFIG_STATUS <<\_ACEOF
116966 # Let's still pretend it is `configure' which instantiates (i.e., don't
116967 # use $as_me), people would be surprised to read:
116968 # /* config.h. Generated by config.status. */
116969 if test x"$ac_file" = x-; then
116970 echo "/* Generated by configure. */" >$tmp/config.h
116972 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
116974 cat $tmp/in >>$tmp/config.h
116975 rm -f $tmp/in
116976 if test x"$ac_file" != x-; then
116977 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
116978 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
116979 echo "$as_me: $ac_file is unchanged" >&6;}
116981 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
116982 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
116983 X"$ac_file" : 'X\(//\)[^/]' \| \
116984 X"$ac_file" : 'X\(//\)$' \| \
116985 X"$ac_file" : 'X\(/\)' \| \
116986 . : '\(.\)' 2>/dev/null ||
116987 echo X"$ac_file" |
116988 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
116989 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
116990 /^X\(\/\/\)$/{ s//\1/; q; }
116991 /^X\(\/\).*/{ s//\1/; q; }
116992 s/.*/./; q'`
116993 { if $as_mkdir_p; then
116994 mkdir -p "$ac_dir"
116996 as_dir="$ac_dir"
116997 as_dirs=
116998 while test ! -d "$as_dir"; do
116999 as_dirs="$as_dir $as_dirs"
117000 as_dir=`(dirname "$as_dir") 2>/dev/null ||
117001 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
117002 X"$as_dir" : 'X\(//\)[^/]' \| \
117003 X"$as_dir" : 'X\(//\)$' \| \
117004 X"$as_dir" : 'X\(/\)' \| \
117005 . : '\(.\)' 2>/dev/null ||
117006 echo X"$as_dir" |
117007 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
117008 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
117009 /^X\(\/\/\)$/{ s//\1/; q; }
117010 /^X\(\/\).*/{ s//\1/; q; }
117011 s/.*/./; q'`
117013 test ! -n "$as_dirs" || mkdir $as_dirs
117014 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
117015 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
117016 { (exit 1); exit 1; }; }; }
117018 rm -f $ac_file
117019 mv $tmp/config.h $ac_file
117022 cat $tmp/config.h
117023 rm -f $tmp/config.h
117025 # Compute $ac_file's index in $config_headers.
117026 _am_stamp_count=1
117027 for _am_header in $config_headers :; do
117028 case $_am_header in
117029 $ac_file | $ac_file:* )
117030 break ;;
117032 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
117035 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
117036 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
117037 X$ac_file : 'X\(//\)[^/]' \| \
117038 X$ac_file : 'X\(//\)$' \| \
117039 X$ac_file : 'X\(/\)' \| \
117040 . : '\(.\)' 2>/dev/null ||
117041 echo X$ac_file |
117042 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
117043 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
117044 /^X\(\/\/\)$/{ s//\1/; q; }
117045 /^X\(\/\).*/{ s//\1/; q; }
117046 s/.*/./; q'`/stamp-h$_am_stamp_count
117048 _ACEOF
117049 cat >>$CONFIG_STATUS <<\_ACEOF
117052 # CONFIG_COMMANDS section.
117054 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
117055 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
117056 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
117057 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
117058 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
117059 X"$ac_dest" : 'X\(//\)[^/]' \| \
117060 X"$ac_dest" : 'X\(//\)$' \| \
117061 X"$ac_dest" : 'X\(/\)' \| \
117062 . : '\(.\)' 2>/dev/null ||
117063 echo X"$ac_dest" |
117064 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
117065 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
117066 /^X\(\/\/\)$/{ s//\1/; q; }
117067 /^X\(\/\).*/{ s//\1/; q; }
117068 s/.*/./; q'`
117069 { if $as_mkdir_p; then
117070 mkdir -p "$ac_dir"
117072 as_dir="$ac_dir"
117073 as_dirs=
117074 while test ! -d "$as_dir"; do
117075 as_dirs="$as_dir $as_dirs"
117076 as_dir=`(dirname "$as_dir") 2>/dev/null ||
117077 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
117078 X"$as_dir" : 'X\(//\)[^/]' \| \
117079 X"$as_dir" : 'X\(//\)$' \| \
117080 X"$as_dir" : 'X\(/\)' \| \
117081 . : '\(.\)' 2>/dev/null ||
117082 echo X"$as_dir" |
117083 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
117084 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
117085 /^X\(\/\/\)$/{ s//\1/; q; }
117086 /^X\(\/\).*/{ s//\1/; q; }
117087 s/.*/./; q'`
117089 test ! -n "$as_dirs" || mkdir $as_dirs
117090 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
117091 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
117092 { (exit 1); exit 1; }; }; }
117094 ac_builddir=.
117096 if test "$ac_dir" != .; then
117097 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
117098 # A "../" for each directory in $ac_dir_suffix.
117099 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
117101 ac_dir_suffix= ac_top_builddir=
117104 case $srcdir in
117105 .) # No --srcdir option. We are building in place.
117106 ac_srcdir=.
117107 if test -z "$ac_top_builddir"; then
117108 ac_top_srcdir=.
117110 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
117111 fi ;;
117112 [\\/]* | ?:[\\/]* ) # Absolute path.
117113 ac_srcdir=$srcdir$ac_dir_suffix;
117114 ac_top_srcdir=$srcdir ;;
117115 *) # Relative path.
117116 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
117117 ac_top_srcdir=$ac_top_builddir$srcdir ;;
117120 # Do not use `cd foo && pwd` to compute absolute paths, because
117121 # the directories may not exist.
117122 case `pwd` in
117123 .) ac_abs_builddir="$ac_dir";;
117125 case "$ac_dir" in
117126 .) ac_abs_builddir=`pwd`;;
117127 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
117128 *) ac_abs_builddir=`pwd`/"$ac_dir";;
117129 esac;;
117131 case $ac_abs_builddir in
117132 .) ac_abs_top_builddir=${ac_top_builddir}.;;
117134 case ${ac_top_builddir}. in
117135 .) ac_abs_top_builddir=$ac_abs_builddir;;
117136 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
117137 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
117138 esac;;
117140 case $ac_abs_builddir in
117141 .) ac_abs_srcdir=$ac_srcdir;;
117143 case $ac_srcdir in
117144 .) ac_abs_srcdir=$ac_abs_builddir;;
117145 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
117146 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
117147 esac;;
117149 case $ac_abs_builddir in
117150 .) ac_abs_top_srcdir=$ac_top_srcdir;;
117152 case $ac_top_srcdir in
117153 .) ac_abs_top_srcdir=$ac_abs_builddir;;
117154 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
117155 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
117156 esac;;
117160 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
117161 echo "$as_me: executing $ac_dest commands" >&6;}
117162 case $ac_dest in
117163 default-1 )
117164 # Only add multilib support code if we just rebuilt the top-level
117165 # Makefile.
117166 case " $CONFIG_FILES " in
117167 *" Makefile "*)
117168 ac_file=Makefile . ${multi_basedir}/config-ml.in
117170 esac ;;
117171 libtool )
117173 # See if we are running on zsh, and set the options which allow our
117174 # commands through without removal of \ escapes.
117175 if test -n "${ZSH_VERSION+set}" ; then
117176 setopt NO_GLOB_SUBST
117179 cfgfile="${ofile}T"
117180 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
117181 $RM "$cfgfile"
117183 cat <<_LT_EOF >> "$cfgfile"
117184 #! $SHELL
117186 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
117187 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
117188 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
117189 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
117191 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
117192 # 2006, 2007 Free Software Foundation, Inc.
117194 # This file is part of GNU Libtool:
117195 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
117197 # This program is free software; you can redistribute it and/or modify
117198 # it under the terms of the GNU General Public License as published by
117199 # the Free Software Foundation; either version 2 of the License, or
117200 # (at your option) any later version.
117202 # This program is distributed in the hope that it will be useful, but
117203 # WITHOUT ANY WARRANTY; without even the implied warranty of
117204 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
117205 # General Public License for more details.
117207 # You should have received a copy of the GNU General Public License
117208 # along with this program; if not, a copy can be downloaded from
117209 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
117210 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
117211 # MA 02110-1301, USA.
117213 # As a special exception to the GNU General Public License, if you
117214 # distribute this file as part of a program that contains a
117215 # configuration script generated by Autoconf, you may include it under
117216 # the same distribution terms that you use for the rest of that program.
117219 # The names of the tagged configurations supported by this script.
117220 available_tags="CXX "
117222 # ### BEGIN LIBTOOL CONFIG
117224 # Which release of libtool.m4 was used?
117225 macro_version=$macro_version
117226 macro_revision=$macro_revision
117228 # Whether or not to build shared libraries.
117229 build_libtool_libs=$enable_shared
117231 # Whether or not to build static libraries.
117232 build_old_libs=$enable_static
117234 # What type of objects to build.
117235 pic_mode=$pic_mode
117237 # Whether or not to optimize for fast installation.
117238 fast_install=$enable_fast_install
117240 # The host system.
117241 host_alias=$host_alias
117242 host=$host
117243 host_os=$host_os
117245 # The build system.
117246 build_alias=$build_alias
117247 build=$build
117248 build_os=$build_os
117250 # A sed program that does not truncate output.
117251 SED=$lt_SED
117253 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
117254 Xsed="\$SED -e 1s/^X//"
117256 # A grep program that handles long lines.
117257 GREP=$lt_GREP
117259 # An ERE matcher.
117260 EGREP=$lt_EGREP
117262 # A literal string matcher.
117263 FGREP=$lt_FGREP
117265 # A BSD- or MS-compatible name lister.
117266 NM=$lt_NM
117268 # Whether we need soft or hard links.
117269 LN_S=$lt_LN_S
117271 # What is the maximum length of a command?
117272 max_cmd_len=$max_cmd_len
117274 # Object file suffix (normally "o").
117275 objext=$ac_objext
117277 # Executable file suffix (normally "").
117278 exeext=$exeext
117280 # whether the shell understands "unset".
117281 lt_unset=$lt_unset
117283 # turn spaces into newlines.
117284 SP2NL=$lt_lt_SP2NL
117286 # turn newlines into spaces.
117287 NL2SP=$lt_lt_NL2SP
117289 # How to create reloadable object files.
117290 reload_flag=$lt_reload_flag
117291 reload_cmds=$lt_reload_cmds
117293 # Method to check whether dependent libraries are shared objects.
117294 deplibs_check_method=$lt_deplibs_check_method
117296 # Command to use when deplibs_check_method == "file_magic".
117297 file_magic_cmd=$lt_file_magic_cmd
117299 # The archiver.
117300 AR=$lt_AR
117301 AR_FLAGS=$lt_AR_FLAGS
117303 # A symbol stripping program.
117304 STRIP=$lt_STRIP
117306 # Commands used to install an old-style archive.
117307 RANLIB=$lt_RANLIB
117308 old_postinstall_cmds=$lt_old_postinstall_cmds
117309 old_postuninstall_cmds=$lt_old_postuninstall_cmds
117311 # A C compiler.
117312 LTCC=$lt_CC
117314 # LTCC compiler flags.
117315 LTCFLAGS=$lt_CFLAGS
117317 # Take the output of nm and produce a listing of raw symbols and C names.
117318 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
117320 # Transform the output of nm in a proper C declaration.
117321 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
117323 # Transform the output of nm in a C name address pair.
117324 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
117326 # The name of the directory that contains temporary libtool files.
117327 objdir=$objdir
117329 # Shell to use when invoking shell scripts.
117330 SHELL=$lt_SHELL
117332 # An echo program that does not interpret backslashes.
117333 ECHO=$lt_ECHO
117335 # Used to examine libraries when file_magic_cmd begins with "file".
117336 MAGIC_CMD=$MAGIC_CMD
117338 # Must we lock files when doing compilation?
117339 need_locks=$lt_need_locks
117341 # Old archive suffix (normally "a").
117342 libext=$libext
117344 # Shared library suffix (normally ".so").
117345 shrext_cmds=$lt_shrext_cmds
117347 # The commands to extract the exported symbol list from a shared archive.
117348 extract_expsyms_cmds=$lt_extract_expsyms_cmds
117350 # Variables whose values should be saved in libtool wrapper scripts and
117351 # restored at link time.
117352 variables_saved_for_relink=$lt_variables_saved_for_relink
117354 # Do we need the "lib" prefix for modules?
117355 need_lib_prefix=$need_lib_prefix
117357 # Do we need a version for libraries?
117358 need_version=$need_version
117360 # Library versioning type.
117361 version_type=$version_type
117363 # Shared library runtime path variable.
117364 runpath_var=$runpath_var
117366 # Shared library path variable.
117367 shlibpath_var=$shlibpath_var
117369 # Is shlibpath searched before the hard-coded library search path?
117370 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
117372 # Format of library name prefix.
117373 libname_spec=$lt_libname_spec
117375 # List of archive names. First name is the real one, the rest are links.
117376 # The last name is the one that the linker finds with -lNAME
117377 library_names_spec=$lt_library_names_spec
117379 # The coded name of the library, if different from the real name.
117380 soname_spec=$lt_soname_spec
117382 # Command to use after installation of a shared archive.
117383 postinstall_cmds=$lt_postinstall_cmds
117385 # Command to use after uninstallation of a shared archive.
117386 postuninstall_cmds=$lt_postuninstall_cmds
117388 # Commands used to finish a libtool library installation in a directory.
117389 finish_cmds=$lt_finish_cmds
117391 # As "finish_cmds", except a single script fragment to be evaled but
117392 # not shown.
117393 finish_eval=$lt_finish_eval
117395 # Whether we should hardcode library paths into libraries.
117396 hardcode_into_libs=$hardcode_into_libs
117398 # Compile-time system search path for libraries.
117399 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
117401 # Run-time system search path for libraries.
117402 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
117404 # Whether dlopen is supported.
117405 dlopen_support=$enable_dlopen
117407 # Whether dlopen of programs is supported.
117408 dlopen_self=$enable_dlopen_self
117410 # Whether dlopen of statically linked programs is supported.
117411 dlopen_self_static=$enable_dlopen_self_static
117413 # Commands to strip libraries.
117414 old_striplib=$lt_old_striplib
117415 striplib=$lt_striplib
117418 # The linker used to build libraries.
117419 LD=$lt_LD
117421 # Commands used to build an old-style archive.
117422 old_archive_cmds=$lt_old_archive_cmds
117424 # A language specific compiler.
117425 CC=$lt_compiler
117427 # Is the compiler the GNU compiler?
117428 with_gcc=$GCC
117430 # Compiler flag to turn off builtin functions.
117431 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
117433 # How to pass a linker flag through the compiler.
117434 wl=$lt_lt_prog_compiler_wl
117436 # Additional compiler flags for building library objects.
117437 pic_flag=$lt_lt_prog_compiler_pic
117439 # Compiler flag to prevent dynamic linking.
117440 link_static_flag=$lt_lt_prog_compiler_static
117442 # Does compiler simultaneously support -c and -o options?
117443 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
117445 # Whether or not to add -lc for building shared libraries.
117446 build_libtool_need_lc=$archive_cmds_need_lc
117448 # Whether or not to disallow shared libs when runtime libs are static.
117449 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
117451 # Compiler flag to allow reflexive dlopens.
117452 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
117454 # Compiler flag to generate shared objects directly from archives.
117455 whole_archive_flag_spec=$lt_whole_archive_flag_spec
117457 # Whether the compiler copes with passing no objects directly.
117458 compiler_needs_object=$lt_compiler_needs_object
117460 # Create an old-style archive from a shared archive.
117461 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
117463 # Create a temporary old-style archive to link instead of a shared archive.
117464 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
117466 # Commands used to build a shared archive.
117467 archive_cmds=$lt_archive_cmds
117468 archive_expsym_cmds=$lt_archive_expsym_cmds
117470 # Commands used to build a loadable module if different from building
117471 # a shared archive.
117472 module_cmds=$lt_module_cmds
117473 module_expsym_cmds=$lt_module_expsym_cmds
117475 # Whether we are building with GNU ld or not.
117476 with_gnu_ld=$lt_with_gnu_ld
117478 # Flag that allows shared libraries with undefined symbols to be built.
117479 allow_undefined_flag=$lt_allow_undefined_flag
117481 # Flag that enforces no undefined symbols.
117482 no_undefined_flag=$lt_no_undefined_flag
117484 # Flag to hardcode \$libdir into a binary during linking.
117485 # This must work even if \$libdir does not exist
117486 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
117488 # If ld is used when linking, flag to hardcode \$libdir into a binary
117489 # during linking. This must work even if \$libdir does not exist.
117490 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
117492 # Whether we need a single "-rpath" flag with a separated argument.
117493 hardcode_libdir_separator=$lt_hardcode_libdir_separator
117495 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
117496 # DIR into the resulting binary.
117497 hardcode_direct=$hardcode_direct
117499 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
117500 # DIR into the resulting binary and the resulting library dependency is
117501 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
117502 # library is relocated.
117503 hardcode_direct_absolute=$hardcode_direct_absolute
117505 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
117506 # into the resulting binary.
117507 hardcode_minus_L=$hardcode_minus_L
117509 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
117510 # into the resulting binary.
117511 hardcode_shlibpath_var=$hardcode_shlibpath_var
117513 # Set to "yes" if building a shared library automatically hardcodes DIR
117514 # into the library and all subsequent libraries and executables linked
117515 # against it.
117516 hardcode_automatic=$hardcode_automatic
117518 # Set to yes if linker adds runtime paths of dependent libraries
117519 # to runtime path list.
117520 inherit_rpath=$inherit_rpath
117522 # Whether libtool must link a program against all its dependency libraries.
117523 link_all_deplibs=$link_all_deplibs
117525 # Fix the shell variable \$srcfile for the compiler.
117526 fix_srcfile_path=$lt_fix_srcfile_path
117528 # Set to "yes" if exported symbols are required.
117529 always_export_symbols=$always_export_symbols
117531 # The commands to list exported symbols.
117532 export_symbols_cmds=$lt_export_symbols_cmds
117534 # Symbols that should not be listed in the preloaded symbols.
117535 exclude_expsyms=$lt_exclude_expsyms
117537 # Symbols that must always be exported.
117538 include_expsyms=$lt_include_expsyms
117540 # Commands necessary for linking programs (against libraries) with templates.
117541 prelink_cmds=$lt_prelink_cmds
117543 # Specify filename containing input files.
117544 file_list_spec=$lt_file_list_spec
117546 # How to hardcode a shared library path into an executable.
117547 hardcode_action=$hardcode_action
117549 # Dependencies to place before and after the objects being linked to
117550 # create a shared library.
117551 predep_objects=$lt_predep_objects
117552 postdep_objects=$lt_postdep_objects
117553 predeps=$lt_predeps
117554 postdeps=$lt_postdeps
117556 # The library search path used internally by the compiler when linking
117557 # a shared library.
117558 compiler_lib_search_path=$lt_compiler_lib_search_path
117560 # ### END LIBTOOL CONFIG
117562 _LT_EOF
117564 case $host_os in
117565 aix3*)
117566 cat <<\_LT_EOF >> "$cfgfile"
117567 # AIX sometimes has problems with the GCC collect2 program. For some
117568 # reason, if we set the COLLECT_NAMES environment variable, the problems
117569 # vanish in a puff of smoke.
117570 if test "X${COLLECT_NAMES+set}" != Xset; then
117571 COLLECT_NAMES=
117572 export COLLECT_NAMES
117574 _LT_EOF
117579 ltmain="$ac_aux_dir/ltmain.sh"
117582 # We use sed instead of cat because bash on DJGPP gets confused if
117583 # if finds mixed CR/LF and LF-only lines. Since sed operates in
117584 # text mode, it properly converts lines to CR/LF. This bash problem
117585 # is reportedly fixed, but why not run on old versions too?
117586 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
117587 || (rm -f "$cfgfile"; exit 1)
117589 case $xsi_shell in
117591 cat << \_LT_EOF >> "$cfgfile"
117592 # func_dirname file append nondir_replacement
117593 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
117594 # otherwise set result to NONDIR_REPLACEMENT.
117595 func_dirname ()
117597 case ${1} in
117598 */*) func_dirname_result="${1%/*}${2}" ;;
117599 * ) func_dirname_result="${3}" ;;
117603 # func_basename file
117604 func_basename ()
117606 func_basename_result="${1##*/}"
117609 # func_stripname prefix suffix name
117610 # strip PREFIX and SUFFIX off of NAME.
117611 # PREFIX and SUFFIX must not contain globbing or regex special
117612 # characters, hashes, percent signs, but SUFFIX may contain a leading
117613 # dot (in which case that matches only a dot).
117614 func_stripname ()
117616 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
117617 # positional parameters, so assign one to ordinary parameter first.
117618 func_stripname_result=${3}
117619 func_stripname_result=${func_stripname_result#"${1}"}
117620 func_stripname_result=${func_stripname_result%"${2}"}
117623 # func_opt_split
117624 func_opt_split ()
117626 func_opt_split_opt=${1%%=*}
117627 func_opt_split_arg=${1#*=}
117630 # func_lo2o object
117631 func_lo2o ()
117633 case ${1} in
117634 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
117635 *) func_lo2o_result=${1} ;;
117638 _LT_EOF
117640 *) # Bourne compatible functions.
117641 cat << \_LT_EOF >> "$cfgfile"
117642 # func_dirname file append nondir_replacement
117643 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
117644 # otherwise set result to NONDIR_REPLACEMENT.
117645 func_dirname ()
117647 # Extract subdirectory from the argument.
117648 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
117649 if test "X$func_dirname_result" = "X${1}"; then
117650 func_dirname_result="${3}"
117652 func_dirname_result="$func_dirname_result${2}"
117656 # func_basename file
117657 func_basename ()
117659 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
117662 # func_stripname prefix suffix name
117663 # strip PREFIX and SUFFIX off of NAME.
117664 # PREFIX and SUFFIX must not contain globbing or regex special
117665 # characters, hashes, percent signs, but SUFFIX may contain a leading
117666 # dot (in which case that matches only a dot).
117667 # func_strip_suffix prefix name
117668 func_stripname ()
117670 case ${2} in
117671 .*) func_stripname_result=`$ECHO "X${3}" \
117672 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
117673 *) func_stripname_result=`$ECHO "X${3}" \
117674 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
117678 # sed scripts:
117679 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
117680 my_sed_long_arg='1s/^-[^=]*=//'
117682 # func_opt_split
117683 func_opt_split ()
117685 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
117686 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
117689 # func_lo2o object
117690 func_lo2o ()
117692 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
117694 _LT_EOF
117697 case $lt_shell_append in
117699 cat << \_LT_EOF >> "$cfgfile"
117701 # func_append var value
117702 # Append VALUE to the end of shell variable VAR.
117703 func_append ()
117705 eval "$1+=\$2"
117707 _LT_EOF
117710 cat << \_LT_EOF >> "$cfgfile"
117712 # func_append var value
117713 # Append VALUE to the end of shell variable VAR.
117714 func_append ()
117716 eval "$1=\$$1\$2"
117718 _LT_EOF
117723 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
117724 || (rm -f "$cfgfile"; exit 1)
117726 mv -f "$cfgfile" "$ofile" ||
117727 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
117728 chmod +x "$ofile"
117731 cat <<_LT_EOF >> "$ofile"
117733 # ### BEGIN LIBTOOL TAG CONFIG: CXX
117735 # The linker used to build libraries.
117736 LD=$lt_LD_CXX
117738 # Commands used to build an old-style archive.
117739 old_archive_cmds=$lt_old_archive_cmds_CXX
117741 # A language specific compiler.
117742 CC=$lt_compiler_CXX
117744 # Is the compiler the GNU compiler?
117745 with_gcc=$GCC_CXX
117747 # Compiler flag to turn off builtin functions.
117748 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
117750 # How to pass a linker flag through the compiler.
117751 wl=$lt_lt_prog_compiler_wl_CXX
117753 # Additional compiler flags for building library objects.
117754 pic_flag=$lt_lt_prog_compiler_pic_CXX
117756 # Compiler flag to prevent dynamic linking.
117757 link_static_flag=$lt_lt_prog_compiler_static_CXX
117759 # Does compiler simultaneously support -c and -o options?
117760 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
117762 # Whether or not to add -lc for building shared libraries.
117763 build_libtool_need_lc=$archive_cmds_need_lc_CXX
117765 # Whether or not to disallow shared libs when runtime libs are static.
117766 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
117768 # Compiler flag to allow reflexive dlopens.
117769 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
117771 # Compiler flag to generate shared objects directly from archives.
117772 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
117774 # Whether the compiler copes with passing no objects directly.
117775 compiler_needs_object=$lt_compiler_needs_object_CXX
117777 # Create an old-style archive from a shared archive.
117778 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
117780 # Create a temporary old-style archive to link instead of a shared archive.
117781 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
117783 # Commands used to build a shared archive.
117784 archive_cmds=$lt_archive_cmds_CXX
117785 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
117787 # Commands used to build a loadable module if different from building
117788 # a shared archive.
117789 module_cmds=$lt_module_cmds_CXX
117790 module_expsym_cmds=$lt_module_expsym_cmds_CXX
117792 # Whether we are building with GNU ld or not.
117793 with_gnu_ld=$lt_with_gnu_ld_CXX
117795 # Flag that allows shared libraries with undefined symbols to be built.
117796 allow_undefined_flag=$lt_allow_undefined_flag_CXX
117798 # Flag that enforces no undefined symbols.
117799 no_undefined_flag=$lt_no_undefined_flag_CXX
117801 # Flag to hardcode \$libdir into a binary during linking.
117802 # This must work even if \$libdir does not exist
117803 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
117805 # If ld is used when linking, flag to hardcode \$libdir into a binary
117806 # during linking. This must work even if \$libdir does not exist.
117807 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
117809 # Whether we need a single "-rpath" flag with a separated argument.
117810 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
117812 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
117813 # DIR into the resulting binary.
117814 hardcode_direct=$hardcode_direct_CXX
117816 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
117817 # DIR into the resulting binary and the resulting library dependency is
117818 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
117819 # library is relocated.
117820 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
117822 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
117823 # into the resulting binary.
117824 hardcode_minus_L=$hardcode_minus_L_CXX
117826 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
117827 # into the resulting binary.
117828 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
117830 # Set to "yes" if building a shared library automatically hardcodes DIR
117831 # into the library and all subsequent libraries and executables linked
117832 # against it.
117833 hardcode_automatic=$hardcode_automatic_CXX
117835 # Set to yes if linker adds runtime paths of dependent libraries
117836 # to runtime path list.
117837 inherit_rpath=$inherit_rpath_CXX
117839 # Whether libtool must link a program against all its dependency libraries.
117840 link_all_deplibs=$link_all_deplibs_CXX
117842 # Fix the shell variable \$srcfile for the compiler.
117843 fix_srcfile_path=$lt_fix_srcfile_path_CXX
117845 # Set to "yes" if exported symbols are required.
117846 always_export_symbols=$always_export_symbols_CXX
117848 # The commands to list exported symbols.
117849 export_symbols_cmds=$lt_export_symbols_cmds_CXX
117851 # Symbols that should not be listed in the preloaded symbols.
117852 exclude_expsyms=$lt_exclude_expsyms_CXX
117854 # Symbols that must always be exported.
117855 include_expsyms=$lt_include_expsyms_CXX
117857 # Commands necessary for linking programs (against libraries) with templates.
117858 prelink_cmds=$lt_prelink_cmds_CXX
117860 # Specify filename containing input files.
117861 file_list_spec=$lt_file_list_spec_CXX
117863 # How to hardcode a shared library path into an executable.
117864 hardcode_action=$hardcode_action_CXX
117866 # Dependencies to place before and after the objects being linked to
117867 # create a shared library.
117868 predep_objects=$lt_predep_objects_CXX
117869 postdep_objects=$lt_postdep_objects_CXX
117870 predeps=$lt_predeps_CXX
117871 postdeps=$lt_postdeps_CXX
117873 # The library search path used internally by the compiler when linking
117874 # a shared library.
117875 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
117877 # ### END LIBTOOL TAG CONFIG: CXX
117878 _LT_EOF
117881 default ) if test -n "$CONFIG_FILES"; then
117882 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
117883 # that multilib installs will end up installed in the correct place.
117884 # The testsuite needs it for multilib-aware ABI baseline files.
117885 # To work around this not being passed down from config-ml.in ->
117886 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
117887 # append it here. Only modify Makefiles that have just been created.
117889 # Also, get rid of this simulated-VPATH thing that automake does.
117890 cat > vpsed << \_EOF
117891 s!`test -f '$<' || echo '$(srcdir)/'`!!
117893 for i in $SUBDIRS; do
117894 case $CONFIG_FILES in
117895 *${i}/Makefile*)
117896 #echo "Adding MULTISUBDIR to $i/Makefile"
117897 sed -f vpsed $i/Makefile > tmp
117898 grep '^MULTISUBDIR =' Makefile >> tmp
117899 mv tmp $i/Makefile
117903 rm vpsed
117905 (cd include && ${MAKE-make})
117909 _ACEOF
117911 cat >>$CONFIG_STATUS <<\_ACEOF
117913 { (exit 0); exit 0; }
117914 _ACEOF
117915 chmod +x $CONFIG_STATUS
117916 ac_clean_files=$ac_clean_files_save
117919 # configure is writing to config.log, and then calls config.status.
117920 # config.status does its own redirection, appending to config.log.
117921 # Unfortunately, on DOS this fails, as config.log is still kept open
117922 # by configure, so config.status won't be able to write to it; its
117923 # output is simply discarded. So we exec the FD to /dev/null,
117924 # effectively closing config.log, so it can be properly (re)opened and
117925 # appended to by config.status. When coming back to configure, we
117926 # need to make the FD available again.
117927 if test "$no_create" != yes; then
117928 ac_cs_success=:
117929 ac_config_status_args=
117930 test "$silent" = yes &&
117931 ac_config_status_args="$ac_config_status_args --quiet"
117932 exec 5>/dev/null
117933 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
117934 exec 5>>config.log
117935 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
117936 # would make configure fail if this is the last instruction.
117937 $ac_cs_success || { (exit 1); exit 1; }