2008-03-21 Janne Blomqvist <jb@gcc.gnu.org>
[official-gcc.git] / libstdc++-v3 / configure
bloba2eb4ce4c97bee8378bd07f26ca0d4a90fa33561
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-linux-futex use the Linux futex system call
1057 [default=default]
1058 --enable-symvers=STYLE enables symbol versioning of the shared library
1059 [default=yes]
1060 --enable-visibility enables visibility safe usage [default=yes]
1061 --enable-version-specific-runtime-libs
1062 Specify that runtime libraries should be installed
1063 in a compiler-specific directory
1065 Optional Packages:
1066 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1067 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1068 --with-target-subdir=SUBDIR
1069 configuring in a subdirectory
1070 --with-cross-host=HOST configuring with a cross compiler
1071 --with-newlib assume newlib as a system C library
1072 --with-pic try to use only PIC/non-PIC objects [default=use
1073 both]
1074 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1075 --with-gnu-ld assume the C compiler uses GNU ld default=no
1076 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1077 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1078 --with-gxx-include-dir=DIR
1079 installation directory for include files
1081 Some influential environment variables:
1082 CC C compiler command
1083 CFLAGS C compiler flags
1084 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1085 nonstandard directory <lib dir>
1086 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1087 headers in a nonstandard directory <include dir>
1088 CXX C++ compiler command
1089 CXXFLAGS C++ compiler flags
1090 CPP C preprocessor
1091 CXXCPP C++ preprocessor
1093 Use these variables to override the choices made by `configure' or to help
1094 it to find libraries and programs with nonstandard names/locations.
1096 _ACEOF
1099 if test "$ac_init_help" = "recursive"; then
1100 # If there are subdirs, report their specific --help.
1101 ac_popdir=`pwd`
1102 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1103 test -d $ac_dir || continue
1104 ac_builddir=.
1106 if test "$ac_dir" != .; then
1107 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1108 # A "../" for each directory in $ac_dir_suffix.
1109 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1110 else
1111 ac_dir_suffix= ac_top_builddir=
1114 case $srcdir in
1115 .) # No --srcdir option. We are building in place.
1116 ac_srcdir=.
1117 if test -z "$ac_top_builddir"; then
1118 ac_top_srcdir=.
1119 else
1120 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1121 fi ;;
1122 [\\/]* | ?:[\\/]* ) # Absolute path.
1123 ac_srcdir=$srcdir$ac_dir_suffix;
1124 ac_top_srcdir=$srcdir ;;
1125 *) # Relative path.
1126 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1127 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1128 esac
1130 # Do not use `cd foo && pwd` to compute absolute paths, because
1131 # the directories may not exist.
1132 case `pwd` in
1133 .) ac_abs_builddir="$ac_dir";;
1135 case "$ac_dir" in
1136 .) ac_abs_builddir=`pwd`;;
1137 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1138 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1139 esac;;
1140 esac
1141 case $ac_abs_builddir in
1142 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1144 case ${ac_top_builddir}. in
1145 .) ac_abs_top_builddir=$ac_abs_builddir;;
1146 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1147 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1148 esac;;
1149 esac
1150 case $ac_abs_builddir in
1151 .) ac_abs_srcdir=$ac_srcdir;;
1153 case $ac_srcdir in
1154 .) ac_abs_srcdir=$ac_abs_builddir;;
1155 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1156 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1157 esac;;
1158 esac
1159 case $ac_abs_builddir in
1160 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1162 case $ac_top_srcdir in
1163 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1164 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1165 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1166 esac;;
1167 esac
1169 cd $ac_dir
1170 # Check for guested configure; otherwise get Cygnus style configure.
1171 if test -f $ac_srcdir/configure.gnu; then
1172 echo
1173 $SHELL $ac_srcdir/configure.gnu --help=recursive
1174 elif test -f $ac_srcdir/configure; then
1175 echo
1176 $SHELL $ac_srcdir/configure --help=recursive
1177 elif test -f $ac_srcdir/configure.ac ||
1178 test -f $ac_srcdir/configure.in; then
1179 echo
1180 $ac_configure --help
1181 else
1182 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1184 cd $ac_popdir
1185 done
1188 test -n "$ac_init_help" && exit 0
1189 if $ac_init_version; then
1190 cat <<\_ACEOF
1191 package-unused configure version-unused
1192 generated by GNU Autoconf 2.59
1194 Copyright (C) 2003 Free Software Foundation, Inc.
1195 This configure script is free software; the Free Software Foundation
1196 gives unlimited permission to copy, distribute and modify it.
1197 _ACEOF
1198 exit 0
1200 exec 5>config.log
1201 cat >&5 <<_ACEOF
1202 This file contains any messages produced by compilers while
1203 running configure, to aid debugging if configure makes a mistake.
1205 It was created by package-unused $as_me version-unused, which was
1206 generated by GNU Autoconf 2.59. Invocation command line was
1208 $ $0 $@
1210 _ACEOF
1212 cat <<_ASUNAME
1213 ## --------- ##
1214 ## Platform. ##
1215 ## --------- ##
1217 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1218 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1219 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1220 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1221 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1223 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1224 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1226 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1227 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1228 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1229 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1230 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1231 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1232 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1234 _ASUNAME
1236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1237 for as_dir in $PATH
1239 IFS=$as_save_IFS
1240 test -z "$as_dir" && as_dir=.
1241 echo "PATH: $as_dir"
1242 done
1244 } >&5
1246 cat >&5 <<_ACEOF
1249 ## ----------- ##
1250 ## Core tests. ##
1251 ## ----------- ##
1253 _ACEOF
1256 # Keep a trace of the command line.
1257 # Strip out --no-create and --no-recursion so they do not pile up.
1258 # Strip out --silent because we don't want to record it for future runs.
1259 # Also quote any args containing shell meta-characters.
1260 # Make two passes to allow for proper duplicate-argument suppression.
1261 ac_configure_args=
1262 ac_configure_args0=
1263 ac_configure_args1=
1264 ac_sep=
1265 ac_must_keep_next=false
1266 for ac_pass in 1 2
1268 for ac_arg
1270 case $ac_arg in
1271 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1272 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1273 | -silent | --silent | --silen | --sile | --sil)
1274 continue ;;
1275 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1276 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1277 esac
1278 case $ac_pass in
1279 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1281 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1282 if test $ac_must_keep_next = true; then
1283 ac_must_keep_next=false # Got value, back to normal.
1284 else
1285 case $ac_arg in
1286 *=* | --config-cache | -C | -disable-* | --disable-* \
1287 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1288 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1289 | -with-* | --with-* | -without-* | --without-* | --x)
1290 case "$ac_configure_args0 " in
1291 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1292 esac
1294 -* ) ac_must_keep_next=true ;;
1295 esac
1297 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1298 # Get rid of the leading space.
1299 ac_sep=" "
1301 esac
1302 done
1303 done
1304 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1305 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1307 # When interrupted or exit'd, cleanup temporary files, and complete
1308 # config.log. We remove comments because anyway the quotes in there
1309 # would cause problems or look ugly.
1310 # WARNING: Be sure not to use single quotes in there, as some shells,
1311 # such as our DU 5.0 friend, will then `close' the trap.
1312 trap 'exit_status=$?
1313 # Save into config.log some information that might help in debugging.
1315 echo
1317 cat <<\_ASBOX
1318 ## ---------------- ##
1319 ## Cache variables. ##
1320 ## ---------------- ##
1321 _ASBOX
1322 echo
1323 # The following way of writing the cache mishandles newlines in values,
1325 (set) 2>&1 |
1326 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1327 *ac_space=\ *)
1328 sed -n \
1329 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1330 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1333 sed -n \
1334 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1336 esac;
1338 echo
1340 cat <<\_ASBOX
1341 ## ----------------- ##
1342 ## Output variables. ##
1343 ## ----------------- ##
1344 _ASBOX
1345 echo
1346 for ac_var in $ac_subst_vars
1348 eval ac_val=$`echo $ac_var`
1349 echo "$ac_var='"'"'$ac_val'"'"'"
1350 done | sort
1351 echo
1353 if test -n "$ac_subst_files"; then
1354 cat <<\_ASBOX
1355 ## ------------- ##
1356 ## Output files. ##
1357 ## ------------- ##
1358 _ASBOX
1359 echo
1360 for ac_var in $ac_subst_files
1362 eval ac_val=$`echo $ac_var`
1363 echo "$ac_var='"'"'$ac_val'"'"'"
1364 done | sort
1365 echo
1368 if test -s confdefs.h; then
1369 cat <<\_ASBOX
1370 ## ----------- ##
1371 ## confdefs.h. ##
1372 ## ----------- ##
1373 _ASBOX
1374 echo
1375 sed "/^$/d" confdefs.h | sort
1376 echo
1378 test "$ac_signal" != 0 &&
1379 echo "$as_me: caught signal $ac_signal"
1380 echo "$as_me: exit $exit_status"
1381 } >&5
1382 rm -f core *.core &&
1383 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1384 exit $exit_status
1386 for ac_signal in 1 2 13 15; do
1387 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1388 done
1389 ac_signal=0
1391 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1392 rm -rf conftest* confdefs.h
1393 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1394 echo >confdefs.h
1396 # Predefined preprocessor variables.
1398 cat >>confdefs.h <<_ACEOF
1399 #define PACKAGE_NAME "$PACKAGE_NAME"
1400 _ACEOF
1403 cat >>confdefs.h <<_ACEOF
1404 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1405 _ACEOF
1408 cat >>confdefs.h <<_ACEOF
1409 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1410 _ACEOF
1413 cat >>confdefs.h <<_ACEOF
1414 #define PACKAGE_STRING "$PACKAGE_STRING"
1415 _ACEOF
1418 cat >>confdefs.h <<_ACEOF
1419 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1420 _ACEOF
1423 # Let the site file select an alternate cache file if it wants to.
1424 # Prefer explicitly selected file to automatically selected ones.
1425 if test -z "$CONFIG_SITE"; then
1426 if test "x$prefix" != xNONE; then
1427 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1428 else
1429 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1432 for ac_site_file in $CONFIG_SITE; do
1433 if test -r "$ac_site_file"; then
1434 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1435 echo "$as_me: loading site script $ac_site_file" >&6;}
1436 sed 's/^/| /' "$ac_site_file" >&5
1437 . "$ac_site_file"
1439 done
1441 if test -r "$cache_file"; then
1442 # Some versions of bash will fail to source /dev/null (special
1443 # files actually), so we avoid doing that.
1444 if test -f "$cache_file"; then
1445 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1446 echo "$as_me: loading cache $cache_file" >&6;}
1447 case $cache_file in
1448 [\\/]* | ?:[\\/]* ) . $cache_file;;
1449 *) . ./$cache_file;;
1450 esac
1452 else
1453 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1454 echo "$as_me: creating cache $cache_file" >&6;}
1455 >$cache_file
1458 # Check that the precious variables saved in the cache have kept the same
1459 # value.
1460 ac_cache_corrupted=false
1461 for ac_var in `(set) 2>&1 |
1462 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1463 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1464 eval ac_new_set=\$ac_env_${ac_var}_set
1465 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1466 eval ac_new_val="\$ac_env_${ac_var}_value"
1467 case $ac_old_set,$ac_new_set in
1468 set,)
1469 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1470 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1471 ac_cache_corrupted=: ;;
1472 ,set)
1473 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1474 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1475 ac_cache_corrupted=: ;;
1476 ,);;
1478 if test "x$ac_old_val" != "x$ac_new_val"; then
1479 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1480 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1481 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1482 echo "$as_me: former value: $ac_old_val" >&2;}
1483 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1484 echo "$as_me: current value: $ac_new_val" >&2;}
1485 ac_cache_corrupted=:
1486 fi;;
1487 esac
1488 # Pass precious variables to config.status.
1489 if test "$ac_new_set" = set; then
1490 case $ac_new_val in
1491 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1492 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1493 *) ac_arg=$ac_var=$ac_new_val ;;
1494 esac
1495 case " $ac_configure_args " in
1496 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1497 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1498 esac
1500 done
1501 if $ac_cache_corrupted; then
1502 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1503 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1504 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1505 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1506 { (exit 1); exit 1; }; }
1509 ac_ext=c
1510 ac_cpp='$CPP $CPPFLAGS'
1511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1542 ac_config_headers="$ac_config_headers config.h"
1545 # This works around the fact that libtool configuration may change LD
1546 # for this particular configuration, but some shells, instead of
1547 # keeping the changes in LD private, export them just because LD is
1548 # exported. Only used at the end of this file.
1549 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
1551 # For libtool versioning info, format is CURRENT:REVISION:AGE
1552 libtool_VERSION=6:11:0
1555 # Find the rest of the source tree framework.
1556 # Default to --enable-multilib
1557 # Check whether --enable-multilib or --disable-multilib was given.
1558 if test "${enable_multilib+set}" = set; then
1559 enableval="$enable_multilib"
1560 case "$enableval" in
1561 yes) multilib=yes ;;
1562 no) multilib=no ;;
1563 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1564 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1565 { (exit 1); exit 1; }; } ;;
1566 esac
1567 else
1568 multilib=yes
1571 # We may get other options which we leave undocumented:
1572 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1573 # See config-ml.in if you want the gory details.
1575 if test "$srcdir" = "."; then
1576 if test "$with_target_subdir" != "."; then
1577 multi_basedir="$srcdir/$with_multisrctop../.."
1578 else
1579 multi_basedir="$srcdir/$with_multisrctop.."
1581 else
1582 multi_basedir="$srcdir/.."
1586 # Even if the default multilib is not a cross compilation,
1587 # it may be that some of the other multilibs are.
1588 if test $cross_compiling = no && test $multilib = yes \
1589 && test "x${with_multisubdir}" != x ; then
1590 cross_compiling=maybe
1593 ac_config_commands="$ac_config_commands default-1"
1596 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1598 # You will slowly go insane if you do not grok the following fact: when
1599 # building v3 as part of the compiler, the top-level /target/ becomes the
1600 # library's /host/. configure then causes --target to default to --host,
1601 # exactly like any other package using autoconf. Therefore, 'target' and
1602 # 'host' will always be the same. This makes sense both for native and
1603 # cross compilers, just think about it for a little while. :-)
1605 # Also, if v3 is being configured as part of a cross compiler, the top-level
1606 # configure script will pass the "real" host as $with_cross_host.
1608 # Do not delete or change the following two lines. For why, see
1609 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1610 ac_aux_dir=
1611 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1612 if test -f $ac_dir/install-sh; then
1613 ac_aux_dir=$ac_dir
1614 ac_install_sh="$ac_aux_dir/install-sh -c"
1615 break
1616 elif test -f $ac_dir/install.sh; then
1617 ac_aux_dir=$ac_dir
1618 ac_install_sh="$ac_aux_dir/install.sh -c"
1619 break
1620 elif test -f $ac_dir/shtool; then
1621 ac_aux_dir=$ac_dir
1622 ac_install_sh="$ac_aux_dir/shtool install -c"
1623 break
1625 done
1626 if test -z "$ac_aux_dir"; then
1627 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1628 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1629 { (exit 1); exit 1; }; }
1631 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1632 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1633 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1635 # Make sure we can run config.sub.
1636 $ac_config_sub sun4 >/dev/null 2>&1 ||
1637 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1638 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1639 { (exit 1); exit 1; }; }
1641 echo "$as_me:$LINENO: checking build system type" >&5
1642 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1643 if test "${ac_cv_build+set}" = set; then
1644 echo $ECHO_N "(cached) $ECHO_C" >&6
1645 else
1646 ac_cv_build_alias=$build_alias
1647 test -z "$ac_cv_build_alias" &&
1648 ac_cv_build_alias=`$ac_config_guess`
1649 test -z "$ac_cv_build_alias" &&
1650 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1651 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1652 { (exit 1); exit 1; }; }
1653 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1654 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1655 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1656 { (exit 1); exit 1; }; }
1659 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1660 echo "${ECHO_T}$ac_cv_build" >&6
1661 build=$ac_cv_build
1662 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1663 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1664 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1667 echo "$as_me:$LINENO: checking host system type" >&5
1668 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1669 if test "${ac_cv_host+set}" = set; then
1670 echo $ECHO_N "(cached) $ECHO_C" >&6
1671 else
1672 ac_cv_host_alias=$host_alias
1673 test -z "$ac_cv_host_alias" &&
1674 ac_cv_host_alias=$ac_cv_build_alias
1675 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1676 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1677 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1678 { (exit 1); exit 1; }; }
1681 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1682 echo "${ECHO_T}$ac_cv_host" >&6
1683 host=$ac_cv_host
1684 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1685 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1686 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1689 echo "$as_me:$LINENO: checking target system type" >&5
1690 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1691 if test "${ac_cv_target+set}" = set; then
1692 echo $ECHO_N "(cached) $ECHO_C" >&6
1693 else
1694 ac_cv_target_alias=$target_alias
1695 test "x$ac_cv_target_alias" = "x" &&
1696 ac_cv_target_alias=$ac_cv_host_alias
1697 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1698 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1699 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1700 { (exit 1); exit 1; }; }
1703 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1704 echo "${ECHO_T}$ac_cv_target" >&6
1705 target=$ac_cv_target
1706 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1707 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1708 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1711 # The aliases save the names the user supplied, while $host etc.
1712 # will get canonicalized.
1713 test -n "$target_alias" &&
1714 test "$program_prefix$program_suffix$program_transform_name" = \
1715 NONENONEs,x,x, &&
1716 program_prefix=${target_alias}-
1717 target_alias=${target_alias-$host_alias}
1719 # Handy for debugging:
1720 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1722 if test "$build" != "$host"; then
1723 # We are being configured with some form of cross compiler.
1724 GLIBCXX_IS_NATIVE=false
1725 case "$host","$target" in
1726 # Darwin crosses can use the host system's libraries and headers,
1727 # because of the fat library support. Of course, it must be the
1728 # same version of Darwin on both sides. Allow the user to
1729 # just say --target=foo-darwin without a version number to mean
1730 # "the version on this system".
1731 *-*-darwin*,*-*-darwin*)
1732 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
1733 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
1734 if test $hostos = $targetos -o $targetos = darwin ; then
1735 GLIBCXX_IS_NATIVE=true
1742 esac
1743 else
1744 GLIBCXX_IS_NATIVE=true
1747 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1748 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1749 # 1.x: minimum required version
1750 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1751 # of other PACKAGE_* variables will, however, and there's nothing
1752 # we can do about that; they come from AC_INIT).
1753 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1754 # file in the top srcdir, etc, etc), so stop complaining.
1755 # no-dependencies: turns off auto dependency generation (just for now)
1756 # -Wall: turns on all automake warnings...
1757 # -Wno-portability: ...except this one, since GNU make is now required.
1758 am__api_version="1.9"
1759 # Find a good install program. We prefer a C program (faster),
1760 # so one script is as good as another. But avoid the broken or
1761 # incompatible versions:
1762 # SysV /etc/install, /usr/sbin/install
1763 # SunOS /usr/etc/install
1764 # IRIX /sbin/install
1765 # AIX /bin/install
1766 # AmigaOS /C/install, which installs bootblocks on floppy discs
1767 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1768 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1769 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1770 # OS/2's system install, which has a completely different semantic
1771 # ./install, which can be erroneously created by make from ./install.sh.
1772 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1773 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1774 if test -z "$INSTALL"; then
1775 if test "${ac_cv_path_install+set}" = set; then
1776 echo $ECHO_N "(cached) $ECHO_C" >&6
1777 else
1778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1779 for as_dir in $PATH
1781 IFS=$as_save_IFS
1782 test -z "$as_dir" && as_dir=.
1783 # Account for people who put trailing slashes in PATH elements.
1784 case $as_dir/ in
1785 ./ | .// | /cC/* | \
1786 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1787 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1788 /usr/ucb/* ) ;;
1790 # OSF1 and SCO ODT 3.0 have their own names for install.
1791 # Don't use installbsd from OSF since it installs stuff as root
1792 # by default.
1793 for ac_prog in ginstall scoinst install; do
1794 for ac_exec_ext in '' $ac_executable_extensions; do
1795 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1796 if test $ac_prog = install &&
1797 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1798 # AIX install. It has an incompatible calling convention.
1800 elif test $ac_prog = install &&
1801 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1802 # program-specific install script used by HP pwplus--don't use.
1804 else
1805 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1806 break 3
1809 done
1810 done
1812 esac
1813 done
1817 if test "${ac_cv_path_install+set}" = set; then
1818 INSTALL=$ac_cv_path_install
1819 else
1820 # As a last resort, use the slow shell script. We don't cache a
1821 # path for INSTALL within a source directory, because that will
1822 # break other packages using the cache if that directory is
1823 # removed, or if the path is relative.
1824 INSTALL=$ac_install_sh
1827 echo "$as_me:$LINENO: result: $INSTALL" >&5
1828 echo "${ECHO_T}$INSTALL" >&6
1830 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1831 # It thinks the first close brace ends the variable substitution.
1832 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1834 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1836 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1838 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1839 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1840 # Just in case
1841 sleep 1
1842 echo timestamp > conftest.file
1843 # Do `set' in a subshell so we don't clobber the current shell's
1844 # arguments. Must try -L first in case configure is actually a
1845 # symlink; some systems play weird games with the mod time of symlinks
1846 # (eg FreeBSD returns the mod time of the symlink's containing
1847 # directory).
1848 if (
1849 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1850 if test "$*" = "X"; then
1851 # -L didn't work.
1852 set X `ls -t $srcdir/configure conftest.file`
1854 rm -f conftest.file
1855 if test "$*" != "X $srcdir/configure conftest.file" \
1856 && test "$*" != "X conftest.file $srcdir/configure"; then
1858 # If neither matched, then we have a broken ls. This can happen
1859 # if, for instance, CONFIG_SHELL is bash and it inherits a
1860 # broken ls alias from the environment. This has actually
1861 # happened. Such a system could not be considered "sane".
1862 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1863 alias in your environment" >&5
1864 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1865 alias in your environment" >&2;}
1866 { (exit 1); exit 1; }; }
1869 test "$2" = conftest.file
1871 then
1872 # Ok.
1874 else
1875 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1876 Check your system clock" >&5
1877 echo "$as_me: error: newly created file is older than distributed files!
1878 Check your system clock" >&2;}
1879 { (exit 1); exit 1; }; }
1881 echo "$as_me:$LINENO: result: yes" >&5
1882 echo "${ECHO_T}yes" >&6
1883 test "$program_prefix" != NONE &&
1884 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1885 # Use a double $ so make ignores it.
1886 test "$program_suffix" != NONE &&
1887 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1888 # Double any \ or $. echo might interpret backslashes.
1889 # By default was `s,x,x', remove it if useless.
1890 cat <<\_ACEOF >conftest.sed
1891 s/[\\$]/&&/g;s/;s,x,x,$//
1892 _ACEOF
1893 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1894 rm conftest.sed
1896 # expand $ac_aux_dir to an absolute path
1897 am_aux_dir=`cd $ac_aux_dir && pwd`
1899 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1900 # Use eval to expand $SHELL
1901 if eval "$MISSING --run true"; then
1902 am_missing_run="$MISSING --run "
1903 else
1904 am_missing_run=
1905 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1906 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1909 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1910 # We used to keeping the `.' as first argument, in order to
1911 # allow $(mkdir_p) to be used without argument. As in
1912 # $(mkdir_p) $(somedir)
1913 # where $(somedir) is conditionally defined. However this is wrong
1914 # for two reasons:
1915 # 1. if the package is installed by a user who cannot write `.'
1916 # make install will fail,
1917 # 2. the above comment should most certainly read
1918 # $(mkdir_p) $(DESTDIR)$(somedir)
1919 # so it does not work when $(somedir) is undefined and
1920 # $(DESTDIR) is not.
1921 # To support the latter case, we have to write
1922 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1923 # so the `.' trick is pointless.
1924 mkdir_p='mkdir -p --'
1925 else
1926 # On NextStep and OpenStep, the `mkdir' command does not
1927 # recognize any option. It will interpret all options as
1928 # directories to create, and then abort because `.' already
1929 # exists.
1930 for d in ./-p ./--version;
1932 test -d $d && rmdir $d
1933 done
1934 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1935 if test -f "$ac_aux_dir/mkinstalldirs"; then
1936 mkdir_p='$(mkinstalldirs)'
1937 else
1938 mkdir_p='$(install_sh) -d'
1942 for ac_prog in gawk mawk nawk awk
1944 # Extract the first word of "$ac_prog", so it can be a program name with args.
1945 set dummy $ac_prog; ac_word=$2
1946 echo "$as_me:$LINENO: checking for $ac_word" >&5
1947 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1948 if test "${ac_cv_prog_AWK+set}" = set; then
1949 echo $ECHO_N "(cached) $ECHO_C" >&6
1950 else
1951 if test -n "$AWK"; then
1952 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1953 else
1954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1955 for as_dir in $PATH
1957 IFS=$as_save_IFS
1958 test -z "$as_dir" && as_dir=.
1959 for ac_exec_ext in '' $ac_executable_extensions; do
1960 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1961 ac_cv_prog_AWK="$ac_prog"
1962 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1963 break 2
1965 done
1966 done
1970 AWK=$ac_cv_prog_AWK
1971 if test -n "$AWK"; then
1972 echo "$as_me:$LINENO: result: $AWK" >&5
1973 echo "${ECHO_T}$AWK" >&6
1974 else
1975 echo "$as_me:$LINENO: result: no" >&5
1976 echo "${ECHO_T}no" >&6
1979 test -n "$AWK" && break
1980 done
1982 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1983 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1984 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1985 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1986 echo $ECHO_N "(cached) $ECHO_C" >&6
1987 else
1988 cat >conftest.make <<\_ACEOF
1989 all:
1990 @echo 'ac_maketemp="$(MAKE)"'
1991 _ACEOF
1992 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1993 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1994 if test -n "$ac_maketemp"; then
1995 eval ac_cv_prog_make_${ac_make}_set=yes
1996 else
1997 eval ac_cv_prog_make_${ac_make}_set=no
1999 rm -f conftest.make
2001 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2002 echo "$as_me:$LINENO: result: yes" >&5
2003 echo "${ECHO_T}yes" >&6
2004 SET_MAKE=
2005 else
2006 echo "$as_me:$LINENO: result: no" >&5
2007 echo "${ECHO_T}no" >&6
2008 SET_MAKE="MAKE=${MAKE-make}"
2011 rm -rf .tst 2>/dev/null
2012 mkdir .tst 2>/dev/null
2013 if test -d .tst; then
2014 am__leading_dot=.
2015 else
2016 am__leading_dot=_
2018 rmdir .tst 2>/dev/null
2020 # test to see if srcdir already configured
2021 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2022 test -f $srcdir/config.status; then
2023 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2024 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2025 { (exit 1); exit 1; }; }
2028 # test whether we have cygpath
2029 if test -z "$CYGPATH_W"; then
2030 if (cygpath --version) >/dev/null 2>/dev/null; then
2031 CYGPATH_W='cygpath -w'
2032 else
2033 CYGPATH_W=echo
2038 # Define the identity of the package.
2039 PACKAGE='libstdc++'
2040 VERSION='version-unused'
2043 # Some tools Automake needs.
2045 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2048 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2051 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2054 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2057 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2059 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2061 # Installed binaries are usually stripped using `strip' when the user
2062 # run `make install-strip'. However `strip' might not be the right
2063 # tool to use in cross-compilation environments, therefore Automake
2064 # will honor the `STRIP' environment variable to overrule this program.
2065 if test "$cross_compiling" != no; then
2066 if test -n "$ac_tool_prefix"; then
2067 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2068 set dummy ${ac_tool_prefix}strip; ac_word=$2
2069 echo "$as_me:$LINENO: checking for $ac_word" >&5
2070 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2071 if test "${ac_cv_prog_STRIP+set}" = set; then
2072 echo $ECHO_N "(cached) $ECHO_C" >&6
2073 else
2074 if test -n "$STRIP"; then
2075 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2076 else
2077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2078 for as_dir in $PATH
2080 IFS=$as_save_IFS
2081 test -z "$as_dir" && as_dir=.
2082 for ac_exec_ext in '' $ac_executable_extensions; do
2083 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2084 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2085 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2086 break 2
2088 done
2089 done
2093 STRIP=$ac_cv_prog_STRIP
2094 if test -n "$STRIP"; then
2095 echo "$as_me:$LINENO: result: $STRIP" >&5
2096 echo "${ECHO_T}$STRIP" >&6
2097 else
2098 echo "$as_me:$LINENO: result: no" >&5
2099 echo "${ECHO_T}no" >&6
2103 if test -z "$ac_cv_prog_STRIP"; then
2104 ac_ct_STRIP=$STRIP
2105 # Extract the first word of "strip", so it can be a program name with args.
2106 set dummy strip; ac_word=$2
2107 echo "$as_me:$LINENO: checking for $ac_word" >&5
2108 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2109 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2110 echo $ECHO_N "(cached) $ECHO_C" >&6
2111 else
2112 if test -n "$ac_ct_STRIP"; then
2113 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2114 else
2115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2116 for as_dir in $PATH
2118 IFS=$as_save_IFS
2119 test -z "$as_dir" && as_dir=.
2120 for ac_exec_ext in '' $ac_executable_extensions; do
2121 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2122 ac_cv_prog_ac_ct_STRIP="strip"
2123 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2124 break 2
2126 done
2127 done
2129 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2132 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2133 if test -n "$ac_ct_STRIP"; then
2134 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2135 echo "${ECHO_T}$ac_ct_STRIP" >&6
2136 else
2137 echo "$as_me:$LINENO: result: no" >&5
2138 echo "${ECHO_T}no" >&6
2141 STRIP=$ac_ct_STRIP
2142 else
2143 STRIP="$ac_cv_prog_STRIP"
2147 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2149 # We need awk for the "check" target. The system "awk" is bad on
2150 # some platforms.
2151 # Always define AMTAR for backward compatibility.
2153 AMTAR=${AMTAR-"${am_missing_run}tar"}
2155 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2166 # Runs configure.host, finds CC, CXX, and assorted other critical bits. Sets
2167 # up critical shell variables.
2169 ac_ext=c
2170 ac_cpp='$CPP $CPPFLAGS'
2171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2174 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2175 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2176 # On Suns, sometimes $CPP names a directory.
2177 if test -n "$CPP" && test -d "$CPP"; then
2178 CPP=
2180 if test -z "$CPP"; then
2181 if test "${ac_cv_prog_CPP+set}" = set; then
2182 echo $ECHO_N "(cached) $ECHO_C" >&6
2183 else
2184 # Double quotes because CPP needs to be expanded
2185 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2187 ac_preproc_ok=false
2188 for ac_c_preproc_warn_flag in '' yes
2190 # Use a header file that comes with gcc, so configuring glibc
2191 # with a fresh cross-compiler works.
2192 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2193 # <limits.h> exists even on freestanding compilers.
2194 # On the NeXT, cc -E runs the code through the compiler's parser,
2195 # not just through cpp. "Syntax error" is here to catch this case.
2196 cat >conftest.$ac_ext <<_ACEOF
2197 /* confdefs.h. */
2198 _ACEOF
2199 cat confdefs.h >>conftest.$ac_ext
2200 cat >>conftest.$ac_ext <<_ACEOF
2201 /* end confdefs.h. */
2202 #ifdef __STDC__
2203 # include <limits.h>
2204 #else
2205 # include <assert.h>
2206 #endif
2207 Syntax error
2208 _ACEOF
2209 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2210 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2211 ac_status=$?
2212 grep -v '^ *+' conftest.er1 >conftest.err
2213 rm -f conftest.er1
2214 cat conftest.err >&5
2215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2216 (exit $ac_status); } >/dev/null; then
2217 if test -s conftest.err; then
2218 ac_cpp_err=$ac_c_preproc_warn_flag
2219 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2220 else
2221 ac_cpp_err=
2223 else
2224 ac_cpp_err=yes
2226 if test -z "$ac_cpp_err"; then
2228 else
2229 echo "$as_me: failed program was:" >&5
2230 sed 's/^/| /' conftest.$ac_ext >&5
2232 # Broken: fails on valid input.
2233 continue
2235 rm -f conftest.err conftest.$ac_ext
2237 # OK, works on sane cases. Now check whether non-existent headers
2238 # can be detected and how.
2239 cat >conftest.$ac_ext <<_ACEOF
2240 /* confdefs.h. */
2241 _ACEOF
2242 cat confdefs.h >>conftest.$ac_ext
2243 cat >>conftest.$ac_ext <<_ACEOF
2244 /* end confdefs.h. */
2245 #include <ac_nonexistent.h>
2246 _ACEOF
2247 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2248 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2249 ac_status=$?
2250 grep -v '^ *+' conftest.er1 >conftest.err
2251 rm -f conftest.er1
2252 cat conftest.err >&5
2253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2254 (exit $ac_status); } >/dev/null; then
2255 if test -s conftest.err; then
2256 ac_cpp_err=$ac_c_preproc_warn_flag
2257 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2258 else
2259 ac_cpp_err=
2261 else
2262 ac_cpp_err=yes
2264 if test -z "$ac_cpp_err"; then
2265 # Broken: success on invalid input.
2266 continue
2267 else
2268 echo "$as_me: failed program was:" >&5
2269 sed 's/^/| /' conftest.$ac_ext >&5
2271 # Passes both tests.
2272 ac_preproc_ok=:
2273 break
2275 rm -f conftest.err conftest.$ac_ext
2277 done
2278 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2279 rm -f conftest.err conftest.$ac_ext
2280 if $ac_preproc_ok; then
2281 break
2284 done
2285 ac_cv_prog_CPP=$CPP
2288 CPP=$ac_cv_prog_CPP
2289 else
2290 ac_cv_prog_CPP=$CPP
2292 echo "$as_me:$LINENO: result: $CPP" >&5
2293 echo "${ECHO_T}$CPP" >&6
2294 ac_preproc_ok=false
2295 for ac_c_preproc_warn_flag in '' yes
2297 # Use a header file that comes with gcc, so configuring glibc
2298 # with a fresh cross-compiler works.
2299 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2300 # <limits.h> exists even on freestanding compilers.
2301 # On the NeXT, cc -E runs the code through the compiler's parser,
2302 # not just through cpp. "Syntax error" is here to catch this case.
2303 cat >conftest.$ac_ext <<_ACEOF
2304 /* confdefs.h. */
2305 _ACEOF
2306 cat confdefs.h >>conftest.$ac_ext
2307 cat >>conftest.$ac_ext <<_ACEOF
2308 /* end confdefs.h. */
2309 #ifdef __STDC__
2310 # include <limits.h>
2311 #else
2312 # include <assert.h>
2313 #endif
2314 Syntax error
2315 _ACEOF
2316 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2317 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2318 ac_status=$?
2319 grep -v '^ *+' conftest.er1 >conftest.err
2320 rm -f conftest.er1
2321 cat conftest.err >&5
2322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2323 (exit $ac_status); } >/dev/null; then
2324 if test -s conftest.err; then
2325 ac_cpp_err=$ac_c_preproc_warn_flag
2326 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2327 else
2328 ac_cpp_err=
2330 else
2331 ac_cpp_err=yes
2333 if test -z "$ac_cpp_err"; then
2335 else
2336 echo "$as_me: failed program was:" >&5
2337 sed 's/^/| /' conftest.$ac_ext >&5
2339 # Broken: fails on valid input.
2340 continue
2342 rm -f conftest.err conftest.$ac_ext
2344 # OK, works on sane cases. Now check whether non-existent headers
2345 # can be detected and how.
2346 cat >conftest.$ac_ext <<_ACEOF
2347 /* confdefs.h. */
2348 _ACEOF
2349 cat confdefs.h >>conftest.$ac_ext
2350 cat >>conftest.$ac_ext <<_ACEOF
2351 /* end confdefs.h. */
2352 #include <ac_nonexistent.h>
2353 _ACEOF
2354 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2355 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2356 ac_status=$?
2357 grep -v '^ *+' conftest.er1 >conftest.err
2358 rm -f conftest.er1
2359 cat conftest.err >&5
2360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2361 (exit $ac_status); } >/dev/null; then
2362 if test -s conftest.err; then
2363 ac_cpp_err=$ac_c_preproc_warn_flag
2364 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2365 else
2366 ac_cpp_err=
2368 else
2369 ac_cpp_err=yes
2371 if test -z "$ac_cpp_err"; then
2372 # Broken: success on invalid input.
2373 continue
2374 else
2375 echo "$as_me: failed program was:" >&5
2376 sed 's/^/| /' conftest.$ac_ext >&5
2378 # Passes both tests.
2379 ac_preproc_ok=:
2380 break
2382 rm -f conftest.err conftest.$ac_ext
2384 done
2385 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2386 rm -f conftest.err conftest.$ac_ext
2387 if $ac_preproc_ok; then
2389 else
2390 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2391 See \`config.log' for more details." >&5
2392 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2393 See \`config.log' for more details." >&2;}
2394 { (exit 1); exit 1; }; }
2397 ac_ext=c
2398 ac_cpp='$CPP $CPPFLAGS'
2399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2404 echo "$as_me:$LINENO: checking for egrep" >&5
2405 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2406 if test "${ac_cv_prog_egrep+set}" = set; then
2407 echo $ECHO_N "(cached) $ECHO_C" >&6
2408 else
2409 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2410 then ac_cv_prog_egrep='grep -E'
2411 else ac_cv_prog_egrep='egrep'
2414 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2415 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2416 EGREP=$ac_cv_prog_egrep
2420 # Keep these sync'd with the list in Makefile.am. The first provides an
2421 # expandable list at autoconf time; the second provides an expandable list
2422 # (i.e., shell variable) at configure time.
2424 SUBDIRS='include libmath libsupc++ src doc po testsuite'
2426 # These need to be absolute paths, yet at the same time need to
2427 # canonicalize only relative paths, because then amd will not unmount
2428 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
2429 glibcxx_builddir=`${PWDCMD-pwd}`
2430 case $srcdir in
2431 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
2432 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
2433 esac
2434 toplevel_srcdir=${glibcxx_srcdir}/..
2439 # We use these options to decide which functions to include. They are
2440 # set from the top level.
2442 # Check whether --with-target-subdir or --without-target-subdir was given.
2443 if test "${with_target_subdir+set}" = set; then
2444 withval="$with_target_subdir"
2449 # Check whether --with-cross-host or --without-cross-host was given.
2450 if test "${with_cross_host+set}" = set; then
2451 withval="$with_cross_host"
2456 # Check whether --with-newlib or --without-newlib was given.
2457 if test "${with_newlib+set}" = set; then
2458 withval="$with_newlib"
2462 # We're almost certainly being configured before anything else which uses
2463 # C++, so all of our AC_PROG_* discoveries will be cached. It's vital that
2464 # we not cache the value of CXX that we "discover" here, because it's set
2465 # to something unique for us and libjava. Other target libraries need to
2466 # find CXX for themselves. We yank the rug out from under the normal AC_*
2467 # process by sneakily renaming the cache variable. This also lets us debug
2468 # the value of "our" CXX in postmortems.
2470 # We must also force CXX to /not/ be a precious variable, otherwise the
2471 # wrong (non-multilib-adjusted) value will be used in multilibs. This
2472 # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS. And as a side
2473 # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
2474 # that ourselves. Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
2476 # -fno-builtin must be present here so that a non-conflicting form of
2477 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
2482 save_CXXFLAGS="$CXXFLAGS"
2483 CXXFLAGS="$CXXFLAGS -fno-builtin"
2484 ac_ext=c
2485 ac_cpp='$CPP $CPPFLAGS'
2486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2489 if test -n "$ac_tool_prefix"; then
2490 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2491 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2492 echo "$as_me:$LINENO: checking for $ac_word" >&5
2493 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2494 if test "${ac_cv_prog_CC+set}" = set; then
2495 echo $ECHO_N "(cached) $ECHO_C" >&6
2496 else
2497 if test -n "$CC"; then
2498 ac_cv_prog_CC="$CC" # Let the user override the test.
2499 else
2500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2501 for as_dir in $PATH
2503 IFS=$as_save_IFS
2504 test -z "$as_dir" && as_dir=.
2505 for ac_exec_ext in '' $ac_executable_extensions; do
2506 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2507 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2508 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2509 break 2
2511 done
2512 done
2516 CC=$ac_cv_prog_CC
2517 if test -n "$CC"; then
2518 echo "$as_me:$LINENO: result: $CC" >&5
2519 echo "${ECHO_T}$CC" >&6
2520 else
2521 echo "$as_me:$LINENO: result: no" >&5
2522 echo "${ECHO_T}no" >&6
2526 if test -z "$ac_cv_prog_CC"; then
2527 ac_ct_CC=$CC
2528 # Extract the first word of "gcc", so it can be a program name with args.
2529 set dummy gcc; ac_word=$2
2530 echo "$as_me:$LINENO: checking for $ac_word" >&5
2531 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2532 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2533 echo $ECHO_N "(cached) $ECHO_C" >&6
2534 else
2535 if test -n "$ac_ct_CC"; then
2536 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2537 else
2538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2539 for as_dir in $PATH
2541 IFS=$as_save_IFS
2542 test -z "$as_dir" && as_dir=.
2543 for ac_exec_ext in '' $ac_executable_extensions; do
2544 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2545 ac_cv_prog_ac_ct_CC="gcc"
2546 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2547 break 2
2549 done
2550 done
2554 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2555 if test -n "$ac_ct_CC"; then
2556 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2557 echo "${ECHO_T}$ac_ct_CC" >&6
2558 else
2559 echo "$as_me:$LINENO: result: no" >&5
2560 echo "${ECHO_T}no" >&6
2563 CC=$ac_ct_CC
2564 else
2565 CC="$ac_cv_prog_CC"
2568 if test -z "$CC"; then
2569 if test -n "$ac_tool_prefix"; then
2570 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2571 set dummy ${ac_tool_prefix}cc; ac_word=$2
2572 echo "$as_me:$LINENO: checking for $ac_word" >&5
2573 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2574 if test "${ac_cv_prog_CC+set}" = set; then
2575 echo $ECHO_N "(cached) $ECHO_C" >&6
2576 else
2577 if test -n "$CC"; then
2578 ac_cv_prog_CC="$CC" # Let the user override the test.
2579 else
2580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2581 for as_dir in $PATH
2583 IFS=$as_save_IFS
2584 test -z "$as_dir" && as_dir=.
2585 for ac_exec_ext in '' $ac_executable_extensions; do
2586 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2587 ac_cv_prog_CC="${ac_tool_prefix}cc"
2588 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2589 break 2
2591 done
2592 done
2596 CC=$ac_cv_prog_CC
2597 if test -n "$CC"; then
2598 echo "$as_me:$LINENO: result: $CC" >&5
2599 echo "${ECHO_T}$CC" >&6
2600 else
2601 echo "$as_me:$LINENO: result: no" >&5
2602 echo "${ECHO_T}no" >&6
2606 if test -z "$ac_cv_prog_CC"; then
2607 ac_ct_CC=$CC
2608 # Extract the first word of "cc", so it can be a program name with args.
2609 set dummy cc; ac_word=$2
2610 echo "$as_me:$LINENO: checking for $ac_word" >&5
2611 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2612 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2613 echo $ECHO_N "(cached) $ECHO_C" >&6
2614 else
2615 if test -n "$ac_ct_CC"; then
2616 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2617 else
2618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2619 for as_dir in $PATH
2621 IFS=$as_save_IFS
2622 test -z "$as_dir" && as_dir=.
2623 for ac_exec_ext in '' $ac_executable_extensions; do
2624 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2625 ac_cv_prog_ac_ct_CC="cc"
2626 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2627 break 2
2629 done
2630 done
2634 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2635 if test -n "$ac_ct_CC"; then
2636 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2637 echo "${ECHO_T}$ac_ct_CC" >&6
2638 else
2639 echo "$as_me:$LINENO: result: no" >&5
2640 echo "${ECHO_T}no" >&6
2643 CC=$ac_ct_CC
2644 else
2645 CC="$ac_cv_prog_CC"
2649 if test -z "$CC"; then
2650 # Extract the first word of "cc", so it can be a program name with args.
2651 set dummy cc; ac_word=$2
2652 echo "$as_me:$LINENO: checking for $ac_word" >&5
2653 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2654 if test "${ac_cv_prog_CC+set}" = set; then
2655 echo $ECHO_N "(cached) $ECHO_C" >&6
2656 else
2657 if test -n "$CC"; then
2658 ac_cv_prog_CC="$CC" # Let the user override the test.
2659 else
2660 ac_prog_rejected=no
2661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2662 for as_dir in $PATH
2664 IFS=$as_save_IFS
2665 test -z "$as_dir" && as_dir=.
2666 for ac_exec_ext in '' $ac_executable_extensions; do
2667 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2668 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2669 ac_prog_rejected=yes
2670 continue
2672 ac_cv_prog_CC="cc"
2673 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2674 break 2
2676 done
2677 done
2679 if test $ac_prog_rejected = yes; then
2680 # We found a bogon in the path, so make sure we never use it.
2681 set dummy $ac_cv_prog_CC
2682 shift
2683 if test $# != 0; then
2684 # We chose a different compiler from the bogus one.
2685 # However, it has the same basename, so the bogon will be chosen
2686 # first if we set CC to just the basename; use the full file name.
2687 shift
2688 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2693 CC=$ac_cv_prog_CC
2694 if test -n "$CC"; then
2695 echo "$as_me:$LINENO: result: $CC" >&5
2696 echo "${ECHO_T}$CC" >&6
2697 else
2698 echo "$as_me:$LINENO: result: no" >&5
2699 echo "${ECHO_T}no" >&6
2703 if test -z "$CC"; then
2704 if test -n "$ac_tool_prefix"; then
2705 for ac_prog in cl
2707 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2708 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2709 echo "$as_me:$LINENO: checking for $ac_word" >&5
2710 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2711 if test "${ac_cv_prog_CC+set}" = set; then
2712 echo $ECHO_N "(cached) $ECHO_C" >&6
2713 else
2714 if test -n "$CC"; then
2715 ac_cv_prog_CC="$CC" # Let the user override the test.
2716 else
2717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2718 for as_dir in $PATH
2720 IFS=$as_save_IFS
2721 test -z "$as_dir" && as_dir=.
2722 for ac_exec_ext in '' $ac_executable_extensions; do
2723 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2724 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2725 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2726 break 2
2728 done
2729 done
2733 CC=$ac_cv_prog_CC
2734 if test -n "$CC"; then
2735 echo "$as_me:$LINENO: result: $CC" >&5
2736 echo "${ECHO_T}$CC" >&6
2737 else
2738 echo "$as_me:$LINENO: result: no" >&5
2739 echo "${ECHO_T}no" >&6
2742 test -n "$CC" && break
2743 done
2745 if test -z "$CC"; then
2746 ac_ct_CC=$CC
2747 for ac_prog in cl
2749 # Extract the first word of "$ac_prog", so it can be a program name with args.
2750 set dummy $ac_prog; ac_word=$2
2751 echo "$as_me:$LINENO: checking for $ac_word" >&5
2752 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2753 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2754 echo $ECHO_N "(cached) $ECHO_C" >&6
2755 else
2756 if test -n "$ac_ct_CC"; then
2757 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2758 else
2759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2760 for as_dir in $PATH
2762 IFS=$as_save_IFS
2763 test -z "$as_dir" && as_dir=.
2764 for ac_exec_ext in '' $ac_executable_extensions; do
2765 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2766 ac_cv_prog_ac_ct_CC="$ac_prog"
2767 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2768 break 2
2770 done
2771 done
2775 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2776 if test -n "$ac_ct_CC"; then
2777 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2778 echo "${ECHO_T}$ac_ct_CC" >&6
2779 else
2780 echo "$as_me:$LINENO: result: no" >&5
2781 echo "${ECHO_T}no" >&6
2784 test -n "$ac_ct_CC" && break
2785 done
2787 CC=$ac_ct_CC
2793 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2794 See \`config.log' for more details." >&5
2795 echo "$as_me: error: no acceptable C compiler found in \$PATH
2796 See \`config.log' for more details." >&2;}
2797 { (exit 1); exit 1; }; }
2799 # Provide some information about the compiler.
2800 echo "$as_me:$LINENO:" \
2801 "checking for C compiler version" >&5
2802 ac_compiler=`set X $ac_compile; echo $2`
2803 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2804 (eval $ac_compiler --version </dev/null >&5) 2>&5
2805 ac_status=$?
2806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2807 (exit $ac_status); }
2808 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2809 (eval $ac_compiler -v </dev/null >&5) 2>&5
2810 ac_status=$?
2811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2812 (exit $ac_status); }
2813 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2814 (eval $ac_compiler -V </dev/null >&5) 2>&5
2815 ac_status=$?
2816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2817 (exit $ac_status); }
2819 cat >conftest.$ac_ext <<_ACEOF
2820 /* confdefs.h. */
2821 _ACEOF
2822 cat confdefs.h >>conftest.$ac_ext
2823 cat >>conftest.$ac_ext <<_ACEOF
2824 /* end confdefs.h. */
2827 main ()
2831 return 0;
2833 _ACEOF
2834 # FIXME: Cleanup?
2835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2836 (eval $ac_link) 2>&5
2837 ac_status=$?
2838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2839 (exit $ac_status); }; then
2840 gcc_no_link=no
2841 else
2842 gcc_no_link=yes
2845 if test x$gcc_no_link = xyes; then
2846 # Setting cross_compile will disable run tests; it will
2847 # also disable AC_CHECK_FILE but that's generally
2848 # correct if we can't link.
2849 cross_compiling=yes
2850 EXEEXT=
2851 else
2852 cat >conftest.$ac_ext <<_ACEOF
2853 /* confdefs.h. */
2854 _ACEOF
2855 cat confdefs.h >>conftest.$ac_ext
2856 cat >>conftest.$ac_ext <<_ACEOF
2857 /* end confdefs.h. */
2860 main ()
2864 return 0;
2866 _ACEOF
2867 ac_clean_files_save=$ac_clean_files
2868 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2869 # Try to create an executable without -o first, disregard a.out.
2870 # It will help us diagnose broken compilers, and finding out an intuition
2871 # of exeext.
2872 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2873 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2874 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2875 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2876 (eval $ac_link_default) 2>&5
2877 ac_status=$?
2878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2879 (exit $ac_status); }; then
2880 # Find the output, starting from the most likely. This scheme is
2881 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2882 # resort.
2884 # Be careful to initialize this variable, since it used to be cached.
2885 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2886 ac_cv_exeext=
2887 # b.out is created by i960 compilers.
2888 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2890 test -f "$ac_file" || continue
2891 case $ac_file in
2892 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2894 conftest.$ac_ext )
2895 # This is the source file.
2897 [ab].out )
2898 # We found the default executable, but exeext='' is most
2899 # certainly right.
2900 break;;
2901 *.* )
2902 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2903 # FIXME: I believe we export ac_cv_exeext for Libtool,
2904 # but it would be cool to find out if it's true. Does anybody
2905 # maintain Libtool? --akim.
2906 export ac_cv_exeext
2907 break;;
2909 break;;
2910 esac
2911 done
2912 else
2913 echo "$as_me: failed program was:" >&5
2914 sed 's/^/| /' conftest.$ac_ext >&5
2916 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2917 See \`config.log' for more details." >&5
2918 echo "$as_me: error: C compiler cannot create executables
2919 See \`config.log' for more details." >&2;}
2920 { (exit 77); exit 77; }; }
2923 ac_exeext=$ac_cv_exeext
2924 echo "$as_me:$LINENO: result: $ac_file" >&5
2925 echo "${ECHO_T}$ac_file" >&6
2927 # Check the compiler produces executables we can run. If not, either
2928 # the compiler is broken, or we cross compile.
2929 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2930 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2931 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2932 # If not cross compiling, check that we can run a simple program.
2933 if test "$cross_compiling" != yes; then
2934 if { ac_try='./$ac_file'
2935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2936 (eval $ac_try) 2>&5
2937 ac_status=$?
2938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2939 (exit $ac_status); }; }; then
2940 cross_compiling=no
2941 else
2942 if test "$cross_compiling" = maybe; then
2943 cross_compiling=yes
2944 else
2945 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2946 If you meant to cross compile, use \`--host'.
2947 See \`config.log' for more details." >&5
2948 echo "$as_me: error: cannot run C compiled programs.
2949 If you meant to cross compile, use \`--host'.
2950 See \`config.log' for more details." >&2;}
2951 { (exit 1); exit 1; }; }
2955 echo "$as_me:$LINENO: result: yes" >&5
2956 echo "${ECHO_T}yes" >&6
2958 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2959 ac_clean_files=$ac_clean_files_save
2960 # Check the compiler produces executables we can run. If not, either
2961 # the compiler is broken, or we cross compile.
2962 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2963 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2964 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2965 echo "${ECHO_T}$cross_compiling" >&6
2967 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2968 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2970 (eval $ac_link) 2>&5
2971 ac_status=$?
2972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2973 (exit $ac_status); }; then
2974 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2975 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2976 # work properly (i.e., refer to `conftest.exe'), while it won't with
2977 # `rm'.
2978 for ac_file in conftest.exe conftest conftest.*; do
2979 test -f "$ac_file" || continue
2980 case $ac_file in
2981 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2982 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2983 export ac_cv_exeext
2984 break;;
2985 * ) break;;
2986 esac
2987 done
2988 else
2989 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2990 See \`config.log' for more details." >&5
2991 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2992 See \`config.log' for more details." >&2;}
2993 { (exit 1); exit 1; }; }
2996 rm -f conftest$ac_cv_exeext
2997 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2998 echo "${ECHO_T}$ac_cv_exeext" >&6
3000 rm -f conftest.$ac_ext
3001 EXEEXT=$ac_cv_exeext
3002 ac_exeext=$EXEEXT
3004 echo "$as_me:$LINENO: checking for suffix of object files" >&5
3005 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3006 if test "${ac_cv_objext+set}" = set; then
3007 echo $ECHO_N "(cached) $ECHO_C" >&6
3008 else
3009 cat >conftest.$ac_ext <<_ACEOF
3010 /* confdefs.h. */
3011 _ACEOF
3012 cat confdefs.h >>conftest.$ac_ext
3013 cat >>conftest.$ac_ext <<_ACEOF
3014 /* end confdefs.h. */
3017 main ()
3021 return 0;
3023 _ACEOF
3024 rm -f conftest.o conftest.obj
3025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3026 (eval $ac_compile) 2>&5
3027 ac_status=$?
3028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3029 (exit $ac_status); }; then
3030 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3031 case $ac_file in
3032 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
3033 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3034 break;;
3035 esac
3036 done
3037 else
3038 echo "$as_me: failed program was:" >&5
3039 sed 's/^/| /' conftest.$ac_ext >&5
3041 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3042 See \`config.log' for more details." >&5
3043 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3044 See \`config.log' for more details." >&2;}
3045 { (exit 1); exit 1; }; }
3048 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3050 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3051 echo "${ECHO_T}$ac_cv_objext" >&6
3052 OBJEXT=$ac_cv_objext
3053 ac_objext=$OBJEXT
3054 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3055 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3056 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3057 echo $ECHO_N "(cached) $ECHO_C" >&6
3058 else
3059 cat >conftest.$ac_ext <<_ACEOF
3060 /* confdefs.h. */
3061 _ACEOF
3062 cat confdefs.h >>conftest.$ac_ext
3063 cat >>conftest.$ac_ext <<_ACEOF
3064 /* end confdefs.h. */
3067 main ()
3069 #ifndef __GNUC__
3070 choke me
3071 #endif
3074 return 0;
3076 _ACEOF
3077 rm -f conftest.$ac_objext
3078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3079 (eval $ac_compile) 2>conftest.er1
3080 ac_status=$?
3081 grep -v '^ *+' conftest.er1 >conftest.err
3082 rm -f conftest.er1
3083 cat conftest.err >&5
3084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3085 (exit $ac_status); } &&
3086 { ac_try='test -z "$ac_c_werror_flag"
3087 || test ! -s conftest.err'
3088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3089 (eval $ac_try) 2>&5
3090 ac_status=$?
3091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3092 (exit $ac_status); }; } &&
3093 { ac_try='test -s conftest.$ac_objext'
3094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3095 (eval $ac_try) 2>&5
3096 ac_status=$?
3097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3098 (exit $ac_status); }; }; then
3099 ac_compiler_gnu=yes
3100 else
3101 echo "$as_me: failed program was:" >&5
3102 sed 's/^/| /' conftest.$ac_ext >&5
3104 ac_compiler_gnu=no
3106 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3107 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3110 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3111 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3112 GCC=`test $ac_compiler_gnu = yes && echo yes`
3113 ac_test_CFLAGS=${CFLAGS+set}
3114 ac_save_CFLAGS=$CFLAGS
3115 CFLAGS="-g"
3116 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3117 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3118 if test "${ac_cv_prog_cc_g+set}" = set; then
3119 echo $ECHO_N "(cached) $ECHO_C" >&6
3120 else
3121 cat >conftest.$ac_ext <<_ACEOF
3122 /* confdefs.h. */
3123 _ACEOF
3124 cat confdefs.h >>conftest.$ac_ext
3125 cat >>conftest.$ac_ext <<_ACEOF
3126 /* end confdefs.h. */
3129 main ()
3133 return 0;
3135 _ACEOF
3136 rm -f conftest.$ac_objext
3137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3138 (eval $ac_compile) 2>conftest.er1
3139 ac_status=$?
3140 grep -v '^ *+' conftest.er1 >conftest.err
3141 rm -f conftest.er1
3142 cat conftest.err >&5
3143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3144 (exit $ac_status); } &&
3145 { ac_try='test -z "$ac_c_werror_flag"
3146 || test ! -s conftest.err'
3147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3148 (eval $ac_try) 2>&5
3149 ac_status=$?
3150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3151 (exit $ac_status); }; } &&
3152 { ac_try='test -s conftest.$ac_objext'
3153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3154 (eval $ac_try) 2>&5
3155 ac_status=$?
3156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3157 (exit $ac_status); }; }; then
3158 ac_cv_prog_cc_g=yes
3159 else
3160 echo "$as_me: failed program was:" >&5
3161 sed 's/^/| /' conftest.$ac_ext >&5
3163 ac_cv_prog_cc_g=no
3165 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3167 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3168 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3169 if test "$ac_test_CFLAGS" = set; then
3170 CFLAGS=$ac_save_CFLAGS
3171 elif test $ac_cv_prog_cc_g = yes; then
3172 if test "$GCC" = yes; then
3173 CFLAGS="-g -O2"
3174 else
3175 CFLAGS="-g"
3177 else
3178 if test "$GCC" = yes; then
3179 CFLAGS="-O2"
3180 else
3181 CFLAGS=
3184 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3185 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3186 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3187 echo $ECHO_N "(cached) $ECHO_C" >&6
3188 else
3189 ac_cv_prog_cc_stdc=no
3190 ac_save_CC=$CC
3191 cat >conftest.$ac_ext <<_ACEOF
3192 /* confdefs.h. */
3193 _ACEOF
3194 cat confdefs.h >>conftest.$ac_ext
3195 cat >>conftest.$ac_ext <<_ACEOF
3196 /* end confdefs.h. */
3197 #include <stdarg.h>
3198 #include <stdio.h>
3199 #include <sys/types.h>
3200 #include <sys/stat.h>
3201 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3202 struct buf { int x; };
3203 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3204 static char *e (p, i)
3205 char **p;
3206 int i;
3208 return p[i];
3210 static char *f (char * (*g) (char **, int), char **p, ...)
3212 char *s;
3213 va_list v;
3214 va_start (v,p);
3215 s = g (p, va_arg (v,int));
3216 va_end (v);
3217 return s;
3220 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3221 function prototypes and stuff, but not '\xHH' hex character constants.
3222 These don't provoke an error unfortunately, instead are silently treated
3223 as 'x'. The following induces an error, until -std1 is added to get
3224 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3225 array size at least. It's necessary to write '\x00'==0 to get something
3226 that's true only with -std1. */
3227 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3229 int test (int i, double x);
3230 struct s1 {int (*f) (int a);};
3231 struct s2 {int (*f) (double a);};
3232 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3233 int argc;
3234 char **argv;
3236 main ()
3238 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3240 return 0;
3242 _ACEOF
3243 # Don't try gcc -ansi; that turns off useful extensions and
3244 # breaks some systems' header files.
3245 # AIX -qlanglvl=ansi
3246 # Ultrix and OSF/1 -std1
3247 # HP-UX 10.20 and later -Ae
3248 # HP-UX older versions -Aa -D_HPUX_SOURCE
3249 # SVR4 -Xc -D__EXTENSIONS__
3250 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3252 CC="$ac_save_CC $ac_arg"
3253 rm -f conftest.$ac_objext
3254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3255 (eval $ac_compile) 2>conftest.er1
3256 ac_status=$?
3257 grep -v '^ *+' conftest.er1 >conftest.err
3258 rm -f conftest.er1
3259 cat conftest.err >&5
3260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3261 (exit $ac_status); } &&
3262 { ac_try='test -z "$ac_c_werror_flag"
3263 || test ! -s conftest.err'
3264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3265 (eval $ac_try) 2>&5
3266 ac_status=$?
3267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3268 (exit $ac_status); }; } &&
3269 { ac_try='test -s conftest.$ac_objext'
3270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3271 (eval $ac_try) 2>&5
3272 ac_status=$?
3273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3274 (exit $ac_status); }; }; then
3275 ac_cv_prog_cc_stdc=$ac_arg
3276 break
3277 else
3278 echo "$as_me: failed program was:" >&5
3279 sed 's/^/| /' conftest.$ac_ext >&5
3282 rm -f conftest.err conftest.$ac_objext
3283 done
3284 rm -f conftest.$ac_ext conftest.$ac_objext
3285 CC=$ac_save_CC
3289 case "x$ac_cv_prog_cc_stdc" in
3290 x|xno)
3291 echo "$as_me:$LINENO: result: none needed" >&5
3292 echo "${ECHO_T}none needed" >&6 ;;
3294 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3295 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3296 CC="$CC $ac_cv_prog_cc_stdc" ;;
3297 esac
3299 # Some people use a C++ compiler to compile C. Since we use `exit',
3300 # in C++ we need to declare it. In case someone uses the same compiler
3301 # for both compiling C and C++ we need to have the C++ compiler decide
3302 # the declaration of exit, since it's the most demanding environment.
3303 cat >conftest.$ac_ext <<_ACEOF
3304 #ifndef __cplusplus
3305 choke me
3306 #endif
3307 _ACEOF
3308 rm -f conftest.$ac_objext
3309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3310 (eval $ac_compile) 2>conftest.er1
3311 ac_status=$?
3312 grep -v '^ *+' conftest.er1 >conftest.err
3313 rm -f conftest.er1
3314 cat conftest.err >&5
3315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3316 (exit $ac_status); } &&
3317 { ac_try='test -z "$ac_c_werror_flag"
3318 || test ! -s conftest.err'
3319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3320 (eval $ac_try) 2>&5
3321 ac_status=$?
3322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3323 (exit $ac_status); }; } &&
3324 { ac_try='test -s conftest.$ac_objext'
3325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3326 (eval $ac_try) 2>&5
3327 ac_status=$?
3328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3329 (exit $ac_status); }; }; then
3330 for ac_declaration in \
3331 '' \
3332 'extern "C" void std::exit (int) throw (); using std::exit;' \
3333 'extern "C" void std::exit (int); using std::exit;' \
3334 'extern "C" void exit (int) throw ();' \
3335 'extern "C" void exit (int);' \
3336 'void exit (int);'
3338 cat >conftest.$ac_ext <<_ACEOF
3339 /* confdefs.h. */
3340 _ACEOF
3341 cat confdefs.h >>conftest.$ac_ext
3342 cat >>conftest.$ac_ext <<_ACEOF
3343 /* end confdefs.h. */
3344 $ac_declaration
3345 #include <stdlib.h>
3347 main ()
3349 exit (42);
3351 return 0;
3353 _ACEOF
3354 rm -f conftest.$ac_objext
3355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3356 (eval $ac_compile) 2>conftest.er1
3357 ac_status=$?
3358 grep -v '^ *+' conftest.er1 >conftest.err
3359 rm -f conftest.er1
3360 cat conftest.err >&5
3361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3362 (exit $ac_status); } &&
3363 { ac_try='test -z "$ac_c_werror_flag"
3364 || test ! -s conftest.err'
3365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3366 (eval $ac_try) 2>&5
3367 ac_status=$?
3368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3369 (exit $ac_status); }; } &&
3370 { ac_try='test -s conftest.$ac_objext'
3371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3372 (eval $ac_try) 2>&5
3373 ac_status=$?
3374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3375 (exit $ac_status); }; }; then
3377 else
3378 echo "$as_me: failed program was:" >&5
3379 sed 's/^/| /' conftest.$ac_ext >&5
3381 continue
3383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3384 cat >conftest.$ac_ext <<_ACEOF
3385 /* confdefs.h. */
3386 _ACEOF
3387 cat confdefs.h >>conftest.$ac_ext
3388 cat >>conftest.$ac_ext <<_ACEOF
3389 /* end confdefs.h. */
3390 $ac_declaration
3392 main ()
3394 exit (42);
3396 return 0;
3398 _ACEOF
3399 rm -f conftest.$ac_objext
3400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3401 (eval $ac_compile) 2>conftest.er1
3402 ac_status=$?
3403 grep -v '^ *+' conftest.er1 >conftest.err
3404 rm -f conftest.er1
3405 cat conftest.err >&5
3406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3407 (exit $ac_status); } &&
3408 { ac_try='test -z "$ac_c_werror_flag"
3409 || test ! -s conftest.err'
3410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3411 (eval $ac_try) 2>&5
3412 ac_status=$?
3413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3414 (exit $ac_status); }; } &&
3415 { ac_try='test -s conftest.$ac_objext'
3416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3417 (eval $ac_try) 2>&5
3418 ac_status=$?
3419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3420 (exit $ac_status); }; }; then
3421 break
3422 else
3423 echo "$as_me: failed program was:" >&5
3424 sed 's/^/| /' conftest.$ac_ext >&5
3427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3428 done
3429 rm -f conftest*
3430 if test -n "$ac_declaration"; then
3431 echo '#ifdef __cplusplus' >>confdefs.h
3432 echo $ac_declaration >>confdefs.h
3433 echo '#endif' >>confdefs.h
3436 else
3437 echo "$as_me: failed program was:" >&5
3438 sed 's/^/| /' conftest.$ac_ext >&5
3441 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3442 ac_ext=c
3443 ac_cpp='$CPP $CPPFLAGS'
3444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3448 ac_ext=cc
3449 ac_cpp='$CXXCPP $CPPFLAGS'
3450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3453 if test -n "$ac_tool_prefix"; then
3454 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3456 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3457 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3458 echo "$as_me:$LINENO: checking for $ac_word" >&5
3459 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3460 if test "${glibcxx_cv_prog_CXX+set}" = set; then
3461 echo $ECHO_N "(cached) $ECHO_C" >&6
3462 else
3463 if test -n "$CXX"; then
3464 glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
3465 else
3466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3467 for as_dir in $PATH
3469 IFS=$as_save_IFS
3470 test -z "$as_dir" && as_dir=.
3471 for ac_exec_ext in '' $ac_executable_extensions; do
3472 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3473 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3474 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3475 break 2
3477 done
3478 done
3482 CXX=$glibcxx_cv_prog_CXX
3483 if test -n "$CXX"; then
3484 echo "$as_me:$LINENO: result: $CXX" >&5
3485 echo "${ECHO_T}$CXX" >&6
3486 else
3487 echo "$as_me:$LINENO: result: no" >&5
3488 echo "${ECHO_T}no" >&6
3491 test -n "$CXX" && break
3492 done
3494 if test -z "$CXX"; then
3495 ac_ct_CXX=$CXX
3496 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3498 # Extract the first word of "$ac_prog", so it can be a program name with args.
3499 set dummy $ac_prog; ac_word=$2
3500 echo "$as_me:$LINENO: checking for $ac_word" >&5
3501 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3502 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3503 echo $ECHO_N "(cached) $ECHO_C" >&6
3504 else
3505 if test -n "$ac_ct_CXX"; then
3506 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3507 else
3508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3509 for as_dir in $PATH
3511 IFS=$as_save_IFS
3512 test -z "$as_dir" && as_dir=.
3513 for ac_exec_ext in '' $ac_executable_extensions; do
3514 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3515 ac_cv_prog_ac_ct_CXX="$ac_prog"
3516 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3517 break 2
3519 done
3520 done
3524 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3525 if test -n "$ac_ct_CXX"; then
3526 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3527 echo "${ECHO_T}$ac_ct_CXX" >&6
3528 else
3529 echo "$as_me:$LINENO: result: no" >&5
3530 echo "${ECHO_T}no" >&6
3533 test -n "$ac_ct_CXX" && break
3534 done
3535 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3537 CXX=$ac_ct_CXX
3541 # Provide some information about the compiler.
3542 echo "$as_me:$LINENO:" \
3543 "checking for C++ compiler version" >&5
3544 ac_compiler=`set X $ac_compile; echo $2`
3545 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3546 (eval $ac_compiler --version </dev/null >&5) 2>&5
3547 ac_status=$?
3548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3549 (exit $ac_status); }
3550 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3551 (eval $ac_compiler -v </dev/null >&5) 2>&5
3552 ac_status=$?
3553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3554 (exit $ac_status); }
3555 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3556 (eval $ac_compiler -V </dev/null >&5) 2>&5
3557 ac_status=$?
3558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3559 (exit $ac_status); }
3561 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3562 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3563 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3564 echo $ECHO_N "(cached) $ECHO_C" >&6
3565 else
3566 cat >conftest.$ac_ext <<_ACEOF
3567 /* confdefs.h. */
3568 _ACEOF
3569 cat confdefs.h >>conftest.$ac_ext
3570 cat >>conftest.$ac_ext <<_ACEOF
3571 /* end confdefs.h. */
3574 main ()
3576 #ifndef __GNUC__
3577 choke me
3578 #endif
3581 return 0;
3583 _ACEOF
3584 rm -f conftest.$ac_objext
3585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3586 (eval $ac_compile) 2>conftest.er1
3587 ac_status=$?
3588 grep -v '^ *+' conftest.er1 >conftest.err
3589 rm -f conftest.er1
3590 cat conftest.err >&5
3591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3592 (exit $ac_status); } &&
3593 { ac_try='test -z "$ac_cxx_werror_flag"
3594 || test ! -s conftest.err'
3595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3596 (eval $ac_try) 2>&5
3597 ac_status=$?
3598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3599 (exit $ac_status); }; } &&
3600 { ac_try='test -s conftest.$ac_objext'
3601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3602 (eval $ac_try) 2>&5
3603 ac_status=$?
3604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3605 (exit $ac_status); }; }; then
3606 ac_compiler_gnu=yes
3607 else
3608 echo "$as_me: failed program was:" >&5
3609 sed 's/^/| /' conftest.$ac_ext >&5
3611 ac_compiler_gnu=no
3613 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3614 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3617 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3618 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3619 GXX=`test $ac_compiler_gnu = yes && echo yes`
3620 ac_test_CXXFLAGS=${CXXFLAGS+set}
3621 ac_save_CXXFLAGS=$CXXFLAGS
3622 CXXFLAGS="-g"
3623 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3624 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3625 if test "${ac_cv_prog_cxx_g+set}" = set; then
3626 echo $ECHO_N "(cached) $ECHO_C" >&6
3627 else
3628 cat >conftest.$ac_ext <<_ACEOF
3629 /* confdefs.h. */
3630 _ACEOF
3631 cat confdefs.h >>conftest.$ac_ext
3632 cat >>conftest.$ac_ext <<_ACEOF
3633 /* end confdefs.h. */
3636 main ()
3640 return 0;
3642 _ACEOF
3643 rm -f conftest.$ac_objext
3644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3645 (eval $ac_compile) 2>conftest.er1
3646 ac_status=$?
3647 grep -v '^ *+' conftest.er1 >conftest.err
3648 rm -f conftest.er1
3649 cat conftest.err >&5
3650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3651 (exit $ac_status); } &&
3652 { ac_try='test -z "$ac_cxx_werror_flag"
3653 || test ! -s conftest.err'
3654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3655 (eval $ac_try) 2>&5
3656 ac_status=$?
3657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3658 (exit $ac_status); }; } &&
3659 { ac_try='test -s conftest.$ac_objext'
3660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3661 (eval $ac_try) 2>&5
3662 ac_status=$?
3663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3664 (exit $ac_status); }; }; then
3665 ac_cv_prog_cxx_g=yes
3666 else
3667 echo "$as_me: failed program was:" >&5
3668 sed 's/^/| /' conftest.$ac_ext >&5
3670 ac_cv_prog_cxx_g=no
3672 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3674 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3675 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3676 if test "$ac_test_CXXFLAGS" = set; then
3677 CXXFLAGS=$ac_save_CXXFLAGS
3678 elif test $ac_cv_prog_cxx_g = yes; then
3679 if test "$GXX" = yes; then
3680 CXXFLAGS="-g -O2"
3681 else
3682 CXXFLAGS="-g"
3684 else
3685 if test "$GXX" = yes; then
3686 CXXFLAGS="-O2"
3687 else
3688 CXXFLAGS=
3691 for ac_declaration in \
3692 '' \
3693 'extern "C" void std::exit (int) throw (); using std::exit;' \
3694 'extern "C" void std::exit (int); using std::exit;' \
3695 'extern "C" void exit (int) throw ();' \
3696 'extern "C" void exit (int);' \
3697 'void exit (int);'
3699 cat >conftest.$ac_ext <<_ACEOF
3700 /* confdefs.h. */
3701 _ACEOF
3702 cat confdefs.h >>conftest.$ac_ext
3703 cat >>conftest.$ac_ext <<_ACEOF
3704 /* end confdefs.h. */
3705 $ac_declaration
3706 #include <stdlib.h>
3708 main ()
3710 exit (42);
3712 return 0;
3714 _ACEOF
3715 rm -f conftest.$ac_objext
3716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3717 (eval $ac_compile) 2>conftest.er1
3718 ac_status=$?
3719 grep -v '^ *+' conftest.er1 >conftest.err
3720 rm -f conftest.er1
3721 cat conftest.err >&5
3722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3723 (exit $ac_status); } &&
3724 { ac_try='test -z "$ac_cxx_werror_flag"
3725 || test ! -s conftest.err'
3726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3727 (eval $ac_try) 2>&5
3728 ac_status=$?
3729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3730 (exit $ac_status); }; } &&
3731 { ac_try='test -s conftest.$ac_objext'
3732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3733 (eval $ac_try) 2>&5
3734 ac_status=$?
3735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3736 (exit $ac_status); }; }; then
3738 else
3739 echo "$as_me: failed program was:" >&5
3740 sed 's/^/| /' conftest.$ac_ext >&5
3742 continue
3744 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3745 cat >conftest.$ac_ext <<_ACEOF
3746 /* confdefs.h. */
3747 _ACEOF
3748 cat confdefs.h >>conftest.$ac_ext
3749 cat >>conftest.$ac_ext <<_ACEOF
3750 /* end confdefs.h. */
3751 $ac_declaration
3753 main ()
3755 exit (42);
3757 return 0;
3759 _ACEOF
3760 rm -f conftest.$ac_objext
3761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3762 (eval $ac_compile) 2>conftest.er1
3763 ac_status=$?
3764 grep -v '^ *+' conftest.er1 >conftest.err
3765 rm -f conftest.er1
3766 cat conftest.err >&5
3767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3768 (exit $ac_status); } &&
3769 { ac_try='test -z "$ac_cxx_werror_flag"
3770 || test ! -s conftest.err'
3771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3772 (eval $ac_try) 2>&5
3773 ac_status=$?
3774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3775 (exit $ac_status); }; } &&
3776 { ac_try='test -s conftest.$ac_objext'
3777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3778 (eval $ac_try) 2>&5
3779 ac_status=$?
3780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3781 (exit $ac_status); }; }; then
3782 break
3783 else
3784 echo "$as_me: failed program was:" >&5
3785 sed 's/^/| /' conftest.$ac_ext >&5
3788 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3789 done
3790 rm -f conftest*
3791 if test -n "$ac_declaration"; then
3792 echo '#ifdef __cplusplus' >>confdefs.h
3793 echo $ac_declaration >>confdefs.h
3794 echo '#endif' >>confdefs.h
3797 ac_ext=c
3798 ac_cpp='$CPP $CPPFLAGS'
3799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3803 CXXFLAGS="$save_CXXFLAGS"
3808 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3809 # available). Uncomment the next line to force a particular method.
3810 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3811 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3812 LN_S=$as_ln_s
3813 if test "$LN_S" = "ln -s"; then
3814 echo "$as_me:$LINENO: result: yes" >&5
3815 echo "${ECHO_T}yes" >&6
3816 else
3817 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3818 echo "${ECHO_T}no, using $LN_S" >&6
3821 #LN_S='cp -p'
3823 if test -n "$ac_tool_prefix"; then
3824 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3825 set dummy ${ac_tool_prefix}as; ac_word=$2
3826 echo "$as_me:$LINENO: checking for $ac_word" >&5
3827 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3828 if test "${ac_cv_prog_AS+set}" = set; then
3829 echo $ECHO_N "(cached) $ECHO_C" >&6
3830 else
3831 if test -n "$AS"; then
3832 ac_cv_prog_AS="$AS" # Let the user override the test.
3833 else
3834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3835 for as_dir in $PATH
3837 IFS=$as_save_IFS
3838 test -z "$as_dir" && as_dir=.
3839 for ac_exec_ext in '' $ac_executable_extensions; do
3840 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3841 ac_cv_prog_AS="${ac_tool_prefix}as"
3842 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3843 break 2
3845 done
3846 done
3850 AS=$ac_cv_prog_AS
3851 if test -n "$AS"; then
3852 echo "$as_me:$LINENO: result: $AS" >&5
3853 echo "${ECHO_T}$AS" >&6
3854 else
3855 echo "$as_me:$LINENO: result: no" >&5
3856 echo "${ECHO_T}no" >&6
3860 if test -z "$ac_cv_prog_AS"; then
3861 ac_ct_AS=$AS
3862 # Extract the first word of "as", so it can be a program name with args.
3863 set dummy as; ac_word=$2
3864 echo "$as_me:$LINENO: checking for $ac_word" >&5
3865 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3866 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3867 echo $ECHO_N "(cached) $ECHO_C" >&6
3868 else
3869 if test -n "$ac_ct_AS"; then
3870 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3871 else
3872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3873 for as_dir in $PATH
3875 IFS=$as_save_IFS
3876 test -z "$as_dir" && as_dir=.
3877 for ac_exec_ext in '' $ac_executable_extensions; do
3878 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3879 ac_cv_prog_ac_ct_AS="as"
3880 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3881 break 2
3883 done
3884 done
3888 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3889 if test -n "$ac_ct_AS"; then
3890 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3891 echo "${ECHO_T}$ac_ct_AS" >&6
3892 else
3893 echo "$as_me:$LINENO: result: no" >&5
3894 echo "${ECHO_T}no" >&6
3897 AS=$ac_ct_AS
3898 else
3899 AS="$ac_cv_prog_AS"
3902 if test -n "$ac_tool_prefix"; then
3903 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3904 set dummy ${ac_tool_prefix}ar; ac_word=$2
3905 echo "$as_me:$LINENO: checking for $ac_word" >&5
3906 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3907 if test "${ac_cv_prog_AR+set}" = set; then
3908 echo $ECHO_N "(cached) $ECHO_C" >&6
3909 else
3910 if test -n "$AR"; then
3911 ac_cv_prog_AR="$AR" # Let the user override the test.
3912 else
3913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3914 for as_dir in $PATH
3916 IFS=$as_save_IFS
3917 test -z "$as_dir" && as_dir=.
3918 for ac_exec_ext in '' $ac_executable_extensions; do
3919 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3920 ac_cv_prog_AR="${ac_tool_prefix}ar"
3921 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3922 break 2
3924 done
3925 done
3929 AR=$ac_cv_prog_AR
3930 if test -n "$AR"; then
3931 echo "$as_me:$LINENO: result: $AR" >&5
3932 echo "${ECHO_T}$AR" >&6
3933 else
3934 echo "$as_me:$LINENO: result: no" >&5
3935 echo "${ECHO_T}no" >&6
3939 if test -z "$ac_cv_prog_AR"; then
3940 ac_ct_AR=$AR
3941 # Extract the first word of "ar", so it can be a program name with args.
3942 set dummy ar; ac_word=$2
3943 echo "$as_me:$LINENO: checking for $ac_word" >&5
3944 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3945 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3946 echo $ECHO_N "(cached) $ECHO_C" >&6
3947 else
3948 if test -n "$ac_ct_AR"; then
3949 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3950 else
3951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3952 for as_dir in $PATH
3954 IFS=$as_save_IFS
3955 test -z "$as_dir" && as_dir=.
3956 for ac_exec_ext in '' $ac_executable_extensions; do
3957 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3958 ac_cv_prog_ac_ct_AR="ar"
3959 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3960 break 2
3962 done
3963 done
3967 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3968 if test -n "$ac_ct_AR"; then
3969 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3970 echo "${ECHO_T}$ac_ct_AR" >&6
3971 else
3972 echo "$as_me:$LINENO: result: no" >&5
3973 echo "${ECHO_T}no" >&6
3976 AR=$ac_ct_AR
3977 else
3978 AR="$ac_cv_prog_AR"
3981 if test -n "$ac_tool_prefix"; then
3982 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3983 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3984 echo "$as_me:$LINENO: checking for $ac_word" >&5
3985 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3986 if test "${ac_cv_prog_RANLIB+set}" = set; then
3987 echo $ECHO_N "(cached) $ECHO_C" >&6
3988 else
3989 if test -n "$RANLIB"; then
3990 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3991 else
3992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3993 for as_dir in $PATH
3995 IFS=$as_save_IFS
3996 test -z "$as_dir" && as_dir=.
3997 for ac_exec_ext in '' $ac_executable_extensions; do
3998 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3999 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4000 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4001 break 2
4003 done
4004 done
4008 RANLIB=$ac_cv_prog_RANLIB
4009 if test -n "$RANLIB"; then
4010 echo "$as_me:$LINENO: result: $RANLIB" >&5
4011 echo "${ECHO_T}$RANLIB" >&6
4012 else
4013 echo "$as_me:$LINENO: result: no" >&5
4014 echo "${ECHO_T}no" >&6
4018 if test -z "$ac_cv_prog_RANLIB"; then
4019 ac_ct_RANLIB=$RANLIB
4020 # Extract the first word of "ranlib", so it can be a program name with args.
4021 set dummy ranlib; ac_word=$2
4022 echo "$as_me:$LINENO: checking for $ac_word" >&5
4023 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4024 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4025 echo $ECHO_N "(cached) $ECHO_C" >&6
4026 else
4027 if test -n "$ac_ct_RANLIB"; then
4028 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4029 else
4030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4031 for as_dir in $PATH
4033 IFS=$as_save_IFS
4034 test -z "$as_dir" && as_dir=.
4035 for ac_exec_ext in '' $ac_executable_extensions; do
4036 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4037 ac_cv_prog_ac_ct_RANLIB="ranlib"
4038 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4039 break 2
4041 done
4042 done
4044 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
4047 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4048 if test -n "$ac_ct_RANLIB"; then
4049 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4050 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4051 else
4052 echo "$as_me:$LINENO: result: no" >&5
4053 echo "${ECHO_T}no" >&6
4056 RANLIB=$ac_ct_RANLIB
4057 else
4058 RANLIB="$ac_cv_prog_RANLIB"
4062 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4063 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
4064 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4065 if test "${enable_maintainer_mode+set}" = set; then
4066 enableval="$enable_maintainer_mode"
4067 USE_MAINTAINER_MODE=$enableval
4068 else
4069 USE_MAINTAINER_MODE=no
4071 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4072 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
4075 if test $USE_MAINTAINER_MODE = yes; then
4076 MAINTAINER_MODE_TRUE=
4077 MAINTAINER_MODE_FALSE='#'
4078 else
4079 MAINTAINER_MODE_TRUE='#'
4080 MAINTAINER_MODE_FALSE=
4083 MAINT=$MAINTAINER_MODE_TRUE
4087 # Set up safe default values for all subsequent AM_CONDITIONAL tests
4088 # which are themselves conditionally expanded.
4089 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
4090 ## other macros from doing the same. This should be automated.) -pme
4091 need_libmath=no
4093 # Check for uClibc since Linux platforms use different configuration
4094 # directories depending on the C library in use.
4095 cat >conftest.$ac_ext <<_ACEOF
4096 /* confdefs.h. */
4097 _ACEOF
4098 cat confdefs.h >>conftest.$ac_ext
4099 cat >>conftest.$ac_ext <<_ACEOF
4100 /* end confdefs.h. */
4102 #include <stdio.h>
4103 #if __UCLIBC__
4104 _using_uclibc
4105 #endif
4107 _ACEOF
4108 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4109 $EGREP "_using_uclibc" >/dev/null 2>&1; then
4110 uclibc=yes
4111 else
4112 uclibc=no
4114 rm -f conftest*
4117 # Find platform-specific directories containing configuration info.
4118 # Also possibly modify flags used elsewhere, as needed by the platform.
4120 . $glibcxx_srcdir/configure.host
4121 { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
4122 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
4123 { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
4124 echo "$as_me: OS config directory is $os_include_dir" >&6;}
4128 enable_dlopen=yes
4134 macro_version='2.1a'
4135 macro_revision='1.2435'
4148 ltmain="$ac_aux_dir/ltmain.sh"
4150 # Set options
4153 enable_win32_dll=no
4156 # Check whether --enable-shared or --disable-shared was given.
4157 if test "${enable_shared+set}" = set; then
4158 enableval="$enable_shared"
4159 p=${PACKAGE-default}
4160 case $enableval in
4161 yes) enable_shared=yes ;;
4162 no) enable_shared=no ;;
4164 enable_shared=no
4165 # Look at the argument we got. We use all the common list separators.
4166 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4167 for pkg in $enableval; do
4168 IFS="$lt_save_ifs"
4169 if test "X$pkg" = "X$p"; then
4170 enable_shared=yes
4172 done
4173 IFS="$lt_save_ifs"
4175 esac
4176 else
4177 enable_shared=yes
4187 # Check whether --enable-static or --disable-static was given.
4188 if test "${enable_static+set}" = set; then
4189 enableval="$enable_static"
4190 p=${PACKAGE-default}
4191 case $enableval in
4192 yes) enable_static=yes ;;
4193 no) enable_static=no ;;
4195 enable_static=no
4196 # Look at the argument we got. We use all the common list separators.
4197 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4198 for pkg in $enableval; do
4199 IFS="$lt_save_ifs"
4200 if test "X$pkg" = "X$p"; then
4201 enable_static=yes
4203 done
4204 IFS="$lt_save_ifs"
4206 esac
4207 else
4208 enable_static=yes
4219 # Check whether --with-pic or --without-pic was given.
4220 if test "${with_pic+set}" = set; then
4221 withval="$with_pic"
4222 pic_mode="$withval"
4223 else
4224 pic_mode=default
4227 test -z "$pic_mode" && pic_mode=default
4235 # Check whether --enable-fast-install or --disable-fast-install was given.
4236 if test "${enable_fast_install+set}" = set; then
4237 enableval="$enable_fast_install"
4238 p=${PACKAGE-default}
4239 case $enableval in
4240 yes) enable_fast_install=yes ;;
4241 no) enable_fast_install=no ;;
4243 enable_fast_install=no
4244 # Look at the argument we got. We use all the common list separators.
4245 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4246 for pkg in $enableval; do
4247 IFS="$lt_save_ifs"
4248 if test "X$pkg" = "X$p"; then
4249 enable_fast_install=yes
4251 done
4252 IFS="$lt_save_ifs"
4254 esac
4255 else
4256 enable_fast_install=yes
4266 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4267 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
4268 if test "${lt_cv_path_SED+set}" = set; then
4269 echo $ECHO_N "(cached) $ECHO_C" >&6
4270 else
4271 # Loop through the user's path and test for sed and gsed.
4272 # Then use that list of sed's as ones to test for truncation.
4273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4274 for as_dir in $PATH
4276 IFS=$as_save_IFS
4277 test -z "$as_dir" && as_dir=.
4278 for lt_ac_prog in sed gsed; do
4279 for ac_exec_ext in '' $ac_executable_extensions; do
4280 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4281 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4283 done
4284 done
4285 done
4286 IFS=$as_save_IFS
4287 lt_ac_max=0
4288 lt_ac_count=0
4289 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4290 # along with /bin/sed that truncates output.
4291 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4292 test ! -f $lt_ac_sed && continue
4293 cat /dev/null > conftest.in
4294 lt_ac_count=0
4295 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
4296 # Check for GNU sed and select it if it is found.
4297 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
4298 lt_cv_path_SED=$lt_ac_sed
4299 break
4301 while true; do
4302 cat conftest.in conftest.in >conftest.tmp
4303 mv conftest.tmp conftest.in
4304 cp conftest.in conftest.nl
4305 echo >>conftest.nl
4306 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
4307 cmp -s conftest.out conftest.nl || break
4308 # 10000 chars as input seems more than enough
4309 test $lt_ac_count -gt 10 && break
4310 lt_ac_count=`expr $lt_ac_count + 1`
4311 if test $lt_ac_count -gt $lt_ac_max; then
4312 lt_ac_max=$lt_ac_count
4313 lt_cv_path_SED=$lt_ac_sed
4315 done
4316 done
4320 SED=$lt_cv_path_SED
4322 echo "$as_me:$LINENO: result: $SED" >&5
4323 echo "${ECHO_T}$SED" >&6
4325 test -z "$SED" && SED=sed
4326 Xsed="$SED -e 1s/^X//"
4338 echo "$as_me:$LINENO: checking for fgrep" >&5
4339 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
4340 if test "${ac_cv_prog_fgrep+set}" = set; then
4341 echo $ECHO_N "(cached) $ECHO_C" >&6
4342 else
4343 if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
4344 then ac_cv_prog_fgrep='grep -F'
4345 else ac_cv_prog_fgrep='fgrep'
4348 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
4349 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
4350 FGREP=$ac_cv_prog_fgrep
4353 test -z "$GREP" && GREP=grep
4373 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4374 if test "${with_gnu_ld+set}" = set; then
4375 withval="$with_gnu_ld"
4376 test "$withval" = no || with_gnu_ld=yes
4377 else
4378 with_gnu_ld=no
4380 ac_prog=ld
4381 if test "$GCC" = yes; then
4382 # Check if gcc -print-prog-name=ld gives a path.
4383 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4384 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4385 case $host in
4386 *-*-mingw*)
4387 # gcc leaves a trailing carriage return which upsets mingw
4388 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4390 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4391 esac
4392 case $ac_prog in
4393 # Accept absolute paths.
4394 [\\/]* | ?:[\\/]*)
4395 re_direlt='/[^/][^/]*/\.\./'
4396 # Canonicalize the pathname of ld
4397 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4398 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4399 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4400 done
4401 test -z "$LD" && LD="$ac_prog"
4404 # If it fails, then pretend we aren't using GCC.
4405 ac_prog=ld
4408 # If it is relative, then search for the first ld in PATH.
4409 with_gnu_ld=unknown
4411 esac
4412 elif test "$with_gnu_ld" = yes; then
4413 echo "$as_me:$LINENO: checking for GNU ld" >&5
4414 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4415 else
4416 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4417 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4419 if test "${lt_cv_path_LD+set}" = set; then
4420 echo $ECHO_N "(cached) $ECHO_C" >&6
4421 else
4422 if test -z "$LD"; then
4423 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4424 for ac_dir in $PATH; do
4425 IFS="$lt_save_ifs"
4426 test -z "$ac_dir" && ac_dir=.
4427 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4428 lt_cv_path_LD="$ac_dir/$ac_prog"
4429 # Check to see if the program is GNU ld. I'd rather use --version,
4430 # but apparently some variants of GNU ld only accept -v.
4431 # Break only if it was the GNU/non-GNU ld that we prefer.
4432 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4433 *GNU* | *'with BFD'*)
4434 test "$with_gnu_ld" != no && break
4437 test "$with_gnu_ld" != yes && break
4439 esac
4441 done
4442 IFS="$lt_save_ifs"
4443 else
4444 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4448 LD="$lt_cv_path_LD"
4449 if test -n "$LD"; then
4450 echo "$as_me:$LINENO: result: $LD" >&5
4451 echo "${ECHO_T}$LD" >&6
4452 else
4453 echo "$as_me:$LINENO: result: no" >&5
4454 echo "${ECHO_T}no" >&6
4456 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4457 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4458 { (exit 1); exit 1; }; }
4459 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4460 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4461 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4462 echo $ECHO_N "(cached) $ECHO_C" >&6
4463 else
4464 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4465 case `$LD -v 2>&1 </dev/null` in
4466 *GNU* | *'with BFD'*)
4467 lt_cv_prog_gnu_ld=yes
4470 lt_cv_prog_gnu_ld=no
4472 esac
4474 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4475 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4476 with_gnu_ld=$lt_cv_prog_gnu_ld
4487 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4488 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
4489 if test "${lt_cv_path_NM+set}" = set; then
4490 echo $ECHO_N "(cached) $ECHO_C" >&6
4491 else
4492 if test -n "$NM"; then
4493 # Let the user override the test.
4494 lt_cv_path_NM="$NM"
4495 else
4496 lt_nm_to_check="${ac_tool_prefix}nm"
4497 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4498 lt_nm_to_check="$lt_nm_to_check nm"
4500 for lt_tmp_nm in $lt_nm_to_check; do
4501 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4502 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4503 IFS="$lt_save_ifs"
4504 test -z "$ac_dir" && ac_dir=.
4505 tmp_nm="$ac_dir/$lt_tmp_nm"
4506 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4507 # Check to see if the nm accepts a BSD-compat flag.
4508 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4509 # nm: unknown option "B" ignored
4510 # Tru64's nm complains that /dev/null is an invalid object file
4511 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4512 */dev/null* | *'Invalid file or object type'*)
4513 lt_cv_path_NM="$tmp_nm -B"
4514 break
4517 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4518 */dev/null*)
4519 lt_cv_path_NM="$tmp_nm -p"
4520 break
4523 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4524 continue # so that we can try to find one that supports BSD flags
4526 esac
4528 esac
4530 done
4531 IFS="$lt_save_ifs"
4532 done
4533 : ${lt_cv_path_NM=no}
4536 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4537 echo "${ECHO_T}$lt_cv_path_NM" >&6
4538 if test "$lt_cv_path_NM" != "no"; then
4539 NM="$lt_cv_path_NM"
4540 else
4541 # Didn't find any BSD compatible name lister, look for dumpbin.
4542 if test -n "$ac_tool_prefix"; then
4543 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4545 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4546 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4547 echo "$as_me:$LINENO: checking for $ac_word" >&5
4548 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4549 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4550 echo $ECHO_N "(cached) $ECHO_C" >&6
4551 else
4552 if test -n "$DUMPBIN"; then
4553 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4554 else
4555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4556 for as_dir in $PATH
4558 IFS=$as_save_IFS
4559 test -z "$as_dir" && as_dir=.
4560 for ac_exec_ext in '' $ac_executable_extensions; do
4561 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4562 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4563 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4564 break 2
4566 done
4567 done
4571 DUMPBIN=$ac_cv_prog_DUMPBIN
4572 if test -n "$DUMPBIN"; then
4573 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4574 echo "${ECHO_T}$DUMPBIN" >&6
4575 else
4576 echo "$as_me:$LINENO: result: no" >&5
4577 echo "${ECHO_T}no" >&6
4580 test -n "$DUMPBIN" && break
4581 done
4583 if test -z "$DUMPBIN"; then
4584 ac_ct_DUMPBIN=$DUMPBIN
4585 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4587 # Extract the first word of "$ac_prog", so it can be a program name with args.
4588 set dummy $ac_prog; ac_word=$2
4589 echo "$as_me:$LINENO: checking for $ac_word" >&5
4590 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4591 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4592 echo $ECHO_N "(cached) $ECHO_C" >&6
4593 else
4594 if test -n "$ac_ct_DUMPBIN"; then
4595 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4596 else
4597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4598 for as_dir in $PATH
4600 IFS=$as_save_IFS
4601 test -z "$as_dir" && as_dir=.
4602 for ac_exec_ext in '' $ac_executable_extensions; do
4603 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4604 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4605 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4606 break 2
4608 done
4609 done
4613 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4614 if test -n "$ac_ct_DUMPBIN"; then
4615 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4616 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
4617 else
4618 echo "$as_me:$LINENO: result: no" >&5
4619 echo "${ECHO_T}no" >&6
4622 test -n "$ac_ct_DUMPBIN" && break
4623 done
4624 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN=":"
4626 DUMPBIN=$ac_ct_DUMPBIN
4630 if test "$DUMPBIN" != ":"; then
4631 NM="$DUMPBIN"
4634 test -z "$NM" && NM=nm
4641 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4642 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
4643 if test "${lt_cv_nm_interface+set}" = set; then
4644 echo $ECHO_N "(cached) $ECHO_C" >&6
4645 else
4646 lt_cv_nm_interface="BSD nm"
4647 echo "int some_variable = 0;" > conftest.$ac_ext
4648 (eval echo "\"\$as_me:4648: $ac_compile\"" >&5)
4649 (eval "$ac_compile" 2>conftest.err)
4650 cat conftest.err >&5
4651 (eval echo "\"\$as_me:4651: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4652 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4653 cat conftest.err >&5
4654 (eval echo "\"\$as_me:4654: output\"" >&5)
4655 cat conftest.out >&5
4656 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4657 lt_cv_nm_interface="MS dumpbin"
4659 rm -f conftest*
4661 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4662 echo "${ECHO_T}$lt_cv_nm_interface" >&6
4664 # find the maximum length of command line arguments
4665 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4666 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4667 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4668 echo $ECHO_N "(cached) $ECHO_C" >&6
4669 else
4671 teststring="ABCD"
4673 case $build_os in
4674 msdosdjgpp*)
4675 # On DJGPP, this test can blow up pretty badly due to problems in libc
4676 # (any single argument exceeding 2000 bytes causes a buffer overrun
4677 # during glob expansion). Even if it were fixed, the result of this
4678 # check would be larger than it should be.
4679 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4682 gnu*)
4683 # Under GNU Hurd, this test is not required because there is
4684 # no limit to the length of command line arguments.
4685 # Libtool will interpret -1 as no limit whatsoever
4686 lt_cv_sys_max_cmd_len=-1;
4689 cygwin* | mingw*)
4690 # On Win9x/ME, this test blows up -- it succeeds, but takes
4691 # about 5 minutes as the teststring grows exponentially.
4692 # Worse, since 9x/ME are not pre-emptively multitasking,
4693 # you end up with a "frozen" computer, even though with patience
4694 # the test eventually succeeds (with a max line length of 256k).
4695 # Instead, let's just punt: use the minimum linelength reported by
4696 # all of the supported platforms: 8192 (on NT/2K/XP).
4697 lt_cv_sys_max_cmd_len=8192;
4700 amigaos*)
4701 # On AmigaOS with pdksh, this test takes hours, literally.
4702 # So we just punt and use a minimum line length of 8192.
4703 lt_cv_sys_max_cmd_len=8192;
4706 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4707 # This has been around since 386BSD, at least. Likely further.
4708 if test -x /sbin/sysctl; then
4709 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4710 elif test -x /usr/sbin/sysctl; then
4711 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4712 else
4713 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4715 # And add a safety zone
4716 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4717 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4720 interix*)
4721 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4722 lt_cv_sys_max_cmd_len=196608
4725 osf*)
4726 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4727 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4728 # nice to cause kernel panics so lets avoid the loop below.
4729 # First set a reasonable default.
4730 lt_cv_sys_max_cmd_len=16384
4732 if test -x /sbin/sysconfig; then
4733 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4734 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4735 esac
4738 sco3.2v5*)
4739 lt_cv_sys_max_cmd_len=102400
4741 sysv5* | sco5v6* | sysv4.2uw2*)
4742 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4743 if test -n "$kargmax"; then
4744 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4745 else
4746 lt_cv_sys_max_cmd_len=32768
4750 lt_cv_sys_max_cmd_len=`getconf ARG_MAX 2> /dev/null`
4751 if test -n $lt_cv_sys_max_cmd_len; then
4752 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4753 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4754 else
4755 # Make teststring a little bigger before we do anything with it.
4756 # a 1K string should be a reasonable start.
4757 for i in 1 2 3 4 5 6 7 8 ; do
4758 teststring=$teststring$teststring
4759 done
4760 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4761 # If test is not a shell built-in, we'll probably end up computing a
4762 # maximum length that is only half of the actual maximum length, but
4763 # we can't tell.
4764 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4765 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4766 test $i != 17 # 1/2 MB should be enough
4768 i=`expr $i + 1`
4769 teststring=$teststring$teststring
4770 done
4771 # Only check the string length outside the loop.
4772 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4773 teststring=
4774 # Add a significant safety factor because C++ compilers can tack on
4775 # massive amounts of additional arguments before passing them to the
4776 # linker. It appears as though 1/2 is a usable value.
4777 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4780 esac
4784 if test -n $lt_cv_sys_max_cmd_len ; then
4785 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4786 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4787 else
4788 echo "$as_me:$LINENO: result: none" >&5
4789 echo "${ECHO_T}none" >&6
4791 max_cmd_len=$lt_cv_sys_max_cmd_len
4799 : ${CP="cp -f"}
4800 : ${MV="mv -f"}
4801 : ${RM="rm -f"}
4803 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4804 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
4805 # Try some XSI features
4806 xsi_shell=no
4807 ( _lt_dummy="a/b/c"
4808 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4809 = c,a/b,, ) >/dev/null 2>&1 \
4810 && xsi_shell=yes
4811 echo "$as_me:$LINENO: result: $xsi_shell" >&5
4812 echo "${ECHO_T}$xsi_shell" >&6
4815 echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
4816 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6
4817 lt_shell_append=no
4818 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4819 >/dev/null 2>&1 \
4820 && lt_shell_append=yes
4821 echo "$as_me:$LINENO: result: $lt_shell_append" >&5
4822 echo "${ECHO_T}$lt_shell_append" >&6
4825 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4826 lt_unset=unset
4827 else
4828 lt_unset=false
4835 # test EBCDIC or ASCII
4836 case `echo X|tr X '\101'` in
4837 A) # ASCII based system
4838 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4839 lt_SP2NL='tr \040 \012'
4840 lt_NL2SP='tr \015\012 \040\040'
4842 *) # EBCDIC based system
4843 lt_SP2NL='tr \100 \n'
4844 lt_NL2SP='tr \r\n \100\100'
4846 esac
4856 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4857 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4858 if test "${lt_cv_ld_reload_flag+set}" = set; then
4859 echo $ECHO_N "(cached) $ECHO_C" >&6
4860 else
4861 lt_cv_ld_reload_flag='-r'
4863 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4864 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4865 reload_flag=$lt_cv_ld_reload_flag
4866 case $reload_flag in
4867 "" | " "*) ;;
4868 *) reload_flag=" $reload_flag" ;;
4869 esac
4870 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4871 case $host_os in
4872 darwin*)
4873 if test "$GCC" = yes; then
4874 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4875 else
4876 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4879 esac
4890 echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4891 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6
4892 if test "${lt_cv_deplibs_check_method+set}" = set; then
4893 echo $ECHO_N "(cached) $ECHO_C" >&6
4894 else
4895 lt_cv_file_magic_cmd='$MAGIC_CMD'
4896 lt_cv_file_magic_test_file=
4897 lt_cv_deplibs_check_method='unknown'
4898 # Need to set the preceding variable on all platforms that support
4899 # interlibrary dependencies.
4900 # 'none' -- dependencies not supported.
4901 # `unknown' -- same as none, but documents that we really don't know.
4902 # 'pass_all' -- all dependencies passed with no checks.
4903 # 'test_compile' -- check by making test program.
4904 # 'file_magic [[regex]]' -- check by looking for files in library path
4905 # which responds to the $file_magic_cmd with a given extended regex.
4906 # If you have `file' or equivalent on your system and you're not sure
4907 # whether `pass_all' will *always* work, you probably want this one.
4909 case $host_os in
4910 aix[4-9]*)
4911 lt_cv_deplibs_check_method=pass_all
4914 beos*)
4915 lt_cv_deplibs_check_method=pass_all
4918 bsdi[45]*)
4919 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4920 lt_cv_file_magic_cmd='/usr/bin/file -L'
4921 lt_cv_file_magic_test_file=/shlib/libc.so
4924 cygwin*)
4925 # func_win32_libid is a shell function defined in ltmain.sh
4926 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4927 lt_cv_file_magic_cmd='func_win32_libid'
4930 mingw* | pw32*)
4931 # Base MSYS/MinGW do not provide the 'file' command needed by
4932 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4933 # unless we find 'file', for example because we are cross-compiling.
4934 if ( file / ) >/dev/null 2>&1; then
4935 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4936 lt_cv_file_magic_cmd='func_win32_libid'
4937 else
4938 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4939 lt_cv_file_magic_cmd='$OBJDUMP -f'
4943 darwin* | rhapsody*)
4944 lt_cv_deplibs_check_method=pass_all
4947 freebsd* | dragonfly*)
4948 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4949 case $host_cpu in
4950 i*86 )
4951 # Not sure whether the presence of OpenBSD here was a mistake.
4952 # Let's accept both of them until this is cleared up.
4953 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4954 lt_cv_file_magic_cmd=/usr/bin/file
4955 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4957 esac
4958 else
4959 lt_cv_deplibs_check_method=pass_all
4963 gnu*)
4964 lt_cv_deplibs_check_method=pass_all
4967 hpux10.20* | hpux11*)
4968 lt_cv_file_magic_cmd=/usr/bin/file
4969 case $host_cpu in
4970 ia64*)
4971 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4972 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4974 hppa*64*)
4975 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]'
4976 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4979 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4980 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4982 esac
4985 interix[3-9]*)
4986 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4987 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4990 irix5* | irix6* | nonstopux*)
4991 case $LD in
4992 *-32|*"-32 ") libmagic=32-bit;;
4993 *-n32|*"-n32 ") libmagic=N32;;
4994 *-64|*"-64 ") libmagic=64-bit;;
4995 *) libmagic=never-match;;
4996 esac
4997 lt_cv_deplibs_check_method=pass_all
5000 # This must be Linux ELF.
5001 linux* | k*bsd*-gnu)
5002 lt_cv_deplibs_check_method=pass_all
5005 netbsd*)
5006 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5007 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5008 else
5009 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5013 newos6*)
5014 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5015 lt_cv_file_magic_cmd=/usr/bin/file
5016 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5019 *nto* | *qnx*)
5020 lt_cv_deplibs_check_method=pass_all
5023 openbsd*)
5024 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5025 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5026 else
5027 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5031 osf3* | osf4* | osf5*)
5032 lt_cv_deplibs_check_method=pass_all
5035 rdos*)
5036 lt_cv_deplibs_check_method=pass_all
5039 solaris*)
5040 lt_cv_deplibs_check_method=pass_all
5043 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5044 lt_cv_deplibs_check_method=pass_all
5047 sysv4 | sysv4.3*)
5048 case $host_vendor in
5049 motorola)
5050 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]'
5051 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5053 ncr)
5054 lt_cv_deplibs_check_method=pass_all
5056 sequent)
5057 lt_cv_file_magic_cmd='/bin/file'
5058 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5060 sni)
5061 lt_cv_file_magic_cmd='/bin/file'
5062 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5063 lt_cv_file_magic_test_file=/lib/libc.so
5065 siemens)
5066 lt_cv_deplibs_check_method=pass_all
5069 lt_cv_deplibs_check_method=pass_all
5071 esac
5074 tpf*)
5075 lt_cv_deplibs_check_method=pass_all
5077 esac
5080 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5081 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5082 file_magic_cmd=$lt_cv_file_magic_cmd
5083 deplibs_check_method=$lt_cv_deplibs_check_method
5084 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5097 if test -n "$ac_tool_prefix"; then
5098 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5099 set dummy ${ac_tool_prefix}ar; ac_word=$2
5100 echo "$as_me:$LINENO: checking for $ac_word" >&5
5101 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5102 if test "${ac_cv_prog_AR+set}" = set; then
5103 echo $ECHO_N "(cached) $ECHO_C" >&6
5104 else
5105 if test -n "$AR"; then
5106 ac_cv_prog_AR="$AR" # Let the user override the test.
5107 else
5108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5109 for as_dir in $PATH
5111 IFS=$as_save_IFS
5112 test -z "$as_dir" && as_dir=.
5113 for ac_exec_ext in '' $ac_executable_extensions; do
5114 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5115 ac_cv_prog_AR="${ac_tool_prefix}ar"
5116 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5117 break 2
5119 done
5120 done
5124 AR=$ac_cv_prog_AR
5125 if test -n "$AR"; then
5126 echo "$as_me:$LINENO: result: $AR" >&5
5127 echo "${ECHO_T}$AR" >&6
5128 else
5129 echo "$as_me:$LINENO: result: no" >&5
5130 echo "${ECHO_T}no" >&6
5134 if test -z "$ac_cv_prog_AR"; then
5135 ac_ct_AR=$AR
5136 # Extract the first word of "ar", so it can be a program name with args.
5137 set dummy ar; ac_word=$2
5138 echo "$as_me:$LINENO: checking for $ac_word" >&5
5139 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5140 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5141 echo $ECHO_N "(cached) $ECHO_C" >&6
5142 else
5143 if test -n "$ac_ct_AR"; then
5144 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5145 else
5146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5147 for as_dir in $PATH
5149 IFS=$as_save_IFS
5150 test -z "$as_dir" && as_dir=.
5151 for ac_exec_ext in '' $ac_executable_extensions; do
5152 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5153 ac_cv_prog_ac_ct_AR="ar"
5154 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5155 break 2
5157 done
5158 done
5160 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5163 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5164 if test -n "$ac_ct_AR"; then
5165 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5166 echo "${ECHO_T}$ac_ct_AR" >&6
5167 else
5168 echo "$as_me:$LINENO: result: no" >&5
5169 echo "${ECHO_T}no" >&6
5172 AR=$ac_ct_AR
5173 else
5174 AR="$ac_cv_prog_AR"
5177 test -z "$AR" && AR=ar
5178 test -z "$AR_FLAGS" && AR_FLAGS=cru
5190 if test -n "$ac_tool_prefix"; then
5191 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5192 set dummy ${ac_tool_prefix}strip; ac_word=$2
5193 echo "$as_me:$LINENO: checking for $ac_word" >&5
5194 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5195 if test "${ac_cv_prog_STRIP+set}" = set; then
5196 echo $ECHO_N "(cached) $ECHO_C" >&6
5197 else
5198 if test -n "$STRIP"; then
5199 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5200 else
5201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5202 for as_dir in $PATH
5204 IFS=$as_save_IFS
5205 test -z "$as_dir" && as_dir=.
5206 for ac_exec_ext in '' $ac_executable_extensions; do
5207 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5208 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5209 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5210 break 2
5212 done
5213 done
5217 STRIP=$ac_cv_prog_STRIP
5218 if test -n "$STRIP"; then
5219 echo "$as_me:$LINENO: result: $STRIP" >&5
5220 echo "${ECHO_T}$STRIP" >&6
5221 else
5222 echo "$as_me:$LINENO: result: no" >&5
5223 echo "${ECHO_T}no" >&6
5227 if test -z "$ac_cv_prog_STRIP"; then
5228 ac_ct_STRIP=$STRIP
5229 # Extract the first word of "strip", so it can be a program name with args.
5230 set dummy strip; ac_word=$2
5231 echo "$as_me:$LINENO: checking for $ac_word" >&5
5232 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5233 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5234 echo $ECHO_N "(cached) $ECHO_C" >&6
5235 else
5236 if test -n "$ac_ct_STRIP"; then
5237 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5238 else
5239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5240 for as_dir in $PATH
5242 IFS=$as_save_IFS
5243 test -z "$as_dir" && as_dir=.
5244 for ac_exec_ext in '' $ac_executable_extensions; do
5245 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5246 ac_cv_prog_ac_ct_STRIP="strip"
5247 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5248 break 2
5250 done
5251 done
5253 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5256 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5257 if test -n "$ac_ct_STRIP"; then
5258 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5259 echo "${ECHO_T}$ac_ct_STRIP" >&6
5260 else
5261 echo "$as_me:$LINENO: result: no" >&5
5262 echo "${ECHO_T}no" >&6
5265 STRIP=$ac_ct_STRIP
5266 else
5267 STRIP="$ac_cv_prog_STRIP"
5270 test -z "$STRIP" && STRIP=:
5277 if test -n "$ac_tool_prefix"; then
5278 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5279 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5280 echo "$as_me:$LINENO: checking for $ac_word" >&5
5281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5282 if test "${ac_cv_prog_RANLIB+set}" = set; then
5283 echo $ECHO_N "(cached) $ECHO_C" >&6
5284 else
5285 if test -n "$RANLIB"; then
5286 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5287 else
5288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5289 for as_dir in $PATH
5291 IFS=$as_save_IFS
5292 test -z "$as_dir" && as_dir=.
5293 for ac_exec_ext in '' $ac_executable_extensions; do
5294 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5295 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5296 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5297 break 2
5299 done
5300 done
5304 RANLIB=$ac_cv_prog_RANLIB
5305 if test -n "$RANLIB"; then
5306 echo "$as_me:$LINENO: result: $RANLIB" >&5
5307 echo "${ECHO_T}$RANLIB" >&6
5308 else
5309 echo "$as_me:$LINENO: result: no" >&5
5310 echo "${ECHO_T}no" >&6
5314 if test -z "$ac_cv_prog_RANLIB"; then
5315 ac_ct_RANLIB=$RANLIB
5316 # Extract the first word of "ranlib", so it can be a program name with args.
5317 set dummy ranlib; ac_word=$2
5318 echo "$as_me:$LINENO: checking for $ac_word" >&5
5319 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5320 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5321 echo $ECHO_N "(cached) $ECHO_C" >&6
5322 else
5323 if test -n "$ac_ct_RANLIB"; then
5324 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5325 else
5326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5327 for as_dir in $PATH
5329 IFS=$as_save_IFS
5330 test -z "$as_dir" && as_dir=.
5331 for ac_exec_ext in '' $ac_executable_extensions; do
5332 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5333 ac_cv_prog_ac_ct_RANLIB="ranlib"
5334 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5335 break 2
5337 done
5338 done
5340 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5343 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5344 if test -n "$ac_ct_RANLIB"; then
5345 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5346 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5347 else
5348 echo "$as_me:$LINENO: result: no" >&5
5349 echo "${ECHO_T}no" >&6
5352 RANLIB=$ac_ct_RANLIB
5353 else
5354 RANLIB="$ac_cv_prog_RANLIB"
5357 test -z "$RANLIB" && RANLIB=:
5364 # Determine commands to create old-style static archives.
5365 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5366 old_postinstall_cmds='chmod 644 $oldlib'
5367 old_postuninstall_cmds=
5369 if test -n "$RANLIB"; then
5370 case $host_os in
5371 openbsd*)
5372 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5375 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5377 esac
5378 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5414 # If no C compiler was specified, use CC.
5415 LTCC=${LTCC-"$CC"}
5417 # If no C compiler flags were specified, use CFLAGS.
5418 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5420 # Allow CC to be a program name with arguments.
5421 compiler=$CC
5424 # Check for command to grab the raw symbol name followed by C symbol from nm.
5425 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5426 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5427 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5428 echo $ECHO_N "(cached) $ECHO_C" >&6
5429 else
5431 # These are sane defaults that work on at least a few old systems.
5432 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5434 # Character class describing NM global symbol codes.
5435 symcode='[BCDEGRST]'
5437 # Regexp to match symbols that can be accessed directly from C.
5438 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5440 # Define system-specific variables.
5441 case $host_os in
5442 aix*)
5443 symcode='[BCDT]'
5445 cygwin* | mingw* | pw32*)
5446 symcode='[ABCDGISTW]'
5448 hpux*)
5449 if test "$host_cpu" = ia64; then
5450 symcode='[ABCDEGRST]'
5453 irix* | nonstopux*)
5454 symcode='[BCDEGRST]'
5456 osf*)
5457 symcode='[BCDEGQRST]'
5459 solaris*)
5460 symcode='[BDRT]'
5462 sco3.2v5*)
5463 symcode='[DT]'
5465 sysv4.2uw2*)
5466 symcode='[DT]'
5468 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5469 symcode='[ABDT]'
5471 sysv4)
5472 symcode='[DFNSTU]'
5474 esac
5476 # If we're using GNU nm, then use its standard symbol codes.
5477 case `$NM -V 2>&1` in
5478 *GNU* | *'with BFD'*)
5479 symcode='[ABCDGIRSTW]' ;;
5480 esac
5482 # Transform an extracted symbol line into a proper C declaration.
5483 # Some systems (esp. on ia64) link data and code symbols differently,
5484 # so use this general approach.
5485 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5487 # Transform an extracted symbol line into symbol name and symbol address
5488 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5490 # Handle CRLF in mingw tool chain
5491 opt_cr=
5492 case $build_os in
5493 mingw*)
5494 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5496 esac
5498 # Try without a prefix underscore, then with it.
5499 for ac_symprfx in "" "_"; do
5501 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5502 symxfrm="\\1 $ac_symprfx\\2 \\2"
5504 # Write the raw and C identifiers.
5505 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5506 # Fake it for dumpbin and say T for any non-static function
5507 # and D for any global variable.
5508 # Also find C++ and __fastcall symbols from MSVC++,
5509 # which start with @ or ?.
5510 lt_cv_sys_global_symbol_pipe="$AWK '"\
5511 " {last_section=section; section=\$ 3};"\
5512 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5513 " \$ 0!~/External *\|/{next};"\
5514 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5515 " {if(hide[section]) next};"\
5516 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5517 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5518 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5519 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5520 " ' prfx=^$ac_symprfx"
5521 else
5522 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5525 # Check to see that the pipe works correctly.
5526 pipe_works=no
5528 rm -f conftest*
5529 cat > conftest.$ac_ext <<_LT_EOF
5530 #ifdef __cplusplus
5531 extern "C" {
5532 #endif
5533 char nm_test_var;
5534 void nm_test_func(void);
5535 void nm_test_func(void){}
5536 #ifdef __cplusplus
5538 #endif
5539 int main(){nm_test_var='a';nm_test_func();return(0);}
5540 _LT_EOF
5542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5543 (eval $ac_compile) 2>&5
5544 ac_status=$?
5545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5546 (exit $ac_status); }; then
5547 # Now try to grab the symbols.
5548 nlist=conftest.nm
5549 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5550 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5551 ac_status=$?
5552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5553 (exit $ac_status); } && test -s "$nlist"; then
5554 # Try sorting and uniquifying the output.
5555 if sort "$nlist" | uniq > "$nlist"T; then
5556 mv -f "$nlist"T "$nlist"
5557 else
5558 rm -f "$nlist"T
5561 # Make sure that we snagged all the symbols we need.
5562 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5563 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5564 cat <<_LT_EOF > conftest.$ac_ext
5565 #ifdef __cplusplus
5566 extern "C" {
5567 #endif
5569 _LT_EOF
5570 # Now generate the symbol file.
5571 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5573 cat <<_LT_EOF >> conftest.$ac_ext
5575 /* The mapping between symbol names and symbols. */
5576 const struct {
5577 const char *name;
5578 void *address;
5580 lt__PROGRAM__LTX_preloaded_symbols[] =
5582 { "@PROGRAM@", (void *) 0 },
5583 _LT_EOF
5584 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5585 cat <<\_LT_EOF >> conftest.$ac_ext
5586 {0, (void *) 0}
5589 /* This works around a problem in FreeBSD linker */
5590 #ifdef FREEBSD_WORKAROUND
5591 static const void *lt_preloaded_setup() {
5592 return lt__PROGRAM__LTX_preloaded_symbols;
5594 #endif
5596 #ifdef __cplusplus
5598 #endif
5599 _LT_EOF
5600 # Now try linking the two files.
5601 mv conftest.$ac_objext conftstm.$ac_objext
5602 lt_save_LIBS="$LIBS"
5603 lt_save_CFLAGS="$CFLAGS"
5604 LIBS="conftstm.$ac_objext"
5605 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5607 (eval $ac_link) 2>&5
5608 ac_status=$?
5609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5610 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5611 pipe_works=yes
5613 LIBS="$lt_save_LIBS"
5614 CFLAGS="$lt_save_CFLAGS"
5615 else
5616 echo "cannot find nm_test_func in $nlist" >&5
5618 else
5619 echo "cannot find nm_test_var in $nlist" >&5
5621 else
5622 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5624 else
5625 echo "$progname: failed program was:" >&5
5626 cat conftest.$ac_ext >&5
5628 rm -f conftest* conftst*
5630 # Do not use the global_symbol_pipe unless it works.
5631 if test "$pipe_works" = yes; then
5632 break
5633 else
5634 lt_cv_sys_global_symbol_pipe=
5636 done
5640 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5641 lt_cv_sys_global_symbol_to_cdecl=
5643 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5644 echo "$as_me:$LINENO: result: failed" >&5
5645 echo "${ECHO_T}failed" >&6
5646 else
5647 echo "$as_me:$LINENO: result: ok" >&5
5648 echo "${ECHO_T}ok" >&6
5667 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5668 if test "${enable_libtool_lock+set}" = set; then
5669 enableval="$enable_libtool_lock"
5672 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5674 # Some flags need to be propagated to the compiler or linker for good
5675 # libtool support.
5676 case $host in
5677 ia64-*-hpux*)
5678 # Find out which ABI we are using.
5679 echo 'int i;' > conftest.$ac_ext
5680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5681 (eval $ac_compile) 2>&5
5682 ac_status=$?
5683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5684 (exit $ac_status); }; then
5685 case `/usr/bin/file conftest.$ac_objext` in
5686 *ELF-32*)
5687 HPUX_IA64_MODE="32"
5689 *ELF-64*)
5690 HPUX_IA64_MODE="64"
5692 esac
5694 rm -rf conftest*
5696 *-*-irix6*)
5697 # Find out which ABI we are using.
5698 echo '#line 5698 "configure"' > conftest.$ac_ext
5699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5700 (eval $ac_compile) 2>&5
5701 ac_status=$?
5702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5703 (exit $ac_status); }; then
5704 if test "$lt_cv_prog_gnu_ld" = yes; then
5705 case `/usr/bin/file conftest.$ac_objext` in
5706 *32-bit*)
5707 LD="${LD-ld} -melf32bsmip"
5709 *N32*)
5710 LD="${LD-ld} -melf32bmipn32"
5712 *64-bit*)
5713 LD="${LD-ld} -melf64bmip"
5715 esac
5716 else
5717 case `/usr/bin/file conftest.$ac_objext` in
5718 *32-bit*)
5719 LD="${LD-ld} -32"
5721 *N32*)
5722 LD="${LD-ld} -n32"
5724 *64-bit*)
5725 LD="${LD-ld} -64"
5727 esac
5730 rm -rf conftest*
5733 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5734 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5735 # Find out which ABI we are using.
5736 echo 'int i;' > conftest.$ac_ext
5737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5738 (eval $ac_compile) 2>&5
5739 ac_status=$?
5740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5741 (exit $ac_status); }; then
5742 case `/usr/bin/file conftest.o` in
5743 *32-bit*)
5744 case $host in
5745 x86_64-*kfreebsd*-gnu)
5746 LD="${LD-ld} -m elf_i386_fbsd"
5748 x86_64-*linux*)
5749 LD="${LD-ld} -m elf_i386"
5751 ppc64-*linux*|powerpc64-*linux*)
5752 LD="${LD-ld} -m elf32ppclinux"
5754 s390x-*linux*)
5755 LD="${LD-ld} -m elf_s390"
5757 sparc64-*linux*)
5758 LD="${LD-ld} -m elf32_sparc"
5760 esac
5762 *64-bit*)
5763 case $host in
5764 x86_64-*kfreebsd*-gnu)
5765 LD="${LD-ld} -m elf_x86_64_fbsd"
5767 x86_64-*linux*)
5768 LD="${LD-ld} -m elf_x86_64"
5770 ppc*-*linux*|powerpc*-*linux*)
5771 LD="${LD-ld} -m elf64ppc"
5773 s390*-*linux*|s390*-*tpf*)
5774 LD="${LD-ld} -m elf64_s390"
5776 sparc*-*linux*)
5777 LD="${LD-ld} -m elf64_sparc"
5779 esac
5781 esac
5783 rm -rf conftest*
5786 *-*-sco3.2v5*)
5787 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5788 SAVE_CFLAGS="$CFLAGS"
5789 CFLAGS="$CFLAGS -belf"
5790 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5791 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5792 if test "${lt_cv_cc_needs_belf+set}" = set; then
5793 echo $ECHO_N "(cached) $ECHO_C" >&6
5794 else
5795 ac_ext=c
5796 ac_cpp='$CPP $CPPFLAGS'
5797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5801 if test x$gcc_no_link = xyes; then
5802 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5803 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5804 { (exit 1); exit 1; }; }
5806 cat >conftest.$ac_ext <<_ACEOF
5807 /* confdefs.h. */
5808 _ACEOF
5809 cat confdefs.h >>conftest.$ac_ext
5810 cat >>conftest.$ac_ext <<_ACEOF
5811 /* end confdefs.h. */
5814 main ()
5818 return 0;
5820 _ACEOF
5821 rm -f conftest.$ac_objext conftest$ac_exeext
5822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5823 (eval $ac_link) 2>conftest.er1
5824 ac_status=$?
5825 grep -v '^ *+' conftest.er1 >conftest.err
5826 rm -f conftest.er1
5827 cat conftest.err >&5
5828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5829 (exit $ac_status); } &&
5830 { ac_try='test -z "$ac_c_werror_flag"
5831 || test ! -s conftest.err'
5832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5833 (eval $ac_try) 2>&5
5834 ac_status=$?
5835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5836 (exit $ac_status); }; } &&
5837 { ac_try='test -s conftest$ac_exeext'
5838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5839 (eval $ac_try) 2>&5
5840 ac_status=$?
5841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5842 (exit $ac_status); }; }; then
5843 lt_cv_cc_needs_belf=yes
5844 else
5845 echo "$as_me: failed program was:" >&5
5846 sed 's/^/| /' conftest.$ac_ext >&5
5848 lt_cv_cc_needs_belf=no
5850 rm -f conftest.err conftest.$ac_objext \
5851 conftest$ac_exeext conftest.$ac_ext
5852 ac_ext=c
5853 ac_cpp='$CPP $CPPFLAGS'
5854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5859 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5860 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5861 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5862 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5863 CFLAGS="$SAVE_CFLAGS"
5866 sparc*-*solaris*)
5867 # Find out which ABI we are using.
5868 echo 'int i;' > conftest.$ac_ext
5869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5870 (eval $ac_compile) 2>&5
5871 ac_status=$?
5872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5873 (exit $ac_status); }; then
5874 case `/usr/bin/file conftest.o` in
5875 *64-bit*)
5876 case $lt_cv_prog_gnu_ld in
5877 yes*) LD="${LD-ld} -m elf64_sparc" ;;
5878 *) LD="${LD-ld} -64" ;;
5879 esac
5881 esac
5883 rm -rf conftest*
5885 esac
5887 need_locks="$enable_libtool_lock"
5889 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5890 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5891 if test "${ac_cv_header_stdc+set}" = set; then
5892 echo $ECHO_N "(cached) $ECHO_C" >&6
5893 else
5894 cat >conftest.$ac_ext <<_ACEOF
5895 /* confdefs.h. */
5896 _ACEOF
5897 cat confdefs.h >>conftest.$ac_ext
5898 cat >>conftest.$ac_ext <<_ACEOF
5899 /* end confdefs.h. */
5900 #include <stdlib.h>
5901 #include <stdarg.h>
5902 #include <string.h>
5903 #include <float.h>
5906 main ()
5910 return 0;
5912 _ACEOF
5913 rm -f conftest.$ac_objext
5914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5915 (eval $ac_compile) 2>conftest.er1
5916 ac_status=$?
5917 grep -v '^ *+' conftest.er1 >conftest.err
5918 rm -f conftest.er1
5919 cat conftest.err >&5
5920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5921 (exit $ac_status); } &&
5922 { ac_try='test -z "$ac_c_werror_flag"
5923 || test ! -s conftest.err'
5924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5925 (eval $ac_try) 2>&5
5926 ac_status=$?
5927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5928 (exit $ac_status); }; } &&
5929 { ac_try='test -s conftest.$ac_objext'
5930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5931 (eval $ac_try) 2>&5
5932 ac_status=$?
5933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5934 (exit $ac_status); }; }; then
5935 ac_cv_header_stdc=yes
5936 else
5937 echo "$as_me: failed program was:" >&5
5938 sed 's/^/| /' conftest.$ac_ext >&5
5940 ac_cv_header_stdc=no
5942 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5944 if test $ac_cv_header_stdc = yes; then
5945 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5946 cat >conftest.$ac_ext <<_ACEOF
5947 /* confdefs.h. */
5948 _ACEOF
5949 cat confdefs.h >>conftest.$ac_ext
5950 cat >>conftest.$ac_ext <<_ACEOF
5951 /* end confdefs.h. */
5952 #include <string.h>
5954 _ACEOF
5955 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5956 $EGREP "memchr" >/dev/null 2>&1; then
5958 else
5959 ac_cv_header_stdc=no
5961 rm -f conftest*
5965 if test $ac_cv_header_stdc = yes; then
5966 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5967 cat >conftest.$ac_ext <<_ACEOF
5968 /* confdefs.h. */
5969 _ACEOF
5970 cat confdefs.h >>conftest.$ac_ext
5971 cat >>conftest.$ac_ext <<_ACEOF
5972 /* end confdefs.h. */
5973 #include <stdlib.h>
5975 _ACEOF
5976 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5977 $EGREP "free" >/dev/null 2>&1; then
5979 else
5980 ac_cv_header_stdc=no
5982 rm -f conftest*
5986 if test $ac_cv_header_stdc = yes; then
5987 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5988 if test "$cross_compiling" = yes; then
5990 else
5991 cat >conftest.$ac_ext <<_ACEOF
5992 /* confdefs.h. */
5993 _ACEOF
5994 cat confdefs.h >>conftest.$ac_ext
5995 cat >>conftest.$ac_ext <<_ACEOF
5996 /* end confdefs.h. */
5997 #include <ctype.h>
5998 #if ((' ' & 0x0FF) == 0x020)
5999 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6000 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6001 #else
6002 # define ISLOWER(c) \
6003 (('a' <= (c) && (c) <= 'i') \
6004 || ('j' <= (c) && (c) <= 'r') \
6005 || ('s' <= (c) && (c) <= 'z'))
6006 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6007 #endif
6009 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6011 main ()
6013 int i;
6014 for (i = 0; i < 256; i++)
6015 if (XOR (islower (i), ISLOWER (i))
6016 || toupper (i) != TOUPPER (i))
6017 exit(2);
6018 exit (0);
6020 _ACEOF
6021 rm -f conftest$ac_exeext
6022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6023 (eval $ac_link) 2>&5
6024 ac_status=$?
6025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6026 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6028 (eval $ac_try) 2>&5
6029 ac_status=$?
6030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6031 (exit $ac_status); }; }; then
6033 else
6034 echo "$as_me: program exited with status $ac_status" >&5
6035 echo "$as_me: failed program was:" >&5
6036 sed 's/^/| /' conftest.$ac_ext >&5
6038 ( exit $ac_status )
6039 ac_cv_header_stdc=no
6041 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6045 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6046 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6047 if test $ac_cv_header_stdc = yes; then
6049 cat >>confdefs.h <<\_ACEOF
6050 #define STDC_HEADERS 1
6051 _ACEOF
6055 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6065 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6066 inttypes.h stdint.h unistd.h
6068 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6069 echo "$as_me:$LINENO: checking for $ac_header" >&5
6070 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6071 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6072 echo $ECHO_N "(cached) $ECHO_C" >&6
6073 else
6074 cat >conftest.$ac_ext <<_ACEOF
6075 /* confdefs.h. */
6076 _ACEOF
6077 cat confdefs.h >>conftest.$ac_ext
6078 cat >>conftest.$ac_ext <<_ACEOF
6079 /* end confdefs.h. */
6080 $ac_includes_default
6082 #include <$ac_header>
6083 _ACEOF
6084 rm -f conftest.$ac_objext
6085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6086 (eval $ac_compile) 2>conftest.er1
6087 ac_status=$?
6088 grep -v '^ *+' conftest.er1 >conftest.err
6089 rm -f conftest.er1
6090 cat conftest.err >&5
6091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6092 (exit $ac_status); } &&
6093 { ac_try='test -z "$ac_c_werror_flag"
6094 || test ! -s conftest.err'
6095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6096 (eval $ac_try) 2>&5
6097 ac_status=$?
6098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6099 (exit $ac_status); }; } &&
6100 { ac_try='test -s conftest.$ac_objext'
6101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6102 (eval $ac_try) 2>&5
6103 ac_status=$?
6104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6105 (exit $ac_status); }; }; then
6106 eval "$as_ac_Header=yes"
6107 else
6108 echo "$as_me: failed program was:" >&5
6109 sed 's/^/| /' conftest.$ac_ext >&5
6111 eval "$as_ac_Header=no"
6113 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6116 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6117 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6118 cat >>confdefs.h <<_ACEOF
6119 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6120 _ACEOF
6124 done
6128 for ac_header in dlfcn.h
6130 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6131 echo "$as_me:$LINENO: checking for $ac_header" >&5
6132 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6133 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6134 echo $ECHO_N "(cached) $ECHO_C" >&6
6135 else
6136 cat >conftest.$ac_ext <<_ACEOF
6137 /* confdefs.h. */
6138 _ACEOF
6139 cat confdefs.h >>conftest.$ac_ext
6140 cat >>conftest.$ac_ext <<_ACEOF
6141 /* end confdefs.h. */
6142 $ac_includes_default
6144 #include <$ac_header>
6145 _ACEOF
6146 rm -f conftest.$ac_objext
6147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6148 (eval $ac_compile) 2>conftest.er1
6149 ac_status=$?
6150 grep -v '^ *+' conftest.er1 >conftest.err
6151 rm -f conftest.er1
6152 cat conftest.err >&5
6153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6154 (exit $ac_status); } &&
6155 { ac_try='test -z "$ac_c_werror_flag"
6156 || test ! -s conftest.err'
6157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6158 (eval $ac_try) 2>&5
6159 ac_status=$?
6160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6161 (exit $ac_status); }; } &&
6162 { ac_try='test -s conftest.$ac_objext'
6163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6164 (eval $ac_try) 2>&5
6165 ac_status=$?
6166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6167 (exit $ac_status); }; }; then
6168 eval "$as_ac_Header=yes"
6169 else
6170 echo "$as_me: failed program was:" >&5
6171 sed 's/^/| /' conftest.$ac_ext >&5
6173 eval "$as_ac_Header=no"
6175 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6177 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6178 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6179 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6180 cat >>confdefs.h <<_ACEOF
6181 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6182 _ACEOF
6186 done
6190 ac_ext=cc
6191 ac_cpp='$CXXCPP $CPPFLAGS'
6192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6195 if test -n "$ac_tool_prefix"; then
6196 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6198 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6199 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6200 echo "$as_me:$LINENO: checking for $ac_word" >&5
6201 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6202 if test "${glibcxx_cv_prog_CXX+set}" = set; then
6203 echo $ECHO_N "(cached) $ECHO_C" >&6
6204 else
6205 if test -n "$CXX"; then
6206 glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
6207 else
6208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6209 for as_dir in $PATH
6211 IFS=$as_save_IFS
6212 test -z "$as_dir" && as_dir=.
6213 for ac_exec_ext in '' $ac_executable_extensions; do
6214 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6215 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
6216 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6217 break 2
6219 done
6220 done
6224 CXX=$glibcxx_cv_prog_CXX
6225 if test -n "$CXX"; then
6226 echo "$as_me:$LINENO: result: $CXX" >&5
6227 echo "${ECHO_T}$CXX" >&6
6228 else
6229 echo "$as_me:$LINENO: result: no" >&5
6230 echo "${ECHO_T}no" >&6
6233 test -n "$CXX" && break
6234 done
6236 if test -z "$CXX"; then
6237 ac_ct_CXX=$CXX
6238 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6240 # Extract the first word of "$ac_prog", so it can be a program name with args.
6241 set dummy $ac_prog; ac_word=$2
6242 echo "$as_me:$LINENO: checking for $ac_word" >&5
6243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6244 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
6245 echo $ECHO_N "(cached) $ECHO_C" >&6
6246 else
6247 if test -n "$ac_ct_CXX"; then
6248 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
6249 else
6250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6251 for as_dir in $PATH
6253 IFS=$as_save_IFS
6254 test -z "$as_dir" && as_dir=.
6255 for ac_exec_ext in '' $ac_executable_extensions; do
6256 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6257 ac_cv_prog_ac_ct_CXX="$ac_prog"
6258 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6259 break 2
6261 done
6262 done
6266 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6267 if test -n "$ac_ct_CXX"; then
6268 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
6269 echo "${ECHO_T}$ac_ct_CXX" >&6
6270 else
6271 echo "$as_me:$LINENO: result: no" >&5
6272 echo "${ECHO_T}no" >&6
6275 test -n "$ac_ct_CXX" && break
6276 done
6277 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
6279 CXX=$ac_ct_CXX
6283 # Provide some information about the compiler.
6284 echo "$as_me:$LINENO:" \
6285 "checking for C++ compiler version" >&5
6286 ac_compiler=`set X $ac_compile; echo $2`
6287 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6288 (eval $ac_compiler --version </dev/null >&5) 2>&5
6289 ac_status=$?
6290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6291 (exit $ac_status); }
6292 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
6293 (eval $ac_compiler -v </dev/null >&5) 2>&5
6294 ac_status=$?
6295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6296 (exit $ac_status); }
6297 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6298 (eval $ac_compiler -V </dev/null >&5) 2>&5
6299 ac_status=$?
6300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6301 (exit $ac_status); }
6303 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6304 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
6305 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6306 echo $ECHO_N "(cached) $ECHO_C" >&6
6307 else
6308 cat >conftest.$ac_ext <<_ACEOF
6309 /* confdefs.h. */
6310 _ACEOF
6311 cat confdefs.h >>conftest.$ac_ext
6312 cat >>conftest.$ac_ext <<_ACEOF
6313 /* end confdefs.h. */
6316 main ()
6318 #ifndef __GNUC__
6319 choke me
6320 #endif
6323 return 0;
6325 _ACEOF
6326 rm -f conftest.$ac_objext
6327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6328 (eval $ac_compile) 2>conftest.er1
6329 ac_status=$?
6330 grep -v '^ *+' conftest.er1 >conftest.err
6331 rm -f conftest.er1
6332 cat conftest.err >&5
6333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6334 (exit $ac_status); } &&
6335 { ac_try='test -z "$ac_cxx_werror_flag"
6336 || test ! -s conftest.err'
6337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6338 (eval $ac_try) 2>&5
6339 ac_status=$?
6340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6341 (exit $ac_status); }; } &&
6342 { ac_try='test -s conftest.$ac_objext'
6343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6344 (eval $ac_try) 2>&5
6345 ac_status=$?
6346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6347 (exit $ac_status); }; }; then
6348 ac_compiler_gnu=yes
6349 else
6350 echo "$as_me: failed program was:" >&5
6351 sed 's/^/| /' conftest.$ac_ext >&5
6353 ac_compiler_gnu=no
6355 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6356 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6359 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6360 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
6361 GXX=`test $ac_compiler_gnu = yes && echo yes`
6362 ac_test_CXXFLAGS=${CXXFLAGS+set}
6363 ac_save_CXXFLAGS=$CXXFLAGS
6364 CXXFLAGS="-g"
6365 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6366 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
6367 if test "${ac_cv_prog_cxx_g+set}" = set; then
6368 echo $ECHO_N "(cached) $ECHO_C" >&6
6369 else
6370 cat >conftest.$ac_ext <<_ACEOF
6371 /* confdefs.h. */
6372 _ACEOF
6373 cat confdefs.h >>conftest.$ac_ext
6374 cat >>conftest.$ac_ext <<_ACEOF
6375 /* end confdefs.h. */
6378 main ()
6382 return 0;
6384 _ACEOF
6385 rm -f conftest.$ac_objext
6386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6387 (eval $ac_compile) 2>conftest.er1
6388 ac_status=$?
6389 grep -v '^ *+' conftest.er1 >conftest.err
6390 rm -f conftest.er1
6391 cat conftest.err >&5
6392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6393 (exit $ac_status); } &&
6394 { ac_try='test -z "$ac_cxx_werror_flag"
6395 || test ! -s conftest.err'
6396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6397 (eval $ac_try) 2>&5
6398 ac_status=$?
6399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6400 (exit $ac_status); }; } &&
6401 { ac_try='test -s conftest.$ac_objext'
6402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6403 (eval $ac_try) 2>&5
6404 ac_status=$?
6405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6406 (exit $ac_status); }; }; then
6407 ac_cv_prog_cxx_g=yes
6408 else
6409 echo "$as_me: failed program was:" >&5
6410 sed 's/^/| /' conftest.$ac_ext >&5
6412 ac_cv_prog_cxx_g=no
6414 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6416 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6417 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
6418 if test "$ac_test_CXXFLAGS" = set; then
6419 CXXFLAGS=$ac_save_CXXFLAGS
6420 elif test $ac_cv_prog_cxx_g = yes; then
6421 if test "$GXX" = yes; then
6422 CXXFLAGS="-g -O2"
6423 else
6424 CXXFLAGS="-g"
6426 else
6427 if test "$GXX" = yes; then
6428 CXXFLAGS="-O2"
6429 else
6430 CXXFLAGS=
6433 for ac_declaration in \
6434 '' \
6435 'extern "C" void std::exit (int) throw (); using std::exit;' \
6436 'extern "C" void std::exit (int); using std::exit;' \
6437 'extern "C" void exit (int) throw ();' \
6438 'extern "C" void exit (int);' \
6439 'void exit (int);'
6441 cat >conftest.$ac_ext <<_ACEOF
6442 /* confdefs.h. */
6443 _ACEOF
6444 cat confdefs.h >>conftest.$ac_ext
6445 cat >>conftest.$ac_ext <<_ACEOF
6446 /* end confdefs.h. */
6447 $ac_declaration
6448 #include <stdlib.h>
6450 main ()
6452 exit (42);
6454 return 0;
6456 _ACEOF
6457 rm -f conftest.$ac_objext
6458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6459 (eval $ac_compile) 2>conftest.er1
6460 ac_status=$?
6461 grep -v '^ *+' conftest.er1 >conftest.err
6462 rm -f conftest.er1
6463 cat conftest.err >&5
6464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6465 (exit $ac_status); } &&
6466 { ac_try='test -z "$ac_cxx_werror_flag"
6467 || test ! -s conftest.err'
6468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6469 (eval $ac_try) 2>&5
6470 ac_status=$?
6471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6472 (exit $ac_status); }; } &&
6473 { ac_try='test -s conftest.$ac_objext'
6474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6475 (eval $ac_try) 2>&5
6476 ac_status=$?
6477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6478 (exit $ac_status); }; }; then
6480 else
6481 echo "$as_me: failed program was:" >&5
6482 sed 's/^/| /' conftest.$ac_ext >&5
6484 continue
6486 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6487 cat >conftest.$ac_ext <<_ACEOF
6488 /* confdefs.h. */
6489 _ACEOF
6490 cat confdefs.h >>conftest.$ac_ext
6491 cat >>conftest.$ac_ext <<_ACEOF
6492 /* end confdefs.h. */
6493 $ac_declaration
6495 main ()
6497 exit (42);
6499 return 0;
6501 _ACEOF
6502 rm -f conftest.$ac_objext
6503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6504 (eval $ac_compile) 2>conftest.er1
6505 ac_status=$?
6506 grep -v '^ *+' conftest.er1 >conftest.err
6507 rm -f conftest.er1
6508 cat conftest.err >&5
6509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6510 (exit $ac_status); } &&
6511 { ac_try='test -z "$ac_cxx_werror_flag"
6512 || test ! -s conftest.err'
6513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6514 (eval $ac_try) 2>&5
6515 ac_status=$?
6516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6517 (exit $ac_status); }; } &&
6518 { ac_try='test -s conftest.$ac_objext'
6519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6520 (eval $ac_try) 2>&5
6521 ac_status=$?
6522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6523 (exit $ac_status); }; }; then
6524 break
6525 else
6526 echo "$as_me: failed program was:" >&5
6527 sed 's/^/| /' conftest.$ac_ext >&5
6530 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6531 done
6532 rm -f conftest*
6533 if test -n "$ac_declaration"; then
6534 echo '#ifdef __cplusplus' >>confdefs.h
6535 echo $ac_declaration >>confdefs.h
6536 echo '#endif' >>confdefs.h
6539 ac_ext=c
6540 ac_cpp='$CPP $CPPFLAGS'
6541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6545 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
6546 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
6547 (test "X$CXX" != "Xg++"))) ; then
6548 ac_ext=cc
6549 ac_cpp='$CXXCPP $CPPFLAGS'
6550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6553 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6554 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
6555 if test -z "$CXXCPP"; then
6556 if test "${ac_cv_prog_CXXCPP+set}" = set; then
6557 echo $ECHO_N "(cached) $ECHO_C" >&6
6558 else
6559 # Double quotes because CXXCPP needs to be expanded
6560 for CXXCPP in "$CXX -E" "/lib/cpp"
6562 ac_preproc_ok=false
6563 for ac_cxx_preproc_warn_flag in '' yes
6565 # Use a header file that comes with gcc, so configuring glibc
6566 # with a fresh cross-compiler works.
6567 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6568 # <limits.h> exists even on freestanding compilers.
6569 # On the NeXT, cc -E runs the code through the compiler's parser,
6570 # not just through cpp. "Syntax error" is here to catch this case.
6571 cat >conftest.$ac_ext <<_ACEOF
6572 /* confdefs.h. */
6573 _ACEOF
6574 cat confdefs.h >>conftest.$ac_ext
6575 cat >>conftest.$ac_ext <<_ACEOF
6576 /* end confdefs.h. */
6577 #ifdef __STDC__
6578 # include <limits.h>
6579 #else
6580 # include <assert.h>
6581 #endif
6582 Syntax error
6583 _ACEOF
6584 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6585 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6586 ac_status=$?
6587 grep -v '^ *+' conftest.er1 >conftest.err
6588 rm -f conftest.er1
6589 cat conftest.err >&5
6590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6591 (exit $ac_status); } >/dev/null; then
6592 if test -s conftest.err; then
6593 ac_cpp_err=$ac_cxx_preproc_warn_flag
6594 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6595 else
6596 ac_cpp_err=
6598 else
6599 ac_cpp_err=yes
6601 if test -z "$ac_cpp_err"; then
6603 else
6604 echo "$as_me: failed program was:" >&5
6605 sed 's/^/| /' conftest.$ac_ext >&5
6607 # Broken: fails on valid input.
6608 continue
6610 rm -f conftest.err conftest.$ac_ext
6612 # OK, works on sane cases. Now check whether non-existent headers
6613 # can be detected and how.
6614 cat >conftest.$ac_ext <<_ACEOF
6615 /* confdefs.h. */
6616 _ACEOF
6617 cat confdefs.h >>conftest.$ac_ext
6618 cat >>conftest.$ac_ext <<_ACEOF
6619 /* end confdefs.h. */
6620 #include <ac_nonexistent.h>
6621 _ACEOF
6622 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6623 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6624 ac_status=$?
6625 grep -v '^ *+' conftest.er1 >conftest.err
6626 rm -f conftest.er1
6627 cat conftest.err >&5
6628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6629 (exit $ac_status); } >/dev/null; then
6630 if test -s conftest.err; then
6631 ac_cpp_err=$ac_cxx_preproc_warn_flag
6632 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6633 else
6634 ac_cpp_err=
6636 else
6637 ac_cpp_err=yes
6639 if test -z "$ac_cpp_err"; then
6640 # Broken: success on invalid input.
6641 continue
6642 else
6643 echo "$as_me: failed program was:" >&5
6644 sed 's/^/| /' conftest.$ac_ext >&5
6646 # Passes both tests.
6647 ac_preproc_ok=:
6648 break
6650 rm -f conftest.err conftest.$ac_ext
6652 done
6653 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6654 rm -f conftest.err conftest.$ac_ext
6655 if $ac_preproc_ok; then
6656 break
6659 done
6660 ac_cv_prog_CXXCPP=$CXXCPP
6663 CXXCPP=$ac_cv_prog_CXXCPP
6664 else
6665 ac_cv_prog_CXXCPP=$CXXCPP
6667 echo "$as_me:$LINENO: result: $CXXCPP" >&5
6668 echo "${ECHO_T}$CXXCPP" >&6
6669 ac_preproc_ok=false
6670 for ac_cxx_preproc_warn_flag in '' yes
6672 # Use a header file that comes with gcc, so configuring glibc
6673 # with a fresh cross-compiler works.
6674 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6675 # <limits.h> exists even on freestanding compilers.
6676 # On the NeXT, cc -E runs the code through the compiler's parser,
6677 # not just through cpp. "Syntax error" is here to catch this case.
6678 cat >conftest.$ac_ext <<_ACEOF
6679 /* confdefs.h. */
6680 _ACEOF
6681 cat confdefs.h >>conftest.$ac_ext
6682 cat >>conftest.$ac_ext <<_ACEOF
6683 /* end confdefs.h. */
6684 #ifdef __STDC__
6685 # include <limits.h>
6686 #else
6687 # include <assert.h>
6688 #endif
6689 Syntax error
6690 _ACEOF
6691 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6692 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6693 ac_status=$?
6694 grep -v '^ *+' conftest.er1 >conftest.err
6695 rm -f conftest.er1
6696 cat conftest.err >&5
6697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6698 (exit $ac_status); } >/dev/null; then
6699 if test -s conftest.err; then
6700 ac_cpp_err=$ac_cxx_preproc_warn_flag
6701 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6702 else
6703 ac_cpp_err=
6705 else
6706 ac_cpp_err=yes
6708 if test -z "$ac_cpp_err"; then
6710 else
6711 echo "$as_me: failed program was:" >&5
6712 sed 's/^/| /' conftest.$ac_ext >&5
6714 # Broken: fails on valid input.
6715 continue
6717 rm -f conftest.err conftest.$ac_ext
6719 # OK, works on sane cases. Now check whether non-existent headers
6720 # can be detected and how.
6721 cat >conftest.$ac_ext <<_ACEOF
6722 /* confdefs.h. */
6723 _ACEOF
6724 cat confdefs.h >>conftest.$ac_ext
6725 cat >>conftest.$ac_ext <<_ACEOF
6726 /* end confdefs.h. */
6727 #include <ac_nonexistent.h>
6728 _ACEOF
6729 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6730 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6731 ac_status=$?
6732 grep -v '^ *+' conftest.er1 >conftest.err
6733 rm -f conftest.er1
6734 cat conftest.err >&5
6735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6736 (exit $ac_status); } >/dev/null; then
6737 if test -s conftest.err; then
6738 ac_cpp_err=$ac_cxx_preproc_warn_flag
6739 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6740 else
6741 ac_cpp_err=
6743 else
6744 ac_cpp_err=yes
6746 if test -z "$ac_cpp_err"; then
6747 # Broken: success on invalid input.
6748 continue
6749 else
6750 echo "$as_me: failed program was:" >&5
6751 sed 's/^/| /' conftest.$ac_ext >&5
6753 # Passes both tests.
6754 ac_preproc_ok=:
6755 break
6757 rm -f conftest.err conftest.$ac_ext
6759 done
6760 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6761 rm -f conftest.err conftest.$ac_ext
6762 if $ac_preproc_ok; then
6764 else
6765 _lt_caught_CXX_error=yes
6768 ac_ext=c
6769 ac_cpp='$CPP $CPPFLAGS'
6770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6774 else
6775 _lt_caught_CXX_error=yes
6782 # This can be used to rebuild libtool when needed
6783 LIBTOOL_DEPS="$ltmain"
6785 # Always use our own libtool.
6786 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6812 test -z "$LN_S" && LN_S="ln -s"
6827 if test -n "${ZSH_VERSION+set}" ; then
6828 setopt NO_GLOB_SUBST
6831 echo "$as_me:$LINENO: checking for objdir" >&5
6832 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
6833 if test "${lt_cv_objdir+set}" = set; then
6834 echo $ECHO_N "(cached) $ECHO_C" >&6
6835 else
6836 rm -f .libs 2>/dev/null
6837 mkdir .libs 2>/dev/null
6838 if test -d .libs; then
6839 lt_cv_objdir=.libs
6840 else
6841 # MS-DOS does not allow filenames that begin with a dot.
6842 lt_cv_objdir=_libs
6844 rmdir .libs 2>/dev/null
6846 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6847 echo "${ECHO_T}$lt_cv_objdir" >&6
6848 objdir=$lt_cv_objdir
6854 cat >>confdefs.h <<_ACEOF
6855 #define LT_OBJDIR "$lt_cv_objdir/"
6856 _ACEOF
6874 case $host_os in
6875 aix3*)
6876 # AIX sometimes has problems with the GCC collect2 program. For some
6877 # reason, if we set the COLLECT_NAMES environment variable, the problems
6878 # vanish in a puff of smoke.
6879 if test "X${COLLECT_NAMES+set}" != Xset; then
6880 COLLECT_NAMES=
6881 export COLLECT_NAMES
6884 esac
6886 # Sed substitution that helps us do robust quoting. It backslashifies
6887 # metacharacters that are still active within double-quoted strings.
6888 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6890 # Same as above, but do not quote variable references.
6891 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6893 # Sed substitution to delay expansion of an escaped shell variable in a
6894 # double_quote_subst'ed string.
6895 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6897 # Sed substitution to delay expansion of an escaped single quote.
6898 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6900 # Sed substitution to avoid accidental globbing in evaled expressions
6901 no_glob_subst='s/\*/\\\*/g'
6903 # Global variables:
6904 ofile=libtool
6905 can_build_shared=yes
6907 # All known linkers require a `.a' archive for static linking (except MSVC,
6908 # which needs '.lib').
6909 libext=a
6911 with_gnu_ld="$lt_cv_prog_gnu_ld"
6913 old_CC="$CC"
6914 old_CFLAGS="$CFLAGS"
6916 # Set sane defaults for various variables
6917 test -z "$CC" && CC=cc
6918 test -z "$LTCC" && LTCC=$CC
6919 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6920 test -z "$LD" && LD=ld
6921 test -z "$ac_objext" && ac_objext=o
6923 for cc_temp in $compiler""; do
6924 case $cc_temp in
6925 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6926 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6927 \-*) ;;
6928 *) break;;
6929 esac
6930 done
6931 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6934 # Only perform the check for file, if the check method requires it
6935 test -z "$MAGIC_CMD" && MAGIC_CMD=file
6936 case $deplibs_check_method in
6937 file_magic*)
6938 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6939 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6940 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6941 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6942 echo $ECHO_N "(cached) $ECHO_C" >&6
6943 else
6944 case $MAGIC_CMD in
6945 [\\/*] | ?:[\\/]*)
6946 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6949 lt_save_MAGIC_CMD="$MAGIC_CMD"
6950 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6951 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6952 for ac_dir in $ac_dummy; do
6953 IFS="$lt_save_ifs"
6954 test -z "$ac_dir" && ac_dir=.
6955 if test -f $ac_dir/${ac_tool_prefix}file; then
6956 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6957 if test -n "$file_magic_test_file"; then
6958 case $deplibs_check_method in
6959 "file_magic "*)
6960 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6961 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6962 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6963 $EGREP "$file_magic_regex" > /dev/null; then
6965 else
6966 cat <<_LT_EOF 1>&2
6968 *** Warning: the command libtool uses to detect shared libraries,
6969 *** $file_magic_cmd, produces output that libtool cannot recognize.
6970 *** The result is that libtool may fail to recognize shared libraries
6971 *** as such. This will affect the creation of libtool libraries that
6972 *** depend on shared libraries, but programs linked with such libtool
6973 *** libraries will work regardless of this problem. Nevertheless, you
6974 *** may want to report the problem to your system manager and/or to
6975 *** bug-libtool@gnu.org
6977 _LT_EOF
6978 fi ;;
6979 esac
6981 break
6983 done
6984 IFS="$lt_save_ifs"
6985 MAGIC_CMD="$lt_save_MAGIC_CMD"
6987 esac
6990 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6991 if test -n "$MAGIC_CMD"; then
6992 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6993 echo "${ECHO_T}$MAGIC_CMD" >&6
6994 else
6995 echo "$as_me:$LINENO: result: no" >&5
6996 echo "${ECHO_T}no" >&6
7003 if test -z "$lt_cv_path_MAGIC_CMD"; then
7004 if test -n "$ac_tool_prefix"; then
7005 echo "$as_me:$LINENO: checking for file" >&5
7006 echo $ECHO_N "checking for file... $ECHO_C" >&6
7007 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7008 echo $ECHO_N "(cached) $ECHO_C" >&6
7009 else
7010 case $MAGIC_CMD in
7011 [\\/*] | ?:[\\/]*)
7012 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7015 lt_save_MAGIC_CMD="$MAGIC_CMD"
7016 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7017 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7018 for ac_dir in $ac_dummy; do
7019 IFS="$lt_save_ifs"
7020 test -z "$ac_dir" && ac_dir=.
7021 if test -f $ac_dir/file; then
7022 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7023 if test -n "$file_magic_test_file"; then
7024 case $deplibs_check_method in
7025 "file_magic "*)
7026 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7027 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7028 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7029 $EGREP "$file_magic_regex" > /dev/null; then
7031 else
7032 cat <<_LT_EOF 1>&2
7034 *** Warning: the command libtool uses to detect shared libraries,
7035 *** $file_magic_cmd, produces output that libtool cannot recognize.
7036 *** The result is that libtool may fail to recognize shared libraries
7037 *** as such. This will affect the creation of libtool libraries that
7038 *** depend on shared libraries, but programs linked with such libtool
7039 *** libraries will work regardless of this problem. Nevertheless, you
7040 *** may want to report the problem to your system manager and/or to
7041 *** bug-libtool@gnu.org
7043 _LT_EOF
7044 fi ;;
7045 esac
7047 break
7049 done
7050 IFS="$lt_save_ifs"
7051 MAGIC_CMD="$lt_save_MAGIC_CMD"
7053 esac
7056 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7057 if test -n "$MAGIC_CMD"; then
7058 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7059 echo "${ECHO_T}$MAGIC_CMD" >&6
7060 else
7061 echo "$as_me:$LINENO: result: no" >&5
7062 echo "${ECHO_T}no" >&6
7066 else
7067 MAGIC_CMD=:
7073 esac
7075 # Use C for the default configuration in the libtool script
7077 lt_save_CC="$CC"
7078 ac_ext=c
7079 ac_cpp='$CPP $CPPFLAGS'
7080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7085 # Source file extension for C test sources.
7086 ac_ext=c
7088 # Object file extension for compiled C test sources.
7089 objext=o
7090 objext=$objext
7092 # Code to be used in simple compile tests
7093 lt_simple_compile_test_code="int some_variable = 0;"
7095 # Code to be used in simple link tests
7096 lt_simple_link_test_code='int main(){return(0);}'
7104 # If no C compiler was specified, use CC.
7105 LTCC=${LTCC-"$CC"}
7107 # If no C compiler flags were specified, use CFLAGS.
7108 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7110 # Allow CC to be a program name with arguments.
7111 compiler=$CC
7113 # Save the default compiler, since it gets overwritten when the other
7114 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7115 compiler_DEFAULT=$CC
7117 # save warnings/boilerplate of simple test code
7118 ac_outfile=conftest.$ac_objext
7119 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7120 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7121 _lt_compiler_boilerplate=`cat conftest.err`
7122 $RM conftest*
7124 ac_outfile=conftest.$ac_objext
7125 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7126 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7127 _lt_linker_boilerplate=`cat conftest.err`
7128 $RM conftest*
7131 ## CAVEAT EMPTOR:
7132 ## There is no encapsulation within the following macros, do not change
7133 ## the running order or otherwise move them around unless you know exactly
7134 ## what you are doing...
7135 if test -n "$compiler"; then
7137 lt_prog_compiler_no_builtin_flag=
7139 if test "$GCC" = yes; then
7140 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7142 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7143 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
7144 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7145 echo $ECHO_N "(cached) $ECHO_C" >&6
7146 else
7147 lt_cv_prog_compiler_rtti_exceptions=no
7148 ac_outfile=conftest.$ac_objext
7149 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7150 lt_compiler_flag="-fno-rtti -fno-exceptions"
7151 # Insert the option either (1) after the last *FLAGS variable, or
7152 # (2) before a word containing "conftest.", or (3) at the end.
7153 # Note that $ac_compile itself does not contain backslashes and begins
7154 # with a dollar sign (not a hyphen), so the echo should work correctly.
7155 # The option is referenced via a variable to avoid confusing sed.
7156 lt_compile=`echo "$ac_compile" | $SED \
7157 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7158 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7159 -e 's:$: $lt_compiler_flag:'`
7160 (eval echo "\"\$as_me:7160: $lt_compile\"" >&5)
7161 (eval "$lt_compile" 2>conftest.err)
7162 ac_status=$?
7163 cat conftest.err >&5
7164 echo "$as_me:7164: \$? = $ac_status" >&5
7165 if (exit $ac_status) && test -s "$ac_outfile"; then
7166 # The compiler can only warn and ignore the option if not recognized
7167 # So say no if there are warnings other than the usual output.
7168 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7169 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7170 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7171 lt_cv_prog_compiler_rtti_exceptions=yes
7174 $RM conftest*
7177 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7178 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
7180 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7181 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7182 else
7193 lt_prog_compiler_wl=
7194 lt_prog_compiler_pic=
7195 lt_prog_compiler_static=
7197 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7198 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
7200 if test "$GCC" = yes; then
7201 lt_prog_compiler_wl='-Wl,'
7202 lt_prog_compiler_static='-static'
7204 case $host_os in
7205 aix*)
7206 # All AIX code is PIC.
7207 if test "$host_cpu" = ia64; then
7208 # AIX 5 now supports IA64 processor
7209 lt_prog_compiler_static='-Bstatic'
7213 amigaos*)
7214 if test "$host_cpu" = m68k; then
7215 # FIXME: we need at least 68020 code to build shared libraries, but
7216 # adding the `-m68020' flag to GCC prevents building anything better,
7217 # like `-m68040'.
7218 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7222 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7223 # PIC is the default for these OSes.
7226 mingw* | cygwin* | pw32* | os2*)
7227 # This hack is so that the source file can tell whether it is being
7228 # built for inclusion in a dll (and should export symbols for example).
7229 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7230 # (--disable-auto-import) libraries
7231 lt_prog_compiler_pic='-DDLL_EXPORT'
7234 darwin* | rhapsody*)
7235 # PIC is the default on this platform
7236 # Common symbols not allowed in MH_DYLIB files
7237 lt_prog_compiler_pic='-fno-common'
7240 hpux*)
7241 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7242 # not for PA HP-UX.
7243 case $host_cpu in
7244 hppa*64*|ia64*)
7245 # +Z the default
7248 lt_prog_compiler_pic='-fPIC'
7250 esac
7253 interix[3-9]*)
7254 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7255 # Instead, we relocate shared libraries at runtime.
7258 msdosdjgpp*)
7259 # Just because we use GCC doesn't mean we suddenly get shared libraries
7260 # on systems that don't support them.
7261 lt_prog_compiler_can_build_shared=no
7262 enable_shared=no
7265 *nto* | *qnx*)
7266 # QNX uses GNU C++, but need to define -shared option too, otherwise
7267 # it will coredump.
7268 lt_prog_compiler_pic='-fPIC -shared'
7271 sysv4*MP*)
7272 if test -d /usr/nec; then
7273 lt_prog_compiler_pic=-Kconform_pic
7278 lt_prog_compiler_pic='-fPIC'
7280 esac
7281 else
7282 # PORTME Check for flag to pass linker flags through the system compiler.
7283 case $host_os in
7284 aix*)
7285 lt_prog_compiler_wl='-Wl,'
7286 if test "$host_cpu" = ia64; then
7287 # AIX 5 now supports IA64 processor
7288 lt_prog_compiler_static='-Bstatic'
7289 else
7290 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7293 darwin*)
7294 # PIC is the default on this platform
7295 # Common symbols not allowed in MH_DYLIB files
7296 case $cc_basename in
7297 xlc*)
7298 lt_prog_compiler_pic='-qnocommon'
7299 lt_prog_compiler_wl='-Wl,'
7301 esac
7304 mingw* | cygwin* | pw32* | os2*)
7305 # This hack is so that the source file can tell whether it is being
7306 # built for inclusion in a dll (and should export symbols for example).
7307 lt_prog_compiler_pic='-DDLL_EXPORT'
7310 hpux9* | hpux10* | hpux11*)
7311 lt_prog_compiler_wl='-Wl,'
7312 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7313 # not for PA HP-UX.
7314 case $host_cpu in
7315 hppa*64*|ia64*)
7316 # +Z the default
7319 lt_prog_compiler_pic='+Z'
7321 esac
7322 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7323 lt_prog_compiler_static='${wl}-a ${wl}archive'
7326 irix5* | irix6* | nonstopux*)
7327 lt_prog_compiler_wl='-Wl,'
7328 # PIC (with -KPIC) is the default.
7329 lt_prog_compiler_static='-non_shared'
7332 linux* | k*bsd*-gnu)
7333 case $cc_basename in
7334 icc* | ecc*)
7335 lt_prog_compiler_wl='-Wl,'
7336 lt_prog_compiler_pic='-KPIC'
7337 lt_prog_compiler_static='-static'
7339 pgcc* | pgf77* | pgf90* | pgf95*)
7340 # Portland Group compilers (*not* the Pentium gcc compiler,
7341 # which looks to be a dead project)
7342 lt_prog_compiler_wl='-Wl,'
7343 lt_prog_compiler_pic='-fpic'
7344 lt_prog_compiler_static='-Bstatic'
7346 ccc*)
7347 lt_prog_compiler_wl='-Wl,'
7348 # All Alpha code is PIC.
7349 lt_prog_compiler_static='-non_shared'
7352 case `$CC -V 2>&1 | sed 5q` in
7353 *Sun\ C*)
7354 # Sun C 5.9
7355 lt_prog_compiler_pic='-KPIC'
7356 lt_prog_compiler_static='-Bstatic'
7357 lt_prog_compiler_wl='-Wl,'
7359 *Sun\ F*)
7360 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7361 lt_prog_compiler_pic='-KPIC'
7362 lt_prog_compiler_static='-Bstatic'
7363 lt_prog_compiler_wl=''
7365 esac
7367 esac
7370 newsos6)
7371 lt_prog_compiler_pic='-KPIC'
7372 lt_prog_compiler_static='-Bstatic'
7375 *nto* | *qnx*)
7376 # QNX uses GNU C++, but need to define -shared option too, otherwise
7377 # it will coredump.
7378 lt_prog_compiler_pic='-fPIC -shared'
7381 osf3* | osf4* | osf5*)
7382 lt_prog_compiler_wl='-Wl,'
7383 # All OSF/1 code is PIC.
7384 lt_prog_compiler_static='-non_shared'
7387 rdos*)
7388 lt_prog_compiler_static='-non_shared'
7391 solaris*)
7392 lt_prog_compiler_pic='-KPIC'
7393 lt_prog_compiler_static='-Bstatic'
7394 case $cc_basename in
7395 f77* | f90* | f95*)
7396 lt_prog_compiler_wl='-Qoption ld ';;
7398 lt_prog_compiler_wl='-Wl,';;
7399 esac
7402 sunos4*)
7403 lt_prog_compiler_wl='-Qoption ld '
7404 lt_prog_compiler_pic='-PIC'
7405 lt_prog_compiler_static='-Bstatic'
7408 sysv4 | sysv4.2uw2* | sysv4.3*)
7409 lt_prog_compiler_wl='-Wl,'
7410 lt_prog_compiler_pic='-KPIC'
7411 lt_prog_compiler_static='-Bstatic'
7414 sysv4*MP*)
7415 if test -d /usr/nec ;then
7416 lt_prog_compiler_pic='-Kconform_pic'
7417 lt_prog_compiler_static='-Bstatic'
7421 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7422 lt_prog_compiler_wl='-Wl,'
7423 lt_prog_compiler_pic='-KPIC'
7424 lt_prog_compiler_static='-Bstatic'
7427 unicos*)
7428 lt_prog_compiler_wl='-Wl,'
7429 lt_prog_compiler_can_build_shared=no
7432 uts4*)
7433 lt_prog_compiler_pic='-pic'
7434 lt_prog_compiler_static='-Bstatic'
7438 lt_prog_compiler_can_build_shared=no
7440 esac
7443 case $host_os in
7444 # For platforms which do not support PIC, -DPIC is meaningless:
7445 *djgpp*)
7446 lt_prog_compiler_pic=
7449 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7451 esac
7452 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7453 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
7461 # Check to make sure the PIC flag actually works.
7463 if test -n "$lt_prog_compiler_pic"; then
7464 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7465 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
7466 if test "${lt_prog_compiler_pic_works+set}" = set; then
7467 echo $ECHO_N "(cached) $ECHO_C" >&6
7468 else
7469 lt_prog_compiler_pic_works=no
7470 ac_outfile=conftest.$ac_objext
7471 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7472 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7473 # Insert the option either (1) after the last *FLAGS variable, or
7474 # (2) before a word containing "conftest.", or (3) at the end.
7475 # Note that $ac_compile itself does not contain backslashes and begins
7476 # with a dollar sign (not a hyphen), so the echo should work correctly.
7477 # The option is referenced via a variable to avoid confusing sed.
7478 lt_compile=`echo "$ac_compile" | $SED \
7479 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7480 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7481 -e 's:$: $lt_compiler_flag:'`
7482 (eval echo "\"\$as_me:7482: $lt_compile\"" >&5)
7483 (eval "$lt_compile" 2>conftest.err)
7484 ac_status=$?
7485 cat conftest.err >&5
7486 echo "$as_me:7486: \$? = $ac_status" >&5
7487 if (exit $ac_status) && test -s "$ac_outfile"; then
7488 # The compiler can only warn and ignore the option if not recognized
7489 # So say no if there are warnings other than the usual output.
7490 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7491 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7492 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7493 lt_prog_compiler_pic_works=yes
7496 $RM conftest*
7499 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7500 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
7502 if test x"$lt_prog_compiler_pic_works" = xyes; then
7503 case $lt_prog_compiler_pic in
7504 "" | " "*) ;;
7505 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7506 esac
7507 else
7508 lt_prog_compiler_pic=
7509 lt_prog_compiler_can_build_shared=no
7520 # Check to make sure the static flag actually works.
7522 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7523 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7524 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
7525 if test "${lt_prog_compiler_static_works+set}" = set; then
7526 echo $ECHO_N "(cached) $ECHO_C" >&6
7527 else
7528 lt_prog_compiler_static_works=no
7529 save_LDFLAGS="$LDFLAGS"
7530 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7531 echo "$lt_simple_link_test_code" > conftest.$ac_ext
7532 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7533 # The linker can only warn and ignore the option if not recognized
7534 # So say no if there are warnings
7535 if test -s conftest.err; then
7536 # Append any errors to the config.log.
7537 cat conftest.err 1>&5
7538 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7539 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7540 if diff conftest.exp conftest.er2 >/dev/null; then
7541 lt_prog_compiler_static_works=yes
7543 else
7544 lt_prog_compiler_static_works=yes
7547 $RM conftest*
7548 LDFLAGS="$save_LDFLAGS"
7551 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7552 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
7554 if test x"$lt_prog_compiler_static_works" = xyes; then
7556 else
7557 lt_prog_compiler_static=
7566 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7567 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7568 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7569 echo $ECHO_N "(cached) $ECHO_C" >&6
7570 else
7571 lt_cv_prog_compiler_c_o=no
7572 $RM -r conftest 2>/dev/null
7573 mkdir conftest
7574 cd conftest
7575 mkdir out
7576 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7578 lt_compiler_flag="-o out/conftest2.$ac_objext"
7579 # Insert the option either (1) after the last *FLAGS variable, or
7580 # (2) before a word containing "conftest.", or (3) at the end.
7581 # Note that $ac_compile itself does not contain backslashes and begins
7582 # with a dollar sign (not a hyphen), so the echo should work correctly.
7583 lt_compile=`echo "$ac_compile" | $SED \
7584 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7585 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7586 -e 's:$: $lt_compiler_flag:'`
7587 (eval echo "\"\$as_me:7587: $lt_compile\"" >&5)
7588 (eval "$lt_compile" 2>out/conftest.err)
7589 ac_status=$?
7590 cat out/conftest.err >&5
7591 echo "$as_me:7591: \$? = $ac_status" >&5
7592 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7593 then
7594 # The compiler can only warn and ignore the option if not recognized
7595 # So say no if there are warnings
7596 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7597 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7598 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7599 lt_cv_prog_compiler_c_o=yes
7602 chmod u+w . 2>&5
7603 $RM conftest*
7604 # SGI C++ compiler will create directory out/ii_files/ for
7605 # template instantiation
7606 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7607 $RM out/* && rmdir out
7608 cd ..
7609 $RM -r conftest
7610 $RM conftest*
7613 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7614 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7621 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7622 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7623 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7624 echo $ECHO_N "(cached) $ECHO_C" >&6
7625 else
7626 lt_cv_prog_compiler_c_o=no
7627 $RM -r conftest 2>/dev/null
7628 mkdir conftest
7629 cd conftest
7630 mkdir out
7631 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7633 lt_compiler_flag="-o out/conftest2.$ac_objext"
7634 # Insert the option either (1) after the last *FLAGS variable, or
7635 # (2) before a word containing "conftest.", or (3) at the end.
7636 # Note that $ac_compile itself does not contain backslashes and begins
7637 # with a dollar sign (not a hyphen), so the echo should work correctly.
7638 lt_compile=`echo "$ac_compile" | $SED \
7639 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7640 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7641 -e 's:$: $lt_compiler_flag:'`
7642 (eval echo "\"\$as_me:7642: $lt_compile\"" >&5)
7643 (eval "$lt_compile" 2>out/conftest.err)
7644 ac_status=$?
7645 cat out/conftest.err >&5
7646 echo "$as_me:7646: \$? = $ac_status" >&5
7647 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7648 then
7649 # The compiler can only warn and ignore the option if not recognized
7650 # So say no if there are warnings
7651 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7652 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7653 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7654 lt_cv_prog_compiler_c_o=yes
7657 chmod u+w . 2>&5
7658 $RM conftest*
7659 # SGI C++ compiler will create directory out/ii_files/ for
7660 # template instantiation
7661 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7662 $RM out/* && rmdir out
7663 cd ..
7664 $RM -r conftest
7665 $RM conftest*
7668 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7669 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7674 hard_links="nottested"
7675 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7676 # do not overwrite the value of need_locks provided by the user
7677 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7678 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
7679 hard_links=yes
7680 $RM conftest*
7681 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7682 touch conftest.a
7683 ln conftest.a conftest.b 2>&5 || hard_links=no
7684 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7685 echo "$as_me:$LINENO: result: $hard_links" >&5
7686 echo "${ECHO_T}$hard_links" >&6
7687 if test "$hard_links" = no; then
7688 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7689 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7690 need_locks=warn
7692 else
7693 need_locks=no
7701 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7702 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
7704 runpath_var=
7705 allow_undefined_flag=
7706 always_export_symbols=no
7707 archive_cmds=
7708 archive_expsym_cmds=
7709 compiler_needs_object=no
7710 enable_shared_with_static_runtimes=no
7711 export_dynamic_flag_spec=
7712 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7713 hardcode_automatic=no
7714 hardcode_direct=no
7715 hardcode_direct_absolute=no
7716 hardcode_libdir_flag_spec=
7717 hardcode_libdir_flag_spec_ld=
7718 hardcode_libdir_separator=
7719 hardcode_minus_L=no
7720 hardcode_shlibpath_var=unsupported
7721 inherit_rpath=no
7722 link_all_deplibs=unknown
7723 module_cmds=
7724 module_expsym_cmds=
7725 old_archive_from_new_cmds=
7726 old_archive_from_expsyms_cmds=
7727 thread_safe_flag_spec=
7728 whole_archive_flag_spec=
7729 # include_expsyms should be a list of space-separated symbols to be *always*
7730 # included in the symbol list
7731 include_expsyms=
7732 # exclude_expsyms can be an extended regexp of symbols to exclude
7733 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7734 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7735 # as well as any symbol that contains `d'.
7736 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
7737 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7738 # platforms (ab)use it in PIC code, but their linkers get confused if
7739 # the symbol is explicitly referenced. Since portable code cannot
7740 # rely on this symbol name, it's probably fine to never include it in
7741 # preloaded symbol tables.
7742 extract_expsyms_cmds=
7744 case $host_os in
7745 cygwin* | mingw* | pw32*)
7746 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7747 # When not using gcc, we currently assume that we are using
7748 # Microsoft Visual C++.
7749 if test "$GCC" != yes; then
7750 with_gnu_ld=no
7753 interix*)
7754 # we just hope/assume this is gcc and not c89 (= MSVC++)
7755 with_gnu_ld=yes
7757 openbsd*)
7758 with_gnu_ld=no
7760 esac
7762 ld_shlibs=yes
7763 if test "$with_gnu_ld" = yes; then
7764 # If archive_cmds runs LD, not CC, wlarc should be empty
7765 wlarc='${wl}'
7767 # Set some defaults for GNU ld with shared library support. These
7768 # are reset later if shared libraries are not supported. Putting them
7769 # here allows them to be overridden if necessary.
7770 runpath_var=LD_RUN_PATH
7771 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7772 export_dynamic_flag_spec='${wl}--export-dynamic'
7773 # ancient GNU ld didn't support --whole-archive et. al.
7774 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
7775 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7776 else
7777 whole_archive_flag_spec=
7779 supports_anon_versioning=no
7780 case `$LD -v 2>&1` in
7781 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7782 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7783 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7784 *\ 2.11.*) ;; # other 2.11 versions
7785 *) supports_anon_versioning=yes ;;
7786 esac
7788 # See if GNU ld supports shared libraries.
7789 case $host_os in
7790 aix[3-9]*)
7791 # On AIX/PPC, the GNU linker is very broken
7792 if test "$host_cpu" != ia64; then
7793 ld_shlibs=no
7794 cat <<_LT_EOF 1>&2
7796 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7797 *** to be unable to reliably create shared libraries on AIX.
7798 *** Therefore, libtool is disabling shared libraries support. If you
7799 *** really care for shared libraries, you may want to modify your PATH
7800 *** so that a non-GNU linker is found, and then restart.
7802 _LT_EOF
7806 amigaos*)
7807 if test "$host_cpu" = m68k; then
7808 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)'
7809 hardcode_libdir_flag_spec='-L$libdir'
7810 hardcode_minus_L=yes
7813 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7814 # that the semantics of dynamic libraries on AmigaOS, at least up
7815 # to version 4, is to share data among multiple programs linked
7816 # with the same dynamic library. Since this doesn't match the
7817 # behavior of shared libraries on other platforms, we can't use
7818 # them.
7819 ld_shlibs=no
7822 beos*)
7823 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7824 allow_undefined_flag=unsupported
7825 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7826 # support --undefined. This deserves some investigation. FIXME
7827 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7828 else
7829 ld_shlibs=no
7833 cygwin* | mingw* | pw32*)
7834 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7835 # as there is no search path for DLLs.
7836 hardcode_libdir_flag_spec='-L$libdir'
7837 allow_undefined_flag=unsupported
7838 always_export_symbols=no
7839 enable_shared_with_static_runtimes=yes
7840 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7842 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
7843 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7844 # If the export-symbols file already is a .def file (1st line
7845 # is EXPORTS), use it as is; otherwise, prepend...
7846 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7847 cp $export_symbols $output_objdir/$soname.def;
7848 else
7849 echo EXPORTS > $output_objdir/$soname.def;
7850 cat $export_symbols >> $output_objdir/$soname.def;
7852 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7853 else
7854 ld_shlibs=no
7858 interix[3-9]*)
7859 hardcode_direct=no
7860 hardcode_shlibpath_var=no
7861 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7862 export_dynamic_flag_spec='${wl}-E'
7863 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7864 # Instead, shared libraries are loaded at an image base (0x10000000 by
7865 # default) and relocated if they conflict, which is a slow very memory
7866 # consuming and fragmenting process. To avoid this, we pick a random,
7867 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7868 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7869 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7870 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'
7873 gnu* | linux* | tpf* | k*bsd*-gnu)
7874 tmp_diet=no
7875 if test "$host_os" = linux-dietlibc; then
7876 case $cc_basename in
7877 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
7878 esac
7880 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
7881 && test "$tmp_diet" = no
7882 then
7883 tmp_addflag=
7884 case $cc_basename,$host_cpu in
7885 pgcc*) # Portland Group C compiler
7886 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'
7887 tmp_addflag=' $pic_flag'
7889 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
7890 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'
7891 tmp_addflag=' $pic_flag -Mnomain' ;;
7892 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
7893 tmp_addflag=' -i_dynamic' ;;
7894 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
7895 tmp_addflag=' -i_dynamic -nofor_main' ;;
7896 ifc* | ifort*) # Intel Fortran compiler
7897 tmp_addflag=' -nofor_main' ;;
7898 esac
7899 case `$CC -V 2>&1 | sed 5q` in
7900 *Sun\ C*) # Sun C 5.9
7901 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'
7902 compiler_needs_object=yes
7903 tmp_sharedflag='-G' ;;
7904 *Sun\ F*) # Sun Fortran 8.3
7905 tmp_sharedflag='-G' ;;
7907 tmp_sharedflag='-shared' ;;
7908 esac
7909 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7911 if test "x$supports_anon_versioning" = xyes; then
7912 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
7913 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7914 echo "local: *; };" >> $output_objdir/$libname.ver~
7915 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7917 else
7918 ld_shlibs=no
7922 netbsd*)
7923 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7924 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7925 wlarc=
7926 else
7927 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7928 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7932 solaris*)
7933 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
7934 ld_shlibs=no
7935 cat <<_LT_EOF 1>&2
7937 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7938 *** create shared libraries on Solaris systems. Therefore, libtool
7939 *** is disabling shared libraries support. We urge you to upgrade GNU
7940 *** binutils to release 2.9.1 or newer. Another option is to modify
7941 *** your PATH or compiler configuration so that the native linker is
7942 *** used, and then restart.
7944 _LT_EOF
7945 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7946 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7947 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7948 else
7949 ld_shlibs=no
7953 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
7954 case `$LD -v 2>&1` in
7955 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
7956 ld_shlibs=no
7957 cat <<_LT_EOF 1>&2
7959 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7960 *** reliably create shared libraries on SCO systems. Therefore, libtool
7961 *** is disabling shared libraries support. We urge you to upgrade GNU
7962 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7963 *** your PATH or compiler configuration so that the native linker is
7964 *** used, and then restart.
7966 _LT_EOF
7969 # For security reasons, it is highly recommended that you always
7970 # use absolute paths for naming shared libraries, and exclude the
7971 # DT_RUNPATH tag from executables and libraries. But doing so
7972 # requires that you compile everything twice, which is a pain.
7973 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7974 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7975 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7976 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7977 else
7978 ld_shlibs=no
7981 esac
7984 sunos4*)
7985 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7986 wlarc=
7987 hardcode_direct=yes
7988 hardcode_shlibpath_var=no
7992 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7993 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7994 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7995 else
7996 ld_shlibs=no
7999 esac
8001 if test "$ld_shlibs" = no; then
8002 runpath_var=
8003 hardcode_libdir_flag_spec=
8004 export_dynamic_flag_spec=
8005 whole_archive_flag_spec=
8007 else
8008 # PORTME fill in a description of your system's linker (not GNU ld)
8009 case $host_os in
8010 aix3*)
8011 allow_undefined_flag=unsupported
8012 always_export_symbols=yes
8013 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'
8014 # Note: this linker hardcodes the directories in LIBPATH if there
8015 # are no directories specified by -L.
8016 hardcode_minus_L=yes
8017 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8018 # Neither direct hardcoding nor static linking is supported with a
8019 # broken collect2.
8020 hardcode_direct=unsupported
8024 aix[4-9]*)
8025 if test "$host_cpu" = ia64; then
8026 # On IA64, the linker does run time linking by default, so we don't
8027 # have to do anything special.
8028 aix_use_runtimelinking=no
8029 exp_sym_flag='-Bexport'
8030 no_entry_flag=""
8031 else
8032 # If we're using GNU nm, then we don't want the "-C" option.
8033 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8034 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8035 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'
8036 else
8037 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'
8039 aix_use_runtimelinking=no
8041 # Test if we are trying to use run time linking or normal
8042 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8043 # need to do runtime linking.
8044 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8045 for ld_flag in $LDFLAGS; do
8046 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8047 aix_use_runtimelinking=yes
8048 break
8050 done
8052 esac
8054 exp_sym_flag='-bexport'
8055 no_entry_flag='-bnoentry'
8058 # When large executables or shared objects are built, AIX ld can
8059 # have problems creating the table of contents. If linking a library
8060 # or program results in "error TOC overflow" add -mminimal-toc to
8061 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8062 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8064 archive_cmds=''
8065 hardcode_direct=yes
8066 hardcode_direct_absolute=yes
8067 hardcode_libdir_separator=':'
8068 link_all_deplibs=yes
8069 file_list_spec='${wl}-f,'
8071 if test "$GCC" = yes; then
8072 case $host_os in aix4.[012]|aix4.[012].*)
8073 # We only want to do this on AIX 4.2 and lower, the check
8074 # below for broken collect2 doesn't work under 4.3+
8075 collect2name=`${CC} -print-prog-name=collect2`
8076 if test -f "$collect2name" &&
8077 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8078 then
8079 # We have reworked collect2
8081 else
8082 # We have old collect2
8083 hardcode_direct=unsupported
8084 # It fails to find uninstalled libraries when the uninstalled
8085 # path is not listed in the libpath. Setting hardcode_minus_L
8086 # to unsupported forces relinking
8087 hardcode_minus_L=yes
8088 hardcode_libdir_flag_spec='-L$libdir'
8089 hardcode_libdir_separator=
8092 esac
8093 shared_flag='-shared'
8094 if test "$aix_use_runtimelinking" = yes; then
8095 shared_flag="$shared_flag "'${wl}-G'
8097 else
8098 # not using gcc
8099 if test "$host_cpu" = ia64; then
8100 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8101 # chokes on -Wl,-G. The following line is correct:
8102 shared_flag='-G'
8103 else
8104 if test "$aix_use_runtimelinking" = yes; then
8105 shared_flag='${wl}-G'
8106 else
8107 shared_flag='${wl}-bM:SRE'
8112 # It seems that -bexpall does not export symbols beginning with
8113 # underscore (_), so it is better to generate a list of symbols to export.
8114 always_export_symbols=yes
8115 if test "$aix_use_runtimelinking" = yes; then
8116 # Warning - without using the other runtime loading flags (-brtl),
8117 # -berok will link without error, but may produce a broken library.
8118 allow_undefined_flag='-berok'
8119 # Determine the default libpath from the value encoded in an
8120 # empty executable.
8121 if test x$gcc_no_link = xyes; then
8122 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8123 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8124 { (exit 1); exit 1; }; }
8126 cat >conftest.$ac_ext <<_ACEOF
8127 /* confdefs.h. */
8128 _ACEOF
8129 cat confdefs.h >>conftest.$ac_ext
8130 cat >>conftest.$ac_ext <<_ACEOF
8131 /* end confdefs.h. */
8134 main ()
8138 return 0;
8140 _ACEOF
8141 rm -f conftest.$ac_objext conftest$ac_exeext
8142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8143 (eval $ac_link) 2>conftest.er1
8144 ac_status=$?
8145 grep -v '^ *+' conftest.er1 >conftest.err
8146 rm -f conftest.er1
8147 cat conftest.err >&5
8148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8149 (exit $ac_status); } &&
8150 { ac_try='test -z "$ac_c_werror_flag"
8151 || test ! -s conftest.err'
8152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8153 (eval $ac_try) 2>&5
8154 ac_status=$?
8155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8156 (exit $ac_status); }; } &&
8157 { ac_try='test -s conftest$ac_exeext'
8158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8159 (eval $ac_try) 2>&5
8160 ac_status=$?
8161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8162 (exit $ac_status); }; }; then
8164 lt_aix_libpath_sed='
8165 /Import File Strings/,/^$/ {
8166 /^0/ {
8167 s/^0 *\(.*\)$/\1/
8171 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8172 # Check for a 64-bit object if we didn't find anything.
8173 if test -z "$aix_libpath"; then
8174 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8176 else
8177 echo "$as_me: failed program was:" >&5
8178 sed 's/^/| /' conftest.$ac_ext >&5
8181 rm -f conftest.err conftest.$ac_objext \
8182 conftest$ac_exeext conftest.$ac_ext
8183 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8185 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8186 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"
8187 else
8188 if test "$host_cpu" = ia64; then
8189 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8190 allow_undefined_flag="-z nodefs"
8191 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"
8192 else
8193 # Determine the default libpath from the value encoded in an
8194 # empty executable.
8195 if test x$gcc_no_link = xyes; then
8196 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8197 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8198 { (exit 1); exit 1; }; }
8200 cat >conftest.$ac_ext <<_ACEOF
8201 /* confdefs.h. */
8202 _ACEOF
8203 cat confdefs.h >>conftest.$ac_ext
8204 cat >>conftest.$ac_ext <<_ACEOF
8205 /* end confdefs.h. */
8208 main ()
8212 return 0;
8214 _ACEOF
8215 rm -f conftest.$ac_objext conftest$ac_exeext
8216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8217 (eval $ac_link) 2>conftest.er1
8218 ac_status=$?
8219 grep -v '^ *+' conftest.er1 >conftest.err
8220 rm -f conftest.er1
8221 cat conftest.err >&5
8222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8223 (exit $ac_status); } &&
8224 { ac_try='test -z "$ac_c_werror_flag"
8225 || test ! -s conftest.err'
8226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8227 (eval $ac_try) 2>&5
8228 ac_status=$?
8229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8230 (exit $ac_status); }; } &&
8231 { ac_try='test -s conftest$ac_exeext'
8232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8233 (eval $ac_try) 2>&5
8234 ac_status=$?
8235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8236 (exit $ac_status); }; }; then
8238 lt_aix_libpath_sed='
8239 /Import File Strings/,/^$/ {
8240 /^0/ {
8241 s/^0 *\(.*\)$/\1/
8245 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8246 # Check for a 64-bit object if we didn't find anything.
8247 if test -z "$aix_libpath"; then
8248 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8250 else
8251 echo "$as_me: failed program was:" >&5
8252 sed 's/^/| /' conftest.$ac_ext >&5
8255 rm -f conftest.err conftest.$ac_objext \
8256 conftest$ac_exeext conftest.$ac_ext
8257 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8259 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8260 # Warning - without using the other run time loading flags,
8261 # -berok will link without error, but may produce a broken library.
8262 no_undefined_flag=' ${wl}-bernotok'
8263 allow_undefined_flag=' ${wl}-berok'
8264 # Exported symbols can be pulled into shared objects from archives
8265 whole_archive_flag_spec='$convenience'
8266 archive_cmds_need_lc=yes
8267 # This is similar to how AIX traditionally builds its shared libraries.
8268 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'
8273 amigaos*)
8274 if test "$host_cpu" = m68k; then
8275 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)'
8276 hardcode_libdir_flag_spec='-L$libdir'
8277 hardcode_minus_L=yes
8279 # see comment about different semantics on the GNU ld section
8280 ld_shlibs=no
8283 bsdi[45]*)
8284 export_dynamic_flag_spec=-rdynamic
8287 cygwin* | mingw* | pw32*)
8288 # When not using gcc, we currently assume that we are using
8289 # Microsoft Visual C++.
8290 # hardcode_libdir_flag_spec is actually meaningless, as there is
8291 # no search path for DLLs.
8292 hardcode_libdir_flag_spec=' '
8293 allow_undefined_flag=unsupported
8294 # Tell ltmain to make .lib files, not .a files.
8295 libext=lib
8296 # Tell ltmain to make .dll files, not .so files.
8297 shrext_cmds=".dll"
8298 # FIXME: Setting linknames here is a bad hack.
8299 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8300 # The linker will automatically build a .lib file if we build a DLL.
8301 old_archive_from_new_cmds='true'
8302 # FIXME: Should let the user specify the lib program.
8303 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8304 fix_srcfile_path='`cygpath -w "$srcfile"`'
8305 enable_shared_with_static_runtimes=yes
8308 darwin* | rhapsody*)
8309 case $host_os in
8310 rhapsody* | darwin1.[012])
8311 allow_undefined_flag='${wl}-undefined ${wl}suppress'
8313 *) # Darwin 1.3 on
8314 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
8315 10.[012])
8316 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8318 10.*)
8319 allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
8321 esac
8323 esac
8324 archive_cmds_need_lc=no
8325 hardcode_direct=no
8326 hardcode_automatic=yes
8327 hardcode_shlibpath_var=unsupported
8328 whole_archive_flag_spec=''
8329 link_all_deplibs=yes
8330 if test "$GCC" = yes ; then
8331 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
8332 echo $ECHO_N "(cached) $ECHO_C" >&6
8333 else
8334 lt_cv_apple_cc_single_mod=no
8335 if test -z "${LT_MULTI_MODULE}"; then
8336 # By default we will add the -single_module flag. You can override
8337 # by either setting the environment variable LT_MULTI_MODULE
8338 # non-empty at configure time, or by adding -multi-module to the
8339 # link flags.
8340 echo "int foo(void){return 1;}" > conftest.c
8341 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8342 -dynamiclib ${wl}-single_module conftest.c
8343 if test -f libconftest.dylib; then
8344 lt_cv_apple_cc_single_mod=yes
8345 rm libconftest.dylib
8347 rm conftest.$ac_ext
8351 output_verbose_link_cmd=echo
8352 if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
8353 archive_cmds='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8354 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}'
8355 else
8356 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8357 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}'
8359 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8360 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}'
8361 else
8362 case $cc_basename in
8363 xlc*)
8364 output_verbose_link_cmd=echo
8365 archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
8366 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8367 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8368 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}'
8369 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}'
8372 ld_shlibs=no
8374 esac
8378 dgux*)
8379 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8380 hardcode_libdir_flag_spec='-L$libdir'
8381 hardcode_shlibpath_var=no
8384 freebsd1*)
8385 ld_shlibs=no
8388 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8389 # support. Future versions do this automatically, but an explicit c++rt0.o
8390 # does not break anything, and helps significantly (at the cost of a little
8391 # extra space).
8392 freebsd2.2*)
8393 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8394 hardcode_libdir_flag_spec='-R$libdir'
8395 hardcode_direct=yes
8396 hardcode_shlibpath_var=no
8399 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8400 freebsd2*)
8401 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8402 hardcode_direct=yes
8403 hardcode_minus_L=yes
8404 hardcode_shlibpath_var=no
8407 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8408 freebsd* | dragonfly*)
8409 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8410 hardcode_libdir_flag_spec='-R$libdir'
8411 hardcode_direct=yes
8412 hardcode_shlibpath_var=no
8415 hpux9*)
8416 if test "$GCC" = yes; then
8417 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'
8418 else
8419 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'
8421 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8422 hardcode_libdir_separator=:
8423 hardcode_direct=yes
8425 # hardcode_minus_L: Not really in the search PATH,
8426 # but as the default location of the library.
8427 hardcode_minus_L=yes
8428 export_dynamic_flag_spec='${wl}-E'
8431 hpux10*)
8432 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8433 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8434 else
8435 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8437 if test "$with_gnu_ld" = no; then
8438 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8439 hardcode_libdir_flag_spec_ld='+b $libdir'
8440 hardcode_libdir_separator=:
8441 hardcode_direct=yes
8442 hardcode_direct_absolute=yes
8443 export_dynamic_flag_spec='${wl}-E'
8444 # hardcode_minus_L: Not really in the search PATH,
8445 # but as the default location of the library.
8446 hardcode_minus_L=yes
8450 hpux11*)
8451 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8452 case $host_cpu in
8453 hppa*64*)
8454 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8456 ia64*)
8457 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8460 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8462 esac
8463 else
8464 case $host_cpu in
8465 hppa*64*)
8466 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8468 ia64*)
8469 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8472 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8474 esac
8476 if test "$with_gnu_ld" = no; then
8477 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8478 hardcode_libdir_separator=:
8480 case $host_cpu in
8481 hppa*64*|ia64*)
8482 hardcode_direct=no
8483 hardcode_shlibpath_var=no
8486 hardcode_direct=yes
8487 hardcode_direct_absolute=yes
8488 export_dynamic_flag_spec='${wl}-E'
8490 # hardcode_minus_L: Not really in the search PATH,
8491 # but as the default location of the library.
8492 hardcode_minus_L=yes
8494 esac
8498 irix5* | irix6* | nonstopux*)
8499 if test "$GCC" = yes; then
8500 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'
8501 # Try to use the -exported_symbol ld option, if it does not
8502 # work, assume that -exports_file does not work either and
8503 # implicitly export all symbols.
8504 save_LDFLAGS="$LDFLAGS"
8505 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8506 if test x$gcc_no_link = xyes; then
8507 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8508 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8509 { (exit 1); exit 1; }; }
8511 cat >conftest.$ac_ext <<_ACEOF
8512 int foo(void) {}
8513 _ACEOF
8514 rm -f conftest.$ac_objext conftest$ac_exeext
8515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8516 (eval $ac_link) 2>conftest.er1
8517 ac_status=$?
8518 grep -v '^ *+' conftest.er1 >conftest.err
8519 rm -f conftest.er1
8520 cat conftest.err >&5
8521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8522 (exit $ac_status); } &&
8523 { ac_try='test -z "$ac_c_werror_flag"
8524 || test ! -s conftest.err'
8525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8526 (eval $ac_try) 2>&5
8527 ac_status=$?
8528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8529 (exit $ac_status); }; } &&
8530 { ac_try='test -s conftest$ac_exeext'
8531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8532 (eval $ac_try) 2>&5
8533 ac_status=$?
8534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8535 (exit $ac_status); }; }; then
8536 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'
8538 else
8539 echo "$as_me: failed program was:" >&5
8540 sed 's/^/| /' conftest.$ac_ext >&5
8543 rm -f conftest.err conftest.$ac_objext \
8544 conftest$ac_exeext conftest.$ac_ext
8545 LDFLAGS="$save_LDFLAGS"
8546 else
8547 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'
8548 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'
8550 archive_cmds_need_lc='no'
8551 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8552 hardcode_libdir_separator=:
8553 inherit_rpath=yes
8554 link_all_deplibs=yes
8557 netbsd*)
8558 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8559 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8560 else
8561 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8563 hardcode_libdir_flag_spec='-R$libdir'
8564 hardcode_direct=yes
8565 hardcode_shlibpath_var=no
8568 newsos6)
8569 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8570 hardcode_direct=yes
8571 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8572 hardcode_libdir_separator=:
8573 hardcode_shlibpath_var=no
8576 *nto* | *qnx*)
8579 openbsd*)
8580 hardcode_direct=yes
8581 hardcode_shlibpath_var=no
8582 hardcode_direct_absolute=yes
8583 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8584 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8585 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8586 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8587 export_dynamic_flag_spec='${wl}-E'
8588 else
8589 case $host_os in
8590 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8591 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8592 hardcode_libdir_flag_spec='-R$libdir'
8595 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8596 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8598 esac
8602 os2*)
8603 hardcode_libdir_flag_spec='-L$libdir'
8604 hardcode_minus_L=yes
8605 allow_undefined_flag=unsupported
8606 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'
8607 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8610 osf3*)
8611 if test "$GCC" = yes; then
8612 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8613 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'
8614 else
8615 allow_undefined_flag=' -expect_unresolved \*'
8616 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'
8618 archive_cmds_need_lc='no'
8619 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8620 hardcode_libdir_separator=:
8623 osf4* | osf5*) # as osf3* with the addition of -msym flag
8624 if test "$GCC" = yes; then
8625 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8626 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'
8627 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8628 else
8629 allow_undefined_flag=' -expect_unresolved \*'
8630 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'
8631 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~
8632 $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'
8634 # Both c and cxx compiler support -rpath directly
8635 hardcode_libdir_flag_spec='-rpath $libdir'
8637 archive_cmds_need_lc='no'
8638 hardcode_libdir_separator=:
8641 solaris*)
8642 no_undefined_flag=' -z defs'
8643 if test "$GCC" = yes; then
8644 wlarc='${wl}'
8645 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8646 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8647 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8648 else
8649 case `$CC -V 2>&1` in
8650 *"Compilers 5.0"*)
8651 wlarc=''
8652 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8653 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8654 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8657 wlarc='${wl}'
8658 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8659 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8660 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8662 esac
8664 hardcode_libdir_flag_spec='-R$libdir'
8665 hardcode_shlibpath_var=no
8666 case $host_os in
8667 solaris2.[0-5] | solaris2.[0-5].*) ;;
8669 # The compiler driver will combine and reorder linker options,
8670 # but understands `-z linker_flag'. GCC discards it without `$wl',
8671 # but is careful enough not to reorder.
8672 # Supported since Solaris 2.6 (maybe 2.5.1?)
8673 if test "$GCC" = yes; then
8674 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8675 else
8676 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8679 esac
8680 link_all_deplibs=yes
8683 sunos4*)
8684 if test "x$host_vendor" = xsequent; then
8685 # Use $CC to link under sequent, because it throws in some extra .o
8686 # files that make .init and .fini sections work.
8687 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8688 else
8689 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8691 hardcode_libdir_flag_spec='-L$libdir'
8692 hardcode_direct=yes
8693 hardcode_minus_L=yes
8694 hardcode_shlibpath_var=no
8697 sysv4)
8698 case $host_vendor in
8699 sni)
8700 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8701 hardcode_direct=yes # is this really true???
8703 siemens)
8704 ## LD is ld it makes a PLAMLIB
8705 ## CC just makes a GrossModule.
8706 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8707 reload_cmds='$CC -r -o $output$reload_objs'
8708 hardcode_direct=no
8710 motorola)
8711 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8712 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8714 esac
8715 runpath_var='LD_RUN_PATH'
8716 hardcode_shlibpath_var=no
8719 sysv4.3*)
8720 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8721 hardcode_shlibpath_var=no
8722 export_dynamic_flag_spec='-Bexport'
8725 sysv4*MP*)
8726 if test -d /usr/nec; then
8727 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8728 hardcode_shlibpath_var=no
8729 runpath_var=LD_RUN_PATH
8730 hardcode_runpath_var=yes
8731 ld_shlibs=yes
8735 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8736 no_undefined_flag='${wl}-z,text'
8737 archive_cmds_need_lc=no
8738 hardcode_shlibpath_var=no
8739 runpath_var='LD_RUN_PATH'
8741 if test "$GCC" = yes; then
8742 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8743 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8744 else
8745 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8746 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8750 sysv5* | sco3.2v5* | sco5v6*)
8751 # Note: We can NOT use -z defs as we might desire, because we do not
8752 # link with -lc, and that would cause any symbols used from libc to
8753 # always be unresolved, which means just about no library would
8754 # ever link correctly. If we're not using GNU ld we use -z text
8755 # though, which does catch some bad symbols but isn't as heavy-handed
8756 # as -z defs.
8757 no_undefined_flag='${wl}-z,text'
8758 allow_undefined_flag='${wl}-z,nodefs'
8759 archive_cmds_need_lc=no
8760 hardcode_shlibpath_var=no
8761 hardcode_libdir_flag_spec='${wl}-R,$libdir'
8762 hardcode_libdir_separator=':'
8763 link_all_deplibs=yes
8764 export_dynamic_flag_spec='${wl}-Bexport'
8765 runpath_var='LD_RUN_PATH'
8767 if test "$GCC" = yes; then
8768 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8769 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8770 else
8771 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8772 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8776 uts4*)
8777 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8778 hardcode_libdir_flag_spec='-L$libdir'
8779 hardcode_shlibpath_var=no
8783 ld_shlibs=no
8785 esac
8787 if test x$host_vendor = xsni; then
8788 case $host in
8789 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8790 export_dynamic_flag_spec='${wl}-Blargedynsym'
8792 esac
8796 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8797 echo "${ECHO_T}$ld_shlibs" >&6
8798 test "$ld_shlibs" = no && can_build_shared=no
8800 with_gnu_ld=$with_gnu_ld
8817 # Do we need to explicitly link libc?
8819 case "x$archive_cmds_need_lc" in
8820 x|xyes)
8821 # Assume -lc should be added
8822 archive_cmds_need_lc=yes
8824 if test "$enable_shared" = yes && test "$GCC" = yes; then
8825 case $archive_cmds in
8826 *'~'*)
8827 # FIXME: we may have to deal with multi-command sequences.
8829 '$CC '*)
8830 # Test whether the compiler implicitly links with -lc since on some
8831 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8832 # to ld, don't add -lc before -lgcc.
8833 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8834 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
8835 $RM conftest*
8836 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8839 (eval $ac_compile) 2>&5
8840 ac_status=$?
8841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8842 (exit $ac_status); } 2>conftest.err; then
8843 soname=conftest
8844 lib=conftest
8845 libobjs=conftest.$ac_objext
8846 deplibs=
8847 wl=$lt_prog_compiler_wl
8848 pic_flag=$lt_prog_compiler_pic
8849 compiler_flags=-v
8850 linker_flags=-v
8851 verstring=
8852 output_objdir=.
8853 libname=conftest
8854 lt_save_allow_undefined_flag=$allow_undefined_flag
8855 allow_undefined_flag=
8856 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
8857 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
8858 ac_status=$?
8859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8860 (exit $ac_status); }
8861 then
8862 archive_cmds_need_lc=no
8863 else
8864 archive_cmds_need_lc=yes
8866 allow_undefined_flag=$lt_save_allow_undefined_flag
8867 else
8868 cat conftest.err 1>&5
8870 $RM conftest*
8871 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8872 echo "${ECHO_T}$archive_cmds_need_lc" >&6
8874 esac
8877 esac
9035 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9036 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
9037 withGCC=$GCC
9038 if test "$withGCC" = yes; then
9039 case $host_os in
9040 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9041 *) lt_awk_arg="/^libraries:/" ;;
9042 esac
9043 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9044 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9045 # if the path contains ";" then we assume it to be the separator
9046 # otherwise default to the standard path separator (i.e. ":") - it is
9047 # assumed that no part of a normal pathname contains ";" but that should
9048 # okay in the real world where ";" in dirpaths is itself problematic.
9049 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9050 else
9051 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9053 # Ok, now we have the path, separated by spaces, we can step through it
9054 # and add multilib dir if necessary.
9055 lt_tmp_lt_search_path_spec=
9056 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9057 for lt_sys_path in $lt_search_path_spec; do
9058 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9059 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9060 else
9061 test -d "$lt_sys_path" && \
9062 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9064 done
9065 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9066 BEGIN {RS=" "; FS="/|\n";} {
9067 lt_foo="";
9068 lt_count=0;
9069 for (lt_i = NF; lt_i > 0; lt_i--) {
9070 if ($lt_i != "" && $lt_i != ".") {
9071 if ($lt_i == "..") {
9072 lt_count++;
9073 } else {
9074 if (lt_count == 0) {
9075 lt_foo="/" $lt_i lt_foo;
9076 } else {
9077 lt_count--;
9082 if (lt_foo != "") { lt_freq[lt_foo]++; }
9083 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9085 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9086 else
9087 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9089 library_names_spec=
9090 libname_spec='lib$name'
9091 soname_spec=
9092 shrext_cmds=".so"
9093 postinstall_cmds=
9094 postuninstall_cmds=
9095 finish_cmds=
9096 finish_eval=
9097 shlibpath_var=
9098 shlibpath_overrides_runpath=unknown
9099 version_type=none
9100 dynamic_linker="$host_os ld.so"
9101 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9102 need_lib_prefix=unknown
9103 hardcode_into_libs=no
9105 # when you set need_version to no, make sure it does not cause -set_version
9106 # flags to be left without arguments
9107 need_version=unknown
9109 case $host_os in
9110 aix3*)
9111 version_type=linux
9112 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9113 shlibpath_var=LIBPATH
9115 # AIX 3 has no versioning support, so we append a major version to the name.
9116 soname_spec='${libname}${release}${shared_ext}$major'
9119 aix[4-9]*)
9120 version_type=linux
9121 need_lib_prefix=no
9122 need_version=no
9123 hardcode_into_libs=yes
9124 if test "$host_cpu" = ia64; then
9125 # AIX 5 supports IA64
9126 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9127 shlibpath_var=LD_LIBRARY_PATH
9128 else
9129 # With GCC up to 2.95.x, collect2 would create an import file
9130 # for dependence libraries. The import file would start with
9131 # the line `#! .'. This would cause the generated library to
9132 # depend on `.', always an invalid library. This was fixed in
9133 # development snapshots of GCC prior to 3.0.
9134 case $host_os in
9135 aix4 | aix4.[01] | aix4.[01].*)
9136 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9137 echo ' yes '
9138 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9140 else
9141 can_build_shared=no
9144 esac
9145 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9146 # soname into executable. Probably we can add versioning support to
9147 # collect2, so additional links can be useful in future.
9148 if test "$aix_use_runtimelinking" = yes; then
9149 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9150 # instead of lib<name>.a to let people know that these are not
9151 # typical AIX shared libraries.
9152 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9153 else
9154 # We preserve .a as extension for shared libraries through AIX4.2
9155 # and later when we are not doing run time linking.
9156 library_names_spec='${libname}${release}.a $libname.a'
9157 soname_spec='${libname}${release}${shared_ext}$major'
9159 shlibpath_var=LIBPATH
9163 amigaos*)
9164 if test "$host_cpu" = m68k; then
9165 library_names_spec='$libname.ixlibrary $libname.a'
9166 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9167 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'
9168 else
9169 dynamic_linker=no
9173 beos*)
9174 library_names_spec='${libname}${shared_ext}'
9175 dynamic_linker="$host_os ld.so"
9176 shlibpath_var=LIBRARY_PATH
9179 bsdi[45]*)
9180 version_type=linux
9181 need_version=no
9182 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9183 soname_spec='${libname}${release}${shared_ext}$major'
9184 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9185 shlibpath_var=LD_LIBRARY_PATH
9186 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9187 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9188 # the default ld.so.conf also contains /usr/contrib/lib and
9189 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9190 # libtool to hard-code these into programs
9193 cygwin* | mingw* | pw32*)
9194 version_type=windows
9195 shrext_cmds=".dll"
9196 need_version=no
9197 need_lib_prefix=no
9199 case $withGCC,$host_os in
9200 yes,cygwin* | yes,mingw* | yes,pw32*)
9201 library_names_spec='$libname.dll.a'
9202 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9203 postinstall_cmds='base_file=`basename \${file}`~
9204 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9205 dldir=$destdir/`dirname \$dlpath`~
9206 test -d \$dldir || mkdir -p \$dldir~
9207 $install_prog $dir/$dlname \$dldir/$dlname~
9208 chmod a+x \$dldir/$dlname~
9209 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9210 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9212 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9213 dlpath=$dir/\$dldll~
9214 $RM \$dlpath'
9215 shlibpath_overrides_runpath=yes
9217 case $host_os in
9218 cygwin*)
9219 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9220 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9221 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9223 mingw*)
9224 # MinGW DLLs use traditional 'lib' prefix
9225 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9226 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9227 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9228 # It is most probably a Windows format PATH printed by
9229 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9230 # path with ; separators, and with drive letters. We can handle the
9231 # drive letters (cygwin fileutils understands them), so leave them,
9232 # especially as we might pass files found there to a mingw objdump,
9233 # which wouldn't understand a cygwinified path. Ahh.
9234 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9235 else
9236 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9239 pw32*)
9240 # pw32 DLLs use 'pw' prefix rather than 'lib'
9241 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9243 esac
9247 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9249 esac
9250 dynamic_linker='Win32 ld.exe'
9251 # FIXME: first we should search . and the directory the executable is in
9252 shlibpath_var=PATH
9255 darwin* | rhapsody*)
9256 dynamic_linker="$host_os dyld"
9257 version_type=darwin
9258 need_lib_prefix=no
9259 need_version=no
9260 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9261 soname_spec='${libname}${release}${major}$shared_ext'
9262 shlibpath_overrides_runpath=yes
9263 shlibpath_var=DYLD_LIBRARY_PATH
9264 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9266 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9267 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9270 dgux*)
9271 version_type=linux
9272 need_lib_prefix=no
9273 need_version=no
9274 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9275 soname_spec='${libname}${release}${shared_ext}$major'
9276 shlibpath_var=LD_LIBRARY_PATH
9279 freebsd1*)
9280 dynamic_linker=no
9283 freebsd* | dragonfly*)
9284 # DragonFly does not have aout. When/if they implement a new
9285 # versioning mechanism, adjust this.
9286 if test -x /usr/bin/objformat; then
9287 objformat=`/usr/bin/objformat`
9288 else
9289 case $host_os in
9290 freebsd[123]*) objformat=aout ;;
9291 *) objformat=elf ;;
9292 esac
9294 version_type=freebsd-$objformat
9295 case $version_type in
9296 freebsd-elf*)
9297 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9298 need_version=no
9299 need_lib_prefix=no
9301 freebsd-*)
9302 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9303 need_version=yes
9305 esac
9306 shlibpath_var=LD_LIBRARY_PATH
9307 case $host_os in
9308 freebsd2*)
9309 shlibpath_overrides_runpath=yes
9311 freebsd3.[01]* | freebsdelf3.[01]*)
9312 shlibpath_overrides_runpath=yes
9313 hardcode_into_libs=yes
9315 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9316 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9317 shlibpath_overrides_runpath=no
9318 hardcode_into_libs=yes
9320 *) # from 4.6 on, and DragonFly
9321 shlibpath_overrides_runpath=yes
9322 hardcode_into_libs=yes
9324 esac
9327 gnu*)
9328 version_type=linux
9329 need_lib_prefix=no
9330 need_version=no
9331 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9332 soname_spec='${libname}${release}${shared_ext}$major'
9333 shlibpath_var=LD_LIBRARY_PATH
9334 hardcode_into_libs=yes
9337 hpux9* | hpux10* | hpux11*)
9338 # Give a soname corresponding to the major version so that dld.sl refuses to
9339 # link against other versions.
9340 version_type=sunos
9341 need_lib_prefix=no
9342 need_version=no
9343 case $host_cpu in
9344 ia64*)
9345 shrext_cmds='.so'
9346 hardcode_into_libs=yes
9347 dynamic_linker="$host_os dld.so"
9348 shlibpath_var=LD_LIBRARY_PATH
9349 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9350 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9351 soname_spec='${libname}${release}${shared_ext}$major'
9352 if test "X$HPUX_IA64_MODE" = X32; then
9353 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9354 else
9355 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9357 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9359 hppa*64*)
9360 shrext_cmds='.sl'
9361 hardcode_into_libs=yes
9362 dynamic_linker="$host_os dld.sl"
9363 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9364 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9365 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9366 soname_spec='${libname}${release}${shared_ext}$major'
9367 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9368 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9371 shrext_cmds='.sl'
9372 dynamic_linker="$host_os dld.sl"
9373 shlibpath_var=SHLIB_PATH
9374 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9375 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9376 soname_spec='${libname}${release}${shared_ext}$major'
9378 esac
9379 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9380 postinstall_cmds='chmod 555 $lib'
9383 interix[3-9]*)
9384 version_type=linux
9385 need_lib_prefix=no
9386 need_version=no
9387 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9388 soname_spec='${libname}${release}${shared_ext}$major'
9389 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9390 shlibpath_var=LD_LIBRARY_PATH
9391 shlibpath_overrides_runpath=no
9392 hardcode_into_libs=yes
9395 irix5* | irix6* | nonstopux*)
9396 case $host_os in
9397 nonstopux*) version_type=nonstopux ;;
9399 if test "$lt_cv_prog_gnu_ld" = yes; then
9400 version_type=linux
9401 else
9402 version_type=irix
9403 fi ;;
9404 esac
9405 need_lib_prefix=no
9406 need_version=no
9407 soname_spec='${libname}${release}${shared_ext}$major'
9408 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9409 case $host_os in
9410 irix5* | nonstopux*)
9411 libsuff= shlibsuff=
9414 case $LD in # libtool.m4 will add one of these switches to LD
9415 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9416 libsuff= shlibsuff= libmagic=32-bit;;
9417 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9418 libsuff=32 shlibsuff=N32 libmagic=N32;;
9419 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9420 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9421 *) libsuff= shlibsuff= libmagic=never-match;;
9422 esac
9424 esac
9425 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9426 shlibpath_overrides_runpath=no
9427 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9428 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9429 hardcode_into_libs=yes
9432 # No shared lib support for Linux oldld, aout, or coff.
9433 linux*oldld* | linux*aout* | linux*coff*)
9434 dynamic_linker=no
9437 # This must be Linux ELF.
9438 linux* | k*bsd*-gnu)
9439 version_type=linux
9440 need_lib_prefix=no
9441 need_version=no
9442 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9443 soname_spec='${libname}${release}${shared_ext}$major'
9444 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9445 shlibpath_var=LD_LIBRARY_PATH
9446 shlibpath_overrides_runpath=no
9447 # Some binutils ld are patched to set DT_RUNPATH
9448 save_LDFLAGS=$LDFLAGS
9449 save_libdir=$libdir
9450 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9451 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9452 if test x$gcc_no_link = xyes; then
9453 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9454 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9455 { (exit 1); exit 1; }; }
9457 cat >conftest.$ac_ext <<_ACEOF
9458 /* confdefs.h. */
9459 _ACEOF
9460 cat confdefs.h >>conftest.$ac_ext
9461 cat >>conftest.$ac_ext <<_ACEOF
9462 /* end confdefs.h. */
9465 main ()
9469 return 0;
9471 _ACEOF
9472 rm -f conftest.$ac_objext conftest$ac_exeext
9473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9474 (eval $ac_link) 2>conftest.er1
9475 ac_status=$?
9476 grep -v '^ *+' conftest.er1 >conftest.err
9477 rm -f conftest.er1
9478 cat conftest.err >&5
9479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9480 (exit $ac_status); } &&
9481 { ac_try='test -z "$ac_c_werror_flag"
9482 || test ! -s conftest.err'
9483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9484 (eval $ac_try) 2>&5
9485 ac_status=$?
9486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9487 (exit $ac_status); }; } &&
9488 { ac_try='test -s conftest$ac_exeext'
9489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9490 (eval $ac_try) 2>&5
9491 ac_status=$?
9492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9493 (exit $ac_status); }; }; then
9494 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
9495 shlibpath_overrides_runpath=yes
9498 else
9499 echo "$as_me: failed program was:" >&5
9500 sed 's/^/| /' conftest.$ac_ext >&5
9503 rm -f conftest.err conftest.$ac_objext \
9504 conftest$ac_exeext conftest.$ac_ext
9505 LDFLAGS=$save_LDFLAGS
9506 libdir=$save_libdir
9508 # This implies no fast_install, which is unacceptable.
9509 # Some rework will be needed to allow for fast_install
9510 # before this can be enabled.
9511 hardcode_into_libs=yes
9513 # Append ld.so.conf contents to the search path
9514 if test -f /etc/ld.so.conf; then
9515 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' ' '`
9516 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9519 # We used to test for /lib/ld.so.1 and disable shared libraries on
9520 # powerpc, because MkLinux only supported shared libraries with the
9521 # GNU dynamic linker. Since this was broken with cross compilers,
9522 # most powerpc-linux boxes support dynamic linking these days and
9523 # people can always --disable-shared, the test was removed, and we
9524 # assume the GNU/Linux dynamic linker is in use.
9525 dynamic_linker='GNU/Linux ld.so'
9528 netbsd*)
9529 version_type=sunos
9530 need_lib_prefix=no
9531 need_version=no
9532 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9533 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9534 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9535 dynamic_linker='NetBSD (a.out) ld.so'
9536 else
9537 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9538 soname_spec='${libname}${release}${shared_ext}$major'
9539 dynamic_linker='NetBSD ld.elf_so'
9541 shlibpath_var=LD_LIBRARY_PATH
9542 shlibpath_overrides_runpath=yes
9543 hardcode_into_libs=yes
9546 newsos6)
9547 version_type=linux
9548 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9549 shlibpath_var=LD_LIBRARY_PATH
9550 shlibpath_overrides_runpath=yes
9553 *nto* | *qnx*)
9554 version_type=qnx
9555 need_lib_prefix=no
9556 need_version=no
9557 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9558 soname_spec='${libname}${release}${shared_ext}$major'
9559 shlibpath_var=LD_LIBRARY_PATH
9560 shlibpath_overrides_runpath=no
9561 hardcode_into_libs=yes
9562 dynamic_linker='ldqnx.so'
9565 openbsd*)
9566 version_type=sunos
9567 sys_lib_dlsearch_path_spec="/usr/lib"
9568 need_lib_prefix=no
9569 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9570 case $host_os in
9571 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9572 *) need_version=no ;;
9573 esac
9574 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9575 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9576 shlibpath_var=LD_LIBRARY_PATH
9577 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9578 case $host_os in
9579 openbsd2.[89] | openbsd2.[89].*)
9580 shlibpath_overrides_runpath=no
9583 shlibpath_overrides_runpath=yes
9585 esac
9586 else
9587 shlibpath_overrides_runpath=yes
9591 os2*)
9592 libname_spec='$name'
9593 shrext_cmds=".dll"
9594 need_lib_prefix=no
9595 library_names_spec='$libname${shared_ext} $libname.a'
9596 dynamic_linker='OS/2 ld.exe'
9597 shlibpath_var=LIBPATH
9600 osf3* | osf4* | osf5*)
9601 version_type=osf
9602 need_lib_prefix=no
9603 need_version=no
9604 soname_spec='${libname}${release}${shared_ext}$major'
9605 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9606 shlibpath_var=LD_LIBRARY_PATH
9607 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9608 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9611 rdos*)
9612 dynamic_linker=no
9615 solaris*)
9616 version_type=linux
9617 need_lib_prefix=no
9618 need_version=no
9619 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9620 soname_spec='${libname}${release}${shared_ext}$major'
9621 shlibpath_var=LD_LIBRARY_PATH
9622 shlibpath_overrides_runpath=yes
9623 hardcode_into_libs=yes
9624 # ldd complains unless libraries are executable
9625 postinstall_cmds='chmod +x $lib'
9628 sunos4*)
9629 version_type=sunos
9630 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9631 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9632 shlibpath_var=LD_LIBRARY_PATH
9633 shlibpath_overrides_runpath=yes
9634 if test "$with_gnu_ld" = yes; then
9635 need_lib_prefix=no
9637 need_version=yes
9640 sysv4 | sysv4.3*)
9641 version_type=linux
9642 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9643 soname_spec='${libname}${release}${shared_ext}$major'
9644 shlibpath_var=LD_LIBRARY_PATH
9645 case $host_vendor in
9646 sni)
9647 shlibpath_overrides_runpath=no
9648 need_lib_prefix=no
9649 runpath_var=LD_RUN_PATH
9651 siemens)
9652 need_lib_prefix=no
9654 motorola)
9655 need_lib_prefix=no
9656 need_version=no
9657 shlibpath_overrides_runpath=no
9658 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9660 esac
9663 sysv4*MP*)
9664 if test -d /usr/nec ;then
9665 version_type=linux
9666 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9667 soname_spec='$libname${shared_ext}.$major'
9668 shlibpath_var=LD_LIBRARY_PATH
9672 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9673 version_type=freebsd-elf
9674 need_lib_prefix=no
9675 need_version=no
9676 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9677 soname_spec='${libname}${release}${shared_ext}$major'
9678 shlibpath_var=LD_LIBRARY_PATH
9679 shlibpath_overrides_runpath=yes
9680 hardcode_into_libs=yes
9681 if test "$with_gnu_ld" = yes; then
9682 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9683 else
9684 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9685 case $host_os in
9686 sco3.2v5*)
9687 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9689 esac
9691 sys_lib_dlsearch_path_spec='/usr/lib'
9694 tpf*)
9695 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9696 version_type=linux
9697 need_lib_prefix=no
9698 need_version=no
9699 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9700 shlibpath_var=LD_LIBRARY_PATH
9701 shlibpath_overrides_runpath=no
9702 hardcode_into_libs=yes
9705 uts4*)
9706 version_type=linux
9707 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9708 soname_spec='${libname}${release}${shared_ext}$major'
9709 shlibpath_var=LD_LIBRARY_PATH
9713 dynamic_linker=no
9715 esac
9716 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9717 echo "${ECHO_T}$dynamic_linker" >&6
9718 test "$dynamic_linker" = no && can_build_shared=no
9720 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9721 if test "$GCC" = yes; then
9722 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9811 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9812 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
9813 hardcode_action=
9814 if test -n "$hardcode_libdir_flag_spec" ||
9815 test -n "$runpath_var" ||
9816 test "X$hardcode_automatic" = "Xyes" ; then
9818 # We can hardcode non-existent directories.
9819 if test "$hardcode_direct" != no &&
9820 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9821 # have to relink, otherwise we might link with an installed library
9822 # when we should be linking with a yet-to-be-installed one
9823 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9824 test "$hardcode_minus_L" != no; then
9825 # Linking always hardcodes the temporary library directory.
9826 hardcode_action=relink
9827 else
9828 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9829 hardcode_action=immediate
9831 else
9832 # We cannot hardcode anything, or else we can only hardcode existing
9833 # directories.
9834 hardcode_action=unsupported
9836 echo "$as_me:$LINENO: result: $hardcode_action" >&5
9837 echo "${ECHO_T}$hardcode_action" >&6
9839 if test "$hardcode_action" = relink ||
9840 test "$inherit_rpath" = yes; then
9841 # Fast installation is not supported
9842 enable_fast_install=no
9843 elif test "$shlibpath_overrides_runpath" = yes ||
9844 test "$enable_shared" = no; then
9845 # Fast installation is not necessary
9846 enable_fast_install=needless
9854 if test "x$enable_dlopen" != xyes; then
9855 enable_dlopen=unknown
9856 enable_dlopen_self=unknown
9857 enable_dlopen_self_static=unknown
9858 else
9859 lt_cv_dlopen=no
9860 lt_cv_dlopen_libs=
9862 case $host_os in
9863 beos*)
9864 lt_cv_dlopen="load_add_on"
9865 lt_cv_dlopen_libs=
9866 lt_cv_dlopen_self=yes
9869 mingw* | pw32*)
9870 lt_cv_dlopen="LoadLibrary"
9871 lt_cv_dlopen_libs=
9874 cygwin*)
9875 lt_cv_dlopen="dlopen"
9876 lt_cv_dlopen_libs=
9879 darwin*)
9880 # if libdl is installed we need to link against it
9881 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9882 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9883 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9884 echo $ECHO_N "(cached) $ECHO_C" >&6
9885 else
9886 ac_check_lib_save_LIBS=$LIBS
9887 LIBS="-ldl $LIBS"
9888 if test x$gcc_no_link = xyes; then
9889 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9890 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9891 { (exit 1); exit 1; }; }
9893 cat >conftest.$ac_ext <<_ACEOF
9894 /* confdefs.h. */
9895 _ACEOF
9896 cat confdefs.h >>conftest.$ac_ext
9897 cat >>conftest.$ac_ext <<_ACEOF
9898 /* end confdefs.h. */
9900 /* Override any gcc2 internal prototype to avoid an error. */
9901 #ifdef __cplusplus
9902 extern "C"
9903 #endif
9904 /* We use char because int might match the return type of a gcc2
9905 builtin and then its argument prototype would still apply. */
9906 char dlopen ();
9908 main ()
9910 dlopen ();
9912 return 0;
9914 _ACEOF
9915 rm -f conftest.$ac_objext conftest$ac_exeext
9916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9917 (eval $ac_link) 2>conftest.er1
9918 ac_status=$?
9919 grep -v '^ *+' conftest.er1 >conftest.err
9920 rm -f conftest.er1
9921 cat conftest.err >&5
9922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9923 (exit $ac_status); } &&
9924 { ac_try='test -z "$ac_c_werror_flag"
9925 || test ! -s conftest.err'
9926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9927 (eval $ac_try) 2>&5
9928 ac_status=$?
9929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9930 (exit $ac_status); }; } &&
9931 { ac_try='test -s conftest$ac_exeext'
9932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9933 (eval $ac_try) 2>&5
9934 ac_status=$?
9935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9936 (exit $ac_status); }; }; then
9937 ac_cv_lib_dl_dlopen=yes
9938 else
9939 echo "$as_me: failed program was:" >&5
9940 sed 's/^/| /' conftest.$ac_ext >&5
9942 ac_cv_lib_dl_dlopen=no
9944 rm -f conftest.err conftest.$ac_objext \
9945 conftest$ac_exeext conftest.$ac_ext
9946 LIBS=$ac_check_lib_save_LIBS
9948 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9949 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9950 if test $ac_cv_lib_dl_dlopen = yes; then
9951 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9952 else
9954 lt_cv_dlopen="dyld"
9955 lt_cv_dlopen_libs=
9956 lt_cv_dlopen_self=yes
9963 echo "$as_me:$LINENO: checking for shl_load" >&5
9964 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
9965 if test "${ac_cv_func_shl_load+set}" = set; then
9966 echo $ECHO_N "(cached) $ECHO_C" >&6
9967 else
9968 if test x$gcc_no_link = xyes; then
9969 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9970 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9971 { (exit 1); exit 1; }; }
9973 cat >conftest.$ac_ext <<_ACEOF
9974 /* confdefs.h. */
9975 _ACEOF
9976 cat confdefs.h >>conftest.$ac_ext
9977 cat >>conftest.$ac_ext <<_ACEOF
9978 /* end confdefs.h. */
9979 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9980 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9981 #define shl_load innocuous_shl_load
9983 /* System header to define __stub macros and hopefully few prototypes,
9984 which can conflict with char shl_load (); below.
9985 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9986 <limits.h> exists even on freestanding compilers. */
9988 #ifdef __STDC__
9989 # include <limits.h>
9990 #else
9991 # include <assert.h>
9992 #endif
9994 #undef shl_load
9996 /* Override any gcc2 internal prototype to avoid an error. */
9997 #ifdef __cplusplus
9998 extern "C"
10000 #endif
10001 /* We use char because int might match the return type of a gcc2
10002 builtin and then its argument prototype would still apply. */
10003 char shl_load ();
10004 /* The GNU C library defines this for functions which it implements
10005 to always fail with ENOSYS. Some functions are actually named
10006 something starting with __ and the normal name is an alias. */
10007 #if defined (__stub_shl_load) || defined (__stub___shl_load)
10008 choke me
10009 #else
10010 char (*f) () = shl_load;
10011 #endif
10012 #ifdef __cplusplus
10014 #endif
10017 main ()
10019 return f != shl_load;
10021 return 0;
10023 _ACEOF
10024 rm -f conftest.$ac_objext conftest$ac_exeext
10025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10026 (eval $ac_link) 2>conftest.er1
10027 ac_status=$?
10028 grep -v '^ *+' conftest.er1 >conftest.err
10029 rm -f conftest.er1
10030 cat conftest.err >&5
10031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10032 (exit $ac_status); } &&
10033 { ac_try='test -z "$ac_c_werror_flag"
10034 || test ! -s conftest.err'
10035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10036 (eval $ac_try) 2>&5
10037 ac_status=$?
10038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10039 (exit $ac_status); }; } &&
10040 { ac_try='test -s conftest$ac_exeext'
10041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10042 (eval $ac_try) 2>&5
10043 ac_status=$?
10044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10045 (exit $ac_status); }; }; then
10046 ac_cv_func_shl_load=yes
10047 else
10048 echo "$as_me: failed program was:" >&5
10049 sed 's/^/| /' conftest.$ac_ext >&5
10051 ac_cv_func_shl_load=no
10053 rm -f conftest.err conftest.$ac_objext \
10054 conftest$ac_exeext conftest.$ac_ext
10056 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10057 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
10058 if test $ac_cv_func_shl_load = yes; then
10059 lt_cv_dlopen="shl_load"
10060 else
10061 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10062 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
10063 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10064 echo $ECHO_N "(cached) $ECHO_C" >&6
10065 else
10066 ac_check_lib_save_LIBS=$LIBS
10067 LIBS="-ldld $LIBS"
10068 if test x$gcc_no_link = xyes; then
10069 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10070 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10071 { (exit 1); exit 1; }; }
10073 cat >conftest.$ac_ext <<_ACEOF
10074 /* confdefs.h. */
10075 _ACEOF
10076 cat confdefs.h >>conftest.$ac_ext
10077 cat >>conftest.$ac_ext <<_ACEOF
10078 /* end confdefs.h. */
10080 /* Override any gcc2 internal prototype to avoid an error. */
10081 #ifdef __cplusplus
10082 extern "C"
10083 #endif
10084 /* We use char because int might match the return type of a gcc2
10085 builtin and then its argument prototype would still apply. */
10086 char shl_load ();
10088 main ()
10090 shl_load ();
10092 return 0;
10094 _ACEOF
10095 rm -f conftest.$ac_objext conftest$ac_exeext
10096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10097 (eval $ac_link) 2>conftest.er1
10098 ac_status=$?
10099 grep -v '^ *+' conftest.er1 >conftest.err
10100 rm -f conftest.er1
10101 cat conftest.err >&5
10102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10103 (exit $ac_status); } &&
10104 { ac_try='test -z "$ac_c_werror_flag"
10105 || test ! -s conftest.err'
10106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10107 (eval $ac_try) 2>&5
10108 ac_status=$?
10109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10110 (exit $ac_status); }; } &&
10111 { ac_try='test -s conftest$ac_exeext'
10112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10113 (eval $ac_try) 2>&5
10114 ac_status=$?
10115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10116 (exit $ac_status); }; }; then
10117 ac_cv_lib_dld_shl_load=yes
10118 else
10119 echo "$as_me: failed program was:" >&5
10120 sed 's/^/| /' conftest.$ac_ext >&5
10122 ac_cv_lib_dld_shl_load=no
10124 rm -f conftest.err conftest.$ac_objext \
10125 conftest$ac_exeext conftest.$ac_ext
10126 LIBS=$ac_check_lib_save_LIBS
10128 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10129 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
10130 if test $ac_cv_lib_dld_shl_load = yes; then
10131 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
10132 else
10133 echo "$as_me:$LINENO: checking for dlopen" >&5
10134 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
10135 if test "${ac_cv_func_dlopen+set}" = set; then
10136 echo $ECHO_N "(cached) $ECHO_C" >&6
10137 else
10138 if test x$gcc_no_link = xyes; then
10139 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10140 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10141 { (exit 1); exit 1; }; }
10143 cat >conftest.$ac_ext <<_ACEOF
10144 /* confdefs.h. */
10145 _ACEOF
10146 cat confdefs.h >>conftest.$ac_ext
10147 cat >>conftest.$ac_ext <<_ACEOF
10148 /* end confdefs.h. */
10149 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10150 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10151 #define dlopen innocuous_dlopen
10153 /* System header to define __stub macros and hopefully few prototypes,
10154 which can conflict with char dlopen (); below.
10155 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10156 <limits.h> exists even on freestanding compilers. */
10158 #ifdef __STDC__
10159 # include <limits.h>
10160 #else
10161 # include <assert.h>
10162 #endif
10164 #undef dlopen
10166 /* Override any gcc2 internal prototype to avoid an error. */
10167 #ifdef __cplusplus
10168 extern "C"
10170 #endif
10171 /* We use char because int might match the return type of a gcc2
10172 builtin and then its argument prototype would still apply. */
10173 char dlopen ();
10174 /* The GNU C library defines this for functions which it implements
10175 to always fail with ENOSYS. Some functions are actually named
10176 something starting with __ and the normal name is an alias. */
10177 #if defined (__stub_dlopen) || defined (__stub___dlopen)
10178 choke me
10179 #else
10180 char (*f) () = dlopen;
10181 #endif
10182 #ifdef __cplusplus
10184 #endif
10187 main ()
10189 return f != dlopen;
10191 return 0;
10193 _ACEOF
10194 rm -f conftest.$ac_objext conftest$ac_exeext
10195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10196 (eval $ac_link) 2>conftest.er1
10197 ac_status=$?
10198 grep -v '^ *+' conftest.er1 >conftest.err
10199 rm -f conftest.er1
10200 cat conftest.err >&5
10201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10202 (exit $ac_status); } &&
10203 { ac_try='test -z "$ac_c_werror_flag"
10204 || test ! -s conftest.err'
10205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10206 (eval $ac_try) 2>&5
10207 ac_status=$?
10208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10209 (exit $ac_status); }; } &&
10210 { ac_try='test -s conftest$ac_exeext'
10211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10212 (eval $ac_try) 2>&5
10213 ac_status=$?
10214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10215 (exit $ac_status); }; }; then
10216 ac_cv_func_dlopen=yes
10217 else
10218 echo "$as_me: failed program was:" >&5
10219 sed 's/^/| /' conftest.$ac_ext >&5
10221 ac_cv_func_dlopen=no
10223 rm -f conftest.err conftest.$ac_objext \
10224 conftest$ac_exeext conftest.$ac_ext
10226 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10227 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
10228 if test $ac_cv_func_dlopen = yes; then
10229 lt_cv_dlopen="dlopen"
10230 else
10231 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10232 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10233 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10234 echo $ECHO_N "(cached) $ECHO_C" >&6
10235 else
10236 ac_check_lib_save_LIBS=$LIBS
10237 LIBS="-ldl $LIBS"
10238 if test x$gcc_no_link = xyes; then
10239 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10240 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10241 { (exit 1); exit 1; }; }
10243 cat >conftest.$ac_ext <<_ACEOF
10244 /* confdefs.h. */
10245 _ACEOF
10246 cat confdefs.h >>conftest.$ac_ext
10247 cat >>conftest.$ac_ext <<_ACEOF
10248 /* end confdefs.h. */
10250 /* Override any gcc2 internal prototype to avoid an error. */
10251 #ifdef __cplusplus
10252 extern "C"
10253 #endif
10254 /* We use char because int might match the return type of a gcc2
10255 builtin and then its argument prototype would still apply. */
10256 char dlopen ();
10258 main ()
10260 dlopen ();
10262 return 0;
10264 _ACEOF
10265 rm -f conftest.$ac_objext conftest$ac_exeext
10266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10267 (eval $ac_link) 2>conftest.er1
10268 ac_status=$?
10269 grep -v '^ *+' conftest.er1 >conftest.err
10270 rm -f conftest.er1
10271 cat conftest.err >&5
10272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10273 (exit $ac_status); } &&
10274 { ac_try='test -z "$ac_c_werror_flag"
10275 || test ! -s conftest.err'
10276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10277 (eval $ac_try) 2>&5
10278 ac_status=$?
10279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10280 (exit $ac_status); }; } &&
10281 { ac_try='test -s conftest$ac_exeext'
10282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10283 (eval $ac_try) 2>&5
10284 ac_status=$?
10285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10286 (exit $ac_status); }; }; then
10287 ac_cv_lib_dl_dlopen=yes
10288 else
10289 echo "$as_me: failed program was:" >&5
10290 sed 's/^/| /' conftest.$ac_ext >&5
10292 ac_cv_lib_dl_dlopen=no
10294 rm -f conftest.err conftest.$ac_objext \
10295 conftest$ac_exeext conftest.$ac_ext
10296 LIBS=$ac_check_lib_save_LIBS
10298 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10299 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10300 if test $ac_cv_lib_dl_dlopen = yes; then
10301 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10302 else
10303 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10304 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
10305 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10306 echo $ECHO_N "(cached) $ECHO_C" >&6
10307 else
10308 ac_check_lib_save_LIBS=$LIBS
10309 LIBS="-lsvld $LIBS"
10310 if test x$gcc_no_link = xyes; then
10311 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10312 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10313 { (exit 1); exit 1; }; }
10315 cat >conftest.$ac_ext <<_ACEOF
10316 /* confdefs.h. */
10317 _ACEOF
10318 cat confdefs.h >>conftest.$ac_ext
10319 cat >>conftest.$ac_ext <<_ACEOF
10320 /* end confdefs.h. */
10322 /* Override any gcc2 internal prototype to avoid an error. */
10323 #ifdef __cplusplus
10324 extern "C"
10325 #endif
10326 /* We use char because int might match the return type of a gcc2
10327 builtin and then its argument prototype would still apply. */
10328 char dlopen ();
10330 main ()
10332 dlopen ();
10334 return 0;
10336 _ACEOF
10337 rm -f conftest.$ac_objext conftest$ac_exeext
10338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10339 (eval $ac_link) 2>conftest.er1
10340 ac_status=$?
10341 grep -v '^ *+' conftest.er1 >conftest.err
10342 rm -f conftest.er1
10343 cat conftest.err >&5
10344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10345 (exit $ac_status); } &&
10346 { ac_try='test -z "$ac_c_werror_flag"
10347 || test ! -s conftest.err'
10348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10349 (eval $ac_try) 2>&5
10350 ac_status=$?
10351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10352 (exit $ac_status); }; } &&
10353 { ac_try='test -s conftest$ac_exeext'
10354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10355 (eval $ac_try) 2>&5
10356 ac_status=$?
10357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10358 (exit $ac_status); }; }; then
10359 ac_cv_lib_svld_dlopen=yes
10360 else
10361 echo "$as_me: failed program was:" >&5
10362 sed 's/^/| /' conftest.$ac_ext >&5
10364 ac_cv_lib_svld_dlopen=no
10366 rm -f conftest.err conftest.$ac_objext \
10367 conftest$ac_exeext conftest.$ac_ext
10368 LIBS=$ac_check_lib_save_LIBS
10370 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10371 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
10372 if test $ac_cv_lib_svld_dlopen = yes; then
10373 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10374 else
10375 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10376 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
10377 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10378 echo $ECHO_N "(cached) $ECHO_C" >&6
10379 else
10380 ac_check_lib_save_LIBS=$LIBS
10381 LIBS="-ldld $LIBS"
10382 if test x$gcc_no_link = xyes; then
10383 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10384 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10385 { (exit 1); exit 1; }; }
10387 cat >conftest.$ac_ext <<_ACEOF
10388 /* confdefs.h. */
10389 _ACEOF
10390 cat confdefs.h >>conftest.$ac_ext
10391 cat >>conftest.$ac_ext <<_ACEOF
10392 /* end confdefs.h. */
10394 /* Override any gcc2 internal prototype to avoid an error. */
10395 #ifdef __cplusplus
10396 extern "C"
10397 #endif
10398 /* We use char because int might match the return type of a gcc2
10399 builtin and then its argument prototype would still apply. */
10400 char dld_link ();
10402 main ()
10404 dld_link ();
10406 return 0;
10408 _ACEOF
10409 rm -f conftest.$ac_objext conftest$ac_exeext
10410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10411 (eval $ac_link) 2>conftest.er1
10412 ac_status=$?
10413 grep -v '^ *+' conftest.er1 >conftest.err
10414 rm -f conftest.er1
10415 cat conftest.err >&5
10416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10417 (exit $ac_status); } &&
10418 { ac_try='test -z "$ac_c_werror_flag"
10419 || test ! -s conftest.err'
10420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10421 (eval $ac_try) 2>&5
10422 ac_status=$?
10423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10424 (exit $ac_status); }; } &&
10425 { ac_try='test -s conftest$ac_exeext'
10426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10427 (eval $ac_try) 2>&5
10428 ac_status=$?
10429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10430 (exit $ac_status); }; }; then
10431 ac_cv_lib_dld_dld_link=yes
10432 else
10433 echo "$as_me: failed program was:" >&5
10434 sed 's/^/| /' conftest.$ac_ext >&5
10436 ac_cv_lib_dld_dld_link=no
10438 rm -f conftest.err conftest.$ac_objext \
10439 conftest$ac_exeext conftest.$ac_ext
10440 LIBS=$ac_check_lib_save_LIBS
10442 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10443 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
10444 if test $ac_cv_lib_dld_dld_link = yes; then
10445 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
10464 esac
10466 if test "x$lt_cv_dlopen" != xno; then
10467 enable_dlopen=yes
10468 else
10469 enable_dlopen=no
10472 case $lt_cv_dlopen in
10473 dlopen)
10474 save_CPPFLAGS="$CPPFLAGS"
10475 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10477 save_LDFLAGS="$LDFLAGS"
10478 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10480 save_LIBS="$LIBS"
10481 LIBS="$lt_cv_dlopen_libs $LIBS"
10483 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10484 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
10485 if test "${lt_cv_dlopen_self+set}" = set; then
10486 echo $ECHO_N "(cached) $ECHO_C" >&6
10487 else
10488 if test "$cross_compiling" = yes; then :
10489 lt_cv_dlopen_self=cross
10490 else
10491 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10492 lt_status=$lt_dlunknown
10493 cat > conftest.$ac_ext <<_LT_EOF
10494 #line 10494 "configure"
10495 #include "confdefs.h"
10497 #if HAVE_DLFCN_H
10498 #include <dlfcn.h>
10499 #endif
10501 #include <stdio.h>
10503 #ifdef RTLD_GLOBAL
10504 # define LT_DLGLOBAL RTLD_GLOBAL
10505 #else
10506 # ifdef DL_GLOBAL
10507 # define LT_DLGLOBAL DL_GLOBAL
10508 # else
10509 # define LT_DLGLOBAL 0
10510 # endif
10511 #endif
10513 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10514 find out it does not work in some platform. */
10515 #ifndef LT_DLLAZY_OR_NOW
10516 # ifdef RTLD_LAZY
10517 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10518 # else
10519 # ifdef DL_LAZY
10520 # define LT_DLLAZY_OR_NOW DL_LAZY
10521 # else
10522 # ifdef RTLD_NOW
10523 # define LT_DLLAZY_OR_NOW RTLD_NOW
10524 # else
10525 # ifdef DL_NOW
10526 # define LT_DLLAZY_OR_NOW DL_NOW
10527 # else
10528 # define LT_DLLAZY_OR_NOW 0
10529 # endif
10530 # endif
10531 # endif
10532 # endif
10533 #endif
10535 #ifdef __cplusplus
10536 extern "C" void exit (int);
10537 #endif
10539 void fnord() { int i=42;}
10540 int main ()
10542 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10543 int status = $lt_dlunknown;
10545 if (self)
10547 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10548 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10549 /* dlclose (self); */
10551 else
10552 puts (dlerror ());
10554 exit (status);
10556 _LT_EOF
10557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10558 (eval $ac_link) 2>&5
10559 ac_status=$?
10560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10561 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10562 (./conftest; exit; ) >&5 2>/dev/null
10563 lt_status=$?
10564 case x$lt_status in
10565 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10566 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10567 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10568 esac
10569 else :
10570 # compilation failed
10571 lt_cv_dlopen_self=no
10574 rm -fr conftest*
10578 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10579 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
10581 if test "x$lt_cv_dlopen_self" = xyes; then
10582 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10583 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10584 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
10585 if test "${lt_cv_dlopen_self_static+set}" = set; then
10586 echo $ECHO_N "(cached) $ECHO_C" >&6
10587 else
10588 if test "$cross_compiling" = yes; then :
10589 lt_cv_dlopen_self_static=cross
10590 else
10591 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10592 lt_status=$lt_dlunknown
10593 cat > conftest.$ac_ext <<_LT_EOF
10594 #line 10594 "configure"
10595 #include "confdefs.h"
10597 #if HAVE_DLFCN_H
10598 #include <dlfcn.h>
10599 #endif
10601 #include <stdio.h>
10603 #ifdef RTLD_GLOBAL
10604 # define LT_DLGLOBAL RTLD_GLOBAL
10605 #else
10606 # ifdef DL_GLOBAL
10607 # define LT_DLGLOBAL DL_GLOBAL
10608 # else
10609 # define LT_DLGLOBAL 0
10610 # endif
10611 #endif
10613 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10614 find out it does not work in some platform. */
10615 #ifndef LT_DLLAZY_OR_NOW
10616 # ifdef RTLD_LAZY
10617 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10618 # else
10619 # ifdef DL_LAZY
10620 # define LT_DLLAZY_OR_NOW DL_LAZY
10621 # else
10622 # ifdef RTLD_NOW
10623 # define LT_DLLAZY_OR_NOW RTLD_NOW
10624 # else
10625 # ifdef DL_NOW
10626 # define LT_DLLAZY_OR_NOW DL_NOW
10627 # else
10628 # define LT_DLLAZY_OR_NOW 0
10629 # endif
10630 # endif
10631 # endif
10632 # endif
10633 #endif
10635 #ifdef __cplusplus
10636 extern "C" void exit (int);
10637 #endif
10639 void fnord() { int i=42;}
10640 int main ()
10642 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10643 int status = $lt_dlunknown;
10645 if (self)
10647 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10648 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10649 /* dlclose (self); */
10651 else
10652 puts (dlerror ());
10654 exit (status);
10656 _LT_EOF
10657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10658 (eval $ac_link) 2>&5
10659 ac_status=$?
10660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10661 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10662 (./conftest; exit; ) >&5 2>/dev/null
10663 lt_status=$?
10664 case x$lt_status in
10665 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10666 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10667 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10668 esac
10669 else :
10670 # compilation failed
10671 lt_cv_dlopen_self_static=no
10674 rm -fr conftest*
10678 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10679 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
10682 CPPFLAGS="$save_CPPFLAGS"
10683 LDFLAGS="$save_LDFLAGS"
10684 LIBS="$save_LIBS"
10686 esac
10688 case $lt_cv_dlopen_self in
10689 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10690 *) enable_dlopen_self=unknown ;;
10691 esac
10693 case $lt_cv_dlopen_self_static in
10694 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10695 *) enable_dlopen_self_static=unknown ;;
10696 esac
10715 striplib=
10716 old_striplib=
10717 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10718 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
10719 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10720 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10721 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10722 echo "$as_me:$LINENO: result: yes" >&5
10723 echo "${ECHO_T}yes" >&6
10724 else
10725 # FIXME - insert some real tests, host_os isn't really good enough
10726 case $host_os in
10727 darwin*)
10728 if test -n "$STRIP" ; then
10729 striplib="$STRIP -x"
10730 old_striplib="$STRIP -S"
10731 echo "$as_me:$LINENO: result: yes" >&5
10732 echo "${ECHO_T}yes" >&6
10733 else
10734 echo "$as_me:$LINENO: result: no" >&5
10735 echo "${ECHO_T}no" >&6
10739 echo "$as_me:$LINENO: result: no" >&5
10740 echo "${ECHO_T}no" >&6
10742 esac
10756 # Report which library types will actually be built
10757 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10758 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10759 echo "$as_me:$LINENO: result: $can_build_shared" >&5
10760 echo "${ECHO_T}$can_build_shared" >&6
10762 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10763 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10764 test "$can_build_shared" = "no" && enable_shared=no
10766 # On AIX, shared libraries and static libraries use the same namespace, and
10767 # are all built from PIC.
10768 case $host_os in
10769 aix3*)
10770 test "$enable_shared" = yes && enable_static=no
10771 if test -n "$RANLIB"; then
10772 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10773 postinstall_cmds='$RANLIB $lib'
10777 aix[4-9]*)
10778 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10779 test "$enable_shared" = yes && enable_static=no
10782 esac
10783 echo "$as_me:$LINENO: result: $enable_shared" >&5
10784 echo "${ECHO_T}$enable_shared" >&6
10786 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10787 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10788 # Make sure either enable_shared or enable_static is yes.
10789 test "$enable_shared" = yes || enable_static=yes
10790 echo "$as_me:$LINENO: result: $enable_static" >&5
10791 echo "${ECHO_T}$enable_static" >&6
10797 ac_ext=c
10798 ac_cpp='$CPP $CPPFLAGS'
10799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10803 CC="$lt_save_CC"
10806 ac_ext=cc
10807 ac_cpp='$CXXCPP $CPPFLAGS'
10808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10812 archive_cmds_need_lc_CXX=no
10813 allow_undefined_flag_CXX=
10814 always_export_symbols_CXX=no
10815 archive_expsym_cmds_CXX=
10816 compiler_needs_object_CXX=no
10817 export_dynamic_flag_spec_CXX=
10818 hardcode_direct_CXX=no
10819 hardcode_direct_absolute_CXX=no
10820 hardcode_libdir_flag_spec_CXX=
10821 hardcode_libdir_flag_spec_ld_CXX=
10822 hardcode_libdir_separator_CXX=
10823 hardcode_minus_L_CXX=no
10824 hardcode_shlibpath_var_CXX=unsupported
10825 hardcode_automatic_CXX=no
10826 inherit_rpath_CXX=no
10827 module_cmds_CXX=
10828 module_expsym_cmds_CXX=
10829 link_all_deplibs_CXX=unknown
10830 old_archive_cmds_CXX=$old_archive_cmds
10831 no_undefined_flag_CXX=
10832 whole_archive_flag_spec_CXX=
10833 enable_shared_with_static_runtimes_CXX=no
10835 # Source file extension for C++ test sources.
10836 ac_ext=cpp
10838 # Object file extension for compiled C++ test sources.
10839 objext=o
10840 objext_CXX=$objext
10842 # No sense in running all these tests if we already determined that
10843 # the CXX compiler isn't working. Some variables (like enable_shared)
10844 # are currently assumed to apply to all compilers on this platform,
10845 # and will be corrupted by setting them based on a non-working compiler.
10846 if test "$_lt_caught_CXX_error" != yes; then
10847 # Code to be used in simple compile tests
10848 lt_simple_compile_test_code="int some_variable = 0;"
10850 # Code to be used in simple link tests
10851 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
10853 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10860 # If no C compiler was specified, use CC.
10861 LTCC=${LTCC-"$CC"}
10863 # If no C compiler flags were specified, use CFLAGS.
10864 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10866 # Allow CC to be a program name with arguments.
10867 compiler=$CC
10870 # save warnings/boilerplate of simple test code
10871 ac_outfile=conftest.$ac_objext
10872 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10873 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10874 _lt_compiler_boilerplate=`cat conftest.err`
10875 $RM conftest*
10877 ac_outfile=conftest.$ac_objext
10878 echo "$lt_simple_link_test_code" >conftest.$ac_ext
10879 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10880 _lt_linker_boilerplate=`cat conftest.err`
10881 $RM conftest*
10884 # Allow CC to be a program name with arguments.
10885 lt_save_CC=$CC
10886 lt_save_LD=$LD
10887 lt_save_GCC=$GCC
10888 GCC=$GXX
10889 lt_save_with_gnu_ld=$with_gnu_ld
10890 lt_save_path_LD=$lt_cv_path_LD
10891 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10892 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
10893 else
10894 $as_unset lt_cv_prog_gnu_ld
10896 if test -n "${lt_cv_path_LDCXX+set}"; then
10897 lt_cv_path_LD=$lt_cv_path_LDCXX
10898 else
10899 $as_unset lt_cv_path_LD
10901 test -z "${LDCXX+set}" || LD=$LDCXX
10902 CC=${CXX-"c++"}
10903 compiler=$CC
10904 compiler_CXX=$CC
10905 for cc_temp in $compiler""; do
10906 case $cc_temp in
10907 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10908 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10909 \-*) ;;
10910 *) break;;
10911 esac
10912 done
10913 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10916 if test -n "$compiler"; then
10917 # We don't want -fno-exception when compiling C++ code, so set the
10918 # no_builtin_flag separately
10919 if test "$GXX" = yes; then
10920 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
10921 else
10922 lt_prog_compiler_no_builtin_flag_CXX=
10925 if test "$GXX" = yes; then
10926 # Set up default GNU C++ configuration
10930 # Check whether --with-gnu-ld or --without-gnu-ld was given.
10931 if test "${with_gnu_ld+set}" = set; then
10932 withval="$with_gnu_ld"
10933 test "$withval" = no || with_gnu_ld=yes
10934 else
10935 with_gnu_ld=no
10937 ac_prog=ld
10938 if test "$GCC" = yes; then
10939 # Check if gcc -print-prog-name=ld gives a path.
10940 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10941 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
10942 case $host in
10943 *-*-mingw*)
10944 # gcc leaves a trailing carriage return which upsets mingw
10945 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10947 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
10948 esac
10949 case $ac_prog in
10950 # Accept absolute paths.
10951 [\\/]* | ?:[\\/]*)
10952 re_direlt='/[^/][^/]*/\.\./'
10953 # Canonicalize the pathname of ld
10954 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
10955 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
10956 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
10957 done
10958 test -z "$LD" && LD="$ac_prog"
10961 # If it fails, then pretend we aren't using GCC.
10962 ac_prog=ld
10965 # If it is relative, then search for the first ld in PATH.
10966 with_gnu_ld=unknown
10968 esac
10969 elif test "$with_gnu_ld" = yes; then
10970 echo "$as_me:$LINENO: checking for GNU ld" >&5
10971 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
10972 else
10973 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10974 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
10976 if test "${lt_cv_path_LD+set}" = set; then
10977 echo $ECHO_N "(cached) $ECHO_C" >&6
10978 else
10979 if test -z "$LD"; then
10980 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10981 for ac_dir in $PATH; do
10982 IFS="$lt_save_ifs"
10983 test -z "$ac_dir" && ac_dir=.
10984 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
10985 lt_cv_path_LD="$ac_dir/$ac_prog"
10986 # Check to see if the program is GNU ld. I'd rather use --version,
10987 # but apparently some variants of GNU ld only accept -v.
10988 # Break only if it was the GNU/non-GNU ld that we prefer.
10989 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
10990 *GNU* | *'with BFD'*)
10991 test "$with_gnu_ld" != no && break
10994 test "$with_gnu_ld" != yes && break
10996 esac
10998 done
10999 IFS="$lt_save_ifs"
11000 else
11001 lt_cv_path_LD="$LD" # Let the user override the test with a path.
11005 LD="$lt_cv_path_LD"
11006 if test -n "$LD"; then
11007 echo "$as_me:$LINENO: result: $LD" >&5
11008 echo "${ECHO_T}$LD" >&6
11009 else
11010 echo "$as_me:$LINENO: result: no" >&5
11011 echo "${ECHO_T}no" >&6
11013 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11014 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11015 { (exit 1); exit 1; }; }
11016 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11017 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
11018 if test "${lt_cv_prog_gnu_ld+set}" = set; then
11019 echo $ECHO_N "(cached) $ECHO_C" >&6
11020 else
11021 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11022 case `$LD -v 2>&1 </dev/null` in
11023 *GNU* | *'with BFD'*)
11024 lt_cv_prog_gnu_ld=yes
11027 lt_cv_prog_gnu_ld=no
11029 esac
11031 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11032 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
11033 with_gnu_ld=$lt_cv_prog_gnu_ld
11041 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11042 # archiving commands below assume that GNU ld is being used.
11043 if test "$with_gnu_ld" = yes; then
11044 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11045 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'
11047 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11048 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11050 # If archive_cmds runs LD, not CC, wlarc should be empty
11051 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11052 # investigate it a little bit more. (MM)
11053 wlarc='${wl}'
11055 # ancient GNU ld didn't support --whole-archive et. al.
11056 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
11057 $GREP 'no-whole-archive' > /dev/null; then
11058 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11059 else
11060 whole_archive_flag_spec_CXX=
11062 else
11063 with_gnu_ld=no
11064 wlarc=
11066 # A generic and very simple default shared library creation
11067 # command for GNU C++ for the case where it uses the native
11068 # linker, instead of GNU ld. If possible, this setting should
11069 # overridden to take advantage of the native linker features on
11070 # the platform it is being used on.
11071 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11074 # Commands to make compiler produce verbose output that lists
11075 # what "hidden" libraries, object files and flags are used when
11076 # linking a shared library.
11077 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11079 else
11080 GXX=no
11081 with_gnu_ld=no
11082 wlarc=
11085 # PORTME: fill in a description of your system's C++ link characteristics
11086 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11087 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11088 ld_shlibs_CXX=yes
11089 case $host_os in
11090 aix3*)
11091 # FIXME: insert proper C++ library support
11092 ld_shlibs_CXX=no
11094 aix[4-9]*)
11095 if test "$host_cpu" = ia64; then
11096 # On IA64, the linker does run time linking by default, so we don't
11097 # have to do anything special.
11098 aix_use_runtimelinking=no
11099 exp_sym_flag='-Bexport'
11100 no_entry_flag=""
11101 else
11102 aix_use_runtimelinking=no
11104 # Test if we are trying to use run time linking or normal
11105 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11106 # need to do runtime linking.
11107 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11108 for ld_flag in $LDFLAGS; do
11109 case $ld_flag in
11110 *-brtl*)
11111 aix_use_runtimelinking=yes
11112 break
11114 esac
11115 done
11117 esac
11119 exp_sym_flag='-bexport'
11120 no_entry_flag='-bnoentry'
11123 # When large executables or shared objects are built, AIX ld can
11124 # have problems creating the table of contents. If linking a library
11125 # or program results in "error TOC overflow" add -mminimal-toc to
11126 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11127 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11129 archive_cmds_CXX=''
11130 hardcode_direct_CXX=yes
11131 hardcode_direct_absolute_CXX=yes
11132 hardcode_libdir_separator_CXX=':'
11133 link_all_deplibs_CXX=yes
11134 file_list_spec_CXX='${wl}-f,'
11136 if test "$GXX" = yes; then
11137 case $host_os in aix4.[012]|aix4.[012].*)
11138 # We only want to do this on AIX 4.2 and lower, the check
11139 # below for broken collect2 doesn't work under 4.3+
11140 collect2name=`${CC} -print-prog-name=collect2`
11141 if test -f "$collect2name" &&
11142 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11143 then
11144 # We have reworked collect2
11146 else
11147 # We have old collect2
11148 hardcode_direct_CXX=unsupported
11149 # It fails to find uninstalled libraries when the uninstalled
11150 # path is not listed in the libpath. Setting hardcode_minus_L
11151 # to unsupported forces relinking
11152 hardcode_minus_L_CXX=yes
11153 hardcode_libdir_flag_spec_CXX='-L$libdir'
11154 hardcode_libdir_separator_CXX=
11156 esac
11157 shared_flag='-shared'
11158 if test "$aix_use_runtimelinking" = yes; then
11159 shared_flag="$shared_flag "'${wl}-G'
11161 else
11162 # not using gcc
11163 if test "$host_cpu" = ia64; then
11164 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11165 # chokes on -Wl,-G. The following line is correct:
11166 shared_flag='-G'
11167 else
11168 if test "$aix_use_runtimelinking" = yes; then
11169 shared_flag='${wl}-G'
11170 else
11171 shared_flag='${wl}-bM:SRE'
11176 # It seems that -bexpall does not export symbols beginning with
11177 # underscore (_), so it is better to generate a list of symbols to
11178 # export.
11179 always_export_symbols_CXX=yes
11180 if test "$aix_use_runtimelinking" = yes; then
11181 # Warning - without using the other runtime loading flags (-brtl),
11182 # -berok will link without error, but may produce a broken library.
11183 allow_undefined_flag_CXX='-berok'
11184 # Determine the default libpath from the value encoded in an empty
11185 # executable.
11186 if test x$gcc_no_link = xyes; then
11187 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11188 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11189 { (exit 1); exit 1; }; }
11191 cat >conftest.$ac_ext <<_ACEOF
11192 /* confdefs.h. */
11193 _ACEOF
11194 cat confdefs.h >>conftest.$ac_ext
11195 cat >>conftest.$ac_ext <<_ACEOF
11196 /* end confdefs.h. */
11199 main ()
11203 return 0;
11205 _ACEOF
11206 rm -f conftest.$ac_objext conftest$ac_exeext
11207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11208 (eval $ac_link) 2>conftest.er1
11209 ac_status=$?
11210 grep -v '^ *+' conftest.er1 >conftest.err
11211 rm -f conftest.er1
11212 cat conftest.err >&5
11213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11214 (exit $ac_status); } &&
11215 { ac_try='test -z "$ac_cxx_werror_flag"
11216 || test ! -s conftest.err'
11217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11218 (eval $ac_try) 2>&5
11219 ac_status=$?
11220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11221 (exit $ac_status); }; } &&
11222 { ac_try='test -s conftest$ac_exeext'
11223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11224 (eval $ac_try) 2>&5
11225 ac_status=$?
11226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11227 (exit $ac_status); }; }; then
11229 lt_aix_libpath_sed='
11230 /Import File Strings/,/^$/ {
11231 /^0/ {
11232 s/^0 *\(.*\)$/\1/
11236 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11237 # Check for a 64-bit object if we didn't find anything.
11238 if test -z "$aix_libpath"; then
11239 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11241 else
11242 echo "$as_me: failed program was:" >&5
11243 sed 's/^/| /' conftest.$ac_ext >&5
11246 rm -f conftest.err conftest.$ac_objext \
11247 conftest$ac_exeext conftest.$ac_ext
11248 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11250 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11252 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"
11253 else
11254 if test "$host_cpu" = ia64; then
11255 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
11256 allow_undefined_flag_CXX="-z nodefs"
11257 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"
11258 else
11259 # Determine the default libpath from the value encoded in an
11260 # empty executable.
11261 if test x$gcc_no_link = xyes; then
11262 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11263 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11264 { (exit 1); exit 1; }; }
11266 cat >conftest.$ac_ext <<_ACEOF
11267 /* confdefs.h. */
11268 _ACEOF
11269 cat confdefs.h >>conftest.$ac_ext
11270 cat >>conftest.$ac_ext <<_ACEOF
11271 /* end confdefs.h. */
11274 main ()
11278 return 0;
11280 _ACEOF
11281 rm -f conftest.$ac_objext conftest$ac_exeext
11282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11283 (eval $ac_link) 2>conftest.er1
11284 ac_status=$?
11285 grep -v '^ *+' conftest.er1 >conftest.err
11286 rm -f conftest.er1
11287 cat conftest.err >&5
11288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11289 (exit $ac_status); } &&
11290 { ac_try='test -z "$ac_cxx_werror_flag"
11291 || test ! -s conftest.err'
11292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11293 (eval $ac_try) 2>&5
11294 ac_status=$?
11295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11296 (exit $ac_status); }; } &&
11297 { ac_try='test -s conftest$ac_exeext'
11298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11299 (eval $ac_try) 2>&5
11300 ac_status=$?
11301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11302 (exit $ac_status); }; }; then
11304 lt_aix_libpath_sed='
11305 /Import File Strings/,/^$/ {
11306 /^0/ {
11307 s/^0 *\(.*\)$/\1/
11311 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11312 # Check for a 64-bit object if we didn't find anything.
11313 if test -z "$aix_libpath"; then
11314 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11316 else
11317 echo "$as_me: failed program was:" >&5
11318 sed 's/^/| /' conftest.$ac_ext >&5
11321 rm -f conftest.err conftest.$ac_objext \
11322 conftest$ac_exeext conftest.$ac_ext
11323 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11325 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11326 # Warning - without using the other run time loading flags,
11327 # -berok will link without error, but may produce a broken library.
11328 no_undefined_flag_CXX=' ${wl}-bernotok'
11329 allow_undefined_flag_CXX=' ${wl}-berok'
11330 # Exported symbols can be pulled into shared objects from archives
11331 whole_archive_flag_spec_CXX='$convenience'
11332 archive_cmds_need_lc_CXX=yes
11333 # This is similar to how AIX traditionally builds its shared
11334 # libraries.
11335 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'
11340 beos*)
11341 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11342 allow_undefined_flag_CXX=unsupported
11343 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11344 # support --undefined. This deserves some investigation. FIXME
11345 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11346 else
11347 ld_shlibs_CXX=no
11351 chorus*)
11352 case $cc_basename in
11354 # FIXME: insert proper C++ library support
11355 ld_shlibs_CXX=no
11357 esac
11360 cygwin* | mingw* | pw32*)
11361 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11362 # as there is no search path for DLLs.
11363 hardcode_libdir_flag_spec_CXX='-L$libdir'
11364 allow_undefined_flag_CXX=unsupported
11365 always_export_symbols_CXX=no
11366 enable_shared_with_static_runtimes_CXX=yes
11368 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11369 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'
11370 # If the export-symbols file already is a .def file (1st line
11371 # is EXPORTS), use it as is; otherwise, prepend...
11372 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11373 cp $export_symbols $output_objdir/$soname.def;
11374 else
11375 echo EXPORTS > $output_objdir/$soname.def;
11376 cat $export_symbols >> $output_objdir/$soname.def;
11378 $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'
11379 else
11380 ld_shlibs_CXX=no
11383 darwin* | rhapsody*)
11384 case $host_os in
11385 rhapsody* | darwin1.[012])
11386 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11388 *) # Darwin 1.3 on
11389 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
11390 10.[012])
11391 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11393 10.*)
11394 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11396 esac
11398 esac
11399 archive_cmds_need_lc_CXX=no
11400 hardcode_direct_CXX=no
11401 hardcode_automatic_CXX=yes
11402 hardcode_shlibpath_var_CXX=unsupported
11403 whole_archive_flag_spec_CXX=''
11404 link_all_deplibs_CXX=yes
11406 if test "$GXX" = yes ; then
11407 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
11408 echo $ECHO_N "(cached) $ECHO_C" >&6
11409 else
11410 lt_cv_apple_cc_single_mod=no
11411 if test -z "${LT_MULTI_MODULE}"; then
11412 # By default we will add the -single_module flag. You can override
11413 # by either setting the environment variable LT_MULTI_MODULE
11414 # non-empty at configure time, or by adding -multi-module to the
11415 # link flags.
11416 echo "int foo(void){return 1;}" > conftest.c
11417 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
11418 -dynamiclib ${wl}-single_module conftest.c
11419 if test -f libconftest.dylib; then
11420 lt_cv_apple_cc_single_mod=yes
11421 rm libconftest.dylib
11423 rm conftest.$ac_ext
11427 output_verbose_link_cmd=echo
11428 if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
11429 archive_cmds_CXX='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11430 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}'
11431 else
11432 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'
11433 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}'
11435 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11436 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}'
11437 else
11438 case $cc_basename in
11439 xlc*)
11440 output_verbose_link_cmd=echo
11441 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'
11442 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11443 # Don't fix this by using the ld -exported_symbols_list flag,
11444 # it doesn't exist in older darwin lds
11445 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}'
11446 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}'
11449 ld_shlibs_CXX=no
11451 esac
11455 dgux*)
11456 case $cc_basename in
11457 ec++*)
11458 # FIXME: insert proper C++ library support
11459 ld_shlibs_CXX=no
11461 ghcx*)
11462 # Green Hills C++ Compiler
11463 # FIXME: insert proper C++ library support
11464 ld_shlibs_CXX=no
11467 # FIXME: insert proper C++ library support
11468 ld_shlibs_CXX=no
11470 esac
11473 freebsd[12]*)
11474 # C++ shared libraries reported to be fairly broken before
11475 # switch to ELF
11476 ld_shlibs_CXX=no
11479 freebsd-elf*)
11480 archive_cmds_need_lc_CXX=no
11483 freebsd* | dragonfly*)
11484 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11485 # conventions
11486 ld_shlibs_CXX=yes
11489 gnu*)
11492 hpux9*)
11493 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11494 hardcode_libdir_separator_CXX=:
11495 export_dynamic_flag_spec_CXX='${wl}-E'
11496 hardcode_direct_CXX=yes
11497 hardcode_minus_L_CXX=yes # Not in the search PATH,
11498 # but as the default
11499 # location of the library.
11501 case $cc_basename in
11502 CC*)
11503 # FIXME: insert proper C++ library support
11504 ld_shlibs_CXX=no
11506 aCC*)
11507 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'
11508 # Commands to make compiler produce verbose output that lists
11509 # what "hidden" libraries, object files and flags are used when
11510 # linking a shared library.
11512 # There doesn't appear to be a way to prevent this compiler from
11513 # explicitly linking system object files so we need to strip them
11514 # from the output so that they don't get included in the library
11515 # dependencies.
11516 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'
11519 if test "$GXX" = yes; then
11520 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'
11521 else
11522 # FIXME: insert proper C++ library support
11523 ld_shlibs_CXX=no
11526 esac
11529 hpux10*|hpux11*)
11530 if test $with_gnu_ld = no; then
11531 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11532 hardcode_libdir_separator_CXX=:
11534 case $host_cpu in
11535 hppa*64*|ia64*)
11538 export_dynamic_flag_spec_CXX='${wl}-E'
11540 esac
11542 case $host_cpu in
11543 hppa*64*|ia64*)
11544 hardcode_direct_CXX=no
11545 hardcode_shlibpath_var_CXX=no
11548 hardcode_direct_CXX=yes
11549 hardcode_direct_absolute_CXX=yes
11550 hardcode_minus_L_CXX=yes # Not in the search PATH,
11551 # but as the default
11552 # location of the library.
11554 esac
11556 case $cc_basename in
11557 CC*)
11558 # FIXME: insert proper C++ library support
11559 ld_shlibs_CXX=no
11561 aCC*)
11562 case $host_cpu in
11563 hppa*64*)
11564 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11566 ia64*)
11567 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11570 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11572 esac
11573 # Commands to make compiler produce verbose output that lists
11574 # what "hidden" libraries, object files and flags are used when
11575 # linking a shared library.
11577 # There doesn't appear to be a way to prevent this compiler from
11578 # explicitly linking system object files so we need to strip them
11579 # from the output so that they don't get included in the library
11580 # dependencies.
11581 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'
11584 if test "$GXX" = yes; then
11585 if test $with_gnu_ld = no; then
11586 case $host_cpu in
11587 hppa*64*)
11588 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11590 ia64*)
11591 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11594 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'
11596 esac
11598 else
11599 # FIXME: insert proper C++ library support
11600 ld_shlibs_CXX=no
11603 esac
11606 interix[3-9]*)
11607 hardcode_direct_CXX=no
11608 hardcode_shlibpath_var_CXX=no
11609 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11610 export_dynamic_flag_spec_CXX='${wl}-E'
11611 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11612 # Instead, shared libraries are loaded at an image base (0x10000000 by
11613 # default) and relocated if they conflict, which is a slow very memory
11614 # consuming and fragmenting process. To avoid this, we pick a random,
11615 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11616 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11617 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'
11618 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'
11620 irix5* | irix6*)
11621 case $cc_basename in
11622 CC*)
11623 # SGI C++
11624 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'
11626 # Archives containing C++ object files must be created using
11627 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11628 # necessary to make sure instantiated templates are included
11629 # in the archive.
11630 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11633 if test "$GXX" = yes; then
11634 if test "$with_gnu_ld" = no; then
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` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11636 else
11637 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'
11640 link_all_deplibs_CXX=yes
11642 esac
11643 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11644 hardcode_libdir_separator_CXX=:
11645 inherit_rpath_CXX=yes
11648 linux* | k*bsd*-gnu)
11649 case $cc_basename in
11650 KCC*)
11651 # Kuck and Associates, Inc. (KAI) C++ Compiler
11653 # KCC will only create a shared library if the output file
11654 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11655 # to its proper name (with version) after linking.
11656 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'
11657 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'
11658 # Commands to make compiler produce verbose output that lists
11659 # what "hidden" libraries, object files and flags are used when
11660 # linking a shared library.
11662 # There doesn't appear to be a way to prevent this compiler from
11663 # explicitly linking system object files so we need to strip them
11664 # from the output so that they don't get included in the library
11665 # dependencies.
11666 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'
11668 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11669 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11671 # Archives containing C++ object files must be created using
11672 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11673 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
11675 icpc* | ecpc* )
11676 # Intel C++
11677 with_gnu_ld=yes
11678 # version 8.0 and above of icpc choke on multiply defined symbols
11679 # if we add $predep_objects and $postdep_objects, however 7.1 and
11680 # earlier do not add the objects themselves.
11681 case `$CC -V 2>&1` in
11682 *"Version 7."*)
11683 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11684 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'
11686 *) # Version 8.0 or newer
11687 tmp_idyn=
11688 case $host_cpu in
11689 ia64*) tmp_idyn=' -i_dynamic';;
11690 esac
11691 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11692 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'
11694 esac
11695 archive_cmds_need_lc_CXX=no
11696 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11697 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11698 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11700 pgCC*)
11701 # Portland Group C++ compiler
11702 case `$CC -V` in
11703 *pgCC\ [1-5]*)
11704 prelink_cmds_CXX='tpldir=Template.dir~
11705 rm -rf $tpldir~
11706 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
11707 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
11708 old_archive_cmds_CXX='tpldir=Template.dir~
11709 rm -rf $tpldir~
11710 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
11711 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
11712 $RANLIB $oldlib'
11713 archive_cmds_CXX='tpldir=Template.dir~
11714 rm -rf $tpldir~
11715 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
11716 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11717 archive_expsym_cmds_CXX='tpldir=Template.dir~
11718 rm -rf $tpldir~
11719 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
11720 $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'
11722 *) # Version 6 will use weak symbols
11723 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11724 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'
11726 esac
11728 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11729 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11730 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'
11732 cxx*)
11733 # Compaq C++
11734 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11735 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'
11737 runpath_var=LD_RUN_PATH
11738 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11739 hardcode_libdir_separator_CXX=:
11741 # Commands to make compiler produce verbose output that lists
11742 # what "hidden" libraries, object files and flags are used when
11743 # linking a shared library.
11745 # There doesn't appear to be a way to prevent this compiler from
11746 # explicitly linking system object files so we need to strip them
11747 # from the output so that they don't get included in the library
11748 # dependencies.
11749 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'
11752 case `$CC -V 2>&1 | sed 5q` in
11753 *Sun\ C*)
11754 # Sun C++ 5.9
11755 no_undefined_flag_CXX=' -zdefs'
11756 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11757 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'
11758 hardcode_libdir_flag_spec_CXX='-R$libdir'
11759 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'
11760 compiler_needs_object_CXX=yes
11762 # Not sure whether something based on
11763 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
11764 # would be better.
11765 output_verbose_link_cmd='echo'
11767 # Archives containing C++ object files must be created using
11768 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11769 # necessary to make sure instantiated templates are included
11770 # in the archive.
11771 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
11773 esac
11775 esac
11778 lynxos*)
11779 # FIXME: insert proper C++ library support
11780 ld_shlibs_CXX=no
11783 m88k*)
11784 # FIXME: insert proper C++ library support
11785 ld_shlibs_CXX=no
11788 mvs*)
11789 case $cc_basename in
11790 cxx*)
11791 # FIXME: insert proper C++ library support
11792 ld_shlibs_CXX=no
11795 # FIXME: insert proper C++ library support
11796 ld_shlibs_CXX=no
11798 esac
11801 netbsd*)
11802 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11803 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11804 wlarc=
11805 hardcode_libdir_flag_spec_CXX='-R$libdir'
11806 hardcode_direct_CXX=yes
11807 hardcode_shlibpath_var_CXX=no
11809 # Workaround some broken pre-1.5 toolchains
11810 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11813 *nto* | *qnx*)
11814 ld_shlibs_CXX=yes
11817 openbsd2*)
11818 # C++ shared libraries are fairly broken
11819 ld_shlibs_CXX=no
11822 openbsd*)
11823 hardcode_direct_CXX=yes
11824 hardcode_shlibpath_var_CXX=no
11825 hardcode_direct_absolute_CXX=yes
11826 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11827 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11828 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11829 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11830 export_dynamic_flag_spec_CXX='${wl}-E'
11831 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11833 output_verbose_link_cmd=echo
11836 osf3* | osf4* | osf5*)
11837 case $cc_basename in
11838 KCC*)
11839 # Kuck and Associates, Inc. (KAI) C++ Compiler
11841 # KCC will only create a shared library if the output file
11842 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11843 # to its proper name (with version) after linking.
11844 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'
11846 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11847 hardcode_libdir_separator_CXX=:
11849 # Archives containing C++ object files must be created using
11850 # the KAI C++ compiler.
11851 case $host in
11852 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
11853 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
11854 esac
11856 RCC*)
11857 # Rational C++ 2.4.1
11858 # FIXME: insert proper C++ library support
11859 ld_shlibs_CXX=no
11861 cxx*)
11862 case $host in
11863 osf3*)
11864 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11865 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'
11866 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11869 allow_undefined_flag_CXX=' -expect_unresolved \*'
11870 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'
11871 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11872 echo "-hidden">> $lib.exp~
11873 $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~
11874 $RM $lib.exp'
11875 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11877 esac
11879 hardcode_libdir_separator_CXX=:
11881 # Commands to make compiler produce verbose output that lists
11882 # what "hidden" libraries, object files and flags are used when
11883 # linking a shared library.
11885 # There doesn't appear to be a way to prevent this compiler from
11886 # explicitly linking system object files so we need to strip them
11887 # from the output so that they don't get included in the library
11888 # dependencies.
11889 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'
11892 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11893 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11894 case $host in
11895 osf3*)
11896 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'
11899 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'
11901 esac
11903 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11904 hardcode_libdir_separator_CXX=:
11906 # Commands to make compiler produce verbose output that lists
11907 # what "hidden" libraries, object files and flags are used when
11908 # linking a shared library.
11909 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11911 else
11912 # FIXME: insert proper C++ library support
11913 ld_shlibs_CXX=no
11916 esac
11919 psos*)
11920 # FIXME: insert proper C++ library support
11921 ld_shlibs_CXX=no
11924 sunos4*)
11925 case $cc_basename in
11926 CC*)
11927 # Sun C++ 4.x
11928 # FIXME: insert proper C++ library support
11929 ld_shlibs_CXX=no
11931 lcc*)
11932 # Lucid
11933 # FIXME: insert proper C++ library support
11934 ld_shlibs_CXX=no
11937 # FIXME: insert proper C++ library support
11938 ld_shlibs_CXX=no
11940 esac
11943 solaris*)
11944 case $cc_basename in
11945 CC*)
11946 # Sun C++ 4.2, 5.x and Centerline C++
11947 archive_cmds_need_lc_CXX=yes
11948 no_undefined_flag_CXX=' -zdefs'
11949 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11950 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11951 $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'
11953 hardcode_libdir_flag_spec_CXX='-R$libdir'
11954 hardcode_shlibpath_var_CXX=no
11955 case $host_os in
11956 solaris2.[0-5] | solaris2.[0-5].*) ;;
11958 # The compiler driver will combine and reorder linker options,
11959 # but understands `-z linker_flag'.
11960 # Supported since Solaris 2.6 (maybe 2.5.1?)
11961 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
11963 esac
11964 link_all_deplibs_CXX=yes
11966 output_verbose_link_cmd='echo'
11968 # Archives containing C++ object files must be created using
11969 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11970 # necessary to make sure instantiated templates are included
11971 # in the archive.
11972 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
11974 gcx*)
11975 # Green Hills C++ Compiler
11976 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11978 # The C++ compiler must be used to create the archive.
11979 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
11982 # GNU C++ compiler with Solaris linker
11983 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11984 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
11985 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
11986 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11987 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11988 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
11990 # Commands to make compiler produce verbose output that lists
11991 # what "hidden" libraries, object files and flags are used when
11992 # linking a shared library.
11993 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11994 else
11995 # g++ 2.7 appears to require `-G' NOT `-shared' on this
11996 # platform.
11997 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11998 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11999 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12001 # Commands to make compiler produce verbose output that lists
12002 # what "hidden" libraries, object files and flags are used when
12003 # linking a shared library.
12004 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12007 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
12008 case $host_os in
12009 solaris2.[0-5] | solaris2.[0-5].*) ;;
12011 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12013 esac
12016 esac
12019 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12020 no_undefined_flag_CXX='${wl}-z,text'
12021 archive_cmds_need_lc_CXX=no
12022 hardcode_shlibpath_var_CXX=no
12023 runpath_var='LD_RUN_PATH'
12025 case $cc_basename in
12026 CC*)
12027 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12028 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12031 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12032 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12034 esac
12037 sysv5* | sco3.2v5* | sco5v6*)
12038 # Note: We can NOT use -z defs as we might desire, because we do not
12039 # link with -lc, and that would cause any symbols used from libc to
12040 # always be unresolved, which means just about no library would
12041 # ever link correctly. If we're not using GNU ld we use -z text
12042 # though, which does catch some bad symbols but isn't as heavy-handed
12043 # as -z defs.
12044 no_undefined_flag_CXX='${wl}-z,text'
12045 allow_undefined_flag_CXX='${wl}-z,nodefs'
12046 archive_cmds_need_lc_CXX=no
12047 hardcode_shlibpath_var_CXX=no
12048 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
12049 hardcode_libdir_separator_CXX=':'
12050 link_all_deplibs_CXX=yes
12051 export_dynamic_flag_spec_CXX='${wl}-Bexport'
12052 runpath_var='LD_RUN_PATH'
12054 case $cc_basename in
12055 CC*)
12056 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12057 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12060 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12061 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12063 esac
12066 tandem*)
12067 case $cc_basename in
12068 NCC*)
12069 # NonStop-UX NCC 3.20
12070 # FIXME: insert proper C++ library support
12071 ld_shlibs_CXX=no
12074 # FIXME: insert proper C++ library support
12075 ld_shlibs_CXX=no
12077 esac
12080 vxworks*)
12081 # FIXME: insert proper C++ library support
12082 ld_shlibs_CXX=no
12086 # FIXME: insert proper C++ library support
12087 ld_shlibs_CXX=no
12089 esac
12091 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12092 echo "${ECHO_T}$ld_shlibs_CXX" >&6
12093 test "$ld_shlibs_CXX" = no && can_build_shared=no
12095 GCC_CXX="$GXX"
12096 LD_CXX="$LD"
12098 ## CAVEAT EMPTOR:
12099 ## There is no encapsulation within the following macros, do not change
12100 ## the running order or otherwise move them around unless you know exactly
12101 ## what you are doing...
12102 # Dependencies to place before and after the object being linked:
12103 predep_objects_CXX=
12104 postdep_objects_CXX=
12105 predeps_CXX=
12106 postdeps_CXX=
12107 compiler_lib_search_path_CXX=
12109 cat > conftest.$ac_ext <<_LT_EOF
12110 class Foo
12112 public:
12113 Foo (void) { a = 0; }
12114 private:
12115 int a;
12117 _LT_EOF
12119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12120 (eval $ac_compile) 2>&5
12121 ac_status=$?
12122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12123 (exit $ac_status); }; then
12124 # Parse the compiler output and extract the necessary
12125 # objects, libraries and library flags.
12127 # Sentinel used to keep track of whether or not we are before
12128 # the conftest object file.
12129 pre_test_object_deps_done=no
12131 # The `*' in the case matches for architectures that use `case' in
12132 # $output_verbose_cmd can trigger glob expansion during the loop
12133 # eval without this substitution.
12134 output_verbose_link_cmd=`$ECHO "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12136 for p in `eval $output_verbose_link_cmd`; do
12137 case $p in
12139 -L* | -R* | -l*)
12140 # Some compilers place space between "-{L,R}" and the path.
12141 # Remove the space.
12142 if test $p = "-L" ||
12143 test $p = "-R"; then
12144 prev=$p
12145 continue
12146 else
12147 prev=
12150 if test "$pre_test_object_deps_done" = no; then
12151 case $p in
12152 -L* | -R*)
12153 # Internal compiler library paths should come after those
12154 # provided the user. The postdeps already come after the
12155 # user supplied libs so there is no need to process them.
12156 if test -z "$compiler_lib_search_path_CXX"; then
12157 compiler_lib_search_path_CXX="${prev}${p}"
12158 else
12159 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
12162 # The "-l" case would never come before the object being
12163 # linked, so don't bother handling this case.
12164 esac
12165 else
12166 if test -z "$postdeps_CXX"; then
12167 postdeps_CXX="${prev}${p}"
12168 else
12169 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
12174 *.$objext)
12175 # This assumes that the test object file only shows up
12176 # once in the compiler output.
12177 if test "$p" = "conftest.$objext"; then
12178 pre_test_object_deps_done=yes
12179 continue
12182 if test "$pre_test_object_deps_done" = no; then
12183 if test -z "$predep_objects_CXX"; then
12184 predep_objects_CXX="$p"
12185 else
12186 predep_objects_CXX="$predep_objects_CXX $p"
12188 else
12189 if test -z "$postdep_objects_CXX"; then
12190 postdep_objects_CXX="$p"
12191 else
12192 postdep_objects_CXX="$postdep_objects_CXX $p"
12197 *) ;; # Ignore the rest.
12199 esac
12200 done
12202 # Clean up.
12203 rm -f a.out a.exe
12204 else
12205 echo "libtool.m4: error: problem compiling CXX test program"
12208 $RM -f confest.$objext
12210 # PORTME: override above test on systems where it is broken
12211 case $host_os in
12212 interix[3-9]*)
12213 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12214 # hack all around it, let's just trust "g++" to DTRT.
12215 predep_objects_CXX=
12216 postdep_objects_CXX=
12217 postdeps_CXX=
12220 linux*)
12221 case `$CC -V 2>&1 | sed 5q` in
12222 *Sun\ C*)
12223 # Sun C++ 5.9
12225 # The more standards-conforming stlport4 library is
12226 # incompatible with the Cstd library. Avoid specifying
12227 # it if it's in CXXFLAGS. Ignore libCrun as
12228 # -library=stlport4 depends on it.
12229 case " $CXX $CXXFLAGS " in
12230 *" -library=stlport4 "*)
12231 solaris_use_stlport4=yes
12233 esac
12235 if test "$solaris_use_stlport4" != yes; then
12236 postdeps_CXX='-library=Cstd -library=Crun'
12239 esac
12242 solaris*)
12243 case $cc_basename in
12244 CC*)
12245 # The more standards-conforming stlport4 library is
12246 # incompatible with the Cstd library. Avoid specifying
12247 # it if it's in CXXFLAGS. Ignore libCrun as
12248 # -library=stlport4 depends on it.
12249 case " $CXX $CXXFLAGS " in
12250 *" -library=stlport4 "*)
12251 solaris_use_stlport4=yes
12253 esac
12255 # Adding this requires a known-good setup of shared libraries for
12256 # Sun compiler versions before 5.6, else PIC objects from an old
12257 # archive will be linked into the output, leading to subtle bugs.
12258 if test "$solaris_use_stlport4" != yes; then
12259 postdeps_CXX='-library=Cstd -library=Crun'
12262 esac
12264 esac
12267 case " $postdeps_CXX " in
12268 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
12269 esac
12296 lt_prog_compiler_wl_CXX=
12297 lt_prog_compiler_pic_CXX=
12298 lt_prog_compiler_static_CXX=
12300 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12301 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12303 # C++ specific cases for pic, static, wl, etc.
12304 if test "$GXX" = yes; then
12305 lt_prog_compiler_wl_CXX='-Wl,'
12306 lt_prog_compiler_static_CXX='-static'
12308 case $host_os in
12309 aix*)
12310 # All AIX code is PIC.
12311 if test "$host_cpu" = ia64; then
12312 # AIX 5 now supports IA64 processor
12313 lt_prog_compiler_static_CXX='-Bstatic'
12316 amigaos*)
12317 if test "$host_cpu" = m68k; then
12318 # FIXME: we need at least 68020 code to build shared libraries, but
12319 # adding the `-m68020' flag to GCC prevents building anything better,
12320 # like `-m68040'.
12321 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
12324 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12325 # PIC is the default for these OSes.
12327 mingw* | cygwin* | os2* | pw32*)
12328 # This hack is so that the source file can tell whether it is being
12329 # built for inclusion in a dll (and should export symbols for example).
12330 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12331 # (--disable-auto-import) libraries
12332 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
12334 darwin* | rhapsody*)
12335 # PIC is the default on this platform
12336 # Common symbols not allowed in MH_DYLIB files
12337 lt_prog_compiler_pic_CXX='-fno-common'
12339 *djgpp*)
12340 # DJGPP does not support shared libraries at all
12341 lt_prog_compiler_pic_CXX=
12343 interix[3-9]*)
12344 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12345 # Instead, we relocate shared libraries at runtime.
12347 sysv4*MP*)
12348 if test -d /usr/nec; then
12349 lt_prog_compiler_pic_CXX=-Kconform_pic
12352 hpux*)
12353 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12354 # not for PA HP-UX.
12355 case $host_cpu in
12356 hppa*64*|ia64*)
12359 lt_prog_compiler_pic_CXX='-fPIC'
12361 esac
12363 *qnx* | *nto*)
12364 # QNX uses GNU C++, but need to define -shared option too, otherwise
12365 # it will coredump.
12366 lt_prog_compiler_pic_CXX='-fPIC -shared'
12369 lt_prog_compiler_pic_CXX='-fPIC'
12371 esac
12372 else
12373 case $host_os in
12374 aix[4-9]*)
12375 # All AIX code is PIC.
12376 if test "$host_cpu" = ia64; then
12377 # AIX 5 now supports IA64 processor
12378 lt_prog_compiler_static_CXX='-Bstatic'
12379 else
12380 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
12383 chorus*)
12384 case $cc_basename in
12385 cxch68*)
12386 # Green Hills C++ Compiler
12387 # _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"
12389 esac
12391 darwin*)
12392 # PIC is the default on this platform
12393 # Common symbols not allowed in MH_DYLIB files
12394 case $cc_basename in
12395 xlc*)
12396 lt_prog_compiler_pic_CXX='-qnocommon'
12397 lt_prog_compiler_wl_CXX='-Wl,'
12399 esac
12401 dgux*)
12402 case $cc_basename in
12403 ec++*)
12404 lt_prog_compiler_pic_CXX='-KPIC'
12406 ghcx*)
12407 # Green Hills C++ Compiler
12408 lt_prog_compiler_pic_CXX='-pic'
12412 esac
12414 freebsd* | dragonfly*)
12415 # FreeBSD uses GNU C++
12417 hpux9* | hpux10* | hpux11*)
12418 case $cc_basename in
12419 CC*)
12420 lt_prog_compiler_wl_CXX='-Wl,'
12421 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12422 if test "$host_cpu" != ia64; then
12423 lt_prog_compiler_pic_CXX='+Z'
12426 aCC*)
12427 lt_prog_compiler_wl_CXX='-Wl,'
12428 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12429 case $host_cpu in
12430 hppa*64*|ia64*)
12431 # +Z the default
12434 lt_prog_compiler_pic_CXX='+Z'
12436 esac
12440 esac
12442 interix*)
12443 # This is c89, which is MS Visual C++ (no shared libs)
12444 # Anyone wants to do a port?
12446 irix5* | irix6* | nonstopux*)
12447 case $cc_basename in
12448 CC*)
12449 lt_prog_compiler_wl_CXX='-Wl,'
12450 lt_prog_compiler_static_CXX='-non_shared'
12451 # CC pic flag -KPIC is the default.
12455 esac
12457 linux* | k*bsd*-gnu)
12458 case $cc_basename in
12459 KCC*)
12460 # KAI C++ Compiler
12461 lt_prog_compiler_wl_CXX='--backend -Wl,'
12462 lt_prog_compiler_pic_CXX='-fPIC'
12464 icpc* | ecpc* )
12465 # Intel C++
12466 lt_prog_compiler_wl_CXX='-Wl,'
12467 lt_prog_compiler_pic_CXX='-KPIC'
12468 lt_prog_compiler_static_CXX='-static'
12470 pgCC*)
12471 # Portland Group C++ compiler
12472 lt_prog_compiler_wl_CXX='-Wl,'
12473 lt_prog_compiler_pic_CXX='-fpic'
12474 lt_prog_compiler_static_CXX='-Bstatic'
12476 cxx*)
12477 # Compaq C++
12478 # Make sure the PIC flag is empty. It appears that all Alpha
12479 # Linux and Compaq Tru64 Unix objects are PIC.
12480 lt_prog_compiler_pic_CXX=
12481 lt_prog_compiler_static_CXX='-non_shared'
12484 case `$CC -V 2>&1 | sed 5q` in
12485 *Sun\ C*)
12486 # Sun C++ 5.9
12487 lt_prog_compiler_pic_CXX='-KPIC'
12488 lt_prog_compiler_static_CXX='-Bstatic'
12489 lt_prog_compiler_wl_CXX='-Qoption ld '
12491 esac
12493 esac
12495 lynxos*)
12497 m88k*)
12499 mvs*)
12500 case $cc_basename in
12501 cxx*)
12502 lt_prog_compiler_pic_CXX='-W c,exportall'
12506 esac
12508 netbsd*)
12510 *qnx* | *nto*)
12511 # QNX uses GNU C++, but need to define -shared option too, otherwise
12512 # it will coredump.
12513 lt_prog_compiler_pic_CXX='-fPIC -shared'
12515 osf3* | osf4* | osf5*)
12516 case $cc_basename in
12517 KCC*)
12518 lt_prog_compiler_wl_CXX='--backend -Wl,'
12520 RCC*)
12521 # Rational C++ 2.4.1
12522 lt_prog_compiler_pic_CXX='-pic'
12524 cxx*)
12525 # Digital/Compaq C++
12526 lt_prog_compiler_wl_CXX='-Wl,'
12527 # Make sure the PIC flag is empty. It appears that all Alpha
12528 # Linux and Compaq Tru64 Unix objects are PIC.
12529 lt_prog_compiler_pic_CXX=
12530 lt_prog_compiler_static_CXX='-non_shared'
12534 esac
12536 psos*)
12538 solaris*)
12539 case $cc_basename in
12540 CC*)
12541 # Sun C++ 4.2, 5.x and Centerline C++
12542 lt_prog_compiler_pic_CXX='-KPIC'
12543 lt_prog_compiler_static_CXX='-Bstatic'
12544 lt_prog_compiler_wl_CXX='-Qoption ld '
12546 gcx*)
12547 # Green Hills C++ Compiler
12548 lt_prog_compiler_pic_CXX='-PIC'
12552 esac
12554 sunos4*)
12555 case $cc_basename in
12556 CC*)
12557 # Sun C++ 4.x
12558 lt_prog_compiler_pic_CXX='-pic'
12559 lt_prog_compiler_static_CXX='-Bstatic'
12561 lcc*)
12562 # Lucid
12563 lt_prog_compiler_pic_CXX='-pic'
12567 esac
12569 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
12570 case $cc_basename in
12571 CC*)
12572 lt_prog_compiler_wl_CXX='-Wl,'
12573 lt_prog_compiler_pic_CXX='-KPIC'
12574 lt_prog_compiler_static_CXX='-Bstatic'
12576 esac
12578 tandem*)
12579 case $cc_basename in
12580 NCC*)
12581 # NonStop-UX NCC 3.20
12582 lt_prog_compiler_pic_CXX='-KPIC'
12586 esac
12588 vxworks*)
12591 lt_prog_compiler_can_build_shared_CXX=no
12593 esac
12596 case $host_os in
12597 # For platforms which do not support PIC, -DPIC is meaningless:
12598 *djgpp*)
12599 lt_prog_compiler_pic_CXX=
12602 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
12604 esac
12605 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12606 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
12611 # Check to make sure the PIC flag actually works.
12613 if test -n "$lt_prog_compiler_pic_CXX"; then
12614 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12615 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
12616 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12617 echo $ECHO_N "(cached) $ECHO_C" >&6
12618 else
12619 lt_prog_compiler_pic_works_CXX=no
12620 ac_outfile=conftest.$ac_objext
12621 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12622 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
12623 # Insert the option either (1) after the last *FLAGS variable, or
12624 # (2) before a word containing "conftest.", or (3) at the end.
12625 # Note that $ac_compile itself does not contain backslashes and begins
12626 # with a dollar sign (not a hyphen), so the echo should work correctly.
12627 # The option is referenced via a variable to avoid confusing sed.
12628 lt_compile=`echo "$ac_compile" | $SED \
12629 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12630 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12631 -e 's:$: $lt_compiler_flag:'`
12632 (eval echo "\"\$as_me:12632: $lt_compile\"" >&5)
12633 (eval "$lt_compile" 2>conftest.err)
12634 ac_status=$?
12635 cat conftest.err >&5
12636 echo "$as_me:12636: \$? = $ac_status" >&5
12637 if (exit $ac_status) && test -s "$ac_outfile"; then
12638 # The compiler can only warn and ignore the option if not recognized
12639 # So say no if there are warnings other than the usual output.
12640 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
12641 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12642 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12643 lt_prog_compiler_pic_works_CXX=yes
12646 $RM conftest*
12649 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12650 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
12652 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
12653 case $lt_prog_compiler_pic_CXX in
12654 "" | " "*) ;;
12655 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
12656 esac
12657 else
12658 lt_prog_compiler_pic_CXX=
12659 lt_prog_compiler_can_build_shared_CXX=no
12667 # Check to make sure the static flag actually works.
12669 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
12670 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12671 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
12672 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12673 echo $ECHO_N "(cached) $ECHO_C" >&6
12674 else
12675 lt_prog_compiler_static_works_CXX=no
12676 save_LDFLAGS="$LDFLAGS"
12677 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12678 echo "$lt_simple_link_test_code" > conftest.$ac_ext
12679 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12680 # The linker can only warn and ignore the option if not recognized
12681 # So say no if there are warnings
12682 if test -s conftest.err; then
12683 # Append any errors to the config.log.
12684 cat conftest.err 1>&5
12685 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
12686 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12687 if diff conftest.exp conftest.er2 >/dev/null; then
12688 lt_prog_compiler_static_works_CXX=yes
12690 else
12691 lt_prog_compiler_static_works_CXX=yes
12694 $RM conftest*
12695 LDFLAGS="$save_LDFLAGS"
12698 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12699 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
12701 if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
12703 else
12704 lt_prog_compiler_static_CXX=
12710 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12711 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
12712 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12713 echo $ECHO_N "(cached) $ECHO_C" >&6
12714 else
12715 lt_cv_prog_compiler_c_o_CXX=no
12716 $RM -r conftest 2>/dev/null
12717 mkdir conftest
12718 cd conftest
12719 mkdir out
12720 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12722 lt_compiler_flag="-o out/conftest2.$ac_objext"
12723 # Insert the option either (1) after the last *FLAGS variable, or
12724 # (2) before a word containing "conftest.", or (3) at the end.
12725 # Note that $ac_compile itself does not contain backslashes and begins
12726 # with a dollar sign (not a hyphen), so the echo should work correctly.
12727 lt_compile=`echo "$ac_compile" | $SED \
12728 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12729 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12730 -e 's:$: $lt_compiler_flag:'`
12731 (eval echo "\"\$as_me:12731: $lt_compile\"" >&5)
12732 (eval "$lt_compile" 2>out/conftest.err)
12733 ac_status=$?
12734 cat out/conftest.err >&5
12735 echo "$as_me:12735: \$? = $ac_status" >&5
12736 if (exit $ac_status) && test -s out/conftest2.$ac_objext
12737 then
12738 # The compiler can only warn and ignore the option if not recognized
12739 # So say no if there are warnings
12740 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12741 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12742 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12743 lt_cv_prog_compiler_c_o_CXX=yes
12746 chmod u+w . 2>&5
12747 $RM conftest*
12748 # SGI C++ compiler will create directory out/ii_files/ for
12749 # template instantiation
12750 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12751 $RM out/* && rmdir out
12752 cd ..
12753 $RM -r conftest
12754 $RM conftest*
12757 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12758 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
12762 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12763 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
12764 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12765 echo $ECHO_N "(cached) $ECHO_C" >&6
12766 else
12767 lt_cv_prog_compiler_c_o_CXX=no
12768 $RM -r conftest 2>/dev/null
12769 mkdir conftest
12770 cd conftest
12771 mkdir out
12772 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12774 lt_compiler_flag="-o out/conftest2.$ac_objext"
12775 # Insert the option either (1) after the last *FLAGS variable, or
12776 # (2) before a word containing "conftest.", or (3) at the end.
12777 # Note that $ac_compile itself does not contain backslashes and begins
12778 # with a dollar sign (not a hyphen), so the echo should work correctly.
12779 lt_compile=`echo "$ac_compile" | $SED \
12780 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12781 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12782 -e 's:$: $lt_compiler_flag:'`
12783 (eval echo "\"\$as_me:12783: $lt_compile\"" >&5)
12784 (eval "$lt_compile" 2>out/conftest.err)
12785 ac_status=$?
12786 cat out/conftest.err >&5
12787 echo "$as_me:12787: \$? = $ac_status" >&5
12788 if (exit $ac_status) && test -s out/conftest2.$ac_objext
12789 then
12790 # The compiler can only warn and ignore the option if not recognized
12791 # So say no if there are warnings
12792 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12793 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12794 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12795 lt_cv_prog_compiler_c_o_CXX=yes
12798 chmod u+w . 2>&5
12799 $RM conftest*
12800 # SGI C++ compiler will create directory out/ii_files/ for
12801 # template instantiation
12802 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12803 $RM out/* && rmdir out
12804 cd ..
12805 $RM -r conftest
12806 $RM conftest*
12809 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12810 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
12815 hard_links="nottested"
12816 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
12817 # do not overwrite the value of need_locks provided by the user
12818 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12819 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
12820 hard_links=yes
12821 $RM conftest*
12822 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12823 touch conftest.a
12824 ln conftest.a conftest.b 2>&5 || hard_links=no
12825 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12826 echo "$as_me:$LINENO: result: $hard_links" >&5
12827 echo "${ECHO_T}$hard_links" >&6
12828 if test "$hard_links" = no; then
12829 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12830 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12831 need_locks=warn
12833 else
12834 need_locks=no
12839 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12840 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
12842 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12843 case $host_os in
12844 aix[4-9]*)
12845 # If we're using GNU nm, then we don't want the "-C" option.
12846 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12847 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
12848 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'
12849 else
12850 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'
12853 pw32*)
12854 export_symbols_cmds_CXX="$ltdll_cmds"
12856 cygwin* | mingw*)
12857 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'
12860 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12862 esac
12864 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12865 echo "${ECHO_T}$ld_shlibs_CXX" >&6
12866 test "$ld_shlibs_CXX" = no && can_build_shared=no
12868 with_gnu_ld_CXX=$with_gnu_ld
12876 # Do we need to explicitly link libc?
12878 case "x$archive_cmds_need_lc_CXX" in
12879 x|xyes)
12880 # Assume -lc should be added
12881 archive_cmds_need_lc_CXX=yes
12883 if test "$enable_shared" = yes && test "$GCC" = yes; then
12884 case $archive_cmds_CXX in
12885 *'~'*)
12886 # FIXME: we may have to deal with multi-command sequences.
12888 '$CC '*)
12889 # Test whether the compiler implicitly links with -lc since on some
12890 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12891 # to ld, don't add -lc before -lgcc.
12892 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12893 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
12894 $RM conftest*
12895 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12898 (eval $ac_compile) 2>&5
12899 ac_status=$?
12900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12901 (exit $ac_status); } 2>conftest.err; then
12902 soname=conftest
12903 lib=conftest
12904 libobjs=conftest.$ac_objext
12905 deplibs=
12906 wl=$lt_prog_compiler_wl_CXX
12907 pic_flag=$lt_prog_compiler_pic_CXX
12908 compiler_flags=-v
12909 linker_flags=-v
12910 verstring=
12911 output_objdir=.
12912 libname=conftest
12913 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
12914 allow_undefined_flag_CXX=
12915 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
12916 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
12917 ac_status=$?
12918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12919 (exit $ac_status); }
12920 then
12921 archive_cmds_need_lc_CXX=no
12922 else
12923 archive_cmds_need_lc_CXX=yes
12925 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
12926 else
12927 cat conftest.err 1>&5
12929 $RM conftest*
12930 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12931 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
12933 esac
12936 esac
13001 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13002 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
13003 withGCC=$GXX
13004 library_names_spec=
13005 libname_spec='lib$name'
13006 soname_spec=
13007 shrext_cmds=".so"
13008 postinstall_cmds=
13009 postuninstall_cmds=
13010 finish_cmds=
13011 finish_eval=
13012 shlibpath_var=
13013 shlibpath_overrides_runpath=unknown
13014 version_type=none
13015 dynamic_linker="$host_os ld.so"
13016 sys_lib_dlsearch_path_spec="/lib /usr/lib"
13017 need_lib_prefix=unknown
13018 hardcode_into_libs=no
13020 # when you set need_version to no, make sure it does not cause -set_version
13021 # flags to be left without arguments
13022 need_version=unknown
13024 case $host_os in
13025 aix3*)
13026 version_type=linux
13027 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13028 shlibpath_var=LIBPATH
13030 # AIX 3 has no versioning support, so we append a major version to the name.
13031 soname_spec='${libname}${release}${shared_ext}$major'
13034 aix[4-9]*)
13035 version_type=linux
13036 need_lib_prefix=no
13037 need_version=no
13038 hardcode_into_libs=yes
13039 if test "$host_cpu" = ia64; then
13040 # AIX 5 supports IA64
13041 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13042 shlibpath_var=LD_LIBRARY_PATH
13043 else
13044 # With GCC up to 2.95.x, collect2 would create an import file
13045 # for dependence libraries. The import file would start with
13046 # the line `#! .'. This would cause the generated library to
13047 # depend on `.', always an invalid library. This was fixed in
13048 # development snapshots of GCC prior to 3.0.
13049 case $host_os in
13050 aix4 | aix4.[01] | aix4.[01].*)
13051 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13052 echo ' yes '
13053 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
13055 else
13056 can_build_shared=no
13059 esac
13060 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13061 # soname into executable. Probably we can add versioning support to
13062 # collect2, so additional links can be useful in future.
13063 if test "$aix_use_runtimelinking" = yes; then
13064 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13065 # instead of lib<name>.a to let people know that these are not
13066 # typical AIX shared libraries.
13067 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13068 else
13069 # We preserve .a as extension for shared libraries through AIX4.2
13070 # and later when we are not doing run time linking.
13071 library_names_spec='${libname}${release}.a $libname.a'
13072 soname_spec='${libname}${release}${shared_ext}$major'
13074 shlibpath_var=LIBPATH
13078 amigaos*)
13079 if test "$host_cpu" = m68k; then
13080 library_names_spec='$libname.ixlibrary $libname.a'
13081 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13082 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'
13083 else
13084 dynamic_linker=no
13088 beos*)
13089 library_names_spec='${libname}${shared_ext}'
13090 dynamic_linker="$host_os ld.so"
13091 shlibpath_var=LIBRARY_PATH
13094 bsdi[45]*)
13095 version_type=linux
13096 need_version=no
13097 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13098 soname_spec='${libname}${release}${shared_ext}$major'
13099 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13100 shlibpath_var=LD_LIBRARY_PATH
13101 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13102 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13103 # the default ld.so.conf also contains /usr/contrib/lib and
13104 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13105 # libtool to hard-code these into programs
13108 cygwin* | mingw* | pw32*)
13109 version_type=windows
13110 shrext_cmds=".dll"
13111 need_version=no
13112 need_lib_prefix=no
13114 case $withGCC,$host_os in
13115 yes,cygwin* | yes,mingw* | yes,pw32*)
13116 library_names_spec='$libname.dll.a'
13117 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13118 postinstall_cmds='base_file=`basename \${file}`~
13119 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13120 dldir=$destdir/`dirname \$dlpath`~
13121 test -d \$dldir || mkdir -p \$dldir~
13122 $install_prog $dir/$dlname \$dldir/$dlname~
13123 chmod a+x \$dldir/$dlname~
13124 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13125 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13127 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13128 dlpath=$dir/\$dldll~
13129 $RM \$dlpath'
13130 shlibpath_overrides_runpath=yes
13132 case $host_os in
13133 cygwin*)
13134 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13135 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13136 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
13138 mingw*)
13139 # MinGW DLLs use traditional 'lib' prefix
13140 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13141 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13142 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
13143 # It is most probably a Windows format PATH printed by
13144 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13145 # path with ; separators, and with drive letters. We can handle the
13146 # drive letters (cygwin fileutils understands them), so leave them,
13147 # especially as we might pass files found there to a mingw objdump,
13148 # which wouldn't understand a cygwinified path. Ahh.
13149 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13150 else
13151 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13154 pw32*)
13155 # pw32 DLLs use 'pw' prefix rather than 'lib'
13156 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13158 esac
13162 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13164 esac
13165 dynamic_linker='Win32 ld.exe'
13166 # FIXME: first we should search . and the directory the executable is in
13167 shlibpath_var=PATH
13170 darwin* | rhapsody*)
13171 dynamic_linker="$host_os dyld"
13172 version_type=darwin
13173 need_lib_prefix=no
13174 need_version=no
13175 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13176 soname_spec='${libname}${release}${major}$shared_ext'
13177 shlibpath_overrides_runpath=yes
13178 shlibpath_var=DYLD_LIBRARY_PATH
13179 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13181 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13184 dgux*)
13185 version_type=linux
13186 need_lib_prefix=no
13187 need_version=no
13188 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13189 soname_spec='${libname}${release}${shared_ext}$major'
13190 shlibpath_var=LD_LIBRARY_PATH
13193 freebsd1*)
13194 dynamic_linker=no
13197 freebsd* | dragonfly*)
13198 # DragonFly does not have aout. When/if they implement a new
13199 # versioning mechanism, adjust this.
13200 if test -x /usr/bin/objformat; then
13201 objformat=`/usr/bin/objformat`
13202 else
13203 case $host_os in
13204 freebsd[123]*) objformat=aout ;;
13205 *) objformat=elf ;;
13206 esac
13208 version_type=freebsd-$objformat
13209 case $version_type in
13210 freebsd-elf*)
13211 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13212 need_version=no
13213 need_lib_prefix=no
13215 freebsd-*)
13216 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13217 need_version=yes
13219 esac
13220 shlibpath_var=LD_LIBRARY_PATH
13221 case $host_os in
13222 freebsd2*)
13223 shlibpath_overrides_runpath=yes
13225 freebsd3.[01]* | freebsdelf3.[01]*)
13226 shlibpath_overrides_runpath=yes
13227 hardcode_into_libs=yes
13229 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13230 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13231 shlibpath_overrides_runpath=no
13232 hardcode_into_libs=yes
13234 *) # from 4.6 on, and DragonFly
13235 shlibpath_overrides_runpath=yes
13236 hardcode_into_libs=yes
13238 esac
13241 gnu*)
13242 version_type=linux
13243 need_lib_prefix=no
13244 need_version=no
13245 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13246 soname_spec='${libname}${release}${shared_ext}$major'
13247 shlibpath_var=LD_LIBRARY_PATH
13248 hardcode_into_libs=yes
13251 hpux9* | hpux10* | hpux11*)
13252 # Give a soname corresponding to the major version so that dld.sl refuses to
13253 # link against other versions.
13254 version_type=sunos
13255 need_lib_prefix=no
13256 need_version=no
13257 case $host_cpu in
13258 ia64*)
13259 shrext_cmds='.so'
13260 hardcode_into_libs=yes
13261 dynamic_linker="$host_os dld.so"
13262 shlibpath_var=LD_LIBRARY_PATH
13263 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13264 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13265 soname_spec='${libname}${release}${shared_ext}$major'
13266 if test "X$HPUX_IA64_MODE" = X32; then
13267 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13268 else
13269 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13271 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13273 hppa*64*)
13274 shrext_cmds='.sl'
13275 hardcode_into_libs=yes
13276 dynamic_linker="$host_os dld.sl"
13277 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13278 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13279 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13280 soname_spec='${libname}${release}${shared_ext}$major'
13281 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13282 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13285 shrext_cmds='.sl'
13286 dynamic_linker="$host_os dld.sl"
13287 shlibpath_var=SHLIB_PATH
13288 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13289 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13290 soname_spec='${libname}${release}${shared_ext}$major'
13292 esac
13293 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13294 postinstall_cmds='chmod 555 $lib'
13297 interix[3-9]*)
13298 version_type=linux
13299 need_lib_prefix=no
13300 need_version=no
13301 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13302 soname_spec='${libname}${release}${shared_ext}$major'
13303 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13304 shlibpath_var=LD_LIBRARY_PATH
13305 shlibpath_overrides_runpath=no
13306 hardcode_into_libs=yes
13309 irix5* | irix6* | nonstopux*)
13310 case $host_os in
13311 nonstopux*) version_type=nonstopux ;;
13313 if test "$lt_cv_prog_gnu_ld" = yes; then
13314 version_type=linux
13315 else
13316 version_type=irix
13317 fi ;;
13318 esac
13319 need_lib_prefix=no
13320 need_version=no
13321 soname_spec='${libname}${release}${shared_ext}$major'
13322 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13323 case $host_os in
13324 irix5* | nonstopux*)
13325 libsuff= shlibsuff=
13328 case $LD in # libtool.m4 will add one of these switches to LD
13329 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13330 libsuff= shlibsuff= libmagic=32-bit;;
13331 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13332 libsuff=32 shlibsuff=N32 libmagic=N32;;
13333 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13334 libsuff=64 shlibsuff=64 libmagic=64-bit;;
13335 *) libsuff= shlibsuff= libmagic=never-match;;
13336 esac
13338 esac
13339 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13340 shlibpath_overrides_runpath=no
13341 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13342 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13343 hardcode_into_libs=yes
13346 # No shared lib support for Linux oldld, aout, or coff.
13347 linux*oldld* | linux*aout* | linux*coff*)
13348 dynamic_linker=no
13351 # This must be Linux ELF.
13352 linux* | k*bsd*-gnu)
13353 version_type=linux
13354 need_lib_prefix=no
13355 need_version=no
13356 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13357 soname_spec='${libname}${release}${shared_ext}$major'
13358 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13359 shlibpath_var=LD_LIBRARY_PATH
13360 shlibpath_overrides_runpath=no
13361 # Some binutils ld are patched to set DT_RUNPATH
13362 save_LDFLAGS=$LDFLAGS
13363 save_libdir=$libdir
13364 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
13365 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
13366 if test x$gcc_no_link = xyes; then
13367 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13368 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13369 { (exit 1); exit 1; }; }
13371 cat >conftest.$ac_ext <<_ACEOF
13372 /* confdefs.h. */
13373 _ACEOF
13374 cat confdefs.h >>conftest.$ac_ext
13375 cat >>conftest.$ac_ext <<_ACEOF
13376 /* end confdefs.h. */
13379 main ()
13383 return 0;
13385 _ACEOF
13386 rm -f conftest.$ac_objext conftest$ac_exeext
13387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13388 (eval $ac_link) 2>conftest.er1
13389 ac_status=$?
13390 grep -v '^ *+' conftest.er1 >conftest.err
13391 rm -f conftest.er1
13392 cat conftest.err >&5
13393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13394 (exit $ac_status); } &&
13395 { ac_try='test -z "$ac_cxx_werror_flag"
13396 || test ! -s conftest.err'
13397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13398 (eval $ac_try) 2>&5
13399 ac_status=$?
13400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13401 (exit $ac_status); }; } &&
13402 { ac_try='test -s conftest$ac_exeext'
13403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13404 (eval $ac_try) 2>&5
13405 ac_status=$?
13406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13407 (exit $ac_status); }; }; then
13408 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
13409 shlibpath_overrides_runpath=yes
13412 else
13413 echo "$as_me: failed program was:" >&5
13414 sed 's/^/| /' conftest.$ac_ext >&5
13417 rm -f conftest.err conftest.$ac_objext \
13418 conftest$ac_exeext conftest.$ac_ext
13419 LDFLAGS=$save_LDFLAGS
13420 libdir=$save_libdir
13422 # This implies no fast_install, which is unacceptable.
13423 # Some rework will be needed to allow for fast_install
13424 # before this can be enabled.
13425 hardcode_into_libs=yes
13427 # Append ld.so.conf contents to the search path
13428 if test -f /etc/ld.so.conf; then
13429 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' ' '`
13430 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13433 # We used to test for /lib/ld.so.1 and disable shared libraries on
13434 # powerpc, because MkLinux only supported shared libraries with the
13435 # GNU dynamic linker. Since this was broken with cross compilers,
13436 # most powerpc-linux boxes support dynamic linking these days and
13437 # people can always --disable-shared, the test was removed, and we
13438 # assume the GNU/Linux dynamic linker is in use.
13439 dynamic_linker='GNU/Linux ld.so'
13442 netbsd*)
13443 version_type=sunos
13444 need_lib_prefix=no
13445 need_version=no
13446 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13447 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13448 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13449 dynamic_linker='NetBSD (a.out) ld.so'
13450 else
13451 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13452 soname_spec='${libname}${release}${shared_ext}$major'
13453 dynamic_linker='NetBSD ld.elf_so'
13455 shlibpath_var=LD_LIBRARY_PATH
13456 shlibpath_overrides_runpath=yes
13457 hardcode_into_libs=yes
13460 newsos6)
13461 version_type=linux
13462 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13463 shlibpath_var=LD_LIBRARY_PATH
13464 shlibpath_overrides_runpath=yes
13467 *nto* | *qnx*)
13468 version_type=qnx
13469 need_lib_prefix=no
13470 need_version=no
13471 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13472 soname_spec='${libname}${release}${shared_ext}$major'
13473 shlibpath_var=LD_LIBRARY_PATH
13474 shlibpath_overrides_runpath=no
13475 hardcode_into_libs=yes
13476 dynamic_linker='ldqnx.so'
13479 openbsd*)
13480 version_type=sunos
13481 sys_lib_dlsearch_path_spec="/usr/lib"
13482 need_lib_prefix=no
13483 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13484 case $host_os in
13485 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
13486 *) need_version=no ;;
13487 esac
13488 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13489 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13490 shlibpath_var=LD_LIBRARY_PATH
13491 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13492 case $host_os in
13493 openbsd2.[89] | openbsd2.[89].*)
13494 shlibpath_overrides_runpath=no
13497 shlibpath_overrides_runpath=yes
13499 esac
13500 else
13501 shlibpath_overrides_runpath=yes
13505 os2*)
13506 libname_spec='$name'
13507 shrext_cmds=".dll"
13508 need_lib_prefix=no
13509 library_names_spec='$libname${shared_ext} $libname.a'
13510 dynamic_linker='OS/2 ld.exe'
13511 shlibpath_var=LIBPATH
13514 osf3* | osf4* | osf5*)
13515 version_type=osf
13516 need_lib_prefix=no
13517 need_version=no
13518 soname_spec='${libname}${release}${shared_ext}$major'
13519 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13520 shlibpath_var=LD_LIBRARY_PATH
13521 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13522 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13525 rdos*)
13526 dynamic_linker=no
13529 solaris*)
13530 version_type=linux
13531 need_lib_prefix=no
13532 need_version=no
13533 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13534 soname_spec='${libname}${release}${shared_ext}$major'
13535 shlibpath_var=LD_LIBRARY_PATH
13536 shlibpath_overrides_runpath=yes
13537 hardcode_into_libs=yes
13538 # ldd complains unless libraries are executable
13539 postinstall_cmds='chmod +x $lib'
13542 sunos4*)
13543 version_type=sunos
13544 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13545 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13546 shlibpath_var=LD_LIBRARY_PATH
13547 shlibpath_overrides_runpath=yes
13548 if test "$with_gnu_ld" = yes; then
13549 need_lib_prefix=no
13551 need_version=yes
13554 sysv4 | sysv4.3*)
13555 version_type=linux
13556 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13557 soname_spec='${libname}${release}${shared_ext}$major'
13558 shlibpath_var=LD_LIBRARY_PATH
13559 case $host_vendor in
13560 sni)
13561 shlibpath_overrides_runpath=no
13562 need_lib_prefix=no
13563 runpath_var=LD_RUN_PATH
13565 siemens)
13566 need_lib_prefix=no
13568 motorola)
13569 need_lib_prefix=no
13570 need_version=no
13571 shlibpath_overrides_runpath=no
13572 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13574 esac
13577 sysv4*MP*)
13578 if test -d /usr/nec ;then
13579 version_type=linux
13580 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13581 soname_spec='$libname${shared_ext}.$major'
13582 shlibpath_var=LD_LIBRARY_PATH
13586 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13587 version_type=freebsd-elf
13588 need_lib_prefix=no
13589 need_version=no
13590 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13591 soname_spec='${libname}${release}${shared_ext}$major'
13592 shlibpath_var=LD_LIBRARY_PATH
13593 shlibpath_overrides_runpath=yes
13594 hardcode_into_libs=yes
13595 if test "$with_gnu_ld" = yes; then
13596 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13597 else
13598 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13599 case $host_os in
13600 sco3.2v5*)
13601 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13603 esac
13605 sys_lib_dlsearch_path_spec='/usr/lib'
13608 tpf*)
13609 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
13610 version_type=linux
13611 need_lib_prefix=no
13612 need_version=no
13613 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13614 shlibpath_var=LD_LIBRARY_PATH
13615 shlibpath_overrides_runpath=no
13616 hardcode_into_libs=yes
13619 uts4*)
13620 version_type=linux
13621 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13622 soname_spec='${libname}${release}${shared_ext}$major'
13623 shlibpath_var=LD_LIBRARY_PATH
13627 dynamic_linker=no
13629 esac
13630 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13631 echo "${ECHO_T}$dynamic_linker" >&6
13632 test "$dynamic_linker" = no && can_build_shared=no
13634 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13635 if test "$GCC" = yes; then
13636 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13674 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13675 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
13676 hardcode_action_CXX=
13677 if test -n "$hardcode_libdir_flag_spec_CXX" ||
13678 test -n "$runpath_var_CXX" ||
13679 test "X$hardcode_automatic_CXX" = "Xyes" ; then
13681 # We can hardcode non-existent directories.
13682 if test "$hardcode_direct_CXX" != no &&
13683 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13684 # have to relink, otherwise we might link with an installed library
13685 # when we should be linking with a yet-to-be-installed one
13686 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13687 test "$hardcode_minus_L_CXX" != no; then
13688 # Linking always hardcodes the temporary library directory.
13689 hardcode_action_CXX=relink
13690 else
13691 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13692 hardcode_action_CXX=immediate
13694 else
13695 # We cannot hardcode anything, or else we can only hardcode existing
13696 # directories.
13697 hardcode_action_CXX=unsupported
13699 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13700 echo "${ECHO_T}$hardcode_action_CXX" >&6
13702 if test "$hardcode_action_CXX" = relink ||
13703 test "$inherit_rpath_CXX" = yes; then
13704 # Fast installation is not supported
13705 enable_fast_install=no
13706 elif test "$shlibpath_overrides_runpath" = yes ||
13707 test "$enable_shared" = no; then
13708 # Fast installation is not necessary
13709 enable_fast_install=needless
13718 fi # test -n "$compiler"
13720 CC=$lt_save_CC
13721 LDCXX=$LD
13722 LD=$lt_save_LD
13723 GCC=$lt_save_GCC
13724 with_gnu_ld=$lt_save_with_gnu_ld
13725 lt_cv_path_LDCXX=$lt_cv_path_LD
13726 lt_cv_path_LD=$lt_save_path_LD
13727 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
13728 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
13729 fi # test "$_lt_caught_CXX_error" != yes
13731 ac_ext=c
13732 ac_cpp='$CPP $CPPFLAGS'
13733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13749 ac_config_commands="$ac_config_commands libtool"
13754 # Only expand once:
13760 # Possibly disable most of the library.
13761 ## TODO: Consider skipping unncessary tests altogether in this case, rather
13762 ## than just ignoring the results. Faster /and/ more correct, win win.
13764 # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
13765 if test "${enable_hosted_libstdcxx+set}" = set; then
13766 enableval="$enable_hosted_libstdcxx"
13768 else
13769 case "$host" in
13770 arm*-*-symbianelf*)
13771 enable_hosted_libstdcxx=no
13774 enable_hosted_libstdcxx=yes
13776 esac
13778 if test "$enable_hosted_libstdcxx" = no; then
13779 { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
13780 echo "$as_me: Only freestanding libraries will be built" >&6;}
13781 is_hosted=no
13782 hosted_define=0
13783 enable_abi_check=no
13784 enable_libstdcxx_pch=no
13785 else
13786 is_hosted=yes
13787 hosted_define=1
13791 cat >>confdefs.h <<_ACEOF
13792 #define _GLIBCXX_HOSTED $hosted_define
13793 _ACEOF
13797 # Enable compiler support that doesn't require linking.
13799 echo "$as_me:$LINENO: checking for exception model to use" >&5
13800 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
13803 ac_ext=cc
13804 ac_cpp='$CXXCPP $CPPFLAGS'
13805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13809 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
13810 if test "${enable_sjlj_exceptions+set}" = set; then
13811 enableval="$enable_sjlj_exceptions"
13813 case "$enableval" in
13814 yes|no|auto) ;;
13815 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
13816 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
13817 { (exit 1); exit 1; }; } ;;
13818 esac
13820 else
13821 enable_sjlj_exceptions=auto
13825 if test $enable_sjlj_exceptions = auto; then
13826 # Botheration. Now we've got to detect the exception model. Link tests
13827 # against libgcc.a are problematic since we've not been given proper -L
13828 # bits for single-tree newlib and libgloss.
13830 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
13831 cat > conftest.$ac_ext << EOF
13832 #line 13832 "configure"
13833 struct S { ~S(); };
13834 void bar();
13835 void foo()
13837 S s;
13838 bar();
13841 old_CXXFLAGS="$CXXFLAGS"
13842 CXXFLAGS=-S
13843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13844 (eval $ac_compile) 2>&5
13845 ac_status=$?
13846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13847 (exit $ac_status); }; then
13848 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
13849 enable_sjlj_exceptions=yes
13850 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
13851 enable_sjlj_exceptions=no
13852 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
13853 enable_sjlj_exceptions=no
13856 CXXFLAGS="$old_CXXFLAGS"
13857 rm -f conftest*
13860 # This is a tad weird, for hysterical raisins. We have to map
13861 # enable/disable to two different models.
13862 case $enable_sjlj_exceptions in
13863 yes)
13865 cat >>confdefs.h <<\_ACEOF
13866 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
13867 _ACEOF
13869 ac_exception_model_name=sjlj
13872 ac_exception_model_name="call frame"
13875 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
13876 echo "$as_me: error: unable to detect exception model" >&2;}
13877 { (exit 1); exit 1; }; }
13879 esac
13880 ac_ext=c
13881 ac_cpp='$CPP $CPPFLAGS'
13882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13886 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
13887 echo "${ECHO_T}$ac_exception_model_name" >&6
13890 # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
13891 if test "${enable_libstdcxx_pch+set}" = set; then
13892 enableval="$enable_libstdcxx_pch"
13894 case "$enableval" in
13895 yes|no) ;;
13896 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
13897 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
13898 { (exit 1); exit 1; }; } ;;
13899 esac
13901 else
13902 enable_libstdcxx_pch=$is_hosted
13905 if test $enable_libstdcxx_pch = yes; then
13906 echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
13907 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
13908 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
13909 echo $ECHO_N "(cached) $ECHO_C" >&6
13910 else
13911 ac_save_CXXFLAGS="$CXXFLAGS"
13912 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
13915 ac_ext=cc
13916 ac_cpp='$CXXCPP $CPPFLAGS'
13917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13921 echo '#include <math.h>' > conftest.h
13922 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
13923 -o conftest.h.gch 1>&5 2>&1 &&
13924 echo '#error "pch failed"' > conftest.h &&
13925 echo '#include "conftest.h"' > conftest.cc &&
13926 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
13927 then
13928 glibcxx_cv_prog_CXX_pch=yes
13929 else
13930 glibcxx_cv_prog_CXX_pch=no
13932 rm -f conftest*
13933 CXXFLAGS=$ac_save_CXXFLAGS
13934 ac_ext=c
13935 ac_cpp='$CPP $CPPFLAGS'
13936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13942 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
13943 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
13944 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
13947 echo "$as_me:$LINENO: checking for enabled PCH" >&5
13948 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
13949 echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
13950 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
13953 if test $enable_libstdcxx_pch = yes; then
13954 glibcxx_PCHFLAGS="-include bits/stdc++.h"
13955 else
13956 glibcxx_PCHFLAGS=""
13961 # Enable all the variable C++ runtime options that doesn't require linking.
13963 echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
13964 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
13965 # Check whether --enable-cstdio or --disable-cstdio was given.
13966 if test "${enable_cstdio+set}" = set; then
13967 enableval="$enable_cstdio"
13969 case "$enableval" in
13970 stdio) ;;
13971 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
13972 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
13973 { (exit 1); exit 1; }; } ;;
13974 esac
13976 else
13977 enable_cstdio=stdio
13981 # Now that libio has been removed, you can have any color you want as long
13982 # as it's black. This is one big no-op until other packages are added, but
13983 # showing the framework never hurts.
13984 case ${enable_cstdio} in
13985 stdio)
13986 CSTDIO_H=config/io/c_io_stdio.h
13987 BASIC_FILE_H=config/io/basic_file_stdio.h
13988 BASIC_FILE_CC=config/io/basic_file_stdio.cc
13989 echo "$as_me:$LINENO: result: stdio" >&5
13990 echo "${ECHO_T}stdio" >&6
13992 esac
13999 # Check whether --enable-clocale or --disable-clocale was given.
14000 if test "${enable_clocale+set}" = set; then
14001 enableval="$enable_clocale"
14003 case "$enableval" in
14004 generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
14005 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
14006 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
14007 { (exit 1); exit 1; }; } ;;
14008 esac
14010 else
14011 enable_clocale=auto
14015 # Deal with gettext issues. Default to not using it (=no) until we detect
14016 # support for it later. Let the user turn it off via --e/d, but let that
14017 # default to on for easier handling.
14018 USE_NLS=no
14019 # Check whether --enable-nls or --disable-nls was given.
14020 if test "${enable_nls+set}" = set; then
14021 enableval="$enable_nls"
14023 else
14024 enable_nls=yes
14027 # Either a known packaage, or "auto"
14028 if test $enable_clocale = no || test $enable_clocale = yes; then
14029 enable_clocale=auto
14031 enable_clocale_flag=$enable_clocale
14033 # Probe for locale model to use if none specified.
14034 # Default to "generic".
14035 if test $enable_clocale_flag = auto; then
14036 case ${target_os} in
14037 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
14038 enable_clocale_flag=gnu
14040 darwin* | freebsd*)
14041 enable_clocale_flag=darwin
14044 enable_clocale_flag=generic
14046 esac
14049 # Sanity check model, and test for special functionality.
14050 if test $enable_clocale_flag = gnu; then
14051 cat >conftest.$ac_ext <<_ACEOF
14052 /* confdefs.h. */
14053 _ACEOF
14054 cat confdefs.h >>conftest.$ac_ext
14055 cat >>conftest.$ac_ext <<_ACEOF
14056 /* end confdefs.h. */
14058 #include <features.h>
14059 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
14060 _GLIBCXX_ok
14061 #endif
14063 _ACEOF
14064 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14065 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
14066 enable_clocale_flag=gnu
14067 else
14068 enable_clocale_flag=generic
14070 rm -f conftest*
14073 if test $enable_clocale = auto; then
14074 # Test for bugs early in glibc-2.2.x series
14075 if test "$cross_compiling" = yes; then
14076 enable_clocale_flag=generic
14077 else
14078 cat >conftest.$ac_ext <<_ACEOF
14079 /* confdefs.h. */
14080 _ACEOF
14081 cat confdefs.h >>conftest.$ac_ext
14082 cat >>conftest.$ac_ext <<_ACEOF
14083 /* end confdefs.h. */
14085 #define _GNU_SOURCE 1
14086 #include <locale.h>
14087 #include <string.h>
14088 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
14089 extern __typeof(newlocale) __newlocale;
14090 extern __typeof(duplocale) __duplocale;
14091 extern __typeof(strcoll_l) __strcoll_l;
14092 #endif
14093 int main()
14095 const char __one[] = "Äuglein Augmen";
14096 const char __two[] = "Äuglein";
14097 int i;
14098 int j;
14099 __locale_t loc;
14100 __locale_t loc_dup;
14101 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
14102 loc_dup = __duplocale(loc);
14103 i = __strcoll_l(__one, __two, loc);
14104 j = __strcoll_l(__one, __two, loc_dup);
14105 return 0;
14108 _ACEOF
14109 rm -f conftest$ac_exeext
14110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14111 (eval $ac_link) 2>&5
14112 ac_status=$?
14113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14114 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14116 (eval $ac_try) 2>&5
14117 ac_status=$?
14118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14119 (exit $ac_status); }; }; then
14120 enable_clocale_flag=gnu
14121 else
14122 echo "$as_me: program exited with status $ac_status" >&5
14123 echo "$as_me: failed program was:" >&5
14124 sed 's/^/| /' conftest.$ac_ext >&5
14126 ( exit $ac_status )
14127 enable_clocale_flag=generic
14129 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14133 # Set it to scream when it hurts.
14134 ac_save_CFLAGS="$CFLAGS"
14135 CFLAGS="-Wimplicit-function-declaration -Werror"
14137 # Use strxfrm_l if available.
14138 cat >conftest.$ac_ext <<_ACEOF
14139 /* confdefs.h. */
14140 _ACEOF
14141 cat confdefs.h >>conftest.$ac_ext
14142 cat >>conftest.$ac_ext <<_ACEOF
14143 /* end confdefs.h. */
14144 #define _GNU_SOURCE 1
14145 #include <string.h>
14146 #include <locale.h>
14148 main ()
14150 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
14152 return 0;
14154 _ACEOF
14155 rm -f conftest.$ac_objext
14156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14157 (eval $ac_compile) 2>conftest.er1
14158 ac_status=$?
14159 grep -v '^ *+' conftest.er1 >conftest.err
14160 rm -f conftest.er1
14161 cat conftest.err >&5
14162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14163 (exit $ac_status); } &&
14164 { ac_try='test -z "$ac_c_werror_flag"
14165 || test ! -s conftest.err'
14166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14167 (eval $ac_try) 2>&5
14168 ac_status=$?
14169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14170 (exit $ac_status); }; } &&
14171 { ac_try='test -s conftest.$ac_objext'
14172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14173 (eval $ac_try) 2>&5
14174 ac_status=$?
14175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14176 (exit $ac_status); }; }; then
14178 cat >>confdefs.h <<\_ACEOF
14179 #define HAVE_STRXFRM_L 1
14180 _ACEOF
14182 else
14183 echo "$as_me: failed program was:" >&5
14184 sed 's/^/| /' conftest.$ac_ext >&5
14187 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14189 # Use strerror_l if available.
14190 cat >conftest.$ac_ext <<_ACEOF
14191 /* confdefs.h. */
14192 _ACEOF
14193 cat confdefs.h >>conftest.$ac_ext
14194 cat >>conftest.$ac_ext <<_ACEOF
14195 /* end confdefs.h. */
14196 #define _GNU_SOURCE 1
14197 #include <string.h>
14198 #include <locale.h>
14200 main ()
14202 __locale_t loc; strerror_l(5, loc);
14204 return 0;
14206 _ACEOF
14207 rm -f conftest.$ac_objext
14208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14209 (eval $ac_compile) 2>conftest.er1
14210 ac_status=$?
14211 grep -v '^ *+' conftest.er1 >conftest.err
14212 rm -f conftest.er1
14213 cat conftest.err >&5
14214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14215 (exit $ac_status); } &&
14216 { ac_try='test -z "$ac_c_werror_flag"
14217 || test ! -s conftest.err'
14218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14219 (eval $ac_try) 2>&5
14220 ac_status=$?
14221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14222 (exit $ac_status); }; } &&
14223 { ac_try='test -s conftest.$ac_objext'
14224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14225 (eval $ac_try) 2>&5
14226 ac_status=$?
14227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14228 (exit $ac_status); }; }; then
14230 cat >>confdefs.h <<\_ACEOF
14231 #define HAVE_STRERROR_L 1
14232 _ACEOF
14234 else
14235 echo "$as_me: failed program was:" >&5
14236 sed 's/^/| /' conftest.$ac_ext >&5
14239 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14241 CFLAGS="$ac_save_CFLAGS"
14244 # Perhaps use strerror_r if available, and strerror_l isn't.
14245 ac_save_CFLAGS="$CFLAGS"
14246 CFLAGS="-Wimplicit-function-declaration -Werror"
14247 cat >conftest.$ac_ext <<_ACEOF
14248 /* confdefs.h. */
14249 _ACEOF
14250 cat confdefs.h >>conftest.$ac_ext
14251 cat >>conftest.$ac_ext <<_ACEOF
14252 /* end confdefs.h. */
14253 #define _GNU_SOURCE 1
14254 #include <string.h>
14255 #include <locale.h>
14257 main ()
14259 char s[128]; strerror_r(5, s, 128);
14261 return 0;
14263 _ACEOF
14264 rm -f conftest.$ac_objext
14265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14266 (eval $ac_compile) 2>conftest.er1
14267 ac_status=$?
14268 grep -v '^ *+' conftest.er1 >conftest.err
14269 rm -f conftest.er1
14270 cat conftest.err >&5
14271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14272 (exit $ac_status); } &&
14273 { ac_try='test -z "$ac_c_werror_flag"
14274 || test ! -s conftest.err'
14275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14276 (eval $ac_try) 2>&5
14277 ac_status=$?
14278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14279 (exit $ac_status); }; } &&
14280 { ac_try='test -s conftest.$ac_objext'
14281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14282 (eval $ac_try) 2>&5
14283 ac_status=$?
14284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14285 (exit $ac_status); }; }; then
14287 cat >>confdefs.h <<\_ACEOF
14288 #define HAVE_STRERROR_R 1
14289 _ACEOF
14291 else
14292 echo "$as_me: failed program was:" >&5
14293 sed 's/^/| /' conftest.$ac_ext >&5
14296 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14297 CFLAGS="$ac_save_CFLAGS"
14299 # Set configure bits for specified locale package
14300 echo "$as_me:$LINENO: checking for C locale to use" >&5
14301 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
14302 case ${enable_clocale_flag} in
14303 generic)
14304 echo "$as_me:$LINENO: result: generic" >&5
14305 echo "${ECHO_T}generic" >&6
14307 CLOCALE_H=config/locale/generic/c_locale.h
14308 CLOCALE_CC=config/locale/generic/c_locale.cc
14309 CCODECVT_CC=config/locale/generic/codecvt_members.cc
14310 CCOLLATE_CC=config/locale/generic/collate_members.cc
14311 CCTYPE_CC=config/locale/generic/ctype_members.cc
14312 CMESSAGES_H=config/locale/generic/messages_members.h
14313 CMESSAGES_CC=config/locale/generic/messages_members.cc
14314 CMONEY_CC=config/locale/generic/monetary_members.cc
14315 CNUMERIC_CC=config/locale/generic/numeric_members.cc
14316 CTIME_H=config/locale/generic/time_members.h
14317 CTIME_CC=config/locale/generic/time_members.cc
14318 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
14320 darwin)
14321 echo "$as_me:$LINENO: result: darwin or freebsd" >&5
14322 echo "${ECHO_T}darwin or freebsd" >&6
14324 CLOCALE_H=config/locale/generic/c_locale.h
14325 CLOCALE_CC=config/locale/generic/c_locale.cc
14326 CCODECVT_CC=config/locale/generic/codecvt_members.cc
14327 CCOLLATE_CC=config/locale/generic/collate_members.cc
14328 CCTYPE_CC=config/locale/darwin/ctype_members.cc
14329 CMESSAGES_H=config/locale/generic/messages_members.h
14330 CMESSAGES_CC=config/locale/generic/messages_members.cc
14331 CMONEY_CC=config/locale/generic/monetary_members.cc
14332 CNUMERIC_CC=config/locale/generic/numeric_members.cc
14333 CTIME_H=config/locale/generic/time_members.h
14334 CTIME_CC=config/locale/generic/time_members.cc
14335 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
14338 gnu)
14339 echo "$as_me:$LINENO: result: gnu" >&5
14340 echo "${ECHO_T}gnu" >&6
14342 # Declare intention to use gettext, and add support for specific
14343 # languages.
14344 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
14345 ALL_LINGUAS="de fr"
14347 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
14348 # Extract the first word of "msgfmt", so it can be a program name with args.
14349 set dummy msgfmt; ac_word=$2
14350 echo "$as_me:$LINENO: checking for $ac_word" >&5
14351 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14352 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
14353 echo $ECHO_N "(cached) $ECHO_C" >&6
14354 else
14355 if test -n "$check_msgfmt"; then
14356 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
14357 else
14358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14359 for as_dir in $PATH
14361 IFS=$as_save_IFS
14362 test -z "$as_dir" && as_dir=.
14363 for ac_exec_ext in '' $ac_executable_extensions; do
14364 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14365 ac_cv_prog_check_msgfmt="yes"
14366 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14367 break 2
14369 done
14370 done
14372 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
14375 check_msgfmt=$ac_cv_prog_check_msgfmt
14376 if test -n "$check_msgfmt"; then
14377 echo "$as_me:$LINENO: result: $check_msgfmt" >&5
14378 echo "${ECHO_T}$check_msgfmt" >&6
14379 else
14380 echo "$as_me:$LINENO: result: no" >&5
14381 echo "${ECHO_T}no" >&6
14384 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
14385 USE_NLS=yes
14387 # Export the build objects.
14388 for ling in $ALL_LINGUAS; do \
14389 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
14390 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
14391 done
14395 CLOCALE_H=config/locale/gnu/c_locale.h
14396 CLOCALE_CC=config/locale/gnu/c_locale.cc
14397 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
14398 CCOLLATE_CC=config/locale/gnu/collate_members.cc
14399 CCTYPE_CC=config/locale/gnu/ctype_members.cc
14400 CMESSAGES_H=config/locale/gnu/messages_members.h
14401 CMESSAGES_CC=config/locale/gnu/messages_members.cc
14402 CMONEY_CC=config/locale/gnu/monetary_members.cc
14403 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
14404 CTIME_H=config/locale/gnu/time_members.h
14405 CTIME_CC=config/locale/gnu/time_members.cc
14406 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
14408 ieee_1003.1-2001)
14409 echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
14410 echo "${ECHO_T}IEEE 1003.1" >&6
14412 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
14413 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
14414 CCODECVT_CC=config/locale/generic/codecvt_members.cc
14415 CCOLLATE_CC=config/locale/generic/collate_members.cc
14416 CCTYPE_CC=config/locale/generic/ctype_members.cc
14417 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
14418 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
14419 CMONEY_CC=config/locale/generic/monetary_members.cc
14420 CNUMERIC_CC=config/locale/generic/numeric_members.cc
14421 CTIME_H=config/locale/generic/time_members.h
14422 CTIME_CC=config/locale/generic/time_members.cc
14423 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
14425 esac
14427 # This is where the testsuite looks for locale catalogs, using the
14428 # -DLOCALEDIR define during testsuite compilation.
14429 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
14432 # A standalone libintl (e.g., GNU libintl) may be in use.
14433 if test $USE_NLS = yes; then
14435 for ac_header in libintl.h
14437 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14438 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14439 echo "$as_me:$LINENO: checking for $ac_header" >&5
14440 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14441 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14442 echo $ECHO_N "(cached) $ECHO_C" >&6
14444 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14445 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14446 else
14447 # Is the header compilable?
14448 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14449 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14450 cat >conftest.$ac_ext <<_ACEOF
14451 /* confdefs.h. */
14452 _ACEOF
14453 cat confdefs.h >>conftest.$ac_ext
14454 cat >>conftest.$ac_ext <<_ACEOF
14455 /* end confdefs.h. */
14456 $ac_includes_default
14457 #include <$ac_header>
14458 _ACEOF
14459 rm -f conftest.$ac_objext
14460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14461 (eval $ac_compile) 2>conftest.er1
14462 ac_status=$?
14463 grep -v '^ *+' conftest.er1 >conftest.err
14464 rm -f conftest.er1
14465 cat conftest.err >&5
14466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14467 (exit $ac_status); } &&
14468 { ac_try='test -z "$ac_c_werror_flag"
14469 || test ! -s conftest.err'
14470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14471 (eval $ac_try) 2>&5
14472 ac_status=$?
14473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14474 (exit $ac_status); }; } &&
14475 { ac_try='test -s conftest.$ac_objext'
14476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14477 (eval $ac_try) 2>&5
14478 ac_status=$?
14479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14480 (exit $ac_status); }; }; then
14481 ac_header_compiler=yes
14482 else
14483 echo "$as_me: failed program was:" >&5
14484 sed 's/^/| /' conftest.$ac_ext >&5
14486 ac_header_compiler=no
14488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14489 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14490 echo "${ECHO_T}$ac_header_compiler" >&6
14492 # Is the header present?
14493 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14494 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14495 cat >conftest.$ac_ext <<_ACEOF
14496 /* confdefs.h. */
14497 _ACEOF
14498 cat confdefs.h >>conftest.$ac_ext
14499 cat >>conftest.$ac_ext <<_ACEOF
14500 /* end confdefs.h. */
14501 #include <$ac_header>
14502 _ACEOF
14503 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14504 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14505 ac_status=$?
14506 grep -v '^ *+' conftest.er1 >conftest.err
14507 rm -f conftest.er1
14508 cat conftest.err >&5
14509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14510 (exit $ac_status); } >/dev/null; then
14511 if test -s conftest.err; then
14512 ac_cpp_err=$ac_c_preproc_warn_flag
14513 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14514 else
14515 ac_cpp_err=
14517 else
14518 ac_cpp_err=yes
14520 if test -z "$ac_cpp_err"; then
14521 ac_header_preproc=yes
14522 else
14523 echo "$as_me: failed program was:" >&5
14524 sed 's/^/| /' conftest.$ac_ext >&5
14526 ac_header_preproc=no
14528 rm -f conftest.err conftest.$ac_ext
14529 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14530 echo "${ECHO_T}$ac_header_preproc" >&6
14532 # So? What about this header?
14533 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14534 yes:no: )
14535 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14536 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14537 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14538 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14539 ac_header_preproc=yes
14541 no:yes:* )
14542 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14543 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14544 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14545 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14546 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14547 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14548 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14549 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14550 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14551 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14552 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14553 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14555 cat <<\_ASBOX
14556 ## ----------------------------------------- ##
14557 ## Report this to the package-unused lists. ##
14558 ## ----------------------------------------- ##
14559 _ASBOX
14561 sed "s/^/$as_me: WARNING: /" >&2
14563 esac
14564 echo "$as_me:$LINENO: checking for $ac_header" >&5
14565 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14566 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14567 echo $ECHO_N "(cached) $ECHO_C" >&6
14568 else
14569 eval "$as_ac_Header=\$ac_header_preproc"
14571 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14572 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14575 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14576 cat >>confdefs.h <<_ACEOF
14577 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14578 _ACEOF
14580 else
14581 USE_NLS=no
14584 done
14586 echo "$as_me:$LINENO: checking for library containing gettext" >&5
14587 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
14588 if test "${ac_cv_search_gettext+set}" = set; then
14589 echo $ECHO_N "(cached) $ECHO_C" >&6
14590 else
14591 ac_func_search_save_LIBS=$LIBS
14592 ac_cv_search_gettext=no
14593 if test x$gcc_no_link = xyes; then
14594 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14595 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14596 { (exit 1); exit 1; }; }
14598 cat >conftest.$ac_ext <<_ACEOF
14599 /* confdefs.h. */
14600 _ACEOF
14601 cat confdefs.h >>conftest.$ac_ext
14602 cat >>conftest.$ac_ext <<_ACEOF
14603 /* end confdefs.h. */
14605 /* Override any gcc2 internal prototype to avoid an error. */
14606 #ifdef __cplusplus
14607 extern "C"
14608 #endif
14609 /* We use char because int might match the return type of a gcc2
14610 builtin and then its argument prototype would still apply. */
14611 char gettext ();
14613 main ()
14615 gettext ();
14617 return 0;
14619 _ACEOF
14620 rm -f conftest.$ac_objext conftest$ac_exeext
14621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14622 (eval $ac_link) 2>conftest.er1
14623 ac_status=$?
14624 grep -v '^ *+' conftest.er1 >conftest.err
14625 rm -f conftest.er1
14626 cat conftest.err >&5
14627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14628 (exit $ac_status); } &&
14629 { ac_try='test -z "$ac_c_werror_flag"
14630 || test ! -s conftest.err'
14631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14632 (eval $ac_try) 2>&5
14633 ac_status=$?
14634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14635 (exit $ac_status); }; } &&
14636 { ac_try='test -s conftest$ac_exeext'
14637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14638 (eval $ac_try) 2>&5
14639 ac_status=$?
14640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14641 (exit $ac_status); }; }; then
14642 ac_cv_search_gettext="none required"
14643 else
14644 echo "$as_me: failed program was:" >&5
14645 sed 's/^/| /' conftest.$ac_ext >&5
14648 rm -f conftest.err conftest.$ac_objext \
14649 conftest$ac_exeext conftest.$ac_ext
14650 if test "$ac_cv_search_gettext" = no; then
14651 for ac_lib in intl; do
14652 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14653 if test x$gcc_no_link = xyes; then
14654 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14655 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14656 { (exit 1); exit 1; }; }
14658 cat >conftest.$ac_ext <<_ACEOF
14659 /* confdefs.h. */
14660 _ACEOF
14661 cat confdefs.h >>conftest.$ac_ext
14662 cat >>conftest.$ac_ext <<_ACEOF
14663 /* end confdefs.h. */
14665 /* Override any gcc2 internal prototype to avoid an error. */
14666 #ifdef __cplusplus
14667 extern "C"
14668 #endif
14669 /* We use char because int might match the return type of a gcc2
14670 builtin and then its argument prototype would still apply. */
14671 char gettext ();
14673 main ()
14675 gettext ();
14677 return 0;
14679 _ACEOF
14680 rm -f conftest.$ac_objext conftest$ac_exeext
14681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14682 (eval $ac_link) 2>conftest.er1
14683 ac_status=$?
14684 grep -v '^ *+' conftest.er1 >conftest.err
14685 rm -f conftest.er1
14686 cat conftest.err >&5
14687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14688 (exit $ac_status); } &&
14689 { ac_try='test -z "$ac_c_werror_flag"
14690 || test ! -s conftest.err'
14691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14692 (eval $ac_try) 2>&5
14693 ac_status=$?
14694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14695 (exit $ac_status); }; } &&
14696 { ac_try='test -s conftest$ac_exeext'
14697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14698 (eval $ac_try) 2>&5
14699 ac_status=$?
14700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14701 (exit $ac_status); }; }; then
14702 ac_cv_search_gettext="-l$ac_lib"
14703 break
14704 else
14705 echo "$as_me: failed program was:" >&5
14706 sed 's/^/| /' conftest.$ac_ext >&5
14709 rm -f conftest.err conftest.$ac_objext \
14710 conftest$ac_exeext conftest.$ac_ext
14711 done
14713 LIBS=$ac_func_search_save_LIBS
14715 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
14716 echo "${ECHO_T}$ac_cv_search_gettext" >&6
14717 if test "$ac_cv_search_gettext" != no; then
14718 test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
14720 else
14721 USE_NLS=no
14725 if test $USE_NLS = yes; then
14727 cat >>confdefs.h <<\_ACEOF
14728 #define _GLIBCXX_USE_NLS 1
14729 _ACEOF
14748 echo "$as_me:$LINENO: checking for std::allocator base class" >&5
14749 echo $ECHO_N "checking for std::allocator base class... $ECHO_C" >&6
14750 # Check whether --enable-libstdcxx-allocator or --disable-libstdcxx-allocator was given.
14751 if test "${enable_libstdcxx_allocator+set}" = set; then
14752 enableval="$enable_libstdcxx_allocator"
14754 case "$enableval" in
14755 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
14756 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-allocator" >&5
14757 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-allocator" >&2;}
14758 { (exit 1); exit 1; }; } ;;
14759 esac
14761 else
14762 enable_libstdcxx_allocator=auto
14766 # If they didn't use this option switch, or if they specified --enable
14767 # with no specific model, we'll have to look for one. If they
14768 # specified --disable (???), do likewise.
14769 if test $enable_libstdcxx_allocator = no ||
14770 test $enable_libstdcxx_allocator = yes;
14771 then
14772 enable_libstdcxx_allocator=auto
14775 # Either a known package, or "auto". Auto implies the default choice
14776 # for a particular platform.
14777 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
14779 # Probe for host-specific support if no specific model is specified.
14780 # Default to "new".
14781 if test $enable_libstdcxx_allocator_flag = auto; then
14782 case ${target_os} in
14783 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
14784 enable_libstdcxx_allocator_flag=new
14787 enable_libstdcxx_allocator_flag=new
14789 esac
14791 echo "$as_me:$LINENO: result: $enable_libstdcxx_allocator_flag" >&5
14792 echo "${ECHO_T}$enable_libstdcxx_allocator_flag" >&6
14795 # Set configure bits for specified locale package
14796 case ${enable_libstdcxx_allocator_flag} in
14797 bitmap)
14798 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
14799 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
14801 malloc)
14802 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
14803 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
14806 ALLOCATOR_H=config/allocator/mt_allocator_base.h
14807 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
14809 new)
14810 ALLOCATOR_H=config/allocator/new_allocator_base.h
14811 ALLOCATOR_NAME=__gnu_cxx::new_allocator
14813 pool)
14814 ALLOCATOR_H=config/allocator/pool_allocator_base.h
14815 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
14817 esac
14823 # Check whether --enable-cheaders or --disable-cheaders was given.
14824 if test "${enable_cheaders+set}" = set; then
14825 enableval="$enable_cheaders"
14827 case "$enableval" in
14828 c|c_std|c_global) ;;
14829 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
14830 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
14831 { (exit 1); exit 1; }; } ;;
14832 esac
14834 else
14835 enable_cheaders=$c_model
14838 { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
14839 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
14841 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
14843 # Allow overrides to configure.host here.
14844 if test $enable_cheaders = c_global; then
14845 c_compatibility=yes
14848 if test $enable_cheaders = c_global || test $enable_cheaders = c_std; then
14849 c_extra=yes
14859 # Check whether --enable-long-long or --disable-long-long was given.
14860 if test "${enable_long_long+set}" = set; then
14861 enableval="$enable_long_long"
14863 case "$enableval" in
14864 yes|no) ;;
14865 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
14866 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
14867 { (exit 1); exit 1; }; } ;;
14868 esac
14870 else
14871 enable_long_long=yes
14874 if test $enable_long_long = yes; then
14876 cat >>confdefs.h <<\_ACEOF
14877 #define _GLIBCXX_USE_LONG_LONG 1
14878 _ACEOF
14881 echo "$as_me:$LINENO: checking for enabled long long specializations" >&5
14882 echo $ECHO_N "checking for enabled long long specializations... $ECHO_C" >&6
14883 echo "$as_me:$LINENO: result: $enable_long_long" >&5
14884 echo "${ECHO_T}$enable_long_long" >&6
14887 # Check whether --enable-wchar_t or --disable-wchar_t was given.
14888 if test "${enable_wchar_t+set}" = set; then
14889 enableval="$enable_wchar_t"
14891 case "$enableval" in
14892 yes|no) ;;
14893 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable wchar_t must be yes or no" >&5
14894 echo "$as_me: error: Argument to enable/disable wchar_t must be yes or no" >&2;}
14895 { (exit 1); exit 1; }; } ;;
14896 esac
14898 else
14899 enable_wchar_t=yes
14903 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
14905 for ac_header in wchar.h
14907 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14908 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14909 echo "$as_me:$LINENO: checking for $ac_header" >&5
14910 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14911 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14912 echo $ECHO_N "(cached) $ECHO_C" >&6
14914 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14915 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14916 else
14917 # Is the header compilable?
14918 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14919 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14920 cat >conftest.$ac_ext <<_ACEOF
14921 /* confdefs.h. */
14922 _ACEOF
14923 cat confdefs.h >>conftest.$ac_ext
14924 cat >>conftest.$ac_ext <<_ACEOF
14925 /* end confdefs.h. */
14926 $ac_includes_default
14927 #include <$ac_header>
14928 _ACEOF
14929 rm -f conftest.$ac_objext
14930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14931 (eval $ac_compile) 2>conftest.er1
14932 ac_status=$?
14933 grep -v '^ *+' conftest.er1 >conftest.err
14934 rm -f conftest.er1
14935 cat conftest.err >&5
14936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14937 (exit $ac_status); } &&
14938 { ac_try='test -z "$ac_c_werror_flag"
14939 || test ! -s conftest.err'
14940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14941 (eval $ac_try) 2>&5
14942 ac_status=$?
14943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14944 (exit $ac_status); }; } &&
14945 { ac_try='test -s conftest.$ac_objext'
14946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14947 (eval $ac_try) 2>&5
14948 ac_status=$?
14949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14950 (exit $ac_status); }; }; then
14951 ac_header_compiler=yes
14952 else
14953 echo "$as_me: failed program was:" >&5
14954 sed 's/^/| /' conftest.$ac_ext >&5
14956 ac_header_compiler=no
14958 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14959 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14960 echo "${ECHO_T}$ac_header_compiler" >&6
14962 # Is the header present?
14963 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14964 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14965 cat >conftest.$ac_ext <<_ACEOF
14966 /* confdefs.h. */
14967 _ACEOF
14968 cat confdefs.h >>conftest.$ac_ext
14969 cat >>conftest.$ac_ext <<_ACEOF
14970 /* end confdefs.h. */
14971 #include <$ac_header>
14972 _ACEOF
14973 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14974 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14975 ac_status=$?
14976 grep -v '^ *+' conftest.er1 >conftest.err
14977 rm -f conftest.er1
14978 cat conftest.err >&5
14979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14980 (exit $ac_status); } >/dev/null; then
14981 if test -s conftest.err; then
14982 ac_cpp_err=$ac_c_preproc_warn_flag
14983 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14984 else
14985 ac_cpp_err=
14987 else
14988 ac_cpp_err=yes
14990 if test -z "$ac_cpp_err"; then
14991 ac_header_preproc=yes
14992 else
14993 echo "$as_me: failed program was:" >&5
14994 sed 's/^/| /' conftest.$ac_ext >&5
14996 ac_header_preproc=no
14998 rm -f conftest.err conftest.$ac_ext
14999 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15000 echo "${ECHO_T}$ac_header_preproc" >&6
15002 # So? What about this header?
15003 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15004 yes:no: )
15005 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15006 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15007 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15008 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15009 ac_header_preproc=yes
15011 no:yes:* )
15012 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15013 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15014 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15015 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15016 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15017 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15018 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15019 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15020 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15021 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15022 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15023 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15025 cat <<\_ASBOX
15026 ## ----------------------------------------- ##
15027 ## Report this to the package-unused lists. ##
15028 ## ----------------------------------------- ##
15029 _ASBOX
15031 sed "s/^/$as_me: WARNING: /" >&2
15033 esac
15034 echo "$as_me:$LINENO: checking for $ac_header" >&5
15035 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15036 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15037 echo $ECHO_N "(cached) $ECHO_C" >&6
15038 else
15039 eval "$as_ac_Header=\$ac_header_preproc"
15041 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15042 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15045 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15046 cat >>confdefs.h <<_ACEOF
15047 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15048 _ACEOF
15049 ac_has_wchar_h=yes
15050 else
15051 ac_has_wchar_h=no
15054 done
15056 echo "$as_me:$LINENO: checking for mbstate_t" >&5
15057 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
15058 cat >conftest.$ac_ext <<_ACEOF
15059 /* confdefs.h. */
15060 _ACEOF
15061 cat confdefs.h >>conftest.$ac_ext
15062 cat >>conftest.$ac_ext <<_ACEOF
15063 /* end confdefs.h. */
15064 #include <wchar.h>
15066 main ()
15068 mbstate_t teststate;
15070 return 0;
15072 _ACEOF
15073 rm -f conftest.$ac_objext
15074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15075 (eval $ac_compile) 2>conftest.er1
15076 ac_status=$?
15077 grep -v '^ *+' conftest.er1 >conftest.err
15078 rm -f conftest.er1
15079 cat conftest.err >&5
15080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15081 (exit $ac_status); } &&
15082 { ac_try='test -z "$ac_c_werror_flag"
15083 || test ! -s conftest.err'
15084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15085 (eval $ac_try) 2>&5
15086 ac_status=$?
15087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15088 (exit $ac_status); }; } &&
15089 { ac_try='test -s conftest.$ac_objext'
15090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15091 (eval $ac_try) 2>&5
15092 ac_status=$?
15093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15094 (exit $ac_status); }; }; then
15095 have_mbstate_t=yes
15096 else
15097 echo "$as_me: failed program was:" >&5
15098 sed 's/^/| /' conftest.$ac_ext >&5
15100 have_mbstate_t=no
15102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15103 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
15104 echo "${ECHO_T}$have_mbstate_t" >&6
15105 if test x"$have_mbstate_t" = xyes; then
15107 cat >>confdefs.h <<\_ACEOF
15108 #define HAVE_MBSTATE_T 1
15109 _ACEOF
15113 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
15114 # ac_has_wchar_h.
15116 for ac_header in wctype.h
15118 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15119 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15120 echo "$as_me:$LINENO: checking for $ac_header" >&5
15121 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15122 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15123 echo $ECHO_N "(cached) $ECHO_C" >&6
15125 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15126 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15127 else
15128 # Is the header compilable?
15129 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15130 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15131 cat >conftest.$ac_ext <<_ACEOF
15132 /* confdefs.h. */
15133 _ACEOF
15134 cat confdefs.h >>conftest.$ac_ext
15135 cat >>conftest.$ac_ext <<_ACEOF
15136 /* end confdefs.h. */
15137 $ac_includes_default
15138 #include <$ac_header>
15139 _ACEOF
15140 rm -f conftest.$ac_objext
15141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15142 (eval $ac_compile) 2>conftest.er1
15143 ac_status=$?
15144 grep -v '^ *+' conftest.er1 >conftest.err
15145 rm -f conftest.er1
15146 cat conftest.err >&5
15147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15148 (exit $ac_status); } &&
15149 { ac_try='test -z "$ac_c_werror_flag"
15150 || test ! -s conftest.err'
15151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15152 (eval $ac_try) 2>&5
15153 ac_status=$?
15154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15155 (exit $ac_status); }; } &&
15156 { ac_try='test -s conftest.$ac_objext'
15157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15158 (eval $ac_try) 2>&5
15159 ac_status=$?
15160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15161 (exit $ac_status); }; }; then
15162 ac_header_compiler=yes
15163 else
15164 echo "$as_me: failed program was:" >&5
15165 sed 's/^/| /' conftest.$ac_ext >&5
15167 ac_header_compiler=no
15169 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15170 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15171 echo "${ECHO_T}$ac_header_compiler" >&6
15173 # Is the header present?
15174 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15175 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15176 cat >conftest.$ac_ext <<_ACEOF
15177 /* confdefs.h. */
15178 _ACEOF
15179 cat confdefs.h >>conftest.$ac_ext
15180 cat >>conftest.$ac_ext <<_ACEOF
15181 /* end confdefs.h. */
15182 #include <$ac_header>
15183 _ACEOF
15184 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15185 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15186 ac_status=$?
15187 grep -v '^ *+' conftest.er1 >conftest.err
15188 rm -f conftest.er1
15189 cat conftest.err >&5
15190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15191 (exit $ac_status); } >/dev/null; then
15192 if test -s conftest.err; then
15193 ac_cpp_err=$ac_c_preproc_warn_flag
15194 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15195 else
15196 ac_cpp_err=
15198 else
15199 ac_cpp_err=yes
15201 if test -z "$ac_cpp_err"; then
15202 ac_header_preproc=yes
15203 else
15204 echo "$as_me: failed program was:" >&5
15205 sed 's/^/| /' conftest.$ac_ext >&5
15207 ac_header_preproc=no
15209 rm -f conftest.err conftest.$ac_ext
15210 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15211 echo "${ECHO_T}$ac_header_preproc" >&6
15213 # So? What about this header?
15214 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15215 yes:no: )
15216 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15217 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15218 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15219 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15220 ac_header_preproc=yes
15222 no:yes:* )
15223 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15224 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15225 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15226 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15227 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15228 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15229 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15230 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15231 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15232 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15233 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15234 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15236 cat <<\_ASBOX
15237 ## ----------------------------------------- ##
15238 ## Report this to the package-unused lists. ##
15239 ## ----------------------------------------- ##
15240 _ASBOX
15242 sed "s/^/$as_me: WARNING: /" >&2
15244 esac
15245 echo "$as_me:$LINENO: checking for $ac_header" >&5
15246 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15247 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15248 echo $ECHO_N "(cached) $ECHO_C" >&6
15249 else
15250 eval "$as_ac_Header=\$ac_header_preproc"
15252 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15253 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15256 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15257 cat >>confdefs.h <<_ACEOF
15258 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15259 _ACEOF
15260 ac_has_wctype_h=yes
15261 else
15262 ac_has_wctype_h=no
15265 done
15268 if test x"$enable_wchar_t" = x"yes"; then
15272 ac_ext=cc
15273 ac_cpp='$CXXCPP $CPPFLAGS'
15274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15279 if test x"$ac_has_wchar_h" = xyes &&
15280 test x"$ac_has_wctype_h" = xyes; then
15281 cat >conftest.$ac_ext <<_ACEOF
15282 /* confdefs.h. */
15283 _ACEOF
15284 cat confdefs.h >>conftest.$ac_ext
15285 cat >>conftest.$ac_ext <<_ACEOF
15286 /* end confdefs.h. */
15287 #include <wchar.h>
15288 #include <stddef.h>
15289 wint_t i;
15290 long l = WEOF;
15291 long j = WCHAR_MIN;
15292 long k = WCHAR_MAX;
15293 namespace test
15295 using ::btowc;
15296 using ::fgetwc;
15297 using ::fgetws;
15298 using ::fputwc;
15299 using ::fputws;
15300 using ::fwide;
15301 using ::fwprintf;
15302 using ::fwscanf;
15303 using ::getwc;
15304 using ::getwchar;
15305 using ::mbrlen;
15306 using ::mbrtowc;
15307 using ::mbsinit;
15308 using ::mbsrtowcs;
15309 using ::putwc;
15310 using ::putwchar;
15311 using ::swprintf;
15312 using ::swscanf;
15313 using ::ungetwc;
15314 using ::vfwprintf;
15315 using ::vswprintf;
15316 using ::vwprintf;
15317 using ::wcrtomb;
15318 using ::wcscat;
15319 using ::wcschr;
15320 using ::wcscmp;
15321 using ::wcscoll;
15322 using ::wcscpy;
15323 using ::wcscspn;
15324 using ::wcsftime;
15325 using ::wcslen;
15326 using ::wcsncat;
15327 using ::wcsncmp;
15328 using ::wcsncpy;
15329 using ::wcspbrk;
15330 using ::wcsrchr;
15331 using ::wcsrtombs;
15332 using ::wcsspn;
15333 using ::wcsstr;
15334 using ::wcstod;
15335 using ::wcstok;
15336 using ::wcstol;
15337 using ::wcstoul;
15338 using ::wcsxfrm;
15339 using ::wctob;
15340 using ::wmemchr;
15341 using ::wmemcmp;
15342 using ::wmemcpy;
15343 using ::wmemmove;
15344 using ::wmemset;
15345 using ::wprintf;
15346 using ::wscanf;
15350 main ()
15354 return 0;
15356 _ACEOF
15357 rm -f conftest.$ac_objext
15358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15359 (eval $ac_compile) 2>conftest.er1
15360 ac_status=$?
15361 grep -v '^ *+' conftest.er1 >conftest.err
15362 rm -f conftest.er1
15363 cat conftest.err >&5
15364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15365 (exit $ac_status); } &&
15366 { ac_try='test -z "$ac_cxx_werror_flag"
15367 || test ! -s conftest.err'
15368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15369 (eval $ac_try) 2>&5
15370 ac_status=$?
15371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15372 (exit $ac_status); }; } &&
15373 { ac_try='test -s conftest.$ac_objext'
15374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15375 (eval $ac_try) 2>&5
15376 ac_status=$?
15377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15378 (exit $ac_status); }; }; then
15380 else
15381 echo "$as_me: failed program was:" >&5
15382 sed 's/^/| /' conftest.$ac_ext >&5
15384 enable_wchar_t=no
15386 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15387 else
15388 enable_wchar_t=no
15391 ac_ext=c
15392 ac_cpp='$CPP $CPPFLAGS'
15393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15399 if test x"$enable_wchar_t" = x"yes"; then
15401 cat >>confdefs.h <<\_ACEOF
15402 #define _GLIBCXX_USE_WCHAR_T 1
15403 _ACEOF
15407 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
15408 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
15409 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
15410 echo "${ECHO_T}$enable_wchar_t" >&6
15414 # Check whether --enable-c99 or --disable-c99 was given.
15415 if test "${enable_c99+set}" = set; then
15416 enableval="$enable_c99"
15418 case "$enableval" in
15419 yes|no) ;;
15420 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
15421 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
15422 { (exit 1); exit 1; }; } ;;
15423 esac
15425 else
15426 enable_c99=yes
15430 if test x"$enable_c99" = x"yes"; then
15434 ac_ext=cc
15435 ac_cpp='$CXXCPP $CPPFLAGS'
15436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15441 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
15442 # undefined and fake C99 facilities - like pre-standard snprintf - may be
15443 # spuriously enabled.
15444 # Long term, -std=c++0x could be even better, could manage to explicitely
15445 # request C99 facilities to the underlying C headers.
15446 ac_save_CXXFLAGS="$CXXFLAGS"
15447 CXXFLAGS="$CXXFLAGS -std=c++98"
15448 ac_save_LIBS="$LIBS"
15449 ac_save_gcc_no_link="$gcc_no_link"
15451 if test x$gcc_no_link != xyes; then
15452 # Use -fno-exceptions to that the C driver can link these tests without
15453 # hitting undefined references to personality routines.
15454 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15455 echo "$as_me:$LINENO: checking for sin in -lm" >&5
15456 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
15457 if test "${ac_cv_lib_m_sin+set}" = set; then
15458 echo $ECHO_N "(cached) $ECHO_C" >&6
15459 else
15460 ac_check_lib_save_LIBS=$LIBS
15461 LIBS="-lm $LIBS"
15462 if test x$gcc_no_link = xyes; then
15463 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15464 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15465 { (exit 1); exit 1; }; }
15467 cat >conftest.$ac_ext <<_ACEOF
15468 /* confdefs.h. */
15469 _ACEOF
15470 cat confdefs.h >>conftest.$ac_ext
15471 cat >>conftest.$ac_ext <<_ACEOF
15472 /* end confdefs.h. */
15474 /* Override any gcc2 internal prototype to avoid an error. */
15475 #ifdef __cplusplus
15476 extern "C"
15477 #endif
15478 /* We use char because int might match the return type of a gcc2
15479 builtin and then its argument prototype would still apply. */
15480 char sin ();
15482 main ()
15484 sin ();
15486 return 0;
15488 _ACEOF
15489 rm -f conftest.$ac_objext conftest$ac_exeext
15490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15491 (eval $ac_link) 2>conftest.er1
15492 ac_status=$?
15493 grep -v '^ *+' conftest.er1 >conftest.err
15494 rm -f conftest.er1
15495 cat conftest.err >&5
15496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15497 (exit $ac_status); } &&
15498 { ac_try='test -z "$ac_cxx_werror_flag"
15499 || test ! -s conftest.err'
15500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15501 (eval $ac_try) 2>&5
15502 ac_status=$?
15503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15504 (exit $ac_status); }; } &&
15505 { ac_try='test -s conftest$ac_exeext'
15506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15507 (eval $ac_try) 2>&5
15508 ac_status=$?
15509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15510 (exit $ac_status); }; }; then
15511 ac_cv_lib_m_sin=yes
15512 else
15513 echo "$as_me: failed program was:" >&5
15514 sed 's/^/| /' conftest.$ac_ext >&5
15516 ac_cv_lib_m_sin=no
15518 rm -f conftest.err conftest.$ac_objext \
15519 conftest$ac_exeext conftest.$ac_ext
15520 LIBS=$ac_check_lib_save_LIBS
15522 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
15523 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
15524 if test $ac_cv_lib_m_sin = yes; then
15526 LIBS="$LIBS -lm"
15528 else
15530 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
15531 gcc_no_link=yes
15537 # Check for the existence of <math.h> functions used if C99 is enabled.
15538 echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
15539 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
15540 if test "${ac_c99_math+set}" = set; then
15541 echo $ECHO_N "(cached) $ECHO_C" >&6
15542 else
15544 if test x$gcc_no_link = xyes; then
15545 cat >conftest.$ac_ext <<_ACEOF
15546 /* confdefs.h. */
15547 _ACEOF
15548 cat confdefs.h >>conftest.$ac_ext
15549 cat >>conftest.$ac_ext <<_ACEOF
15550 /* end confdefs.h. */
15551 #include <math.h>
15552 volatile double d1, d2;
15553 volatile int i;
15555 main ()
15557 i = fpclassify(d1);
15558 i = isfinite(d1);
15559 i = isinf(d1);
15560 i = isnan(d1);
15561 i = isnormal(d1);
15562 i = signbit(d1);
15563 i = isgreater(d1, d2);
15564 i = isgreaterequal(d1, d2);
15565 i = isless(d1, d2);
15566 i = islessequal(d1, d2);
15567 i = islessgreater(d1, d2);
15568 i = islessgreater(d1, d2);
15569 i = isunordered(d1, d2);
15572 return 0;
15574 _ACEOF
15575 rm -f conftest.$ac_objext
15576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15577 (eval $ac_compile) 2>conftest.er1
15578 ac_status=$?
15579 grep -v '^ *+' conftest.er1 >conftest.err
15580 rm -f conftest.er1
15581 cat conftest.err >&5
15582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15583 (exit $ac_status); } &&
15584 { ac_try='test -z "$ac_cxx_werror_flag"
15585 || test ! -s conftest.err'
15586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15587 (eval $ac_try) 2>&5
15588 ac_status=$?
15589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15590 (exit $ac_status); }; } &&
15591 { ac_try='test -s conftest.$ac_objext'
15592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15593 (eval $ac_try) 2>&5
15594 ac_status=$?
15595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15596 (exit $ac_status); }; }; then
15597 ac_c99_math=yes
15598 else
15599 echo "$as_me: failed program was:" >&5
15600 sed 's/^/| /' conftest.$ac_ext >&5
15602 ac_c99_math=no
15604 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15605 else
15606 if test x$gcc_no_link = xyes; then
15607 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15608 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15609 { (exit 1); exit 1; }; }
15611 cat >conftest.$ac_ext <<_ACEOF
15612 /* confdefs.h. */
15613 _ACEOF
15614 cat confdefs.h >>conftest.$ac_ext
15615 cat >>conftest.$ac_ext <<_ACEOF
15616 /* end confdefs.h. */
15617 #include <math.h>
15618 volatile double d1, d2;
15619 volatile int i;
15621 main ()
15623 i = fpclassify(d1);
15624 i = isfinite(d1);
15625 i = isinf(d1);
15626 i = isnan(d1);
15627 i = isnormal(d1);
15628 i = signbit(d1);
15629 i = isgreater(d1, d2);
15630 i = isgreaterequal(d1, d2);
15631 i = isless(d1, d2);
15632 i = islessequal(d1, d2);
15633 i = islessgreater(d1, d2);
15634 i = islessgreater(d1, d2);
15635 i = isunordered(d1, d2);
15638 return 0;
15640 _ACEOF
15641 rm -f conftest.$ac_objext conftest$ac_exeext
15642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15643 (eval $ac_link) 2>conftest.er1
15644 ac_status=$?
15645 grep -v '^ *+' conftest.er1 >conftest.err
15646 rm -f conftest.er1
15647 cat conftest.err >&5
15648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15649 (exit $ac_status); } &&
15650 { ac_try='test -z "$ac_cxx_werror_flag"
15651 || test ! -s conftest.err'
15652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15653 (eval $ac_try) 2>&5
15654 ac_status=$?
15655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15656 (exit $ac_status); }; } &&
15657 { ac_try='test -s conftest$ac_exeext'
15658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15659 (eval $ac_try) 2>&5
15660 ac_status=$?
15661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15662 (exit $ac_status); }; }; then
15663 ac_c99_math=yes
15664 else
15665 echo "$as_me: failed program was:" >&5
15666 sed 's/^/| /' conftest.$ac_ext >&5
15668 ac_c99_math=no
15670 rm -f conftest.err conftest.$ac_objext \
15671 conftest$ac_exeext conftest.$ac_ext
15676 echo "$as_me:$LINENO: result: $ac_c99_math" >&5
15677 echo "${ECHO_T}$ac_c99_math" >&6
15678 if test x"$ac_c99_math" = x"yes"; then
15680 cat >>confdefs.h <<\_ACEOF
15681 #define _GLIBCXX_USE_C99_MATH 1
15682 _ACEOF
15686 # Check for the existence of <complex.h> complex math functions.
15687 # This is necessary even though libstdc++ uses the builtin versions
15688 # of these functions, because if the builtin cannot be used, a reference
15689 # to the library function is emitted.
15691 for ac_header in tgmath.h
15693 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15694 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15695 echo "$as_me:$LINENO: checking for $ac_header" >&5
15696 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15697 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15698 echo $ECHO_N "(cached) $ECHO_C" >&6
15700 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15701 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15702 else
15703 # Is the header compilable?
15704 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15705 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15706 cat >conftest.$ac_ext <<_ACEOF
15707 /* confdefs.h. */
15708 _ACEOF
15709 cat confdefs.h >>conftest.$ac_ext
15710 cat >>conftest.$ac_ext <<_ACEOF
15711 /* end confdefs.h. */
15712 $ac_includes_default
15713 #include <$ac_header>
15714 _ACEOF
15715 rm -f conftest.$ac_objext
15716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15717 (eval $ac_compile) 2>conftest.er1
15718 ac_status=$?
15719 grep -v '^ *+' conftest.er1 >conftest.err
15720 rm -f conftest.er1
15721 cat conftest.err >&5
15722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15723 (exit $ac_status); } &&
15724 { ac_try='test -z "$ac_cxx_werror_flag"
15725 || test ! -s conftest.err'
15726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15727 (eval $ac_try) 2>&5
15728 ac_status=$?
15729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15730 (exit $ac_status); }; } &&
15731 { ac_try='test -s conftest.$ac_objext'
15732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15733 (eval $ac_try) 2>&5
15734 ac_status=$?
15735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15736 (exit $ac_status); }; }; then
15737 ac_header_compiler=yes
15738 else
15739 echo "$as_me: failed program was:" >&5
15740 sed 's/^/| /' conftest.$ac_ext >&5
15742 ac_header_compiler=no
15744 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15745 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15746 echo "${ECHO_T}$ac_header_compiler" >&6
15748 # Is the header present?
15749 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15750 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15751 cat >conftest.$ac_ext <<_ACEOF
15752 /* confdefs.h. */
15753 _ACEOF
15754 cat confdefs.h >>conftest.$ac_ext
15755 cat >>conftest.$ac_ext <<_ACEOF
15756 /* end confdefs.h. */
15757 #include <$ac_header>
15758 _ACEOF
15759 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15760 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15761 ac_status=$?
15762 grep -v '^ *+' conftest.er1 >conftest.err
15763 rm -f conftest.er1
15764 cat conftest.err >&5
15765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15766 (exit $ac_status); } >/dev/null; then
15767 if test -s conftest.err; then
15768 ac_cpp_err=$ac_cxx_preproc_warn_flag
15769 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
15770 else
15771 ac_cpp_err=
15773 else
15774 ac_cpp_err=yes
15776 if test -z "$ac_cpp_err"; then
15777 ac_header_preproc=yes
15778 else
15779 echo "$as_me: failed program was:" >&5
15780 sed 's/^/| /' conftest.$ac_ext >&5
15782 ac_header_preproc=no
15784 rm -f conftest.err conftest.$ac_ext
15785 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15786 echo "${ECHO_T}$ac_header_preproc" >&6
15788 # So? What about this header?
15789 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
15790 yes:no: )
15791 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15792 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15793 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15794 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15795 ac_header_preproc=yes
15797 no:yes:* )
15798 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15799 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15800 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15801 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15802 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15803 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15804 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15805 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15806 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15807 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15808 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15809 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15811 cat <<\_ASBOX
15812 ## ----------------------------------------- ##
15813 ## Report this to the package-unused lists. ##
15814 ## ----------------------------------------- ##
15815 _ASBOX
15817 sed "s/^/$as_me: WARNING: /" >&2
15819 esac
15820 echo "$as_me:$LINENO: checking for $ac_header" >&5
15821 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15822 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15823 echo $ECHO_N "(cached) $ECHO_C" >&6
15824 else
15825 eval "$as_ac_Header=\$ac_header_preproc"
15827 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15828 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15831 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15832 cat >>confdefs.h <<_ACEOF
15833 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15834 _ACEOF
15835 ac_has_tgmath_h=yes
15836 else
15837 ac_has_tgmath_h=no
15840 done
15843 for ac_header in complex.h
15845 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15846 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15847 echo "$as_me:$LINENO: checking for $ac_header" >&5
15848 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15849 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15850 echo $ECHO_N "(cached) $ECHO_C" >&6
15852 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15853 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15854 else
15855 # Is the header compilable?
15856 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15857 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15858 cat >conftest.$ac_ext <<_ACEOF
15859 /* confdefs.h. */
15860 _ACEOF
15861 cat confdefs.h >>conftest.$ac_ext
15862 cat >>conftest.$ac_ext <<_ACEOF
15863 /* end confdefs.h. */
15864 $ac_includes_default
15865 #include <$ac_header>
15866 _ACEOF
15867 rm -f conftest.$ac_objext
15868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15869 (eval $ac_compile) 2>conftest.er1
15870 ac_status=$?
15871 grep -v '^ *+' conftest.er1 >conftest.err
15872 rm -f conftest.er1
15873 cat conftest.err >&5
15874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15875 (exit $ac_status); } &&
15876 { ac_try='test -z "$ac_cxx_werror_flag"
15877 || test ! -s conftest.err'
15878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15879 (eval $ac_try) 2>&5
15880 ac_status=$?
15881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15882 (exit $ac_status); }; } &&
15883 { ac_try='test -s conftest.$ac_objext'
15884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15885 (eval $ac_try) 2>&5
15886 ac_status=$?
15887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15888 (exit $ac_status); }; }; then
15889 ac_header_compiler=yes
15890 else
15891 echo "$as_me: failed program was:" >&5
15892 sed 's/^/| /' conftest.$ac_ext >&5
15894 ac_header_compiler=no
15896 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15897 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15898 echo "${ECHO_T}$ac_header_compiler" >&6
15900 # Is the header present?
15901 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15902 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15903 cat >conftest.$ac_ext <<_ACEOF
15904 /* confdefs.h. */
15905 _ACEOF
15906 cat confdefs.h >>conftest.$ac_ext
15907 cat >>conftest.$ac_ext <<_ACEOF
15908 /* end confdefs.h. */
15909 #include <$ac_header>
15910 _ACEOF
15911 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15912 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15913 ac_status=$?
15914 grep -v '^ *+' conftest.er1 >conftest.err
15915 rm -f conftest.er1
15916 cat conftest.err >&5
15917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15918 (exit $ac_status); } >/dev/null; then
15919 if test -s conftest.err; then
15920 ac_cpp_err=$ac_cxx_preproc_warn_flag
15921 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
15922 else
15923 ac_cpp_err=
15925 else
15926 ac_cpp_err=yes
15928 if test -z "$ac_cpp_err"; then
15929 ac_header_preproc=yes
15930 else
15931 echo "$as_me: failed program was:" >&5
15932 sed 's/^/| /' conftest.$ac_ext >&5
15934 ac_header_preproc=no
15936 rm -f conftest.err conftest.$ac_ext
15937 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15938 echo "${ECHO_T}$ac_header_preproc" >&6
15940 # So? What about this header?
15941 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
15942 yes:no: )
15943 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15944 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15945 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15946 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15947 ac_header_preproc=yes
15949 no:yes:* )
15950 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15951 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15952 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15953 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15954 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15955 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15956 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15957 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15958 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15959 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15960 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15961 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15963 cat <<\_ASBOX
15964 ## ----------------------------------------- ##
15965 ## Report this to the package-unused lists. ##
15966 ## ----------------------------------------- ##
15967 _ASBOX
15969 sed "s/^/$as_me: WARNING: /" >&2
15971 esac
15972 echo "$as_me:$LINENO: checking for $ac_header" >&5
15973 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15974 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15975 echo $ECHO_N "(cached) $ECHO_C" >&6
15976 else
15977 eval "$as_ac_Header=\$ac_header_preproc"
15979 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15980 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15983 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15984 cat >>confdefs.h <<_ACEOF
15985 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15986 _ACEOF
15987 ac_has_complex_h=yes
15988 else
15989 ac_has_complex_h=no
15992 done
15994 ac_c99_complex=no;
15995 if test x"$ac_has_complex_h" = x"yes"; then
15996 echo "$as_me:$LINENO: checking for ISO C99 support in <complex.h>" >&5
15997 echo $ECHO_N "checking for ISO C99 support in <complex.h>... $ECHO_C" >&6
15998 if test x$gcc_no_link = xyes; then
15999 cat >conftest.$ac_ext <<_ACEOF
16000 /* confdefs.h. */
16001 _ACEOF
16002 cat confdefs.h >>conftest.$ac_ext
16003 cat >>conftest.$ac_ext <<_ACEOF
16004 /* end confdefs.h. */
16005 #include <complex.h>
16006 typedef __complex__ float float_type;
16007 typedef __complex__ double double_type;
16008 typedef __complex__ long double ld_type;
16009 volatile float_type tmpf;
16010 volatile double_type tmpd;
16011 volatile ld_type tmpld;
16012 volatile float f;
16013 volatile double d;
16014 volatile long double ld;
16016 main ()
16018 f = cabsf(tmpf);
16019 f = cargf(tmpf);
16020 tmpf = ccosf(tmpf);
16021 tmpf = ccoshf(tmpf);
16022 tmpf = cexpf(tmpf);
16023 tmpf = clogf(tmpf);
16024 tmpf = csinf(tmpf);
16025 tmpf = csinhf(tmpf);
16026 tmpf = csqrtf(tmpf);
16027 tmpf = ctanf(tmpf);
16028 tmpf = ctanhf(tmpf);
16029 tmpf = cpowf(tmpf, tmpf);
16030 d = cabs(tmpd);
16031 d = carg(tmpd);
16032 tmpd = ccos(tmpd);
16033 tmpd = ccosh(tmpd);
16034 tmpd = cexp(tmpd);
16035 tmpd = clog(tmpd);
16036 tmpd = csin(tmpd);
16037 tmpd = csinh(tmpd);
16038 tmpd = csqrt(tmpd);
16039 tmpd = ctan(tmpd);
16040 tmpd = ctanh(tmpd);
16041 tmpd = cpow(tmpd, tmpd);
16042 ld = cabsl(tmpld);
16043 ld = cargl(tmpld);
16044 tmpld = ccosl(tmpld);
16045 tmpld = ccoshl(tmpld);
16046 tmpld = cexpl(tmpld);
16047 tmpld = clogl(tmpld);
16048 tmpld = csinl(tmpld);
16049 tmpld = csinhl(tmpld);
16050 tmpld = csqrtl(tmpld);
16051 tmpld = ctanl(tmpld);
16052 tmpld = ctanhl(tmpld);
16053 tmpld = cpowl(tmpld, tmpld);
16056 return 0;
16058 _ACEOF
16059 rm -f conftest.$ac_objext
16060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16061 (eval $ac_compile) 2>conftest.er1
16062 ac_status=$?
16063 grep -v '^ *+' conftest.er1 >conftest.err
16064 rm -f conftest.er1
16065 cat conftest.err >&5
16066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16067 (exit $ac_status); } &&
16068 { ac_try='test -z "$ac_cxx_werror_flag"
16069 || test ! -s conftest.err'
16070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16071 (eval $ac_try) 2>&5
16072 ac_status=$?
16073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16074 (exit $ac_status); }; } &&
16075 { ac_try='test -s conftest.$ac_objext'
16076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16077 (eval $ac_try) 2>&5
16078 ac_status=$?
16079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16080 (exit $ac_status); }; }; then
16081 ac_c99_complex=yes
16082 else
16083 echo "$as_me: failed program was:" >&5
16084 sed 's/^/| /' conftest.$ac_ext >&5
16086 ac_c99_complex=no
16088 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16089 else
16090 if test x$gcc_no_link = xyes; then
16091 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16092 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16093 { (exit 1); exit 1; }; }
16095 cat >conftest.$ac_ext <<_ACEOF
16096 /* confdefs.h. */
16097 _ACEOF
16098 cat confdefs.h >>conftest.$ac_ext
16099 cat >>conftest.$ac_ext <<_ACEOF
16100 /* end confdefs.h. */
16101 #include <complex.h>
16102 typedef __complex__ float float_type;
16103 typedef __complex__ double double_type;
16104 typedef __complex__ long double ld_type;
16105 volatile float_type tmpf;
16106 volatile double_type tmpd;
16107 volatile ld_type tmpld;
16108 volatile float f;
16109 volatile double d;
16110 volatile long double ld;
16112 main ()
16114 f = cabsf(tmpf);
16115 f = cargf(tmpf);
16116 tmpf = ccosf(tmpf);
16117 tmpf = ccoshf(tmpf);
16118 tmpf = cexpf(tmpf);
16119 tmpf = clogf(tmpf);
16120 tmpf = csinf(tmpf);
16121 tmpf = csinhf(tmpf);
16122 tmpf = csqrtf(tmpf);
16123 tmpf = ctanf(tmpf);
16124 tmpf = ctanhf(tmpf);
16125 tmpf = cpowf(tmpf, tmpf);
16126 d = cabs(tmpd);
16127 d = carg(tmpd);
16128 tmpd = ccos(tmpd);
16129 tmpd = ccosh(tmpd);
16130 tmpd = cexp(tmpd);
16131 tmpd = clog(tmpd);
16132 tmpd = csin(tmpd);
16133 tmpd = csinh(tmpd);
16134 tmpd = csqrt(tmpd);
16135 tmpd = ctan(tmpd);
16136 tmpd = ctanh(tmpd);
16137 tmpd = cpow(tmpd, tmpd);
16138 ld = cabsl(tmpld);
16139 ld = cargl(tmpld);
16140 tmpld = ccosl(tmpld);
16141 tmpld = ccoshl(tmpld);
16142 tmpld = cexpl(tmpld);
16143 tmpld = clogl(tmpld);
16144 tmpld = csinl(tmpld);
16145 tmpld = csinhl(tmpld);
16146 tmpld = csqrtl(tmpld);
16147 tmpld = ctanl(tmpld);
16148 tmpld = ctanhl(tmpld);
16149 tmpld = cpowl(tmpld, tmpld);
16152 return 0;
16154 _ACEOF
16155 rm -f conftest.$ac_objext conftest$ac_exeext
16156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16157 (eval $ac_link) 2>conftest.er1
16158 ac_status=$?
16159 grep -v '^ *+' conftest.er1 >conftest.err
16160 rm -f conftest.er1
16161 cat conftest.err >&5
16162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16163 (exit $ac_status); } &&
16164 { ac_try='test -z "$ac_cxx_werror_flag"
16165 || test ! -s conftest.err'
16166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16167 (eval $ac_try) 2>&5
16168 ac_status=$?
16169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16170 (exit $ac_status); }; } &&
16171 { ac_try='test -s conftest$ac_exeext'
16172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16173 (eval $ac_try) 2>&5
16174 ac_status=$?
16175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16176 (exit $ac_status); }; }; then
16177 ac_c99_complex=yes
16178 else
16179 echo "$as_me: failed program was:" >&5
16180 sed 's/^/| /' conftest.$ac_ext >&5
16182 ac_c99_complex=no
16184 rm -f conftest.err conftest.$ac_objext \
16185 conftest$ac_exeext conftest.$ac_ext
16188 echo "$as_me:$LINENO: result: $ac_c99_complex" >&5
16189 echo "${ECHO_T}$ac_c99_complex" >&6
16190 if test x"$ac_c99_complex" = x"yes"; then
16192 cat >>confdefs.h <<\_ACEOF
16193 #define _GLIBCXX_USE_C99_COMPLEX 1
16194 _ACEOF
16198 # Check for the existence in <stdio.h> of vscanf, et. al.
16199 echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
16200 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
16201 if test "${ac_c99_stdio+set}" = set; then
16202 echo $ECHO_N "(cached) $ECHO_C" >&6
16203 else
16205 if test x$gcc_no_link = xyes; then
16206 cat >conftest.$ac_ext <<_ACEOF
16207 /* confdefs.h. */
16208 _ACEOF
16209 cat confdefs.h >>conftest.$ac_ext
16210 cat >>conftest.$ac_ext <<_ACEOF
16211 /* end confdefs.h. */
16212 #include <stdio.h>
16213 #include <stdarg.h>
16214 void foo(char* fmt, ...)
16216 va_list args; va_start(args, fmt);
16217 vfscanf(stderr, "%i", args);
16218 vscanf("%i", args);
16219 vsnprintf(fmt, 0, "%i", args);
16220 vsscanf(fmt, "%i", args);
16223 main ()
16225 snprintf("12", 0, "%i");
16227 return 0;
16229 _ACEOF
16230 rm -f conftest.$ac_objext
16231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16232 (eval $ac_compile) 2>conftest.er1
16233 ac_status=$?
16234 grep -v '^ *+' conftest.er1 >conftest.err
16235 rm -f conftest.er1
16236 cat conftest.err >&5
16237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16238 (exit $ac_status); } &&
16239 { ac_try='test -z "$ac_cxx_werror_flag"
16240 || test ! -s conftest.err'
16241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16242 (eval $ac_try) 2>&5
16243 ac_status=$?
16244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16245 (exit $ac_status); }; } &&
16246 { ac_try='test -s conftest.$ac_objext'
16247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16248 (eval $ac_try) 2>&5
16249 ac_status=$?
16250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16251 (exit $ac_status); }; }; then
16252 ac_c99_stdio=yes
16253 else
16254 echo "$as_me: failed program was:" >&5
16255 sed 's/^/| /' conftest.$ac_ext >&5
16257 ac_c99_stdio=no
16259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16260 else
16261 if test x$gcc_no_link = xyes; then
16262 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16263 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16264 { (exit 1); exit 1; }; }
16266 cat >conftest.$ac_ext <<_ACEOF
16267 /* confdefs.h. */
16268 _ACEOF
16269 cat confdefs.h >>conftest.$ac_ext
16270 cat >>conftest.$ac_ext <<_ACEOF
16271 /* end confdefs.h. */
16272 #include <stdio.h>
16273 #include <stdarg.h>
16274 void foo(char* fmt, ...)
16276 va_list args; va_start(args, fmt);
16277 vfscanf(stderr, "%i", args);
16278 vscanf("%i", args);
16279 vsnprintf(fmt, 0, "%i", args);
16280 vsscanf(fmt, "%i", args);
16283 main ()
16285 snprintf("12", 0, "%i");
16287 return 0;
16289 _ACEOF
16290 rm -f conftest.$ac_objext conftest$ac_exeext
16291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16292 (eval $ac_link) 2>conftest.er1
16293 ac_status=$?
16294 grep -v '^ *+' conftest.er1 >conftest.err
16295 rm -f conftest.er1
16296 cat conftest.err >&5
16297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16298 (exit $ac_status); } &&
16299 { ac_try='test -z "$ac_cxx_werror_flag"
16300 || test ! -s conftest.err'
16301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16302 (eval $ac_try) 2>&5
16303 ac_status=$?
16304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16305 (exit $ac_status); }; } &&
16306 { ac_try='test -s conftest$ac_exeext'
16307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16308 (eval $ac_try) 2>&5
16309 ac_status=$?
16310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16311 (exit $ac_status); }; }; then
16312 ac_c99_stdio=yes
16313 else
16314 echo "$as_me: failed program was:" >&5
16315 sed 's/^/| /' conftest.$ac_ext >&5
16317 ac_c99_stdio=no
16319 rm -f conftest.err conftest.$ac_objext \
16320 conftest$ac_exeext conftest.$ac_ext
16325 echo "$as_me:$LINENO: result: $ac_c99_stdio" >&5
16326 echo "${ECHO_T}$ac_c99_stdio" >&6
16328 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16329 echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
16330 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
16331 if test "${ac_c99_stdlib+set}" = set; then
16332 echo $ECHO_N "(cached) $ECHO_C" >&6
16333 else
16335 if test x$gcc_no_link = xyes; then
16336 cat >conftest.$ac_ext <<_ACEOF
16337 /* confdefs.h. */
16338 _ACEOF
16339 cat confdefs.h >>conftest.$ac_ext
16340 cat >>conftest.$ac_ext <<_ACEOF
16341 /* end confdefs.h. */
16342 #include <stdlib.h>
16343 volatile float f;
16344 volatile long double ld;
16345 volatile unsigned long long ll;
16346 lldiv_t mydivt;
16348 main ()
16350 char* tmp;
16351 f = strtof("gnu", &tmp);
16352 ld = strtold("gnu", &tmp);
16353 ll = strtoll("gnu", &tmp, 10);
16354 ll = strtoull("gnu", &tmp, 10);
16355 ll = llabs(10);
16356 mydivt = lldiv(10,1);
16357 ll = mydivt.quot;
16358 ll = mydivt.rem;
16359 ll = atoll("10");
16360 _Exit(0);
16363 return 0;
16365 _ACEOF
16366 rm -f conftest.$ac_objext
16367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16368 (eval $ac_compile) 2>conftest.er1
16369 ac_status=$?
16370 grep -v '^ *+' conftest.er1 >conftest.err
16371 rm -f conftest.er1
16372 cat conftest.err >&5
16373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16374 (exit $ac_status); } &&
16375 { ac_try='test -z "$ac_cxx_werror_flag"
16376 || test ! -s conftest.err'
16377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16378 (eval $ac_try) 2>&5
16379 ac_status=$?
16380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16381 (exit $ac_status); }; } &&
16382 { ac_try='test -s conftest.$ac_objext'
16383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16384 (eval $ac_try) 2>&5
16385 ac_status=$?
16386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16387 (exit $ac_status); }; }; then
16388 ac_c99_stdlib=yes
16389 else
16390 echo "$as_me: failed program was:" >&5
16391 sed 's/^/| /' conftest.$ac_ext >&5
16393 ac_c99_stdlib=no
16395 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16396 else
16397 if test x$gcc_no_link = xyes; then
16398 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16399 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16400 { (exit 1); exit 1; }; }
16402 cat >conftest.$ac_ext <<_ACEOF
16403 /* confdefs.h. */
16404 _ACEOF
16405 cat confdefs.h >>conftest.$ac_ext
16406 cat >>conftest.$ac_ext <<_ACEOF
16407 /* end confdefs.h. */
16408 #include <stdlib.h>
16409 volatile float f;
16410 volatile long double ld;
16411 volatile unsigned long long ll;
16412 lldiv_t mydivt;
16414 main ()
16416 char* tmp;
16417 f = strtof("gnu", &tmp);
16418 ld = strtold("gnu", &tmp);
16419 ll = strtoll("gnu", &tmp, 10);
16420 ll = strtoull("gnu", &tmp, 10);
16421 ll = llabs(10);
16422 mydivt = lldiv(10,1);
16423 ll = mydivt.quot;
16424 ll = mydivt.rem;
16425 ll = atoll("10");
16426 _Exit(0);
16429 return 0;
16431 _ACEOF
16432 rm -f conftest.$ac_objext conftest$ac_exeext
16433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16434 (eval $ac_link) 2>conftest.er1
16435 ac_status=$?
16436 grep -v '^ *+' conftest.er1 >conftest.err
16437 rm -f conftest.er1
16438 cat conftest.err >&5
16439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16440 (exit $ac_status); } &&
16441 { ac_try='test -z "$ac_cxx_werror_flag"
16442 || test ! -s conftest.err'
16443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16444 (eval $ac_try) 2>&5
16445 ac_status=$?
16446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16447 (exit $ac_status); }; } &&
16448 { ac_try='test -s conftest$ac_exeext'
16449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16450 (eval $ac_try) 2>&5
16451 ac_status=$?
16452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16453 (exit $ac_status); }; }; then
16454 ac_c99_stdlib=yes
16455 else
16456 echo "$as_me: failed program was:" >&5
16457 sed 's/^/| /' conftest.$ac_ext >&5
16459 ac_c99_stdlib=no
16461 rm -f conftest.err conftest.$ac_objext \
16462 conftest$ac_exeext conftest.$ac_ext
16467 echo "$as_me:$LINENO: result: $ac_c99_stdlib" >&5
16468 echo "${ECHO_T}$ac_c99_stdlib" >&6
16470 # Check for the existence in <wchar.h> of wcstold, etc.
16471 ac_c99_wchar=no;
16472 if test x"$ac_has_wchar_h" = xyes &&
16473 test x"$ac_has_wctype_h" = xyes; then
16474 echo "$as_me:$LINENO: checking for ISO C99 support in <wchar.h>" >&5
16475 echo $ECHO_N "checking for ISO C99 support in <wchar.h>... $ECHO_C" >&6
16476 cat >conftest.$ac_ext <<_ACEOF
16477 /* confdefs.h. */
16478 _ACEOF
16479 cat confdefs.h >>conftest.$ac_ext
16480 cat >>conftest.$ac_ext <<_ACEOF
16481 /* end confdefs.h. */
16482 #include <wchar.h>
16483 namespace test
16485 using ::wcstold;
16486 using ::wcstoll;
16487 using ::wcstoull;
16491 main ()
16495 return 0;
16497 _ACEOF
16498 rm -f conftest.$ac_objext
16499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16500 (eval $ac_compile) 2>conftest.er1
16501 ac_status=$?
16502 grep -v '^ *+' conftest.er1 >conftest.err
16503 rm -f conftest.er1
16504 cat conftest.err >&5
16505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16506 (exit $ac_status); } &&
16507 { ac_try='test -z "$ac_cxx_werror_flag"
16508 || test ! -s conftest.err'
16509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16510 (eval $ac_try) 2>&5
16511 ac_status=$?
16512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16513 (exit $ac_status); }; } &&
16514 { ac_try='test -s conftest.$ac_objext'
16515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16516 (eval $ac_try) 2>&5
16517 ac_status=$?
16518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16519 (exit $ac_status); }; }; then
16520 ac_c99_wchar=yes
16521 else
16522 echo "$as_me: failed program was:" >&5
16523 sed 's/^/| /' conftest.$ac_ext >&5
16525 ac_c99_wchar=no
16527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16529 # Checks for wide character functions that may not be present.
16530 # Injection of these is wrapped with guard macros.
16531 # NB: only put functions here, instead of immediately above, if
16532 # absolutely necessary.
16533 cat >conftest.$ac_ext <<_ACEOF
16534 /* confdefs.h. */
16535 _ACEOF
16536 cat confdefs.h >>conftest.$ac_ext
16537 cat >>conftest.$ac_ext <<_ACEOF
16538 /* end confdefs.h. */
16539 #include <wchar.h>
16540 namespace test { using ::vfwscanf; }
16542 main ()
16546 return 0;
16548 _ACEOF
16549 rm -f conftest.$ac_objext
16550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16551 (eval $ac_compile) 2>conftest.er1
16552 ac_status=$?
16553 grep -v '^ *+' conftest.er1 >conftest.err
16554 rm -f conftest.er1
16555 cat conftest.err >&5
16556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16557 (exit $ac_status); } &&
16558 { ac_try='test -z "$ac_cxx_werror_flag"
16559 || test ! -s conftest.err'
16560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16561 (eval $ac_try) 2>&5
16562 ac_status=$?
16563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16564 (exit $ac_status); }; } &&
16565 { ac_try='test -s conftest.$ac_objext'
16566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16567 (eval $ac_try) 2>&5
16568 ac_status=$?
16569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16570 (exit $ac_status); }; }; then
16572 cat >>confdefs.h <<\_ACEOF
16573 #define HAVE_VFWSCANF 1
16574 _ACEOF
16576 else
16577 echo "$as_me: failed program was:" >&5
16578 sed 's/^/| /' conftest.$ac_ext >&5
16581 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16583 cat >conftest.$ac_ext <<_ACEOF
16584 /* confdefs.h. */
16585 _ACEOF
16586 cat confdefs.h >>conftest.$ac_ext
16587 cat >>conftest.$ac_ext <<_ACEOF
16588 /* end confdefs.h. */
16589 #include <wchar.h>
16590 namespace test { using ::vswscanf; }
16592 main ()
16596 return 0;
16598 _ACEOF
16599 rm -f conftest.$ac_objext
16600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16601 (eval $ac_compile) 2>conftest.er1
16602 ac_status=$?
16603 grep -v '^ *+' conftest.er1 >conftest.err
16604 rm -f conftest.er1
16605 cat conftest.err >&5
16606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16607 (exit $ac_status); } &&
16608 { ac_try='test -z "$ac_cxx_werror_flag"
16609 || test ! -s conftest.err'
16610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16611 (eval $ac_try) 2>&5
16612 ac_status=$?
16613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16614 (exit $ac_status); }; } &&
16615 { ac_try='test -s conftest.$ac_objext'
16616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16617 (eval $ac_try) 2>&5
16618 ac_status=$?
16619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16620 (exit $ac_status); }; }; then
16622 cat >>confdefs.h <<\_ACEOF
16623 #define HAVE_VSWSCANF 1
16624 _ACEOF
16626 else
16627 echo "$as_me: failed program was:" >&5
16628 sed 's/^/| /' conftest.$ac_ext >&5
16631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16633 cat >conftest.$ac_ext <<_ACEOF
16634 /* confdefs.h. */
16635 _ACEOF
16636 cat confdefs.h >>conftest.$ac_ext
16637 cat >>conftest.$ac_ext <<_ACEOF
16638 /* end confdefs.h. */
16639 #include <wchar.h>
16640 namespace test { using ::vwscanf; }
16642 main ()
16646 return 0;
16648 _ACEOF
16649 rm -f conftest.$ac_objext
16650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16651 (eval $ac_compile) 2>conftest.er1
16652 ac_status=$?
16653 grep -v '^ *+' conftest.er1 >conftest.err
16654 rm -f conftest.er1
16655 cat conftest.err >&5
16656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16657 (exit $ac_status); } &&
16658 { ac_try='test -z "$ac_cxx_werror_flag"
16659 || test ! -s conftest.err'
16660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16661 (eval $ac_try) 2>&5
16662 ac_status=$?
16663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16664 (exit $ac_status); }; } &&
16665 { ac_try='test -s conftest.$ac_objext'
16666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16667 (eval $ac_try) 2>&5
16668 ac_status=$?
16669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16670 (exit $ac_status); }; }; then
16672 cat >>confdefs.h <<\_ACEOF
16673 #define HAVE_VWSCANF 1
16674 _ACEOF
16676 else
16677 echo "$as_me: failed program was:" >&5
16678 sed 's/^/| /' conftest.$ac_ext >&5
16681 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16683 cat >conftest.$ac_ext <<_ACEOF
16684 /* confdefs.h. */
16685 _ACEOF
16686 cat confdefs.h >>conftest.$ac_ext
16687 cat >>conftest.$ac_ext <<_ACEOF
16688 /* end confdefs.h. */
16689 #include <wchar.h>
16690 namespace test { using ::wcstof; }
16692 main ()
16696 return 0;
16698 _ACEOF
16699 rm -f conftest.$ac_objext
16700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16701 (eval $ac_compile) 2>conftest.er1
16702 ac_status=$?
16703 grep -v '^ *+' conftest.er1 >conftest.err
16704 rm -f conftest.er1
16705 cat conftest.err >&5
16706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16707 (exit $ac_status); } &&
16708 { ac_try='test -z "$ac_cxx_werror_flag"
16709 || test ! -s conftest.err'
16710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16711 (eval $ac_try) 2>&5
16712 ac_status=$?
16713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16714 (exit $ac_status); }; } &&
16715 { ac_try='test -s conftest.$ac_objext'
16716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16717 (eval $ac_try) 2>&5
16718 ac_status=$?
16719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16720 (exit $ac_status); }; }; then
16722 cat >>confdefs.h <<\_ACEOF
16723 #define HAVE_WCSTOF 1
16724 _ACEOF
16726 else
16727 echo "$as_me: failed program was:" >&5
16728 sed 's/^/| /' conftest.$ac_ext >&5
16731 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16733 cat >conftest.$ac_ext <<_ACEOF
16734 /* confdefs.h. */
16735 _ACEOF
16736 cat confdefs.h >>conftest.$ac_ext
16737 cat >>conftest.$ac_ext <<_ACEOF
16738 /* end confdefs.h. */
16739 #include <wctype.h>
16741 main ()
16743 wint_t t; int i = iswblank(t);
16745 return 0;
16747 _ACEOF
16748 rm -f conftest.$ac_objext
16749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16750 (eval $ac_compile) 2>conftest.er1
16751 ac_status=$?
16752 grep -v '^ *+' conftest.er1 >conftest.err
16753 rm -f conftest.er1
16754 cat conftest.err >&5
16755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16756 (exit $ac_status); } &&
16757 { ac_try='test -z "$ac_cxx_werror_flag"
16758 || test ! -s conftest.err'
16759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16760 (eval $ac_try) 2>&5
16761 ac_status=$?
16762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16763 (exit $ac_status); }; } &&
16764 { ac_try='test -s conftest.$ac_objext'
16765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16766 (eval $ac_try) 2>&5
16767 ac_status=$?
16768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16769 (exit $ac_status); }; }; then
16771 cat >>confdefs.h <<\_ACEOF
16772 #define HAVE_ISWBLANK 1
16773 _ACEOF
16775 else
16776 echo "$as_me: failed program was:" >&5
16777 sed 's/^/| /' conftest.$ac_ext >&5
16780 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16782 echo "$as_me:$LINENO: result: $ac_c99_wchar" >&5
16783 echo "${ECHO_T}$ac_c99_wchar" >&6
16786 # Option parsed, now set things appropriately.
16787 if test x"$ac_c99_math" = x"no" ||
16788 test x"$ac_c99_complex" = x"no" ||
16789 test x"$ac_c99_stdio" = x"no" ||
16790 test x"$ac_c99_stdlib" = x"no" ||
16791 test x"$ac_c99_wchar" = x"no"; then
16792 enable_c99=no;
16793 else
16795 cat >>confdefs.h <<\_ACEOF
16796 #define _GLIBCXX_USE_C99 1
16797 _ACEOF
16801 gcc_no_link="$ac_save_gcc_no_link"
16802 LIBS="$ac_save_LIBS"
16803 CXXFLAGS="$ac_save_CXXFLAGS"
16804 ac_ext=c
16805 ac_cpp='$CPP $CPPFLAGS'
16806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16812 echo "$as_me:$LINENO: checking for fully enabled ISO C99 support" >&5
16813 echo $ECHO_N "checking for fully enabled ISO C99 support... $ECHO_C" >&6
16814 echo "$as_me:$LINENO: result: $enable_c99" >&5
16815 echo "${ECHO_T}$enable_c99" >&6
16818 # Check whether --enable-concept-checks or --disable-concept-checks was given.
16819 if test "${enable_concept_checks+set}" = set; then
16820 enableval="$enable_concept_checks"
16822 case "$enableval" in
16823 yes|no) ;;
16824 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
16825 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
16826 { (exit 1); exit 1; }; } ;;
16827 esac
16829 else
16830 enable_concept_checks=no
16833 if test $enable_concept_checks = yes; then
16835 cat >>confdefs.h <<\_ACEOF
16836 #define _GLIBCXX_CONCEPT_CHECKS 1
16837 _ACEOF
16842 # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
16843 if test "${enable_libstdcxx_debug_flags+set}" = set; then
16844 enableval="$enable_libstdcxx_debug_flags"
16845 case "x$enable_libstdcxx_debug_flags" in
16846 xno | x) enable_libstdcxx_debug_flags= ;;
16847 x-*) ;;
16848 *) { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
16849 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
16850 { (exit 1); exit 1; }; } ;;
16851 esac
16852 else
16853 enable_libstdcxx_debug_flags="-g3 -O0"
16857 # Option parsed, now set things appropriately
16858 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
16861 { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
16862 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
16865 echo "$as_me:$LINENO: checking for additional debug build" >&5
16866 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
16867 # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
16868 if test "${enable_libstdcxx_debug+set}" = set; then
16869 enableval="$enable_libstdcxx_debug"
16871 case "$enableval" in
16872 yes|no) ;;
16873 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
16874 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
16875 { (exit 1); exit 1; }; } ;;
16876 esac
16878 else
16879 enable_libstdcxx_debug=no
16882 echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
16883 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
16888 # NB: libstdc++ may be configured before libgomp: can't check for the actual
16889 # dependencies (omp.h and libgomp).
16890 enable_parallel=no;
16891 if test -f $glibcxx_builddir/../libgomp/omp.h; then
16892 enable_parallel=yes;
16893 else
16894 { echo "$as_me:$LINENO: $glibcxx_builddir/../libgomp/omp.h not found" >&5
16895 echo "$as_me: $glibcxx_builddir/../libgomp/omp.h not found" >&6;}
16898 # Check to see if it's explicitly disabled.
16899 # GLIBCXX_ENABLE(libgomp,,,[enable code depending on libgomp],
16900 # [permit yes|no])
16902 # if test x$enable_libgomp = xno; then
16903 # enable_parallel=no
16904 # fi
16906 echo "$as_me:$LINENO: checking for parallel mode support" >&5
16907 echo $ECHO_N "checking for parallel mode support... $ECHO_C" >&6
16908 echo "$as_me:$LINENO: result: $enable_parallel" >&5
16909 echo "${ECHO_T}$enable_parallel" >&6
16912 echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
16913 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
16914 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
16915 if test "${enable_cxx_flags+set}" = set; then
16916 enableval="$enable_cxx_flags"
16917 case "x$enable_cxx_flags" in
16918 xno | x) enable_cxx_flags= ;;
16919 x-*) ;;
16920 *) { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
16921 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
16922 { (exit 1); exit 1; }; } ;;
16923 esac
16924 else
16925 enable_cxx_flags=
16929 # Run through flags (either default or command-line) and set anything
16930 # extra (e.g., #defines) that must accompany particular g++ options.
16931 if test -n "$enable_cxx_flags"; then
16932 for f in $enable_cxx_flags; do
16933 case "$f" in
16934 -fhonor-std) ;;
16935 -*) ;;
16936 *) # and we're trying to pass /what/ exactly?
16937 { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
16938 echo "$as_me: error: compiler flags start with a -" >&2;}
16939 { (exit 1); exit 1; }; } ;;
16940 esac
16941 done
16944 EXTRA_CXX_FLAGS="$enable_cxx_flags"
16945 echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
16946 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
16950 # Check whether --enable-fully-dynamic-string or --disable-fully-dynamic-string was given.
16951 if test "${enable_fully_dynamic_string+set}" = set; then
16952 enableval="$enable_fully_dynamic_string"
16954 case "$enableval" in
16955 yes|no) ;;
16956 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&5
16957 echo "$as_me: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&2;}
16958 { (exit 1); exit 1; }; } ;;
16959 esac
16961 else
16962 enable_fully_dynamic_string=no
16965 if test $enable_fully_dynamic_string = yes; then
16967 cat >>confdefs.h <<\_ACEOF
16968 #define _GLIBCXX_FULLY_DYNAMIC_STRING 1
16969 _ACEOF
16974 # Checks for operating systems support that don't require linking.
16977 echo "$as_me:$LINENO: checking for EOWNERDEAD" >&5
16978 echo $ECHO_N "checking for EOWNERDEAD... $ECHO_C" >&6
16979 if test "${ac_system_error1+set}" = set; then
16980 echo $ECHO_N "(cached) $ECHO_C" >&6
16981 else
16983 cat >conftest.$ac_ext <<_ACEOF
16984 /* confdefs.h. */
16985 _ACEOF
16986 cat confdefs.h >>conftest.$ac_ext
16987 cat >>conftest.$ac_ext <<_ACEOF
16988 /* end confdefs.h. */
16989 #include <errno.h>
16991 main ()
16993 int i = EOWNERDEAD;
16995 return 0;
16997 _ACEOF
16998 rm -f conftest.$ac_objext
16999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17000 (eval $ac_compile) 2>conftest.er1
17001 ac_status=$?
17002 grep -v '^ *+' conftest.er1 >conftest.err
17003 rm -f conftest.er1
17004 cat conftest.err >&5
17005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17006 (exit $ac_status); } &&
17007 { ac_try='test -z "$ac_c_werror_flag"
17008 || test ! -s conftest.err'
17009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17010 (eval $ac_try) 2>&5
17011 ac_status=$?
17012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17013 (exit $ac_status); }; } &&
17014 { ac_try='test -s conftest.$ac_objext'
17015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17016 (eval $ac_try) 2>&5
17017 ac_status=$?
17018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17019 (exit $ac_status); }; }; then
17020 ac_system_error1=yes
17021 else
17022 echo "$as_me: failed program was:" >&5
17023 sed 's/^/| /' conftest.$ac_ext >&5
17025 ac_system_error1=no
17027 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17031 echo "$as_me:$LINENO: result: $ac_system_error1" >&5
17032 echo "${ECHO_T}$ac_system_error1" >&6
17033 if test x"$ac_system_error1" = x"yes"; then
17035 cat >>confdefs.h <<\_ACEOF
17036 #define HAVE_EOWNERDEAD 1
17037 _ACEOF
17041 echo "$as_me:$LINENO: checking for ENOTRECOVERABLE" >&5
17042 echo $ECHO_N "checking for ENOTRECOVERABLE... $ECHO_C" >&6
17043 if test "${ac_system_error2+set}" = set; then
17044 echo $ECHO_N "(cached) $ECHO_C" >&6
17045 else
17047 cat >conftest.$ac_ext <<_ACEOF
17048 /* confdefs.h. */
17049 _ACEOF
17050 cat confdefs.h >>conftest.$ac_ext
17051 cat >>conftest.$ac_ext <<_ACEOF
17052 /* end confdefs.h. */
17053 #include <errno.h>
17055 main ()
17057 int i = ENOTRECOVERABLE;
17059 return 0;
17061 _ACEOF
17062 rm -f conftest.$ac_objext
17063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17064 (eval $ac_compile) 2>conftest.er1
17065 ac_status=$?
17066 grep -v '^ *+' conftest.er1 >conftest.err
17067 rm -f conftest.er1
17068 cat conftest.err >&5
17069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17070 (exit $ac_status); } &&
17071 { ac_try='test -z "$ac_c_werror_flag"
17072 || test ! -s conftest.err'
17073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17074 (eval $ac_try) 2>&5
17075 ac_status=$?
17076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17077 (exit $ac_status); }; } &&
17078 { ac_try='test -s conftest.$ac_objext'
17079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17080 (eval $ac_try) 2>&5
17081 ac_status=$?
17082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17083 (exit $ac_status); }; }; then
17084 ac_system_error2=yes
17085 else
17086 echo "$as_me: failed program was:" >&5
17087 sed 's/^/| /' conftest.$ac_ext >&5
17089 ac_system_error2=no
17091 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17095 echo "$as_me:$LINENO: result: $ac_system_error2" >&5
17096 echo "${ECHO_T}$ac_system_error2" >&6
17097 if test x"$ac_system_error2" = x"yes"; then
17099 cat >>confdefs.h <<\_ACEOF
17100 #define HAVE_ENOTRECOVERABLE 1
17101 _ACEOF
17105 echo "$as_me:$LINENO: checking for ENOLINK" >&5
17106 echo $ECHO_N "checking for ENOLINK... $ECHO_C" >&6
17107 if test "${ac_system_error3+set}" = set; then
17108 echo $ECHO_N "(cached) $ECHO_C" >&6
17109 else
17111 cat >conftest.$ac_ext <<_ACEOF
17112 /* confdefs.h. */
17113 _ACEOF
17114 cat confdefs.h >>conftest.$ac_ext
17115 cat >>conftest.$ac_ext <<_ACEOF
17116 /* end confdefs.h. */
17117 #include <errno.h>
17119 main ()
17121 int i = ENOLINK;
17123 return 0;
17125 _ACEOF
17126 rm -f conftest.$ac_objext
17127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17128 (eval $ac_compile) 2>conftest.er1
17129 ac_status=$?
17130 grep -v '^ *+' conftest.er1 >conftest.err
17131 rm -f conftest.er1
17132 cat conftest.err >&5
17133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17134 (exit $ac_status); } &&
17135 { ac_try='test -z "$ac_c_werror_flag"
17136 || test ! -s conftest.err'
17137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17138 (eval $ac_try) 2>&5
17139 ac_status=$?
17140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17141 (exit $ac_status); }; } &&
17142 { ac_try='test -s conftest.$ac_objext'
17143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17144 (eval $ac_try) 2>&5
17145 ac_status=$?
17146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17147 (exit $ac_status); }; }; then
17148 ac_system_error3=yes
17149 else
17150 echo "$as_me: failed program was:" >&5
17151 sed 's/^/| /' conftest.$ac_ext >&5
17153 ac_system_error3=no
17155 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17159 echo "$as_me:$LINENO: result: $ac_system_error3" >&5
17160 echo "${ECHO_T}$ac_system_error3" >&6
17161 if test x"$ac_system_error3" = x"yes"; then
17163 cat >>confdefs.h <<\_ACEOF
17164 #define HAVE_ENOLINK 1
17165 _ACEOF
17169 echo "$as_me:$LINENO: checking for EPROTO" >&5
17170 echo $ECHO_N "checking for EPROTO... $ECHO_C" >&6
17171 if test "${ac_system_error_4+set}" = set; then
17172 echo $ECHO_N "(cached) $ECHO_C" >&6
17173 else
17175 cat >conftest.$ac_ext <<_ACEOF
17176 /* confdefs.h. */
17177 _ACEOF
17178 cat confdefs.h >>conftest.$ac_ext
17179 cat >>conftest.$ac_ext <<_ACEOF
17180 /* end confdefs.h. */
17181 #include <errno.h>
17183 main ()
17185 int i = EPROTO;
17187 return 0;
17189 _ACEOF
17190 rm -f conftest.$ac_objext
17191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17192 (eval $ac_compile) 2>conftest.er1
17193 ac_status=$?
17194 grep -v '^ *+' conftest.er1 >conftest.err
17195 rm -f conftest.er1
17196 cat conftest.err >&5
17197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17198 (exit $ac_status); } &&
17199 { ac_try='test -z "$ac_c_werror_flag"
17200 || test ! -s conftest.err'
17201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17202 (eval $ac_try) 2>&5
17203 ac_status=$?
17204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17205 (exit $ac_status); }; } &&
17206 { ac_try='test -s conftest.$ac_objext'
17207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17208 (eval $ac_try) 2>&5
17209 ac_status=$?
17210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17211 (exit $ac_status); }; }; then
17212 ac_system_error_4=yes
17213 else
17214 echo "$as_me: failed program was:" >&5
17215 sed 's/^/| /' conftest.$ac_ext >&5
17217 ac_system_error_4=no
17219 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17223 echo "$as_me:$LINENO: result: $ac_system_error_4" >&5
17224 echo "${ECHO_T}$ac_system_error_4" >&6
17225 if test x"$ac_system_error_4" = x"yes"; then
17227 cat >>confdefs.h <<\_ACEOF
17228 #define HAVE_EPROTO 1
17229 _ACEOF
17233 echo "$as_me:$LINENO: checking for ENODATA" >&5
17234 echo $ECHO_N "checking for ENODATA... $ECHO_C" >&6
17235 if test "${ac_system_error_5+set}" = set; then
17236 echo $ECHO_N "(cached) $ECHO_C" >&6
17237 else
17239 cat >conftest.$ac_ext <<_ACEOF
17240 /* confdefs.h. */
17241 _ACEOF
17242 cat confdefs.h >>conftest.$ac_ext
17243 cat >>conftest.$ac_ext <<_ACEOF
17244 /* end confdefs.h. */
17245 #include <errno.h>
17247 main ()
17249 int i = ENODATA;
17251 return 0;
17253 _ACEOF
17254 rm -f conftest.$ac_objext
17255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17256 (eval $ac_compile) 2>conftest.er1
17257 ac_status=$?
17258 grep -v '^ *+' conftest.er1 >conftest.err
17259 rm -f conftest.er1
17260 cat conftest.err >&5
17261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17262 (exit $ac_status); } &&
17263 { ac_try='test -z "$ac_c_werror_flag"
17264 || test ! -s conftest.err'
17265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17266 (eval $ac_try) 2>&5
17267 ac_status=$?
17268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17269 (exit $ac_status); }; } &&
17270 { ac_try='test -s conftest.$ac_objext'
17271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17272 (eval $ac_try) 2>&5
17273 ac_status=$?
17274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17275 (exit $ac_status); }; }; then
17276 ac_system_error_5=yes
17277 else
17278 echo "$as_me: failed program was:" >&5
17279 sed 's/^/| /' conftest.$ac_ext >&5
17281 ac_system_error_5=no
17283 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17287 echo "$as_me:$LINENO: result: $ac_system_error_5" >&5
17288 echo "${ECHO_T}$ac_system_error_5" >&6
17289 if test x"$ac_system_error_5" = x"yes"; then
17291 cat >>confdefs.h <<\_ACEOF
17292 #define HAVE_ENODATA 1
17293 _ACEOF
17297 echo "$as_me:$LINENO: checking for ENOSR" >&5
17298 echo $ECHO_N "checking for ENOSR... $ECHO_C" >&6
17299 if test "${ac_system_error_6+set}" = set; then
17300 echo $ECHO_N "(cached) $ECHO_C" >&6
17301 else
17303 cat >conftest.$ac_ext <<_ACEOF
17304 /* confdefs.h. */
17305 _ACEOF
17306 cat confdefs.h >>conftest.$ac_ext
17307 cat >>conftest.$ac_ext <<_ACEOF
17308 /* end confdefs.h. */
17309 #include <errno.h>
17311 main ()
17313 int i = ENOSR;
17315 return 0;
17317 _ACEOF
17318 rm -f conftest.$ac_objext
17319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17320 (eval $ac_compile) 2>conftest.er1
17321 ac_status=$?
17322 grep -v '^ *+' conftest.er1 >conftest.err
17323 rm -f conftest.er1
17324 cat conftest.err >&5
17325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17326 (exit $ac_status); } &&
17327 { ac_try='test -z "$ac_c_werror_flag"
17328 || test ! -s conftest.err'
17329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17330 (eval $ac_try) 2>&5
17331 ac_status=$?
17332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17333 (exit $ac_status); }; } &&
17334 { ac_try='test -s conftest.$ac_objext'
17335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17336 (eval $ac_try) 2>&5
17337 ac_status=$?
17338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17339 (exit $ac_status); }; }; then
17340 ac_system_error_6=yes
17341 else
17342 echo "$as_me: failed program was:" >&5
17343 sed 's/^/| /' conftest.$ac_ext >&5
17345 ac_system_error_6=no
17347 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17351 echo "$as_me:$LINENO: result: $ac_system_error_6" >&5
17352 echo "${ECHO_T}$ac_system_error_6" >&6
17353 if test x"$ac_system_error_6" = x"yes"; then
17355 cat >>confdefs.h <<\_ACEOF
17356 #define HAVE_ENOSR 1
17357 _ACEOF
17361 echo "$as_me:$LINENO: checking for ENOSTR" >&5
17362 echo $ECHO_N "checking for ENOSTR... $ECHO_C" >&6
17363 if test "${ac_system_error_7+set}" = set; then
17364 echo $ECHO_N "(cached) $ECHO_C" >&6
17365 else
17367 cat >conftest.$ac_ext <<_ACEOF
17368 /* confdefs.h. */
17369 _ACEOF
17370 cat confdefs.h >>conftest.$ac_ext
17371 cat >>conftest.$ac_ext <<_ACEOF
17372 /* end confdefs.h. */
17373 #include <errno.h>
17375 main ()
17377 int i = ENOSTR;
17379 return 0;
17381 _ACEOF
17382 rm -f conftest.$ac_objext
17383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17384 (eval $ac_compile) 2>conftest.er1
17385 ac_status=$?
17386 grep -v '^ *+' conftest.er1 >conftest.err
17387 rm -f conftest.er1
17388 cat conftest.err >&5
17389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17390 (exit $ac_status); } &&
17391 { ac_try='test -z "$ac_c_werror_flag"
17392 || test ! -s conftest.err'
17393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17394 (eval $ac_try) 2>&5
17395 ac_status=$?
17396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17397 (exit $ac_status); }; } &&
17398 { ac_try='test -s conftest.$ac_objext'
17399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17400 (eval $ac_try) 2>&5
17401 ac_status=$?
17402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17403 (exit $ac_status); }; }; then
17404 ac_system_error_7=yes
17405 else
17406 echo "$as_me: failed program was:" >&5
17407 sed 's/^/| /' conftest.$ac_ext >&5
17409 ac_system_error_7=no
17411 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17415 echo "$as_me:$LINENO: result: $ac_system_error_7" >&5
17416 echo "${ECHO_T}$ac_system_error_7" >&6
17417 if test x"$ac_system_error_7" = x"yes"; then
17419 cat >>confdefs.h <<\_ACEOF
17420 #define HAVE_ENOSTR 1
17421 _ACEOF
17425 echo "$as_me:$LINENO: checking for ETIME" >&5
17426 echo $ECHO_N "checking for ETIME... $ECHO_C" >&6
17427 if test "${ac_system_error_8+set}" = set; then
17428 echo $ECHO_N "(cached) $ECHO_C" >&6
17429 else
17431 cat >conftest.$ac_ext <<_ACEOF
17432 /* confdefs.h. */
17433 _ACEOF
17434 cat confdefs.h >>conftest.$ac_ext
17435 cat >>conftest.$ac_ext <<_ACEOF
17436 /* end confdefs.h. */
17437 #include <errno.h>
17439 main ()
17441 int i = ETIME;
17443 return 0;
17445 _ACEOF
17446 rm -f conftest.$ac_objext
17447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17448 (eval $ac_compile) 2>conftest.er1
17449 ac_status=$?
17450 grep -v '^ *+' conftest.er1 >conftest.err
17451 rm -f conftest.er1
17452 cat conftest.err >&5
17453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17454 (exit $ac_status); } &&
17455 { ac_try='test -z "$ac_c_werror_flag"
17456 || test ! -s conftest.err'
17457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17458 (eval $ac_try) 2>&5
17459 ac_status=$?
17460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17461 (exit $ac_status); }; } &&
17462 { ac_try='test -s conftest.$ac_objext'
17463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17464 (eval $ac_try) 2>&5
17465 ac_status=$?
17466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17467 (exit $ac_status); }; }; then
17468 ac_system_error_8=yes
17469 else
17470 echo "$as_me: failed program was:" >&5
17471 sed 's/^/| /' conftest.$ac_ext >&5
17473 ac_system_error_8=no
17475 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17479 echo "$as_me:$LINENO: result: $ac_system_error_8" >&5
17480 echo "${ECHO_T}$ac_system_error_8" >&6
17481 if test x"$ac_system_error_8" = x"yes"; then
17483 cat >>confdefs.h <<\_ACEOF
17484 #define HAVE_ETIME 1
17485 _ACEOF
17489 echo "$as_me:$LINENO: checking for sys_nerr" >&5
17490 echo $ECHO_N "checking for sys_nerr... $ECHO_C" >&6
17491 if test "${ac_system_error9+set}" = set; then
17492 echo $ECHO_N "(cached) $ECHO_C" >&6
17493 else
17495 cat >conftest.$ac_ext <<_ACEOF
17496 /* confdefs.h. */
17497 _ACEOF
17498 cat confdefs.h >>conftest.$ac_ext
17499 cat >>conftest.$ac_ext <<_ACEOF
17500 /* end confdefs.h. */
17501 #include <errno.h>
17503 main ()
17505 int i = sys_nerr;
17507 return 0;
17509 _ACEOF
17510 rm -f conftest.$ac_objext
17511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17512 (eval $ac_compile) 2>conftest.er1
17513 ac_status=$?
17514 grep -v '^ *+' conftest.er1 >conftest.err
17515 rm -f conftest.er1
17516 cat conftest.err >&5
17517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17518 (exit $ac_status); } &&
17519 { ac_try='test -z "$ac_c_werror_flag"
17520 || test ! -s conftest.err'
17521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17522 (eval $ac_try) 2>&5
17523 ac_status=$?
17524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17525 (exit $ac_status); }; } &&
17526 { ac_try='test -s conftest.$ac_objext'
17527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17528 (eval $ac_try) 2>&5
17529 ac_status=$?
17530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17531 (exit $ac_status); }; }; then
17532 ac_system_error9=yes
17533 else
17534 echo "$as_me: failed program was:" >&5
17535 sed 's/^/| /' conftest.$ac_ext >&5
17537 ac_system_error9=no
17539 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17543 echo "$as_me:$LINENO: result: $ac_system_error9" >&5
17544 echo "${ECHO_T}$ac_system_error9" >&6
17545 if test x"$ac_system_error9" = x"yes"; then
17547 cat >>confdefs.h <<\_ACEOF
17548 #define HAVE_SYS_NERR 1
17549 _ACEOF
17553 echo "$as_me:$LINENO: checking for EBADMSG" >&5
17554 echo $ECHO_N "checking for EBADMSG... $ECHO_C" >&6
17555 if test "${ac_system_error_10+set}" = set; then
17556 echo $ECHO_N "(cached) $ECHO_C" >&6
17557 else
17559 cat >conftest.$ac_ext <<_ACEOF
17560 /* confdefs.h. */
17561 _ACEOF
17562 cat confdefs.h >>conftest.$ac_ext
17563 cat >>conftest.$ac_ext <<_ACEOF
17564 /* end confdefs.h. */
17565 #include <errno.h>
17567 main ()
17569 int i = EBADMSG;
17571 return 0;
17573 _ACEOF
17574 rm -f conftest.$ac_objext
17575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17576 (eval $ac_compile) 2>conftest.er1
17577 ac_status=$?
17578 grep -v '^ *+' conftest.er1 >conftest.err
17579 rm -f conftest.er1
17580 cat conftest.err >&5
17581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17582 (exit $ac_status); } &&
17583 { ac_try='test -z "$ac_c_werror_flag"
17584 || test ! -s conftest.err'
17585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17586 (eval $ac_try) 2>&5
17587 ac_status=$?
17588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17589 (exit $ac_status); }; } &&
17590 { ac_try='test -s conftest.$ac_objext'
17591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17592 (eval $ac_try) 2>&5
17593 ac_status=$?
17594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17595 (exit $ac_status); }; }; then
17596 ac_system_error_10=yes
17597 else
17598 echo "$as_me: failed program was:" >&5
17599 sed 's/^/| /' conftest.$ac_ext >&5
17601 ac_system_error_10=no
17603 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17607 echo "$as_me:$LINENO: result: $ac_system_error_10" >&5
17608 echo "${ECHO_T}$ac_system_error_10" >&6
17609 if test x"$ac_system_error_10" = x"yes"; then
17611 cat >>confdefs.h <<\_ACEOF
17612 #define HAVE_EBADMSG 1
17613 _ACEOF
17617 echo "$as_me:$LINENO: checking for ECANCELED" >&5
17618 echo $ECHO_N "checking for ECANCELED... $ECHO_C" >&6
17619 if test "${ac_system_error_11+set}" = set; then
17620 echo $ECHO_N "(cached) $ECHO_C" >&6
17621 else
17623 cat >conftest.$ac_ext <<_ACEOF
17624 /* confdefs.h. */
17625 _ACEOF
17626 cat confdefs.h >>conftest.$ac_ext
17627 cat >>conftest.$ac_ext <<_ACEOF
17628 /* end confdefs.h. */
17629 #include <errno.h>
17631 main ()
17633 int i = ECANCELED;
17635 return 0;
17637 _ACEOF
17638 rm -f conftest.$ac_objext
17639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17640 (eval $ac_compile) 2>conftest.er1
17641 ac_status=$?
17642 grep -v '^ *+' conftest.er1 >conftest.err
17643 rm -f conftest.er1
17644 cat conftest.err >&5
17645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17646 (exit $ac_status); } &&
17647 { ac_try='test -z "$ac_c_werror_flag"
17648 || test ! -s conftest.err'
17649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17650 (eval $ac_try) 2>&5
17651 ac_status=$?
17652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17653 (exit $ac_status); }; } &&
17654 { ac_try='test -s conftest.$ac_objext'
17655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17656 (eval $ac_try) 2>&5
17657 ac_status=$?
17658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17659 (exit $ac_status); }; }; then
17660 ac_system_error_11=yes
17661 else
17662 echo "$as_me: failed program was:" >&5
17663 sed 's/^/| /' conftest.$ac_ext >&5
17665 ac_system_error_11=no
17667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17671 echo "$as_me:$LINENO: result: $ac_system_error_11" >&5
17672 echo "${ECHO_T}$ac_system_error_11" >&6
17673 if test x"$ac_system_error_11" = x"yes"; then
17675 cat >>confdefs.h <<\_ACEOF
17676 #define HAVE_ECANCELED 1
17677 _ACEOF
17681 echo "$as_me:$LINENO: checking for EOVERFLOW" >&5
17682 echo $ECHO_N "checking for EOVERFLOW... $ECHO_C" >&6
17683 if test "${ac_system_error_12+set}" = set; then
17684 echo $ECHO_N "(cached) $ECHO_C" >&6
17685 else
17687 cat >conftest.$ac_ext <<_ACEOF
17688 /* confdefs.h. */
17689 _ACEOF
17690 cat confdefs.h >>conftest.$ac_ext
17691 cat >>conftest.$ac_ext <<_ACEOF
17692 /* end confdefs.h. */
17693 #include <errno.h>
17695 main ()
17697 int i = EOVERFLOW;
17699 return 0;
17701 _ACEOF
17702 rm -f conftest.$ac_objext
17703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17704 (eval $ac_compile) 2>conftest.er1
17705 ac_status=$?
17706 grep -v '^ *+' conftest.er1 >conftest.err
17707 rm -f conftest.er1
17708 cat conftest.err >&5
17709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17710 (exit $ac_status); } &&
17711 { ac_try='test -z "$ac_c_werror_flag"
17712 || test ! -s conftest.err'
17713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17714 (eval $ac_try) 2>&5
17715 ac_status=$?
17716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17717 (exit $ac_status); }; } &&
17718 { ac_try='test -s conftest.$ac_objext'
17719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17720 (eval $ac_try) 2>&5
17721 ac_status=$?
17722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17723 (exit $ac_status); }; }; then
17724 ac_system_error_12=yes
17725 else
17726 echo "$as_me: failed program was:" >&5
17727 sed 's/^/| /' conftest.$ac_ext >&5
17729 ac_system_error_12=no
17731 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17735 echo "$as_me:$LINENO: result: $ac_system_error_12" >&5
17736 echo "${ECHO_T}$ac_system_error_12" >&6
17737 if test x"$ac_system_error_12" = x"yes"; then
17739 cat >>confdefs.h <<\_ACEOF
17740 #define HAVE_EOVERFLOW 1
17741 _ACEOF
17745 echo "$as_me:$LINENO: checking for ENOTSUP" >&5
17746 echo $ECHO_N "checking for ENOTSUP... $ECHO_C" >&6
17747 if test "${ac_system_error_13+set}" = set; then
17748 echo $ECHO_N "(cached) $ECHO_C" >&6
17749 else
17751 cat >conftest.$ac_ext <<_ACEOF
17752 /* confdefs.h. */
17753 _ACEOF
17754 cat confdefs.h >>conftest.$ac_ext
17755 cat >>conftest.$ac_ext <<_ACEOF
17756 /* end confdefs.h. */
17757 #include <errno.h>
17759 main ()
17761 int i = ENOTSUP;
17763 return 0;
17765 _ACEOF
17766 rm -f conftest.$ac_objext
17767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17768 (eval $ac_compile) 2>conftest.er1
17769 ac_status=$?
17770 grep -v '^ *+' conftest.er1 >conftest.err
17771 rm -f conftest.er1
17772 cat conftest.err >&5
17773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17774 (exit $ac_status); } &&
17775 { ac_try='test -z "$ac_c_werror_flag"
17776 || test ! -s conftest.err'
17777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17778 (eval $ac_try) 2>&5
17779 ac_status=$?
17780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17781 (exit $ac_status); }; } &&
17782 { ac_try='test -s conftest.$ac_objext'
17783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17784 (eval $ac_try) 2>&5
17785 ac_status=$?
17786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17787 (exit $ac_status); }; }; then
17788 ac_system_error_13=yes
17789 else
17790 echo "$as_me: failed program was:" >&5
17791 sed 's/^/| /' conftest.$ac_ext >&5
17793 ac_system_error_13=no
17795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17799 echo "$as_me:$LINENO: result: $ac_system_error_13" >&5
17800 echo "${ECHO_T}$ac_system_error_13" >&6
17801 if test x"$ac_system_error_13" = x"yes"; then
17803 cat >>confdefs.h <<\_ACEOF
17804 #define HAVE_ENOTSUP 1
17805 _ACEOF
17809 echo "$as_me:$LINENO: checking for EIDRM" >&5
17810 echo $ECHO_N "checking for EIDRM... $ECHO_C" >&6
17811 if test "${ac_system_error_14+set}" = set; then
17812 echo $ECHO_N "(cached) $ECHO_C" >&6
17813 else
17815 cat >conftest.$ac_ext <<_ACEOF
17816 /* confdefs.h. */
17817 _ACEOF
17818 cat confdefs.h >>conftest.$ac_ext
17819 cat >>conftest.$ac_ext <<_ACEOF
17820 /* end confdefs.h. */
17821 #include <errno.h>
17823 main ()
17825 int i = EIDRM;
17827 return 0;
17829 _ACEOF
17830 rm -f conftest.$ac_objext
17831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17832 (eval $ac_compile) 2>conftest.er1
17833 ac_status=$?
17834 grep -v '^ *+' conftest.er1 >conftest.err
17835 rm -f conftest.er1
17836 cat conftest.err >&5
17837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17838 (exit $ac_status); } &&
17839 { ac_try='test -z "$ac_c_werror_flag"
17840 || test ! -s conftest.err'
17841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17842 (eval $ac_try) 2>&5
17843 ac_status=$?
17844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17845 (exit $ac_status); }; } &&
17846 { ac_try='test -s conftest.$ac_objext'
17847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17848 (eval $ac_try) 2>&5
17849 ac_status=$?
17850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17851 (exit $ac_status); }; }; then
17852 ac_system_error_14=yes
17853 else
17854 echo "$as_me: failed program was:" >&5
17855 sed 's/^/| /' conftest.$ac_ext >&5
17857 ac_system_error_14=no
17859 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17863 echo "$as_me:$LINENO: result: $ac_system_error_14" >&5
17864 echo "${ECHO_T}$ac_system_error_14" >&6
17865 if test x"$ac_system_error_14" = x"yes"; then
17867 cat >>confdefs.h <<\_ACEOF
17868 #define HAVE_EIDRM 1
17869 _ACEOF
17873 echo "$as_me:$LINENO: checking for ETXTBSY" >&5
17874 echo $ECHO_N "checking for ETXTBSY... $ECHO_C" >&6
17875 if test "${ac_system_error_15+set}" = set; then
17876 echo $ECHO_N "(cached) $ECHO_C" >&6
17877 else
17879 cat >conftest.$ac_ext <<_ACEOF
17880 /* confdefs.h. */
17881 _ACEOF
17882 cat confdefs.h >>conftest.$ac_ext
17883 cat >>conftest.$ac_ext <<_ACEOF
17884 /* end confdefs.h. */
17885 #include <errno.h>
17887 main ()
17889 int i = ETXTBSY;
17891 return 0;
17893 _ACEOF
17894 rm -f conftest.$ac_objext
17895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17896 (eval $ac_compile) 2>conftest.er1
17897 ac_status=$?
17898 grep -v '^ *+' conftest.er1 >conftest.err
17899 rm -f conftest.er1
17900 cat conftest.err >&5
17901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17902 (exit $ac_status); } &&
17903 { ac_try='test -z "$ac_c_werror_flag"
17904 || test ! -s conftest.err'
17905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17906 (eval $ac_try) 2>&5
17907 ac_status=$?
17908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17909 (exit $ac_status); }; } &&
17910 { ac_try='test -s conftest.$ac_objext'
17911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17912 (eval $ac_try) 2>&5
17913 ac_status=$?
17914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17915 (exit $ac_status); }; }; then
17916 ac_system_error_15=yes
17917 else
17918 echo "$as_me: failed program was:" >&5
17919 sed 's/^/| /' conftest.$ac_ext >&5
17921 ac_system_error_15=no
17923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17927 echo "$as_me:$LINENO: result: $ac_system_error_15" >&5
17928 echo "${ECHO_T}$ac_system_error_15" >&6
17929 if test x"$ac_system_error_15" = x"yes"; then
17931 cat >>confdefs.h <<\_ACEOF
17932 #define HAVE_ETXTBSY 1
17933 _ACEOF
17938 # No surprises, no surprises...
17940 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
17941 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
17942 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
17943 echo "$as_me:$LINENO: result: $target_thread_file" >&5
17944 echo "${ECHO_T}$target_thread_file" >&6
17946 if test $target_thread_file != single; then
17948 cat >>confdefs.h <<\_ACEOF
17949 #define HAVE_GTHR_DEFAULT 1
17950 _ACEOF
17954 glibcxx_thread_h=gthr-$target_thread_file.h
17956 gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
17957 if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
17958 enable_thread=yes
17959 else
17960 enable_thread=no
17966 echo "$as_me:$LINENO: checking for atomic builtins" >&5
17967 echo $ECHO_N "checking for atomic builtins... $ECHO_C" >&6
17970 ac_ext=cc
17971 ac_cpp='$CXXCPP $CPPFLAGS'
17972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17977 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
17978 cat > conftest.$ac_ext << EOF
17979 #line 17979 "configure"
17980 int main()
17982 // NB: _Atomic_word not necessarily int.
17983 typedef int atomic_type;
17984 atomic_type c1;
17985 atomic_type c2;
17986 const atomic_type c3(0);
17987 if (__sync_fetch_and_add(&c1, c2) == c3)
17989 // Do something.
17991 return 0;
17994 old_CXXFLAGS="$CXXFLAGS"
17995 CXXFLAGS=-S
17996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17997 (eval $ac_compile) 2>&5
17998 ac_status=$?
17999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18000 (exit $ac_status); }; then
18001 if grep __sync_fetch_and_add conftest.s >/dev/null 2>&1 ; then
18002 enable_atomic_builtins=no
18003 else
18005 cat >>confdefs.h <<\_ACEOF
18006 #define _GLIBCXX_ATOMIC_BUILTINS 1
18007 _ACEOF
18009 enable_atomic_builtins=yes
18010 atomicity_dir=cpu/generic/atomicity_builtins
18013 CXXFLAGS="$old_CXXFLAGS"
18014 rm -f conftest*
18016 # Now, if still generic, set to mutex.
18017 if test $atomicity_dir = "cpu/generic" ; then
18018 atomicity_dir=cpu/generic/atomicity_mutex
18020 ac_ext=c
18021 ac_cpp='$CPP $CPPFLAGS'
18022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18026 echo "$as_me:$LINENO: result: $enable_atomic_builtins" >&5
18027 echo "${ECHO_T}$enable_atomic_builtins" >&6
18029 if test $atomicity_dir = cpu/generic/atomicity_mutex ; then
18030 { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
18031 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
18032 if test $target_thread_file = single; then
18033 { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
18034 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
18035 { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
18036 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
18037 else
18038 { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
18039 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
18040 { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
18041 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
18046 # All these tests are for C++; save the language and the compiler flags.
18047 # The CXXFLAGS thing is suspicious, but based on similar bits previously
18048 # found in GLIBCXX_CONFIGURE.
18051 ac_ext=cc
18052 ac_cpp='$CXXCPP $CPPFLAGS'
18053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18057 ac_test_CXXFLAGS="${CXXFLAGS+set}"
18058 ac_save_CXXFLAGS="$CXXFLAGS"
18060 # Check for maintainer-mode bits.
18061 if test x"$USE_MAINTAINER_MODE" = xno; then
18062 WERROR=''
18063 else
18064 WERROR='-Werror'
18067 # Check for -ffunction-sections -fdata-sections
18068 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
18069 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
18070 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
18071 cat >conftest.$ac_ext <<_ACEOF
18072 /* confdefs.h. */
18073 _ACEOF
18074 cat confdefs.h >>conftest.$ac_ext
18075 cat >>conftest.$ac_ext <<_ACEOF
18076 /* end confdefs.h. */
18077 int foo; void bar() { };
18079 main ()
18083 return 0;
18085 _ACEOF
18086 rm -f conftest.$ac_objext
18087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18088 (eval $ac_compile) 2>conftest.er1
18089 ac_status=$?
18090 grep -v '^ *+' conftest.er1 >conftest.err
18091 rm -f conftest.er1
18092 cat conftest.err >&5
18093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18094 (exit $ac_status); } &&
18095 { ac_try='test -z "$ac_cxx_werror_flag"
18096 || test ! -s conftest.err'
18097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18098 (eval $ac_try) 2>&5
18099 ac_status=$?
18100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18101 (exit $ac_status); }; } &&
18102 { ac_try='test -s conftest.$ac_objext'
18103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18104 (eval $ac_try) 2>&5
18105 ac_status=$?
18106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18107 (exit $ac_status); }; }; then
18108 ac_fdsections=yes
18109 else
18110 echo "$as_me: failed program was:" >&5
18111 sed 's/^/| /' conftest.$ac_ext >&5
18113 ac_fdsections=no
18115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18116 if test "$ac_test_CXXFLAGS" = set; then
18117 CXXFLAGS="$ac_save_CXXFLAGS"
18118 else
18119 # this is the suspicious part
18120 CXXFLAGS=''
18122 if test x"$ac_fdsections" = x"yes"; then
18123 SECTION_FLAGS='-ffunction-sections -fdata-sections'
18125 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
18126 echo "${ECHO_T}$ac_fdsections" >&6
18128 ac_ext=c
18129 ac_cpp='$CPP $CPPFLAGS'
18130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18138 if $GLIBCXX_IS_NATIVE; then
18140 # We can do more elaborate tests that assume a working linker.
18141 CANADIAN=no
18143 # Check for available headers.
18159 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
18160 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
18161 sys/types.h sys/ipc.h sys/sem.h
18163 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18164 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18165 echo "$as_me:$LINENO: checking for $ac_header" >&5
18166 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18167 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18168 echo $ECHO_N "(cached) $ECHO_C" >&6
18170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18171 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18172 else
18173 # Is the header compilable?
18174 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18175 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18176 cat >conftest.$ac_ext <<_ACEOF
18177 /* confdefs.h. */
18178 _ACEOF
18179 cat confdefs.h >>conftest.$ac_ext
18180 cat >>conftest.$ac_ext <<_ACEOF
18181 /* end confdefs.h. */
18182 $ac_includes_default
18183 #include <$ac_header>
18184 _ACEOF
18185 rm -f conftest.$ac_objext
18186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18187 (eval $ac_compile) 2>conftest.er1
18188 ac_status=$?
18189 grep -v '^ *+' conftest.er1 >conftest.err
18190 rm -f conftest.er1
18191 cat conftest.err >&5
18192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18193 (exit $ac_status); } &&
18194 { ac_try='test -z "$ac_c_werror_flag"
18195 || test ! -s conftest.err'
18196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18197 (eval $ac_try) 2>&5
18198 ac_status=$?
18199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18200 (exit $ac_status); }; } &&
18201 { ac_try='test -s conftest.$ac_objext'
18202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18203 (eval $ac_try) 2>&5
18204 ac_status=$?
18205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18206 (exit $ac_status); }; }; then
18207 ac_header_compiler=yes
18208 else
18209 echo "$as_me: failed program was:" >&5
18210 sed 's/^/| /' conftest.$ac_ext >&5
18212 ac_header_compiler=no
18214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18215 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18216 echo "${ECHO_T}$ac_header_compiler" >&6
18218 # Is the header present?
18219 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18220 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18221 cat >conftest.$ac_ext <<_ACEOF
18222 /* confdefs.h. */
18223 _ACEOF
18224 cat confdefs.h >>conftest.$ac_ext
18225 cat >>conftest.$ac_ext <<_ACEOF
18226 /* end confdefs.h. */
18227 #include <$ac_header>
18228 _ACEOF
18229 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18230 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18231 ac_status=$?
18232 grep -v '^ *+' conftest.er1 >conftest.err
18233 rm -f conftest.er1
18234 cat conftest.err >&5
18235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18236 (exit $ac_status); } >/dev/null; then
18237 if test -s conftest.err; then
18238 ac_cpp_err=$ac_c_preproc_warn_flag
18239 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
18240 else
18241 ac_cpp_err=
18243 else
18244 ac_cpp_err=yes
18246 if test -z "$ac_cpp_err"; then
18247 ac_header_preproc=yes
18248 else
18249 echo "$as_me: failed program was:" >&5
18250 sed 's/^/| /' conftest.$ac_ext >&5
18252 ac_header_preproc=no
18254 rm -f conftest.err conftest.$ac_ext
18255 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18256 echo "${ECHO_T}$ac_header_preproc" >&6
18258 # So? What about this header?
18259 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18260 yes:no: )
18261 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18262 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18263 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18264 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18265 ac_header_preproc=yes
18267 no:yes:* )
18268 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18269 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18270 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18271 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18272 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18273 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18274 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18275 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18276 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18277 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18278 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18279 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18281 cat <<\_ASBOX
18282 ## ----------------------------------------- ##
18283 ## Report this to the package-unused lists. ##
18284 ## ----------------------------------------- ##
18285 _ASBOX
18287 sed "s/^/$as_me: WARNING: /" >&2
18289 esac
18290 echo "$as_me:$LINENO: checking for $ac_header" >&5
18291 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18292 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18293 echo $ECHO_N "(cached) $ECHO_C" >&6
18294 else
18295 eval "$as_ac_Header=\$ac_header_preproc"
18297 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18298 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18301 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18302 cat >>confdefs.h <<_ACEOF
18303 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18304 _ACEOF
18308 done
18313 # Check whether --with-gnu-ld or --without-gnu-ld was given.
18314 if test "${with_gnu_ld+set}" = set; then
18315 withval="$with_gnu_ld"
18316 test "$withval" = no || with_gnu_ld=yes
18317 else
18318 with_gnu_ld=no
18320 ac_prog=ld
18321 if test "$GCC" = yes; then
18322 # Check if gcc -print-prog-name=ld gives a path.
18323 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
18324 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
18325 case $host in
18326 *-*-mingw*)
18327 # gcc leaves a trailing carriage return which upsets mingw
18328 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
18330 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
18331 esac
18332 case $ac_prog in
18333 # Accept absolute paths.
18334 [\\/]* | ?:[\\/]*)
18335 re_direlt='/[^/][^/]*/\.\./'
18336 # Canonicalize the pathname of ld
18337 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
18338 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
18339 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
18340 done
18341 test -z "$LD" && LD="$ac_prog"
18344 # If it fails, then pretend we aren't using GCC.
18345 ac_prog=ld
18348 # If it is relative, then search for the first ld in PATH.
18349 with_gnu_ld=unknown
18351 esac
18352 elif test "$with_gnu_ld" = yes; then
18353 echo "$as_me:$LINENO: checking for GNU ld" >&5
18354 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
18355 else
18356 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
18357 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
18359 if test "${lt_cv_path_LD+set}" = set; then
18360 echo $ECHO_N "(cached) $ECHO_C" >&6
18361 else
18362 if test -z "$LD"; then
18363 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
18364 for ac_dir in $PATH; do
18365 IFS="$lt_save_ifs"
18366 test -z "$ac_dir" && ac_dir=.
18367 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
18368 lt_cv_path_LD="$ac_dir/$ac_prog"
18369 # Check to see if the program is GNU ld. I'd rather use --version,
18370 # but apparently some variants of GNU ld only accept -v.
18371 # Break only if it was the GNU/non-GNU ld that we prefer.
18372 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
18373 *GNU* | *'with BFD'*)
18374 test "$with_gnu_ld" != no && break
18377 test "$with_gnu_ld" != yes && break
18379 esac
18381 done
18382 IFS="$lt_save_ifs"
18383 else
18384 lt_cv_path_LD="$LD" # Let the user override the test with a path.
18388 LD="$lt_cv_path_LD"
18389 if test -n "$LD"; then
18390 echo "$as_me:$LINENO: result: $LD" >&5
18391 echo "${ECHO_T}$LD" >&6
18392 else
18393 echo "$as_me:$LINENO: result: no" >&5
18394 echo "${ECHO_T}no" >&6
18396 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
18397 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
18398 { (exit 1); exit 1; }; }
18399 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
18400 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
18401 if test "${lt_cv_prog_gnu_ld+set}" = set; then
18402 echo $ECHO_N "(cached) $ECHO_C" >&6
18403 else
18404 # I'd rather use --version here, but apparently some GNU lds only accept -v.
18405 case `$LD -v 2>&1 </dev/null` in
18406 *GNU* | *'with BFD'*)
18407 lt_cv_prog_gnu_ld=yes
18410 lt_cv_prog_gnu_ld=no
18412 esac
18414 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
18415 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
18416 with_gnu_ld=$lt_cv_prog_gnu_ld
18424 # If we're not using GNU ld, then there's no point in even trying these
18425 # tests. Check for that first. We should have already tested for gld
18426 # by now (in libtool), but require it now just to be safe...
18427 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
18428 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
18432 # The name set by libtool depends on the version of libtool. Shame on us
18433 # for depending on an impl detail, but c'est la vie. Older versions used
18434 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
18435 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
18436 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
18437 # set (hence we're using an older libtool), then set it.
18438 if test x${with_gnu_ld+set} != xset; then
18439 if test x${ac_cv_prog_gnu_ld+set} != xset; then
18440 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
18441 with_gnu_ld=no
18442 else
18443 with_gnu_ld=$ac_cv_prog_gnu_ld
18447 # Start by getting the version number. I think the libtool test already
18448 # does some of this, but throws away the result.
18449 if test x"$with_gnu_ld" = x"yes"; then
18450 echo "$as_me:$LINENO: checking for ld version" >&5
18451 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
18453 ldver=`$LD --version 2>/dev/null | head -1 | \
18454 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
18456 glibcxx_gnu_ld_version=`echo $ldver | \
18457 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
18458 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
18459 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
18462 # Set --gc-sections.
18463 glibcxx_gcsections_min_ld=21602
18464 if test x"$with_gnu_ld" = x"yes" &&
18465 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
18467 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
18468 # NB: This flag only works reliably after 2.16.1. Configure tests
18469 # for this are difficult, so hard wire a value that should work.
18471 ac_test_CFLAGS="${CFLAGS+set}"
18472 ac_save_CFLAGS="$CFLAGS"
18473 CFLAGS='-Wl,--gc-sections'
18475 # Check for -Wl,--gc-sections
18476 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
18477 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
18478 if test x$gcc_no_link = xyes; then
18479 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18480 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18481 { (exit 1); exit 1; }; }
18483 cat >conftest.$ac_ext <<_ACEOF
18484 /* confdefs.h. */
18485 _ACEOF
18486 cat confdefs.h >>conftest.$ac_ext
18487 cat >>conftest.$ac_ext <<_ACEOF
18488 /* end confdefs.h. */
18489 int one(void) { return 1; }
18490 int two(void) { return 2; }
18493 main ()
18495 two();
18497 return 0;
18499 _ACEOF
18500 rm -f conftest.$ac_objext conftest$ac_exeext
18501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18502 (eval $ac_link) 2>conftest.er1
18503 ac_status=$?
18504 grep -v '^ *+' conftest.er1 >conftest.err
18505 rm -f conftest.er1
18506 cat conftest.err >&5
18507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18508 (exit $ac_status); } &&
18509 { ac_try='test -z "$ac_c_werror_flag"
18510 || test ! -s conftest.err'
18511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18512 (eval $ac_try) 2>&5
18513 ac_status=$?
18514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18515 (exit $ac_status); }; } &&
18516 { ac_try='test -s conftest$ac_exeext'
18517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18518 (eval $ac_try) 2>&5
18519 ac_status=$?
18520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18521 (exit $ac_status); }; }; then
18522 ac_gcsections=yes
18523 else
18524 echo "$as_me: failed program was:" >&5
18525 sed 's/^/| /' conftest.$ac_ext >&5
18527 ac_gcsections=no
18529 rm -f conftest.err conftest.$ac_objext \
18530 conftest$ac_exeext conftest.$ac_ext
18531 if test "$ac_gcsections" = "yes"; then
18532 rm -f conftest.c
18533 touch conftest.c
18534 if $CC -c conftest.c; then
18535 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
18536 grep "Warning: gc-sections option ignored" > /dev/null; then
18537 ac_gcsections=no
18540 rm -f conftest.c conftest.o conftest
18542 if test "$ac_gcsections" = "yes"; then
18543 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
18545 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
18546 echo "${ECHO_T}$ac_gcsections" >&6
18548 if test "$ac_test_CFLAGS" = set; then
18549 CFLAGS="$ac_save_CFLAGS"
18550 else
18551 # this is the suspicious part
18552 CFLAGS=''
18556 # Set -z,relro.
18557 # Note this is only for shared objects.
18558 ac_ld_relro=no
18559 if test x"$with_gnu_ld" = x"yes"; then
18560 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
18561 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
18562 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
18563 if test -n "$cxx_z_relo"; then
18564 OPT_LDFLAGS="-Wl,-z,relro"
18565 ac_ld_relro=yes
18567 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
18568 echo "${ECHO_T}$ac_ld_relro" >&6
18571 # Set linker optimization flags.
18572 if test x"$with_gnu_ld" = x"yes"; then
18573 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
18580 ac_test_CXXFLAGS="${CXXFLAGS+set}"
18581 ac_save_CXXFLAGS="$CXXFLAGS"
18582 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
18584 echo "$as_me:$LINENO: checking for sin in -lm" >&5
18585 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
18586 if test "${ac_cv_lib_m_sin+set}" = set; then
18587 echo $ECHO_N "(cached) $ECHO_C" >&6
18588 else
18589 ac_check_lib_save_LIBS=$LIBS
18590 LIBS="-lm $LIBS"
18591 if test x$gcc_no_link = xyes; then
18592 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18593 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18594 { (exit 1); exit 1; }; }
18596 cat >conftest.$ac_ext <<_ACEOF
18597 /* confdefs.h. */
18598 _ACEOF
18599 cat confdefs.h >>conftest.$ac_ext
18600 cat >>conftest.$ac_ext <<_ACEOF
18601 /* end confdefs.h. */
18603 /* Override any gcc2 internal prototype to avoid an error. */
18604 #ifdef __cplusplus
18605 extern "C"
18606 #endif
18607 /* We use char because int might match the return type of a gcc2
18608 builtin and then its argument prototype would still apply. */
18609 char sin ();
18611 main ()
18613 sin ();
18615 return 0;
18617 _ACEOF
18618 rm -f conftest.$ac_objext conftest$ac_exeext
18619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18620 (eval $ac_link) 2>conftest.er1
18621 ac_status=$?
18622 grep -v '^ *+' conftest.er1 >conftest.err
18623 rm -f conftest.er1
18624 cat conftest.err >&5
18625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18626 (exit $ac_status); } &&
18627 { ac_try='test -z "$ac_c_werror_flag"
18628 || test ! -s conftest.err'
18629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18630 (eval $ac_try) 2>&5
18631 ac_status=$?
18632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18633 (exit $ac_status); }; } &&
18634 { ac_try='test -s conftest$ac_exeext'
18635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18636 (eval $ac_try) 2>&5
18637 ac_status=$?
18638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18639 (exit $ac_status); }; }; then
18640 ac_cv_lib_m_sin=yes
18641 else
18642 echo "$as_me: failed program was:" >&5
18643 sed 's/^/| /' conftest.$ac_ext >&5
18645 ac_cv_lib_m_sin=no
18647 rm -f conftest.err conftest.$ac_objext \
18648 conftest$ac_exeext conftest.$ac_ext
18649 LIBS=$ac_check_lib_save_LIBS
18651 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
18652 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
18653 if test $ac_cv_lib_m_sin = yes; then
18654 libm="-lm"
18657 ac_save_LIBS="$LIBS"
18658 LIBS="$LIBS $libm"
18662 echo "$as_me:$LINENO: checking for isinf declaration" >&5
18663 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
18664 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
18665 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
18666 echo $ECHO_N "(cached) $ECHO_C" >&6
18667 else
18671 ac_ext=cc
18672 ac_cpp='$CXXCPP $CPPFLAGS'
18673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18677 cat >conftest.$ac_ext <<_ACEOF
18678 /* confdefs.h. */
18679 _ACEOF
18680 cat confdefs.h >>conftest.$ac_ext
18681 cat >>conftest.$ac_ext <<_ACEOF
18682 /* end confdefs.h. */
18683 #include <math.h>
18684 #ifdef HAVE_IEEEFP_H
18685 #include <ieeefp.h>
18686 #endif
18689 main ()
18691 isinf(0);
18693 return 0;
18695 _ACEOF
18696 rm -f conftest.$ac_objext
18697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18698 (eval $ac_compile) 2>conftest.er1
18699 ac_status=$?
18700 grep -v '^ *+' conftest.er1 >conftest.err
18701 rm -f conftest.er1
18702 cat conftest.err >&5
18703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18704 (exit $ac_status); } &&
18705 { ac_try='test -z "$ac_cxx_werror_flag"
18706 || test ! -s conftest.err'
18707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18708 (eval $ac_try) 2>&5
18709 ac_status=$?
18710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18711 (exit $ac_status); }; } &&
18712 { ac_try='test -s conftest.$ac_objext'
18713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18714 (eval $ac_try) 2>&5
18715 ac_status=$?
18716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18717 (exit $ac_status); }; }; then
18718 glibcxx_cv_func_isinf_use=yes
18719 else
18720 echo "$as_me: failed program was:" >&5
18721 sed 's/^/| /' conftest.$ac_ext >&5
18723 glibcxx_cv_func_isinf_use=no
18725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18726 ac_ext=c
18727 ac_cpp='$CPP $CPPFLAGS'
18728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18736 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
18737 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
18739 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
18741 for ac_func in isinf
18743 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18744 echo "$as_me:$LINENO: checking for $ac_func" >&5
18745 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18746 if eval "test \"\${$as_ac_var+set}\" = set"; then
18747 echo $ECHO_N "(cached) $ECHO_C" >&6
18748 else
18749 if test x$gcc_no_link = xyes; then
18750 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18751 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18752 { (exit 1); exit 1; }; }
18754 cat >conftest.$ac_ext <<_ACEOF
18755 /* confdefs.h. */
18756 _ACEOF
18757 cat confdefs.h >>conftest.$ac_ext
18758 cat >>conftest.$ac_ext <<_ACEOF
18759 /* end confdefs.h. */
18760 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18761 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18762 #define $ac_func innocuous_$ac_func
18764 /* System header to define __stub macros and hopefully few prototypes,
18765 which can conflict with char $ac_func (); below.
18766 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18767 <limits.h> exists even on freestanding compilers. */
18769 #ifdef __STDC__
18770 # include <limits.h>
18771 #else
18772 # include <assert.h>
18773 #endif
18775 #undef $ac_func
18777 /* Override any gcc2 internal prototype to avoid an error. */
18778 #ifdef __cplusplus
18779 extern "C"
18781 #endif
18782 /* We use char because int might match the return type of a gcc2
18783 builtin and then its argument prototype would still apply. */
18784 char $ac_func ();
18785 /* The GNU C library defines this for functions which it implements
18786 to always fail with ENOSYS. Some functions are actually named
18787 something starting with __ and the normal name is an alias. */
18788 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18789 choke me
18790 #else
18791 char (*f) () = $ac_func;
18792 #endif
18793 #ifdef __cplusplus
18795 #endif
18798 main ()
18800 return f != $ac_func;
18802 return 0;
18804 _ACEOF
18805 rm -f conftest.$ac_objext conftest$ac_exeext
18806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18807 (eval $ac_link) 2>conftest.er1
18808 ac_status=$?
18809 grep -v '^ *+' conftest.er1 >conftest.err
18810 rm -f conftest.er1
18811 cat conftest.err >&5
18812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18813 (exit $ac_status); } &&
18814 { ac_try='test -z "$ac_c_werror_flag"
18815 || test ! -s conftest.err'
18816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18817 (eval $ac_try) 2>&5
18818 ac_status=$?
18819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18820 (exit $ac_status); }; } &&
18821 { ac_try='test -s conftest$ac_exeext'
18822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18823 (eval $ac_try) 2>&5
18824 ac_status=$?
18825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18826 (exit $ac_status); }; }; then
18827 eval "$as_ac_var=yes"
18828 else
18829 echo "$as_me: failed program was:" >&5
18830 sed 's/^/| /' conftest.$ac_ext >&5
18832 eval "$as_ac_var=no"
18834 rm -f conftest.err conftest.$ac_objext \
18835 conftest$ac_exeext conftest.$ac_ext
18837 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18838 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18839 if test `eval echo '${'$as_ac_var'}'` = yes; then
18840 cat >>confdefs.h <<_ACEOF
18841 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18842 _ACEOF
18845 done
18847 else
18849 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
18850 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
18851 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
18852 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
18853 echo $ECHO_N "(cached) $ECHO_C" >&6
18854 else
18858 ac_ext=cc
18859 ac_cpp='$CXXCPP $CPPFLAGS'
18860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18864 cat >conftest.$ac_ext <<_ACEOF
18865 /* confdefs.h. */
18866 _ACEOF
18867 cat confdefs.h >>conftest.$ac_ext
18868 cat >>conftest.$ac_ext <<_ACEOF
18869 /* end confdefs.h. */
18870 #include <math.h>
18871 #ifdef HAVE_IEEEFP_H
18872 #include <ieeefp.h>
18873 #endif
18876 main ()
18878 _isinf(0);
18880 return 0;
18882 _ACEOF
18883 rm -f conftest.$ac_objext
18884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18885 (eval $ac_compile) 2>conftest.er1
18886 ac_status=$?
18887 grep -v '^ *+' conftest.er1 >conftest.err
18888 rm -f conftest.er1
18889 cat conftest.err >&5
18890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18891 (exit $ac_status); } &&
18892 { ac_try='test -z "$ac_cxx_werror_flag"
18893 || test ! -s conftest.err'
18894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18895 (eval $ac_try) 2>&5
18896 ac_status=$?
18897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18898 (exit $ac_status); }; } &&
18899 { ac_try='test -s conftest.$ac_objext'
18900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18901 (eval $ac_try) 2>&5
18902 ac_status=$?
18903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18904 (exit $ac_status); }; }; then
18905 glibcxx_cv_func__isinf_use=yes
18906 else
18907 echo "$as_me: failed program was:" >&5
18908 sed 's/^/| /' conftest.$ac_ext >&5
18910 glibcxx_cv_func__isinf_use=no
18912 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18913 ac_ext=c
18914 ac_cpp='$CPP $CPPFLAGS'
18915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18923 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
18924 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
18926 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
18928 for ac_func in _isinf
18930 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18931 echo "$as_me:$LINENO: checking for $ac_func" >&5
18932 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18933 if eval "test \"\${$as_ac_var+set}\" = set"; then
18934 echo $ECHO_N "(cached) $ECHO_C" >&6
18935 else
18936 if test x$gcc_no_link = xyes; then
18937 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18938 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18939 { (exit 1); exit 1; }; }
18941 cat >conftest.$ac_ext <<_ACEOF
18942 /* confdefs.h. */
18943 _ACEOF
18944 cat confdefs.h >>conftest.$ac_ext
18945 cat >>conftest.$ac_ext <<_ACEOF
18946 /* end confdefs.h. */
18947 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18948 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18949 #define $ac_func innocuous_$ac_func
18951 /* System header to define __stub macros and hopefully few prototypes,
18952 which can conflict with char $ac_func (); below.
18953 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18954 <limits.h> exists even on freestanding compilers. */
18956 #ifdef __STDC__
18957 # include <limits.h>
18958 #else
18959 # include <assert.h>
18960 #endif
18962 #undef $ac_func
18964 /* Override any gcc2 internal prototype to avoid an error. */
18965 #ifdef __cplusplus
18966 extern "C"
18968 #endif
18969 /* We use char because int might match the return type of a gcc2
18970 builtin and then its argument prototype would still apply. */
18971 char $ac_func ();
18972 /* The GNU C library defines this for functions which it implements
18973 to always fail with ENOSYS. Some functions are actually named
18974 something starting with __ and the normal name is an alias. */
18975 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18976 choke me
18977 #else
18978 char (*f) () = $ac_func;
18979 #endif
18980 #ifdef __cplusplus
18982 #endif
18985 main ()
18987 return f != $ac_func;
18989 return 0;
18991 _ACEOF
18992 rm -f conftest.$ac_objext conftest$ac_exeext
18993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18994 (eval $ac_link) 2>conftest.er1
18995 ac_status=$?
18996 grep -v '^ *+' conftest.er1 >conftest.err
18997 rm -f conftest.er1
18998 cat conftest.err >&5
18999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19000 (exit $ac_status); } &&
19001 { ac_try='test -z "$ac_c_werror_flag"
19002 || test ! -s conftest.err'
19003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19004 (eval $ac_try) 2>&5
19005 ac_status=$?
19006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19007 (exit $ac_status); }; } &&
19008 { ac_try='test -s conftest$ac_exeext'
19009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19010 (eval $ac_try) 2>&5
19011 ac_status=$?
19012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19013 (exit $ac_status); }; }; then
19014 eval "$as_ac_var=yes"
19015 else
19016 echo "$as_me: failed program was:" >&5
19017 sed 's/^/| /' conftest.$ac_ext >&5
19019 eval "$as_ac_var=no"
19021 rm -f conftest.err conftest.$ac_objext \
19022 conftest$ac_exeext conftest.$ac_ext
19024 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19025 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19026 if test `eval echo '${'$as_ac_var'}'` = yes; then
19027 cat >>confdefs.h <<_ACEOF
19028 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19029 _ACEOF
19032 done
19042 echo "$as_me:$LINENO: checking for isnan declaration" >&5
19043 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
19044 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
19045 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
19046 echo $ECHO_N "(cached) $ECHO_C" >&6
19047 else
19051 ac_ext=cc
19052 ac_cpp='$CXXCPP $CPPFLAGS'
19053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19057 cat >conftest.$ac_ext <<_ACEOF
19058 /* confdefs.h. */
19059 _ACEOF
19060 cat confdefs.h >>conftest.$ac_ext
19061 cat >>conftest.$ac_ext <<_ACEOF
19062 /* end confdefs.h. */
19063 #include <math.h>
19064 #ifdef HAVE_IEEEFP_H
19065 #include <ieeefp.h>
19066 #endif
19069 main ()
19071 isnan(0);
19073 return 0;
19075 _ACEOF
19076 rm -f conftest.$ac_objext
19077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19078 (eval $ac_compile) 2>conftest.er1
19079 ac_status=$?
19080 grep -v '^ *+' conftest.er1 >conftest.err
19081 rm -f conftest.er1
19082 cat conftest.err >&5
19083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19084 (exit $ac_status); } &&
19085 { ac_try='test -z "$ac_cxx_werror_flag"
19086 || test ! -s conftest.err'
19087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19088 (eval $ac_try) 2>&5
19089 ac_status=$?
19090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19091 (exit $ac_status); }; } &&
19092 { ac_try='test -s conftest.$ac_objext'
19093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19094 (eval $ac_try) 2>&5
19095 ac_status=$?
19096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19097 (exit $ac_status); }; }; then
19098 glibcxx_cv_func_isnan_use=yes
19099 else
19100 echo "$as_me: failed program was:" >&5
19101 sed 's/^/| /' conftest.$ac_ext >&5
19103 glibcxx_cv_func_isnan_use=no
19105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19106 ac_ext=c
19107 ac_cpp='$CPP $CPPFLAGS'
19108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19116 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
19117 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
19119 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
19121 for ac_func in isnan
19123 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19124 echo "$as_me:$LINENO: checking for $ac_func" >&5
19125 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19126 if eval "test \"\${$as_ac_var+set}\" = set"; then
19127 echo $ECHO_N "(cached) $ECHO_C" >&6
19128 else
19129 if test x$gcc_no_link = xyes; then
19130 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19131 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19132 { (exit 1); exit 1; }; }
19134 cat >conftest.$ac_ext <<_ACEOF
19135 /* confdefs.h. */
19136 _ACEOF
19137 cat confdefs.h >>conftest.$ac_ext
19138 cat >>conftest.$ac_ext <<_ACEOF
19139 /* end confdefs.h. */
19140 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19141 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19142 #define $ac_func innocuous_$ac_func
19144 /* System header to define __stub macros and hopefully few prototypes,
19145 which can conflict with char $ac_func (); below.
19146 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19147 <limits.h> exists even on freestanding compilers. */
19149 #ifdef __STDC__
19150 # include <limits.h>
19151 #else
19152 # include <assert.h>
19153 #endif
19155 #undef $ac_func
19157 /* Override any gcc2 internal prototype to avoid an error. */
19158 #ifdef __cplusplus
19159 extern "C"
19161 #endif
19162 /* We use char because int might match the return type of a gcc2
19163 builtin and then its argument prototype would still apply. */
19164 char $ac_func ();
19165 /* The GNU C library defines this for functions which it implements
19166 to always fail with ENOSYS. Some functions are actually named
19167 something starting with __ and the normal name is an alias. */
19168 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19169 choke me
19170 #else
19171 char (*f) () = $ac_func;
19172 #endif
19173 #ifdef __cplusplus
19175 #endif
19178 main ()
19180 return f != $ac_func;
19182 return 0;
19184 _ACEOF
19185 rm -f conftest.$ac_objext conftest$ac_exeext
19186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19187 (eval $ac_link) 2>conftest.er1
19188 ac_status=$?
19189 grep -v '^ *+' conftest.er1 >conftest.err
19190 rm -f conftest.er1
19191 cat conftest.err >&5
19192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19193 (exit $ac_status); } &&
19194 { ac_try='test -z "$ac_c_werror_flag"
19195 || test ! -s conftest.err'
19196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19197 (eval $ac_try) 2>&5
19198 ac_status=$?
19199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19200 (exit $ac_status); }; } &&
19201 { ac_try='test -s conftest$ac_exeext'
19202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19203 (eval $ac_try) 2>&5
19204 ac_status=$?
19205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19206 (exit $ac_status); }; }; then
19207 eval "$as_ac_var=yes"
19208 else
19209 echo "$as_me: failed program was:" >&5
19210 sed 's/^/| /' conftest.$ac_ext >&5
19212 eval "$as_ac_var=no"
19214 rm -f conftest.err conftest.$ac_objext \
19215 conftest$ac_exeext conftest.$ac_ext
19217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19218 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19219 if test `eval echo '${'$as_ac_var'}'` = yes; then
19220 cat >>confdefs.h <<_ACEOF
19221 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19222 _ACEOF
19225 done
19227 else
19229 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
19230 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
19231 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
19232 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
19233 echo $ECHO_N "(cached) $ECHO_C" >&6
19234 else
19238 ac_ext=cc
19239 ac_cpp='$CXXCPP $CPPFLAGS'
19240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19244 cat >conftest.$ac_ext <<_ACEOF
19245 /* confdefs.h. */
19246 _ACEOF
19247 cat confdefs.h >>conftest.$ac_ext
19248 cat >>conftest.$ac_ext <<_ACEOF
19249 /* end confdefs.h. */
19250 #include <math.h>
19251 #ifdef HAVE_IEEEFP_H
19252 #include <ieeefp.h>
19253 #endif
19256 main ()
19258 _isnan(0);
19260 return 0;
19262 _ACEOF
19263 rm -f conftest.$ac_objext
19264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19265 (eval $ac_compile) 2>conftest.er1
19266 ac_status=$?
19267 grep -v '^ *+' conftest.er1 >conftest.err
19268 rm -f conftest.er1
19269 cat conftest.err >&5
19270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19271 (exit $ac_status); } &&
19272 { ac_try='test -z "$ac_cxx_werror_flag"
19273 || test ! -s conftest.err'
19274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19275 (eval $ac_try) 2>&5
19276 ac_status=$?
19277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19278 (exit $ac_status); }; } &&
19279 { ac_try='test -s conftest.$ac_objext'
19280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19281 (eval $ac_try) 2>&5
19282 ac_status=$?
19283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19284 (exit $ac_status); }; }; then
19285 glibcxx_cv_func__isnan_use=yes
19286 else
19287 echo "$as_me: failed program was:" >&5
19288 sed 's/^/| /' conftest.$ac_ext >&5
19290 glibcxx_cv_func__isnan_use=no
19292 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19293 ac_ext=c
19294 ac_cpp='$CPP $CPPFLAGS'
19295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19303 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
19304 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
19306 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
19308 for ac_func in _isnan
19310 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19311 echo "$as_me:$LINENO: checking for $ac_func" >&5
19312 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19313 if eval "test \"\${$as_ac_var+set}\" = set"; then
19314 echo $ECHO_N "(cached) $ECHO_C" >&6
19315 else
19316 if test x$gcc_no_link = xyes; then
19317 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19318 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19319 { (exit 1); exit 1; }; }
19321 cat >conftest.$ac_ext <<_ACEOF
19322 /* confdefs.h. */
19323 _ACEOF
19324 cat confdefs.h >>conftest.$ac_ext
19325 cat >>conftest.$ac_ext <<_ACEOF
19326 /* end confdefs.h. */
19327 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19328 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19329 #define $ac_func innocuous_$ac_func
19331 /* System header to define __stub macros and hopefully few prototypes,
19332 which can conflict with char $ac_func (); below.
19333 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19334 <limits.h> exists even on freestanding compilers. */
19336 #ifdef __STDC__
19337 # include <limits.h>
19338 #else
19339 # include <assert.h>
19340 #endif
19342 #undef $ac_func
19344 /* Override any gcc2 internal prototype to avoid an error. */
19345 #ifdef __cplusplus
19346 extern "C"
19348 #endif
19349 /* We use char because int might match the return type of a gcc2
19350 builtin and then its argument prototype would still apply. */
19351 char $ac_func ();
19352 /* The GNU C library defines this for functions which it implements
19353 to always fail with ENOSYS. Some functions are actually named
19354 something starting with __ and the normal name is an alias. */
19355 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19356 choke me
19357 #else
19358 char (*f) () = $ac_func;
19359 #endif
19360 #ifdef __cplusplus
19362 #endif
19365 main ()
19367 return f != $ac_func;
19369 return 0;
19371 _ACEOF
19372 rm -f conftest.$ac_objext conftest$ac_exeext
19373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19374 (eval $ac_link) 2>conftest.er1
19375 ac_status=$?
19376 grep -v '^ *+' conftest.er1 >conftest.err
19377 rm -f conftest.er1
19378 cat conftest.err >&5
19379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19380 (exit $ac_status); } &&
19381 { ac_try='test -z "$ac_c_werror_flag"
19382 || test ! -s conftest.err'
19383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19384 (eval $ac_try) 2>&5
19385 ac_status=$?
19386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19387 (exit $ac_status); }; } &&
19388 { ac_try='test -s conftest$ac_exeext'
19389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19390 (eval $ac_try) 2>&5
19391 ac_status=$?
19392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19393 (exit $ac_status); }; }; then
19394 eval "$as_ac_var=yes"
19395 else
19396 echo "$as_me: failed program was:" >&5
19397 sed 's/^/| /' conftest.$ac_ext >&5
19399 eval "$as_ac_var=no"
19401 rm -f conftest.err conftest.$ac_objext \
19402 conftest$ac_exeext conftest.$ac_ext
19404 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19405 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19406 if test `eval echo '${'$as_ac_var'}'` = yes; then
19407 cat >>confdefs.h <<_ACEOF
19408 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19409 _ACEOF
19412 done
19422 echo "$as_me:$LINENO: checking for finite declaration" >&5
19423 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
19424 if test x${glibcxx_cv_func_finite_use+set} != xset; then
19425 if test "${glibcxx_cv_func_finite_use+set}" = set; then
19426 echo $ECHO_N "(cached) $ECHO_C" >&6
19427 else
19431 ac_ext=cc
19432 ac_cpp='$CXXCPP $CPPFLAGS'
19433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19437 cat >conftest.$ac_ext <<_ACEOF
19438 /* confdefs.h. */
19439 _ACEOF
19440 cat confdefs.h >>conftest.$ac_ext
19441 cat >>conftest.$ac_ext <<_ACEOF
19442 /* end confdefs.h. */
19443 #include <math.h>
19444 #ifdef HAVE_IEEEFP_H
19445 #include <ieeefp.h>
19446 #endif
19449 main ()
19451 finite(0);
19453 return 0;
19455 _ACEOF
19456 rm -f conftest.$ac_objext
19457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19458 (eval $ac_compile) 2>conftest.er1
19459 ac_status=$?
19460 grep -v '^ *+' conftest.er1 >conftest.err
19461 rm -f conftest.er1
19462 cat conftest.err >&5
19463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19464 (exit $ac_status); } &&
19465 { ac_try='test -z "$ac_cxx_werror_flag"
19466 || test ! -s conftest.err'
19467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19468 (eval $ac_try) 2>&5
19469 ac_status=$?
19470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19471 (exit $ac_status); }; } &&
19472 { ac_try='test -s conftest.$ac_objext'
19473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19474 (eval $ac_try) 2>&5
19475 ac_status=$?
19476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19477 (exit $ac_status); }; }; then
19478 glibcxx_cv_func_finite_use=yes
19479 else
19480 echo "$as_me: failed program was:" >&5
19481 sed 's/^/| /' conftest.$ac_ext >&5
19483 glibcxx_cv_func_finite_use=no
19485 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19486 ac_ext=c
19487 ac_cpp='$CPP $CPPFLAGS'
19488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19496 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
19497 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
19499 if test x$glibcxx_cv_func_finite_use = x"yes"; then
19501 for ac_func in finite
19503 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19504 echo "$as_me:$LINENO: checking for $ac_func" >&5
19505 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19506 if eval "test \"\${$as_ac_var+set}\" = set"; then
19507 echo $ECHO_N "(cached) $ECHO_C" >&6
19508 else
19509 if test x$gcc_no_link = xyes; then
19510 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19511 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19512 { (exit 1); exit 1; }; }
19514 cat >conftest.$ac_ext <<_ACEOF
19515 /* confdefs.h. */
19516 _ACEOF
19517 cat confdefs.h >>conftest.$ac_ext
19518 cat >>conftest.$ac_ext <<_ACEOF
19519 /* end confdefs.h. */
19520 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19521 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19522 #define $ac_func innocuous_$ac_func
19524 /* System header to define __stub macros and hopefully few prototypes,
19525 which can conflict with char $ac_func (); below.
19526 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19527 <limits.h> exists even on freestanding compilers. */
19529 #ifdef __STDC__
19530 # include <limits.h>
19531 #else
19532 # include <assert.h>
19533 #endif
19535 #undef $ac_func
19537 /* Override any gcc2 internal prototype to avoid an error. */
19538 #ifdef __cplusplus
19539 extern "C"
19541 #endif
19542 /* We use char because int might match the return type of a gcc2
19543 builtin and then its argument prototype would still apply. */
19544 char $ac_func ();
19545 /* The GNU C library defines this for functions which it implements
19546 to always fail with ENOSYS. Some functions are actually named
19547 something starting with __ and the normal name is an alias. */
19548 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19549 choke me
19550 #else
19551 char (*f) () = $ac_func;
19552 #endif
19553 #ifdef __cplusplus
19555 #endif
19558 main ()
19560 return f != $ac_func;
19562 return 0;
19564 _ACEOF
19565 rm -f conftest.$ac_objext conftest$ac_exeext
19566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19567 (eval $ac_link) 2>conftest.er1
19568 ac_status=$?
19569 grep -v '^ *+' conftest.er1 >conftest.err
19570 rm -f conftest.er1
19571 cat conftest.err >&5
19572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19573 (exit $ac_status); } &&
19574 { ac_try='test -z "$ac_c_werror_flag"
19575 || test ! -s conftest.err'
19576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19577 (eval $ac_try) 2>&5
19578 ac_status=$?
19579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19580 (exit $ac_status); }; } &&
19581 { ac_try='test -s conftest$ac_exeext'
19582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19583 (eval $ac_try) 2>&5
19584 ac_status=$?
19585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19586 (exit $ac_status); }; }; then
19587 eval "$as_ac_var=yes"
19588 else
19589 echo "$as_me: failed program was:" >&5
19590 sed 's/^/| /' conftest.$ac_ext >&5
19592 eval "$as_ac_var=no"
19594 rm -f conftest.err conftest.$ac_objext \
19595 conftest$ac_exeext conftest.$ac_ext
19597 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19598 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19599 if test `eval echo '${'$as_ac_var'}'` = yes; then
19600 cat >>confdefs.h <<_ACEOF
19601 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19602 _ACEOF
19605 done
19607 else
19609 echo "$as_me:$LINENO: checking for _finite declaration" >&5
19610 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
19611 if test x${glibcxx_cv_func__finite_use+set} != xset; then
19612 if test "${glibcxx_cv_func__finite_use+set}" = set; then
19613 echo $ECHO_N "(cached) $ECHO_C" >&6
19614 else
19618 ac_ext=cc
19619 ac_cpp='$CXXCPP $CPPFLAGS'
19620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19624 cat >conftest.$ac_ext <<_ACEOF
19625 /* confdefs.h. */
19626 _ACEOF
19627 cat confdefs.h >>conftest.$ac_ext
19628 cat >>conftest.$ac_ext <<_ACEOF
19629 /* end confdefs.h. */
19630 #include <math.h>
19631 #ifdef HAVE_IEEEFP_H
19632 #include <ieeefp.h>
19633 #endif
19636 main ()
19638 _finite(0);
19640 return 0;
19642 _ACEOF
19643 rm -f conftest.$ac_objext
19644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19645 (eval $ac_compile) 2>conftest.er1
19646 ac_status=$?
19647 grep -v '^ *+' conftest.er1 >conftest.err
19648 rm -f conftest.er1
19649 cat conftest.err >&5
19650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19651 (exit $ac_status); } &&
19652 { ac_try='test -z "$ac_cxx_werror_flag"
19653 || test ! -s conftest.err'
19654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19655 (eval $ac_try) 2>&5
19656 ac_status=$?
19657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19658 (exit $ac_status); }; } &&
19659 { ac_try='test -s conftest.$ac_objext'
19660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19661 (eval $ac_try) 2>&5
19662 ac_status=$?
19663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19664 (exit $ac_status); }; }; then
19665 glibcxx_cv_func__finite_use=yes
19666 else
19667 echo "$as_me: failed program was:" >&5
19668 sed 's/^/| /' conftest.$ac_ext >&5
19670 glibcxx_cv_func__finite_use=no
19672 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19673 ac_ext=c
19674 ac_cpp='$CPP $CPPFLAGS'
19675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19683 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
19684 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
19686 if test x$glibcxx_cv_func__finite_use = x"yes"; then
19688 for ac_func in _finite
19690 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19691 echo "$as_me:$LINENO: checking for $ac_func" >&5
19692 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19693 if eval "test \"\${$as_ac_var+set}\" = set"; then
19694 echo $ECHO_N "(cached) $ECHO_C" >&6
19695 else
19696 if test x$gcc_no_link = xyes; then
19697 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19698 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19699 { (exit 1); exit 1; }; }
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19708 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19709 #define $ac_func innocuous_$ac_func
19711 /* System header to define __stub macros and hopefully few prototypes,
19712 which can conflict with char $ac_func (); below.
19713 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19714 <limits.h> exists even on freestanding compilers. */
19716 #ifdef __STDC__
19717 # include <limits.h>
19718 #else
19719 # include <assert.h>
19720 #endif
19722 #undef $ac_func
19724 /* Override any gcc2 internal prototype to avoid an error. */
19725 #ifdef __cplusplus
19726 extern "C"
19728 #endif
19729 /* We use char because int might match the return type of a gcc2
19730 builtin and then its argument prototype would still apply. */
19731 char $ac_func ();
19732 /* The GNU C library defines this for functions which it implements
19733 to always fail with ENOSYS. Some functions are actually named
19734 something starting with __ and the normal name is an alias. */
19735 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19736 choke me
19737 #else
19738 char (*f) () = $ac_func;
19739 #endif
19740 #ifdef __cplusplus
19742 #endif
19745 main ()
19747 return f != $ac_func;
19749 return 0;
19751 _ACEOF
19752 rm -f conftest.$ac_objext conftest$ac_exeext
19753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19754 (eval $ac_link) 2>conftest.er1
19755 ac_status=$?
19756 grep -v '^ *+' conftest.er1 >conftest.err
19757 rm -f conftest.er1
19758 cat conftest.err >&5
19759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19760 (exit $ac_status); } &&
19761 { ac_try='test -z "$ac_c_werror_flag"
19762 || test ! -s conftest.err'
19763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19764 (eval $ac_try) 2>&5
19765 ac_status=$?
19766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19767 (exit $ac_status); }; } &&
19768 { ac_try='test -s conftest$ac_exeext'
19769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19770 (eval $ac_try) 2>&5
19771 ac_status=$?
19772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19773 (exit $ac_status); }; }; then
19774 eval "$as_ac_var=yes"
19775 else
19776 echo "$as_me: failed program was:" >&5
19777 sed 's/^/| /' conftest.$ac_ext >&5
19779 eval "$as_ac_var=no"
19781 rm -f conftest.err conftest.$ac_objext \
19782 conftest$ac_exeext conftest.$ac_ext
19784 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19785 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19786 if test `eval echo '${'$as_ac_var'}'` = yes; then
19787 cat >>confdefs.h <<_ACEOF
19788 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19789 _ACEOF
19792 done
19802 echo "$as_me:$LINENO: checking for copysign declaration" >&5
19803 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
19804 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
19805 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
19806 echo $ECHO_N "(cached) $ECHO_C" >&6
19807 else
19811 ac_ext=cc
19812 ac_cpp='$CXXCPP $CPPFLAGS'
19813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19817 cat >conftest.$ac_ext <<_ACEOF
19818 /* confdefs.h. */
19819 _ACEOF
19820 cat confdefs.h >>conftest.$ac_ext
19821 cat >>conftest.$ac_ext <<_ACEOF
19822 /* end confdefs.h. */
19823 #include <math.h>
19825 main ()
19827 copysign(0, 0);
19829 return 0;
19831 _ACEOF
19832 rm -f conftest.$ac_objext
19833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19834 (eval $ac_compile) 2>conftest.er1
19835 ac_status=$?
19836 grep -v '^ *+' conftest.er1 >conftest.err
19837 rm -f conftest.er1
19838 cat conftest.err >&5
19839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19840 (exit $ac_status); } &&
19841 { ac_try='test -z "$ac_cxx_werror_flag"
19842 || test ! -s conftest.err'
19843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19844 (eval $ac_try) 2>&5
19845 ac_status=$?
19846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19847 (exit $ac_status); }; } &&
19848 { ac_try='test -s conftest.$ac_objext'
19849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19850 (eval $ac_try) 2>&5
19851 ac_status=$?
19852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19853 (exit $ac_status); }; }; then
19854 glibcxx_cv_func_copysign_use=yes
19855 else
19856 echo "$as_me: failed program was:" >&5
19857 sed 's/^/| /' conftest.$ac_ext >&5
19859 glibcxx_cv_func_copysign_use=no
19861 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19862 ac_ext=c
19863 ac_cpp='$CPP $CPPFLAGS'
19864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19872 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
19873 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
19875 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
19877 for ac_func in copysign
19879 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19880 echo "$as_me:$LINENO: checking for $ac_func" >&5
19881 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19882 if eval "test \"\${$as_ac_var+set}\" = set"; then
19883 echo $ECHO_N "(cached) $ECHO_C" >&6
19884 else
19885 if test x$gcc_no_link = xyes; then
19886 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19887 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19888 { (exit 1); exit 1; }; }
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19897 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19898 #define $ac_func innocuous_$ac_func
19900 /* System header to define __stub macros and hopefully few prototypes,
19901 which can conflict with char $ac_func (); below.
19902 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19903 <limits.h> exists even on freestanding compilers. */
19905 #ifdef __STDC__
19906 # include <limits.h>
19907 #else
19908 # include <assert.h>
19909 #endif
19911 #undef $ac_func
19913 /* Override any gcc2 internal prototype to avoid an error. */
19914 #ifdef __cplusplus
19915 extern "C"
19917 #endif
19918 /* We use char because int might match the return type of a gcc2
19919 builtin and then its argument prototype would still apply. */
19920 char $ac_func ();
19921 /* The GNU C library defines this for functions which it implements
19922 to always fail with ENOSYS. Some functions are actually named
19923 something starting with __ and the normal name is an alias. */
19924 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19925 choke me
19926 #else
19927 char (*f) () = $ac_func;
19928 #endif
19929 #ifdef __cplusplus
19931 #endif
19934 main ()
19936 return f != $ac_func;
19938 return 0;
19940 _ACEOF
19941 rm -f conftest.$ac_objext conftest$ac_exeext
19942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19943 (eval $ac_link) 2>conftest.er1
19944 ac_status=$?
19945 grep -v '^ *+' conftest.er1 >conftest.err
19946 rm -f conftest.er1
19947 cat conftest.err >&5
19948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19949 (exit $ac_status); } &&
19950 { ac_try='test -z "$ac_c_werror_flag"
19951 || test ! -s conftest.err'
19952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19953 (eval $ac_try) 2>&5
19954 ac_status=$?
19955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19956 (exit $ac_status); }; } &&
19957 { ac_try='test -s conftest$ac_exeext'
19958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19959 (eval $ac_try) 2>&5
19960 ac_status=$?
19961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19962 (exit $ac_status); }; }; then
19963 eval "$as_ac_var=yes"
19964 else
19965 echo "$as_me: failed program was:" >&5
19966 sed 's/^/| /' conftest.$ac_ext >&5
19968 eval "$as_ac_var=no"
19970 rm -f conftest.err conftest.$ac_objext \
19971 conftest$ac_exeext conftest.$ac_ext
19973 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19974 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19975 if test `eval echo '${'$as_ac_var'}'` = yes; then
19976 cat >>confdefs.h <<_ACEOF
19977 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19978 _ACEOF
19981 done
19983 else
19985 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
19986 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
19987 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
19988 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
19989 echo $ECHO_N "(cached) $ECHO_C" >&6
19990 else
19994 ac_ext=cc
19995 ac_cpp='$CXXCPP $CPPFLAGS'
19996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20000 cat >conftest.$ac_ext <<_ACEOF
20001 /* confdefs.h. */
20002 _ACEOF
20003 cat confdefs.h >>conftest.$ac_ext
20004 cat >>conftest.$ac_ext <<_ACEOF
20005 /* end confdefs.h. */
20006 #include <math.h>
20008 main ()
20010 _copysign(0, 0);
20012 return 0;
20014 _ACEOF
20015 rm -f conftest.$ac_objext
20016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20017 (eval $ac_compile) 2>conftest.er1
20018 ac_status=$?
20019 grep -v '^ *+' conftest.er1 >conftest.err
20020 rm -f conftest.er1
20021 cat conftest.err >&5
20022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20023 (exit $ac_status); } &&
20024 { ac_try='test -z "$ac_cxx_werror_flag"
20025 || test ! -s conftest.err'
20026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20027 (eval $ac_try) 2>&5
20028 ac_status=$?
20029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20030 (exit $ac_status); }; } &&
20031 { ac_try='test -s conftest.$ac_objext'
20032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20033 (eval $ac_try) 2>&5
20034 ac_status=$?
20035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20036 (exit $ac_status); }; }; then
20037 glibcxx_cv_func__copysign_use=yes
20038 else
20039 echo "$as_me: failed program was:" >&5
20040 sed 's/^/| /' conftest.$ac_ext >&5
20042 glibcxx_cv_func__copysign_use=no
20044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20045 ac_ext=c
20046 ac_cpp='$CPP $CPPFLAGS'
20047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20055 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
20056 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
20058 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
20060 for ac_func in _copysign
20062 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20063 echo "$as_me:$LINENO: checking for $ac_func" >&5
20064 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20065 if eval "test \"\${$as_ac_var+set}\" = set"; then
20066 echo $ECHO_N "(cached) $ECHO_C" >&6
20067 else
20068 if test x$gcc_no_link = xyes; then
20069 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20070 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20071 { (exit 1); exit 1; }; }
20073 cat >conftest.$ac_ext <<_ACEOF
20074 /* confdefs.h. */
20075 _ACEOF
20076 cat confdefs.h >>conftest.$ac_ext
20077 cat >>conftest.$ac_ext <<_ACEOF
20078 /* end confdefs.h. */
20079 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20080 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20081 #define $ac_func innocuous_$ac_func
20083 /* System header to define __stub macros and hopefully few prototypes,
20084 which can conflict with char $ac_func (); below.
20085 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20086 <limits.h> exists even on freestanding compilers. */
20088 #ifdef __STDC__
20089 # include <limits.h>
20090 #else
20091 # include <assert.h>
20092 #endif
20094 #undef $ac_func
20096 /* Override any gcc2 internal prototype to avoid an error. */
20097 #ifdef __cplusplus
20098 extern "C"
20100 #endif
20101 /* We use char because int might match the return type of a gcc2
20102 builtin and then its argument prototype would still apply. */
20103 char $ac_func ();
20104 /* The GNU C library defines this for functions which it implements
20105 to always fail with ENOSYS. Some functions are actually named
20106 something starting with __ and the normal name is an alias. */
20107 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20108 choke me
20109 #else
20110 char (*f) () = $ac_func;
20111 #endif
20112 #ifdef __cplusplus
20114 #endif
20117 main ()
20119 return f != $ac_func;
20121 return 0;
20123 _ACEOF
20124 rm -f conftest.$ac_objext conftest$ac_exeext
20125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20126 (eval $ac_link) 2>conftest.er1
20127 ac_status=$?
20128 grep -v '^ *+' conftest.er1 >conftest.err
20129 rm -f conftest.er1
20130 cat conftest.err >&5
20131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20132 (exit $ac_status); } &&
20133 { ac_try='test -z "$ac_c_werror_flag"
20134 || test ! -s conftest.err'
20135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20136 (eval $ac_try) 2>&5
20137 ac_status=$?
20138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20139 (exit $ac_status); }; } &&
20140 { ac_try='test -s conftest$ac_exeext'
20141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20142 (eval $ac_try) 2>&5
20143 ac_status=$?
20144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20145 (exit $ac_status); }; }; then
20146 eval "$as_ac_var=yes"
20147 else
20148 echo "$as_me: failed program was:" >&5
20149 sed 's/^/| /' conftest.$ac_ext >&5
20151 eval "$as_ac_var=no"
20153 rm -f conftest.err conftest.$ac_objext \
20154 conftest$ac_exeext conftest.$ac_ext
20156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20157 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20158 if test `eval echo '${'$as_ac_var'}'` = yes; then
20159 cat >>confdefs.h <<_ACEOF
20160 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20161 _ACEOF
20164 done
20174 echo "$as_me:$LINENO: checking for sincos declaration" >&5
20175 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
20176 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
20177 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
20178 echo $ECHO_N "(cached) $ECHO_C" >&6
20179 else
20183 ac_ext=cc
20184 ac_cpp='$CXXCPP $CPPFLAGS'
20185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20189 cat >conftest.$ac_ext <<_ACEOF
20190 /* confdefs.h. */
20191 _ACEOF
20192 cat confdefs.h >>conftest.$ac_ext
20193 cat >>conftest.$ac_ext <<_ACEOF
20194 /* end confdefs.h. */
20195 #include <math.h>
20197 main ()
20199 sincos(0, 0, 0);
20201 return 0;
20203 _ACEOF
20204 rm -f conftest.$ac_objext
20205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20206 (eval $ac_compile) 2>conftest.er1
20207 ac_status=$?
20208 grep -v '^ *+' conftest.er1 >conftest.err
20209 rm -f conftest.er1
20210 cat conftest.err >&5
20211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20212 (exit $ac_status); } &&
20213 { ac_try='test -z "$ac_cxx_werror_flag"
20214 || test ! -s conftest.err'
20215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20216 (eval $ac_try) 2>&5
20217 ac_status=$?
20218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20219 (exit $ac_status); }; } &&
20220 { ac_try='test -s conftest.$ac_objext'
20221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20222 (eval $ac_try) 2>&5
20223 ac_status=$?
20224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20225 (exit $ac_status); }; }; then
20226 glibcxx_cv_func_sincos_use=yes
20227 else
20228 echo "$as_me: failed program was:" >&5
20229 sed 's/^/| /' conftest.$ac_ext >&5
20231 glibcxx_cv_func_sincos_use=no
20233 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20234 ac_ext=c
20235 ac_cpp='$CPP $CPPFLAGS'
20236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20244 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
20245 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
20247 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
20249 for ac_func in sincos
20251 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20252 echo "$as_me:$LINENO: checking for $ac_func" >&5
20253 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20254 if eval "test \"\${$as_ac_var+set}\" = set"; then
20255 echo $ECHO_N "(cached) $ECHO_C" >&6
20256 else
20257 if test x$gcc_no_link = xyes; then
20258 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20259 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20260 { (exit 1); exit 1; }; }
20262 cat >conftest.$ac_ext <<_ACEOF
20263 /* confdefs.h. */
20264 _ACEOF
20265 cat confdefs.h >>conftest.$ac_ext
20266 cat >>conftest.$ac_ext <<_ACEOF
20267 /* end confdefs.h. */
20268 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20269 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20270 #define $ac_func innocuous_$ac_func
20272 /* System header to define __stub macros and hopefully few prototypes,
20273 which can conflict with char $ac_func (); below.
20274 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20275 <limits.h> exists even on freestanding compilers. */
20277 #ifdef __STDC__
20278 # include <limits.h>
20279 #else
20280 # include <assert.h>
20281 #endif
20283 #undef $ac_func
20285 /* Override any gcc2 internal prototype to avoid an error. */
20286 #ifdef __cplusplus
20287 extern "C"
20289 #endif
20290 /* We use char because int might match the return type of a gcc2
20291 builtin and then its argument prototype would still apply. */
20292 char $ac_func ();
20293 /* The GNU C library defines this for functions which it implements
20294 to always fail with ENOSYS. Some functions are actually named
20295 something starting with __ and the normal name is an alias. */
20296 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20297 choke me
20298 #else
20299 char (*f) () = $ac_func;
20300 #endif
20301 #ifdef __cplusplus
20303 #endif
20306 main ()
20308 return f != $ac_func;
20310 return 0;
20312 _ACEOF
20313 rm -f conftest.$ac_objext conftest$ac_exeext
20314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20315 (eval $ac_link) 2>conftest.er1
20316 ac_status=$?
20317 grep -v '^ *+' conftest.er1 >conftest.err
20318 rm -f conftest.er1
20319 cat conftest.err >&5
20320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20321 (exit $ac_status); } &&
20322 { ac_try='test -z "$ac_c_werror_flag"
20323 || test ! -s conftest.err'
20324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20325 (eval $ac_try) 2>&5
20326 ac_status=$?
20327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20328 (exit $ac_status); }; } &&
20329 { ac_try='test -s conftest$ac_exeext'
20330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20331 (eval $ac_try) 2>&5
20332 ac_status=$?
20333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20334 (exit $ac_status); }; }; then
20335 eval "$as_ac_var=yes"
20336 else
20337 echo "$as_me: failed program was:" >&5
20338 sed 's/^/| /' conftest.$ac_ext >&5
20340 eval "$as_ac_var=no"
20342 rm -f conftest.err conftest.$ac_objext \
20343 conftest$ac_exeext conftest.$ac_ext
20345 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20346 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20347 if test `eval echo '${'$as_ac_var'}'` = yes; then
20348 cat >>confdefs.h <<_ACEOF
20349 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20350 _ACEOF
20353 done
20355 else
20357 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
20358 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
20359 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
20360 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
20361 echo $ECHO_N "(cached) $ECHO_C" >&6
20362 else
20366 ac_ext=cc
20367 ac_cpp='$CXXCPP $CPPFLAGS'
20368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20372 cat >conftest.$ac_ext <<_ACEOF
20373 /* confdefs.h. */
20374 _ACEOF
20375 cat confdefs.h >>conftest.$ac_ext
20376 cat >>conftest.$ac_ext <<_ACEOF
20377 /* end confdefs.h. */
20378 #include <math.h>
20380 main ()
20382 _sincos(0, 0, 0);
20384 return 0;
20386 _ACEOF
20387 rm -f conftest.$ac_objext
20388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20389 (eval $ac_compile) 2>conftest.er1
20390 ac_status=$?
20391 grep -v '^ *+' conftest.er1 >conftest.err
20392 rm -f conftest.er1
20393 cat conftest.err >&5
20394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20395 (exit $ac_status); } &&
20396 { ac_try='test -z "$ac_cxx_werror_flag"
20397 || test ! -s conftest.err'
20398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20399 (eval $ac_try) 2>&5
20400 ac_status=$?
20401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20402 (exit $ac_status); }; } &&
20403 { ac_try='test -s conftest.$ac_objext'
20404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20405 (eval $ac_try) 2>&5
20406 ac_status=$?
20407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20408 (exit $ac_status); }; }; then
20409 glibcxx_cv_func__sincos_use=yes
20410 else
20411 echo "$as_me: failed program was:" >&5
20412 sed 's/^/| /' conftest.$ac_ext >&5
20414 glibcxx_cv_func__sincos_use=no
20416 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20417 ac_ext=c
20418 ac_cpp='$CPP $CPPFLAGS'
20419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20427 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
20428 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
20430 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
20432 for ac_func in _sincos
20434 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20435 echo "$as_me:$LINENO: checking for $ac_func" >&5
20436 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20437 if eval "test \"\${$as_ac_var+set}\" = set"; then
20438 echo $ECHO_N "(cached) $ECHO_C" >&6
20439 else
20440 if test x$gcc_no_link = xyes; then
20441 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20442 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20443 { (exit 1); exit 1; }; }
20445 cat >conftest.$ac_ext <<_ACEOF
20446 /* confdefs.h. */
20447 _ACEOF
20448 cat confdefs.h >>conftest.$ac_ext
20449 cat >>conftest.$ac_ext <<_ACEOF
20450 /* end confdefs.h. */
20451 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20452 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20453 #define $ac_func innocuous_$ac_func
20455 /* System header to define __stub macros and hopefully few prototypes,
20456 which can conflict with char $ac_func (); below.
20457 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20458 <limits.h> exists even on freestanding compilers. */
20460 #ifdef __STDC__
20461 # include <limits.h>
20462 #else
20463 # include <assert.h>
20464 #endif
20466 #undef $ac_func
20468 /* Override any gcc2 internal prototype to avoid an error. */
20469 #ifdef __cplusplus
20470 extern "C"
20472 #endif
20473 /* We use char because int might match the return type of a gcc2
20474 builtin and then its argument prototype would still apply. */
20475 char $ac_func ();
20476 /* The GNU C library defines this for functions which it implements
20477 to always fail with ENOSYS. Some functions are actually named
20478 something starting with __ and the normal name is an alias. */
20479 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20480 choke me
20481 #else
20482 char (*f) () = $ac_func;
20483 #endif
20484 #ifdef __cplusplus
20486 #endif
20489 main ()
20491 return f != $ac_func;
20493 return 0;
20495 _ACEOF
20496 rm -f conftest.$ac_objext conftest$ac_exeext
20497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20498 (eval $ac_link) 2>conftest.er1
20499 ac_status=$?
20500 grep -v '^ *+' conftest.er1 >conftest.err
20501 rm -f conftest.er1
20502 cat conftest.err >&5
20503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20504 (exit $ac_status); } &&
20505 { ac_try='test -z "$ac_c_werror_flag"
20506 || test ! -s conftest.err'
20507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20508 (eval $ac_try) 2>&5
20509 ac_status=$?
20510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20511 (exit $ac_status); }; } &&
20512 { ac_try='test -s conftest$ac_exeext'
20513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20514 (eval $ac_try) 2>&5
20515 ac_status=$?
20516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20517 (exit $ac_status); }; }; then
20518 eval "$as_ac_var=yes"
20519 else
20520 echo "$as_me: failed program was:" >&5
20521 sed 's/^/| /' conftest.$ac_ext >&5
20523 eval "$as_ac_var=no"
20525 rm -f conftest.err conftest.$ac_objext \
20526 conftest$ac_exeext conftest.$ac_ext
20528 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20529 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20530 if test `eval echo '${'$as_ac_var'}'` = yes; then
20531 cat >>confdefs.h <<_ACEOF
20532 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20533 _ACEOF
20536 done
20546 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
20547 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
20548 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
20549 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
20550 echo $ECHO_N "(cached) $ECHO_C" >&6
20551 else
20555 ac_ext=cc
20556 ac_cpp='$CXXCPP $CPPFLAGS'
20557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20561 cat >conftest.$ac_ext <<_ACEOF
20562 /* confdefs.h. */
20563 _ACEOF
20564 cat confdefs.h >>conftest.$ac_ext
20565 cat >>conftest.$ac_ext <<_ACEOF
20566 /* end confdefs.h. */
20567 #include <math.h>
20568 #ifdef HAVE_IEEEFP_H
20569 #include <ieeefp.h>
20570 #endif
20573 main ()
20575 fpclass(0);
20577 return 0;
20579 _ACEOF
20580 rm -f conftest.$ac_objext
20581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20582 (eval $ac_compile) 2>conftest.er1
20583 ac_status=$?
20584 grep -v '^ *+' conftest.er1 >conftest.err
20585 rm -f conftest.er1
20586 cat conftest.err >&5
20587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20588 (exit $ac_status); } &&
20589 { ac_try='test -z "$ac_cxx_werror_flag"
20590 || test ! -s conftest.err'
20591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20592 (eval $ac_try) 2>&5
20593 ac_status=$?
20594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20595 (exit $ac_status); }; } &&
20596 { ac_try='test -s conftest.$ac_objext'
20597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20598 (eval $ac_try) 2>&5
20599 ac_status=$?
20600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20601 (exit $ac_status); }; }; then
20602 glibcxx_cv_func_fpclass_use=yes
20603 else
20604 echo "$as_me: failed program was:" >&5
20605 sed 's/^/| /' conftest.$ac_ext >&5
20607 glibcxx_cv_func_fpclass_use=no
20609 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20610 ac_ext=c
20611 ac_cpp='$CPP $CPPFLAGS'
20612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20620 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
20621 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
20623 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
20625 for ac_func in fpclass
20627 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20628 echo "$as_me:$LINENO: checking for $ac_func" >&5
20629 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20630 if eval "test \"\${$as_ac_var+set}\" = set"; then
20631 echo $ECHO_N "(cached) $ECHO_C" >&6
20632 else
20633 if test x$gcc_no_link = xyes; then
20634 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20635 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20636 { (exit 1); exit 1; }; }
20638 cat >conftest.$ac_ext <<_ACEOF
20639 /* confdefs.h. */
20640 _ACEOF
20641 cat confdefs.h >>conftest.$ac_ext
20642 cat >>conftest.$ac_ext <<_ACEOF
20643 /* end confdefs.h. */
20644 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20645 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20646 #define $ac_func innocuous_$ac_func
20648 /* System header to define __stub macros and hopefully few prototypes,
20649 which can conflict with char $ac_func (); below.
20650 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20651 <limits.h> exists even on freestanding compilers. */
20653 #ifdef __STDC__
20654 # include <limits.h>
20655 #else
20656 # include <assert.h>
20657 #endif
20659 #undef $ac_func
20661 /* Override any gcc2 internal prototype to avoid an error. */
20662 #ifdef __cplusplus
20663 extern "C"
20665 #endif
20666 /* We use char because int might match the return type of a gcc2
20667 builtin and then its argument prototype would still apply. */
20668 char $ac_func ();
20669 /* The GNU C library defines this for functions which it implements
20670 to always fail with ENOSYS. Some functions are actually named
20671 something starting with __ and the normal name is an alias. */
20672 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20673 choke me
20674 #else
20675 char (*f) () = $ac_func;
20676 #endif
20677 #ifdef __cplusplus
20679 #endif
20682 main ()
20684 return f != $ac_func;
20686 return 0;
20688 _ACEOF
20689 rm -f conftest.$ac_objext conftest$ac_exeext
20690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20691 (eval $ac_link) 2>conftest.er1
20692 ac_status=$?
20693 grep -v '^ *+' conftest.er1 >conftest.err
20694 rm -f conftest.er1
20695 cat conftest.err >&5
20696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20697 (exit $ac_status); } &&
20698 { ac_try='test -z "$ac_c_werror_flag"
20699 || test ! -s conftest.err'
20700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20701 (eval $ac_try) 2>&5
20702 ac_status=$?
20703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20704 (exit $ac_status); }; } &&
20705 { ac_try='test -s conftest$ac_exeext'
20706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20707 (eval $ac_try) 2>&5
20708 ac_status=$?
20709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20710 (exit $ac_status); }; }; then
20711 eval "$as_ac_var=yes"
20712 else
20713 echo "$as_me: failed program was:" >&5
20714 sed 's/^/| /' conftest.$ac_ext >&5
20716 eval "$as_ac_var=no"
20718 rm -f conftest.err conftest.$ac_objext \
20719 conftest$ac_exeext conftest.$ac_ext
20721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20722 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20723 if test `eval echo '${'$as_ac_var'}'` = yes; then
20724 cat >>confdefs.h <<_ACEOF
20725 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20726 _ACEOF
20729 done
20731 else
20733 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
20734 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
20735 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
20736 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
20737 echo $ECHO_N "(cached) $ECHO_C" >&6
20738 else
20742 ac_ext=cc
20743 ac_cpp='$CXXCPP $CPPFLAGS'
20744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20748 cat >conftest.$ac_ext <<_ACEOF
20749 /* confdefs.h. */
20750 _ACEOF
20751 cat confdefs.h >>conftest.$ac_ext
20752 cat >>conftest.$ac_ext <<_ACEOF
20753 /* end confdefs.h. */
20754 #include <math.h>
20755 #ifdef HAVE_IEEEFP_H
20756 #include <ieeefp.h>
20757 #endif
20760 main ()
20762 _fpclass(0);
20764 return 0;
20766 _ACEOF
20767 rm -f conftest.$ac_objext
20768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20769 (eval $ac_compile) 2>conftest.er1
20770 ac_status=$?
20771 grep -v '^ *+' conftest.er1 >conftest.err
20772 rm -f conftest.er1
20773 cat conftest.err >&5
20774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20775 (exit $ac_status); } &&
20776 { ac_try='test -z "$ac_cxx_werror_flag"
20777 || test ! -s conftest.err'
20778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20779 (eval $ac_try) 2>&5
20780 ac_status=$?
20781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20782 (exit $ac_status); }; } &&
20783 { ac_try='test -s conftest.$ac_objext'
20784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20785 (eval $ac_try) 2>&5
20786 ac_status=$?
20787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20788 (exit $ac_status); }; }; then
20789 glibcxx_cv_func__fpclass_use=yes
20790 else
20791 echo "$as_me: failed program was:" >&5
20792 sed 's/^/| /' conftest.$ac_ext >&5
20794 glibcxx_cv_func__fpclass_use=no
20796 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20797 ac_ext=c
20798 ac_cpp='$CPP $CPPFLAGS'
20799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20807 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
20808 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
20810 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
20812 for ac_func in _fpclass
20814 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20815 echo "$as_me:$LINENO: checking for $ac_func" >&5
20816 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20817 if eval "test \"\${$as_ac_var+set}\" = set"; then
20818 echo $ECHO_N "(cached) $ECHO_C" >&6
20819 else
20820 if test x$gcc_no_link = xyes; then
20821 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20822 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20823 { (exit 1); exit 1; }; }
20825 cat >conftest.$ac_ext <<_ACEOF
20826 /* confdefs.h. */
20827 _ACEOF
20828 cat confdefs.h >>conftest.$ac_ext
20829 cat >>conftest.$ac_ext <<_ACEOF
20830 /* end confdefs.h. */
20831 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20832 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20833 #define $ac_func innocuous_$ac_func
20835 /* System header to define __stub macros and hopefully few prototypes,
20836 which can conflict with char $ac_func (); below.
20837 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20838 <limits.h> exists even on freestanding compilers. */
20840 #ifdef __STDC__
20841 # include <limits.h>
20842 #else
20843 # include <assert.h>
20844 #endif
20846 #undef $ac_func
20848 /* Override any gcc2 internal prototype to avoid an error. */
20849 #ifdef __cplusplus
20850 extern "C"
20852 #endif
20853 /* We use char because int might match the return type of a gcc2
20854 builtin and then its argument prototype would still apply. */
20855 char $ac_func ();
20856 /* The GNU C library defines this for functions which it implements
20857 to always fail with ENOSYS. Some functions are actually named
20858 something starting with __ and the normal name is an alias. */
20859 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20860 choke me
20861 #else
20862 char (*f) () = $ac_func;
20863 #endif
20864 #ifdef __cplusplus
20866 #endif
20869 main ()
20871 return f != $ac_func;
20873 return 0;
20875 _ACEOF
20876 rm -f conftest.$ac_objext conftest$ac_exeext
20877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20878 (eval $ac_link) 2>conftest.er1
20879 ac_status=$?
20880 grep -v '^ *+' conftest.er1 >conftest.err
20881 rm -f conftest.er1
20882 cat conftest.err >&5
20883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20884 (exit $ac_status); } &&
20885 { ac_try='test -z "$ac_c_werror_flag"
20886 || test ! -s conftest.err'
20887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20888 (eval $ac_try) 2>&5
20889 ac_status=$?
20890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20891 (exit $ac_status); }; } &&
20892 { ac_try='test -s conftest$ac_exeext'
20893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20894 (eval $ac_try) 2>&5
20895 ac_status=$?
20896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20897 (exit $ac_status); }; }; then
20898 eval "$as_ac_var=yes"
20899 else
20900 echo "$as_me: failed program was:" >&5
20901 sed 's/^/| /' conftest.$ac_ext >&5
20903 eval "$as_ac_var=no"
20905 rm -f conftest.err conftest.$ac_objext \
20906 conftest$ac_exeext conftest.$ac_ext
20908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20909 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20910 if test `eval echo '${'$as_ac_var'}'` = yes; then
20911 cat >>confdefs.h <<_ACEOF
20912 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20913 _ACEOF
20916 done
20926 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
20927 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
20928 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
20929 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
20930 echo $ECHO_N "(cached) $ECHO_C" >&6
20931 else
20935 ac_ext=cc
20936 ac_cpp='$CXXCPP $CPPFLAGS'
20937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20941 cat >conftest.$ac_ext <<_ACEOF
20942 /* confdefs.h. */
20943 _ACEOF
20944 cat confdefs.h >>conftest.$ac_ext
20945 cat >>conftest.$ac_ext <<_ACEOF
20946 /* end confdefs.h. */
20947 #include <math.h>
20948 #ifdef HAVE_IEEEFP_H
20949 #include <ieeefp.h>
20950 #endif
20953 main ()
20955 qfpclass(0);
20957 return 0;
20959 _ACEOF
20960 rm -f conftest.$ac_objext
20961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20962 (eval $ac_compile) 2>conftest.er1
20963 ac_status=$?
20964 grep -v '^ *+' conftest.er1 >conftest.err
20965 rm -f conftest.er1
20966 cat conftest.err >&5
20967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20968 (exit $ac_status); } &&
20969 { ac_try='test -z "$ac_cxx_werror_flag"
20970 || test ! -s conftest.err'
20971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20972 (eval $ac_try) 2>&5
20973 ac_status=$?
20974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20975 (exit $ac_status); }; } &&
20976 { ac_try='test -s conftest.$ac_objext'
20977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20978 (eval $ac_try) 2>&5
20979 ac_status=$?
20980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20981 (exit $ac_status); }; }; then
20982 glibcxx_cv_func_qfpclass_use=yes
20983 else
20984 echo "$as_me: failed program was:" >&5
20985 sed 's/^/| /' conftest.$ac_ext >&5
20987 glibcxx_cv_func_qfpclass_use=no
20989 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20990 ac_ext=c
20991 ac_cpp='$CPP $CPPFLAGS'
20992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21000 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
21001 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
21003 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21005 for ac_func in qfpclass
21007 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21008 echo "$as_me:$LINENO: checking for $ac_func" >&5
21009 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21010 if eval "test \"\${$as_ac_var+set}\" = set"; then
21011 echo $ECHO_N "(cached) $ECHO_C" >&6
21012 else
21013 if test x$gcc_no_link = xyes; then
21014 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21015 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21016 { (exit 1); exit 1; }; }
21018 cat >conftest.$ac_ext <<_ACEOF
21019 /* confdefs.h. */
21020 _ACEOF
21021 cat confdefs.h >>conftest.$ac_ext
21022 cat >>conftest.$ac_ext <<_ACEOF
21023 /* end confdefs.h. */
21024 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21025 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21026 #define $ac_func innocuous_$ac_func
21028 /* System header to define __stub macros and hopefully few prototypes,
21029 which can conflict with char $ac_func (); below.
21030 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21031 <limits.h> exists even on freestanding compilers. */
21033 #ifdef __STDC__
21034 # include <limits.h>
21035 #else
21036 # include <assert.h>
21037 #endif
21039 #undef $ac_func
21041 /* Override any gcc2 internal prototype to avoid an error. */
21042 #ifdef __cplusplus
21043 extern "C"
21045 #endif
21046 /* We use char because int might match the return type of a gcc2
21047 builtin and then its argument prototype would still apply. */
21048 char $ac_func ();
21049 /* The GNU C library defines this for functions which it implements
21050 to always fail with ENOSYS. Some functions are actually named
21051 something starting with __ and the normal name is an alias. */
21052 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21053 choke me
21054 #else
21055 char (*f) () = $ac_func;
21056 #endif
21057 #ifdef __cplusplus
21059 #endif
21062 main ()
21064 return f != $ac_func;
21066 return 0;
21068 _ACEOF
21069 rm -f conftest.$ac_objext conftest$ac_exeext
21070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21071 (eval $ac_link) 2>conftest.er1
21072 ac_status=$?
21073 grep -v '^ *+' conftest.er1 >conftest.err
21074 rm -f conftest.er1
21075 cat conftest.err >&5
21076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21077 (exit $ac_status); } &&
21078 { ac_try='test -z "$ac_c_werror_flag"
21079 || test ! -s conftest.err'
21080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21081 (eval $ac_try) 2>&5
21082 ac_status=$?
21083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21084 (exit $ac_status); }; } &&
21085 { ac_try='test -s conftest$ac_exeext'
21086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21087 (eval $ac_try) 2>&5
21088 ac_status=$?
21089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21090 (exit $ac_status); }; }; then
21091 eval "$as_ac_var=yes"
21092 else
21093 echo "$as_me: failed program was:" >&5
21094 sed 's/^/| /' conftest.$ac_ext >&5
21096 eval "$as_ac_var=no"
21098 rm -f conftest.err conftest.$ac_objext \
21099 conftest$ac_exeext conftest.$ac_ext
21101 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21102 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21103 if test `eval echo '${'$as_ac_var'}'` = yes; then
21104 cat >>confdefs.h <<_ACEOF
21105 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21106 _ACEOF
21109 done
21111 else
21113 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
21114 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
21115 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21116 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
21117 echo $ECHO_N "(cached) $ECHO_C" >&6
21118 else
21122 ac_ext=cc
21123 ac_cpp='$CXXCPP $CPPFLAGS'
21124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21128 cat >conftest.$ac_ext <<_ACEOF
21129 /* confdefs.h. */
21130 _ACEOF
21131 cat confdefs.h >>conftest.$ac_ext
21132 cat >>conftest.$ac_ext <<_ACEOF
21133 /* end confdefs.h. */
21134 #include <math.h>
21135 #ifdef HAVE_IEEEFP_H
21136 #include <ieeefp.h>
21137 #endif
21140 main ()
21142 _qfpclass(0);
21144 return 0;
21146 _ACEOF
21147 rm -f conftest.$ac_objext
21148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21149 (eval $ac_compile) 2>conftest.er1
21150 ac_status=$?
21151 grep -v '^ *+' conftest.er1 >conftest.err
21152 rm -f conftest.er1
21153 cat conftest.err >&5
21154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21155 (exit $ac_status); } &&
21156 { ac_try='test -z "$ac_cxx_werror_flag"
21157 || test ! -s conftest.err'
21158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21159 (eval $ac_try) 2>&5
21160 ac_status=$?
21161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21162 (exit $ac_status); }; } &&
21163 { ac_try='test -s conftest.$ac_objext'
21164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21165 (eval $ac_try) 2>&5
21166 ac_status=$?
21167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21168 (exit $ac_status); }; }; then
21169 glibcxx_cv_func__qfpclass_use=yes
21170 else
21171 echo "$as_me: failed program was:" >&5
21172 sed 's/^/| /' conftest.$ac_ext >&5
21174 glibcxx_cv_func__qfpclass_use=no
21176 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21177 ac_ext=c
21178 ac_cpp='$CPP $CPPFLAGS'
21179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21187 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
21188 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
21190 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21192 for ac_func in _qfpclass
21194 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21195 echo "$as_me:$LINENO: checking for $ac_func" >&5
21196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21197 if eval "test \"\${$as_ac_var+set}\" = set"; then
21198 echo $ECHO_N "(cached) $ECHO_C" >&6
21199 else
21200 if test x$gcc_no_link = xyes; then
21201 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21202 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21203 { (exit 1); exit 1; }; }
21205 cat >conftest.$ac_ext <<_ACEOF
21206 /* confdefs.h. */
21207 _ACEOF
21208 cat confdefs.h >>conftest.$ac_ext
21209 cat >>conftest.$ac_ext <<_ACEOF
21210 /* end confdefs.h. */
21211 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21212 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21213 #define $ac_func innocuous_$ac_func
21215 /* System header to define __stub macros and hopefully few prototypes,
21216 which can conflict with char $ac_func (); below.
21217 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21218 <limits.h> exists even on freestanding compilers. */
21220 #ifdef __STDC__
21221 # include <limits.h>
21222 #else
21223 # include <assert.h>
21224 #endif
21226 #undef $ac_func
21228 /* Override any gcc2 internal prototype to avoid an error. */
21229 #ifdef __cplusplus
21230 extern "C"
21232 #endif
21233 /* We use char because int might match the return type of a gcc2
21234 builtin and then its argument prototype would still apply. */
21235 char $ac_func ();
21236 /* The GNU C library defines this for functions which it implements
21237 to always fail with ENOSYS. Some functions are actually named
21238 something starting with __ and the normal name is an alias. */
21239 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21240 choke me
21241 #else
21242 char (*f) () = $ac_func;
21243 #endif
21244 #ifdef __cplusplus
21246 #endif
21249 main ()
21251 return f != $ac_func;
21253 return 0;
21255 _ACEOF
21256 rm -f conftest.$ac_objext conftest$ac_exeext
21257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21258 (eval $ac_link) 2>conftest.er1
21259 ac_status=$?
21260 grep -v '^ *+' conftest.er1 >conftest.err
21261 rm -f conftest.er1
21262 cat conftest.err >&5
21263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21264 (exit $ac_status); } &&
21265 { ac_try='test -z "$ac_c_werror_flag"
21266 || test ! -s conftest.err'
21267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21268 (eval $ac_try) 2>&5
21269 ac_status=$?
21270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21271 (exit $ac_status); }; } &&
21272 { ac_try='test -s conftest$ac_exeext'
21273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21274 (eval $ac_try) 2>&5
21275 ac_status=$?
21276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21277 (exit $ac_status); }; }; then
21278 eval "$as_ac_var=yes"
21279 else
21280 echo "$as_me: failed program was:" >&5
21281 sed 's/^/| /' conftest.$ac_ext >&5
21283 eval "$as_ac_var=no"
21285 rm -f conftest.err conftest.$ac_objext \
21286 conftest$ac_exeext conftest.$ac_ext
21288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21289 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21290 if test `eval echo '${'$as_ac_var'}'` = yes; then
21291 cat >>confdefs.h <<_ACEOF
21292 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21293 _ACEOF
21296 done
21306 echo "$as_me:$LINENO: checking for hypot declaration" >&5
21307 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
21308 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21309 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
21310 echo $ECHO_N "(cached) $ECHO_C" >&6
21311 else
21315 ac_ext=cc
21316 ac_cpp='$CXXCPP $CPPFLAGS'
21317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21321 cat >conftest.$ac_ext <<_ACEOF
21322 /* confdefs.h. */
21323 _ACEOF
21324 cat confdefs.h >>conftest.$ac_ext
21325 cat >>conftest.$ac_ext <<_ACEOF
21326 /* end confdefs.h. */
21327 #include <math.h>
21329 main ()
21331 hypot(0, 0);
21333 return 0;
21335 _ACEOF
21336 rm -f conftest.$ac_objext
21337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21338 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func_hypot_use=yes
21359 else
21360 echo "$as_me: failed program was:" >&5
21361 sed 's/^/| /' conftest.$ac_ext >&5
21363 glibcxx_cv_func_hypot_use=no
21365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21366 ac_ext=c
21367 ac_cpp='$CPP $CPPFLAGS'
21368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21376 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
21377 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
21379 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21381 for ac_func in hypot
21383 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21384 echo "$as_me:$LINENO: checking for $ac_func" >&5
21385 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21386 if eval "test \"\${$as_ac_var+set}\" = set"; then
21387 echo $ECHO_N "(cached) $ECHO_C" >&6
21388 else
21389 if test x$gcc_no_link = xyes; then
21390 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21391 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21392 { (exit 1); exit 1; }; }
21394 cat >conftest.$ac_ext <<_ACEOF
21395 /* confdefs.h. */
21396 _ACEOF
21397 cat confdefs.h >>conftest.$ac_ext
21398 cat >>conftest.$ac_ext <<_ACEOF
21399 /* end confdefs.h. */
21400 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21401 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21402 #define $ac_func innocuous_$ac_func
21404 /* System header to define __stub macros and hopefully few prototypes,
21405 which can conflict with char $ac_func (); below.
21406 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21407 <limits.h> exists even on freestanding compilers. */
21409 #ifdef __STDC__
21410 # include <limits.h>
21411 #else
21412 # include <assert.h>
21413 #endif
21415 #undef $ac_func
21417 /* Override any gcc2 internal prototype to avoid an error. */
21418 #ifdef __cplusplus
21419 extern "C"
21421 #endif
21422 /* We use char because int might match the return type of a gcc2
21423 builtin and then its argument prototype would still apply. */
21424 char $ac_func ();
21425 /* The GNU C library defines this for functions which it implements
21426 to always fail with ENOSYS. Some functions are actually named
21427 something starting with __ and the normal name is an alias. */
21428 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21429 choke me
21430 #else
21431 char (*f) () = $ac_func;
21432 #endif
21433 #ifdef __cplusplus
21435 #endif
21438 main ()
21440 return f != $ac_func;
21442 return 0;
21444 _ACEOF
21445 rm -f conftest.$ac_objext conftest$ac_exeext
21446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21447 (eval $ac_link) 2>conftest.er1
21448 ac_status=$?
21449 grep -v '^ *+' conftest.er1 >conftest.err
21450 rm -f conftest.er1
21451 cat conftest.err >&5
21452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21453 (exit $ac_status); } &&
21454 { ac_try='test -z "$ac_c_werror_flag"
21455 || test ! -s conftest.err'
21456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21457 (eval $ac_try) 2>&5
21458 ac_status=$?
21459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21460 (exit $ac_status); }; } &&
21461 { ac_try='test -s conftest$ac_exeext'
21462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21463 (eval $ac_try) 2>&5
21464 ac_status=$?
21465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21466 (exit $ac_status); }; }; then
21467 eval "$as_ac_var=yes"
21468 else
21469 echo "$as_me: failed program was:" >&5
21470 sed 's/^/| /' conftest.$ac_ext >&5
21472 eval "$as_ac_var=no"
21474 rm -f conftest.err conftest.$ac_objext \
21475 conftest$ac_exeext conftest.$ac_ext
21477 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21478 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21479 if test `eval echo '${'$as_ac_var'}'` = yes; then
21480 cat >>confdefs.h <<_ACEOF
21481 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21482 _ACEOF
21485 done
21487 else
21489 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
21490 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
21491 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21492 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
21493 echo $ECHO_N "(cached) $ECHO_C" >&6
21494 else
21498 ac_ext=cc
21499 ac_cpp='$CXXCPP $CPPFLAGS'
21500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21504 cat >conftest.$ac_ext <<_ACEOF
21505 /* confdefs.h. */
21506 _ACEOF
21507 cat confdefs.h >>conftest.$ac_ext
21508 cat >>conftest.$ac_ext <<_ACEOF
21509 /* end confdefs.h. */
21510 #include <math.h>
21512 main ()
21514 _hypot(0, 0);
21516 return 0;
21518 _ACEOF
21519 rm -f conftest.$ac_objext
21520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21521 (eval $ac_compile) 2>conftest.er1
21522 ac_status=$?
21523 grep -v '^ *+' conftest.er1 >conftest.err
21524 rm -f conftest.er1
21525 cat conftest.err >&5
21526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21527 (exit $ac_status); } &&
21528 { ac_try='test -z "$ac_cxx_werror_flag"
21529 || test ! -s conftest.err'
21530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21531 (eval $ac_try) 2>&5
21532 ac_status=$?
21533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21534 (exit $ac_status); }; } &&
21535 { ac_try='test -s conftest.$ac_objext'
21536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21537 (eval $ac_try) 2>&5
21538 ac_status=$?
21539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21540 (exit $ac_status); }; }; then
21541 glibcxx_cv_func__hypot_use=yes
21542 else
21543 echo "$as_me: failed program was:" >&5
21544 sed 's/^/| /' conftest.$ac_ext >&5
21546 glibcxx_cv_func__hypot_use=no
21548 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21549 ac_ext=c
21550 ac_cpp='$CPP $CPPFLAGS'
21551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21559 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
21560 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
21562 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21564 for ac_func in _hypot
21566 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21567 echo "$as_me:$LINENO: checking for $ac_func" >&5
21568 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21569 if eval "test \"\${$as_ac_var+set}\" = set"; then
21570 echo $ECHO_N "(cached) $ECHO_C" >&6
21571 else
21572 if test x$gcc_no_link = xyes; then
21573 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21574 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21575 { (exit 1); exit 1; }; }
21577 cat >conftest.$ac_ext <<_ACEOF
21578 /* confdefs.h. */
21579 _ACEOF
21580 cat confdefs.h >>conftest.$ac_ext
21581 cat >>conftest.$ac_ext <<_ACEOF
21582 /* end confdefs.h. */
21583 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21584 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21585 #define $ac_func innocuous_$ac_func
21587 /* System header to define __stub macros and hopefully few prototypes,
21588 which can conflict with char $ac_func (); below.
21589 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21590 <limits.h> exists even on freestanding compilers. */
21592 #ifdef __STDC__
21593 # include <limits.h>
21594 #else
21595 # include <assert.h>
21596 #endif
21598 #undef $ac_func
21600 /* Override any gcc2 internal prototype to avoid an error. */
21601 #ifdef __cplusplus
21602 extern "C"
21604 #endif
21605 /* We use char because int might match the return type of a gcc2
21606 builtin and then its argument prototype would still apply. */
21607 char $ac_func ();
21608 /* The GNU C library defines this for functions which it implements
21609 to always fail with ENOSYS. Some functions are actually named
21610 something starting with __ and the normal name is an alias. */
21611 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21612 choke me
21613 #else
21614 char (*f) () = $ac_func;
21615 #endif
21616 #ifdef __cplusplus
21618 #endif
21621 main ()
21623 return f != $ac_func;
21625 return 0;
21627 _ACEOF
21628 rm -f conftest.$ac_objext conftest$ac_exeext
21629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21630 (eval $ac_link) 2>conftest.er1
21631 ac_status=$?
21632 grep -v '^ *+' conftest.er1 >conftest.err
21633 rm -f conftest.er1
21634 cat conftest.err >&5
21635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21636 (exit $ac_status); } &&
21637 { ac_try='test -z "$ac_c_werror_flag"
21638 || test ! -s conftest.err'
21639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21640 (eval $ac_try) 2>&5
21641 ac_status=$?
21642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21643 (exit $ac_status); }; } &&
21644 { ac_try='test -s conftest$ac_exeext'
21645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21646 (eval $ac_try) 2>&5
21647 ac_status=$?
21648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21649 (exit $ac_status); }; }; then
21650 eval "$as_ac_var=yes"
21651 else
21652 echo "$as_me: failed program was:" >&5
21653 sed 's/^/| /' conftest.$ac_ext >&5
21655 eval "$as_ac_var=no"
21657 rm -f conftest.err conftest.$ac_objext \
21658 conftest$ac_exeext conftest.$ac_ext
21660 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21661 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21662 if test `eval echo '${'$as_ac_var'}'` = yes; then
21663 cat >>confdefs.h <<_ACEOF
21664 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21665 _ACEOF
21668 done
21678 echo "$as_me:$LINENO: checking for float trig functions" >&5
21679 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
21680 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
21681 echo $ECHO_N "(cached) $ECHO_C" >&6
21682 else
21686 ac_ext=cc
21687 ac_cpp='$CXXCPP $CPPFLAGS'
21688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21692 cat >conftest.$ac_ext <<_ACEOF
21693 /* confdefs.h. */
21694 _ACEOF
21695 cat confdefs.h >>conftest.$ac_ext
21696 cat >>conftest.$ac_ext <<_ACEOF
21697 /* end confdefs.h. */
21698 #include <math.h>
21700 main ()
21702 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21704 return 0;
21706 _ACEOF
21707 rm -f conftest.$ac_objext
21708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21709 (eval $ac_compile) 2>conftest.er1
21710 ac_status=$?
21711 grep -v '^ *+' conftest.er1 >conftest.err
21712 rm -f conftest.er1
21713 cat conftest.err >&5
21714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21715 (exit $ac_status); } &&
21716 { ac_try='test -z "$ac_cxx_werror_flag"
21717 || test ! -s conftest.err'
21718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21719 (eval $ac_try) 2>&5
21720 ac_status=$?
21721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21722 (exit $ac_status); }; } &&
21723 { ac_try='test -s conftest.$ac_objext'
21724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21725 (eval $ac_try) 2>&5
21726 ac_status=$?
21727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21728 (exit $ac_status); }; }; then
21729 glibcxx_cv_func_float_trig_use=yes
21730 else
21731 echo "$as_me: failed program was:" >&5
21732 sed 's/^/| /' conftest.$ac_ext >&5
21734 glibcxx_cv_func_float_trig_use=no
21736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21737 ac_ext=c
21738 ac_cpp='$CPP $CPPFLAGS'
21739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21745 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
21746 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
21747 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
21757 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
21759 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21760 echo "$as_me:$LINENO: checking for $ac_func" >&5
21761 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21762 if eval "test \"\${$as_ac_var+set}\" = set"; then
21763 echo $ECHO_N "(cached) $ECHO_C" >&6
21764 else
21765 if test x$gcc_no_link = xyes; then
21766 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21767 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21768 { (exit 1); exit 1; }; }
21770 cat >conftest.$ac_ext <<_ACEOF
21771 /* confdefs.h. */
21772 _ACEOF
21773 cat confdefs.h >>conftest.$ac_ext
21774 cat >>conftest.$ac_ext <<_ACEOF
21775 /* end confdefs.h. */
21776 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21777 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21778 #define $ac_func innocuous_$ac_func
21780 /* System header to define __stub macros and hopefully few prototypes,
21781 which can conflict with char $ac_func (); below.
21782 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21783 <limits.h> exists even on freestanding compilers. */
21785 #ifdef __STDC__
21786 # include <limits.h>
21787 #else
21788 # include <assert.h>
21789 #endif
21791 #undef $ac_func
21793 /* Override any gcc2 internal prototype to avoid an error. */
21794 #ifdef __cplusplus
21795 extern "C"
21797 #endif
21798 /* We use char because int might match the return type of a gcc2
21799 builtin and then its argument prototype would still apply. */
21800 char $ac_func ();
21801 /* The GNU C library defines this for functions which it implements
21802 to always fail with ENOSYS. Some functions are actually named
21803 something starting with __ and the normal name is an alias. */
21804 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21805 choke me
21806 #else
21807 char (*f) () = $ac_func;
21808 #endif
21809 #ifdef __cplusplus
21811 #endif
21814 main ()
21816 return f != $ac_func;
21818 return 0;
21820 _ACEOF
21821 rm -f conftest.$ac_objext conftest$ac_exeext
21822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21823 (eval $ac_link) 2>conftest.er1
21824 ac_status=$?
21825 grep -v '^ *+' conftest.er1 >conftest.err
21826 rm -f conftest.er1
21827 cat conftest.err >&5
21828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21829 (exit $ac_status); } &&
21830 { ac_try='test -z "$ac_c_werror_flag"
21831 || test ! -s conftest.err'
21832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21833 (eval $ac_try) 2>&5
21834 ac_status=$?
21835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21836 (exit $ac_status); }; } &&
21837 { ac_try='test -s conftest$ac_exeext'
21838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21839 (eval $ac_try) 2>&5
21840 ac_status=$?
21841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21842 (exit $ac_status); }; }; then
21843 eval "$as_ac_var=yes"
21844 else
21845 echo "$as_me: failed program was:" >&5
21846 sed 's/^/| /' conftest.$ac_ext >&5
21848 eval "$as_ac_var=no"
21850 rm -f conftest.err conftest.$ac_objext \
21851 conftest$ac_exeext conftest.$ac_ext
21853 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21854 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21855 if test `eval echo '${'$as_ac_var'}'` = yes; then
21856 cat >>confdefs.h <<_ACEOF
21857 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21858 _ACEOF
21861 done
21863 else
21864 echo "$as_me:$LINENO: checking for _float trig functions" >&5
21865 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
21866 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
21867 echo $ECHO_N "(cached) $ECHO_C" >&6
21868 else
21872 ac_ext=cc
21873 ac_cpp='$CXXCPP $CPPFLAGS'
21874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21878 cat >conftest.$ac_ext <<_ACEOF
21879 /* confdefs.h. */
21880 _ACEOF
21881 cat confdefs.h >>conftest.$ac_ext
21882 cat >>conftest.$ac_ext <<_ACEOF
21883 /* end confdefs.h. */
21884 #include <math.h>
21886 main ()
21888 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
21890 return 0;
21892 _ACEOF
21893 rm -f conftest.$ac_objext
21894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21895 (eval $ac_compile) 2>conftest.er1
21896 ac_status=$?
21897 grep -v '^ *+' conftest.er1 >conftest.err
21898 rm -f conftest.er1
21899 cat conftest.err >&5
21900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21901 (exit $ac_status); } &&
21902 { ac_try='test -z "$ac_cxx_werror_flag"
21903 || test ! -s conftest.err'
21904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21905 (eval $ac_try) 2>&5
21906 ac_status=$?
21907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21908 (exit $ac_status); }; } &&
21909 { ac_try='test -s conftest.$ac_objext'
21910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21911 (eval $ac_try) 2>&5
21912 ac_status=$?
21913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21914 (exit $ac_status); }; }; then
21915 glibcxx_cv_func__float_trig_use=yes
21916 else
21917 echo "$as_me: failed program was:" >&5
21918 sed 's/^/| /' conftest.$ac_ext >&5
21920 glibcxx_cv_func__float_trig_use=no
21922 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21923 ac_ext=c
21924 ac_cpp='$CPP $CPPFLAGS'
21925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21931 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
21932 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
21933 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
21943 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
21945 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21946 echo "$as_me:$LINENO: checking for $ac_func" >&5
21947 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21948 if eval "test \"\${$as_ac_var+set}\" = set"; then
21949 echo $ECHO_N "(cached) $ECHO_C" >&6
21950 else
21951 if test x$gcc_no_link = xyes; then
21952 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21953 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21954 { (exit 1); exit 1; }; }
21956 cat >conftest.$ac_ext <<_ACEOF
21957 /* confdefs.h. */
21958 _ACEOF
21959 cat confdefs.h >>conftest.$ac_ext
21960 cat >>conftest.$ac_ext <<_ACEOF
21961 /* end confdefs.h. */
21962 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21963 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21964 #define $ac_func innocuous_$ac_func
21966 /* System header to define __stub macros and hopefully few prototypes,
21967 which can conflict with char $ac_func (); below.
21968 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21969 <limits.h> exists even on freestanding compilers. */
21971 #ifdef __STDC__
21972 # include <limits.h>
21973 #else
21974 # include <assert.h>
21975 #endif
21977 #undef $ac_func
21979 /* Override any gcc2 internal prototype to avoid an error. */
21980 #ifdef __cplusplus
21981 extern "C"
21983 #endif
21984 /* We use char because int might match the return type of a gcc2
21985 builtin and then its argument prototype would still apply. */
21986 char $ac_func ();
21987 /* The GNU C library defines this for functions which it implements
21988 to always fail with ENOSYS. Some functions are actually named
21989 something starting with __ and the normal name is an alias. */
21990 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21991 choke me
21992 #else
21993 char (*f) () = $ac_func;
21994 #endif
21995 #ifdef __cplusplus
21997 #endif
22000 main ()
22002 return f != $ac_func;
22004 return 0;
22006 _ACEOF
22007 rm -f conftest.$ac_objext conftest$ac_exeext
22008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22009 (eval $ac_link) 2>conftest.er1
22010 ac_status=$?
22011 grep -v '^ *+' conftest.er1 >conftest.err
22012 rm -f conftest.er1
22013 cat conftest.err >&5
22014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22015 (exit $ac_status); } &&
22016 { ac_try='test -z "$ac_c_werror_flag"
22017 || test ! -s conftest.err'
22018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22019 (eval $ac_try) 2>&5
22020 ac_status=$?
22021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22022 (exit $ac_status); }; } &&
22023 { ac_try='test -s conftest$ac_exeext'
22024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22025 (eval $ac_try) 2>&5
22026 ac_status=$?
22027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22028 (exit $ac_status); }; }; then
22029 eval "$as_ac_var=yes"
22030 else
22031 echo "$as_me: failed program was:" >&5
22032 sed 's/^/| /' conftest.$ac_ext >&5
22034 eval "$as_ac_var=no"
22036 rm -f conftest.err conftest.$ac_objext \
22037 conftest$ac_exeext conftest.$ac_ext
22039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22040 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22041 if test `eval echo '${'$as_ac_var'}'` = yes; then
22042 cat >>confdefs.h <<_ACEOF
22043 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22044 _ACEOF
22047 done
22065 echo "$as_me:$LINENO: checking for float round functions" >&5
22066 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
22067 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
22068 echo $ECHO_N "(cached) $ECHO_C" >&6
22069 else
22073 ac_ext=cc
22074 ac_cpp='$CXXCPP $CPPFLAGS'
22075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22079 cat >conftest.$ac_ext <<_ACEOF
22080 /* confdefs.h. */
22081 _ACEOF
22082 cat confdefs.h >>conftest.$ac_ext
22083 cat >>conftest.$ac_ext <<_ACEOF
22084 /* end confdefs.h. */
22085 #include <math.h>
22087 main ()
22089 ceilf (0); floorf (0);
22091 return 0;
22093 _ACEOF
22094 rm -f conftest.$ac_objext
22095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22096 (eval $ac_compile) 2>conftest.er1
22097 ac_status=$?
22098 grep -v '^ *+' conftest.er1 >conftest.err
22099 rm -f conftest.er1
22100 cat conftest.err >&5
22101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22102 (exit $ac_status); } &&
22103 { ac_try='test -z "$ac_cxx_werror_flag"
22104 || test ! -s conftest.err'
22105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22106 (eval $ac_try) 2>&5
22107 ac_status=$?
22108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22109 (exit $ac_status); }; } &&
22110 { ac_try='test -s conftest.$ac_objext'
22111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22112 (eval $ac_try) 2>&5
22113 ac_status=$?
22114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22115 (exit $ac_status); }; }; then
22116 glibcxx_cv_func_float_round_use=yes
22117 else
22118 echo "$as_me: failed program was:" >&5
22119 sed 's/^/| /' conftest.$ac_ext >&5
22121 glibcxx_cv_func_float_round_use=no
22123 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22124 ac_ext=c
22125 ac_cpp='$CPP $CPPFLAGS'
22126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22132 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
22133 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
22134 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
22137 for ac_func in ceilf floorf
22139 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22140 echo "$as_me:$LINENO: checking for $ac_func" >&5
22141 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22142 if eval "test \"\${$as_ac_var+set}\" = set"; then
22143 echo $ECHO_N "(cached) $ECHO_C" >&6
22144 else
22145 if test x$gcc_no_link = xyes; then
22146 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22147 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22148 { (exit 1); exit 1; }; }
22150 cat >conftest.$ac_ext <<_ACEOF
22151 /* confdefs.h. */
22152 _ACEOF
22153 cat confdefs.h >>conftest.$ac_ext
22154 cat >>conftest.$ac_ext <<_ACEOF
22155 /* end confdefs.h. */
22156 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22157 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22158 #define $ac_func innocuous_$ac_func
22160 /* System header to define __stub macros and hopefully few prototypes,
22161 which can conflict with char $ac_func (); below.
22162 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22163 <limits.h> exists even on freestanding compilers. */
22165 #ifdef __STDC__
22166 # include <limits.h>
22167 #else
22168 # include <assert.h>
22169 #endif
22171 #undef $ac_func
22173 /* Override any gcc2 internal prototype to avoid an error. */
22174 #ifdef __cplusplus
22175 extern "C"
22177 #endif
22178 /* We use char because int might match the return type of a gcc2
22179 builtin and then its argument prototype would still apply. */
22180 char $ac_func ();
22181 /* The GNU C library defines this for functions which it implements
22182 to always fail with ENOSYS. Some functions are actually named
22183 something starting with __ and the normal name is an alias. */
22184 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22185 choke me
22186 #else
22187 char (*f) () = $ac_func;
22188 #endif
22189 #ifdef __cplusplus
22191 #endif
22194 main ()
22196 return f != $ac_func;
22198 return 0;
22200 _ACEOF
22201 rm -f conftest.$ac_objext conftest$ac_exeext
22202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22203 (eval $ac_link) 2>conftest.er1
22204 ac_status=$?
22205 grep -v '^ *+' conftest.er1 >conftest.err
22206 rm -f conftest.er1
22207 cat conftest.err >&5
22208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22209 (exit $ac_status); } &&
22210 { ac_try='test -z "$ac_c_werror_flag"
22211 || test ! -s conftest.err'
22212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22213 (eval $ac_try) 2>&5
22214 ac_status=$?
22215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22216 (exit $ac_status); }; } &&
22217 { ac_try='test -s conftest$ac_exeext'
22218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22219 (eval $ac_try) 2>&5
22220 ac_status=$?
22221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22222 (exit $ac_status); }; }; then
22223 eval "$as_ac_var=yes"
22224 else
22225 echo "$as_me: failed program was:" >&5
22226 sed 's/^/| /' conftest.$ac_ext >&5
22228 eval "$as_ac_var=no"
22230 rm -f conftest.err conftest.$ac_objext \
22231 conftest$ac_exeext conftest.$ac_ext
22233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22234 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22235 if test `eval echo '${'$as_ac_var'}'` = yes; then
22236 cat >>confdefs.h <<_ACEOF
22237 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22238 _ACEOF
22241 done
22243 else
22244 echo "$as_me:$LINENO: checking for _float round functions" >&5
22245 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
22246 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
22247 echo $ECHO_N "(cached) $ECHO_C" >&6
22248 else
22252 ac_ext=cc
22253 ac_cpp='$CXXCPP $CPPFLAGS'
22254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22258 cat >conftest.$ac_ext <<_ACEOF
22259 /* confdefs.h. */
22260 _ACEOF
22261 cat confdefs.h >>conftest.$ac_ext
22262 cat >>conftest.$ac_ext <<_ACEOF
22263 /* end confdefs.h. */
22264 #include <math.h>
22266 main ()
22268 _ceilf (0); _floorf (0);
22270 return 0;
22272 _ACEOF
22273 rm -f conftest.$ac_objext
22274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22275 (eval $ac_compile) 2>conftest.er1
22276 ac_status=$?
22277 grep -v '^ *+' conftest.er1 >conftest.err
22278 rm -f conftest.er1
22279 cat conftest.err >&5
22280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22281 (exit $ac_status); } &&
22282 { ac_try='test -z "$ac_cxx_werror_flag"
22283 || test ! -s conftest.err'
22284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22285 (eval $ac_try) 2>&5
22286 ac_status=$?
22287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22288 (exit $ac_status); }; } &&
22289 { ac_try='test -s conftest.$ac_objext'
22290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22291 (eval $ac_try) 2>&5
22292 ac_status=$?
22293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22294 (exit $ac_status); }; }; then
22295 glibcxx_cv_func__float_round_use=yes
22296 else
22297 echo "$as_me: failed program was:" >&5
22298 sed 's/^/| /' conftest.$ac_ext >&5
22300 glibcxx_cv_func__float_round_use=no
22302 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22303 ac_ext=c
22304 ac_cpp='$CPP $CPPFLAGS'
22305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22311 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
22312 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
22313 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
22316 for ac_func in _ceilf _floorf
22318 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22319 echo "$as_me:$LINENO: checking for $ac_func" >&5
22320 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22321 if eval "test \"\${$as_ac_var+set}\" = set"; then
22322 echo $ECHO_N "(cached) $ECHO_C" >&6
22323 else
22324 if test x$gcc_no_link = xyes; then
22325 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22326 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22327 { (exit 1); exit 1; }; }
22329 cat >conftest.$ac_ext <<_ACEOF
22330 /* confdefs.h. */
22331 _ACEOF
22332 cat confdefs.h >>conftest.$ac_ext
22333 cat >>conftest.$ac_ext <<_ACEOF
22334 /* end confdefs.h. */
22335 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22336 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22337 #define $ac_func innocuous_$ac_func
22339 /* System header to define __stub macros and hopefully few prototypes,
22340 which can conflict with char $ac_func (); below.
22341 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22342 <limits.h> exists even on freestanding compilers. */
22344 #ifdef __STDC__
22345 # include <limits.h>
22346 #else
22347 # include <assert.h>
22348 #endif
22350 #undef $ac_func
22352 /* Override any gcc2 internal prototype to avoid an error. */
22353 #ifdef __cplusplus
22354 extern "C"
22356 #endif
22357 /* We use char because int might match the return type of a gcc2
22358 builtin and then its argument prototype would still apply. */
22359 char $ac_func ();
22360 /* The GNU C library defines this for functions which it implements
22361 to always fail with ENOSYS. Some functions are actually named
22362 something starting with __ and the normal name is an alias. */
22363 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22364 choke me
22365 #else
22366 char (*f) () = $ac_func;
22367 #endif
22368 #ifdef __cplusplus
22370 #endif
22373 main ()
22375 return f != $ac_func;
22377 return 0;
22379 _ACEOF
22380 rm -f conftest.$ac_objext conftest$ac_exeext
22381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22382 (eval $ac_link) 2>conftest.er1
22383 ac_status=$?
22384 grep -v '^ *+' conftest.er1 >conftest.err
22385 rm -f conftest.er1
22386 cat conftest.err >&5
22387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22388 (exit $ac_status); } &&
22389 { ac_try='test -z "$ac_c_werror_flag"
22390 || test ! -s conftest.err'
22391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22392 (eval $ac_try) 2>&5
22393 ac_status=$?
22394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22395 (exit $ac_status); }; } &&
22396 { ac_try='test -s conftest$ac_exeext'
22397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22398 (eval $ac_try) 2>&5
22399 ac_status=$?
22400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22401 (exit $ac_status); }; }; then
22402 eval "$as_ac_var=yes"
22403 else
22404 echo "$as_me: failed program was:" >&5
22405 sed 's/^/| /' conftest.$ac_ext >&5
22407 eval "$as_ac_var=no"
22409 rm -f conftest.err conftest.$ac_objext \
22410 conftest$ac_exeext conftest.$ac_ext
22412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22413 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22414 if test `eval echo '${'$as_ac_var'}'` = yes; then
22415 cat >>confdefs.h <<_ACEOF
22416 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22417 _ACEOF
22420 done
22432 echo "$as_me:$LINENO: checking for expf declaration" >&5
22433 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
22434 if test x${glibcxx_cv_func_expf_use+set} != xset; then
22435 if test "${glibcxx_cv_func_expf_use+set}" = set; then
22436 echo $ECHO_N "(cached) $ECHO_C" >&6
22437 else
22441 ac_ext=cc
22442 ac_cpp='$CXXCPP $CPPFLAGS'
22443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22447 cat >conftest.$ac_ext <<_ACEOF
22448 /* confdefs.h. */
22449 _ACEOF
22450 cat confdefs.h >>conftest.$ac_ext
22451 cat >>conftest.$ac_ext <<_ACEOF
22452 /* end confdefs.h. */
22453 #include <math.h>
22454 #ifdef HAVE_IEEEFP_H
22455 #include <ieeefp.h>
22456 #endif
22459 main ()
22461 expf(0);
22463 return 0;
22465 _ACEOF
22466 rm -f conftest.$ac_objext
22467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22468 (eval $ac_compile) 2>conftest.er1
22469 ac_status=$?
22470 grep -v '^ *+' conftest.er1 >conftest.err
22471 rm -f conftest.er1
22472 cat conftest.err >&5
22473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22474 (exit $ac_status); } &&
22475 { ac_try='test -z "$ac_cxx_werror_flag"
22476 || test ! -s conftest.err'
22477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22478 (eval $ac_try) 2>&5
22479 ac_status=$?
22480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22481 (exit $ac_status); }; } &&
22482 { ac_try='test -s conftest.$ac_objext'
22483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22484 (eval $ac_try) 2>&5
22485 ac_status=$?
22486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22487 (exit $ac_status); }; }; then
22488 glibcxx_cv_func_expf_use=yes
22489 else
22490 echo "$as_me: failed program was:" >&5
22491 sed 's/^/| /' conftest.$ac_ext >&5
22493 glibcxx_cv_func_expf_use=no
22495 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22496 ac_ext=c
22497 ac_cpp='$CPP $CPPFLAGS'
22498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22506 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
22507 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
22509 if test x$glibcxx_cv_func_expf_use = x"yes"; then
22511 for ac_func in expf
22513 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22514 echo "$as_me:$LINENO: checking for $ac_func" >&5
22515 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22516 if eval "test \"\${$as_ac_var+set}\" = set"; then
22517 echo $ECHO_N "(cached) $ECHO_C" >&6
22518 else
22519 if test x$gcc_no_link = xyes; then
22520 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22521 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22522 { (exit 1); exit 1; }; }
22524 cat >conftest.$ac_ext <<_ACEOF
22525 /* confdefs.h. */
22526 _ACEOF
22527 cat confdefs.h >>conftest.$ac_ext
22528 cat >>conftest.$ac_ext <<_ACEOF
22529 /* end confdefs.h. */
22530 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22531 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22532 #define $ac_func innocuous_$ac_func
22534 /* System header to define __stub macros and hopefully few prototypes,
22535 which can conflict with char $ac_func (); below.
22536 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22537 <limits.h> exists even on freestanding compilers. */
22539 #ifdef __STDC__
22540 # include <limits.h>
22541 #else
22542 # include <assert.h>
22543 #endif
22545 #undef $ac_func
22547 /* Override any gcc2 internal prototype to avoid an error. */
22548 #ifdef __cplusplus
22549 extern "C"
22551 #endif
22552 /* We use char because int might match the return type of a gcc2
22553 builtin and then its argument prototype would still apply. */
22554 char $ac_func ();
22555 /* The GNU C library defines this for functions which it implements
22556 to always fail with ENOSYS. Some functions are actually named
22557 something starting with __ and the normal name is an alias. */
22558 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22559 choke me
22560 #else
22561 char (*f) () = $ac_func;
22562 #endif
22563 #ifdef __cplusplus
22565 #endif
22568 main ()
22570 return f != $ac_func;
22572 return 0;
22574 _ACEOF
22575 rm -f conftest.$ac_objext conftest$ac_exeext
22576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22577 (eval $ac_link) 2>conftest.er1
22578 ac_status=$?
22579 grep -v '^ *+' conftest.er1 >conftest.err
22580 rm -f conftest.er1
22581 cat conftest.err >&5
22582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22583 (exit $ac_status); } &&
22584 { ac_try='test -z "$ac_c_werror_flag"
22585 || test ! -s conftest.err'
22586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22587 (eval $ac_try) 2>&5
22588 ac_status=$?
22589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22590 (exit $ac_status); }; } &&
22591 { ac_try='test -s conftest$ac_exeext'
22592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22593 (eval $ac_try) 2>&5
22594 ac_status=$?
22595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22596 (exit $ac_status); }; }; then
22597 eval "$as_ac_var=yes"
22598 else
22599 echo "$as_me: failed program was:" >&5
22600 sed 's/^/| /' conftest.$ac_ext >&5
22602 eval "$as_ac_var=no"
22604 rm -f conftest.err conftest.$ac_objext \
22605 conftest$ac_exeext conftest.$ac_ext
22607 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22608 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22609 if test `eval echo '${'$as_ac_var'}'` = yes; then
22610 cat >>confdefs.h <<_ACEOF
22611 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22612 _ACEOF
22615 done
22617 else
22619 echo "$as_me:$LINENO: checking for _expf declaration" >&5
22620 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
22621 if test x${glibcxx_cv_func__expf_use+set} != xset; then
22622 if test "${glibcxx_cv_func__expf_use+set}" = set; then
22623 echo $ECHO_N "(cached) $ECHO_C" >&6
22624 else
22628 ac_ext=cc
22629 ac_cpp='$CXXCPP $CPPFLAGS'
22630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22634 cat >conftest.$ac_ext <<_ACEOF
22635 /* confdefs.h. */
22636 _ACEOF
22637 cat confdefs.h >>conftest.$ac_ext
22638 cat >>conftest.$ac_ext <<_ACEOF
22639 /* end confdefs.h. */
22640 #include <math.h>
22641 #ifdef HAVE_IEEEFP_H
22642 #include <ieeefp.h>
22643 #endif
22646 main ()
22648 _expf(0);
22650 return 0;
22652 _ACEOF
22653 rm -f conftest.$ac_objext
22654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22655 (eval $ac_compile) 2>conftest.er1
22656 ac_status=$?
22657 grep -v '^ *+' conftest.er1 >conftest.err
22658 rm -f conftest.er1
22659 cat conftest.err >&5
22660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22661 (exit $ac_status); } &&
22662 { ac_try='test -z "$ac_cxx_werror_flag"
22663 || test ! -s conftest.err'
22664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22665 (eval $ac_try) 2>&5
22666 ac_status=$?
22667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22668 (exit $ac_status); }; } &&
22669 { ac_try='test -s conftest.$ac_objext'
22670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22671 (eval $ac_try) 2>&5
22672 ac_status=$?
22673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22674 (exit $ac_status); }; }; then
22675 glibcxx_cv_func__expf_use=yes
22676 else
22677 echo "$as_me: failed program was:" >&5
22678 sed 's/^/| /' conftest.$ac_ext >&5
22680 glibcxx_cv_func__expf_use=no
22682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22683 ac_ext=c
22684 ac_cpp='$CPP $CPPFLAGS'
22685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22693 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
22694 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
22696 if test x$glibcxx_cv_func__expf_use = x"yes"; then
22698 for ac_func in _expf
22700 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22701 echo "$as_me:$LINENO: checking for $ac_func" >&5
22702 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22703 if eval "test \"\${$as_ac_var+set}\" = set"; then
22704 echo $ECHO_N "(cached) $ECHO_C" >&6
22705 else
22706 if test x$gcc_no_link = xyes; then
22707 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22708 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22709 { (exit 1); exit 1; }; }
22711 cat >conftest.$ac_ext <<_ACEOF
22712 /* confdefs.h. */
22713 _ACEOF
22714 cat confdefs.h >>conftest.$ac_ext
22715 cat >>conftest.$ac_ext <<_ACEOF
22716 /* end confdefs.h. */
22717 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22718 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22719 #define $ac_func innocuous_$ac_func
22721 /* System header to define __stub macros and hopefully few prototypes,
22722 which can conflict with char $ac_func (); below.
22723 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22724 <limits.h> exists even on freestanding compilers. */
22726 #ifdef __STDC__
22727 # include <limits.h>
22728 #else
22729 # include <assert.h>
22730 #endif
22732 #undef $ac_func
22734 /* Override any gcc2 internal prototype to avoid an error. */
22735 #ifdef __cplusplus
22736 extern "C"
22738 #endif
22739 /* We use char because int might match the return type of a gcc2
22740 builtin and then its argument prototype would still apply. */
22741 char $ac_func ();
22742 /* The GNU C library defines this for functions which it implements
22743 to always fail with ENOSYS. Some functions are actually named
22744 something starting with __ and the normal name is an alias. */
22745 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22746 choke me
22747 #else
22748 char (*f) () = $ac_func;
22749 #endif
22750 #ifdef __cplusplus
22752 #endif
22755 main ()
22757 return f != $ac_func;
22759 return 0;
22761 _ACEOF
22762 rm -f conftest.$ac_objext conftest$ac_exeext
22763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22764 (eval $ac_link) 2>conftest.er1
22765 ac_status=$?
22766 grep -v '^ *+' conftest.er1 >conftest.err
22767 rm -f conftest.er1
22768 cat conftest.err >&5
22769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22770 (exit $ac_status); } &&
22771 { ac_try='test -z "$ac_c_werror_flag"
22772 || test ! -s conftest.err'
22773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22774 (eval $ac_try) 2>&5
22775 ac_status=$?
22776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22777 (exit $ac_status); }; } &&
22778 { ac_try='test -s conftest$ac_exeext'
22779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22780 (eval $ac_try) 2>&5
22781 ac_status=$?
22782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22783 (exit $ac_status); }; }; then
22784 eval "$as_ac_var=yes"
22785 else
22786 echo "$as_me: failed program was:" >&5
22787 sed 's/^/| /' conftest.$ac_ext >&5
22789 eval "$as_ac_var=no"
22791 rm -f conftest.err conftest.$ac_objext \
22792 conftest$ac_exeext conftest.$ac_ext
22794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22795 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22796 if test `eval echo '${'$as_ac_var'}'` = yes; then
22797 cat >>confdefs.h <<_ACEOF
22798 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22799 _ACEOF
22802 done
22812 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
22813 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
22814 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
22815 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
22816 echo $ECHO_N "(cached) $ECHO_C" >&6
22817 else
22821 ac_ext=cc
22822 ac_cpp='$CXXCPP $CPPFLAGS'
22823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22827 cat >conftest.$ac_ext <<_ACEOF
22828 /* confdefs.h. */
22829 _ACEOF
22830 cat confdefs.h >>conftest.$ac_ext
22831 cat >>conftest.$ac_ext <<_ACEOF
22832 /* end confdefs.h. */
22833 #include <math.h>
22834 #ifdef HAVE_IEEEFP_H
22835 #include <ieeefp.h>
22836 #endif
22839 main ()
22841 isnanf(0);
22843 return 0;
22845 _ACEOF
22846 rm -f conftest.$ac_objext
22847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22848 (eval $ac_compile) 2>conftest.er1
22849 ac_status=$?
22850 grep -v '^ *+' conftest.er1 >conftest.err
22851 rm -f conftest.er1
22852 cat conftest.err >&5
22853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22854 (exit $ac_status); } &&
22855 { ac_try='test -z "$ac_cxx_werror_flag"
22856 || test ! -s conftest.err'
22857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22858 (eval $ac_try) 2>&5
22859 ac_status=$?
22860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22861 (exit $ac_status); }; } &&
22862 { ac_try='test -s conftest.$ac_objext'
22863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22864 (eval $ac_try) 2>&5
22865 ac_status=$?
22866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22867 (exit $ac_status); }; }; then
22868 glibcxx_cv_func_isnanf_use=yes
22869 else
22870 echo "$as_me: failed program was:" >&5
22871 sed 's/^/| /' conftest.$ac_ext >&5
22873 glibcxx_cv_func_isnanf_use=no
22875 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22876 ac_ext=c
22877 ac_cpp='$CPP $CPPFLAGS'
22878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22886 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
22887 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
22889 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
22891 for ac_func in isnanf
22893 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22894 echo "$as_me:$LINENO: checking for $ac_func" >&5
22895 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22896 if eval "test \"\${$as_ac_var+set}\" = set"; then
22897 echo $ECHO_N "(cached) $ECHO_C" >&6
22898 else
22899 if test x$gcc_no_link = xyes; then
22900 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22901 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22902 { (exit 1); exit 1; }; }
22904 cat >conftest.$ac_ext <<_ACEOF
22905 /* confdefs.h. */
22906 _ACEOF
22907 cat confdefs.h >>conftest.$ac_ext
22908 cat >>conftest.$ac_ext <<_ACEOF
22909 /* end confdefs.h. */
22910 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22911 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22912 #define $ac_func innocuous_$ac_func
22914 /* System header to define __stub macros and hopefully few prototypes,
22915 which can conflict with char $ac_func (); below.
22916 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22917 <limits.h> exists even on freestanding compilers. */
22919 #ifdef __STDC__
22920 # include <limits.h>
22921 #else
22922 # include <assert.h>
22923 #endif
22925 #undef $ac_func
22927 /* Override any gcc2 internal prototype to avoid an error. */
22928 #ifdef __cplusplus
22929 extern "C"
22931 #endif
22932 /* We use char because int might match the return type of a gcc2
22933 builtin and then its argument prototype would still apply. */
22934 char $ac_func ();
22935 /* The GNU C library defines this for functions which it implements
22936 to always fail with ENOSYS. Some functions are actually named
22937 something starting with __ and the normal name is an alias. */
22938 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22939 choke me
22940 #else
22941 char (*f) () = $ac_func;
22942 #endif
22943 #ifdef __cplusplus
22945 #endif
22948 main ()
22950 return f != $ac_func;
22952 return 0;
22954 _ACEOF
22955 rm -f conftest.$ac_objext conftest$ac_exeext
22956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22957 (eval $ac_link) 2>conftest.er1
22958 ac_status=$?
22959 grep -v '^ *+' conftest.er1 >conftest.err
22960 rm -f conftest.er1
22961 cat conftest.err >&5
22962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22963 (exit $ac_status); } &&
22964 { ac_try='test -z "$ac_c_werror_flag"
22965 || test ! -s conftest.err'
22966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22967 (eval $ac_try) 2>&5
22968 ac_status=$?
22969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22970 (exit $ac_status); }; } &&
22971 { ac_try='test -s conftest$ac_exeext'
22972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22973 (eval $ac_try) 2>&5
22974 ac_status=$?
22975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22976 (exit $ac_status); }; }; then
22977 eval "$as_ac_var=yes"
22978 else
22979 echo "$as_me: failed program was:" >&5
22980 sed 's/^/| /' conftest.$ac_ext >&5
22982 eval "$as_ac_var=no"
22984 rm -f conftest.err conftest.$ac_objext \
22985 conftest$ac_exeext conftest.$ac_ext
22987 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22988 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22989 if test `eval echo '${'$as_ac_var'}'` = yes; then
22990 cat >>confdefs.h <<_ACEOF
22991 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22992 _ACEOF
22995 done
22997 else
22999 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
23000 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
23001 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
23002 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
23003 echo $ECHO_N "(cached) $ECHO_C" >&6
23004 else
23008 ac_ext=cc
23009 ac_cpp='$CXXCPP $CPPFLAGS'
23010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23014 cat >conftest.$ac_ext <<_ACEOF
23015 /* confdefs.h. */
23016 _ACEOF
23017 cat confdefs.h >>conftest.$ac_ext
23018 cat >>conftest.$ac_ext <<_ACEOF
23019 /* end confdefs.h. */
23020 #include <math.h>
23021 #ifdef HAVE_IEEEFP_H
23022 #include <ieeefp.h>
23023 #endif
23026 main ()
23028 _isnanf(0);
23030 return 0;
23032 _ACEOF
23033 rm -f conftest.$ac_objext
23034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23035 (eval $ac_compile) 2>conftest.er1
23036 ac_status=$?
23037 grep -v '^ *+' conftest.er1 >conftest.err
23038 rm -f conftest.er1
23039 cat conftest.err >&5
23040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23041 (exit $ac_status); } &&
23042 { ac_try='test -z "$ac_cxx_werror_flag"
23043 || test ! -s conftest.err'
23044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23045 (eval $ac_try) 2>&5
23046 ac_status=$?
23047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23048 (exit $ac_status); }; } &&
23049 { ac_try='test -s conftest.$ac_objext'
23050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23051 (eval $ac_try) 2>&5
23052 ac_status=$?
23053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23054 (exit $ac_status); }; }; then
23055 glibcxx_cv_func__isnanf_use=yes
23056 else
23057 echo "$as_me: failed program was:" >&5
23058 sed 's/^/| /' conftest.$ac_ext >&5
23060 glibcxx_cv_func__isnanf_use=no
23062 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23063 ac_ext=c
23064 ac_cpp='$CPP $CPPFLAGS'
23065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23073 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
23074 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
23076 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
23078 for ac_func in _isnanf
23080 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23081 echo "$as_me:$LINENO: checking for $ac_func" >&5
23082 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23083 if eval "test \"\${$as_ac_var+set}\" = set"; then
23084 echo $ECHO_N "(cached) $ECHO_C" >&6
23085 else
23086 if test x$gcc_no_link = xyes; then
23087 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23088 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23089 { (exit 1); exit 1; }; }
23091 cat >conftest.$ac_ext <<_ACEOF
23092 /* confdefs.h. */
23093 _ACEOF
23094 cat confdefs.h >>conftest.$ac_ext
23095 cat >>conftest.$ac_ext <<_ACEOF
23096 /* end confdefs.h. */
23097 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23098 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23099 #define $ac_func innocuous_$ac_func
23101 /* System header to define __stub macros and hopefully few prototypes,
23102 which can conflict with char $ac_func (); below.
23103 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23104 <limits.h> exists even on freestanding compilers. */
23106 #ifdef __STDC__
23107 # include <limits.h>
23108 #else
23109 # include <assert.h>
23110 #endif
23112 #undef $ac_func
23114 /* Override any gcc2 internal prototype to avoid an error. */
23115 #ifdef __cplusplus
23116 extern "C"
23118 #endif
23119 /* We use char because int might match the return type of a gcc2
23120 builtin and then its argument prototype would still apply. */
23121 char $ac_func ();
23122 /* The GNU C library defines this for functions which it implements
23123 to always fail with ENOSYS. Some functions are actually named
23124 something starting with __ and the normal name is an alias. */
23125 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23126 choke me
23127 #else
23128 char (*f) () = $ac_func;
23129 #endif
23130 #ifdef __cplusplus
23132 #endif
23135 main ()
23137 return f != $ac_func;
23139 return 0;
23141 _ACEOF
23142 rm -f conftest.$ac_objext conftest$ac_exeext
23143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23144 (eval $ac_link) 2>conftest.er1
23145 ac_status=$?
23146 grep -v '^ *+' conftest.er1 >conftest.err
23147 rm -f conftest.er1
23148 cat conftest.err >&5
23149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23150 (exit $ac_status); } &&
23151 { ac_try='test -z "$ac_c_werror_flag"
23152 || test ! -s conftest.err'
23153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23154 (eval $ac_try) 2>&5
23155 ac_status=$?
23156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23157 (exit $ac_status); }; } &&
23158 { ac_try='test -s conftest$ac_exeext'
23159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23160 (eval $ac_try) 2>&5
23161 ac_status=$?
23162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23163 (exit $ac_status); }; }; then
23164 eval "$as_ac_var=yes"
23165 else
23166 echo "$as_me: failed program was:" >&5
23167 sed 's/^/| /' conftest.$ac_ext >&5
23169 eval "$as_ac_var=no"
23171 rm -f conftest.err conftest.$ac_objext \
23172 conftest$ac_exeext conftest.$ac_ext
23174 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23175 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23176 if test `eval echo '${'$as_ac_var'}'` = yes; then
23177 cat >>confdefs.h <<_ACEOF
23178 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23179 _ACEOF
23182 done
23192 echo "$as_me:$LINENO: checking for isinff declaration" >&5
23193 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
23194 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
23195 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
23196 echo $ECHO_N "(cached) $ECHO_C" >&6
23197 else
23201 ac_ext=cc
23202 ac_cpp='$CXXCPP $CPPFLAGS'
23203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23207 cat >conftest.$ac_ext <<_ACEOF
23208 /* confdefs.h. */
23209 _ACEOF
23210 cat confdefs.h >>conftest.$ac_ext
23211 cat >>conftest.$ac_ext <<_ACEOF
23212 /* end confdefs.h. */
23213 #include <math.h>
23214 #ifdef HAVE_IEEEFP_H
23215 #include <ieeefp.h>
23216 #endif
23219 main ()
23221 isinff(0);
23223 return 0;
23225 _ACEOF
23226 rm -f conftest.$ac_objext
23227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23228 (eval $ac_compile) 2>conftest.er1
23229 ac_status=$?
23230 grep -v '^ *+' conftest.er1 >conftest.err
23231 rm -f conftest.er1
23232 cat conftest.err >&5
23233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23234 (exit $ac_status); } &&
23235 { ac_try='test -z "$ac_cxx_werror_flag"
23236 || test ! -s conftest.err'
23237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23238 (eval $ac_try) 2>&5
23239 ac_status=$?
23240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23241 (exit $ac_status); }; } &&
23242 { ac_try='test -s conftest.$ac_objext'
23243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23244 (eval $ac_try) 2>&5
23245 ac_status=$?
23246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23247 (exit $ac_status); }; }; then
23248 glibcxx_cv_func_isinff_use=yes
23249 else
23250 echo "$as_me: failed program was:" >&5
23251 sed 's/^/| /' conftest.$ac_ext >&5
23253 glibcxx_cv_func_isinff_use=no
23255 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23256 ac_ext=c
23257 ac_cpp='$CPP $CPPFLAGS'
23258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23266 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
23267 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
23269 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
23271 for ac_func in isinff
23273 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23274 echo "$as_me:$LINENO: checking for $ac_func" >&5
23275 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23276 if eval "test \"\${$as_ac_var+set}\" = set"; then
23277 echo $ECHO_N "(cached) $ECHO_C" >&6
23278 else
23279 if test x$gcc_no_link = xyes; then
23280 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23281 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23282 { (exit 1); exit 1; }; }
23284 cat >conftest.$ac_ext <<_ACEOF
23285 /* confdefs.h. */
23286 _ACEOF
23287 cat confdefs.h >>conftest.$ac_ext
23288 cat >>conftest.$ac_ext <<_ACEOF
23289 /* end confdefs.h. */
23290 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23291 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23292 #define $ac_func innocuous_$ac_func
23294 /* System header to define __stub macros and hopefully few prototypes,
23295 which can conflict with char $ac_func (); below.
23296 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23297 <limits.h> exists even on freestanding compilers. */
23299 #ifdef __STDC__
23300 # include <limits.h>
23301 #else
23302 # include <assert.h>
23303 #endif
23305 #undef $ac_func
23307 /* Override any gcc2 internal prototype to avoid an error. */
23308 #ifdef __cplusplus
23309 extern "C"
23311 #endif
23312 /* We use char because int might match the return type of a gcc2
23313 builtin and then its argument prototype would still apply. */
23314 char $ac_func ();
23315 /* The GNU C library defines this for functions which it implements
23316 to always fail with ENOSYS. Some functions are actually named
23317 something starting with __ and the normal name is an alias. */
23318 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23319 choke me
23320 #else
23321 char (*f) () = $ac_func;
23322 #endif
23323 #ifdef __cplusplus
23325 #endif
23328 main ()
23330 return f != $ac_func;
23332 return 0;
23334 _ACEOF
23335 rm -f conftest.$ac_objext conftest$ac_exeext
23336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23337 (eval $ac_link) 2>conftest.er1
23338 ac_status=$?
23339 grep -v '^ *+' conftest.er1 >conftest.err
23340 rm -f conftest.er1
23341 cat conftest.err >&5
23342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23343 (exit $ac_status); } &&
23344 { ac_try='test -z "$ac_c_werror_flag"
23345 || test ! -s conftest.err'
23346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23347 (eval $ac_try) 2>&5
23348 ac_status=$?
23349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23350 (exit $ac_status); }; } &&
23351 { ac_try='test -s conftest$ac_exeext'
23352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23353 (eval $ac_try) 2>&5
23354 ac_status=$?
23355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23356 (exit $ac_status); }; }; then
23357 eval "$as_ac_var=yes"
23358 else
23359 echo "$as_me: failed program was:" >&5
23360 sed 's/^/| /' conftest.$ac_ext >&5
23362 eval "$as_ac_var=no"
23364 rm -f conftest.err conftest.$ac_objext \
23365 conftest$ac_exeext conftest.$ac_ext
23367 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23368 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23369 if test `eval echo '${'$as_ac_var'}'` = yes; then
23370 cat >>confdefs.h <<_ACEOF
23371 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23372 _ACEOF
23375 done
23377 else
23379 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
23380 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
23381 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
23382 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
23383 echo $ECHO_N "(cached) $ECHO_C" >&6
23384 else
23388 ac_ext=cc
23389 ac_cpp='$CXXCPP $CPPFLAGS'
23390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23394 cat >conftest.$ac_ext <<_ACEOF
23395 /* confdefs.h. */
23396 _ACEOF
23397 cat confdefs.h >>conftest.$ac_ext
23398 cat >>conftest.$ac_ext <<_ACEOF
23399 /* end confdefs.h. */
23400 #include <math.h>
23401 #ifdef HAVE_IEEEFP_H
23402 #include <ieeefp.h>
23403 #endif
23406 main ()
23408 _isinff(0);
23410 return 0;
23412 _ACEOF
23413 rm -f conftest.$ac_objext
23414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23415 (eval $ac_compile) 2>conftest.er1
23416 ac_status=$?
23417 grep -v '^ *+' conftest.er1 >conftest.err
23418 rm -f conftest.er1
23419 cat conftest.err >&5
23420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23421 (exit $ac_status); } &&
23422 { ac_try='test -z "$ac_cxx_werror_flag"
23423 || test ! -s conftest.err'
23424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23425 (eval $ac_try) 2>&5
23426 ac_status=$?
23427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23428 (exit $ac_status); }; } &&
23429 { ac_try='test -s conftest.$ac_objext'
23430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23431 (eval $ac_try) 2>&5
23432 ac_status=$?
23433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23434 (exit $ac_status); }; }; then
23435 glibcxx_cv_func__isinff_use=yes
23436 else
23437 echo "$as_me: failed program was:" >&5
23438 sed 's/^/| /' conftest.$ac_ext >&5
23440 glibcxx_cv_func__isinff_use=no
23442 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23443 ac_ext=c
23444 ac_cpp='$CPP $CPPFLAGS'
23445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23453 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
23454 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
23456 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
23458 for ac_func in _isinff
23460 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23461 echo "$as_me:$LINENO: checking for $ac_func" >&5
23462 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23463 if eval "test \"\${$as_ac_var+set}\" = set"; then
23464 echo $ECHO_N "(cached) $ECHO_C" >&6
23465 else
23466 if test x$gcc_no_link = xyes; then
23467 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23468 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23469 { (exit 1); exit 1; }; }
23471 cat >conftest.$ac_ext <<_ACEOF
23472 /* confdefs.h. */
23473 _ACEOF
23474 cat confdefs.h >>conftest.$ac_ext
23475 cat >>conftest.$ac_ext <<_ACEOF
23476 /* end confdefs.h. */
23477 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23478 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23479 #define $ac_func innocuous_$ac_func
23481 /* System header to define __stub macros and hopefully few prototypes,
23482 which can conflict with char $ac_func (); below.
23483 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23484 <limits.h> exists even on freestanding compilers. */
23486 #ifdef __STDC__
23487 # include <limits.h>
23488 #else
23489 # include <assert.h>
23490 #endif
23492 #undef $ac_func
23494 /* Override any gcc2 internal prototype to avoid an error. */
23495 #ifdef __cplusplus
23496 extern "C"
23498 #endif
23499 /* We use char because int might match the return type of a gcc2
23500 builtin and then its argument prototype would still apply. */
23501 char $ac_func ();
23502 /* The GNU C library defines this for functions which it implements
23503 to always fail with ENOSYS. Some functions are actually named
23504 something starting with __ and the normal name is an alias. */
23505 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23506 choke me
23507 #else
23508 char (*f) () = $ac_func;
23509 #endif
23510 #ifdef __cplusplus
23512 #endif
23515 main ()
23517 return f != $ac_func;
23519 return 0;
23521 _ACEOF
23522 rm -f conftest.$ac_objext conftest$ac_exeext
23523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23524 (eval $ac_link) 2>conftest.er1
23525 ac_status=$?
23526 grep -v '^ *+' conftest.er1 >conftest.err
23527 rm -f conftest.er1
23528 cat conftest.err >&5
23529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23530 (exit $ac_status); } &&
23531 { ac_try='test -z "$ac_c_werror_flag"
23532 || test ! -s conftest.err'
23533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23534 (eval $ac_try) 2>&5
23535 ac_status=$?
23536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23537 (exit $ac_status); }; } &&
23538 { ac_try='test -s conftest$ac_exeext'
23539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23540 (eval $ac_try) 2>&5
23541 ac_status=$?
23542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23543 (exit $ac_status); }; }; then
23544 eval "$as_ac_var=yes"
23545 else
23546 echo "$as_me: failed program was:" >&5
23547 sed 's/^/| /' conftest.$ac_ext >&5
23549 eval "$as_ac_var=no"
23551 rm -f conftest.err conftest.$ac_objext \
23552 conftest$ac_exeext conftest.$ac_ext
23554 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23555 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23556 if test `eval echo '${'$as_ac_var'}'` = yes; then
23557 cat >>confdefs.h <<_ACEOF
23558 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23559 _ACEOF
23562 done
23572 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
23573 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
23574 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
23575 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
23576 echo $ECHO_N "(cached) $ECHO_C" >&6
23577 else
23581 ac_ext=cc
23582 ac_cpp='$CXXCPP $CPPFLAGS'
23583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23587 cat >conftest.$ac_ext <<_ACEOF
23588 /* confdefs.h. */
23589 _ACEOF
23590 cat confdefs.h >>conftest.$ac_ext
23591 cat >>conftest.$ac_ext <<_ACEOF
23592 /* end confdefs.h. */
23593 #include <math.h>
23595 main ()
23597 atan2f(0, 0);
23599 return 0;
23601 _ACEOF
23602 rm -f conftest.$ac_objext
23603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23604 (eval $ac_compile) 2>conftest.er1
23605 ac_status=$?
23606 grep -v '^ *+' conftest.er1 >conftest.err
23607 rm -f conftest.er1
23608 cat conftest.err >&5
23609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23610 (exit $ac_status); } &&
23611 { ac_try='test -z "$ac_cxx_werror_flag"
23612 || test ! -s conftest.err'
23613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23614 (eval $ac_try) 2>&5
23615 ac_status=$?
23616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23617 (exit $ac_status); }; } &&
23618 { ac_try='test -s conftest.$ac_objext'
23619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23620 (eval $ac_try) 2>&5
23621 ac_status=$?
23622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23623 (exit $ac_status); }; }; then
23624 glibcxx_cv_func_atan2f_use=yes
23625 else
23626 echo "$as_me: failed program was:" >&5
23627 sed 's/^/| /' conftest.$ac_ext >&5
23629 glibcxx_cv_func_atan2f_use=no
23631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23632 ac_ext=c
23633 ac_cpp='$CPP $CPPFLAGS'
23634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23642 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
23643 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
23645 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
23647 for ac_func in atan2f
23649 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23650 echo "$as_me:$LINENO: checking for $ac_func" >&5
23651 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23652 if eval "test \"\${$as_ac_var+set}\" = set"; then
23653 echo $ECHO_N "(cached) $ECHO_C" >&6
23654 else
23655 if test x$gcc_no_link = xyes; then
23656 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23657 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23658 { (exit 1); exit 1; }; }
23660 cat >conftest.$ac_ext <<_ACEOF
23661 /* confdefs.h. */
23662 _ACEOF
23663 cat confdefs.h >>conftest.$ac_ext
23664 cat >>conftest.$ac_ext <<_ACEOF
23665 /* end confdefs.h. */
23666 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23667 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23668 #define $ac_func innocuous_$ac_func
23670 /* System header to define __stub macros and hopefully few prototypes,
23671 which can conflict with char $ac_func (); below.
23672 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23673 <limits.h> exists even on freestanding compilers. */
23675 #ifdef __STDC__
23676 # include <limits.h>
23677 #else
23678 # include <assert.h>
23679 #endif
23681 #undef $ac_func
23683 /* Override any gcc2 internal prototype to avoid an error. */
23684 #ifdef __cplusplus
23685 extern "C"
23687 #endif
23688 /* We use char because int might match the return type of a gcc2
23689 builtin and then its argument prototype would still apply. */
23690 char $ac_func ();
23691 /* The GNU C library defines this for functions which it implements
23692 to always fail with ENOSYS. Some functions are actually named
23693 something starting with __ and the normal name is an alias. */
23694 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23695 choke me
23696 #else
23697 char (*f) () = $ac_func;
23698 #endif
23699 #ifdef __cplusplus
23701 #endif
23704 main ()
23706 return f != $ac_func;
23708 return 0;
23710 _ACEOF
23711 rm -f conftest.$ac_objext conftest$ac_exeext
23712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23713 (eval $ac_link) 2>conftest.er1
23714 ac_status=$?
23715 grep -v '^ *+' conftest.er1 >conftest.err
23716 rm -f conftest.er1
23717 cat conftest.err >&5
23718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23719 (exit $ac_status); } &&
23720 { ac_try='test -z "$ac_c_werror_flag"
23721 || test ! -s conftest.err'
23722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23723 (eval $ac_try) 2>&5
23724 ac_status=$?
23725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23726 (exit $ac_status); }; } &&
23727 { ac_try='test -s conftest$ac_exeext'
23728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23729 (eval $ac_try) 2>&5
23730 ac_status=$?
23731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23732 (exit $ac_status); }; }; then
23733 eval "$as_ac_var=yes"
23734 else
23735 echo "$as_me: failed program was:" >&5
23736 sed 's/^/| /' conftest.$ac_ext >&5
23738 eval "$as_ac_var=no"
23740 rm -f conftest.err conftest.$ac_objext \
23741 conftest$ac_exeext conftest.$ac_ext
23743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23744 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23745 if test `eval echo '${'$as_ac_var'}'` = yes; then
23746 cat >>confdefs.h <<_ACEOF
23747 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23748 _ACEOF
23751 done
23753 else
23755 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
23756 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
23757 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
23758 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
23759 echo $ECHO_N "(cached) $ECHO_C" >&6
23760 else
23764 ac_ext=cc
23765 ac_cpp='$CXXCPP $CPPFLAGS'
23766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23770 cat >conftest.$ac_ext <<_ACEOF
23771 /* confdefs.h. */
23772 _ACEOF
23773 cat confdefs.h >>conftest.$ac_ext
23774 cat >>conftest.$ac_ext <<_ACEOF
23775 /* end confdefs.h. */
23776 #include <math.h>
23778 main ()
23780 _atan2f(0, 0);
23782 return 0;
23784 _ACEOF
23785 rm -f conftest.$ac_objext
23786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23787 (eval $ac_compile) 2>conftest.er1
23788 ac_status=$?
23789 grep -v '^ *+' conftest.er1 >conftest.err
23790 rm -f conftest.er1
23791 cat conftest.err >&5
23792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23793 (exit $ac_status); } &&
23794 { ac_try='test -z "$ac_cxx_werror_flag"
23795 || test ! -s conftest.err'
23796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23797 (eval $ac_try) 2>&5
23798 ac_status=$?
23799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23800 (exit $ac_status); }; } &&
23801 { ac_try='test -s conftest.$ac_objext'
23802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23803 (eval $ac_try) 2>&5
23804 ac_status=$?
23805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23806 (exit $ac_status); }; }; then
23807 glibcxx_cv_func__atan2f_use=yes
23808 else
23809 echo "$as_me: failed program was:" >&5
23810 sed 's/^/| /' conftest.$ac_ext >&5
23812 glibcxx_cv_func__atan2f_use=no
23814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23815 ac_ext=c
23816 ac_cpp='$CPP $CPPFLAGS'
23817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23825 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
23826 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
23828 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
23830 for ac_func in _atan2f
23832 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23833 echo "$as_me:$LINENO: checking for $ac_func" >&5
23834 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23835 if eval "test \"\${$as_ac_var+set}\" = set"; then
23836 echo $ECHO_N "(cached) $ECHO_C" >&6
23837 else
23838 if test x$gcc_no_link = xyes; then
23839 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23840 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23841 { (exit 1); exit 1; }; }
23843 cat >conftest.$ac_ext <<_ACEOF
23844 /* confdefs.h. */
23845 _ACEOF
23846 cat confdefs.h >>conftest.$ac_ext
23847 cat >>conftest.$ac_ext <<_ACEOF
23848 /* end confdefs.h. */
23849 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23850 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23851 #define $ac_func innocuous_$ac_func
23853 /* System header to define __stub macros and hopefully few prototypes,
23854 which can conflict with char $ac_func (); below.
23855 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23856 <limits.h> exists even on freestanding compilers. */
23858 #ifdef __STDC__
23859 # include <limits.h>
23860 #else
23861 # include <assert.h>
23862 #endif
23864 #undef $ac_func
23866 /* Override any gcc2 internal prototype to avoid an error. */
23867 #ifdef __cplusplus
23868 extern "C"
23870 #endif
23871 /* We use char because int might match the return type of a gcc2
23872 builtin and then its argument prototype would still apply. */
23873 char $ac_func ();
23874 /* The GNU C library defines this for functions which it implements
23875 to always fail with ENOSYS. Some functions are actually named
23876 something starting with __ and the normal name is an alias. */
23877 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23878 choke me
23879 #else
23880 char (*f) () = $ac_func;
23881 #endif
23882 #ifdef __cplusplus
23884 #endif
23887 main ()
23889 return f != $ac_func;
23891 return 0;
23893 _ACEOF
23894 rm -f conftest.$ac_objext conftest$ac_exeext
23895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23896 (eval $ac_link) 2>conftest.er1
23897 ac_status=$?
23898 grep -v '^ *+' conftest.er1 >conftest.err
23899 rm -f conftest.er1
23900 cat conftest.err >&5
23901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23902 (exit $ac_status); } &&
23903 { ac_try='test -z "$ac_c_werror_flag"
23904 || test ! -s conftest.err'
23905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23906 (eval $ac_try) 2>&5
23907 ac_status=$?
23908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23909 (exit $ac_status); }; } &&
23910 { ac_try='test -s conftest$ac_exeext'
23911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23912 (eval $ac_try) 2>&5
23913 ac_status=$?
23914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23915 (exit $ac_status); }; }; then
23916 eval "$as_ac_var=yes"
23917 else
23918 echo "$as_me: failed program was:" >&5
23919 sed 's/^/| /' conftest.$ac_ext >&5
23921 eval "$as_ac_var=no"
23923 rm -f conftest.err conftest.$ac_objext \
23924 conftest$ac_exeext conftest.$ac_ext
23926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23927 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23928 if test `eval echo '${'$as_ac_var'}'` = yes; then
23929 cat >>confdefs.h <<_ACEOF
23930 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23931 _ACEOF
23934 done
23944 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
23945 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
23946 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
23947 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
23948 echo $ECHO_N "(cached) $ECHO_C" >&6
23949 else
23953 ac_ext=cc
23954 ac_cpp='$CXXCPP $CPPFLAGS'
23955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23959 cat >conftest.$ac_ext <<_ACEOF
23960 /* confdefs.h. */
23961 _ACEOF
23962 cat confdefs.h >>conftest.$ac_ext
23963 cat >>conftest.$ac_ext <<_ACEOF
23964 /* end confdefs.h. */
23965 #include <math.h>
23966 #ifdef HAVE_IEEEFP_H
23967 #include <ieeefp.h>
23968 #endif
23971 main ()
23973 fabsf(0);
23975 return 0;
23977 _ACEOF
23978 rm -f conftest.$ac_objext
23979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23980 (eval $ac_compile) 2>conftest.er1
23981 ac_status=$?
23982 grep -v '^ *+' conftest.er1 >conftest.err
23983 rm -f conftest.er1
23984 cat conftest.err >&5
23985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23986 (exit $ac_status); } &&
23987 { ac_try='test -z "$ac_cxx_werror_flag"
23988 || test ! -s conftest.err'
23989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23990 (eval $ac_try) 2>&5
23991 ac_status=$?
23992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23993 (exit $ac_status); }; } &&
23994 { ac_try='test -s conftest.$ac_objext'
23995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23996 (eval $ac_try) 2>&5
23997 ac_status=$?
23998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23999 (exit $ac_status); }; }; then
24000 glibcxx_cv_func_fabsf_use=yes
24001 else
24002 echo "$as_me: failed program was:" >&5
24003 sed 's/^/| /' conftest.$ac_ext >&5
24005 glibcxx_cv_func_fabsf_use=no
24007 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24008 ac_ext=c
24009 ac_cpp='$CPP $CPPFLAGS'
24010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24018 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
24019 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
24021 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
24023 for ac_func in fabsf
24025 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24026 echo "$as_me:$LINENO: checking for $ac_func" >&5
24027 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24028 if eval "test \"\${$as_ac_var+set}\" = set"; then
24029 echo $ECHO_N "(cached) $ECHO_C" >&6
24030 else
24031 if test x$gcc_no_link = xyes; then
24032 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24033 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24034 { (exit 1); exit 1; }; }
24036 cat >conftest.$ac_ext <<_ACEOF
24037 /* confdefs.h. */
24038 _ACEOF
24039 cat confdefs.h >>conftest.$ac_ext
24040 cat >>conftest.$ac_ext <<_ACEOF
24041 /* end confdefs.h. */
24042 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24043 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24044 #define $ac_func innocuous_$ac_func
24046 /* System header to define __stub macros and hopefully few prototypes,
24047 which can conflict with char $ac_func (); below.
24048 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24049 <limits.h> exists even on freestanding compilers. */
24051 #ifdef __STDC__
24052 # include <limits.h>
24053 #else
24054 # include <assert.h>
24055 #endif
24057 #undef $ac_func
24059 /* Override any gcc2 internal prototype to avoid an error. */
24060 #ifdef __cplusplus
24061 extern "C"
24063 #endif
24064 /* We use char because int might match the return type of a gcc2
24065 builtin and then its argument prototype would still apply. */
24066 char $ac_func ();
24067 /* The GNU C library defines this for functions which it implements
24068 to always fail with ENOSYS. Some functions are actually named
24069 something starting with __ and the normal name is an alias. */
24070 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24071 choke me
24072 #else
24073 char (*f) () = $ac_func;
24074 #endif
24075 #ifdef __cplusplus
24077 #endif
24080 main ()
24082 return f != $ac_func;
24084 return 0;
24086 _ACEOF
24087 rm -f conftest.$ac_objext conftest$ac_exeext
24088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24089 (eval $ac_link) 2>conftest.er1
24090 ac_status=$?
24091 grep -v '^ *+' conftest.er1 >conftest.err
24092 rm -f conftest.er1
24093 cat conftest.err >&5
24094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24095 (exit $ac_status); } &&
24096 { ac_try='test -z "$ac_c_werror_flag"
24097 || test ! -s conftest.err'
24098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24099 (eval $ac_try) 2>&5
24100 ac_status=$?
24101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24102 (exit $ac_status); }; } &&
24103 { ac_try='test -s conftest$ac_exeext'
24104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24105 (eval $ac_try) 2>&5
24106 ac_status=$?
24107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24108 (exit $ac_status); }; }; then
24109 eval "$as_ac_var=yes"
24110 else
24111 echo "$as_me: failed program was:" >&5
24112 sed 's/^/| /' conftest.$ac_ext >&5
24114 eval "$as_ac_var=no"
24116 rm -f conftest.err conftest.$ac_objext \
24117 conftest$ac_exeext conftest.$ac_ext
24119 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24120 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24121 if test `eval echo '${'$as_ac_var'}'` = yes; then
24122 cat >>confdefs.h <<_ACEOF
24123 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24124 _ACEOF
24127 done
24129 else
24131 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
24132 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
24133 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
24134 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
24135 echo $ECHO_N "(cached) $ECHO_C" >&6
24136 else
24140 ac_ext=cc
24141 ac_cpp='$CXXCPP $CPPFLAGS'
24142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24146 cat >conftest.$ac_ext <<_ACEOF
24147 /* confdefs.h. */
24148 _ACEOF
24149 cat confdefs.h >>conftest.$ac_ext
24150 cat >>conftest.$ac_ext <<_ACEOF
24151 /* end confdefs.h. */
24152 #include <math.h>
24153 #ifdef HAVE_IEEEFP_H
24154 #include <ieeefp.h>
24155 #endif
24158 main ()
24160 _fabsf(0);
24162 return 0;
24164 _ACEOF
24165 rm -f conftest.$ac_objext
24166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24167 (eval $ac_compile) 2>conftest.er1
24168 ac_status=$?
24169 grep -v '^ *+' conftest.er1 >conftest.err
24170 rm -f conftest.er1
24171 cat conftest.err >&5
24172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24173 (exit $ac_status); } &&
24174 { ac_try='test -z "$ac_cxx_werror_flag"
24175 || test ! -s conftest.err'
24176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24177 (eval $ac_try) 2>&5
24178 ac_status=$?
24179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24180 (exit $ac_status); }; } &&
24181 { ac_try='test -s conftest.$ac_objext'
24182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24183 (eval $ac_try) 2>&5
24184 ac_status=$?
24185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24186 (exit $ac_status); }; }; then
24187 glibcxx_cv_func__fabsf_use=yes
24188 else
24189 echo "$as_me: failed program was:" >&5
24190 sed 's/^/| /' conftest.$ac_ext >&5
24192 glibcxx_cv_func__fabsf_use=no
24194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24195 ac_ext=c
24196 ac_cpp='$CPP $CPPFLAGS'
24197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24205 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
24206 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
24208 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
24210 for ac_func in _fabsf
24212 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24213 echo "$as_me:$LINENO: checking for $ac_func" >&5
24214 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24215 if eval "test \"\${$as_ac_var+set}\" = set"; then
24216 echo $ECHO_N "(cached) $ECHO_C" >&6
24217 else
24218 if test x$gcc_no_link = xyes; then
24219 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24220 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24221 { (exit 1); exit 1; }; }
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24230 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24231 #define $ac_func innocuous_$ac_func
24233 /* System header to define __stub macros and hopefully few prototypes,
24234 which can conflict with char $ac_func (); below.
24235 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24236 <limits.h> exists even on freestanding compilers. */
24238 #ifdef __STDC__
24239 # include <limits.h>
24240 #else
24241 # include <assert.h>
24242 #endif
24244 #undef $ac_func
24246 /* Override any gcc2 internal prototype to avoid an error. */
24247 #ifdef __cplusplus
24248 extern "C"
24250 #endif
24251 /* We use char because int might match the return type of a gcc2
24252 builtin and then its argument prototype would still apply. */
24253 char $ac_func ();
24254 /* The GNU C library defines this for functions which it implements
24255 to always fail with ENOSYS. Some functions are actually named
24256 something starting with __ and the normal name is an alias. */
24257 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24258 choke me
24259 #else
24260 char (*f) () = $ac_func;
24261 #endif
24262 #ifdef __cplusplus
24264 #endif
24267 main ()
24269 return f != $ac_func;
24271 return 0;
24273 _ACEOF
24274 rm -f conftest.$ac_objext conftest$ac_exeext
24275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24276 (eval $ac_link) 2>conftest.er1
24277 ac_status=$?
24278 grep -v '^ *+' conftest.er1 >conftest.err
24279 rm -f conftest.er1
24280 cat conftest.err >&5
24281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24282 (exit $ac_status); } &&
24283 { ac_try='test -z "$ac_c_werror_flag"
24284 || test ! -s conftest.err'
24285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24286 (eval $ac_try) 2>&5
24287 ac_status=$?
24288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24289 (exit $ac_status); }; } &&
24290 { ac_try='test -s conftest$ac_exeext'
24291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24292 (eval $ac_try) 2>&5
24293 ac_status=$?
24294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24295 (exit $ac_status); }; }; then
24296 eval "$as_ac_var=yes"
24297 else
24298 echo "$as_me: failed program was:" >&5
24299 sed 's/^/| /' conftest.$ac_ext >&5
24301 eval "$as_ac_var=no"
24303 rm -f conftest.err conftest.$ac_objext \
24304 conftest$ac_exeext conftest.$ac_ext
24306 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24307 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24308 if test `eval echo '${'$as_ac_var'}'` = yes; then
24309 cat >>confdefs.h <<_ACEOF
24310 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24311 _ACEOF
24314 done
24324 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
24325 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
24326 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
24327 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
24328 echo $ECHO_N "(cached) $ECHO_C" >&6
24329 else
24333 ac_ext=cc
24334 ac_cpp='$CXXCPP $CPPFLAGS'
24335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24339 cat >conftest.$ac_ext <<_ACEOF
24340 /* confdefs.h. */
24341 _ACEOF
24342 cat confdefs.h >>conftest.$ac_ext
24343 cat >>conftest.$ac_ext <<_ACEOF
24344 /* end confdefs.h. */
24345 #include <math.h>
24347 main ()
24349 fmodf(0, 0);
24351 return 0;
24353 _ACEOF
24354 rm -f conftest.$ac_objext
24355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24356 (eval $ac_compile) 2>conftest.er1
24357 ac_status=$?
24358 grep -v '^ *+' conftest.er1 >conftest.err
24359 rm -f conftest.er1
24360 cat conftest.err >&5
24361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24362 (exit $ac_status); } &&
24363 { ac_try='test -z "$ac_cxx_werror_flag"
24364 || test ! -s conftest.err'
24365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24366 (eval $ac_try) 2>&5
24367 ac_status=$?
24368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24369 (exit $ac_status); }; } &&
24370 { ac_try='test -s conftest.$ac_objext'
24371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24372 (eval $ac_try) 2>&5
24373 ac_status=$?
24374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24375 (exit $ac_status); }; }; then
24376 glibcxx_cv_func_fmodf_use=yes
24377 else
24378 echo "$as_me: failed program was:" >&5
24379 sed 's/^/| /' conftest.$ac_ext >&5
24381 glibcxx_cv_func_fmodf_use=no
24383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24384 ac_ext=c
24385 ac_cpp='$CPP $CPPFLAGS'
24386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24394 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
24395 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
24397 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
24399 for ac_func in fmodf
24401 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24402 echo "$as_me:$LINENO: checking for $ac_func" >&5
24403 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24404 if eval "test \"\${$as_ac_var+set}\" = set"; then
24405 echo $ECHO_N "(cached) $ECHO_C" >&6
24406 else
24407 if test x$gcc_no_link = xyes; then
24408 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24409 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24410 { (exit 1); exit 1; }; }
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24419 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24420 #define $ac_func innocuous_$ac_func
24422 /* System header to define __stub macros and hopefully few prototypes,
24423 which can conflict with char $ac_func (); below.
24424 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24425 <limits.h> exists even on freestanding compilers. */
24427 #ifdef __STDC__
24428 # include <limits.h>
24429 #else
24430 # include <assert.h>
24431 #endif
24433 #undef $ac_func
24435 /* Override any gcc2 internal prototype to avoid an error. */
24436 #ifdef __cplusplus
24437 extern "C"
24439 #endif
24440 /* We use char because int might match the return type of a gcc2
24441 builtin and then its argument prototype would still apply. */
24442 char $ac_func ();
24443 /* The GNU C library defines this for functions which it implements
24444 to always fail with ENOSYS. Some functions are actually named
24445 something starting with __ and the normal name is an alias. */
24446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24447 choke me
24448 #else
24449 char (*f) () = $ac_func;
24450 #endif
24451 #ifdef __cplusplus
24453 #endif
24456 main ()
24458 return f != $ac_func;
24460 return 0;
24462 _ACEOF
24463 rm -f conftest.$ac_objext conftest$ac_exeext
24464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24465 (eval $ac_link) 2>conftest.er1
24466 ac_status=$?
24467 grep -v '^ *+' conftest.er1 >conftest.err
24468 rm -f conftest.er1
24469 cat conftest.err >&5
24470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24471 (exit $ac_status); } &&
24472 { ac_try='test -z "$ac_c_werror_flag"
24473 || test ! -s conftest.err'
24474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24475 (eval $ac_try) 2>&5
24476 ac_status=$?
24477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24478 (exit $ac_status); }; } &&
24479 { ac_try='test -s conftest$ac_exeext'
24480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24481 (eval $ac_try) 2>&5
24482 ac_status=$?
24483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24484 (exit $ac_status); }; }; then
24485 eval "$as_ac_var=yes"
24486 else
24487 echo "$as_me: failed program was:" >&5
24488 sed 's/^/| /' conftest.$ac_ext >&5
24490 eval "$as_ac_var=no"
24492 rm -f conftest.err conftest.$ac_objext \
24493 conftest$ac_exeext conftest.$ac_ext
24495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24496 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24497 if test `eval echo '${'$as_ac_var'}'` = yes; then
24498 cat >>confdefs.h <<_ACEOF
24499 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24500 _ACEOF
24503 done
24505 else
24507 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
24508 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
24509 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
24510 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
24511 echo $ECHO_N "(cached) $ECHO_C" >&6
24512 else
24516 ac_ext=cc
24517 ac_cpp='$CXXCPP $CPPFLAGS'
24518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24522 cat >conftest.$ac_ext <<_ACEOF
24523 /* confdefs.h. */
24524 _ACEOF
24525 cat confdefs.h >>conftest.$ac_ext
24526 cat >>conftest.$ac_ext <<_ACEOF
24527 /* end confdefs.h. */
24528 #include <math.h>
24530 main ()
24532 _fmodf(0, 0);
24534 return 0;
24536 _ACEOF
24537 rm -f conftest.$ac_objext
24538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24539 (eval $ac_compile) 2>conftest.er1
24540 ac_status=$?
24541 grep -v '^ *+' conftest.er1 >conftest.err
24542 rm -f conftest.er1
24543 cat conftest.err >&5
24544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24545 (exit $ac_status); } &&
24546 { ac_try='test -z "$ac_cxx_werror_flag"
24547 || test ! -s conftest.err'
24548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24549 (eval $ac_try) 2>&5
24550 ac_status=$?
24551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24552 (exit $ac_status); }; } &&
24553 { ac_try='test -s conftest.$ac_objext'
24554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24555 (eval $ac_try) 2>&5
24556 ac_status=$?
24557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24558 (exit $ac_status); }; }; then
24559 glibcxx_cv_func__fmodf_use=yes
24560 else
24561 echo "$as_me: failed program was:" >&5
24562 sed 's/^/| /' conftest.$ac_ext >&5
24564 glibcxx_cv_func__fmodf_use=no
24566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24567 ac_ext=c
24568 ac_cpp='$CPP $CPPFLAGS'
24569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24577 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
24578 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
24580 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
24582 for ac_func in _fmodf
24584 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24585 echo "$as_me:$LINENO: checking for $ac_func" >&5
24586 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24587 if eval "test \"\${$as_ac_var+set}\" = set"; then
24588 echo $ECHO_N "(cached) $ECHO_C" >&6
24589 else
24590 if test x$gcc_no_link = xyes; then
24591 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24592 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24593 { (exit 1); exit 1; }; }
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24602 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24603 #define $ac_func innocuous_$ac_func
24605 /* System header to define __stub macros and hopefully few prototypes,
24606 which can conflict with char $ac_func (); below.
24607 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24608 <limits.h> exists even on freestanding compilers. */
24610 #ifdef __STDC__
24611 # include <limits.h>
24612 #else
24613 # include <assert.h>
24614 #endif
24616 #undef $ac_func
24618 /* Override any gcc2 internal prototype to avoid an error. */
24619 #ifdef __cplusplus
24620 extern "C"
24622 #endif
24623 /* We use char because int might match the return type of a gcc2
24624 builtin and then its argument prototype would still apply. */
24625 char $ac_func ();
24626 /* The GNU C library defines this for functions which it implements
24627 to always fail with ENOSYS. Some functions are actually named
24628 something starting with __ and the normal name is an alias. */
24629 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24630 choke me
24631 #else
24632 char (*f) () = $ac_func;
24633 #endif
24634 #ifdef __cplusplus
24636 #endif
24639 main ()
24641 return f != $ac_func;
24643 return 0;
24645 _ACEOF
24646 rm -f conftest.$ac_objext conftest$ac_exeext
24647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24648 (eval $ac_link) 2>conftest.er1
24649 ac_status=$?
24650 grep -v '^ *+' conftest.er1 >conftest.err
24651 rm -f conftest.er1
24652 cat conftest.err >&5
24653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24654 (exit $ac_status); } &&
24655 { ac_try='test -z "$ac_c_werror_flag"
24656 || test ! -s conftest.err'
24657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24658 (eval $ac_try) 2>&5
24659 ac_status=$?
24660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24661 (exit $ac_status); }; } &&
24662 { ac_try='test -s conftest$ac_exeext'
24663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24664 (eval $ac_try) 2>&5
24665 ac_status=$?
24666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24667 (exit $ac_status); }; }; then
24668 eval "$as_ac_var=yes"
24669 else
24670 echo "$as_me: failed program was:" >&5
24671 sed 's/^/| /' conftest.$ac_ext >&5
24673 eval "$as_ac_var=no"
24675 rm -f conftest.err conftest.$ac_objext \
24676 conftest$ac_exeext conftest.$ac_ext
24678 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24679 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24680 if test `eval echo '${'$as_ac_var'}'` = yes; then
24681 cat >>confdefs.h <<_ACEOF
24682 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24683 _ACEOF
24686 done
24696 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
24697 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
24698 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
24699 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
24700 echo $ECHO_N "(cached) $ECHO_C" >&6
24701 else
24705 ac_ext=cc
24706 ac_cpp='$CXXCPP $CPPFLAGS'
24707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24711 cat >conftest.$ac_ext <<_ACEOF
24712 /* confdefs.h. */
24713 _ACEOF
24714 cat confdefs.h >>conftest.$ac_ext
24715 cat >>conftest.$ac_ext <<_ACEOF
24716 /* end confdefs.h. */
24717 #include <math.h>
24719 main ()
24721 frexpf(0, 0);
24723 return 0;
24725 _ACEOF
24726 rm -f conftest.$ac_objext
24727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24728 (eval $ac_compile) 2>conftest.er1
24729 ac_status=$?
24730 grep -v '^ *+' conftest.er1 >conftest.err
24731 rm -f conftest.er1
24732 cat conftest.err >&5
24733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24734 (exit $ac_status); } &&
24735 { ac_try='test -z "$ac_cxx_werror_flag"
24736 || test ! -s conftest.err'
24737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24738 (eval $ac_try) 2>&5
24739 ac_status=$?
24740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24741 (exit $ac_status); }; } &&
24742 { ac_try='test -s conftest.$ac_objext'
24743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24744 (eval $ac_try) 2>&5
24745 ac_status=$?
24746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24747 (exit $ac_status); }; }; then
24748 glibcxx_cv_func_frexpf_use=yes
24749 else
24750 echo "$as_me: failed program was:" >&5
24751 sed 's/^/| /' conftest.$ac_ext >&5
24753 glibcxx_cv_func_frexpf_use=no
24755 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24756 ac_ext=c
24757 ac_cpp='$CPP $CPPFLAGS'
24758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24766 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
24767 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
24769 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
24771 for ac_func in frexpf
24773 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24774 echo "$as_me:$LINENO: checking for $ac_func" >&5
24775 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24776 if eval "test \"\${$as_ac_var+set}\" = set"; then
24777 echo $ECHO_N "(cached) $ECHO_C" >&6
24778 else
24779 if test x$gcc_no_link = xyes; then
24780 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24781 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24782 { (exit 1); exit 1; }; }
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24791 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24792 #define $ac_func innocuous_$ac_func
24794 /* System header to define __stub macros and hopefully few prototypes,
24795 which can conflict with char $ac_func (); below.
24796 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24797 <limits.h> exists even on freestanding compilers. */
24799 #ifdef __STDC__
24800 # include <limits.h>
24801 #else
24802 # include <assert.h>
24803 #endif
24805 #undef $ac_func
24807 /* Override any gcc2 internal prototype to avoid an error. */
24808 #ifdef __cplusplus
24809 extern "C"
24811 #endif
24812 /* We use char because int might match the return type of a gcc2
24813 builtin and then its argument prototype would still apply. */
24814 char $ac_func ();
24815 /* The GNU C library defines this for functions which it implements
24816 to always fail with ENOSYS. Some functions are actually named
24817 something starting with __ and the normal name is an alias. */
24818 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24819 choke me
24820 #else
24821 char (*f) () = $ac_func;
24822 #endif
24823 #ifdef __cplusplus
24825 #endif
24828 main ()
24830 return f != $ac_func;
24832 return 0;
24834 _ACEOF
24835 rm -f conftest.$ac_objext conftest$ac_exeext
24836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24837 (eval $ac_link) 2>conftest.er1
24838 ac_status=$?
24839 grep -v '^ *+' conftest.er1 >conftest.err
24840 rm -f conftest.er1
24841 cat conftest.err >&5
24842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24843 (exit $ac_status); } &&
24844 { ac_try='test -z "$ac_c_werror_flag"
24845 || test ! -s conftest.err'
24846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24847 (eval $ac_try) 2>&5
24848 ac_status=$?
24849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24850 (exit $ac_status); }; } &&
24851 { ac_try='test -s conftest$ac_exeext'
24852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24853 (eval $ac_try) 2>&5
24854 ac_status=$?
24855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24856 (exit $ac_status); }; }; then
24857 eval "$as_ac_var=yes"
24858 else
24859 echo "$as_me: failed program was:" >&5
24860 sed 's/^/| /' conftest.$ac_ext >&5
24862 eval "$as_ac_var=no"
24864 rm -f conftest.err conftest.$ac_objext \
24865 conftest$ac_exeext conftest.$ac_ext
24867 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24868 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24869 if test `eval echo '${'$as_ac_var'}'` = yes; then
24870 cat >>confdefs.h <<_ACEOF
24871 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24872 _ACEOF
24875 done
24877 else
24879 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
24880 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
24881 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
24882 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
24883 echo $ECHO_N "(cached) $ECHO_C" >&6
24884 else
24888 ac_ext=cc
24889 ac_cpp='$CXXCPP $CPPFLAGS'
24890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24894 cat >conftest.$ac_ext <<_ACEOF
24895 /* confdefs.h. */
24896 _ACEOF
24897 cat confdefs.h >>conftest.$ac_ext
24898 cat >>conftest.$ac_ext <<_ACEOF
24899 /* end confdefs.h. */
24900 #include <math.h>
24902 main ()
24904 _frexpf(0, 0);
24906 return 0;
24908 _ACEOF
24909 rm -f conftest.$ac_objext
24910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24911 (eval $ac_compile) 2>conftest.er1
24912 ac_status=$?
24913 grep -v '^ *+' conftest.er1 >conftest.err
24914 rm -f conftest.er1
24915 cat conftest.err >&5
24916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24917 (exit $ac_status); } &&
24918 { ac_try='test -z "$ac_cxx_werror_flag"
24919 || test ! -s conftest.err'
24920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24921 (eval $ac_try) 2>&5
24922 ac_status=$?
24923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24924 (exit $ac_status); }; } &&
24925 { ac_try='test -s conftest.$ac_objext'
24926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24927 (eval $ac_try) 2>&5
24928 ac_status=$?
24929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24930 (exit $ac_status); }; }; then
24931 glibcxx_cv_func__frexpf_use=yes
24932 else
24933 echo "$as_me: failed program was:" >&5
24934 sed 's/^/| /' conftest.$ac_ext >&5
24936 glibcxx_cv_func__frexpf_use=no
24938 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24939 ac_ext=c
24940 ac_cpp='$CPP $CPPFLAGS'
24941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24949 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
24950 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
24952 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
24954 for ac_func in _frexpf
24956 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24957 echo "$as_me:$LINENO: checking for $ac_func" >&5
24958 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24959 if eval "test \"\${$as_ac_var+set}\" = set"; then
24960 echo $ECHO_N "(cached) $ECHO_C" >&6
24961 else
24962 if test x$gcc_no_link = xyes; then
24963 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24964 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24965 { (exit 1); exit 1; }; }
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24974 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24975 #define $ac_func innocuous_$ac_func
24977 /* System header to define __stub macros and hopefully few prototypes,
24978 which can conflict with char $ac_func (); below.
24979 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24980 <limits.h> exists even on freestanding compilers. */
24982 #ifdef __STDC__
24983 # include <limits.h>
24984 #else
24985 # include <assert.h>
24986 #endif
24988 #undef $ac_func
24990 /* Override any gcc2 internal prototype to avoid an error. */
24991 #ifdef __cplusplus
24992 extern "C"
24994 #endif
24995 /* We use char because int might match the return type of a gcc2
24996 builtin and then its argument prototype would still apply. */
24997 char $ac_func ();
24998 /* The GNU C library defines this for functions which it implements
24999 to always fail with ENOSYS. Some functions are actually named
25000 something starting with __ and the normal name is an alias. */
25001 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25002 choke me
25003 #else
25004 char (*f) () = $ac_func;
25005 #endif
25006 #ifdef __cplusplus
25008 #endif
25011 main ()
25013 return f != $ac_func;
25015 return 0;
25017 _ACEOF
25018 rm -f conftest.$ac_objext conftest$ac_exeext
25019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25020 (eval $ac_link) 2>conftest.er1
25021 ac_status=$?
25022 grep -v '^ *+' conftest.er1 >conftest.err
25023 rm -f conftest.er1
25024 cat conftest.err >&5
25025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25026 (exit $ac_status); } &&
25027 { ac_try='test -z "$ac_c_werror_flag"
25028 || test ! -s conftest.err'
25029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25030 (eval $ac_try) 2>&5
25031 ac_status=$?
25032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25033 (exit $ac_status); }; } &&
25034 { ac_try='test -s conftest$ac_exeext'
25035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25036 (eval $ac_try) 2>&5
25037 ac_status=$?
25038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25039 (exit $ac_status); }; }; then
25040 eval "$as_ac_var=yes"
25041 else
25042 echo "$as_me: failed program was:" >&5
25043 sed 's/^/| /' conftest.$ac_ext >&5
25045 eval "$as_ac_var=no"
25047 rm -f conftest.err conftest.$ac_objext \
25048 conftest$ac_exeext conftest.$ac_ext
25050 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25051 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25052 if test `eval echo '${'$as_ac_var'}'` = yes; then
25053 cat >>confdefs.h <<_ACEOF
25054 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25055 _ACEOF
25058 done
25068 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
25069 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
25070 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
25071 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
25072 echo $ECHO_N "(cached) $ECHO_C" >&6
25073 else
25077 ac_ext=cc
25078 ac_cpp='$CXXCPP $CPPFLAGS'
25079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25083 cat >conftest.$ac_ext <<_ACEOF
25084 /* confdefs.h. */
25085 _ACEOF
25086 cat confdefs.h >>conftest.$ac_ext
25087 cat >>conftest.$ac_ext <<_ACEOF
25088 /* end confdefs.h. */
25089 #include <math.h>
25091 main ()
25093 hypotf(0, 0);
25095 return 0;
25097 _ACEOF
25098 rm -f conftest.$ac_objext
25099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25100 (eval $ac_compile) 2>conftest.er1
25101 ac_status=$?
25102 grep -v '^ *+' conftest.er1 >conftest.err
25103 rm -f conftest.er1
25104 cat conftest.err >&5
25105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25106 (exit $ac_status); } &&
25107 { ac_try='test -z "$ac_cxx_werror_flag"
25108 || test ! -s conftest.err'
25109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25110 (eval $ac_try) 2>&5
25111 ac_status=$?
25112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25113 (exit $ac_status); }; } &&
25114 { ac_try='test -s conftest.$ac_objext'
25115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25116 (eval $ac_try) 2>&5
25117 ac_status=$?
25118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25119 (exit $ac_status); }; }; then
25120 glibcxx_cv_func_hypotf_use=yes
25121 else
25122 echo "$as_me: failed program was:" >&5
25123 sed 's/^/| /' conftest.$ac_ext >&5
25125 glibcxx_cv_func_hypotf_use=no
25127 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25128 ac_ext=c
25129 ac_cpp='$CPP $CPPFLAGS'
25130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25138 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
25139 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
25141 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
25143 for ac_func in hypotf
25145 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25146 echo "$as_me:$LINENO: checking for $ac_func" >&5
25147 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25148 if eval "test \"\${$as_ac_var+set}\" = set"; then
25149 echo $ECHO_N "(cached) $ECHO_C" >&6
25150 else
25151 if test x$gcc_no_link = xyes; then
25152 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25153 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25154 { (exit 1); exit 1; }; }
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25163 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25164 #define $ac_func innocuous_$ac_func
25166 /* System header to define __stub macros and hopefully few prototypes,
25167 which can conflict with char $ac_func (); below.
25168 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25169 <limits.h> exists even on freestanding compilers. */
25171 #ifdef __STDC__
25172 # include <limits.h>
25173 #else
25174 # include <assert.h>
25175 #endif
25177 #undef $ac_func
25179 /* Override any gcc2 internal prototype to avoid an error. */
25180 #ifdef __cplusplus
25181 extern "C"
25183 #endif
25184 /* We use char because int might match the return type of a gcc2
25185 builtin and then its argument prototype would still apply. */
25186 char $ac_func ();
25187 /* The GNU C library defines this for functions which it implements
25188 to always fail with ENOSYS. Some functions are actually named
25189 something starting with __ and the normal name is an alias. */
25190 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25191 choke me
25192 #else
25193 char (*f) () = $ac_func;
25194 #endif
25195 #ifdef __cplusplus
25197 #endif
25200 main ()
25202 return f != $ac_func;
25204 return 0;
25206 _ACEOF
25207 rm -f conftest.$ac_objext conftest$ac_exeext
25208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25209 (eval $ac_link) 2>conftest.er1
25210 ac_status=$?
25211 grep -v '^ *+' conftest.er1 >conftest.err
25212 rm -f conftest.er1
25213 cat conftest.err >&5
25214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25215 (exit $ac_status); } &&
25216 { ac_try='test -z "$ac_c_werror_flag"
25217 || test ! -s conftest.err'
25218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25219 (eval $ac_try) 2>&5
25220 ac_status=$?
25221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25222 (exit $ac_status); }; } &&
25223 { ac_try='test -s conftest$ac_exeext'
25224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25225 (eval $ac_try) 2>&5
25226 ac_status=$?
25227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25228 (exit $ac_status); }; }; then
25229 eval "$as_ac_var=yes"
25230 else
25231 echo "$as_me: failed program was:" >&5
25232 sed 's/^/| /' conftest.$ac_ext >&5
25234 eval "$as_ac_var=no"
25236 rm -f conftest.err conftest.$ac_objext \
25237 conftest$ac_exeext conftest.$ac_ext
25239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25240 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25241 if test `eval echo '${'$as_ac_var'}'` = yes; then
25242 cat >>confdefs.h <<_ACEOF
25243 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25244 _ACEOF
25247 done
25249 else
25251 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
25252 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
25253 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
25254 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
25255 echo $ECHO_N "(cached) $ECHO_C" >&6
25256 else
25260 ac_ext=cc
25261 ac_cpp='$CXXCPP $CPPFLAGS'
25262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25266 cat >conftest.$ac_ext <<_ACEOF
25267 /* confdefs.h. */
25268 _ACEOF
25269 cat confdefs.h >>conftest.$ac_ext
25270 cat >>conftest.$ac_ext <<_ACEOF
25271 /* end confdefs.h. */
25272 #include <math.h>
25274 main ()
25276 _hypotf(0, 0);
25278 return 0;
25280 _ACEOF
25281 rm -f conftest.$ac_objext
25282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25283 (eval $ac_compile) 2>conftest.er1
25284 ac_status=$?
25285 grep -v '^ *+' conftest.er1 >conftest.err
25286 rm -f conftest.er1
25287 cat conftest.err >&5
25288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25289 (exit $ac_status); } &&
25290 { ac_try='test -z "$ac_cxx_werror_flag"
25291 || test ! -s conftest.err'
25292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25293 (eval $ac_try) 2>&5
25294 ac_status=$?
25295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25296 (exit $ac_status); }; } &&
25297 { ac_try='test -s conftest.$ac_objext'
25298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25299 (eval $ac_try) 2>&5
25300 ac_status=$?
25301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25302 (exit $ac_status); }; }; then
25303 glibcxx_cv_func__hypotf_use=yes
25304 else
25305 echo "$as_me: failed program was:" >&5
25306 sed 's/^/| /' conftest.$ac_ext >&5
25308 glibcxx_cv_func__hypotf_use=no
25310 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25311 ac_ext=c
25312 ac_cpp='$CPP $CPPFLAGS'
25313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25321 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
25322 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
25324 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
25326 for ac_func in _hypotf
25328 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25329 echo "$as_me:$LINENO: checking for $ac_func" >&5
25330 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25331 if eval "test \"\${$as_ac_var+set}\" = set"; then
25332 echo $ECHO_N "(cached) $ECHO_C" >&6
25333 else
25334 if test x$gcc_no_link = xyes; then
25335 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25336 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25337 { (exit 1); exit 1; }; }
25339 cat >conftest.$ac_ext <<_ACEOF
25340 /* confdefs.h. */
25341 _ACEOF
25342 cat confdefs.h >>conftest.$ac_ext
25343 cat >>conftest.$ac_ext <<_ACEOF
25344 /* end confdefs.h. */
25345 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25346 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25347 #define $ac_func innocuous_$ac_func
25349 /* System header to define __stub macros and hopefully few prototypes,
25350 which can conflict with char $ac_func (); below.
25351 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25352 <limits.h> exists even on freestanding compilers. */
25354 #ifdef __STDC__
25355 # include <limits.h>
25356 #else
25357 # include <assert.h>
25358 #endif
25360 #undef $ac_func
25362 /* Override any gcc2 internal prototype to avoid an error. */
25363 #ifdef __cplusplus
25364 extern "C"
25366 #endif
25367 /* We use char because int might match the return type of a gcc2
25368 builtin and then its argument prototype would still apply. */
25369 char $ac_func ();
25370 /* The GNU C library defines this for functions which it implements
25371 to always fail with ENOSYS. Some functions are actually named
25372 something starting with __ and the normal name is an alias. */
25373 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25374 choke me
25375 #else
25376 char (*f) () = $ac_func;
25377 #endif
25378 #ifdef __cplusplus
25380 #endif
25383 main ()
25385 return f != $ac_func;
25387 return 0;
25389 _ACEOF
25390 rm -f conftest.$ac_objext conftest$ac_exeext
25391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25392 (eval $ac_link) 2>conftest.er1
25393 ac_status=$?
25394 grep -v '^ *+' conftest.er1 >conftest.err
25395 rm -f conftest.er1
25396 cat conftest.err >&5
25397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25398 (exit $ac_status); } &&
25399 { ac_try='test -z "$ac_c_werror_flag"
25400 || test ! -s conftest.err'
25401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25402 (eval $ac_try) 2>&5
25403 ac_status=$?
25404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25405 (exit $ac_status); }; } &&
25406 { ac_try='test -s conftest$ac_exeext'
25407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25408 (eval $ac_try) 2>&5
25409 ac_status=$?
25410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25411 (exit $ac_status); }; }; then
25412 eval "$as_ac_var=yes"
25413 else
25414 echo "$as_me: failed program was:" >&5
25415 sed 's/^/| /' conftest.$ac_ext >&5
25417 eval "$as_ac_var=no"
25419 rm -f conftest.err conftest.$ac_objext \
25420 conftest$ac_exeext conftest.$ac_ext
25422 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25423 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25424 if test `eval echo '${'$as_ac_var'}'` = yes; then
25425 cat >>confdefs.h <<_ACEOF
25426 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25427 _ACEOF
25430 done
25440 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
25441 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
25442 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
25443 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
25444 echo $ECHO_N "(cached) $ECHO_C" >&6
25445 else
25449 ac_ext=cc
25450 ac_cpp='$CXXCPP $CPPFLAGS'
25451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25455 cat >conftest.$ac_ext <<_ACEOF
25456 /* confdefs.h. */
25457 _ACEOF
25458 cat confdefs.h >>conftest.$ac_ext
25459 cat >>conftest.$ac_ext <<_ACEOF
25460 /* end confdefs.h. */
25461 #include <math.h>
25463 main ()
25465 ldexpf(0, 0);
25467 return 0;
25469 _ACEOF
25470 rm -f conftest.$ac_objext
25471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25472 (eval $ac_compile) 2>conftest.er1
25473 ac_status=$?
25474 grep -v '^ *+' conftest.er1 >conftest.err
25475 rm -f conftest.er1
25476 cat conftest.err >&5
25477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25478 (exit $ac_status); } &&
25479 { ac_try='test -z "$ac_cxx_werror_flag"
25480 || test ! -s conftest.err'
25481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25482 (eval $ac_try) 2>&5
25483 ac_status=$?
25484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25485 (exit $ac_status); }; } &&
25486 { ac_try='test -s conftest.$ac_objext'
25487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25488 (eval $ac_try) 2>&5
25489 ac_status=$?
25490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25491 (exit $ac_status); }; }; then
25492 glibcxx_cv_func_ldexpf_use=yes
25493 else
25494 echo "$as_me: failed program was:" >&5
25495 sed 's/^/| /' conftest.$ac_ext >&5
25497 glibcxx_cv_func_ldexpf_use=no
25499 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25500 ac_ext=c
25501 ac_cpp='$CPP $CPPFLAGS'
25502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25510 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
25511 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
25513 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
25515 for ac_func in ldexpf
25517 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25518 echo "$as_me:$LINENO: checking for $ac_func" >&5
25519 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25520 if eval "test \"\${$as_ac_var+set}\" = set"; then
25521 echo $ECHO_N "(cached) $ECHO_C" >&6
25522 else
25523 if test x$gcc_no_link = xyes; then
25524 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25525 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25526 { (exit 1); exit 1; }; }
25528 cat >conftest.$ac_ext <<_ACEOF
25529 /* confdefs.h. */
25530 _ACEOF
25531 cat confdefs.h >>conftest.$ac_ext
25532 cat >>conftest.$ac_ext <<_ACEOF
25533 /* end confdefs.h. */
25534 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25535 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25536 #define $ac_func innocuous_$ac_func
25538 /* System header to define __stub macros and hopefully few prototypes,
25539 which can conflict with char $ac_func (); below.
25540 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25541 <limits.h> exists even on freestanding compilers. */
25543 #ifdef __STDC__
25544 # include <limits.h>
25545 #else
25546 # include <assert.h>
25547 #endif
25549 #undef $ac_func
25551 /* Override any gcc2 internal prototype to avoid an error. */
25552 #ifdef __cplusplus
25553 extern "C"
25555 #endif
25556 /* We use char because int might match the return type of a gcc2
25557 builtin and then its argument prototype would still apply. */
25558 char $ac_func ();
25559 /* The GNU C library defines this for functions which it implements
25560 to always fail with ENOSYS. Some functions are actually named
25561 something starting with __ and the normal name is an alias. */
25562 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25563 choke me
25564 #else
25565 char (*f) () = $ac_func;
25566 #endif
25567 #ifdef __cplusplus
25569 #endif
25572 main ()
25574 return f != $ac_func;
25576 return 0;
25578 _ACEOF
25579 rm -f conftest.$ac_objext conftest$ac_exeext
25580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25581 (eval $ac_link) 2>conftest.er1
25582 ac_status=$?
25583 grep -v '^ *+' conftest.er1 >conftest.err
25584 rm -f conftest.er1
25585 cat conftest.err >&5
25586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25587 (exit $ac_status); } &&
25588 { ac_try='test -z "$ac_c_werror_flag"
25589 || test ! -s conftest.err'
25590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25591 (eval $ac_try) 2>&5
25592 ac_status=$?
25593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25594 (exit $ac_status); }; } &&
25595 { ac_try='test -s conftest$ac_exeext'
25596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25597 (eval $ac_try) 2>&5
25598 ac_status=$?
25599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25600 (exit $ac_status); }; }; then
25601 eval "$as_ac_var=yes"
25602 else
25603 echo "$as_me: failed program was:" >&5
25604 sed 's/^/| /' conftest.$ac_ext >&5
25606 eval "$as_ac_var=no"
25608 rm -f conftest.err conftest.$ac_objext \
25609 conftest$ac_exeext conftest.$ac_ext
25611 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25612 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25613 if test `eval echo '${'$as_ac_var'}'` = yes; then
25614 cat >>confdefs.h <<_ACEOF
25615 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25616 _ACEOF
25619 done
25621 else
25623 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
25624 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
25625 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
25626 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
25627 echo $ECHO_N "(cached) $ECHO_C" >&6
25628 else
25632 ac_ext=cc
25633 ac_cpp='$CXXCPP $CPPFLAGS'
25634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25638 cat >conftest.$ac_ext <<_ACEOF
25639 /* confdefs.h. */
25640 _ACEOF
25641 cat confdefs.h >>conftest.$ac_ext
25642 cat >>conftest.$ac_ext <<_ACEOF
25643 /* end confdefs.h. */
25644 #include <math.h>
25646 main ()
25648 _ldexpf(0, 0);
25650 return 0;
25652 _ACEOF
25653 rm -f conftest.$ac_objext
25654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25655 (eval $ac_compile) 2>conftest.er1
25656 ac_status=$?
25657 grep -v '^ *+' conftest.er1 >conftest.err
25658 rm -f conftest.er1
25659 cat conftest.err >&5
25660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25661 (exit $ac_status); } &&
25662 { ac_try='test -z "$ac_cxx_werror_flag"
25663 || test ! -s conftest.err'
25664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25665 (eval $ac_try) 2>&5
25666 ac_status=$?
25667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25668 (exit $ac_status); }; } &&
25669 { ac_try='test -s conftest.$ac_objext'
25670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25671 (eval $ac_try) 2>&5
25672 ac_status=$?
25673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25674 (exit $ac_status); }; }; then
25675 glibcxx_cv_func__ldexpf_use=yes
25676 else
25677 echo "$as_me: failed program was:" >&5
25678 sed 's/^/| /' conftest.$ac_ext >&5
25680 glibcxx_cv_func__ldexpf_use=no
25682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25683 ac_ext=c
25684 ac_cpp='$CPP $CPPFLAGS'
25685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25693 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
25694 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
25696 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
25698 for ac_func in _ldexpf
25700 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25701 echo "$as_me:$LINENO: checking for $ac_func" >&5
25702 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25703 if eval "test \"\${$as_ac_var+set}\" = set"; then
25704 echo $ECHO_N "(cached) $ECHO_C" >&6
25705 else
25706 if test x$gcc_no_link = xyes; then
25707 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25708 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25709 { (exit 1); exit 1; }; }
25711 cat >conftest.$ac_ext <<_ACEOF
25712 /* confdefs.h. */
25713 _ACEOF
25714 cat confdefs.h >>conftest.$ac_ext
25715 cat >>conftest.$ac_ext <<_ACEOF
25716 /* end confdefs.h. */
25717 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25718 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25719 #define $ac_func innocuous_$ac_func
25721 /* System header to define __stub macros and hopefully few prototypes,
25722 which can conflict with char $ac_func (); below.
25723 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25724 <limits.h> exists even on freestanding compilers. */
25726 #ifdef __STDC__
25727 # include <limits.h>
25728 #else
25729 # include <assert.h>
25730 #endif
25732 #undef $ac_func
25734 /* Override any gcc2 internal prototype to avoid an error. */
25735 #ifdef __cplusplus
25736 extern "C"
25738 #endif
25739 /* We use char because int might match the return type of a gcc2
25740 builtin and then its argument prototype would still apply. */
25741 char $ac_func ();
25742 /* The GNU C library defines this for functions which it implements
25743 to always fail with ENOSYS. Some functions are actually named
25744 something starting with __ and the normal name is an alias. */
25745 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25746 choke me
25747 #else
25748 char (*f) () = $ac_func;
25749 #endif
25750 #ifdef __cplusplus
25752 #endif
25755 main ()
25757 return f != $ac_func;
25759 return 0;
25761 _ACEOF
25762 rm -f conftest.$ac_objext conftest$ac_exeext
25763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25764 (eval $ac_link) 2>conftest.er1
25765 ac_status=$?
25766 grep -v '^ *+' conftest.er1 >conftest.err
25767 rm -f conftest.er1
25768 cat conftest.err >&5
25769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25770 (exit $ac_status); } &&
25771 { ac_try='test -z "$ac_c_werror_flag"
25772 || test ! -s conftest.err'
25773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25774 (eval $ac_try) 2>&5
25775 ac_status=$?
25776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25777 (exit $ac_status); }; } &&
25778 { ac_try='test -s conftest$ac_exeext'
25779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25780 (eval $ac_try) 2>&5
25781 ac_status=$?
25782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25783 (exit $ac_status); }; }; then
25784 eval "$as_ac_var=yes"
25785 else
25786 echo "$as_me: failed program was:" >&5
25787 sed 's/^/| /' conftest.$ac_ext >&5
25789 eval "$as_ac_var=no"
25791 rm -f conftest.err conftest.$ac_objext \
25792 conftest$ac_exeext conftest.$ac_ext
25794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25795 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25796 if test `eval echo '${'$as_ac_var'}'` = yes; then
25797 cat >>confdefs.h <<_ACEOF
25798 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25799 _ACEOF
25802 done
25812 echo "$as_me:$LINENO: checking for logf declaration" >&5
25813 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
25814 if test x${glibcxx_cv_func_logf_use+set} != xset; then
25815 if test "${glibcxx_cv_func_logf_use+set}" = set; then
25816 echo $ECHO_N "(cached) $ECHO_C" >&6
25817 else
25821 ac_ext=cc
25822 ac_cpp='$CXXCPP $CPPFLAGS'
25823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25827 cat >conftest.$ac_ext <<_ACEOF
25828 /* confdefs.h. */
25829 _ACEOF
25830 cat confdefs.h >>conftest.$ac_ext
25831 cat >>conftest.$ac_ext <<_ACEOF
25832 /* end confdefs.h. */
25833 #include <math.h>
25834 #ifdef HAVE_IEEEFP_H
25835 #include <ieeefp.h>
25836 #endif
25839 main ()
25841 logf(0);
25843 return 0;
25845 _ACEOF
25846 rm -f conftest.$ac_objext
25847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25848 (eval $ac_compile) 2>conftest.er1
25849 ac_status=$?
25850 grep -v '^ *+' conftest.er1 >conftest.err
25851 rm -f conftest.er1
25852 cat conftest.err >&5
25853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25854 (exit $ac_status); } &&
25855 { ac_try='test -z "$ac_cxx_werror_flag"
25856 || test ! -s conftest.err'
25857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25858 (eval $ac_try) 2>&5
25859 ac_status=$?
25860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25861 (exit $ac_status); }; } &&
25862 { ac_try='test -s conftest.$ac_objext'
25863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25864 (eval $ac_try) 2>&5
25865 ac_status=$?
25866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25867 (exit $ac_status); }; }; then
25868 glibcxx_cv_func_logf_use=yes
25869 else
25870 echo "$as_me: failed program was:" >&5
25871 sed 's/^/| /' conftest.$ac_ext >&5
25873 glibcxx_cv_func_logf_use=no
25875 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25876 ac_ext=c
25877 ac_cpp='$CPP $CPPFLAGS'
25878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25886 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
25887 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
25889 if test x$glibcxx_cv_func_logf_use = x"yes"; then
25891 for ac_func in logf
25893 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25894 echo "$as_me:$LINENO: checking for $ac_func" >&5
25895 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25896 if eval "test \"\${$as_ac_var+set}\" = set"; then
25897 echo $ECHO_N "(cached) $ECHO_C" >&6
25898 else
25899 if test x$gcc_no_link = xyes; then
25900 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25901 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25902 { (exit 1); exit 1; }; }
25904 cat >conftest.$ac_ext <<_ACEOF
25905 /* confdefs.h. */
25906 _ACEOF
25907 cat confdefs.h >>conftest.$ac_ext
25908 cat >>conftest.$ac_ext <<_ACEOF
25909 /* end confdefs.h. */
25910 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25911 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25912 #define $ac_func innocuous_$ac_func
25914 /* System header to define __stub macros and hopefully few prototypes,
25915 which can conflict with char $ac_func (); below.
25916 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25917 <limits.h> exists even on freestanding compilers. */
25919 #ifdef __STDC__
25920 # include <limits.h>
25921 #else
25922 # include <assert.h>
25923 #endif
25925 #undef $ac_func
25927 /* Override any gcc2 internal prototype to avoid an error. */
25928 #ifdef __cplusplus
25929 extern "C"
25931 #endif
25932 /* We use char because int might match the return type of a gcc2
25933 builtin and then its argument prototype would still apply. */
25934 char $ac_func ();
25935 /* The GNU C library defines this for functions which it implements
25936 to always fail with ENOSYS. Some functions are actually named
25937 something starting with __ and the normal name is an alias. */
25938 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25939 choke me
25940 #else
25941 char (*f) () = $ac_func;
25942 #endif
25943 #ifdef __cplusplus
25945 #endif
25948 main ()
25950 return f != $ac_func;
25952 return 0;
25954 _ACEOF
25955 rm -f conftest.$ac_objext conftest$ac_exeext
25956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25957 (eval $ac_link) 2>conftest.er1
25958 ac_status=$?
25959 grep -v '^ *+' conftest.er1 >conftest.err
25960 rm -f conftest.er1
25961 cat conftest.err >&5
25962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25963 (exit $ac_status); } &&
25964 { ac_try='test -z "$ac_c_werror_flag"
25965 || test ! -s conftest.err'
25966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25967 (eval $ac_try) 2>&5
25968 ac_status=$?
25969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25970 (exit $ac_status); }; } &&
25971 { ac_try='test -s conftest$ac_exeext'
25972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25973 (eval $ac_try) 2>&5
25974 ac_status=$?
25975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25976 (exit $ac_status); }; }; then
25977 eval "$as_ac_var=yes"
25978 else
25979 echo "$as_me: failed program was:" >&5
25980 sed 's/^/| /' conftest.$ac_ext >&5
25982 eval "$as_ac_var=no"
25984 rm -f conftest.err conftest.$ac_objext \
25985 conftest$ac_exeext conftest.$ac_ext
25987 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25988 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25989 if test `eval echo '${'$as_ac_var'}'` = yes; then
25990 cat >>confdefs.h <<_ACEOF
25991 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25992 _ACEOF
25995 done
25997 else
25999 echo "$as_me:$LINENO: checking for _logf declaration" >&5
26000 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
26001 if test x${glibcxx_cv_func__logf_use+set} != xset; then
26002 if test "${glibcxx_cv_func__logf_use+set}" = set; then
26003 echo $ECHO_N "(cached) $ECHO_C" >&6
26004 else
26008 ac_ext=cc
26009 ac_cpp='$CXXCPP $CPPFLAGS'
26010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26014 cat >conftest.$ac_ext <<_ACEOF
26015 /* confdefs.h. */
26016 _ACEOF
26017 cat confdefs.h >>conftest.$ac_ext
26018 cat >>conftest.$ac_ext <<_ACEOF
26019 /* end confdefs.h. */
26020 #include <math.h>
26021 #ifdef HAVE_IEEEFP_H
26022 #include <ieeefp.h>
26023 #endif
26026 main ()
26028 _logf(0);
26030 return 0;
26032 _ACEOF
26033 rm -f conftest.$ac_objext
26034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26035 (eval $ac_compile) 2>conftest.er1
26036 ac_status=$?
26037 grep -v '^ *+' conftest.er1 >conftest.err
26038 rm -f conftest.er1
26039 cat conftest.err >&5
26040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26041 (exit $ac_status); } &&
26042 { ac_try='test -z "$ac_cxx_werror_flag"
26043 || test ! -s conftest.err'
26044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26045 (eval $ac_try) 2>&5
26046 ac_status=$?
26047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26048 (exit $ac_status); }; } &&
26049 { ac_try='test -s conftest.$ac_objext'
26050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26051 (eval $ac_try) 2>&5
26052 ac_status=$?
26053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26054 (exit $ac_status); }; }; then
26055 glibcxx_cv_func__logf_use=yes
26056 else
26057 echo "$as_me: failed program was:" >&5
26058 sed 's/^/| /' conftest.$ac_ext >&5
26060 glibcxx_cv_func__logf_use=no
26062 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26063 ac_ext=c
26064 ac_cpp='$CPP $CPPFLAGS'
26065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26073 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
26074 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
26076 if test x$glibcxx_cv_func__logf_use = x"yes"; then
26078 for ac_func in _logf
26080 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26081 echo "$as_me:$LINENO: checking for $ac_func" >&5
26082 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26083 if eval "test \"\${$as_ac_var+set}\" = set"; then
26084 echo $ECHO_N "(cached) $ECHO_C" >&6
26085 else
26086 if test x$gcc_no_link = xyes; then
26087 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26088 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26089 { (exit 1); exit 1; }; }
26091 cat >conftest.$ac_ext <<_ACEOF
26092 /* confdefs.h. */
26093 _ACEOF
26094 cat confdefs.h >>conftest.$ac_ext
26095 cat >>conftest.$ac_ext <<_ACEOF
26096 /* end confdefs.h. */
26097 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26098 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26099 #define $ac_func innocuous_$ac_func
26101 /* System header to define __stub macros and hopefully few prototypes,
26102 which can conflict with char $ac_func (); below.
26103 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26104 <limits.h> exists even on freestanding compilers. */
26106 #ifdef __STDC__
26107 # include <limits.h>
26108 #else
26109 # include <assert.h>
26110 #endif
26112 #undef $ac_func
26114 /* Override any gcc2 internal prototype to avoid an error. */
26115 #ifdef __cplusplus
26116 extern "C"
26118 #endif
26119 /* We use char because int might match the return type of a gcc2
26120 builtin and then its argument prototype would still apply. */
26121 char $ac_func ();
26122 /* The GNU C library defines this for functions which it implements
26123 to always fail with ENOSYS. Some functions are actually named
26124 something starting with __ and the normal name is an alias. */
26125 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26126 choke me
26127 #else
26128 char (*f) () = $ac_func;
26129 #endif
26130 #ifdef __cplusplus
26132 #endif
26135 main ()
26137 return f != $ac_func;
26139 return 0;
26141 _ACEOF
26142 rm -f conftest.$ac_objext conftest$ac_exeext
26143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26144 (eval $ac_link) 2>conftest.er1
26145 ac_status=$?
26146 grep -v '^ *+' conftest.er1 >conftest.err
26147 rm -f conftest.er1
26148 cat conftest.err >&5
26149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26150 (exit $ac_status); } &&
26151 { ac_try='test -z "$ac_c_werror_flag"
26152 || test ! -s conftest.err'
26153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26154 (eval $ac_try) 2>&5
26155 ac_status=$?
26156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26157 (exit $ac_status); }; } &&
26158 { ac_try='test -s conftest$ac_exeext'
26159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26160 (eval $ac_try) 2>&5
26161 ac_status=$?
26162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26163 (exit $ac_status); }; }; then
26164 eval "$as_ac_var=yes"
26165 else
26166 echo "$as_me: failed program was:" >&5
26167 sed 's/^/| /' conftest.$ac_ext >&5
26169 eval "$as_ac_var=no"
26171 rm -f conftest.err conftest.$ac_objext \
26172 conftest$ac_exeext conftest.$ac_ext
26174 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26175 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26176 if test `eval echo '${'$as_ac_var'}'` = yes; then
26177 cat >>confdefs.h <<_ACEOF
26178 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26179 _ACEOF
26182 done
26192 echo "$as_me:$LINENO: checking for log10f declaration" >&5
26193 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
26194 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
26195 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
26196 echo $ECHO_N "(cached) $ECHO_C" >&6
26197 else
26201 ac_ext=cc
26202 ac_cpp='$CXXCPP $CPPFLAGS'
26203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26207 cat >conftest.$ac_ext <<_ACEOF
26208 /* confdefs.h. */
26209 _ACEOF
26210 cat confdefs.h >>conftest.$ac_ext
26211 cat >>conftest.$ac_ext <<_ACEOF
26212 /* end confdefs.h. */
26213 #include <math.h>
26214 #ifdef HAVE_IEEEFP_H
26215 #include <ieeefp.h>
26216 #endif
26219 main ()
26221 log10f(0);
26223 return 0;
26225 _ACEOF
26226 rm -f conftest.$ac_objext
26227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26228 (eval $ac_compile) 2>conftest.er1
26229 ac_status=$?
26230 grep -v '^ *+' conftest.er1 >conftest.err
26231 rm -f conftest.er1
26232 cat conftest.err >&5
26233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26234 (exit $ac_status); } &&
26235 { ac_try='test -z "$ac_cxx_werror_flag"
26236 || test ! -s conftest.err'
26237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26238 (eval $ac_try) 2>&5
26239 ac_status=$?
26240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26241 (exit $ac_status); }; } &&
26242 { ac_try='test -s conftest.$ac_objext'
26243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26244 (eval $ac_try) 2>&5
26245 ac_status=$?
26246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26247 (exit $ac_status); }; }; then
26248 glibcxx_cv_func_log10f_use=yes
26249 else
26250 echo "$as_me: failed program was:" >&5
26251 sed 's/^/| /' conftest.$ac_ext >&5
26253 glibcxx_cv_func_log10f_use=no
26255 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26256 ac_ext=c
26257 ac_cpp='$CPP $CPPFLAGS'
26258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26266 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
26267 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
26269 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
26271 for ac_func in log10f
26273 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26274 echo "$as_me:$LINENO: checking for $ac_func" >&5
26275 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26276 if eval "test \"\${$as_ac_var+set}\" = set"; then
26277 echo $ECHO_N "(cached) $ECHO_C" >&6
26278 else
26279 if test x$gcc_no_link = xyes; then
26280 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26281 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26282 { (exit 1); exit 1; }; }
26284 cat >conftest.$ac_ext <<_ACEOF
26285 /* confdefs.h. */
26286 _ACEOF
26287 cat confdefs.h >>conftest.$ac_ext
26288 cat >>conftest.$ac_ext <<_ACEOF
26289 /* end confdefs.h. */
26290 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26291 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26292 #define $ac_func innocuous_$ac_func
26294 /* System header to define __stub macros and hopefully few prototypes,
26295 which can conflict with char $ac_func (); below.
26296 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26297 <limits.h> exists even on freestanding compilers. */
26299 #ifdef __STDC__
26300 # include <limits.h>
26301 #else
26302 # include <assert.h>
26303 #endif
26305 #undef $ac_func
26307 /* Override any gcc2 internal prototype to avoid an error. */
26308 #ifdef __cplusplus
26309 extern "C"
26311 #endif
26312 /* We use char because int might match the return type of a gcc2
26313 builtin and then its argument prototype would still apply. */
26314 char $ac_func ();
26315 /* The GNU C library defines this for functions which it implements
26316 to always fail with ENOSYS. Some functions are actually named
26317 something starting with __ and the normal name is an alias. */
26318 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26319 choke me
26320 #else
26321 char (*f) () = $ac_func;
26322 #endif
26323 #ifdef __cplusplus
26325 #endif
26328 main ()
26330 return f != $ac_func;
26332 return 0;
26334 _ACEOF
26335 rm -f conftest.$ac_objext conftest$ac_exeext
26336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26337 (eval $ac_link) 2>conftest.er1
26338 ac_status=$?
26339 grep -v '^ *+' conftest.er1 >conftest.err
26340 rm -f conftest.er1
26341 cat conftest.err >&5
26342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26343 (exit $ac_status); } &&
26344 { ac_try='test -z "$ac_c_werror_flag"
26345 || test ! -s conftest.err'
26346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26347 (eval $ac_try) 2>&5
26348 ac_status=$?
26349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26350 (exit $ac_status); }; } &&
26351 { ac_try='test -s conftest$ac_exeext'
26352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26353 (eval $ac_try) 2>&5
26354 ac_status=$?
26355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26356 (exit $ac_status); }; }; then
26357 eval "$as_ac_var=yes"
26358 else
26359 echo "$as_me: failed program was:" >&5
26360 sed 's/^/| /' conftest.$ac_ext >&5
26362 eval "$as_ac_var=no"
26364 rm -f conftest.err conftest.$ac_objext \
26365 conftest$ac_exeext conftest.$ac_ext
26367 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26368 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26369 if test `eval echo '${'$as_ac_var'}'` = yes; then
26370 cat >>confdefs.h <<_ACEOF
26371 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26372 _ACEOF
26375 done
26377 else
26379 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
26380 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
26381 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
26382 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
26383 echo $ECHO_N "(cached) $ECHO_C" >&6
26384 else
26388 ac_ext=cc
26389 ac_cpp='$CXXCPP $CPPFLAGS'
26390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26394 cat >conftest.$ac_ext <<_ACEOF
26395 /* confdefs.h. */
26396 _ACEOF
26397 cat confdefs.h >>conftest.$ac_ext
26398 cat >>conftest.$ac_ext <<_ACEOF
26399 /* end confdefs.h. */
26400 #include <math.h>
26401 #ifdef HAVE_IEEEFP_H
26402 #include <ieeefp.h>
26403 #endif
26406 main ()
26408 _log10f(0);
26410 return 0;
26412 _ACEOF
26413 rm -f conftest.$ac_objext
26414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26415 (eval $ac_compile) 2>conftest.er1
26416 ac_status=$?
26417 grep -v '^ *+' conftest.er1 >conftest.err
26418 rm -f conftest.er1
26419 cat conftest.err >&5
26420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26421 (exit $ac_status); } &&
26422 { ac_try='test -z "$ac_cxx_werror_flag"
26423 || test ! -s conftest.err'
26424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26425 (eval $ac_try) 2>&5
26426 ac_status=$?
26427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26428 (exit $ac_status); }; } &&
26429 { ac_try='test -s conftest.$ac_objext'
26430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26431 (eval $ac_try) 2>&5
26432 ac_status=$?
26433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26434 (exit $ac_status); }; }; then
26435 glibcxx_cv_func__log10f_use=yes
26436 else
26437 echo "$as_me: failed program was:" >&5
26438 sed 's/^/| /' conftest.$ac_ext >&5
26440 glibcxx_cv_func__log10f_use=no
26442 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26443 ac_ext=c
26444 ac_cpp='$CPP $CPPFLAGS'
26445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26453 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
26454 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
26456 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
26458 for ac_func in _log10f
26460 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26461 echo "$as_me:$LINENO: checking for $ac_func" >&5
26462 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26463 if eval "test \"\${$as_ac_var+set}\" = set"; then
26464 echo $ECHO_N "(cached) $ECHO_C" >&6
26465 else
26466 if test x$gcc_no_link = xyes; then
26467 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26468 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26469 { (exit 1); exit 1; }; }
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26478 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26479 #define $ac_func innocuous_$ac_func
26481 /* System header to define __stub macros and hopefully few prototypes,
26482 which can conflict with char $ac_func (); below.
26483 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26484 <limits.h> exists even on freestanding compilers. */
26486 #ifdef __STDC__
26487 # include <limits.h>
26488 #else
26489 # include <assert.h>
26490 #endif
26492 #undef $ac_func
26494 /* Override any gcc2 internal prototype to avoid an error. */
26495 #ifdef __cplusplus
26496 extern "C"
26498 #endif
26499 /* We use char because int might match the return type of a gcc2
26500 builtin and then its argument prototype would still apply. */
26501 char $ac_func ();
26502 /* The GNU C library defines this for functions which it implements
26503 to always fail with ENOSYS. Some functions are actually named
26504 something starting with __ and the normal name is an alias. */
26505 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26506 choke me
26507 #else
26508 char (*f) () = $ac_func;
26509 #endif
26510 #ifdef __cplusplus
26512 #endif
26515 main ()
26517 return f != $ac_func;
26519 return 0;
26521 _ACEOF
26522 rm -f conftest.$ac_objext conftest$ac_exeext
26523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26524 (eval $ac_link) 2>conftest.er1
26525 ac_status=$?
26526 grep -v '^ *+' conftest.er1 >conftest.err
26527 rm -f conftest.er1
26528 cat conftest.err >&5
26529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26530 (exit $ac_status); } &&
26531 { ac_try='test -z "$ac_c_werror_flag"
26532 || test ! -s conftest.err'
26533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26534 (eval $ac_try) 2>&5
26535 ac_status=$?
26536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26537 (exit $ac_status); }; } &&
26538 { ac_try='test -s conftest$ac_exeext'
26539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26540 (eval $ac_try) 2>&5
26541 ac_status=$?
26542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26543 (exit $ac_status); }; }; then
26544 eval "$as_ac_var=yes"
26545 else
26546 echo "$as_me: failed program was:" >&5
26547 sed 's/^/| /' conftest.$ac_ext >&5
26549 eval "$as_ac_var=no"
26551 rm -f conftest.err conftest.$ac_objext \
26552 conftest$ac_exeext conftest.$ac_ext
26554 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26555 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26556 if test `eval echo '${'$as_ac_var'}'` = yes; then
26557 cat >>confdefs.h <<_ACEOF
26558 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26559 _ACEOF
26562 done
26572 echo "$as_me:$LINENO: checking for modff declaration" >&5
26573 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
26574 if test x${glibcxx_cv_func_modff_use+set} != xset; then
26575 if test "${glibcxx_cv_func_modff_use+set}" = set; then
26576 echo $ECHO_N "(cached) $ECHO_C" >&6
26577 else
26581 ac_ext=cc
26582 ac_cpp='$CXXCPP $CPPFLAGS'
26583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26587 cat >conftest.$ac_ext <<_ACEOF
26588 /* confdefs.h. */
26589 _ACEOF
26590 cat confdefs.h >>conftest.$ac_ext
26591 cat >>conftest.$ac_ext <<_ACEOF
26592 /* end confdefs.h. */
26593 #include <math.h>
26595 main ()
26597 modff(0, 0);
26599 return 0;
26601 _ACEOF
26602 rm -f conftest.$ac_objext
26603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26604 (eval $ac_compile) 2>conftest.er1
26605 ac_status=$?
26606 grep -v '^ *+' conftest.er1 >conftest.err
26607 rm -f conftest.er1
26608 cat conftest.err >&5
26609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26610 (exit $ac_status); } &&
26611 { ac_try='test -z "$ac_cxx_werror_flag"
26612 || test ! -s conftest.err'
26613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26614 (eval $ac_try) 2>&5
26615 ac_status=$?
26616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26617 (exit $ac_status); }; } &&
26618 { ac_try='test -s conftest.$ac_objext'
26619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26620 (eval $ac_try) 2>&5
26621 ac_status=$?
26622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26623 (exit $ac_status); }; }; then
26624 glibcxx_cv_func_modff_use=yes
26625 else
26626 echo "$as_me: failed program was:" >&5
26627 sed 's/^/| /' conftest.$ac_ext >&5
26629 glibcxx_cv_func_modff_use=no
26631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26632 ac_ext=c
26633 ac_cpp='$CPP $CPPFLAGS'
26634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26642 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
26643 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
26645 if test x$glibcxx_cv_func_modff_use = x"yes"; then
26647 for ac_func in modff
26649 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26650 echo "$as_me:$LINENO: checking for $ac_func" >&5
26651 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26652 if eval "test \"\${$as_ac_var+set}\" = set"; then
26653 echo $ECHO_N "(cached) $ECHO_C" >&6
26654 else
26655 if test x$gcc_no_link = xyes; then
26656 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26657 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26658 { (exit 1); exit 1; }; }
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26667 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26668 #define $ac_func innocuous_$ac_func
26670 /* System header to define __stub macros and hopefully few prototypes,
26671 which can conflict with char $ac_func (); below.
26672 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26673 <limits.h> exists even on freestanding compilers. */
26675 #ifdef __STDC__
26676 # include <limits.h>
26677 #else
26678 # include <assert.h>
26679 #endif
26681 #undef $ac_func
26683 /* Override any gcc2 internal prototype to avoid an error. */
26684 #ifdef __cplusplus
26685 extern "C"
26687 #endif
26688 /* We use char because int might match the return type of a gcc2
26689 builtin and then its argument prototype would still apply. */
26690 char $ac_func ();
26691 /* The GNU C library defines this for functions which it implements
26692 to always fail with ENOSYS. Some functions are actually named
26693 something starting with __ and the normal name is an alias. */
26694 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26695 choke me
26696 #else
26697 char (*f) () = $ac_func;
26698 #endif
26699 #ifdef __cplusplus
26701 #endif
26704 main ()
26706 return f != $ac_func;
26708 return 0;
26710 _ACEOF
26711 rm -f conftest.$ac_objext conftest$ac_exeext
26712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26713 (eval $ac_link) 2>conftest.er1
26714 ac_status=$?
26715 grep -v '^ *+' conftest.er1 >conftest.err
26716 rm -f conftest.er1
26717 cat conftest.err >&5
26718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26719 (exit $ac_status); } &&
26720 { ac_try='test -z "$ac_c_werror_flag"
26721 || test ! -s conftest.err'
26722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26723 (eval $ac_try) 2>&5
26724 ac_status=$?
26725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26726 (exit $ac_status); }; } &&
26727 { ac_try='test -s conftest$ac_exeext'
26728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26729 (eval $ac_try) 2>&5
26730 ac_status=$?
26731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26732 (exit $ac_status); }; }; then
26733 eval "$as_ac_var=yes"
26734 else
26735 echo "$as_me: failed program was:" >&5
26736 sed 's/^/| /' conftest.$ac_ext >&5
26738 eval "$as_ac_var=no"
26740 rm -f conftest.err conftest.$ac_objext \
26741 conftest$ac_exeext conftest.$ac_ext
26743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26744 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26745 if test `eval echo '${'$as_ac_var'}'` = yes; then
26746 cat >>confdefs.h <<_ACEOF
26747 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26748 _ACEOF
26751 done
26753 else
26755 echo "$as_me:$LINENO: checking for _modff declaration" >&5
26756 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
26757 if test x${glibcxx_cv_func__modff_use+set} != xset; then
26758 if test "${glibcxx_cv_func__modff_use+set}" = set; then
26759 echo $ECHO_N "(cached) $ECHO_C" >&6
26760 else
26764 ac_ext=cc
26765 ac_cpp='$CXXCPP $CPPFLAGS'
26766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26770 cat >conftest.$ac_ext <<_ACEOF
26771 /* confdefs.h. */
26772 _ACEOF
26773 cat confdefs.h >>conftest.$ac_ext
26774 cat >>conftest.$ac_ext <<_ACEOF
26775 /* end confdefs.h. */
26776 #include <math.h>
26778 main ()
26780 _modff(0, 0);
26782 return 0;
26784 _ACEOF
26785 rm -f conftest.$ac_objext
26786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26787 (eval $ac_compile) 2>conftest.er1
26788 ac_status=$?
26789 grep -v '^ *+' conftest.er1 >conftest.err
26790 rm -f conftest.er1
26791 cat conftest.err >&5
26792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26793 (exit $ac_status); } &&
26794 { ac_try='test -z "$ac_cxx_werror_flag"
26795 || test ! -s conftest.err'
26796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26797 (eval $ac_try) 2>&5
26798 ac_status=$?
26799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26800 (exit $ac_status); }; } &&
26801 { ac_try='test -s conftest.$ac_objext'
26802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26803 (eval $ac_try) 2>&5
26804 ac_status=$?
26805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26806 (exit $ac_status); }; }; then
26807 glibcxx_cv_func__modff_use=yes
26808 else
26809 echo "$as_me: failed program was:" >&5
26810 sed 's/^/| /' conftest.$ac_ext >&5
26812 glibcxx_cv_func__modff_use=no
26814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26815 ac_ext=c
26816 ac_cpp='$CPP $CPPFLAGS'
26817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26825 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
26826 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
26828 if test x$glibcxx_cv_func__modff_use = x"yes"; then
26830 for ac_func in _modff
26832 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26833 echo "$as_me:$LINENO: checking for $ac_func" >&5
26834 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26835 if eval "test \"\${$as_ac_var+set}\" = set"; then
26836 echo $ECHO_N "(cached) $ECHO_C" >&6
26837 else
26838 if test x$gcc_no_link = xyes; then
26839 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26840 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26841 { (exit 1); exit 1; }; }
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26850 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26851 #define $ac_func innocuous_$ac_func
26853 /* System header to define __stub macros and hopefully few prototypes,
26854 which can conflict with char $ac_func (); below.
26855 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26856 <limits.h> exists even on freestanding compilers. */
26858 #ifdef __STDC__
26859 # include <limits.h>
26860 #else
26861 # include <assert.h>
26862 #endif
26864 #undef $ac_func
26866 /* Override any gcc2 internal prototype to avoid an error. */
26867 #ifdef __cplusplus
26868 extern "C"
26870 #endif
26871 /* We use char because int might match the return type of a gcc2
26872 builtin and then its argument prototype would still apply. */
26873 char $ac_func ();
26874 /* The GNU C library defines this for functions which it implements
26875 to always fail with ENOSYS. Some functions are actually named
26876 something starting with __ and the normal name is an alias. */
26877 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26878 choke me
26879 #else
26880 char (*f) () = $ac_func;
26881 #endif
26882 #ifdef __cplusplus
26884 #endif
26887 main ()
26889 return f != $ac_func;
26891 return 0;
26893 _ACEOF
26894 rm -f conftest.$ac_objext conftest$ac_exeext
26895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26896 (eval $ac_link) 2>conftest.er1
26897 ac_status=$?
26898 grep -v '^ *+' conftest.er1 >conftest.err
26899 rm -f conftest.er1
26900 cat conftest.err >&5
26901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26902 (exit $ac_status); } &&
26903 { ac_try='test -z "$ac_c_werror_flag"
26904 || test ! -s conftest.err'
26905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26906 (eval $ac_try) 2>&5
26907 ac_status=$?
26908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26909 (exit $ac_status); }; } &&
26910 { ac_try='test -s conftest$ac_exeext'
26911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26912 (eval $ac_try) 2>&5
26913 ac_status=$?
26914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26915 (exit $ac_status); }; }; then
26916 eval "$as_ac_var=yes"
26917 else
26918 echo "$as_me: failed program was:" >&5
26919 sed 's/^/| /' conftest.$ac_ext >&5
26921 eval "$as_ac_var=no"
26923 rm -f conftest.err conftest.$ac_objext \
26924 conftest$ac_exeext conftest.$ac_ext
26926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26927 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26928 if test `eval echo '${'$as_ac_var'}'` = yes; then
26929 cat >>confdefs.h <<_ACEOF
26930 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26931 _ACEOF
26934 done
26944 echo "$as_me:$LINENO: checking for modf declaration" >&5
26945 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
26946 if test x${glibcxx_cv_func_modf_use+set} != xset; then
26947 if test "${glibcxx_cv_func_modf_use+set}" = set; then
26948 echo $ECHO_N "(cached) $ECHO_C" >&6
26949 else
26953 ac_ext=cc
26954 ac_cpp='$CXXCPP $CPPFLAGS'
26955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26959 cat >conftest.$ac_ext <<_ACEOF
26960 /* confdefs.h. */
26961 _ACEOF
26962 cat confdefs.h >>conftest.$ac_ext
26963 cat >>conftest.$ac_ext <<_ACEOF
26964 /* end confdefs.h. */
26965 #include <math.h>
26967 main ()
26969 modf(0, 0);
26971 return 0;
26973 _ACEOF
26974 rm -f conftest.$ac_objext
26975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26976 (eval $ac_compile) 2>conftest.er1
26977 ac_status=$?
26978 grep -v '^ *+' conftest.er1 >conftest.err
26979 rm -f conftest.er1
26980 cat conftest.err >&5
26981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26982 (exit $ac_status); } &&
26983 { ac_try='test -z "$ac_cxx_werror_flag"
26984 || test ! -s conftest.err'
26985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26986 (eval $ac_try) 2>&5
26987 ac_status=$?
26988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26989 (exit $ac_status); }; } &&
26990 { ac_try='test -s conftest.$ac_objext'
26991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26992 (eval $ac_try) 2>&5
26993 ac_status=$?
26994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26995 (exit $ac_status); }; }; then
26996 glibcxx_cv_func_modf_use=yes
26997 else
26998 echo "$as_me: failed program was:" >&5
26999 sed 's/^/| /' conftest.$ac_ext >&5
27001 glibcxx_cv_func_modf_use=no
27003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27004 ac_ext=c
27005 ac_cpp='$CPP $CPPFLAGS'
27006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27014 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
27015 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
27017 if test x$glibcxx_cv_func_modf_use = x"yes"; then
27019 for ac_func in modf
27021 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27022 echo "$as_me:$LINENO: checking for $ac_func" >&5
27023 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27024 if eval "test \"\${$as_ac_var+set}\" = set"; then
27025 echo $ECHO_N "(cached) $ECHO_C" >&6
27026 else
27027 if test x$gcc_no_link = xyes; then
27028 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27029 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27030 { (exit 1); exit 1; }; }
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27039 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27040 #define $ac_func innocuous_$ac_func
27042 /* System header to define __stub macros and hopefully few prototypes,
27043 which can conflict with char $ac_func (); below.
27044 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27045 <limits.h> exists even on freestanding compilers. */
27047 #ifdef __STDC__
27048 # include <limits.h>
27049 #else
27050 # include <assert.h>
27051 #endif
27053 #undef $ac_func
27055 /* Override any gcc2 internal prototype to avoid an error. */
27056 #ifdef __cplusplus
27057 extern "C"
27059 #endif
27060 /* We use char because int might match the return type of a gcc2
27061 builtin and then its argument prototype would still apply. */
27062 char $ac_func ();
27063 /* The GNU C library defines this for functions which it implements
27064 to always fail with ENOSYS. Some functions are actually named
27065 something starting with __ and the normal name is an alias. */
27066 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27067 choke me
27068 #else
27069 char (*f) () = $ac_func;
27070 #endif
27071 #ifdef __cplusplus
27073 #endif
27076 main ()
27078 return f != $ac_func;
27080 return 0;
27082 _ACEOF
27083 rm -f conftest.$ac_objext conftest$ac_exeext
27084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27085 (eval $ac_link) 2>conftest.er1
27086 ac_status=$?
27087 grep -v '^ *+' conftest.er1 >conftest.err
27088 rm -f conftest.er1
27089 cat conftest.err >&5
27090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27091 (exit $ac_status); } &&
27092 { ac_try='test -z "$ac_c_werror_flag"
27093 || test ! -s conftest.err'
27094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27095 (eval $ac_try) 2>&5
27096 ac_status=$?
27097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27098 (exit $ac_status); }; } &&
27099 { ac_try='test -s conftest$ac_exeext'
27100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27101 (eval $ac_try) 2>&5
27102 ac_status=$?
27103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27104 (exit $ac_status); }; }; then
27105 eval "$as_ac_var=yes"
27106 else
27107 echo "$as_me: failed program was:" >&5
27108 sed 's/^/| /' conftest.$ac_ext >&5
27110 eval "$as_ac_var=no"
27112 rm -f conftest.err conftest.$ac_objext \
27113 conftest$ac_exeext conftest.$ac_ext
27115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27116 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27117 if test `eval echo '${'$as_ac_var'}'` = yes; then
27118 cat >>confdefs.h <<_ACEOF
27119 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27120 _ACEOF
27123 done
27125 else
27127 echo "$as_me:$LINENO: checking for _modf declaration" >&5
27128 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
27129 if test x${glibcxx_cv_func__modf_use+set} != xset; then
27130 if test "${glibcxx_cv_func__modf_use+set}" = set; then
27131 echo $ECHO_N "(cached) $ECHO_C" >&6
27132 else
27136 ac_ext=cc
27137 ac_cpp='$CXXCPP $CPPFLAGS'
27138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27142 cat >conftest.$ac_ext <<_ACEOF
27143 /* confdefs.h. */
27144 _ACEOF
27145 cat confdefs.h >>conftest.$ac_ext
27146 cat >>conftest.$ac_ext <<_ACEOF
27147 /* end confdefs.h. */
27148 #include <math.h>
27150 main ()
27152 _modf(0, 0);
27154 return 0;
27156 _ACEOF
27157 rm -f conftest.$ac_objext
27158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27159 (eval $ac_compile) 2>conftest.er1
27160 ac_status=$?
27161 grep -v '^ *+' conftest.er1 >conftest.err
27162 rm -f conftest.er1
27163 cat conftest.err >&5
27164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27165 (exit $ac_status); } &&
27166 { ac_try='test -z "$ac_cxx_werror_flag"
27167 || test ! -s conftest.err'
27168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27169 (eval $ac_try) 2>&5
27170 ac_status=$?
27171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27172 (exit $ac_status); }; } &&
27173 { ac_try='test -s conftest.$ac_objext'
27174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27175 (eval $ac_try) 2>&5
27176 ac_status=$?
27177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27178 (exit $ac_status); }; }; then
27179 glibcxx_cv_func__modf_use=yes
27180 else
27181 echo "$as_me: failed program was:" >&5
27182 sed 's/^/| /' conftest.$ac_ext >&5
27184 glibcxx_cv_func__modf_use=no
27186 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27187 ac_ext=c
27188 ac_cpp='$CPP $CPPFLAGS'
27189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27197 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
27198 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
27200 if test x$glibcxx_cv_func__modf_use = x"yes"; then
27202 for ac_func in _modf
27204 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27205 echo "$as_me:$LINENO: checking for $ac_func" >&5
27206 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27207 if eval "test \"\${$as_ac_var+set}\" = set"; then
27208 echo $ECHO_N "(cached) $ECHO_C" >&6
27209 else
27210 if test x$gcc_no_link = xyes; then
27211 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27212 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27213 { (exit 1); exit 1; }; }
27215 cat >conftest.$ac_ext <<_ACEOF
27216 /* confdefs.h. */
27217 _ACEOF
27218 cat confdefs.h >>conftest.$ac_ext
27219 cat >>conftest.$ac_ext <<_ACEOF
27220 /* end confdefs.h. */
27221 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27222 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27223 #define $ac_func innocuous_$ac_func
27225 /* System header to define __stub macros and hopefully few prototypes,
27226 which can conflict with char $ac_func (); below.
27227 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27228 <limits.h> exists even on freestanding compilers. */
27230 #ifdef __STDC__
27231 # include <limits.h>
27232 #else
27233 # include <assert.h>
27234 #endif
27236 #undef $ac_func
27238 /* Override any gcc2 internal prototype to avoid an error. */
27239 #ifdef __cplusplus
27240 extern "C"
27242 #endif
27243 /* We use char because int might match the return type of a gcc2
27244 builtin and then its argument prototype would still apply. */
27245 char $ac_func ();
27246 /* The GNU C library defines this for functions which it implements
27247 to always fail with ENOSYS. Some functions are actually named
27248 something starting with __ and the normal name is an alias. */
27249 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27250 choke me
27251 #else
27252 char (*f) () = $ac_func;
27253 #endif
27254 #ifdef __cplusplus
27256 #endif
27259 main ()
27261 return f != $ac_func;
27263 return 0;
27265 _ACEOF
27266 rm -f conftest.$ac_objext conftest$ac_exeext
27267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27268 (eval $ac_link) 2>conftest.er1
27269 ac_status=$?
27270 grep -v '^ *+' conftest.er1 >conftest.err
27271 rm -f conftest.er1
27272 cat conftest.err >&5
27273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27274 (exit $ac_status); } &&
27275 { ac_try='test -z "$ac_c_werror_flag"
27276 || test ! -s conftest.err'
27277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27278 (eval $ac_try) 2>&5
27279 ac_status=$?
27280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27281 (exit $ac_status); }; } &&
27282 { ac_try='test -s conftest$ac_exeext'
27283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27284 (eval $ac_try) 2>&5
27285 ac_status=$?
27286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27287 (exit $ac_status); }; }; then
27288 eval "$as_ac_var=yes"
27289 else
27290 echo "$as_me: failed program was:" >&5
27291 sed 's/^/| /' conftest.$ac_ext >&5
27293 eval "$as_ac_var=no"
27295 rm -f conftest.err conftest.$ac_objext \
27296 conftest$ac_exeext conftest.$ac_ext
27298 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27299 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27300 if test `eval echo '${'$as_ac_var'}'` = yes; then
27301 cat >>confdefs.h <<_ACEOF
27302 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27303 _ACEOF
27306 done
27316 echo "$as_me:$LINENO: checking for powf declaration" >&5
27317 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
27318 if test x${glibcxx_cv_func_powf_use+set} != xset; then
27319 if test "${glibcxx_cv_func_powf_use+set}" = set; then
27320 echo $ECHO_N "(cached) $ECHO_C" >&6
27321 else
27325 ac_ext=cc
27326 ac_cpp='$CXXCPP $CPPFLAGS'
27327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27331 cat >conftest.$ac_ext <<_ACEOF
27332 /* confdefs.h. */
27333 _ACEOF
27334 cat confdefs.h >>conftest.$ac_ext
27335 cat >>conftest.$ac_ext <<_ACEOF
27336 /* end confdefs.h. */
27337 #include <math.h>
27339 main ()
27341 powf(0, 0);
27343 return 0;
27345 _ACEOF
27346 rm -f conftest.$ac_objext
27347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27348 (eval $ac_compile) 2>conftest.er1
27349 ac_status=$?
27350 grep -v '^ *+' conftest.er1 >conftest.err
27351 rm -f conftest.er1
27352 cat conftest.err >&5
27353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27354 (exit $ac_status); } &&
27355 { ac_try='test -z "$ac_cxx_werror_flag"
27356 || test ! -s conftest.err'
27357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27358 (eval $ac_try) 2>&5
27359 ac_status=$?
27360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27361 (exit $ac_status); }; } &&
27362 { ac_try='test -s conftest.$ac_objext'
27363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27364 (eval $ac_try) 2>&5
27365 ac_status=$?
27366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27367 (exit $ac_status); }; }; then
27368 glibcxx_cv_func_powf_use=yes
27369 else
27370 echo "$as_me: failed program was:" >&5
27371 sed 's/^/| /' conftest.$ac_ext >&5
27373 glibcxx_cv_func_powf_use=no
27375 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27376 ac_ext=c
27377 ac_cpp='$CPP $CPPFLAGS'
27378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27386 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
27387 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
27389 if test x$glibcxx_cv_func_powf_use = x"yes"; then
27391 for ac_func in powf
27393 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27394 echo "$as_me:$LINENO: checking for $ac_func" >&5
27395 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27396 if eval "test \"\${$as_ac_var+set}\" = set"; then
27397 echo $ECHO_N "(cached) $ECHO_C" >&6
27398 else
27399 if test x$gcc_no_link = xyes; then
27400 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27401 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27402 { (exit 1); exit 1; }; }
27404 cat >conftest.$ac_ext <<_ACEOF
27405 /* confdefs.h. */
27406 _ACEOF
27407 cat confdefs.h >>conftest.$ac_ext
27408 cat >>conftest.$ac_ext <<_ACEOF
27409 /* end confdefs.h. */
27410 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27411 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27412 #define $ac_func innocuous_$ac_func
27414 /* System header to define __stub macros and hopefully few prototypes,
27415 which can conflict with char $ac_func (); below.
27416 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27417 <limits.h> exists even on freestanding compilers. */
27419 #ifdef __STDC__
27420 # include <limits.h>
27421 #else
27422 # include <assert.h>
27423 #endif
27425 #undef $ac_func
27427 /* Override any gcc2 internal prototype to avoid an error. */
27428 #ifdef __cplusplus
27429 extern "C"
27431 #endif
27432 /* We use char because int might match the return type of a gcc2
27433 builtin and then its argument prototype would still apply. */
27434 char $ac_func ();
27435 /* The GNU C library defines this for functions which it implements
27436 to always fail with ENOSYS. Some functions are actually named
27437 something starting with __ and the normal name is an alias. */
27438 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27439 choke me
27440 #else
27441 char (*f) () = $ac_func;
27442 #endif
27443 #ifdef __cplusplus
27445 #endif
27448 main ()
27450 return f != $ac_func;
27452 return 0;
27454 _ACEOF
27455 rm -f conftest.$ac_objext conftest$ac_exeext
27456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27457 (eval $ac_link) 2>conftest.er1
27458 ac_status=$?
27459 grep -v '^ *+' conftest.er1 >conftest.err
27460 rm -f conftest.er1
27461 cat conftest.err >&5
27462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27463 (exit $ac_status); } &&
27464 { ac_try='test -z "$ac_c_werror_flag"
27465 || test ! -s conftest.err'
27466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27467 (eval $ac_try) 2>&5
27468 ac_status=$?
27469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27470 (exit $ac_status); }; } &&
27471 { ac_try='test -s conftest$ac_exeext'
27472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27473 (eval $ac_try) 2>&5
27474 ac_status=$?
27475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27476 (exit $ac_status); }; }; then
27477 eval "$as_ac_var=yes"
27478 else
27479 echo "$as_me: failed program was:" >&5
27480 sed 's/^/| /' conftest.$ac_ext >&5
27482 eval "$as_ac_var=no"
27484 rm -f conftest.err conftest.$ac_objext \
27485 conftest$ac_exeext conftest.$ac_ext
27487 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27488 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27489 if test `eval echo '${'$as_ac_var'}'` = yes; then
27490 cat >>confdefs.h <<_ACEOF
27491 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27492 _ACEOF
27495 done
27497 else
27499 echo "$as_me:$LINENO: checking for _powf declaration" >&5
27500 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
27501 if test x${glibcxx_cv_func__powf_use+set} != xset; then
27502 if test "${glibcxx_cv_func__powf_use+set}" = set; then
27503 echo $ECHO_N "(cached) $ECHO_C" >&6
27504 else
27508 ac_ext=cc
27509 ac_cpp='$CXXCPP $CPPFLAGS'
27510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27514 cat >conftest.$ac_ext <<_ACEOF
27515 /* confdefs.h. */
27516 _ACEOF
27517 cat confdefs.h >>conftest.$ac_ext
27518 cat >>conftest.$ac_ext <<_ACEOF
27519 /* end confdefs.h. */
27520 #include <math.h>
27522 main ()
27524 _powf(0, 0);
27526 return 0;
27528 _ACEOF
27529 rm -f conftest.$ac_objext
27530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27531 (eval $ac_compile) 2>conftest.er1
27532 ac_status=$?
27533 grep -v '^ *+' conftest.er1 >conftest.err
27534 rm -f conftest.er1
27535 cat conftest.err >&5
27536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27537 (exit $ac_status); } &&
27538 { ac_try='test -z "$ac_cxx_werror_flag"
27539 || test ! -s conftest.err'
27540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27541 (eval $ac_try) 2>&5
27542 ac_status=$?
27543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27544 (exit $ac_status); }; } &&
27545 { ac_try='test -s conftest.$ac_objext'
27546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27547 (eval $ac_try) 2>&5
27548 ac_status=$?
27549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27550 (exit $ac_status); }; }; then
27551 glibcxx_cv_func__powf_use=yes
27552 else
27553 echo "$as_me: failed program was:" >&5
27554 sed 's/^/| /' conftest.$ac_ext >&5
27556 glibcxx_cv_func__powf_use=no
27558 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27559 ac_ext=c
27560 ac_cpp='$CPP $CPPFLAGS'
27561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27569 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
27570 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
27572 if test x$glibcxx_cv_func__powf_use = x"yes"; then
27574 for ac_func in _powf
27576 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27577 echo "$as_me:$LINENO: checking for $ac_func" >&5
27578 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27579 if eval "test \"\${$as_ac_var+set}\" = set"; then
27580 echo $ECHO_N "(cached) $ECHO_C" >&6
27581 else
27582 if test x$gcc_no_link = xyes; then
27583 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27584 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27585 { (exit 1); exit 1; }; }
27587 cat >conftest.$ac_ext <<_ACEOF
27588 /* confdefs.h. */
27589 _ACEOF
27590 cat confdefs.h >>conftest.$ac_ext
27591 cat >>conftest.$ac_ext <<_ACEOF
27592 /* end confdefs.h. */
27593 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27594 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27595 #define $ac_func innocuous_$ac_func
27597 /* System header to define __stub macros and hopefully few prototypes,
27598 which can conflict with char $ac_func (); below.
27599 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27600 <limits.h> exists even on freestanding compilers. */
27602 #ifdef __STDC__
27603 # include <limits.h>
27604 #else
27605 # include <assert.h>
27606 #endif
27608 #undef $ac_func
27610 /* Override any gcc2 internal prototype to avoid an error. */
27611 #ifdef __cplusplus
27612 extern "C"
27614 #endif
27615 /* We use char because int might match the return type of a gcc2
27616 builtin and then its argument prototype would still apply. */
27617 char $ac_func ();
27618 /* The GNU C library defines this for functions which it implements
27619 to always fail with ENOSYS. Some functions are actually named
27620 something starting with __ and the normal name is an alias. */
27621 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27622 choke me
27623 #else
27624 char (*f) () = $ac_func;
27625 #endif
27626 #ifdef __cplusplus
27628 #endif
27631 main ()
27633 return f != $ac_func;
27635 return 0;
27637 _ACEOF
27638 rm -f conftest.$ac_objext conftest$ac_exeext
27639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27640 (eval $ac_link) 2>conftest.er1
27641 ac_status=$?
27642 grep -v '^ *+' conftest.er1 >conftest.err
27643 rm -f conftest.er1
27644 cat conftest.err >&5
27645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27646 (exit $ac_status); } &&
27647 { ac_try='test -z "$ac_c_werror_flag"
27648 || test ! -s conftest.err'
27649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27650 (eval $ac_try) 2>&5
27651 ac_status=$?
27652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27653 (exit $ac_status); }; } &&
27654 { ac_try='test -s conftest$ac_exeext'
27655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27656 (eval $ac_try) 2>&5
27657 ac_status=$?
27658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27659 (exit $ac_status); }; }; then
27660 eval "$as_ac_var=yes"
27661 else
27662 echo "$as_me: failed program was:" >&5
27663 sed 's/^/| /' conftest.$ac_ext >&5
27665 eval "$as_ac_var=no"
27667 rm -f conftest.err conftest.$ac_objext \
27668 conftest$ac_exeext conftest.$ac_ext
27670 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27671 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27672 if test `eval echo '${'$as_ac_var'}'` = yes; then
27673 cat >>confdefs.h <<_ACEOF
27674 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27675 _ACEOF
27678 done
27688 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
27689 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
27690 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
27691 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
27692 echo $ECHO_N "(cached) $ECHO_C" >&6
27693 else
27697 ac_ext=cc
27698 ac_cpp='$CXXCPP $CPPFLAGS'
27699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27703 cat >conftest.$ac_ext <<_ACEOF
27704 /* confdefs.h. */
27705 _ACEOF
27706 cat confdefs.h >>conftest.$ac_ext
27707 cat >>conftest.$ac_ext <<_ACEOF
27708 /* end confdefs.h. */
27709 #include <math.h>
27710 #ifdef HAVE_IEEEFP_H
27711 #include <ieeefp.h>
27712 #endif
27715 main ()
27717 sqrtf(0);
27719 return 0;
27721 _ACEOF
27722 rm -f conftest.$ac_objext
27723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27724 (eval $ac_compile) 2>conftest.er1
27725 ac_status=$?
27726 grep -v '^ *+' conftest.er1 >conftest.err
27727 rm -f conftest.er1
27728 cat conftest.err >&5
27729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27730 (exit $ac_status); } &&
27731 { ac_try='test -z "$ac_cxx_werror_flag"
27732 || test ! -s conftest.err'
27733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27734 (eval $ac_try) 2>&5
27735 ac_status=$?
27736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27737 (exit $ac_status); }; } &&
27738 { ac_try='test -s conftest.$ac_objext'
27739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27740 (eval $ac_try) 2>&5
27741 ac_status=$?
27742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27743 (exit $ac_status); }; }; then
27744 glibcxx_cv_func_sqrtf_use=yes
27745 else
27746 echo "$as_me: failed program was:" >&5
27747 sed 's/^/| /' conftest.$ac_ext >&5
27749 glibcxx_cv_func_sqrtf_use=no
27751 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27752 ac_ext=c
27753 ac_cpp='$CPP $CPPFLAGS'
27754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27762 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
27763 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
27765 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
27767 for ac_func in sqrtf
27769 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27770 echo "$as_me:$LINENO: checking for $ac_func" >&5
27771 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27772 if eval "test \"\${$as_ac_var+set}\" = set"; then
27773 echo $ECHO_N "(cached) $ECHO_C" >&6
27774 else
27775 if test x$gcc_no_link = xyes; then
27776 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27777 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27778 { (exit 1); exit 1; }; }
27780 cat >conftest.$ac_ext <<_ACEOF
27781 /* confdefs.h. */
27782 _ACEOF
27783 cat confdefs.h >>conftest.$ac_ext
27784 cat >>conftest.$ac_ext <<_ACEOF
27785 /* end confdefs.h. */
27786 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27787 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27788 #define $ac_func innocuous_$ac_func
27790 /* System header to define __stub macros and hopefully few prototypes,
27791 which can conflict with char $ac_func (); below.
27792 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27793 <limits.h> exists even on freestanding compilers. */
27795 #ifdef __STDC__
27796 # include <limits.h>
27797 #else
27798 # include <assert.h>
27799 #endif
27801 #undef $ac_func
27803 /* Override any gcc2 internal prototype to avoid an error. */
27804 #ifdef __cplusplus
27805 extern "C"
27807 #endif
27808 /* We use char because int might match the return type of a gcc2
27809 builtin and then its argument prototype would still apply. */
27810 char $ac_func ();
27811 /* The GNU C library defines this for functions which it implements
27812 to always fail with ENOSYS. Some functions are actually named
27813 something starting with __ and the normal name is an alias. */
27814 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27815 choke me
27816 #else
27817 char (*f) () = $ac_func;
27818 #endif
27819 #ifdef __cplusplus
27821 #endif
27824 main ()
27826 return f != $ac_func;
27828 return 0;
27830 _ACEOF
27831 rm -f conftest.$ac_objext conftest$ac_exeext
27832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27833 (eval $ac_link) 2>conftest.er1
27834 ac_status=$?
27835 grep -v '^ *+' conftest.er1 >conftest.err
27836 rm -f conftest.er1
27837 cat conftest.err >&5
27838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27839 (exit $ac_status); } &&
27840 { ac_try='test -z "$ac_c_werror_flag"
27841 || test ! -s conftest.err'
27842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27843 (eval $ac_try) 2>&5
27844 ac_status=$?
27845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27846 (exit $ac_status); }; } &&
27847 { ac_try='test -s conftest$ac_exeext'
27848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27849 (eval $ac_try) 2>&5
27850 ac_status=$?
27851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27852 (exit $ac_status); }; }; then
27853 eval "$as_ac_var=yes"
27854 else
27855 echo "$as_me: failed program was:" >&5
27856 sed 's/^/| /' conftest.$ac_ext >&5
27858 eval "$as_ac_var=no"
27860 rm -f conftest.err conftest.$ac_objext \
27861 conftest$ac_exeext conftest.$ac_ext
27863 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27864 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27865 if test `eval echo '${'$as_ac_var'}'` = yes; then
27866 cat >>confdefs.h <<_ACEOF
27867 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27868 _ACEOF
27871 done
27873 else
27875 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
27876 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
27877 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
27878 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
27879 echo $ECHO_N "(cached) $ECHO_C" >&6
27880 else
27884 ac_ext=cc
27885 ac_cpp='$CXXCPP $CPPFLAGS'
27886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27890 cat >conftest.$ac_ext <<_ACEOF
27891 /* confdefs.h. */
27892 _ACEOF
27893 cat confdefs.h >>conftest.$ac_ext
27894 cat >>conftest.$ac_ext <<_ACEOF
27895 /* end confdefs.h. */
27896 #include <math.h>
27897 #ifdef HAVE_IEEEFP_H
27898 #include <ieeefp.h>
27899 #endif
27902 main ()
27904 _sqrtf(0);
27906 return 0;
27908 _ACEOF
27909 rm -f conftest.$ac_objext
27910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27911 (eval $ac_compile) 2>conftest.er1
27912 ac_status=$?
27913 grep -v '^ *+' conftest.er1 >conftest.err
27914 rm -f conftest.er1
27915 cat conftest.err >&5
27916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27917 (exit $ac_status); } &&
27918 { ac_try='test -z "$ac_cxx_werror_flag"
27919 || test ! -s conftest.err'
27920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27921 (eval $ac_try) 2>&5
27922 ac_status=$?
27923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27924 (exit $ac_status); }; } &&
27925 { ac_try='test -s conftest.$ac_objext'
27926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27927 (eval $ac_try) 2>&5
27928 ac_status=$?
27929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27930 (exit $ac_status); }; }; then
27931 glibcxx_cv_func__sqrtf_use=yes
27932 else
27933 echo "$as_me: failed program was:" >&5
27934 sed 's/^/| /' conftest.$ac_ext >&5
27936 glibcxx_cv_func__sqrtf_use=no
27938 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27939 ac_ext=c
27940 ac_cpp='$CPP $CPPFLAGS'
27941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27949 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
27950 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
27952 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
27954 for ac_func in _sqrtf
27956 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27957 echo "$as_me:$LINENO: checking for $ac_func" >&5
27958 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27959 if eval "test \"\${$as_ac_var+set}\" = set"; then
27960 echo $ECHO_N "(cached) $ECHO_C" >&6
27961 else
27962 if test x$gcc_no_link = xyes; then
27963 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27964 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27965 { (exit 1); exit 1; }; }
27967 cat >conftest.$ac_ext <<_ACEOF
27968 /* confdefs.h. */
27969 _ACEOF
27970 cat confdefs.h >>conftest.$ac_ext
27971 cat >>conftest.$ac_ext <<_ACEOF
27972 /* end confdefs.h. */
27973 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27974 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27975 #define $ac_func innocuous_$ac_func
27977 /* System header to define __stub macros and hopefully few prototypes,
27978 which can conflict with char $ac_func (); below.
27979 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27980 <limits.h> exists even on freestanding compilers. */
27982 #ifdef __STDC__
27983 # include <limits.h>
27984 #else
27985 # include <assert.h>
27986 #endif
27988 #undef $ac_func
27990 /* Override any gcc2 internal prototype to avoid an error. */
27991 #ifdef __cplusplus
27992 extern "C"
27994 #endif
27995 /* We use char because int might match the return type of a gcc2
27996 builtin and then its argument prototype would still apply. */
27997 char $ac_func ();
27998 /* The GNU C library defines this for functions which it implements
27999 to always fail with ENOSYS. Some functions are actually named
28000 something starting with __ and the normal name is an alias. */
28001 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28002 choke me
28003 #else
28004 char (*f) () = $ac_func;
28005 #endif
28006 #ifdef __cplusplus
28008 #endif
28011 main ()
28013 return f != $ac_func;
28015 return 0;
28017 _ACEOF
28018 rm -f conftest.$ac_objext conftest$ac_exeext
28019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28020 (eval $ac_link) 2>conftest.er1
28021 ac_status=$?
28022 grep -v '^ *+' conftest.er1 >conftest.err
28023 rm -f conftest.er1
28024 cat conftest.err >&5
28025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28026 (exit $ac_status); } &&
28027 { ac_try='test -z "$ac_c_werror_flag"
28028 || test ! -s conftest.err'
28029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28030 (eval $ac_try) 2>&5
28031 ac_status=$?
28032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28033 (exit $ac_status); }; } &&
28034 { ac_try='test -s conftest$ac_exeext'
28035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28036 (eval $ac_try) 2>&5
28037 ac_status=$?
28038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28039 (exit $ac_status); }; }; then
28040 eval "$as_ac_var=yes"
28041 else
28042 echo "$as_me: failed program was:" >&5
28043 sed 's/^/| /' conftest.$ac_ext >&5
28045 eval "$as_ac_var=no"
28047 rm -f conftest.err conftest.$ac_objext \
28048 conftest$ac_exeext conftest.$ac_ext
28050 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28051 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28052 if test `eval echo '${'$as_ac_var'}'` = yes; then
28053 cat >>confdefs.h <<_ACEOF
28054 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28055 _ACEOF
28058 done
28068 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
28069 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
28070 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
28071 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
28072 echo $ECHO_N "(cached) $ECHO_C" >&6
28073 else
28077 ac_ext=cc
28078 ac_cpp='$CXXCPP $CPPFLAGS'
28079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28083 cat >conftest.$ac_ext <<_ACEOF
28084 /* confdefs.h. */
28085 _ACEOF
28086 cat confdefs.h >>conftest.$ac_ext
28087 cat >>conftest.$ac_ext <<_ACEOF
28088 /* end confdefs.h. */
28089 #include <math.h>
28091 main ()
28093 sincosf(0, 0, 0);
28095 return 0;
28097 _ACEOF
28098 rm -f conftest.$ac_objext
28099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28100 (eval $ac_compile) 2>conftest.er1
28101 ac_status=$?
28102 grep -v '^ *+' conftest.er1 >conftest.err
28103 rm -f conftest.er1
28104 cat conftest.err >&5
28105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28106 (exit $ac_status); } &&
28107 { ac_try='test -z "$ac_cxx_werror_flag"
28108 || test ! -s conftest.err'
28109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28110 (eval $ac_try) 2>&5
28111 ac_status=$?
28112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28113 (exit $ac_status); }; } &&
28114 { ac_try='test -s conftest.$ac_objext'
28115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28116 (eval $ac_try) 2>&5
28117 ac_status=$?
28118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28119 (exit $ac_status); }; }; then
28120 glibcxx_cv_func_sincosf_use=yes
28121 else
28122 echo "$as_me: failed program was:" >&5
28123 sed 's/^/| /' conftest.$ac_ext >&5
28125 glibcxx_cv_func_sincosf_use=no
28127 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28128 ac_ext=c
28129 ac_cpp='$CPP $CPPFLAGS'
28130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28138 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
28139 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
28141 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
28143 for ac_func in sincosf
28145 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28146 echo "$as_me:$LINENO: checking for $ac_func" >&5
28147 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28148 if eval "test \"\${$as_ac_var+set}\" = set"; then
28149 echo $ECHO_N "(cached) $ECHO_C" >&6
28150 else
28151 if test x$gcc_no_link = xyes; then
28152 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28153 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28154 { (exit 1); exit 1; }; }
28156 cat >conftest.$ac_ext <<_ACEOF
28157 /* confdefs.h. */
28158 _ACEOF
28159 cat confdefs.h >>conftest.$ac_ext
28160 cat >>conftest.$ac_ext <<_ACEOF
28161 /* end confdefs.h. */
28162 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28163 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28164 #define $ac_func innocuous_$ac_func
28166 /* System header to define __stub macros and hopefully few prototypes,
28167 which can conflict with char $ac_func (); below.
28168 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28169 <limits.h> exists even on freestanding compilers. */
28171 #ifdef __STDC__
28172 # include <limits.h>
28173 #else
28174 # include <assert.h>
28175 #endif
28177 #undef $ac_func
28179 /* Override any gcc2 internal prototype to avoid an error. */
28180 #ifdef __cplusplus
28181 extern "C"
28183 #endif
28184 /* We use char because int might match the return type of a gcc2
28185 builtin and then its argument prototype would still apply. */
28186 char $ac_func ();
28187 /* The GNU C library defines this for functions which it implements
28188 to always fail with ENOSYS. Some functions are actually named
28189 something starting with __ and the normal name is an alias. */
28190 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28191 choke me
28192 #else
28193 char (*f) () = $ac_func;
28194 #endif
28195 #ifdef __cplusplus
28197 #endif
28200 main ()
28202 return f != $ac_func;
28204 return 0;
28206 _ACEOF
28207 rm -f conftest.$ac_objext conftest$ac_exeext
28208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28209 (eval $ac_link) 2>conftest.er1
28210 ac_status=$?
28211 grep -v '^ *+' conftest.er1 >conftest.err
28212 rm -f conftest.er1
28213 cat conftest.err >&5
28214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28215 (exit $ac_status); } &&
28216 { ac_try='test -z "$ac_c_werror_flag"
28217 || test ! -s conftest.err'
28218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28219 (eval $ac_try) 2>&5
28220 ac_status=$?
28221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28222 (exit $ac_status); }; } &&
28223 { ac_try='test -s conftest$ac_exeext'
28224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28225 (eval $ac_try) 2>&5
28226 ac_status=$?
28227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28228 (exit $ac_status); }; }; then
28229 eval "$as_ac_var=yes"
28230 else
28231 echo "$as_me: failed program was:" >&5
28232 sed 's/^/| /' conftest.$ac_ext >&5
28234 eval "$as_ac_var=no"
28236 rm -f conftest.err conftest.$ac_objext \
28237 conftest$ac_exeext conftest.$ac_ext
28239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28240 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28241 if test `eval echo '${'$as_ac_var'}'` = yes; then
28242 cat >>confdefs.h <<_ACEOF
28243 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28244 _ACEOF
28247 done
28249 else
28251 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
28252 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
28253 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
28254 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
28255 echo $ECHO_N "(cached) $ECHO_C" >&6
28256 else
28260 ac_ext=cc
28261 ac_cpp='$CXXCPP $CPPFLAGS'
28262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28266 cat >conftest.$ac_ext <<_ACEOF
28267 /* confdefs.h. */
28268 _ACEOF
28269 cat confdefs.h >>conftest.$ac_ext
28270 cat >>conftest.$ac_ext <<_ACEOF
28271 /* end confdefs.h. */
28272 #include <math.h>
28274 main ()
28276 _sincosf(0, 0, 0);
28278 return 0;
28280 _ACEOF
28281 rm -f conftest.$ac_objext
28282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28283 (eval $ac_compile) 2>conftest.er1
28284 ac_status=$?
28285 grep -v '^ *+' conftest.er1 >conftest.err
28286 rm -f conftest.er1
28287 cat conftest.err >&5
28288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28289 (exit $ac_status); } &&
28290 { ac_try='test -z "$ac_cxx_werror_flag"
28291 || test ! -s conftest.err'
28292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28293 (eval $ac_try) 2>&5
28294 ac_status=$?
28295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28296 (exit $ac_status); }; } &&
28297 { ac_try='test -s conftest.$ac_objext'
28298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28299 (eval $ac_try) 2>&5
28300 ac_status=$?
28301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28302 (exit $ac_status); }; }; then
28303 glibcxx_cv_func__sincosf_use=yes
28304 else
28305 echo "$as_me: failed program was:" >&5
28306 sed 's/^/| /' conftest.$ac_ext >&5
28308 glibcxx_cv_func__sincosf_use=no
28310 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28311 ac_ext=c
28312 ac_cpp='$CPP $CPPFLAGS'
28313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28321 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
28322 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
28324 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
28326 for ac_func in _sincosf
28328 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28329 echo "$as_me:$LINENO: checking for $ac_func" >&5
28330 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28331 if eval "test \"\${$as_ac_var+set}\" = set"; then
28332 echo $ECHO_N "(cached) $ECHO_C" >&6
28333 else
28334 if test x$gcc_no_link = xyes; then
28335 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28336 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28337 { (exit 1); exit 1; }; }
28339 cat >conftest.$ac_ext <<_ACEOF
28340 /* confdefs.h. */
28341 _ACEOF
28342 cat confdefs.h >>conftest.$ac_ext
28343 cat >>conftest.$ac_ext <<_ACEOF
28344 /* end confdefs.h. */
28345 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28346 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28347 #define $ac_func innocuous_$ac_func
28349 /* System header to define __stub macros and hopefully few prototypes,
28350 which can conflict with char $ac_func (); below.
28351 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28352 <limits.h> exists even on freestanding compilers. */
28354 #ifdef __STDC__
28355 # include <limits.h>
28356 #else
28357 # include <assert.h>
28358 #endif
28360 #undef $ac_func
28362 /* Override any gcc2 internal prototype to avoid an error. */
28363 #ifdef __cplusplus
28364 extern "C"
28366 #endif
28367 /* We use char because int might match the return type of a gcc2
28368 builtin and then its argument prototype would still apply. */
28369 char $ac_func ();
28370 /* The GNU C library defines this for functions which it implements
28371 to always fail with ENOSYS. Some functions are actually named
28372 something starting with __ and the normal name is an alias. */
28373 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28374 choke me
28375 #else
28376 char (*f) () = $ac_func;
28377 #endif
28378 #ifdef __cplusplus
28380 #endif
28383 main ()
28385 return f != $ac_func;
28387 return 0;
28389 _ACEOF
28390 rm -f conftest.$ac_objext conftest$ac_exeext
28391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28392 (eval $ac_link) 2>conftest.er1
28393 ac_status=$?
28394 grep -v '^ *+' conftest.er1 >conftest.err
28395 rm -f conftest.er1
28396 cat conftest.err >&5
28397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28398 (exit $ac_status); } &&
28399 { ac_try='test -z "$ac_c_werror_flag"
28400 || test ! -s conftest.err'
28401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28402 (eval $ac_try) 2>&5
28403 ac_status=$?
28404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28405 (exit $ac_status); }; } &&
28406 { ac_try='test -s conftest$ac_exeext'
28407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28408 (eval $ac_try) 2>&5
28409 ac_status=$?
28410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28411 (exit $ac_status); }; }; then
28412 eval "$as_ac_var=yes"
28413 else
28414 echo "$as_me: failed program was:" >&5
28415 sed 's/^/| /' conftest.$ac_ext >&5
28417 eval "$as_ac_var=no"
28419 rm -f conftest.err conftest.$ac_objext \
28420 conftest$ac_exeext conftest.$ac_ext
28422 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28423 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28424 if test `eval echo '${'$as_ac_var'}'` = yes; then
28425 cat >>confdefs.h <<_ACEOF
28426 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28427 _ACEOF
28430 done
28440 echo "$as_me:$LINENO: checking for finitef declaration" >&5
28441 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
28442 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
28443 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
28444 echo $ECHO_N "(cached) $ECHO_C" >&6
28445 else
28449 ac_ext=cc
28450 ac_cpp='$CXXCPP $CPPFLAGS'
28451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28455 cat >conftest.$ac_ext <<_ACEOF
28456 /* confdefs.h. */
28457 _ACEOF
28458 cat confdefs.h >>conftest.$ac_ext
28459 cat >>conftest.$ac_ext <<_ACEOF
28460 /* end confdefs.h. */
28461 #include <math.h>
28462 #ifdef HAVE_IEEEFP_H
28463 #include <ieeefp.h>
28464 #endif
28467 main ()
28469 finitef(0);
28471 return 0;
28473 _ACEOF
28474 rm -f conftest.$ac_objext
28475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28476 (eval $ac_compile) 2>conftest.er1
28477 ac_status=$?
28478 grep -v '^ *+' conftest.er1 >conftest.err
28479 rm -f conftest.er1
28480 cat conftest.err >&5
28481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28482 (exit $ac_status); } &&
28483 { ac_try='test -z "$ac_cxx_werror_flag"
28484 || test ! -s conftest.err'
28485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28486 (eval $ac_try) 2>&5
28487 ac_status=$?
28488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28489 (exit $ac_status); }; } &&
28490 { ac_try='test -s conftest.$ac_objext'
28491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28492 (eval $ac_try) 2>&5
28493 ac_status=$?
28494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28495 (exit $ac_status); }; }; then
28496 glibcxx_cv_func_finitef_use=yes
28497 else
28498 echo "$as_me: failed program was:" >&5
28499 sed 's/^/| /' conftest.$ac_ext >&5
28501 glibcxx_cv_func_finitef_use=no
28503 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28504 ac_ext=c
28505 ac_cpp='$CPP $CPPFLAGS'
28506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28514 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
28515 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
28517 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
28519 for ac_func in finitef
28521 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28522 echo "$as_me:$LINENO: checking for $ac_func" >&5
28523 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28524 if eval "test \"\${$as_ac_var+set}\" = set"; then
28525 echo $ECHO_N "(cached) $ECHO_C" >&6
28526 else
28527 if test x$gcc_no_link = xyes; then
28528 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28529 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28530 { (exit 1); exit 1; }; }
28532 cat >conftest.$ac_ext <<_ACEOF
28533 /* confdefs.h. */
28534 _ACEOF
28535 cat confdefs.h >>conftest.$ac_ext
28536 cat >>conftest.$ac_ext <<_ACEOF
28537 /* end confdefs.h. */
28538 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28539 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28540 #define $ac_func innocuous_$ac_func
28542 /* System header to define __stub macros and hopefully few prototypes,
28543 which can conflict with char $ac_func (); below.
28544 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28545 <limits.h> exists even on freestanding compilers. */
28547 #ifdef __STDC__
28548 # include <limits.h>
28549 #else
28550 # include <assert.h>
28551 #endif
28553 #undef $ac_func
28555 /* Override any gcc2 internal prototype to avoid an error. */
28556 #ifdef __cplusplus
28557 extern "C"
28559 #endif
28560 /* We use char because int might match the return type of a gcc2
28561 builtin and then its argument prototype would still apply. */
28562 char $ac_func ();
28563 /* The GNU C library defines this for functions which it implements
28564 to always fail with ENOSYS. Some functions are actually named
28565 something starting with __ and the normal name is an alias. */
28566 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28567 choke me
28568 #else
28569 char (*f) () = $ac_func;
28570 #endif
28571 #ifdef __cplusplus
28573 #endif
28576 main ()
28578 return f != $ac_func;
28580 return 0;
28582 _ACEOF
28583 rm -f conftest.$ac_objext conftest$ac_exeext
28584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28585 (eval $ac_link) 2>conftest.er1
28586 ac_status=$?
28587 grep -v '^ *+' conftest.er1 >conftest.err
28588 rm -f conftest.er1
28589 cat conftest.err >&5
28590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28591 (exit $ac_status); } &&
28592 { ac_try='test -z "$ac_c_werror_flag"
28593 || test ! -s conftest.err'
28594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28595 (eval $ac_try) 2>&5
28596 ac_status=$?
28597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28598 (exit $ac_status); }; } &&
28599 { ac_try='test -s conftest$ac_exeext'
28600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28601 (eval $ac_try) 2>&5
28602 ac_status=$?
28603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28604 (exit $ac_status); }; }; then
28605 eval "$as_ac_var=yes"
28606 else
28607 echo "$as_me: failed program was:" >&5
28608 sed 's/^/| /' conftest.$ac_ext >&5
28610 eval "$as_ac_var=no"
28612 rm -f conftest.err conftest.$ac_objext \
28613 conftest$ac_exeext conftest.$ac_ext
28615 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28616 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28617 if test `eval echo '${'$as_ac_var'}'` = yes; then
28618 cat >>confdefs.h <<_ACEOF
28619 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28620 _ACEOF
28623 done
28625 else
28627 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
28628 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
28629 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
28630 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
28631 echo $ECHO_N "(cached) $ECHO_C" >&6
28632 else
28636 ac_ext=cc
28637 ac_cpp='$CXXCPP $CPPFLAGS'
28638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28642 cat >conftest.$ac_ext <<_ACEOF
28643 /* confdefs.h. */
28644 _ACEOF
28645 cat confdefs.h >>conftest.$ac_ext
28646 cat >>conftest.$ac_ext <<_ACEOF
28647 /* end confdefs.h. */
28648 #include <math.h>
28649 #ifdef HAVE_IEEEFP_H
28650 #include <ieeefp.h>
28651 #endif
28654 main ()
28656 _finitef(0);
28658 return 0;
28660 _ACEOF
28661 rm -f conftest.$ac_objext
28662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28663 (eval $ac_compile) 2>conftest.er1
28664 ac_status=$?
28665 grep -v '^ *+' conftest.er1 >conftest.err
28666 rm -f conftest.er1
28667 cat conftest.err >&5
28668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28669 (exit $ac_status); } &&
28670 { ac_try='test -z "$ac_cxx_werror_flag"
28671 || test ! -s conftest.err'
28672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28673 (eval $ac_try) 2>&5
28674 ac_status=$?
28675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28676 (exit $ac_status); }; } &&
28677 { ac_try='test -s conftest.$ac_objext'
28678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28679 (eval $ac_try) 2>&5
28680 ac_status=$?
28681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28682 (exit $ac_status); }; }; then
28683 glibcxx_cv_func__finitef_use=yes
28684 else
28685 echo "$as_me: failed program was:" >&5
28686 sed 's/^/| /' conftest.$ac_ext >&5
28688 glibcxx_cv_func__finitef_use=no
28690 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28691 ac_ext=c
28692 ac_cpp='$CPP $CPPFLAGS'
28693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28701 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
28702 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
28704 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
28706 for ac_func in _finitef
28708 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28709 echo "$as_me:$LINENO: checking for $ac_func" >&5
28710 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28711 if eval "test \"\${$as_ac_var+set}\" = set"; then
28712 echo $ECHO_N "(cached) $ECHO_C" >&6
28713 else
28714 if test x$gcc_no_link = xyes; then
28715 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28716 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28717 { (exit 1); exit 1; }; }
28719 cat >conftest.$ac_ext <<_ACEOF
28720 /* confdefs.h. */
28721 _ACEOF
28722 cat confdefs.h >>conftest.$ac_ext
28723 cat >>conftest.$ac_ext <<_ACEOF
28724 /* end confdefs.h. */
28725 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28726 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28727 #define $ac_func innocuous_$ac_func
28729 /* System header to define __stub macros and hopefully few prototypes,
28730 which can conflict with char $ac_func (); below.
28731 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28732 <limits.h> exists even on freestanding compilers. */
28734 #ifdef __STDC__
28735 # include <limits.h>
28736 #else
28737 # include <assert.h>
28738 #endif
28740 #undef $ac_func
28742 /* Override any gcc2 internal prototype to avoid an error. */
28743 #ifdef __cplusplus
28744 extern "C"
28746 #endif
28747 /* We use char because int might match the return type of a gcc2
28748 builtin and then its argument prototype would still apply. */
28749 char $ac_func ();
28750 /* The GNU C library defines this for functions which it implements
28751 to always fail with ENOSYS. Some functions are actually named
28752 something starting with __ and the normal name is an alias. */
28753 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28754 choke me
28755 #else
28756 char (*f) () = $ac_func;
28757 #endif
28758 #ifdef __cplusplus
28760 #endif
28763 main ()
28765 return f != $ac_func;
28767 return 0;
28769 _ACEOF
28770 rm -f conftest.$ac_objext conftest$ac_exeext
28771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28772 (eval $ac_link) 2>conftest.er1
28773 ac_status=$?
28774 grep -v '^ *+' conftest.er1 >conftest.err
28775 rm -f conftest.er1
28776 cat conftest.err >&5
28777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28778 (exit $ac_status); } &&
28779 { ac_try='test -z "$ac_c_werror_flag"
28780 || test ! -s conftest.err'
28781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28782 (eval $ac_try) 2>&5
28783 ac_status=$?
28784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28785 (exit $ac_status); }; } &&
28786 { ac_try='test -s conftest$ac_exeext'
28787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28788 (eval $ac_try) 2>&5
28789 ac_status=$?
28790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28791 (exit $ac_status); }; }; then
28792 eval "$as_ac_var=yes"
28793 else
28794 echo "$as_me: failed program was:" >&5
28795 sed 's/^/| /' conftest.$ac_ext >&5
28797 eval "$as_ac_var=no"
28799 rm -f conftest.err conftest.$ac_objext \
28800 conftest$ac_exeext conftest.$ac_ext
28802 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28803 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28804 if test `eval echo '${'$as_ac_var'}'` = yes; then
28805 cat >>confdefs.h <<_ACEOF
28806 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28807 _ACEOF
28810 done
28820 echo "$as_me:$LINENO: checking for long double trig functions" >&5
28821 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
28822 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
28823 echo $ECHO_N "(cached) $ECHO_C" >&6
28824 else
28828 ac_ext=cc
28829 ac_cpp='$CXXCPP $CPPFLAGS'
28830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28834 cat >conftest.$ac_ext <<_ACEOF
28835 /* confdefs.h. */
28836 _ACEOF
28837 cat confdefs.h >>conftest.$ac_ext
28838 cat >>conftest.$ac_ext <<_ACEOF
28839 /* end confdefs.h. */
28840 #include <math.h>
28842 main ()
28844 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
28846 return 0;
28848 _ACEOF
28849 rm -f conftest.$ac_objext
28850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28851 (eval $ac_compile) 2>conftest.er1
28852 ac_status=$?
28853 grep -v '^ *+' conftest.er1 >conftest.err
28854 rm -f conftest.er1
28855 cat conftest.err >&5
28856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28857 (exit $ac_status); } &&
28858 { ac_try='test -z "$ac_cxx_werror_flag"
28859 || test ! -s conftest.err'
28860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28861 (eval $ac_try) 2>&5
28862 ac_status=$?
28863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28864 (exit $ac_status); }; } &&
28865 { ac_try='test -s conftest.$ac_objext'
28866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28867 (eval $ac_try) 2>&5
28868 ac_status=$?
28869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28870 (exit $ac_status); }; }; then
28871 glibcxx_cv_func_long_double_trig_use=yes
28872 else
28873 echo "$as_me: failed program was:" >&5
28874 sed 's/^/| /' conftest.$ac_ext >&5
28876 glibcxx_cv_func_long_double_trig_use=no
28878 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28879 ac_ext=c
28880 ac_cpp='$CPP $CPPFLAGS'
28881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28887 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
28888 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
28889 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
28899 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
28901 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28902 echo "$as_me:$LINENO: checking for $ac_func" >&5
28903 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28904 if eval "test \"\${$as_ac_var+set}\" = set"; then
28905 echo $ECHO_N "(cached) $ECHO_C" >&6
28906 else
28907 if test x$gcc_no_link = xyes; then
28908 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28909 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28910 { (exit 1); exit 1; }; }
28912 cat >conftest.$ac_ext <<_ACEOF
28913 /* confdefs.h. */
28914 _ACEOF
28915 cat confdefs.h >>conftest.$ac_ext
28916 cat >>conftest.$ac_ext <<_ACEOF
28917 /* end confdefs.h. */
28918 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28919 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28920 #define $ac_func innocuous_$ac_func
28922 /* System header to define __stub macros and hopefully few prototypes,
28923 which can conflict with char $ac_func (); below.
28924 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28925 <limits.h> exists even on freestanding compilers. */
28927 #ifdef __STDC__
28928 # include <limits.h>
28929 #else
28930 # include <assert.h>
28931 #endif
28933 #undef $ac_func
28935 /* Override any gcc2 internal prototype to avoid an error. */
28936 #ifdef __cplusplus
28937 extern "C"
28939 #endif
28940 /* We use char because int might match the return type of a gcc2
28941 builtin and then its argument prototype would still apply. */
28942 char $ac_func ();
28943 /* The GNU C library defines this for functions which it implements
28944 to always fail with ENOSYS. Some functions are actually named
28945 something starting with __ and the normal name is an alias. */
28946 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28947 choke me
28948 #else
28949 char (*f) () = $ac_func;
28950 #endif
28951 #ifdef __cplusplus
28953 #endif
28956 main ()
28958 return f != $ac_func;
28960 return 0;
28962 _ACEOF
28963 rm -f conftest.$ac_objext conftest$ac_exeext
28964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28965 (eval $ac_link) 2>conftest.er1
28966 ac_status=$?
28967 grep -v '^ *+' conftest.er1 >conftest.err
28968 rm -f conftest.er1
28969 cat conftest.err >&5
28970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28971 (exit $ac_status); } &&
28972 { ac_try='test -z "$ac_c_werror_flag"
28973 || test ! -s conftest.err'
28974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28975 (eval $ac_try) 2>&5
28976 ac_status=$?
28977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28978 (exit $ac_status); }; } &&
28979 { ac_try='test -s conftest$ac_exeext'
28980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28981 (eval $ac_try) 2>&5
28982 ac_status=$?
28983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28984 (exit $ac_status); }; }; then
28985 eval "$as_ac_var=yes"
28986 else
28987 echo "$as_me: failed program was:" >&5
28988 sed 's/^/| /' conftest.$ac_ext >&5
28990 eval "$as_ac_var=no"
28992 rm -f conftest.err conftest.$ac_objext \
28993 conftest$ac_exeext conftest.$ac_ext
28995 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28996 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28997 if test `eval echo '${'$as_ac_var'}'` = yes; then
28998 cat >>confdefs.h <<_ACEOF
28999 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29000 _ACEOF
29003 done
29005 else
29006 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
29007 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
29008 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
29009 echo $ECHO_N "(cached) $ECHO_C" >&6
29010 else
29014 ac_ext=cc
29015 ac_cpp='$CXXCPP $CPPFLAGS'
29016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29020 cat >conftest.$ac_ext <<_ACEOF
29021 /* confdefs.h. */
29022 _ACEOF
29023 cat confdefs.h >>conftest.$ac_ext
29024 cat >>conftest.$ac_ext <<_ACEOF
29025 /* end confdefs.h. */
29026 #include <math.h>
29028 main ()
29030 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
29032 return 0;
29034 _ACEOF
29035 rm -f conftest.$ac_objext
29036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29037 (eval $ac_compile) 2>conftest.er1
29038 ac_status=$?
29039 grep -v '^ *+' conftest.er1 >conftest.err
29040 rm -f conftest.er1
29041 cat conftest.err >&5
29042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29043 (exit $ac_status); } &&
29044 { ac_try='test -z "$ac_cxx_werror_flag"
29045 || test ! -s conftest.err'
29046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29047 (eval $ac_try) 2>&5
29048 ac_status=$?
29049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29050 (exit $ac_status); }; } &&
29051 { ac_try='test -s conftest.$ac_objext'
29052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29053 (eval $ac_try) 2>&5
29054 ac_status=$?
29055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29056 (exit $ac_status); }; }; then
29057 glibcxx_cv_func__long_double_trig_use=yes
29058 else
29059 echo "$as_me: failed program was:" >&5
29060 sed 's/^/| /' conftest.$ac_ext >&5
29062 glibcxx_cv_func__long_double_trig_use=no
29064 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29065 ac_ext=c
29066 ac_cpp='$CPP $CPPFLAGS'
29067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29073 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
29074 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
29075 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
29085 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
29087 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29088 echo "$as_me:$LINENO: checking for $ac_func" >&5
29089 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29090 if eval "test \"\${$as_ac_var+set}\" = set"; then
29091 echo $ECHO_N "(cached) $ECHO_C" >&6
29092 else
29093 if test x$gcc_no_link = xyes; then
29094 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29095 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29096 { (exit 1); exit 1; }; }
29098 cat >conftest.$ac_ext <<_ACEOF
29099 /* confdefs.h. */
29100 _ACEOF
29101 cat confdefs.h >>conftest.$ac_ext
29102 cat >>conftest.$ac_ext <<_ACEOF
29103 /* end confdefs.h. */
29104 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29105 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29106 #define $ac_func innocuous_$ac_func
29108 /* System header to define __stub macros and hopefully few prototypes,
29109 which can conflict with char $ac_func (); below.
29110 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29111 <limits.h> exists even on freestanding compilers. */
29113 #ifdef __STDC__
29114 # include <limits.h>
29115 #else
29116 # include <assert.h>
29117 #endif
29119 #undef $ac_func
29121 /* Override any gcc2 internal prototype to avoid an error. */
29122 #ifdef __cplusplus
29123 extern "C"
29125 #endif
29126 /* We use char because int might match the return type of a gcc2
29127 builtin and then its argument prototype would still apply. */
29128 char $ac_func ();
29129 /* The GNU C library defines this for functions which it implements
29130 to always fail with ENOSYS. Some functions are actually named
29131 something starting with __ and the normal name is an alias. */
29132 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29133 choke me
29134 #else
29135 char (*f) () = $ac_func;
29136 #endif
29137 #ifdef __cplusplus
29139 #endif
29142 main ()
29144 return f != $ac_func;
29146 return 0;
29148 _ACEOF
29149 rm -f conftest.$ac_objext conftest$ac_exeext
29150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29151 (eval $ac_link) 2>conftest.er1
29152 ac_status=$?
29153 grep -v '^ *+' conftest.er1 >conftest.err
29154 rm -f conftest.er1
29155 cat conftest.err >&5
29156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29157 (exit $ac_status); } &&
29158 { ac_try='test -z "$ac_c_werror_flag"
29159 || test ! -s conftest.err'
29160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29161 (eval $ac_try) 2>&5
29162 ac_status=$?
29163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29164 (exit $ac_status); }; } &&
29165 { ac_try='test -s conftest$ac_exeext'
29166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29167 (eval $ac_try) 2>&5
29168 ac_status=$?
29169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29170 (exit $ac_status); }; }; then
29171 eval "$as_ac_var=yes"
29172 else
29173 echo "$as_me: failed program was:" >&5
29174 sed 's/^/| /' conftest.$ac_ext >&5
29176 eval "$as_ac_var=no"
29178 rm -f conftest.err conftest.$ac_objext \
29179 conftest$ac_exeext conftest.$ac_ext
29181 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29182 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29183 if test `eval echo '${'$as_ac_var'}'` = yes; then
29184 cat >>confdefs.h <<_ACEOF
29185 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29186 _ACEOF
29189 done
29207 echo "$as_me:$LINENO: checking for long double round functions" >&5
29208 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
29209 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
29210 echo $ECHO_N "(cached) $ECHO_C" >&6
29211 else
29215 ac_ext=cc
29216 ac_cpp='$CXXCPP $CPPFLAGS'
29217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29221 cat >conftest.$ac_ext <<_ACEOF
29222 /* confdefs.h. */
29223 _ACEOF
29224 cat confdefs.h >>conftest.$ac_ext
29225 cat >>conftest.$ac_ext <<_ACEOF
29226 /* end confdefs.h. */
29227 #include <math.h>
29229 main ()
29231 ceill (0); floorl (0);
29233 return 0;
29235 _ACEOF
29236 rm -f conftest.$ac_objext
29237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29238 (eval $ac_compile) 2>conftest.er1
29239 ac_status=$?
29240 grep -v '^ *+' conftest.er1 >conftest.err
29241 rm -f conftest.er1
29242 cat conftest.err >&5
29243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29244 (exit $ac_status); } &&
29245 { ac_try='test -z "$ac_cxx_werror_flag"
29246 || test ! -s conftest.err'
29247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29248 (eval $ac_try) 2>&5
29249 ac_status=$?
29250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29251 (exit $ac_status); }; } &&
29252 { ac_try='test -s conftest.$ac_objext'
29253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29254 (eval $ac_try) 2>&5
29255 ac_status=$?
29256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29257 (exit $ac_status); }; }; then
29258 glibcxx_cv_func_long_double_round_use=yes
29259 else
29260 echo "$as_me: failed program was:" >&5
29261 sed 's/^/| /' conftest.$ac_ext >&5
29263 glibcxx_cv_func_long_double_round_use=no
29265 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29266 ac_ext=c
29267 ac_cpp='$CPP $CPPFLAGS'
29268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29274 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
29275 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
29276 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
29279 for ac_func in ceill floorl
29281 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29282 echo "$as_me:$LINENO: checking for $ac_func" >&5
29283 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29284 if eval "test \"\${$as_ac_var+set}\" = set"; then
29285 echo $ECHO_N "(cached) $ECHO_C" >&6
29286 else
29287 if test x$gcc_no_link = xyes; then
29288 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29289 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29290 { (exit 1); exit 1; }; }
29292 cat >conftest.$ac_ext <<_ACEOF
29293 /* confdefs.h. */
29294 _ACEOF
29295 cat confdefs.h >>conftest.$ac_ext
29296 cat >>conftest.$ac_ext <<_ACEOF
29297 /* end confdefs.h. */
29298 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29299 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29300 #define $ac_func innocuous_$ac_func
29302 /* System header to define __stub macros and hopefully few prototypes,
29303 which can conflict with char $ac_func (); below.
29304 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29305 <limits.h> exists even on freestanding compilers. */
29307 #ifdef __STDC__
29308 # include <limits.h>
29309 #else
29310 # include <assert.h>
29311 #endif
29313 #undef $ac_func
29315 /* Override any gcc2 internal prototype to avoid an error. */
29316 #ifdef __cplusplus
29317 extern "C"
29319 #endif
29320 /* We use char because int might match the return type of a gcc2
29321 builtin and then its argument prototype would still apply. */
29322 char $ac_func ();
29323 /* The GNU C library defines this for functions which it implements
29324 to always fail with ENOSYS. Some functions are actually named
29325 something starting with __ and the normal name is an alias. */
29326 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29327 choke me
29328 #else
29329 char (*f) () = $ac_func;
29330 #endif
29331 #ifdef __cplusplus
29333 #endif
29336 main ()
29338 return f != $ac_func;
29340 return 0;
29342 _ACEOF
29343 rm -f conftest.$ac_objext conftest$ac_exeext
29344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29345 (eval $ac_link) 2>conftest.er1
29346 ac_status=$?
29347 grep -v '^ *+' conftest.er1 >conftest.err
29348 rm -f conftest.er1
29349 cat conftest.err >&5
29350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29351 (exit $ac_status); } &&
29352 { ac_try='test -z "$ac_c_werror_flag"
29353 || test ! -s conftest.err'
29354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29355 (eval $ac_try) 2>&5
29356 ac_status=$?
29357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29358 (exit $ac_status); }; } &&
29359 { ac_try='test -s conftest$ac_exeext'
29360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29361 (eval $ac_try) 2>&5
29362 ac_status=$?
29363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29364 (exit $ac_status); }; }; then
29365 eval "$as_ac_var=yes"
29366 else
29367 echo "$as_me: failed program was:" >&5
29368 sed 's/^/| /' conftest.$ac_ext >&5
29370 eval "$as_ac_var=no"
29372 rm -f conftest.err conftest.$ac_objext \
29373 conftest$ac_exeext conftest.$ac_ext
29375 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29376 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29377 if test `eval echo '${'$as_ac_var'}'` = yes; then
29378 cat >>confdefs.h <<_ACEOF
29379 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29380 _ACEOF
29383 done
29385 else
29386 echo "$as_me:$LINENO: checking for _long double round functions" >&5
29387 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
29388 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
29389 echo $ECHO_N "(cached) $ECHO_C" >&6
29390 else
29394 ac_ext=cc
29395 ac_cpp='$CXXCPP $CPPFLAGS'
29396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29400 cat >conftest.$ac_ext <<_ACEOF
29401 /* confdefs.h. */
29402 _ACEOF
29403 cat confdefs.h >>conftest.$ac_ext
29404 cat >>conftest.$ac_ext <<_ACEOF
29405 /* end confdefs.h. */
29406 #include <math.h>
29408 main ()
29410 _ceill (0); _floorl (0);
29412 return 0;
29414 _ACEOF
29415 rm -f conftest.$ac_objext
29416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29417 (eval $ac_compile) 2>conftest.er1
29418 ac_status=$?
29419 grep -v '^ *+' conftest.er1 >conftest.err
29420 rm -f conftest.er1
29421 cat conftest.err >&5
29422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29423 (exit $ac_status); } &&
29424 { ac_try='test -z "$ac_cxx_werror_flag"
29425 || test ! -s conftest.err'
29426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29427 (eval $ac_try) 2>&5
29428 ac_status=$?
29429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29430 (exit $ac_status); }; } &&
29431 { ac_try='test -s conftest.$ac_objext'
29432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29433 (eval $ac_try) 2>&5
29434 ac_status=$?
29435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29436 (exit $ac_status); }; }; then
29437 glibcxx_cv_func__long_double_round_use=yes
29438 else
29439 echo "$as_me: failed program was:" >&5
29440 sed 's/^/| /' conftest.$ac_ext >&5
29442 glibcxx_cv_func__long_double_round_use=no
29444 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29445 ac_ext=c
29446 ac_cpp='$CPP $CPPFLAGS'
29447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29453 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
29454 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
29455 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
29458 for ac_func in _ceill _floorl
29460 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29461 echo "$as_me:$LINENO: checking for $ac_func" >&5
29462 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29463 if eval "test \"\${$as_ac_var+set}\" = set"; then
29464 echo $ECHO_N "(cached) $ECHO_C" >&6
29465 else
29466 if test x$gcc_no_link = xyes; then
29467 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29468 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29469 { (exit 1); exit 1; }; }
29471 cat >conftest.$ac_ext <<_ACEOF
29472 /* confdefs.h. */
29473 _ACEOF
29474 cat confdefs.h >>conftest.$ac_ext
29475 cat >>conftest.$ac_ext <<_ACEOF
29476 /* end confdefs.h. */
29477 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29478 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29479 #define $ac_func innocuous_$ac_func
29481 /* System header to define __stub macros and hopefully few prototypes,
29482 which can conflict with char $ac_func (); below.
29483 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29484 <limits.h> exists even on freestanding compilers. */
29486 #ifdef __STDC__
29487 # include <limits.h>
29488 #else
29489 # include <assert.h>
29490 #endif
29492 #undef $ac_func
29494 /* Override any gcc2 internal prototype to avoid an error. */
29495 #ifdef __cplusplus
29496 extern "C"
29498 #endif
29499 /* We use char because int might match the return type of a gcc2
29500 builtin and then its argument prototype would still apply. */
29501 char $ac_func ();
29502 /* The GNU C library defines this for functions which it implements
29503 to always fail with ENOSYS. Some functions are actually named
29504 something starting with __ and the normal name is an alias. */
29505 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29506 choke me
29507 #else
29508 char (*f) () = $ac_func;
29509 #endif
29510 #ifdef __cplusplus
29512 #endif
29515 main ()
29517 return f != $ac_func;
29519 return 0;
29521 _ACEOF
29522 rm -f conftest.$ac_objext conftest$ac_exeext
29523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29524 (eval $ac_link) 2>conftest.er1
29525 ac_status=$?
29526 grep -v '^ *+' conftest.er1 >conftest.err
29527 rm -f conftest.er1
29528 cat conftest.err >&5
29529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29530 (exit $ac_status); } &&
29531 { ac_try='test -z "$ac_c_werror_flag"
29532 || test ! -s conftest.err'
29533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29534 (eval $ac_try) 2>&5
29535 ac_status=$?
29536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29537 (exit $ac_status); }; } &&
29538 { ac_try='test -s conftest$ac_exeext'
29539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29540 (eval $ac_try) 2>&5
29541 ac_status=$?
29542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29543 (exit $ac_status); }; }; then
29544 eval "$as_ac_var=yes"
29545 else
29546 echo "$as_me: failed program was:" >&5
29547 sed 's/^/| /' conftest.$ac_ext >&5
29549 eval "$as_ac_var=no"
29551 rm -f conftest.err conftest.$ac_objext \
29552 conftest$ac_exeext conftest.$ac_ext
29554 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29555 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29556 if test `eval echo '${'$as_ac_var'}'` = yes; then
29557 cat >>confdefs.h <<_ACEOF
29558 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29559 _ACEOF
29562 done
29574 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
29575 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
29576 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
29577 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
29578 echo $ECHO_N "(cached) $ECHO_C" >&6
29579 else
29583 ac_ext=cc
29584 ac_cpp='$CXXCPP $CPPFLAGS'
29585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29589 cat >conftest.$ac_ext <<_ACEOF
29590 /* confdefs.h. */
29591 _ACEOF
29592 cat confdefs.h >>conftest.$ac_ext
29593 cat >>conftest.$ac_ext <<_ACEOF
29594 /* end confdefs.h. */
29595 #include <math.h>
29596 #ifdef HAVE_IEEEFP_H
29597 #include <ieeefp.h>
29598 #endif
29601 main ()
29603 isnanl(0);
29605 return 0;
29607 _ACEOF
29608 rm -f conftest.$ac_objext
29609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29610 (eval $ac_compile) 2>conftest.er1
29611 ac_status=$?
29612 grep -v '^ *+' conftest.er1 >conftest.err
29613 rm -f conftest.er1
29614 cat conftest.err >&5
29615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29616 (exit $ac_status); } &&
29617 { ac_try='test -z "$ac_cxx_werror_flag"
29618 || test ! -s conftest.err'
29619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29620 (eval $ac_try) 2>&5
29621 ac_status=$?
29622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29623 (exit $ac_status); }; } &&
29624 { ac_try='test -s conftest.$ac_objext'
29625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29626 (eval $ac_try) 2>&5
29627 ac_status=$?
29628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29629 (exit $ac_status); }; }; then
29630 glibcxx_cv_func_isnanl_use=yes
29631 else
29632 echo "$as_me: failed program was:" >&5
29633 sed 's/^/| /' conftest.$ac_ext >&5
29635 glibcxx_cv_func_isnanl_use=no
29637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29638 ac_ext=c
29639 ac_cpp='$CPP $CPPFLAGS'
29640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29648 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
29649 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
29651 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
29653 for ac_func in isnanl
29655 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29656 echo "$as_me:$LINENO: checking for $ac_func" >&5
29657 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29658 if eval "test \"\${$as_ac_var+set}\" = set"; then
29659 echo $ECHO_N "(cached) $ECHO_C" >&6
29660 else
29661 if test x$gcc_no_link = xyes; then
29662 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29663 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29664 { (exit 1); exit 1; }; }
29666 cat >conftest.$ac_ext <<_ACEOF
29667 /* confdefs.h. */
29668 _ACEOF
29669 cat confdefs.h >>conftest.$ac_ext
29670 cat >>conftest.$ac_ext <<_ACEOF
29671 /* end confdefs.h. */
29672 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29673 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29674 #define $ac_func innocuous_$ac_func
29676 /* System header to define __stub macros and hopefully few prototypes,
29677 which can conflict with char $ac_func (); below.
29678 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29679 <limits.h> exists even on freestanding compilers. */
29681 #ifdef __STDC__
29682 # include <limits.h>
29683 #else
29684 # include <assert.h>
29685 #endif
29687 #undef $ac_func
29689 /* Override any gcc2 internal prototype to avoid an error. */
29690 #ifdef __cplusplus
29691 extern "C"
29693 #endif
29694 /* We use char because int might match the return type of a gcc2
29695 builtin and then its argument prototype would still apply. */
29696 char $ac_func ();
29697 /* The GNU C library defines this for functions which it implements
29698 to always fail with ENOSYS. Some functions are actually named
29699 something starting with __ and the normal name is an alias. */
29700 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29701 choke me
29702 #else
29703 char (*f) () = $ac_func;
29704 #endif
29705 #ifdef __cplusplus
29707 #endif
29710 main ()
29712 return f != $ac_func;
29714 return 0;
29716 _ACEOF
29717 rm -f conftest.$ac_objext conftest$ac_exeext
29718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29719 (eval $ac_link) 2>conftest.er1
29720 ac_status=$?
29721 grep -v '^ *+' conftest.er1 >conftest.err
29722 rm -f conftest.er1
29723 cat conftest.err >&5
29724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29725 (exit $ac_status); } &&
29726 { ac_try='test -z "$ac_c_werror_flag"
29727 || test ! -s conftest.err'
29728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29729 (eval $ac_try) 2>&5
29730 ac_status=$?
29731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29732 (exit $ac_status); }; } &&
29733 { ac_try='test -s conftest$ac_exeext'
29734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29735 (eval $ac_try) 2>&5
29736 ac_status=$?
29737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29738 (exit $ac_status); }; }; then
29739 eval "$as_ac_var=yes"
29740 else
29741 echo "$as_me: failed program was:" >&5
29742 sed 's/^/| /' conftest.$ac_ext >&5
29744 eval "$as_ac_var=no"
29746 rm -f conftest.err conftest.$ac_objext \
29747 conftest$ac_exeext conftest.$ac_ext
29749 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29750 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29751 if test `eval echo '${'$as_ac_var'}'` = yes; then
29752 cat >>confdefs.h <<_ACEOF
29753 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29754 _ACEOF
29757 done
29759 else
29761 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
29762 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
29763 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
29764 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
29765 echo $ECHO_N "(cached) $ECHO_C" >&6
29766 else
29770 ac_ext=cc
29771 ac_cpp='$CXXCPP $CPPFLAGS'
29772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29776 cat >conftest.$ac_ext <<_ACEOF
29777 /* confdefs.h. */
29778 _ACEOF
29779 cat confdefs.h >>conftest.$ac_ext
29780 cat >>conftest.$ac_ext <<_ACEOF
29781 /* end confdefs.h. */
29782 #include <math.h>
29783 #ifdef HAVE_IEEEFP_H
29784 #include <ieeefp.h>
29785 #endif
29788 main ()
29790 _isnanl(0);
29792 return 0;
29794 _ACEOF
29795 rm -f conftest.$ac_objext
29796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29797 (eval $ac_compile) 2>conftest.er1
29798 ac_status=$?
29799 grep -v '^ *+' conftest.er1 >conftest.err
29800 rm -f conftest.er1
29801 cat conftest.err >&5
29802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29803 (exit $ac_status); } &&
29804 { ac_try='test -z "$ac_cxx_werror_flag"
29805 || test ! -s conftest.err'
29806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29807 (eval $ac_try) 2>&5
29808 ac_status=$?
29809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29810 (exit $ac_status); }; } &&
29811 { ac_try='test -s conftest.$ac_objext'
29812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29813 (eval $ac_try) 2>&5
29814 ac_status=$?
29815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29816 (exit $ac_status); }; }; then
29817 glibcxx_cv_func__isnanl_use=yes
29818 else
29819 echo "$as_me: failed program was:" >&5
29820 sed 's/^/| /' conftest.$ac_ext >&5
29822 glibcxx_cv_func__isnanl_use=no
29824 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29825 ac_ext=c
29826 ac_cpp='$CPP $CPPFLAGS'
29827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29835 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
29836 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
29838 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
29840 for ac_func in _isnanl
29842 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29843 echo "$as_me:$LINENO: checking for $ac_func" >&5
29844 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29845 if eval "test \"\${$as_ac_var+set}\" = set"; then
29846 echo $ECHO_N "(cached) $ECHO_C" >&6
29847 else
29848 if test x$gcc_no_link = xyes; then
29849 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29850 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29851 { (exit 1); exit 1; }; }
29853 cat >conftest.$ac_ext <<_ACEOF
29854 /* confdefs.h. */
29855 _ACEOF
29856 cat confdefs.h >>conftest.$ac_ext
29857 cat >>conftest.$ac_ext <<_ACEOF
29858 /* end confdefs.h. */
29859 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29860 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29861 #define $ac_func innocuous_$ac_func
29863 /* System header to define __stub macros and hopefully few prototypes,
29864 which can conflict with char $ac_func (); below.
29865 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29866 <limits.h> exists even on freestanding compilers. */
29868 #ifdef __STDC__
29869 # include <limits.h>
29870 #else
29871 # include <assert.h>
29872 #endif
29874 #undef $ac_func
29876 /* Override any gcc2 internal prototype to avoid an error. */
29877 #ifdef __cplusplus
29878 extern "C"
29880 #endif
29881 /* We use char because int might match the return type of a gcc2
29882 builtin and then its argument prototype would still apply. */
29883 char $ac_func ();
29884 /* The GNU C library defines this for functions which it implements
29885 to always fail with ENOSYS. Some functions are actually named
29886 something starting with __ and the normal name is an alias. */
29887 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29888 choke me
29889 #else
29890 char (*f) () = $ac_func;
29891 #endif
29892 #ifdef __cplusplus
29894 #endif
29897 main ()
29899 return f != $ac_func;
29901 return 0;
29903 _ACEOF
29904 rm -f conftest.$ac_objext conftest$ac_exeext
29905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29906 (eval $ac_link) 2>conftest.er1
29907 ac_status=$?
29908 grep -v '^ *+' conftest.er1 >conftest.err
29909 rm -f conftest.er1
29910 cat conftest.err >&5
29911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29912 (exit $ac_status); } &&
29913 { ac_try='test -z "$ac_c_werror_flag"
29914 || test ! -s conftest.err'
29915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29916 (eval $ac_try) 2>&5
29917 ac_status=$?
29918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29919 (exit $ac_status); }; } &&
29920 { ac_try='test -s conftest$ac_exeext'
29921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29922 (eval $ac_try) 2>&5
29923 ac_status=$?
29924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29925 (exit $ac_status); }; }; then
29926 eval "$as_ac_var=yes"
29927 else
29928 echo "$as_me: failed program was:" >&5
29929 sed 's/^/| /' conftest.$ac_ext >&5
29931 eval "$as_ac_var=no"
29933 rm -f conftest.err conftest.$ac_objext \
29934 conftest$ac_exeext conftest.$ac_ext
29936 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29937 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29938 if test `eval echo '${'$as_ac_var'}'` = yes; then
29939 cat >>confdefs.h <<_ACEOF
29940 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29941 _ACEOF
29944 done
29954 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
29955 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
29956 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
29957 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
29958 echo $ECHO_N "(cached) $ECHO_C" >&6
29959 else
29963 ac_ext=cc
29964 ac_cpp='$CXXCPP $CPPFLAGS'
29965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29969 cat >conftest.$ac_ext <<_ACEOF
29970 /* confdefs.h. */
29971 _ACEOF
29972 cat confdefs.h >>conftest.$ac_ext
29973 cat >>conftest.$ac_ext <<_ACEOF
29974 /* end confdefs.h. */
29975 #include <math.h>
29976 #ifdef HAVE_IEEEFP_H
29977 #include <ieeefp.h>
29978 #endif
29981 main ()
29983 isinfl(0);
29985 return 0;
29987 _ACEOF
29988 rm -f conftest.$ac_objext
29989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29990 (eval $ac_compile) 2>conftest.er1
29991 ac_status=$?
29992 grep -v '^ *+' conftest.er1 >conftest.err
29993 rm -f conftest.er1
29994 cat conftest.err >&5
29995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29996 (exit $ac_status); } &&
29997 { ac_try='test -z "$ac_cxx_werror_flag"
29998 || test ! -s conftest.err'
29999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30000 (eval $ac_try) 2>&5
30001 ac_status=$?
30002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30003 (exit $ac_status); }; } &&
30004 { ac_try='test -s conftest.$ac_objext'
30005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30006 (eval $ac_try) 2>&5
30007 ac_status=$?
30008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30009 (exit $ac_status); }; }; then
30010 glibcxx_cv_func_isinfl_use=yes
30011 else
30012 echo "$as_me: failed program was:" >&5
30013 sed 's/^/| /' conftest.$ac_ext >&5
30015 glibcxx_cv_func_isinfl_use=no
30017 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30018 ac_ext=c
30019 ac_cpp='$CPP $CPPFLAGS'
30020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30028 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
30029 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
30031 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
30033 for ac_func in isinfl
30035 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30036 echo "$as_me:$LINENO: checking for $ac_func" >&5
30037 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30038 if eval "test \"\${$as_ac_var+set}\" = set"; then
30039 echo $ECHO_N "(cached) $ECHO_C" >&6
30040 else
30041 if test x$gcc_no_link = xyes; then
30042 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30043 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30044 { (exit 1); exit 1; }; }
30046 cat >conftest.$ac_ext <<_ACEOF
30047 /* confdefs.h. */
30048 _ACEOF
30049 cat confdefs.h >>conftest.$ac_ext
30050 cat >>conftest.$ac_ext <<_ACEOF
30051 /* end confdefs.h. */
30052 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30053 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30054 #define $ac_func innocuous_$ac_func
30056 /* System header to define __stub macros and hopefully few prototypes,
30057 which can conflict with char $ac_func (); below.
30058 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30059 <limits.h> exists even on freestanding compilers. */
30061 #ifdef __STDC__
30062 # include <limits.h>
30063 #else
30064 # include <assert.h>
30065 #endif
30067 #undef $ac_func
30069 /* Override any gcc2 internal prototype to avoid an error. */
30070 #ifdef __cplusplus
30071 extern "C"
30073 #endif
30074 /* We use char because int might match the return type of a gcc2
30075 builtin and then its argument prototype would still apply. */
30076 char $ac_func ();
30077 /* The GNU C library defines this for functions which it implements
30078 to always fail with ENOSYS. Some functions are actually named
30079 something starting with __ and the normal name is an alias. */
30080 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30081 choke me
30082 #else
30083 char (*f) () = $ac_func;
30084 #endif
30085 #ifdef __cplusplus
30087 #endif
30090 main ()
30092 return f != $ac_func;
30094 return 0;
30096 _ACEOF
30097 rm -f conftest.$ac_objext conftest$ac_exeext
30098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30099 (eval $ac_link) 2>conftest.er1
30100 ac_status=$?
30101 grep -v '^ *+' conftest.er1 >conftest.err
30102 rm -f conftest.er1
30103 cat conftest.err >&5
30104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30105 (exit $ac_status); } &&
30106 { ac_try='test -z "$ac_c_werror_flag"
30107 || test ! -s conftest.err'
30108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30109 (eval $ac_try) 2>&5
30110 ac_status=$?
30111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30112 (exit $ac_status); }; } &&
30113 { ac_try='test -s conftest$ac_exeext'
30114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30115 (eval $ac_try) 2>&5
30116 ac_status=$?
30117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30118 (exit $ac_status); }; }; then
30119 eval "$as_ac_var=yes"
30120 else
30121 echo "$as_me: failed program was:" >&5
30122 sed 's/^/| /' conftest.$ac_ext >&5
30124 eval "$as_ac_var=no"
30126 rm -f conftest.err conftest.$ac_objext \
30127 conftest$ac_exeext conftest.$ac_ext
30129 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30130 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30131 if test `eval echo '${'$as_ac_var'}'` = yes; then
30132 cat >>confdefs.h <<_ACEOF
30133 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30134 _ACEOF
30137 done
30139 else
30141 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
30142 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
30143 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
30144 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
30145 echo $ECHO_N "(cached) $ECHO_C" >&6
30146 else
30150 ac_ext=cc
30151 ac_cpp='$CXXCPP $CPPFLAGS'
30152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30156 cat >conftest.$ac_ext <<_ACEOF
30157 /* confdefs.h. */
30158 _ACEOF
30159 cat confdefs.h >>conftest.$ac_ext
30160 cat >>conftest.$ac_ext <<_ACEOF
30161 /* end confdefs.h. */
30162 #include <math.h>
30163 #ifdef HAVE_IEEEFP_H
30164 #include <ieeefp.h>
30165 #endif
30168 main ()
30170 _isinfl(0);
30172 return 0;
30174 _ACEOF
30175 rm -f conftest.$ac_objext
30176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30177 (eval $ac_compile) 2>conftest.er1
30178 ac_status=$?
30179 grep -v '^ *+' conftest.er1 >conftest.err
30180 rm -f conftest.er1
30181 cat conftest.err >&5
30182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30183 (exit $ac_status); } &&
30184 { ac_try='test -z "$ac_cxx_werror_flag"
30185 || test ! -s conftest.err'
30186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30187 (eval $ac_try) 2>&5
30188 ac_status=$?
30189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30190 (exit $ac_status); }; } &&
30191 { ac_try='test -s conftest.$ac_objext'
30192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30193 (eval $ac_try) 2>&5
30194 ac_status=$?
30195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30196 (exit $ac_status); }; }; then
30197 glibcxx_cv_func__isinfl_use=yes
30198 else
30199 echo "$as_me: failed program was:" >&5
30200 sed 's/^/| /' conftest.$ac_ext >&5
30202 glibcxx_cv_func__isinfl_use=no
30204 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30205 ac_ext=c
30206 ac_cpp='$CPP $CPPFLAGS'
30207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30215 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
30216 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
30218 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
30220 for ac_func in _isinfl
30222 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30223 echo "$as_me:$LINENO: checking for $ac_func" >&5
30224 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30225 if eval "test \"\${$as_ac_var+set}\" = set"; then
30226 echo $ECHO_N "(cached) $ECHO_C" >&6
30227 else
30228 if test x$gcc_no_link = xyes; then
30229 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30230 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30231 { (exit 1); exit 1; }; }
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30240 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30241 #define $ac_func innocuous_$ac_func
30243 /* System header to define __stub macros and hopefully few prototypes,
30244 which can conflict with char $ac_func (); below.
30245 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30246 <limits.h> exists even on freestanding compilers. */
30248 #ifdef __STDC__
30249 # include <limits.h>
30250 #else
30251 # include <assert.h>
30252 #endif
30254 #undef $ac_func
30256 /* Override any gcc2 internal prototype to avoid an error. */
30257 #ifdef __cplusplus
30258 extern "C"
30260 #endif
30261 /* We use char because int might match the return type of a gcc2
30262 builtin and then its argument prototype would still apply. */
30263 char $ac_func ();
30264 /* The GNU C library defines this for functions which it implements
30265 to always fail with ENOSYS. Some functions are actually named
30266 something starting with __ and the normal name is an alias. */
30267 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30268 choke me
30269 #else
30270 char (*f) () = $ac_func;
30271 #endif
30272 #ifdef __cplusplus
30274 #endif
30277 main ()
30279 return f != $ac_func;
30281 return 0;
30283 _ACEOF
30284 rm -f conftest.$ac_objext conftest$ac_exeext
30285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30286 (eval $ac_link) 2>conftest.er1
30287 ac_status=$?
30288 grep -v '^ *+' conftest.er1 >conftest.err
30289 rm -f conftest.er1
30290 cat conftest.err >&5
30291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30292 (exit $ac_status); } &&
30293 { ac_try='test -z "$ac_c_werror_flag"
30294 || test ! -s conftest.err'
30295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30296 (eval $ac_try) 2>&5
30297 ac_status=$?
30298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30299 (exit $ac_status); }; } &&
30300 { ac_try='test -s conftest$ac_exeext'
30301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30302 (eval $ac_try) 2>&5
30303 ac_status=$?
30304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30305 (exit $ac_status); }; }; then
30306 eval "$as_ac_var=yes"
30307 else
30308 echo "$as_me: failed program was:" >&5
30309 sed 's/^/| /' conftest.$ac_ext >&5
30311 eval "$as_ac_var=no"
30313 rm -f conftest.err conftest.$ac_objext \
30314 conftest$ac_exeext conftest.$ac_ext
30316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30317 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30318 if test `eval echo '${'$as_ac_var'}'` = yes; then
30319 cat >>confdefs.h <<_ACEOF
30320 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30321 _ACEOF
30324 done
30334 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
30335 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
30336 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
30337 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
30338 echo $ECHO_N "(cached) $ECHO_C" >&6
30339 else
30343 ac_ext=cc
30344 ac_cpp='$CXXCPP $CPPFLAGS'
30345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30349 cat >conftest.$ac_ext <<_ACEOF
30350 /* confdefs.h. */
30351 _ACEOF
30352 cat confdefs.h >>conftest.$ac_ext
30353 cat >>conftest.$ac_ext <<_ACEOF
30354 /* end confdefs.h. */
30355 #include <math.h>
30357 main ()
30359 copysignl(0, 0);
30361 return 0;
30363 _ACEOF
30364 rm -f conftest.$ac_objext
30365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30366 (eval $ac_compile) 2>conftest.er1
30367 ac_status=$?
30368 grep -v '^ *+' conftest.er1 >conftest.err
30369 rm -f conftest.er1
30370 cat conftest.err >&5
30371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30372 (exit $ac_status); } &&
30373 { ac_try='test -z "$ac_cxx_werror_flag"
30374 || test ! -s conftest.err'
30375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30376 (eval $ac_try) 2>&5
30377 ac_status=$?
30378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30379 (exit $ac_status); }; } &&
30380 { ac_try='test -s conftest.$ac_objext'
30381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30382 (eval $ac_try) 2>&5
30383 ac_status=$?
30384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30385 (exit $ac_status); }; }; then
30386 glibcxx_cv_func_copysignl_use=yes
30387 else
30388 echo "$as_me: failed program was:" >&5
30389 sed 's/^/| /' conftest.$ac_ext >&5
30391 glibcxx_cv_func_copysignl_use=no
30393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30394 ac_ext=c
30395 ac_cpp='$CPP $CPPFLAGS'
30396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30404 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
30405 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
30407 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
30409 for ac_func in copysignl
30411 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30412 echo "$as_me:$LINENO: checking for $ac_func" >&5
30413 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30414 if eval "test \"\${$as_ac_var+set}\" = set"; then
30415 echo $ECHO_N "(cached) $ECHO_C" >&6
30416 else
30417 if test x$gcc_no_link = xyes; then
30418 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30419 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30420 { (exit 1); exit 1; }; }
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30429 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30430 #define $ac_func innocuous_$ac_func
30432 /* System header to define __stub macros and hopefully few prototypes,
30433 which can conflict with char $ac_func (); below.
30434 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30435 <limits.h> exists even on freestanding compilers. */
30437 #ifdef __STDC__
30438 # include <limits.h>
30439 #else
30440 # include <assert.h>
30441 #endif
30443 #undef $ac_func
30445 /* Override any gcc2 internal prototype to avoid an error. */
30446 #ifdef __cplusplus
30447 extern "C"
30449 #endif
30450 /* We use char because int might match the return type of a gcc2
30451 builtin and then its argument prototype would still apply. */
30452 char $ac_func ();
30453 /* The GNU C library defines this for functions which it implements
30454 to always fail with ENOSYS. Some functions are actually named
30455 something starting with __ and the normal name is an alias. */
30456 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30457 choke me
30458 #else
30459 char (*f) () = $ac_func;
30460 #endif
30461 #ifdef __cplusplus
30463 #endif
30466 main ()
30468 return f != $ac_func;
30470 return 0;
30472 _ACEOF
30473 rm -f conftest.$ac_objext conftest$ac_exeext
30474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30475 (eval $ac_link) 2>conftest.er1
30476 ac_status=$?
30477 grep -v '^ *+' conftest.er1 >conftest.err
30478 rm -f conftest.er1
30479 cat conftest.err >&5
30480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30481 (exit $ac_status); } &&
30482 { ac_try='test -z "$ac_c_werror_flag"
30483 || test ! -s conftest.err'
30484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30485 (eval $ac_try) 2>&5
30486 ac_status=$?
30487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30488 (exit $ac_status); }; } &&
30489 { ac_try='test -s conftest$ac_exeext'
30490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30491 (eval $ac_try) 2>&5
30492 ac_status=$?
30493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30494 (exit $ac_status); }; }; then
30495 eval "$as_ac_var=yes"
30496 else
30497 echo "$as_me: failed program was:" >&5
30498 sed 's/^/| /' conftest.$ac_ext >&5
30500 eval "$as_ac_var=no"
30502 rm -f conftest.err conftest.$ac_objext \
30503 conftest$ac_exeext conftest.$ac_ext
30505 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30506 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30507 if test `eval echo '${'$as_ac_var'}'` = yes; then
30508 cat >>confdefs.h <<_ACEOF
30509 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30510 _ACEOF
30513 done
30515 else
30517 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
30518 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
30519 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
30520 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
30521 echo $ECHO_N "(cached) $ECHO_C" >&6
30522 else
30526 ac_ext=cc
30527 ac_cpp='$CXXCPP $CPPFLAGS'
30528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30532 cat >conftest.$ac_ext <<_ACEOF
30533 /* confdefs.h. */
30534 _ACEOF
30535 cat confdefs.h >>conftest.$ac_ext
30536 cat >>conftest.$ac_ext <<_ACEOF
30537 /* end confdefs.h. */
30538 #include <math.h>
30540 main ()
30542 _copysignl(0, 0);
30544 return 0;
30546 _ACEOF
30547 rm -f conftest.$ac_objext
30548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30549 (eval $ac_compile) 2>conftest.er1
30550 ac_status=$?
30551 grep -v '^ *+' conftest.er1 >conftest.err
30552 rm -f conftest.er1
30553 cat conftest.err >&5
30554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30555 (exit $ac_status); } &&
30556 { ac_try='test -z "$ac_cxx_werror_flag"
30557 || test ! -s conftest.err'
30558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30559 (eval $ac_try) 2>&5
30560 ac_status=$?
30561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30562 (exit $ac_status); }; } &&
30563 { ac_try='test -s conftest.$ac_objext'
30564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30565 (eval $ac_try) 2>&5
30566 ac_status=$?
30567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30568 (exit $ac_status); }; }; then
30569 glibcxx_cv_func__copysignl_use=yes
30570 else
30571 echo "$as_me: failed program was:" >&5
30572 sed 's/^/| /' conftest.$ac_ext >&5
30574 glibcxx_cv_func__copysignl_use=no
30576 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30577 ac_ext=c
30578 ac_cpp='$CPP $CPPFLAGS'
30579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30587 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
30588 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
30590 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
30592 for ac_func in _copysignl
30594 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30595 echo "$as_me:$LINENO: checking for $ac_func" >&5
30596 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30597 if eval "test \"\${$as_ac_var+set}\" = set"; then
30598 echo $ECHO_N "(cached) $ECHO_C" >&6
30599 else
30600 if test x$gcc_no_link = xyes; then
30601 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30602 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30603 { (exit 1); exit 1; }; }
30605 cat >conftest.$ac_ext <<_ACEOF
30606 /* confdefs.h. */
30607 _ACEOF
30608 cat confdefs.h >>conftest.$ac_ext
30609 cat >>conftest.$ac_ext <<_ACEOF
30610 /* end confdefs.h. */
30611 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30612 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30613 #define $ac_func innocuous_$ac_func
30615 /* System header to define __stub macros and hopefully few prototypes,
30616 which can conflict with char $ac_func (); below.
30617 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30618 <limits.h> exists even on freestanding compilers. */
30620 #ifdef __STDC__
30621 # include <limits.h>
30622 #else
30623 # include <assert.h>
30624 #endif
30626 #undef $ac_func
30628 /* Override any gcc2 internal prototype to avoid an error. */
30629 #ifdef __cplusplus
30630 extern "C"
30632 #endif
30633 /* We use char because int might match the return type of a gcc2
30634 builtin and then its argument prototype would still apply. */
30635 char $ac_func ();
30636 /* The GNU C library defines this for functions which it implements
30637 to always fail with ENOSYS. Some functions are actually named
30638 something starting with __ and the normal name is an alias. */
30639 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30640 choke me
30641 #else
30642 char (*f) () = $ac_func;
30643 #endif
30644 #ifdef __cplusplus
30646 #endif
30649 main ()
30651 return f != $ac_func;
30653 return 0;
30655 _ACEOF
30656 rm -f conftest.$ac_objext conftest$ac_exeext
30657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30658 (eval $ac_link) 2>conftest.er1
30659 ac_status=$?
30660 grep -v '^ *+' conftest.er1 >conftest.err
30661 rm -f conftest.er1
30662 cat conftest.err >&5
30663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30664 (exit $ac_status); } &&
30665 { ac_try='test -z "$ac_c_werror_flag"
30666 || test ! -s conftest.err'
30667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30668 (eval $ac_try) 2>&5
30669 ac_status=$?
30670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30671 (exit $ac_status); }; } &&
30672 { ac_try='test -s conftest$ac_exeext'
30673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30674 (eval $ac_try) 2>&5
30675 ac_status=$?
30676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30677 (exit $ac_status); }; }; then
30678 eval "$as_ac_var=yes"
30679 else
30680 echo "$as_me: failed program was:" >&5
30681 sed 's/^/| /' conftest.$ac_ext >&5
30683 eval "$as_ac_var=no"
30685 rm -f conftest.err conftest.$ac_objext \
30686 conftest$ac_exeext conftest.$ac_ext
30688 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30689 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30690 if test `eval echo '${'$as_ac_var'}'` = yes; then
30691 cat >>confdefs.h <<_ACEOF
30692 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30693 _ACEOF
30696 done
30706 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
30707 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
30708 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
30709 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
30710 echo $ECHO_N "(cached) $ECHO_C" >&6
30711 else
30715 ac_ext=cc
30716 ac_cpp='$CXXCPP $CPPFLAGS'
30717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30721 cat >conftest.$ac_ext <<_ACEOF
30722 /* confdefs.h. */
30723 _ACEOF
30724 cat confdefs.h >>conftest.$ac_ext
30725 cat >>conftest.$ac_ext <<_ACEOF
30726 /* end confdefs.h. */
30727 #include <math.h>
30729 main ()
30731 atan2l(0, 0);
30733 return 0;
30735 _ACEOF
30736 rm -f conftest.$ac_objext
30737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30738 (eval $ac_compile) 2>conftest.er1
30739 ac_status=$?
30740 grep -v '^ *+' conftest.er1 >conftest.err
30741 rm -f conftest.er1
30742 cat conftest.err >&5
30743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30744 (exit $ac_status); } &&
30745 { ac_try='test -z "$ac_cxx_werror_flag"
30746 || test ! -s conftest.err'
30747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30748 (eval $ac_try) 2>&5
30749 ac_status=$?
30750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30751 (exit $ac_status); }; } &&
30752 { ac_try='test -s conftest.$ac_objext'
30753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30754 (eval $ac_try) 2>&5
30755 ac_status=$?
30756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30757 (exit $ac_status); }; }; then
30758 glibcxx_cv_func_atan2l_use=yes
30759 else
30760 echo "$as_me: failed program was:" >&5
30761 sed 's/^/| /' conftest.$ac_ext >&5
30763 glibcxx_cv_func_atan2l_use=no
30765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30766 ac_ext=c
30767 ac_cpp='$CPP $CPPFLAGS'
30768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30776 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
30777 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
30779 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
30781 for ac_func in atan2l
30783 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30784 echo "$as_me:$LINENO: checking for $ac_func" >&5
30785 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30786 if eval "test \"\${$as_ac_var+set}\" = set"; then
30787 echo $ECHO_N "(cached) $ECHO_C" >&6
30788 else
30789 if test x$gcc_no_link = xyes; then
30790 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30791 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30792 { (exit 1); exit 1; }; }
30794 cat >conftest.$ac_ext <<_ACEOF
30795 /* confdefs.h. */
30796 _ACEOF
30797 cat confdefs.h >>conftest.$ac_ext
30798 cat >>conftest.$ac_ext <<_ACEOF
30799 /* end confdefs.h. */
30800 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30801 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30802 #define $ac_func innocuous_$ac_func
30804 /* System header to define __stub macros and hopefully few prototypes,
30805 which can conflict with char $ac_func (); below.
30806 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30807 <limits.h> exists even on freestanding compilers. */
30809 #ifdef __STDC__
30810 # include <limits.h>
30811 #else
30812 # include <assert.h>
30813 #endif
30815 #undef $ac_func
30817 /* Override any gcc2 internal prototype to avoid an error. */
30818 #ifdef __cplusplus
30819 extern "C"
30821 #endif
30822 /* We use char because int might match the return type of a gcc2
30823 builtin and then its argument prototype would still apply. */
30824 char $ac_func ();
30825 /* The GNU C library defines this for functions which it implements
30826 to always fail with ENOSYS. Some functions are actually named
30827 something starting with __ and the normal name is an alias. */
30828 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30829 choke me
30830 #else
30831 char (*f) () = $ac_func;
30832 #endif
30833 #ifdef __cplusplus
30835 #endif
30838 main ()
30840 return f != $ac_func;
30842 return 0;
30844 _ACEOF
30845 rm -f conftest.$ac_objext conftest$ac_exeext
30846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30847 (eval $ac_link) 2>conftest.er1
30848 ac_status=$?
30849 grep -v '^ *+' conftest.er1 >conftest.err
30850 rm -f conftest.er1
30851 cat conftest.err >&5
30852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30853 (exit $ac_status); } &&
30854 { ac_try='test -z "$ac_c_werror_flag"
30855 || test ! -s conftest.err'
30856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30857 (eval $ac_try) 2>&5
30858 ac_status=$?
30859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30860 (exit $ac_status); }; } &&
30861 { ac_try='test -s conftest$ac_exeext'
30862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30863 (eval $ac_try) 2>&5
30864 ac_status=$?
30865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30866 (exit $ac_status); }; }; then
30867 eval "$as_ac_var=yes"
30868 else
30869 echo "$as_me: failed program was:" >&5
30870 sed 's/^/| /' conftest.$ac_ext >&5
30872 eval "$as_ac_var=no"
30874 rm -f conftest.err conftest.$ac_objext \
30875 conftest$ac_exeext conftest.$ac_ext
30877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30878 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30879 if test `eval echo '${'$as_ac_var'}'` = yes; then
30880 cat >>confdefs.h <<_ACEOF
30881 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30882 _ACEOF
30885 done
30887 else
30889 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
30890 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
30891 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
30892 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
30893 echo $ECHO_N "(cached) $ECHO_C" >&6
30894 else
30898 ac_ext=cc
30899 ac_cpp='$CXXCPP $CPPFLAGS'
30900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30904 cat >conftest.$ac_ext <<_ACEOF
30905 /* confdefs.h. */
30906 _ACEOF
30907 cat confdefs.h >>conftest.$ac_ext
30908 cat >>conftest.$ac_ext <<_ACEOF
30909 /* end confdefs.h. */
30910 #include <math.h>
30912 main ()
30914 _atan2l(0, 0);
30916 return 0;
30918 _ACEOF
30919 rm -f conftest.$ac_objext
30920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30921 (eval $ac_compile) 2>conftest.er1
30922 ac_status=$?
30923 grep -v '^ *+' conftest.er1 >conftest.err
30924 rm -f conftest.er1
30925 cat conftest.err >&5
30926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30927 (exit $ac_status); } &&
30928 { ac_try='test -z "$ac_cxx_werror_flag"
30929 || test ! -s conftest.err'
30930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30931 (eval $ac_try) 2>&5
30932 ac_status=$?
30933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30934 (exit $ac_status); }; } &&
30935 { ac_try='test -s conftest.$ac_objext'
30936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30937 (eval $ac_try) 2>&5
30938 ac_status=$?
30939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30940 (exit $ac_status); }; }; then
30941 glibcxx_cv_func__atan2l_use=yes
30942 else
30943 echo "$as_me: failed program was:" >&5
30944 sed 's/^/| /' conftest.$ac_ext >&5
30946 glibcxx_cv_func__atan2l_use=no
30948 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30949 ac_ext=c
30950 ac_cpp='$CPP $CPPFLAGS'
30951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30959 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
30960 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
30962 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
30964 for ac_func in _atan2l
30966 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30967 echo "$as_me:$LINENO: checking for $ac_func" >&5
30968 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30969 if eval "test \"\${$as_ac_var+set}\" = set"; then
30970 echo $ECHO_N "(cached) $ECHO_C" >&6
30971 else
30972 if test x$gcc_no_link = xyes; then
30973 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30974 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30975 { (exit 1); exit 1; }; }
30977 cat >conftest.$ac_ext <<_ACEOF
30978 /* confdefs.h. */
30979 _ACEOF
30980 cat confdefs.h >>conftest.$ac_ext
30981 cat >>conftest.$ac_ext <<_ACEOF
30982 /* end confdefs.h. */
30983 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30984 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30985 #define $ac_func innocuous_$ac_func
30987 /* System header to define __stub macros and hopefully few prototypes,
30988 which can conflict with char $ac_func (); below.
30989 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30990 <limits.h> exists even on freestanding compilers. */
30992 #ifdef __STDC__
30993 # include <limits.h>
30994 #else
30995 # include <assert.h>
30996 #endif
30998 #undef $ac_func
31000 /* Override any gcc2 internal prototype to avoid an error. */
31001 #ifdef __cplusplus
31002 extern "C"
31004 #endif
31005 /* We use char because int might match the return type of a gcc2
31006 builtin and then its argument prototype would still apply. */
31007 char $ac_func ();
31008 /* The GNU C library defines this for functions which it implements
31009 to always fail with ENOSYS. Some functions are actually named
31010 something starting with __ and the normal name is an alias. */
31011 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31012 choke me
31013 #else
31014 char (*f) () = $ac_func;
31015 #endif
31016 #ifdef __cplusplus
31018 #endif
31021 main ()
31023 return f != $ac_func;
31025 return 0;
31027 _ACEOF
31028 rm -f conftest.$ac_objext conftest$ac_exeext
31029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31030 (eval $ac_link) 2>conftest.er1
31031 ac_status=$?
31032 grep -v '^ *+' conftest.er1 >conftest.err
31033 rm -f conftest.er1
31034 cat conftest.err >&5
31035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31036 (exit $ac_status); } &&
31037 { ac_try='test -z "$ac_c_werror_flag"
31038 || test ! -s conftest.err'
31039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31040 (eval $ac_try) 2>&5
31041 ac_status=$?
31042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31043 (exit $ac_status); }; } &&
31044 { ac_try='test -s conftest$ac_exeext'
31045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31046 (eval $ac_try) 2>&5
31047 ac_status=$?
31048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31049 (exit $ac_status); }; }; then
31050 eval "$as_ac_var=yes"
31051 else
31052 echo "$as_me: failed program was:" >&5
31053 sed 's/^/| /' conftest.$ac_ext >&5
31055 eval "$as_ac_var=no"
31057 rm -f conftest.err conftest.$ac_objext \
31058 conftest$ac_exeext conftest.$ac_ext
31060 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31061 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31062 if test `eval echo '${'$as_ac_var'}'` = yes; then
31063 cat >>confdefs.h <<_ACEOF
31064 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31065 _ACEOF
31068 done
31078 echo "$as_me:$LINENO: checking for expl declaration" >&5
31079 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
31080 if test x${glibcxx_cv_func_expl_use+set} != xset; then
31081 if test "${glibcxx_cv_func_expl_use+set}" = set; then
31082 echo $ECHO_N "(cached) $ECHO_C" >&6
31083 else
31087 ac_ext=cc
31088 ac_cpp='$CXXCPP $CPPFLAGS'
31089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31093 cat >conftest.$ac_ext <<_ACEOF
31094 /* confdefs.h. */
31095 _ACEOF
31096 cat confdefs.h >>conftest.$ac_ext
31097 cat >>conftest.$ac_ext <<_ACEOF
31098 /* end confdefs.h. */
31099 #include <math.h>
31100 #ifdef HAVE_IEEEFP_H
31101 #include <ieeefp.h>
31102 #endif
31105 main ()
31107 expl(0);
31109 return 0;
31111 _ACEOF
31112 rm -f conftest.$ac_objext
31113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31114 (eval $ac_compile) 2>conftest.er1
31115 ac_status=$?
31116 grep -v '^ *+' conftest.er1 >conftest.err
31117 rm -f conftest.er1
31118 cat conftest.err >&5
31119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31120 (exit $ac_status); } &&
31121 { ac_try='test -z "$ac_cxx_werror_flag"
31122 || test ! -s conftest.err'
31123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31124 (eval $ac_try) 2>&5
31125 ac_status=$?
31126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31127 (exit $ac_status); }; } &&
31128 { ac_try='test -s conftest.$ac_objext'
31129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31130 (eval $ac_try) 2>&5
31131 ac_status=$?
31132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31133 (exit $ac_status); }; }; then
31134 glibcxx_cv_func_expl_use=yes
31135 else
31136 echo "$as_me: failed program was:" >&5
31137 sed 's/^/| /' conftest.$ac_ext >&5
31139 glibcxx_cv_func_expl_use=no
31141 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31142 ac_ext=c
31143 ac_cpp='$CPP $CPPFLAGS'
31144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31152 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
31153 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
31155 if test x$glibcxx_cv_func_expl_use = x"yes"; then
31157 for ac_func in expl
31159 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31160 echo "$as_me:$LINENO: checking for $ac_func" >&5
31161 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31162 if eval "test \"\${$as_ac_var+set}\" = set"; then
31163 echo $ECHO_N "(cached) $ECHO_C" >&6
31164 else
31165 if test x$gcc_no_link = xyes; then
31166 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31167 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31168 { (exit 1); exit 1; }; }
31170 cat >conftest.$ac_ext <<_ACEOF
31171 /* confdefs.h. */
31172 _ACEOF
31173 cat confdefs.h >>conftest.$ac_ext
31174 cat >>conftest.$ac_ext <<_ACEOF
31175 /* end confdefs.h. */
31176 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31177 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31178 #define $ac_func innocuous_$ac_func
31180 /* System header to define __stub macros and hopefully few prototypes,
31181 which can conflict with char $ac_func (); below.
31182 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31183 <limits.h> exists even on freestanding compilers. */
31185 #ifdef __STDC__
31186 # include <limits.h>
31187 #else
31188 # include <assert.h>
31189 #endif
31191 #undef $ac_func
31193 /* Override any gcc2 internal prototype to avoid an error. */
31194 #ifdef __cplusplus
31195 extern "C"
31197 #endif
31198 /* We use char because int might match the return type of a gcc2
31199 builtin and then its argument prototype would still apply. */
31200 char $ac_func ();
31201 /* The GNU C library defines this for functions which it implements
31202 to always fail with ENOSYS. Some functions are actually named
31203 something starting with __ and the normal name is an alias. */
31204 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31205 choke me
31206 #else
31207 char (*f) () = $ac_func;
31208 #endif
31209 #ifdef __cplusplus
31211 #endif
31214 main ()
31216 return f != $ac_func;
31218 return 0;
31220 _ACEOF
31221 rm -f conftest.$ac_objext conftest$ac_exeext
31222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31223 (eval $ac_link) 2>conftest.er1
31224 ac_status=$?
31225 grep -v '^ *+' conftest.er1 >conftest.err
31226 rm -f conftest.er1
31227 cat conftest.err >&5
31228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31229 (exit $ac_status); } &&
31230 { ac_try='test -z "$ac_c_werror_flag"
31231 || test ! -s conftest.err'
31232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31233 (eval $ac_try) 2>&5
31234 ac_status=$?
31235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31236 (exit $ac_status); }; } &&
31237 { ac_try='test -s conftest$ac_exeext'
31238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31239 (eval $ac_try) 2>&5
31240 ac_status=$?
31241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31242 (exit $ac_status); }; }; then
31243 eval "$as_ac_var=yes"
31244 else
31245 echo "$as_me: failed program was:" >&5
31246 sed 's/^/| /' conftest.$ac_ext >&5
31248 eval "$as_ac_var=no"
31250 rm -f conftest.err conftest.$ac_objext \
31251 conftest$ac_exeext conftest.$ac_ext
31253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31254 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31255 if test `eval echo '${'$as_ac_var'}'` = yes; then
31256 cat >>confdefs.h <<_ACEOF
31257 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31258 _ACEOF
31261 done
31263 else
31265 echo "$as_me:$LINENO: checking for _expl declaration" >&5
31266 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
31267 if test x${glibcxx_cv_func__expl_use+set} != xset; then
31268 if test "${glibcxx_cv_func__expl_use+set}" = set; then
31269 echo $ECHO_N "(cached) $ECHO_C" >&6
31270 else
31274 ac_ext=cc
31275 ac_cpp='$CXXCPP $CPPFLAGS'
31276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31280 cat >conftest.$ac_ext <<_ACEOF
31281 /* confdefs.h. */
31282 _ACEOF
31283 cat confdefs.h >>conftest.$ac_ext
31284 cat >>conftest.$ac_ext <<_ACEOF
31285 /* end confdefs.h. */
31286 #include <math.h>
31287 #ifdef HAVE_IEEEFP_H
31288 #include <ieeefp.h>
31289 #endif
31292 main ()
31294 _expl(0);
31296 return 0;
31298 _ACEOF
31299 rm -f conftest.$ac_objext
31300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31301 (eval $ac_compile) 2>conftest.er1
31302 ac_status=$?
31303 grep -v '^ *+' conftest.er1 >conftest.err
31304 rm -f conftest.er1
31305 cat conftest.err >&5
31306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31307 (exit $ac_status); } &&
31308 { ac_try='test -z "$ac_cxx_werror_flag"
31309 || test ! -s conftest.err'
31310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31311 (eval $ac_try) 2>&5
31312 ac_status=$?
31313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31314 (exit $ac_status); }; } &&
31315 { ac_try='test -s conftest.$ac_objext'
31316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31317 (eval $ac_try) 2>&5
31318 ac_status=$?
31319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31320 (exit $ac_status); }; }; then
31321 glibcxx_cv_func__expl_use=yes
31322 else
31323 echo "$as_me: failed program was:" >&5
31324 sed 's/^/| /' conftest.$ac_ext >&5
31326 glibcxx_cv_func__expl_use=no
31328 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31329 ac_ext=c
31330 ac_cpp='$CPP $CPPFLAGS'
31331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31339 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
31340 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
31342 if test x$glibcxx_cv_func__expl_use = x"yes"; then
31344 for ac_func in _expl
31346 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31347 echo "$as_me:$LINENO: checking for $ac_func" >&5
31348 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31349 if eval "test \"\${$as_ac_var+set}\" = set"; then
31350 echo $ECHO_N "(cached) $ECHO_C" >&6
31351 else
31352 if test x$gcc_no_link = xyes; then
31353 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31354 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31355 { (exit 1); exit 1; }; }
31357 cat >conftest.$ac_ext <<_ACEOF
31358 /* confdefs.h. */
31359 _ACEOF
31360 cat confdefs.h >>conftest.$ac_ext
31361 cat >>conftest.$ac_ext <<_ACEOF
31362 /* end confdefs.h. */
31363 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31364 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31365 #define $ac_func innocuous_$ac_func
31367 /* System header to define __stub macros and hopefully few prototypes,
31368 which can conflict with char $ac_func (); below.
31369 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31370 <limits.h> exists even on freestanding compilers. */
31372 #ifdef __STDC__
31373 # include <limits.h>
31374 #else
31375 # include <assert.h>
31376 #endif
31378 #undef $ac_func
31380 /* Override any gcc2 internal prototype to avoid an error. */
31381 #ifdef __cplusplus
31382 extern "C"
31384 #endif
31385 /* We use char because int might match the return type of a gcc2
31386 builtin and then its argument prototype would still apply. */
31387 char $ac_func ();
31388 /* The GNU C library defines this for functions which it implements
31389 to always fail with ENOSYS. Some functions are actually named
31390 something starting with __ and the normal name is an alias. */
31391 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31392 choke me
31393 #else
31394 char (*f) () = $ac_func;
31395 #endif
31396 #ifdef __cplusplus
31398 #endif
31401 main ()
31403 return f != $ac_func;
31405 return 0;
31407 _ACEOF
31408 rm -f conftest.$ac_objext conftest$ac_exeext
31409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31410 (eval $ac_link) 2>conftest.er1
31411 ac_status=$?
31412 grep -v '^ *+' conftest.er1 >conftest.err
31413 rm -f conftest.er1
31414 cat conftest.err >&5
31415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31416 (exit $ac_status); } &&
31417 { ac_try='test -z "$ac_c_werror_flag"
31418 || test ! -s conftest.err'
31419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31420 (eval $ac_try) 2>&5
31421 ac_status=$?
31422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31423 (exit $ac_status); }; } &&
31424 { ac_try='test -s conftest$ac_exeext'
31425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31426 (eval $ac_try) 2>&5
31427 ac_status=$?
31428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31429 (exit $ac_status); }; }; then
31430 eval "$as_ac_var=yes"
31431 else
31432 echo "$as_me: failed program was:" >&5
31433 sed 's/^/| /' conftest.$ac_ext >&5
31435 eval "$as_ac_var=no"
31437 rm -f conftest.err conftest.$ac_objext \
31438 conftest$ac_exeext conftest.$ac_ext
31440 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31441 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31442 if test `eval echo '${'$as_ac_var'}'` = yes; then
31443 cat >>confdefs.h <<_ACEOF
31444 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31445 _ACEOF
31448 done
31458 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
31459 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
31460 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
31461 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
31462 echo $ECHO_N "(cached) $ECHO_C" >&6
31463 else
31467 ac_ext=cc
31468 ac_cpp='$CXXCPP $CPPFLAGS'
31469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31473 cat >conftest.$ac_ext <<_ACEOF
31474 /* confdefs.h. */
31475 _ACEOF
31476 cat confdefs.h >>conftest.$ac_ext
31477 cat >>conftest.$ac_ext <<_ACEOF
31478 /* end confdefs.h. */
31479 #include <math.h>
31480 #ifdef HAVE_IEEEFP_H
31481 #include <ieeefp.h>
31482 #endif
31485 main ()
31487 fabsl(0);
31489 return 0;
31491 _ACEOF
31492 rm -f conftest.$ac_objext
31493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31494 (eval $ac_compile) 2>conftest.er1
31495 ac_status=$?
31496 grep -v '^ *+' conftest.er1 >conftest.err
31497 rm -f conftest.er1
31498 cat conftest.err >&5
31499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31500 (exit $ac_status); } &&
31501 { ac_try='test -z "$ac_cxx_werror_flag"
31502 || test ! -s conftest.err'
31503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31504 (eval $ac_try) 2>&5
31505 ac_status=$?
31506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31507 (exit $ac_status); }; } &&
31508 { ac_try='test -s conftest.$ac_objext'
31509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31510 (eval $ac_try) 2>&5
31511 ac_status=$?
31512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31513 (exit $ac_status); }; }; then
31514 glibcxx_cv_func_fabsl_use=yes
31515 else
31516 echo "$as_me: failed program was:" >&5
31517 sed 's/^/| /' conftest.$ac_ext >&5
31519 glibcxx_cv_func_fabsl_use=no
31521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31522 ac_ext=c
31523 ac_cpp='$CPP $CPPFLAGS'
31524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31532 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
31533 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
31535 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
31537 for ac_func in fabsl
31539 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31540 echo "$as_me:$LINENO: checking for $ac_func" >&5
31541 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31542 if eval "test \"\${$as_ac_var+set}\" = set"; then
31543 echo $ECHO_N "(cached) $ECHO_C" >&6
31544 else
31545 if test x$gcc_no_link = xyes; then
31546 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31547 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31548 { (exit 1); exit 1; }; }
31550 cat >conftest.$ac_ext <<_ACEOF
31551 /* confdefs.h. */
31552 _ACEOF
31553 cat confdefs.h >>conftest.$ac_ext
31554 cat >>conftest.$ac_ext <<_ACEOF
31555 /* end confdefs.h. */
31556 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31557 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31558 #define $ac_func innocuous_$ac_func
31560 /* System header to define __stub macros and hopefully few prototypes,
31561 which can conflict with char $ac_func (); below.
31562 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31563 <limits.h> exists even on freestanding compilers. */
31565 #ifdef __STDC__
31566 # include <limits.h>
31567 #else
31568 # include <assert.h>
31569 #endif
31571 #undef $ac_func
31573 /* Override any gcc2 internal prototype to avoid an error. */
31574 #ifdef __cplusplus
31575 extern "C"
31577 #endif
31578 /* We use char because int might match the return type of a gcc2
31579 builtin and then its argument prototype would still apply. */
31580 char $ac_func ();
31581 /* The GNU C library defines this for functions which it implements
31582 to always fail with ENOSYS. Some functions are actually named
31583 something starting with __ and the normal name is an alias. */
31584 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31585 choke me
31586 #else
31587 char (*f) () = $ac_func;
31588 #endif
31589 #ifdef __cplusplus
31591 #endif
31594 main ()
31596 return f != $ac_func;
31598 return 0;
31600 _ACEOF
31601 rm -f conftest.$ac_objext conftest$ac_exeext
31602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31603 (eval $ac_link) 2>conftest.er1
31604 ac_status=$?
31605 grep -v '^ *+' conftest.er1 >conftest.err
31606 rm -f conftest.er1
31607 cat conftest.err >&5
31608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31609 (exit $ac_status); } &&
31610 { ac_try='test -z "$ac_c_werror_flag"
31611 || test ! -s conftest.err'
31612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31613 (eval $ac_try) 2>&5
31614 ac_status=$?
31615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31616 (exit $ac_status); }; } &&
31617 { ac_try='test -s conftest$ac_exeext'
31618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31619 (eval $ac_try) 2>&5
31620 ac_status=$?
31621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31622 (exit $ac_status); }; }; then
31623 eval "$as_ac_var=yes"
31624 else
31625 echo "$as_me: failed program was:" >&5
31626 sed 's/^/| /' conftest.$ac_ext >&5
31628 eval "$as_ac_var=no"
31630 rm -f conftest.err conftest.$ac_objext \
31631 conftest$ac_exeext conftest.$ac_ext
31633 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31634 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31635 if test `eval echo '${'$as_ac_var'}'` = yes; then
31636 cat >>confdefs.h <<_ACEOF
31637 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31638 _ACEOF
31641 done
31643 else
31645 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
31646 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
31647 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
31648 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
31649 echo $ECHO_N "(cached) $ECHO_C" >&6
31650 else
31654 ac_ext=cc
31655 ac_cpp='$CXXCPP $CPPFLAGS'
31656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31660 cat >conftest.$ac_ext <<_ACEOF
31661 /* confdefs.h. */
31662 _ACEOF
31663 cat confdefs.h >>conftest.$ac_ext
31664 cat >>conftest.$ac_ext <<_ACEOF
31665 /* end confdefs.h. */
31666 #include <math.h>
31667 #ifdef HAVE_IEEEFP_H
31668 #include <ieeefp.h>
31669 #endif
31672 main ()
31674 _fabsl(0);
31676 return 0;
31678 _ACEOF
31679 rm -f conftest.$ac_objext
31680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31681 (eval $ac_compile) 2>conftest.er1
31682 ac_status=$?
31683 grep -v '^ *+' conftest.er1 >conftest.err
31684 rm -f conftest.er1
31685 cat conftest.err >&5
31686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31687 (exit $ac_status); } &&
31688 { ac_try='test -z "$ac_cxx_werror_flag"
31689 || test ! -s conftest.err'
31690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31691 (eval $ac_try) 2>&5
31692 ac_status=$?
31693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31694 (exit $ac_status); }; } &&
31695 { ac_try='test -s conftest.$ac_objext'
31696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31697 (eval $ac_try) 2>&5
31698 ac_status=$?
31699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31700 (exit $ac_status); }; }; then
31701 glibcxx_cv_func__fabsl_use=yes
31702 else
31703 echo "$as_me: failed program was:" >&5
31704 sed 's/^/| /' conftest.$ac_ext >&5
31706 glibcxx_cv_func__fabsl_use=no
31708 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31709 ac_ext=c
31710 ac_cpp='$CPP $CPPFLAGS'
31711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31719 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
31720 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
31722 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
31724 for ac_func in _fabsl
31726 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31727 echo "$as_me:$LINENO: checking for $ac_func" >&5
31728 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31729 if eval "test \"\${$as_ac_var+set}\" = set"; then
31730 echo $ECHO_N "(cached) $ECHO_C" >&6
31731 else
31732 if test x$gcc_no_link = xyes; then
31733 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31734 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31735 { (exit 1); exit 1; }; }
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31744 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31745 #define $ac_func innocuous_$ac_func
31747 /* System header to define __stub macros and hopefully few prototypes,
31748 which can conflict with char $ac_func (); below.
31749 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31750 <limits.h> exists even on freestanding compilers. */
31752 #ifdef __STDC__
31753 # include <limits.h>
31754 #else
31755 # include <assert.h>
31756 #endif
31758 #undef $ac_func
31760 /* Override any gcc2 internal prototype to avoid an error. */
31761 #ifdef __cplusplus
31762 extern "C"
31764 #endif
31765 /* We use char because int might match the return type of a gcc2
31766 builtin and then its argument prototype would still apply. */
31767 char $ac_func ();
31768 /* The GNU C library defines this for functions which it implements
31769 to always fail with ENOSYS. Some functions are actually named
31770 something starting with __ and the normal name is an alias. */
31771 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31772 choke me
31773 #else
31774 char (*f) () = $ac_func;
31775 #endif
31776 #ifdef __cplusplus
31778 #endif
31781 main ()
31783 return f != $ac_func;
31785 return 0;
31787 _ACEOF
31788 rm -f conftest.$ac_objext conftest$ac_exeext
31789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31790 (eval $ac_link) 2>conftest.er1
31791 ac_status=$?
31792 grep -v '^ *+' conftest.er1 >conftest.err
31793 rm -f conftest.er1
31794 cat conftest.err >&5
31795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31796 (exit $ac_status); } &&
31797 { ac_try='test -z "$ac_c_werror_flag"
31798 || test ! -s conftest.err'
31799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31800 (eval $ac_try) 2>&5
31801 ac_status=$?
31802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31803 (exit $ac_status); }; } &&
31804 { ac_try='test -s conftest$ac_exeext'
31805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31806 (eval $ac_try) 2>&5
31807 ac_status=$?
31808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31809 (exit $ac_status); }; }; then
31810 eval "$as_ac_var=yes"
31811 else
31812 echo "$as_me: failed program was:" >&5
31813 sed 's/^/| /' conftest.$ac_ext >&5
31815 eval "$as_ac_var=no"
31817 rm -f conftest.err conftest.$ac_objext \
31818 conftest$ac_exeext conftest.$ac_ext
31820 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31821 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31822 if test `eval echo '${'$as_ac_var'}'` = yes; then
31823 cat >>confdefs.h <<_ACEOF
31824 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31825 _ACEOF
31828 done
31838 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
31839 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
31840 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
31841 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
31842 echo $ECHO_N "(cached) $ECHO_C" >&6
31843 else
31847 ac_ext=cc
31848 ac_cpp='$CXXCPP $CPPFLAGS'
31849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31853 cat >conftest.$ac_ext <<_ACEOF
31854 /* confdefs.h. */
31855 _ACEOF
31856 cat confdefs.h >>conftest.$ac_ext
31857 cat >>conftest.$ac_ext <<_ACEOF
31858 /* end confdefs.h. */
31859 #include <math.h>
31861 main ()
31863 fmodl(0, 0);
31865 return 0;
31867 _ACEOF
31868 rm -f conftest.$ac_objext
31869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31870 (eval $ac_compile) 2>conftest.er1
31871 ac_status=$?
31872 grep -v '^ *+' conftest.er1 >conftest.err
31873 rm -f conftest.er1
31874 cat conftest.err >&5
31875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31876 (exit $ac_status); } &&
31877 { ac_try='test -z "$ac_cxx_werror_flag"
31878 || test ! -s conftest.err'
31879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31880 (eval $ac_try) 2>&5
31881 ac_status=$?
31882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31883 (exit $ac_status); }; } &&
31884 { ac_try='test -s conftest.$ac_objext'
31885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31886 (eval $ac_try) 2>&5
31887 ac_status=$?
31888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31889 (exit $ac_status); }; }; then
31890 glibcxx_cv_func_fmodl_use=yes
31891 else
31892 echo "$as_me: failed program was:" >&5
31893 sed 's/^/| /' conftest.$ac_ext >&5
31895 glibcxx_cv_func_fmodl_use=no
31897 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31898 ac_ext=c
31899 ac_cpp='$CPP $CPPFLAGS'
31900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31908 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
31909 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
31911 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
31913 for ac_func in fmodl
31915 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31916 echo "$as_me:$LINENO: checking for $ac_func" >&5
31917 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31918 if eval "test \"\${$as_ac_var+set}\" = set"; then
31919 echo $ECHO_N "(cached) $ECHO_C" >&6
31920 else
31921 if test x$gcc_no_link = xyes; then
31922 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31923 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31924 { (exit 1); exit 1; }; }
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31933 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31934 #define $ac_func innocuous_$ac_func
31936 /* System header to define __stub macros and hopefully few prototypes,
31937 which can conflict with char $ac_func (); below.
31938 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31939 <limits.h> exists even on freestanding compilers. */
31941 #ifdef __STDC__
31942 # include <limits.h>
31943 #else
31944 # include <assert.h>
31945 #endif
31947 #undef $ac_func
31949 /* Override any gcc2 internal prototype to avoid an error. */
31950 #ifdef __cplusplus
31951 extern "C"
31953 #endif
31954 /* We use char because int might match the return type of a gcc2
31955 builtin and then its argument prototype would still apply. */
31956 char $ac_func ();
31957 /* The GNU C library defines this for functions which it implements
31958 to always fail with ENOSYS. Some functions are actually named
31959 something starting with __ and the normal name is an alias. */
31960 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31961 choke me
31962 #else
31963 char (*f) () = $ac_func;
31964 #endif
31965 #ifdef __cplusplus
31967 #endif
31970 main ()
31972 return f != $ac_func;
31974 return 0;
31976 _ACEOF
31977 rm -f conftest.$ac_objext conftest$ac_exeext
31978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31979 (eval $ac_link) 2>conftest.er1
31980 ac_status=$?
31981 grep -v '^ *+' conftest.er1 >conftest.err
31982 rm -f conftest.er1
31983 cat conftest.err >&5
31984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31985 (exit $ac_status); } &&
31986 { ac_try='test -z "$ac_c_werror_flag"
31987 || test ! -s conftest.err'
31988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31989 (eval $ac_try) 2>&5
31990 ac_status=$?
31991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31992 (exit $ac_status); }; } &&
31993 { ac_try='test -s conftest$ac_exeext'
31994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31995 (eval $ac_try) 2>&5
31996 ac_status=$?
31997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31998 (exit $ac_status); }; }; then
31999 eval "$as_ac_var=yes"
32000 else
32001 echo "$as_me: failed program was:" >&5
32002 sed 's/^/| /' conftest.$ac_ext >&5
32004 eval "$as_ac_var=no"
32006 rm -f conftest.err conftest.$ac_objext \
32007 conftest$ac_exeext conftest.$ac_ext
32009 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32010 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32011 if test `eval echo '${'$as_ac_var'}'` = yes; then
32012 cat >>confdefs.h <<_ACEOF
32013 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32014 _ACEOF
32017 done
32019 else
32021 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
32022 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
32023 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
32024 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
32025 echo $ECHO_N "(cached) $ECHO_C" >&6
32026 else
32030 ac_ext=cc
32031 ac_cpp='$CXXCPP $CPPFLAGS'
32032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32036 cat >conftest.$ac_ext <<_ACEOF
32037 /* confdefs.h. */
32038 _ACEOF
32039 cat confdefs.h >>conftest.$ac_ext
32040 cat >>conftest.$ac_ext <<_ACEOF
32041 /* end confdefs.h. */
32042 #include <math.h>
32044 main ()
32046 _fmodl(0, 0);
32048 return 0;
32050 _ACEOF
32051 rm -f conftest.$ac_objext
32052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32053 (eval $ac_compile) 2>conftest.er1
32054 ac_status=$?
32055 grep -v '^ *+' conftest.er1 >conftest.err
32056 rm -f conftest.er1
32057 cat conftest.err >&5
32058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32059 (exit $ac_status); } &&
32060 { ac_try='test -z "$ac_cxx_werror_flag"
32061 || test ! -s conftest.err'
32062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32063 (eval $ac_try) 2>&5
32064 ac_status=$?
32065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32066 (exit $ac_status); }; } &&
32067 { ac_try='test -s conftest.$ac_objext'
32068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32069 (eval $ac_try) 2>&5
32070 ac_status=$?
32071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32072 (exit $ac_status); }; }; then
32073 glibcxx_cv_func__fmodl_use=yes
32074 else
32075 echo "$as_me: failed program was:" >&5
32076 sed 's/^/| /' conftest.$ac_ext >&5
32078 glibcxx_cv_func__fmodl_use=no
32080 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32081 ac_ext=c
32082 ac_cpp='$CPP $CPPFLAGS'
32083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32091 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
32092 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
32094 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
32096 for ac_func in _fmodl
32098 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32099 echo "$as_me:$LINENO: checking for $ac_func" >&5
32100 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32101 if eval "test \"\${$as_ac_var+set}\" = set"; then
32102 echo $ECHO_N "(cached) $ECHO_C" >&6
32103 else
32104 if test x$gcc_no_link = xyes; then
32105 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32106 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32107 { (exit 1); exit 1; }; }
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32116 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32117 #define $ac_func innocuous_$ac_func
32119 /* System header to define __stub macros and hopefully few prototypes,
32120 which can conflict with char $ac_func (); below.
32121 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32122 <limits.h> exists even on freestanding compilers. */
32124 #ifdef __STDC__
32125 # include <limits.h>
32126 #else
32127 # include <assert.h>
32128 #endif
32130 #undef $ac_func
32132 /* Override any gcc2 internal prototype to avoid an error. */
32133 #ifdef __cplusplus
32134 extern "C"
32136 #endif
32137 /* We use char because int might match the return type of a gcc2
32138 builtin and then its argument prototype would still apply. */
32139 char $ac_func ();
32140 /* The GNU C library defines this for functions which it implements
32141 to always fail with ENOSYS. Some functions are actually named
32142 something starting with __ and the normal name is an alias. */
32143 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32144 choke me
32145 #else
32146 char (*f) () = $ac_func;
32147 #endif
32148 #ifdef __cplusplus
32150 #endif
32153 main ()
32155 return f != $ac_func;
32157 return 0;
32159 _ACEOF
32160 rm -f conftest.$ac_objext conftest$ac_exeext
32161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32162 (eval $ac_link) 2>conftest.er1
32163 ac_status=$?
32164 grep -v '^ *+' conftest.er1 >conftest.err
32165 rm -f conftest.er1
32166 cat conftest.err >&5
32167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32168 (exit $ac_status); } &&
32169 { ac_try='test -z "$ac_c_werror_flag"
32170 || test ! -s conftest.err'
32171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32172 (eval $ac_try) 2>&5
32173 ac_status=$?
32174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32175 (exit $ac_status); }; } &&
32176 { ac_try='test -s conftest$ac_exeext'
32177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32178 (eval $ac_try) 2>&5
32179 ac_status=$?
32180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32181 (exit $ac_status); }; }; then
32182 eval "$as_ac_var=yes"
32183 else
32184 echo "$as_me: failed program was:" >&5
32185 sed 's/^/| /' conftest.$ac_ext >&5
32187 eval "$as_ac_var=no"
32189 rm -f conftest.err conftest.$ac_objext \
32190 conftest$ac_exeext conftest.$ac_ext
32192 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32193 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32194 if test `eval echo '${'$as_ac_var'}'` = yes; then
32195 cat >>confdefs.h <<_ACEOF
32196 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32197 _ACEOF
32200 done
32210 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
32211 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
32212 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
32213 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
32214 echo $ECHO_N "(cached) $ECHO_C" >&6
32215 else
32219 ac_ext=cc
32220 ac_cpp='$CXXCPP $CPPFLAGS'
32221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32225 cat >conftest.$ac_ext <<_ACEOF
32226 /* confdefs.h. */
32227 _ACEOF
32228 cat confdefs.h >>conftest.$ac_ext
32229 cat >>conftest.$ac_ext <<_ACEOF
32230 /* end confdefs.h. */
32231 #include <math.h>
32233 main ()
32235 frexpl(0, 0);
32237 return 0;
32239 _ACEOF
32240 rm -f conftest.$ac_objext
32241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32242 (eval $ac_compile) 2>conftest.er1
32243 ac_status=$?
32244 grep -v '^ *+' conftest.er1 >conftest.err
32245 rm -f conftest.er1
32246 cat conftest.err >&5
32247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32248 (exit $ac_status); } &&
32249 { ac_try='test -z "$ac_cxx_werror_flag"
32250 || test ! -s conftest.err'
32251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32252 (eval $ac_try) 2>&5
32253 ac_status=$?
32254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32255 (exit $ac_status); }; } &&
32256 { ac_try='test -s conftest.$ac_objext'
32257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32258 (eval $ac_try) 2>&5
32259 ac_status=$?
32260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32261 (exit $ac_status); }; }; then
32262 glibcxx_cv_func_frexpl_use=yes
32263 else
32264 echo "$as_me: failed program was:" >&5
32265 sed 's/^/| /' conftest.$ac_ext >&5
32267 glibcxx_cv_func_frexpl_use=no
32269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32270 ac_ext=c
32271 ac_cpp='$CPP $CPPFLAGS'
32272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32280 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
32281 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
32283 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
32285 for ac_func in frexpl
32287 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32288 echo "$as_me:$LINENO: checking for $ac_func" >&5
32289 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32290 if eval "test \"\${$as_ac_var+set}\" = set"; then
32291 echo $ECHO_N "(cached) $ECHO_C" >&6
32292 else
32293 if test x$gcc_no_link = xyes; then
32294 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32295 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32296 { (exit 1); exit 1; }; }
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32305 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32306 #define $ac_func innocuous_$ac_func
32308 /* System header to define __stub macros and hopefully few prototypes,
32309 which can conflict with char $ac_func (); below.
32310 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32311 <limits.h> exists even on freestanding compilers. */
32313 #ifdef __STDC__
32314 # include <limits.h>
32315 #else
32316 # include <assert.h>
32317 #endif
32319 #undef $ac_func
32321 /* Override any gcc2 internal prototype to avoid an error. */
32322 #ifdef __cplusplus
32323 extern "C"
32325 #endif
32326 /* We use char because int might match the return type of a gcc2
32327 builtin and then its argument prototype would still apply. */
32328 char $ac_func ();
32329 /* The GNU C library defines this for functions which it implements
32330 to always fail with ENOSYS. Some functions are actually named
32331 something starting with __ and the normal name is an alias. */
32332 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32333 choke me
32334 #else
32335 char (*f) () = $ac_func;
32336 #endif
32337 #ifdef __cplusplus
32339 #endif
32342 main ()
32344 return f != $ac_func;
32346 return 0;
32348 _ACEOF
32349 rm -f conftest.$ac_objext conftest$ac_exeext
32350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32351 (eval $ac_link) 2>conftest.er1
32352 ac_status=$?
32353 grep -v '^ *+' conftest.er1 >conftest.err
32354 rm -f conftest.er1
32355 cat conftest.err >&5
32356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32357 (exit $ac_status); } &&
32358 { ac_try='test -z "$ac_c_werror_flag"
32359 || test ! -s conftest.err'
32360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32361 (eval $ac_try) 2>&5
32362 ac_status=$?
32363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32364 (exit $ac_status); }; } &&
32365 { ac_try='test -s conftest$ac_exeext'
32366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32367 (eval $ac_try) 2>&5
32368 ac_status=$?
32369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32370 (exit $ac_status); }; }; then
32371 eval "$as_ac_var=yes"
32372 else
32373 echo "$as_me: failed program was:" >&5
32374 sed 's/^/| /' conftest.$ac_ext >&5
32376 eval "$as_ac_var=no"
32378 rm -f conftest.err conftest.$ac_objext \
32379 conftest$ac_exeext conftest.$ac_ext
32381 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32382 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32383 if test `eval echo '${'$as_ac_var'}'` = yes; then
32384 cat >>confdefs.h <<_ACEOF
32385 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32386 _ACEOF
32389 done
32391 else
32393 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
32394 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
32395 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
32396 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
32397 echo $ECHO_N "(cached) $ECHO_C" >&6
32398 else
32402 ac_ext=cc
32403 ac_cpp='$CXXCPP $CPPFLAGS'
32404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32408 cat >conftest.$ac_ext <<_ACEOF
32409 /* confdefs.h. */
32410 _ACEOF
32411 cat confdefs.h >>conftest.$ac_ext
32412 cat >>conftest.$ac_ext <<_ACEOF
32413 /* end confdefs.h. */
32414 #include <math.h>
32416 main ()
32418 _frexpl(0, 0);
32420 return 0;
32422 _ACEOF
32423 rm -f conftest.$ac_objext
32424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32425 (eval $ac_compile) 2>conftest.er1
32426 ac_status=$?
32427 grep -v '^ *+' conftest.er1 >conftest.err
32428 rm -f conftest.er1
32429 cat conftest.err >&5
32430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32431 (exit $ac_status); } &&
32432 { ac_try='test -z "$ac_cxx_werror_flag"
32433 || test ! -s conftest.err'
32434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32435 (eval $ac_try) 2>&5
32436 ac_status=$?
32437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32438 (exit $ac_status); }; } &&
32439 { ac_try='test -s conftest.$ac_objext'
32440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32441 (eval $ac_try) 2>&5
32442 ac_status=$?
32443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32444 (exit $ac_status); }; }; then
32445 glibcxx_cv_func__frexpl_use=yes
32446 else
32447 echo "$as_me: failed program was:" >&5
32448 sed 's/^/| /' conftest.$ac_ext >&5
32450 glibcxx_cv_func__frexpl_use=no
32452 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32453 ac_ext=c
32454 ac_cpp='$CPP $CPPFLAGS'
32455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32463 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
32464 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
32466 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
32468 for ac_func in _frexpl
32470 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32471 echo "$as_me:$LINENO: checking for $ac_func" >&5
32472 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32473 if eval "test \"\${$as_ac_var+set}\" = set"; then
32474 echo $ECHO_N "(cached) $ECHO_C" >&6
32475 else
32476 if test x$gcc_no_link = xyes; then
32477 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32478 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32479 { (exit 1); exit 1; }; }
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32488 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32489 #define $ac_func innocuous_$ac_func
32491 /* System header to define __stub macros and hopefully few prototypes,
32492 which can conflict with char $ac_func (); below.
32493 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32494 <limits.h> exists even on freestanding compilers. */
32496 #ifdef __STDC__
32497 # include <limits.h>
32498 #else
32499 # include <assert.h>
32500 #endif
32502 #undef $ac_func
32504 /* Override any gcc2 internal prototype to avoid an error. */
32505 #ifdef __cplusplus
32506 extern "C"
32508 #endif
32509 /* We use char because int might match the return type of a gcc2
32510 builtin and then its argument prototype would still apply. */
32511 char $ac_func ();
32512 /* The GNU C library defines this for functions which it implements
32513 to always fail with ENOSYS. Some functions are actually named
32514 something starting with __ and the normal name is an alias. */
32515 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32516 choke me
32517 #else
32518 char (*f) () = $ac_func;
32519 #endif
32520 #ifdef __cplusplus
32522 #endif
32525 main ()
32527 return f != $ac_func;
32529 return 0;
32531 _ACEOF
32532 rm -f conftest.$ac_objext conftest$ac_exeext
32533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32534 (eval $ac_link) 2>conftest.er1
32535 ac_status=$?
32536 grep -v '^ *+' conftest.er1 >conftest.err
32537 rm -f conftest.er1
32538 cat conftest.err >&5
32539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32540 (exit $ac_status); } &&
32541 { ac_try='test -z "$ac_c_werror_flag"
32542 || test ! -s conftest.err'
32543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32544 (eval $ac_try) 2>&5
32545 ac_status=$?
32546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32547 (exit $ac_status); }; } &&
32548 { ac_try='test -s conftest$ac_exeext'
32549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32550 (eval $ac_try) 2>&5
32551 ac_status=$?
32552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32553 (exit $ac_status); }; }; then
32554 eval "$as_ac_var=yes"
32555 else
32556 echo "$as_me: failed program was:" >&5
32557 sed 's/^/| /' conftest.$ac_ext >&5
32559 eval "$as_ac_var=no"
32561 rm -f conftest.err conftest.$ac_objext \
32562 conftest$ac_exeext conftest.$ac_ext
32564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32565 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32566 if test `eval echo '${'$as_ac_var'}'` = yes; then
32567 cat >>confdefs.h <<_ACEOF
32568 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32569 _ACEOF
32572 done
32582 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
32583 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
32584 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
32585 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
32586 echo $ECHO_N "(cached) $ECHO_C" >&6
32587 else
32591 ac_ext=cc
32592 ac_cpp='$CXXCPP $CPPFLAGS'
32593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32597 cat >conftest.$ac_ext <<_ACEOF
32598 /* confdefs.h. */
32599 _ACEOF
32600 cat confdefs.h >>conftest.$ac_ext
32601 cat >>conftest.$ac_ext <<_ACEOF
32602 /* end confdefs.h. */
32603 #include <math.h>
32605 main ()
32607 hypotl(0, 0);
32609 return 0;
32611 _ACEOF
32612 rm -f conftest.$ac_objext
32613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32614 (eval $ac_compile) 2>conftest.er1
32615 ac_status=$?
32616 grep -v '^ *+' conftest.er1 >conftest.err
32617 rm -f conftest.er1
32618 cat conftest.err >&5
32619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32620 (exit $ac_status); } &&
32621 { ac_try='test -z "$ac_cxx_werror_flag"
32622 || test ! -s conftest.err'
32623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32624 (eval $ac_try) 2>&5
32625 ac_status=$?
32626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32627 (exit $ac_status); }; } &&
32628 { ac_try='test -s conftest.$ac_objext'
32629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32630 (eval $ac_try) 2>&5
32631 ac_status=$?
32632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32633 (exit $ac_status); }; }; then
32634 glibcxx_cv_func_hypotl_use=yes
32635 else
32636 echo "$as_me: failed program was:" >&5
32637 sed 's/^/| /' conftest.$ac_ext >&5
32639 glibcxx_cv_func_hypotl_use=no
32641 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32642 ac_ext=c
32643 ac_cpp='$CPP $CPPFLAGS'
32644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32652 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
32653 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
32655 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
32657 for ac_func in hypotl
32659 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32660 echo "$as_me:$LINENO: checking for $ac_func" >&5
32661 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32662 if eval "test \"\${$as_ac_var+set}\" = set"; then
32663 echo $ECHO_N "(cached) $ECHO_C" >&6
32664 else
32665 if test x$gcc_no_link = xyes; then
32666 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32667 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32668 { (exit 1); exit 1; }; }
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32677 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32678 #define $ac_func innocuous_$ac_func
32680 /* System header to define __stub macros and hopefully few prototypes,
32681 which can conflict with char $ac_func (); below.
32682 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32683 <limits.h> exists even on freestanding compilers. */
32685 #ifdef __STDC__
32686 # include <limits.h>
32687 #else
32688 # include <assert.h>
32689 #endif
32691 #undef $ac_func
32693 /* Override any gcc2 internal prototype to avoid an error. */
32694 #ifdef __cplusplus
32695 extern "C"
32697 #endif
32698 /* We use char because int might match the return type of a gcc2
32699 builtin and then its argument prototype would still apply. */
32700 char $ac_func ();
32701 /* The GNU C library defines this for functions which it implements
32702 to always fail with ENOSYS. Some functions are actually named
32703 something starting with __ and the normal name is an alias. */
32704 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32705 choke me
32706 #else
32707 char (*f) () = $ac_func;
32708 #endif
32709 #ifdef __cplusplus
32711 #endif
32714 main ()
32716 return f != $ac_func;
32718 return 0;
32720 _ACEOF
32721 rm -f conftest.$ac_objext conftest$ac_exeext
32722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32723 (eval $ac_link) 2>conftest.er1
32724 ac_status=$?
32725 grep -v '^ *+' conftest.er1 >conftest.err
32726 rm -f conftest.er1
32727 cat conftest.err >&5
32728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32729 (exit $ac_status); } &&
32730 { ac_try='test -z "$ac_c_werror_flag"
32731 || test ! -s conftest.err'
32732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32733 (eval $ac_try) 2>&5
32734 ac_status=$?
32735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32736 (exit $ac_status); }; } &&
32737 { ac_try='test -s conftest$ac_exeext'
32738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32739 (eval $ac_try) 2>&5
32740 ac_status=$?
32741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32742 (exit $ac_status); }; }; then
32743 eval "$as_ac_var=yes"
32744 else
32745 echo "$as_me: failed program was:" >&5
32746 sed 's/^/| /' conftest.$ac_ext >&5
32748 eval "$as_ac_var=no"
32750 rm -f conftest.err conftest.$ac_objext \
32751 conftest$ac_exeext conftest.$ac_ext
32753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32754 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32755 if test `eval echo '${'$as_ac_var'}'` = yes; then
32756 cat >>confdefs.h <<_ACEOF
32757 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32758 _ACEOF
32761 done
32763 else
32765 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
32766 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
32767 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
32768 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
32769 echo $ECHO_N "(cached) $ECHO_C" >&6
32770 else
32774 ac_ext=cc
32775 ac_cpp='$CXXCPP $CPPFLAGS'
32776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32780 cat >conftest.$ac_ext <<_ACEOF
32781 /* confdefs.h. */
32782 _ACEOF
32783 cat confdefs.h >>conftest.$ac_ext
32784 cat >>conftest.$ac_ext <<_ACEOF
32785 /* end confdefs.h. */
32786 #include <math.h>
32788 main ()
32790 _hypotl(0, 0);
32792 return 0;
32794 _ACEOF
32795 rm -f conftest.$ac_objext
32796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32797 (eval $ac_compile) 2>conftest.er1
32798 ac_status=$?
32799 grep -v '^ *+' conftest.er1 >conftest.err
32800 rm -f conftest.er1
32801 cat conftest.err >&5
32802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32803 (exit $ac_status); } &&
32804 { ac_try='test -z "$ac_cxx_werror_flag"
32805 || test ! -s conftest.err'
32806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32807 (eval $ac_try) 2>&5
32808 ac_status=$?
32809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32810 (exit $ac_status); }; } &&
32811 { ac_try='test -s conftest.$ac_objext'
32812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32813 (eval $ac_try) 2>&5
32814 ac_status=$?
32815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32816 (exit $ac_status); }; }; then
32817 glibcxx_cv_func__hypotl_use=yes
32818 else
32819 echo "$as_me: failed program was:" >&5
32820 sed 's/^/| /' conftest.$ac_ext >&5
32822 glibcxx_cv_func__hypotl_use=no
32824 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32825 ac_ext=c
32826 ac_cpp='$CPP $CPPFLAGS'
32827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32835 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
32836 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
32838 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32840 for ac_func in _hypotl
32842 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32843 echo "$as_me:$LINENO: checking for $ac_func" >&5
32844 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32845 if eval "test \"\${$as_ac_var+set}\" = set"; then
32846 echo $ECHO_N "(cached) $ECHO_C" >&6
32847 else
32848 if test x$gcc_no_link = xyes; then
32849 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32850 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32851 { (exit 1); exit 1; }; }
32853 cat >conftest.$ac_ext <<_ACEOF
32854 /* confdefs.h. */
32855 _ACEOF
32856 cat confdefs.h >>conftest.$ac_ext
32857 cat >>conftest.$ac_ext <<_ACEOF
32858 /* end confdefs.h. */
32859 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32860 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32861 #define $ac_func innocuous_$ac_func
32863 /* System header to define __stub macros and hopefully few prototypes,
32864 which can conflict with char $ac_func (); below.
32865 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32866 <limits.h> exists even on freestanding compilers. */
32868 #ifdef __STDC__
32869 # include <limits.h>
32870 #else
32871 # include <assert.h>
32872 #endif
32874 #undef $ac_func
32876 /* Override any gcc2 internal prototype to avoid an error. */
32877 #ifdef __cplusplus
32878 extern "C"
32880 #endif
32881 /* We use char because int might match the return type of a gcc2
32882 builtin and then its argument prototype would still apply. */
32883 char $ac_func ();
32884 /* The GNU C library defines this for functions which it implements
32885 to always fail with ENOSYS. Some functions are actually named
32886 something starting with __ and the normal name is an alias. */
32887 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32888 choke me
32889 #else
32890 char (*f) () = $ac_func;
32891 #endif
32892 #ifdef __cplusplus
32894 #endif
32897 main ()
32899 return f != $ac_func;
32901 return 0;
32903 _ACEOF
32904 rm -f conftest.$ac_objext conftest$ac_exeext
32905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32906 (eval $ac_link) 2>conftest.er1
32907 ac_status=$?
32908 grep -v '^ *+' conftest.er1 >conftest.err
32909 rm -f conftest.er1
32910 cat conftest.err >&5
32911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32912 (exit $ac_status); } &&
32913 { ac_try='test -z "$ac_c_werror_flag"
32914 || test ! -s conftest.err'
32915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32916 (eval $ac_try) 2>&5
32917 ac_status=$?
32918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32919 (exit $ac_status); }; } &&
32920 { ac_try='test -s conftest$ac_exeext'
32921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32922 (eval $ac_try) 2>&5
32923 ac_status=$?
32924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32925 (exit $ac_status); }; }; then
32926 eval "$as_ac_var=yes"
32927 else
32928 echo "$as_me: failed program was:" >&5
32929 sed 's/^/| /' conftest.$ac_ext >&5
32931 eval "$as_ac_var=no"
32933 rm -f conftest.err conftest.$ac_objext \
32934 conftest$ac_exeext conftest.$ac_ext
32936 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32937 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32938 if test `eval echo '${'$as_ac_var'}'` = yes; then
32939 cat >>confdefs.h <<_ACEOF
32940 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32941 _ACEOF
32944 done
32954 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
32955 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
32956 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
32957 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
32958 echo $ECHO_N "(cached) $ECHO_C" >&6
32959 else
32963 ac_ext=cc
32964 ac_cpp='$CXXCPP $CPPFLAGS'
32965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32969 cat >conftest.$ac_ext <<_ACEOF
32970 /* confdefs.h. */
32971 _ACEOF
32972 cat confdefs.h >>conftest.$ac_ext
32973 cat >>conftest.$ac_ext <<_ACEOF
32974 /* end confdefs.h. */
32975 #include <math.h>
32977 main ()
32979 ldexpl(0, 0);
32981 return 0;
32983 _ACEOF
32984 rm -f conftest.$ac_objext
32985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32986 (eval $ac_compile) 2>conftest.er1
32987 ac_status=$?
32988 grep -v '^ *+' conftest.er1 >conftest.err
32989 rm -f conftest.er1
32990 cat conftest.err >&5
32991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32992 (exit $ac_status); } &&
32993 { ac_try='test -z "$ac_cxx_werror_flag"
32994 || test ! -s conftest.err'
32995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32996 (eval $ac_try) 2>&5
32997 ac_status=$?
32998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32999 (exit $ac_status); }; } &&
33000 { ac_try='test -s conftest.$ac_objext'
33001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33002 (eval $ac_try) 2>&5
33003 ac_status=$?
33004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33005 (exit $ac_status); }; }; then
33006 glibcxx_cv_func_ldexpl_use=yes
33007 else
33008 echo "$as_me: failed program was:" >&5
33009 sed 's/^/| /' conftest.$ac_ext >&5
33011 glibcxx_cv_func_ldexpl_use=no
33013 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33014 ac_ext=c
33015 ac_cpp='$CPP $CPPFLAGS'
33016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33024 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
33025 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
33027 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
33029 for ac_func in ldexpl
33031 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33032 echo "$as_me:$LINENO: checking for $ac_func" >&5
33033 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33034 if eval "test \"\${$as_ac_var+set}\" = set"; then
33035 echo $ECHO_N "(cached) $ECHO_C" >&6
33036 else
33037 if test x$gcc_no_link = xyes; then
33038 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33039 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33040 { (exit 1); exit 1; }; }
33042 cat >conftest.$ac_ext <<_ACEOF
33043 /* confdefs.h. */
33044 _ACEOF
33045 cat confdefs.h >>conftest.$ac_ext
33046 cat >>conftest.$ac_ext <<_ACEOF
33047 /* end confdefs.h. */
33048 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33049 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33050 #define $ac_func innocuous_$ac_func
33052 /* System header to define __stub macros and hopefully few prototypes,
33053 which can conflict with char $ac_func (); below.
33054 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33055 <limits.h> exists even on freestanding compilers. */
33057 #ifdef __STDC__
33058 # include <limits.h>
33059 #else
33060 # include <assert.h>
33061 #endif
33063 #undef $ac_func
33065 /* Override any gcc2 internal prototype to avoid an error. */
33066 #ifdef __cplusplus
33067 extern "C"
33069 #endif
33070 /* We use char because int might match the return type of a gcc2
33071 builtin and then its argument prototype would still apply. */
33072 char $ac_func ();
33073 /* The GNU C library defines this for functions which it implements
33074 to always fail with ENOSYS. Some functions are actually named
33075 something starting with __ and the normal name is an alias. */
33076 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33077 choke me
33078 #else
33079 char (*f) () = $ac_func;
33080 #endif
33081 #ifdef __cplusplus
33083 #endif
33086 main ()
33088 return f != $ac_func;
33090 return 0;
33092 _ACEOF
33093 rm -f conftest.$ac_objext conftest$ac_exeext
33094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33095 (eval $ac_link) 2>conftest.er1
33096 ac_status=$?
33097 grep -v '^ *+' conftest.er1 >conftest.err
33098 rm -f conftest.er1
33099 cat conftest.err >&5
33100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33101 (exit $ac_status); } &&
33102 { ac_try='test -z "$ac_c_werror_flag"
33103 || test ! -s conftest.err'
33104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33105 (eval $ac_try) 2>&5
33106 ac_status=$?
33107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33108 (exit $ac_status); }; } &&
33109 { ac_try='test -s conftest$ac_exeext'
33110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33111 (eval $ac_try) 2>&5
33112 ac_status=$?
33113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33114 (exit $ac_status); }; }; then
33115 eval "$as_ac_var=yes"
33116 else
33117 echo "$as_me: failed program was:" >&5
33118 sed 's/^/| /' conftest.$ac_ext >&5
33120 eval "$as_ac_var=no"
33122 rm -f conftest.err conftest.$ac_objext \
33123 conftest$ac_exeext conftest.$ac_ext
33125 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33126 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33127 if test `eval echo '${'$as_ac_var'}'` = yes; then
33128 cat >>confdefs.h <<_ACEOF
33129 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33130 _ACEOF
33133 done
33135 else
33137 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
33138 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
33139 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
33140 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
33141 echo $ECHO_N "(cached) $ECHO_C" >&6
33142 else
33146 ac_ext=cc
33147 ac_cpp='$CXXCPP $CPPFLAGS'
33148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33152 cat >conftest.$ac_ext <<_ACEOF
33153 /* confdefs.h. */
33154 _ACEOF
33155 cat confdefs.h >>conftest.$ac_ext
33156 cat >>conftest.$ac_ext <<_ACEOF
33157 /* end confdefs.h. */
33158 #include <math.h>
33160 main ()
33162 _ldexpl(0, 0);
33164 return 0;
33166 _ACEOF
33167 rm -f conftest.$ac_objext
33168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33169 (eval $ac_compile) 2>conftest.er1
33170 ac_status=$?
33171 grep -v '^ *+' conftest.er1 >conftest.err
33172 rm -f conftest.er1
33173 cat conftest.err >&5
33174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33175 (exit $ac_status); } &&
33176 { ac_try='test -z "$ac_cxx_werror_flag"
33177 || test ! -s conftest.err'
33178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33179 (eval $ac_try) 2>&5
33180 ac_status=$?
33181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33182 (exit $ac_status); }; } &&
33183 { ac_try='test -s conftest.$ac_objext'
33184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33185 (eval $ac_try) 2>&5
33186 ac_status=$?
33187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33188 (exit $ac_status); }; }; then
33189 glibcxx_cv_func__ldexpl_use=yes
33190 else
33191 echo "$as_me: failed program was:" >&5
33192 sed 's/^/| /' conftest.$ac_ext >&5
33194 glibcxx_cv_func__ldexpl_use=no
33196 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33197 ac_ext=c
33198 ac_cpp='$CPP $CPPFLAGS'
33199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33207 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
33208 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
33210 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
33212 for ac_func in _ldexpl
33214 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33215 echo "$as_me:$LINENO: checking for $ac_func" >&5
33216 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33217 if eval "test \"\${$as_ac_var+set}\" = set"; then
33218 echo $ECHO_N "(cached) $ECHO_C" >&6
33219 else
33220 if test x$gcc_no_link = xyes; then
33221 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33222 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33223 { (exit 1); exit 1; }; }
33225 cat >conftest.$ac_ext <<_ACEOF
33226 /* confdefs.h. */
33227 _ACEOF
33228 cat confdefs.h >>conftest.$ac_ext
33229 cat >>conftest.$ac_ext <<_ACEOF
33230 /* end confdefs.h. */
33231 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33232 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33233 #define $ac_func innocuous_$ac_func
33235 /* System header to define __stub macros and hopefully few prototypes,
33236 which can conflict with char $ac_func (); below.
33237 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33238 <limits.h> exists even on freestanding compilers. */
33240 #ifdef __STDC__
33241 # include <limits.h>
33242 #else
33243 # include <assert.h>
33244 #endif
33246 #undef $ac_func
33248 /* Override any gcc2 internal prototype to avoid an error. */
33249 #ifdef __cplusplus
33250 extern "C"
33252 #endif
33253 /* We use char because int might match the return type of a gcc2
33254 builtin and then its argument prototype would still apply. */
33255 char $ac_func ();
33256 /* The GNU C library defines this for functions which it implements
33257 to always fail with ENOSYS. Some functions are actually named
33258 something starting with __ and the normal name is an alias. */
33259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33260 choke me
33261 #else
33262 char (*f) () = $ac_func;
33263 #endif
33264 #ifdef __cplusplus
33266 #endif
33269 main ()
33271 return f != $ac_func;
33273 return 0;
33275 _ACEOF
33276 rm -f conftest.$ac_objext conftest$ac_exeext
33277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33278 (eval $ac_link) 2>conftest.er1
33279 ac_status=$?
33280 grep -v '^ *+' conftest.er1 >conftest.err
33281 rm -f conftest.er1
33282 cat conftest.err >&5
33283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33284 (exit $ac_status); } &&
33285 { ac_try='test -z "$ac_c_werror_flag"
33286 || test ! -s conftest.err'
33287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33288 (eval $ac_try) 2>&5
33289 ac_status=$?
33290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33291 (exit $ac_status); }; } &&
33292 { ac_try='test -s conftest$ac_exeext'
33293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33294 (eval $ac_try) 2>&5
33295 ac_status=$?
33296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33297 (exit $ac_status); }; }; then
33298 eval "$as_ac_var=yes"
33299 else
33300 echo "$as_me: failed program was:" >&5
33301 sed 's/^/| /' conftest.$ac_ext >&5
33303 eval "$as_ac_var=no"
33305 rm -f conftest.err conftest.$ac_objext \
33306 conftest$ac_exeext conftest.$ac_ext
33308 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33309 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33310 if test `eval echo '${'$as_ac_var'}'` = yes; then
33311 cat >>confdefs.h <<_ACEOF
33312 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33313 _ACEOF
33316 done
33326 echo "$as_me:$LINENO: checking for logl declaration" >&5
33327 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
33328 if test x${glibcxx_cv_func_logl_use+set} != xset; then
33329 if test "${glibcxx_cv_func_logl_use+set}" = set; then
33330 echo $ECHO_N "(cached) $ECHO_C" >&6
33331 else
33335 ac_ext=cc
33336 ac_cpp='$CXXCPP $CPPFLAGS'
33337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33341 cat >conftest.$ac_ext <<_ACEOF
33342 /* confdefs.h. */
33343 _ACEOF
33344 cat confdefs.h >>conftest.$ac_ext
33345 cat >>conftest.$ac_ext <<_ACEOF
33346 /* end confdefs.h. */
33347 #include <math.h>
33348 #ifdef HAVE_IEEEFP_H
33349 #include <ieeefp.h>
33350 #endif
33353 main ()
33355 logl(0);
33357 return 0;
33359 _ACEOF
33360 rm -f conftest.$ac_objext
33361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33362 (eval $ac_compile) 2>conftest.er1
33363 ac_status=$?
33364 grep -v '^ *+' conftest.er1 >conftest.err
33365 rm -f conftest.er1
33366 cat conftest.err >&5
33367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33368 (exit $ac_status); } &&
33369 { ac_try='test -z "$ac_cxx_werror_flag"
33370 || test ! -s conftest.err'
33371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33372 (eval $ac_try) 2>&5
33373 ac_status=$?
33374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33375 (exit $ac_status); }; } &&
33376 { ac_try='test -s conftest.$ac_objext'
33377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33378 (eval $ac_try) 2>&5
33379 ac_status=$?
33380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33381 (exit $ac_status); }; }; then
33382 glibcxx_cv_func_logl_use=yes
33383 else
33384 echo "$as_me: failed program was:" >&5
33385 sed 's/^/| /' conftest.$ac_ext >&5
33387 glibcxx_cv_func_logl_use=no
33389 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33390 ac_ext=c
33391 ac_cpp='$CPP $CPPFLAGS'
33392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33400 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
33401 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
33403 if test x$glibcxx_cv_func_logl_use = x"yes"; then
33405 for ac_func in logl
33407 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33408 echo "$as_me:$LINENO: checking for $ac_func" >&5
33409 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33410 if eval "test \"\${$as_ac_var+set}\" = set"; then
33411 echo $ECHO_N "(cached) $ECHO_C" >&6
33412 else
33413 if test x$gcc_no_link = xyes; then
33414 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33415 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33416 { (exit 1); exit 1; }; }
33418 cat >conftest.$ac_ext <<_ACEOF
33419 /* confdefs.h. */
33420 _ACEOF
33421 cat confdefs.h >>conftest.$ac_ext
33422 cat >>conftest.$ac_ext <<_ACEOF
33423 /* end confdefs.h. */
33424 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33425 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33426 #define $ac_func innocuous_$ac_func
33428 /* System header to define __stub macros and hopefully few prototypes,
33429 which can conflict with char $ac_func (); below.
33430 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33431 <limits.h> exists even on freestanding compilers. */
33433 #ifdef __STDC__
33434 # include <limits.h>
33435 #else
33436 # include <assert.h>
33437 #endif
33439 #undef $ac_func
33441 /* Override any gcc2 internal prototype to avoid an error. */
33442 #ifdef __cplusplus
33443 extern "C"
33445 #endif
33446 /* We use char because int might match the return type of a gcc2
33447 builtin and then its argument prototype would still apply. */
33448 char $ac_func ();
33449 /* The GNU C library defines this for functions which it implements
33450 to always fail with ENOSYS. Some functions are actually named
33451 something starting with __ and the normal name is an alias. */
33452 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33453 choke me
33454 #else
33455 char (*f) () = $ac_func;
33456 #endif
33457 #ifdef __cplusplus
33459 #endif
33462 main ()
33464 return f != $ac_func;
33466 return 0;
33468 _ACEOF
33469 rm -f conftest.$ac_objext conftest$ac_exeext
33470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33471 (eval $ac_link) 2>conftest.er1
33472 ac_status=$?
33473 grep -v '^ *+' conftest.er1 >conftest.err
33474 rm -f conftest.er1
33475 cat conftest.err >&5
33476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33477 (exit $ac_status); } &&
33478 { ac_try='test -z "$ac_c_werror_flag"
33479 || test ! -s conftest.err'
33480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33481 (eval $ac_try) 2>&5
33482 ac_status=$?
33483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33484 (exit $ac_status); }; } &&
33485 { ac_try='test -s conftest$ac_exeext'
33486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33487 (eval $ac_try) 2>&5
33488 ac_status=$?
33489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33490 (exit $ac_status); }; }; then
33491 eval "$as_ac_var=yes"
33492 else
33493 echo "$as_me: failed program was:" >&5
33494 sed 's/^/| /' conftest.$ac_ext >&5
33496 eval "$as_ac_var=no"
33498 rm -f conftest.err conftest.$ac_objext \
33499 conftest$ac_exeext conftest.$ac_ext
33501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33502 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33503 if test `eval echo '${'$as_ac_var'}'` = yes; then
33504 cat >>confdefs.h <<_ACEOF
33505 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33506 _ACEOF
33509 done
33511 else
33513 echo "$as_me:$LINENO: checking for _logl declaration" >&5
33514 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
33515 if test x${glibcxx_cv_func__logl_use+set} != xset; then
33516 if test "${glibcxx_cv_func__logl_use+set}" = set; then
33517 echo $ECHO_N "(cached) $ECHO_C" >&6
33518 else
33522 ac_ext=cc
33523 ac_cpp='$CXXCPP $CPPFLAGS'
33524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33528 cat >conftest.$ac_ext <<_ACEOF
33529 /* confdefs.h. */
33530 _ACEOF
33531 cat confdefs.h >>conftest.$ac_ext
33532 cat >>conftest.$ac_ext <<_ACEOF
33533 /* end confdefs.h. */
33534 #include <math.h>
33535 #ifdef HAVE_IEEEFP_H
33536 #include <ieeefp.h>
33537 #endif
33540 main ()
33542 _logl(0);
33544 return 0;
33546 _ACEOF
33547 rm -f conftest.$ac_objext
33548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33549 (eval $ac_compile) 2>conftest.er1
33550 ac_status=$?
33551 grep -v '^ *+' conftest.er1 >conftest.err
33552 rm -f conftest.er1
33553 cat conftest.err >&5
33554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33555 (exit $ac_status); } &&
33556 { ac_try='test -z "$ac_cxx_werror_flag"
33557 || test ! -s conftest.err'
33558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33559 (eval $ac_try) 2>&5
33560 ac_status=$?
33561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33562 (exit $ac_status); }; } &&
33563 { ac_try='test -s conftest.$ac_objext'
33564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33565 (eval $ac_try) 2>&5
33566 ac_status=$?
33567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33568 (exit $ac_status); }; }; then
33569 glibcxx_cv_func__logl_use=yes
33570 else
33571 echo "$as_me: failed program was:" >&5
33572 sed 's/^/| /' conftest.$ac_ext >&5
33574 glibcxx_cv_func__logl_use=no
33576 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33577 ac_ext=c
33578 ac_cpp='$CPP $CPPFLAGS'
33579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33587 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
33588 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
33590 if test x$glibcxx_cv_func__logl_use = x"yes"; then
33592 for ac_func in _logl
33594 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33595 echo "$as_me:$LINENO: checking for $ac_func" >&5
33596 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33597 if eval "test \"\${$as_ac_var+set}\" = set"; then
33598 echo $ECHO_N "(cached) $ECHO_C" >&6
33599 else
33600 if test x$gcc_no_link = xyes; then
33601 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33602 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33603 { (exit 1); exit 1; }; }
33605 cat >conftest.$ac_ext <<_ACEOF
33606 /* confdefs.h. */
33607 _ACEOF
33608 cat confdefs.h >>conftest.$ac_ext
33609 cat >>conftest.$ac_ext <<_ACEOF
33610 /* end confdefs.h. */
33611 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33612 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33613 #define $ac_func innocuous_$ac_func
33615 /* System header to define __stub macros and hopefully few prototypes,
33616 which can conflict with char $ac_func (); below.
33617 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33618 <limits.h> exists even on freestanding compilers. */
33620 #ifdef __STDC__
33621 # include <limits.h>
33622 #else
33623 # include <assert.h>
33624 #endif
33626 #undef $ac_func
33628 /* Override any gcc2 internal prototype to avoid an error. */
33629 #ifdef __cplusplus
33630 extern "C"
33632 #endif
33633 /* We use char because int might match the return type of a gcc2
33634 builtin and then its argument prototype would still apply. */
33635 char $ac_func ();
33636 /* The GNU C library defines this for functions which it implements
33637 to always fail with ENOSYS. Some functions are actually named
33638 something starting with __ and the normal name is an alias. */
33639 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33640 choke me
33641 #else
33642 char (*f) () = $ac_func;
33643 #endif
33644 #ifdef __cplusplus
33646 #endif
33649 main ()
33651 return f != $ac_func;
33653 return 0;
33655 _ACEOF
33656 rm -f conftest.$ac_objext conftest$ac_exeext
33657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33658 (eval $ac_link) 2>conftest.er1
33659 ac_status=$?
33660 grep -v '^ *+' conftest.er1 >conftest.err
33661 rm -f conftest.er1
33662 cat conftest.err >&5
33663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33664 (exit $ac_status); } &&
33665 { ac_try='test -z "$ac_c_werror_flag"
33666 || test ! -s conftest.err'
33667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33668 (eval $ac_try) 2>&5
33669 ac_status=$?
33670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33671 (exit $ac_status); }; } &&
33672 { ac_try='test -s conftest$ac_exeext'
33673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33674 (eval $ac_try) 2>&5
33675 ac_status=$?
33676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33677 (exit $ac_status); }; }; then
33678 eval "$as_ac_var=yes"
33679 else
33680 echo "$as_me: failed program was:" >&5
33681 sed 's/^/| /' conftest.$ac_ext >&5
33683 eval "$as_ac_var=no"
33685 rm -f conftest.err conftest.$ac_objext \
33686 conftest$ac_exeext conftest.$ac_ext
33688 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33689 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33690 if test `eval echo '${'$as_ac_var'}'` = yes; then
33691 cat >>confdefs.h <<_ACEOF
33692 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33693 _ACEOF
33696 done
33706 echo "$as_me:$LINENO: checking for log10l declaration" >&5
33707 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
33708 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
33709 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
33710 echo $ECHO_N "(cached) $ECHO_C" >&6
33711 else
33715 ac_ext=cc
33716 ac_cpp='$CXXCPP $CPPFLAGS'
33717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33721 cat >conftest.$ac_ext <<_ACEOF
33722 /* confdefs.h. */
33723 _ACEOF
33724 cat confdefs.h >>conftest.$ac_ext
33725 cat >>conftest.$ac_ext <<_ACEOF
33726 /* end confdefs.h. */
33727 #include <math.h>
33728 #ifdef HAVE_IEEEFP_H
33729 #include <ieeefp.h>
33730 #endif
33733 main ()
33735 log10l(0);
33737 return 0;
33739 _ACEOF
33740 rm -f conftest.$ac_objext
33741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33742 (eval $ac_compile) 2>conftest.er1
33743 ac_status=$?
33744 grep -v '^ *+' conftest.er1 >conftest.err
33745 rm -f conftest.er1
33746 cat conftest.err >&5
33747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33748 (exit $ac_status); } &&
33749 { ac_try='test -z "$ac_cxx_werror_flag"
33750 || test ! -s conftest.err'
33751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33752 (eval $ac_try) 2>&5
33753 ac_status=$?
33754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33755 (exit $ac_status); }; } &&
33756 { ac_try='test -s conftest.$ac_objext'
33757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33758 (eval $ac_try) 2>&5
33759 ac_status=$?
33760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33761 (exit $ac_status); }; }; then
33762 glibcxx_cv_func_log10l_use=yes
33763 else
33764 echo "$as_me: failed program was:" >&5
33765 sed 's/^/| /' conftest.$ac_ext >&5
33767 glibcxx_cv_func_log10l_use=no
33769 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33770 ac_ext=c
33771 ac_cpp='$CPP $CPPFLAGS'
33772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33780 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
33781 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
33783 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
33785 for ac_func in log10l
33787 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33788 echo "$as_me:$LINENO: checking for $ac_func" >&5
33789 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33790 if eval "test \"\${$as_ac_var+set}\" = set"; then
33791 echo $ECHO_N "(cached) $ECHO_C" >&6
33792 else
33793 if test x$gcc_no_link = xyes; then
33794 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33795 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33796 { (exit 1); exit 1; }; }
33798 cat >conftest.$ac_ext <<_ACEOF
33799 /* confdefs.h. */
33800 _ACEOF
33801 cat confdefs.h >>conftest.$ac_ext
33802 cat >>conftest.$ac_ext <<_ACEOF
33803 /* end confdefs.h. */
33804 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33805 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33806 #define $ac_func innocuous_$ac_func
33808 /* System header to define __stub macros and hopefully few prototypes,
33809 which can conflict with char $ac_func (); below.
33810 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33811 <limits.h> exists even on freestanding compilers. */
33813 #ifdef __STDC__
33814 # include <limits.h>
33815 #else
33816 # include <assert.h>
33817 #endif
33819 #undef $ac_func
33821 /* Override any gcc2 internal prototype to avoid an error. */
33822 #ifdef __cplusplus
33823 extern "C"
33825 #endif
33826 /* We use char because int might match the return type of a gcc2
33827 builtin and then its argument prototype would still apply. */
33828 char $ac_func ();
33829 /* The GNU C library defines this for functions which it implements
33830 to always fail with ENOSYS. Some functions are actually named
33831 something starting with __ and the normal name is an alias. */
33832 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33833 choke me
33834 #else
33835 char (*f) () = $ac_func;
33836 #endif
33837 #ifdef __cplusplus
33839 #endif
33842 main ()
33844 return f != $ac_func;
33846 return 0;
33848 _ACEOF
33849 rm -f conftest.$ac_objext conftest$ac_exeext
33850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33851 (eval $ac_link) 2>conftest.er1
33852 ac_status=$?
33853 grep -v '^ *+' conftest.er1 >conftest.err
33854 rm -f conftest.er1
33855 cat conftest.err >&5
33856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33857 (exit $ac_status); } &&
33858 { ac_try='test -z "$ac_c_werror_flag"
33859 || test ! -s conftest.err'
33860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33861 (eval $ac_try) 2>&5
33862 ac_status=$?
33863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33864 (exit $ac_status); }; } &&
33865 { ac_try='test -s conftest$ac_exeext'
33866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33867 (eval $ac_try) 2>&5
33868 ac_status=$?
33869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33870 (exit $ac_status); }; }; then
33871 eval "$as_ac_var=yes"
33872 else
33873 echo "$as_me: failed program was:" >&5
33874 sed 's/^/| /' conftest.$ac_ext >&5
33876 eval "$as_ac_var=no"
33878 rm -f conftest.err conftest.$ac_objext \
33879 conftest$ac_exeext conftest.$ac_ext
33881 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33882 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33883 if test `eval echo '${'$as_ac_var'}'` = yes; then
33884 cat >>confdefs.h <<_ACEOF
33885 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33886 _ACEOF
33889 done
33891 else
33893 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
33894 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
33895 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
33896 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
33897 echo $ECHO_N "(cached) $ECHO_C" >&6
33898 else
33902 ac_ext=cc
33903 ac_cpp='$CXXCPP $CPPFLAGS'
33904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33908 cat >conftest.$ac_ext <<_ACEOF
33909 /* confdefs.h. */
33910 _ACEOF
33911 cat confdefs.h >>conftest.$ac_ext
33912 cat >>conftest.$ac_ext <<_ACEOF
33913 /* end confdefs.h. */
33914 #include <math.h>
33915 #ifdef HAVE_IEEEFP_H
33916 #include <ieeefp.h>
33917 #endif
33920 main ()
33922 _log10l(0);
33924 return 0;
33926 _ACEOF
33927 rm -f conftest.$ac_objext
33928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33929 (eval $ac_compile) 2>conftest.er1
33930 ac_status=$?
33931 grep -v '^ *+' conftest.er1 >conftest.err
33932 rm -f conftest.er1
33933 cat conftest.err >&5
33934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33935 (exit $ac_status); } &&
33936 { ac_try='test -z "$ac_cxx_werror_flag"
33937 || test ! -s conftest.err'
33938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33939 (eval $ac_try) 2>&5
33940 ac_status=$?
33941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33942 (exit $ac_status); }; } &&
33943 { ac_try='test -s conftest.$ac_objext'
33944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33945 (eval $ac_try) 2>&5
33946 ac_status=$?
33947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33948 (exit $ac_status); }; }; then
33949 glibcxx_cv_func__log10l_use=yes
33950 else
33951 echo "$as_me: failed program was:" >&5
33952 sed 's/^/| /' conftest.$ac_ext >&5
33954 glibcxx_cv_func__log10l_use=no
33956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33957 ac_ext=c
33958 ac_cpp='$CPP $CPPFLAGS'
33959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33967 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
33968 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
33970 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
33972 for ac_func in _log10l
33974 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33975 echo "$as_me:$LINENO: checking for $ac_func" >&5
33976 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33977 if eval "test \"\${$as_ac_var+set}\" = set"; then
33978 echo $ECHO_N "(cached) $ECHO_C" >&6
33979 else
33980 if test x$gcc_no_link = xyes; then
33981 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33982 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33983 { (exit 1); exit 1; }; }
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33992 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33993 #define $ac_func innocuous_$ac_func
33995 /* System header to define __stub macros and hopefully few prototypes,
33996 which can conflict with char $ac_func (); below.
33997 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33998 <limits.h> exists even on freestanding compilers. */
34000 #ifdef __STDC__
34001 # include <limits.h>
34002 #else
34003 # include <assert.h>
34004 #endif
34006 #undef $ac_func
34008 /* Override any gcc2 internal prototype to avoid an error. */
34009 #ifdef __cplusplus
34010 extern "C"
34012 #endif
34013 /* We use char because int might match the return type of a gcc2
34014 builtin and then its argument prototype would still apply. */
34015 char $ac_func ();
34016 /* The GNU C library defines this for functions which it implements
34017 to always fail with ENOSYS. Some functions are actually named
34018 something starting with __ and the normal name is an alias. */
34019 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34020 choke me
34021 #else
34022 char (*f) () = $ac_func;
34023 #endif
34024 #ifdef __cplusplus
34026 #endif
34029 main ()
34031 return f != $ac_func;
34033 return 0;
34035 _ACEOF
34036 rm -f conftest.$ac_objext conftest$ac_exeext
34037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34038 (eval $ac_link) 2>conftest.er1
34039 ac_status=$?
34040 grep -v '^ *+' conftest.er1 >conftest.err
34041 rm -f conftest.er1
34042 cat conftest.err >&5
34043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34044 (exit $ac_status); } &&
34045 { ac_try='test -z "$ac_c_werror_flag"
34046 || test ! -s conftest.err'
34047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34048 (eval $ac_try) 2>&5
34049 ac_status=$?
34050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34051 (exit $ac_status); }; } &&
34052 { ac_try='test -s conftest$ac_exeext'
34053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34054 (eval $ac_try) 2>&5
34055 ac_status=$?
34056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34057 (exit $ac_status); }; }; then
34058 eval "$as_ac_var=yes"
34059 else
34060 echo "$as_me: failed program was:" >&5
34061 sed 's/^/| /' conftest.$ac_ext >&5
34063 eval "$as_ac_var=no"
34065 rm -f conftest.err conftest.$ac_objext \
34066 conftest$ac_exeext conftest.$ac_ext
34068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34069 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34070 if test `eval echo '${'$as_ac_var'}'` = yes; then
34071 cat >>confdefs.h <<_ACEOF
34072 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34073 _ACEOF
34076 done
34086 echo "$as_me:$LINENO: checking for modfl declaration" >&5
34087 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
34088 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
34089 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
34090 echo $ECHO_N "(cached) $ECHO_C" >&6
34091 else
34095 ac_ext=cc
34096 ac_cpp='$CXXCPP $CPPFLAGS'
34097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34101 cat >conftest.$ac_ext <<_ACEOF
34102 /* confdefs.h. */
34103 _ACEOF
34104 cat confdefs.h >>conftest.$ac_ext
34105 cat >>conftest.$ac_ext <<_ACEOF
34106 /* end confdefs.h. */
34107 #include <math.h>
34109 main ()
34111 modfl(0, 0);
34113 return 0;
34115 _ACEOF
34116 rm -f conftest.$ac_objext
34117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34118 (eval $ac_compile) 2>conftest.er1
34119 ac_status=$?
34120 grep -v '^ *+' conftest.er1 >conftest.err
34121 rm -f conftest.er1
34122 cat conftest.err >&5
34123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34124 (exit $ac_status); } &&
34125 { ac_try='test -z "$ac_cxx_werror_flag"
34126 || test ! -s conftest.err'
34127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34128 (eval $ac_try) 2>&5
34129 ac_status=$?
34130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34131 (exit $ac_status); }; } &&
34132 { ac_try='test -s conftest.$ac_objext'
34133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34134 (eval $ac_try) 2>&5
34135 ac_status=$?
34136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34137 (exit $ac_status); }; }; then
34138 glibcxx_cv_func_modfl_use=yes
34139 else
34140 echo "$as_me: failed program was:" >&5
34141 sed 's/^/| /' conftest.$ac_ext >&5
34143 glibcxx_cv_func_modfl_use=no
34145 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34146 ac_ext=c
34147 ac_cpp='$CPP $CPPFLAGS'
34148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34156 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
34157 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
34159 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
34161 for ac_func in modfl
34163 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34164 echo "$as_me:$LINENO: checking for $ac_func" >&5
34165 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34166 if eval "test \"\${$as_ac_var+set}\" = set"; then
34167 echo $ECHO_N "(cached) $ECHO_C" >&6
34168 else
34169 if test x$gcc_no_link = xyes; then
34170 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34171 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34172 { (exit 1); exit 1; }; }
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34181 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34182 #define $ac_func innocuous_$ac_func
34184 /* System header to define __stub macros and hopefully few prototypes,
34185 which can conflict with char $ac_func (); below.
34186 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34187 <limits.h> exists even on freestanding compilers. */
34189 #ifdef __STDC__
34190 # include <limits.h>
34191 #else
34192 # include <assert.h>
34193 #endif
34195 #undef $ac_func
34197 /* Override any gcc2 internal prototype to avoid an error. */
34198 #ifdef __cplusplus
34199 extern "C"
34201 #endif
34202 /* We use char because int might match the return type of a gcc2
34203 builtin and then its argument prototype would still apply. */
34204 char $ac_func ();
34205 /* The GNU C library defines this for functions which it implements
34206 to always fail with ENOSYS. Some functions are actually named
34207 something starting with __ and the normal name is an alias. */
34208 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34209 choke me
34210 #else
34211 char (*f) () = $ac_func;
34212 #endif
34213 #ifdef __cplusplus
34215 #endif
34218 main ()
34220 return f != $ac_func;
34222 return 0;
34224 _ACEOF
34225 rm -f conftest.$ac_objext conftest$ac_exeext
34226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34227 (eval $ac_link) 2>conftest.er1
34228 ac_status=$?
34229 grep -v '^ *+' conftest.er1 >conftest.err
34230 rm -f conftest.er1
34231 cat conftest.err >&5
34232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34233 (exit $ac_status); } &&
34234 { ac_try='test -z "$ac_c_werror_flag"
34235 || test ! -s conftest.err'
34236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34237 (eval $ac_try) 2>&5
34238 ac_status=$?
34239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34240 (exit $ac_status); }; } &&
34241 { ac_try='test -s conftest$ac_exeext'
34242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34243 (eval $ac_try) 2>&5
34244 ac_status=$?
34245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34246 (exit $ac_status); }; }; then
34247 eval "$as_ac_var=yes"
34248 else
34249 echo "$as_me: failed program was:" >&5
34250 sed 's/^/| /' conftest.$ac_ext >&5
34252 eval "$as_ac_var=no"
34254 rm -f conftest.err conftest.$ac_objext \
34255 conftest$ac_exeext conftest.$ac_ext
34257 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34258 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34259 if test `eval echo '${'$as_ac_var'}'` = yes; then
34260 cat >>confdefs.h <<_ACEOF
34261 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34262 _ACEOF
34265 done
34267 else
34269 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
34270 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
34271 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
34272 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
34273 echo $ECHO_N "(cached) $ECHO_C" >&6
34274 else
34278 ac_ext=cc
34279 ac_cpp='$CXXCPP $CPPFLAGS'
34280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34284 cat >conftest.$ac_ext <<_ACEOF
34285 /* confdefs.h. */
34286 _ACEOF
34287 cat confdefs.h >>conftest.$ac_ext
34288 cat >>conftest.$ac_ext <<_ACEOF
34289 /* end confdefs.h. */
34290 #include <math.h>
34292 main ()
34294 _modfl(0, 0);
34296 return 0;
34298 _ACEOF
34299 rm -f conftest.$ac_objext
34300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34301 (eval $ac_compile) 2>conftest.er1
34302 ac_status=$?
34303 grep -v '^ *+' conftest.er1 >conftest.err
34304 rm -f conftest.er1
34305 cat conftest.err >&5
34306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34307 (exit $ac_status); } &&
34308 { ac_try='test -z "$ac_cxx_werror_flag"
34309 || test ! -s conftest.err'
34310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34311 (eval $ac_try) 2>&5
34312 ac_status=$?
34313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34314 (exit $ac_status); }; } &&
34315 { ac_try='test -s conftest.$ac_objext'
34316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34317 (eval $ac_try) 2>&5
34318 ac_status=$?
34319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34320 (exit $ac_status); }; }; then
34321 glibcxx_cv_func__modfl_use=yes
34322 else
34323 echo "$as_me: failed program was:" >&5
34324 sed 's/^/| /' conftest.$ac_ext >&5
34326 glibcxx_cv_func__modfl_use=no
34328 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34329 ac_ext=c
34330 ac_cpp='$CPP $CPPFLAGS'
34331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34339 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
34340 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
34342 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
34344 for ac_func in _modfl
34346 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34347 echo "$as_me:$LINENO: checking for $ac_func" >&5
34348 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34349 if eval "test \"\${$as_ac_var+set}\" = set"; then
34350 echo $ECHO_N "(cached) $ECHO_C" >&6
34351 else
34352 if test x$gcc_no_link = xyes; then
34353 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34354 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34355 { (exit 1); exit 1; }; }
34357 cat >conftest.$ac_ext <<_ACEOF
34358 /* confdefs.h. */
34359 _ACEOF
34360 cat confdefs.h >>conftest.$ac_ext
34361 cat >>conftest.$ac_ext <<_ACEOF
34362 /* end confdefs.h. */
34363 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34364 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34365 #define $ac_func innocuous_$ac_func
34367 /* System header to define __stub macros and hopefully few prototypes,
34368 which can conflict with char $ac_func (); below.
34369 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34370 <limits.h> exists even on freestanding compilers. */
34372 #ifdef __STDC__
34373 # include <limits.h>
34374 #else
34375 # include <assert.h>
34376 #endif
34378 #undef $ac_func
34380 /* Override any gcc2 internal prototype to avoid an error. */
34381 #ifdef __cplusplus
34382 extern "C"
34384 #endif
34385 /* We use char because int might match the return type of a gcc2
34386 builtin and then its argument prototype would still apply. */
34387 char $ac_func ();
34388 /* The GNU C library defines this for functions which it implements
34389 to always fail with ENOSYS. Some functions are actually named
34390 something starting with __ and the normal name is an alias. */
34391 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34392 choke me
34393 #else
34394 char (*f) () = $ac_func;
34395 #endif
34396 #ifdef __cplusplus
34398 #endif
34401 main ()
34403 return f != $ac_func;
34405 return 0;
34407 _ACEOF
34408 rm -f conftest.$ac_objext conftest$ac_exeext
34409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34410 (eval $ac_link) 2>conftest.er1
34411 ac_status=$?
34412 grep -v '^ *+' conftest.er1 >conftest.err
34413 rm -f conftest.er1
34414 cat conftest.err >&5
34415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34416 (exit $ac_status); } &&
34417 { ac_try='test -z "$ac_c_werror_flag"
34418 || test ! -s conftest.err'
34419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34420 (eval $ac_try) 2>&5
34421 ac_status=$?
34422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34423 (exit $ac_status); }; } &&
34424 { ac_try='test -s conftest$ac_exeext'
34425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34426 (eval $ac_try) 2>&5
34427 ac_status=$?
34428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34429 (exit $ac_status); }; }; then
34430 eval "$as_ac_var=yes"
34431 else
34432 echo "$as_me: failed program was:" >&5
34433 sed 's/^/| /' conftest.$ac_ext >&5
34435 eval "$as_ac_var=no"
34437 rm -f conftest.err conftest.$ac_objext \
34438 conftest$ac_exeext conftest.$ac_ext
34440 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34441 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34442 if test `eval echo '${'$as_ac_var'}'` = yes; then
34443 cat >>confdefs.h <<_ACEOF
34444 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34445 _ACEOF
34448 done
34458 echo "$as_me:$LINENO: checking for powl declaration" >&5
34459 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
34460 if test x${glibcxx_cv_func_powl_use+set} != xset; then
34461 if test "${glibcxx_cv_func_powl_use+set}" = set; then
34462 echo $ECHO_N "(cached) $ECHO_C" >&6
34463 else
34467 ac_ext=cc
34468 ac_cpp='$CXXCPP $CPPFLAGS'
34469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34473 cat >conftest.$ac_ext <<_ACEOF
34474 /* confdefs.h. */
34475 _ACEOF
34476 cat confdefs.h >>conftest.$ac_ext
34477 cat >>conftest.$ac_ext <<_ACEOF
34478 /* end confdefs.h. */
34479 #include <math.h>
34481 main ()
34483 powl(0, 0);
34485 return 0;
34487 _ACEOF
34488 rm -f conftest.$ac_objext
34489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34490 (eval $ac_compile) 2>conftest.er1
34491 ac_status=$?
34492 grep -v '^ *+' conftest.er1 >conftest.err
34493 rm -f conftest.er1
34494 cat conftest.err >&5
34495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34496 (exit $ac_status); } &&
34497 { ac_try='test -z "$ac_cxx_werror_flag"
34498 || test ! -s conftest.err'
34499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34500 (eval $ac_try) 2>&5
34501 ac_status=$?
34502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34503 (exit $ac_status); }; } &&
34504 { ac_try='test -s conftest.$ac_objext'
34505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34506 (eval $ac_try) 2>&5
34507 ac_status=$?
34508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34509 (exit $ac_status); }; }; then
34510 glibcxx_cv_func_powl_use=yes
34511 else
34512 echo "$as_me: failed program was:" >&5
34513 sed 's/^/| /' conftest.$ac_ext >&5
34515 glibcxx_cv_func_powl_use=no
34517 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34518 ac_ext=c
34519 ac_cpp='$CPP $CPPFLAGS'
34520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34528 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
34529 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
34531 if test x$glibcxx_cv_func_powl_use = x"yes"; then
34533 for ac_func in powl
34535 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34536 echo "$as_me:$LINENO: checking for $ac_func" >&5
34537 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34538 if eval "test \"\${$as_ac_var+set}\" = set"; then
34539 echo $ECHO_N "(cached) $ECHO_C" >&6
34540 else
34541 if test x$gcc_no_link = xyes; then
34542 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34543 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34544 { (exit 1); exit 1; }; }
34546 cat >conftest.$ac_ext <<_ACEOF
34547 /* confdefs.h. */
34548 _ACEOF
34549 cat confdefs.h >>conftest.$ac_ext
34550 cat >>conftest.$ac_ext <<_ACEOF
34551 /* end confdefs.h. */
34552 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34553 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34554 #define $ac_func innocuous_$ac_func
34556 /* System header to define __stub macros and hopefully few prototypes,
34557 which can conflict with char $ac_func (); below.
34558 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34559 <limits.h> exists even on freestanding compilers. */
34561 #ifdef __STDC__
34562 # include <limits.h>
34563 #else
34564 # include <assert.h>
34565 #endif
34567 #undef $ac_func
34569 /* Override any gcc2 internal prototype to avoid an error. */
34570 #ifdef __cplusplus
34571 extern "C"
34573 #endif
34574 /* We use char because int might match the return type of a gcc2
34575 builtin and then its argument prototype would still apply. */
34576 char $ac_func ();
34577 /* The GNU C library defines this for functions which it implements
34578 to always fail with ENOSYS. Some functions are actually named
34579 something starting with __ and the normal name is an alias. */
34580 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34581 choke me
34582 #else
34583 char (*f) () = $ac_func;
34584 #endif
34585 #ifdef __cplusplus
34587 #endif
34590 main ()
34592 return f != $ac_func;
34594 return 0;
34596 _ACEOF
34597 rm -f conftest.$ac_objext conftest$ac_exeext
34598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34599 (eval $ac_link) 2>conftest.er1
34600 ac_status=$?
34601 grep -v '^ *+' conftest.er1 >conftest.err
34602 rm -f conftest.er1
34603 cat conftest.err >&5
34604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34605 (exit $ac_status); } &&
34606 { ac_try='test -z "$ac_c_werror_flag"
34607 || test ! -s conftest.err'
34608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34609 (eval $ac_try) 2>&5
34610 ac_status=$?
34611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34612 (exit $ac_status); }; } &&
34613 { ac_try='test -s conftest$ac_exeext'
34614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34615 (eval $ac_try) 2>&5
34616 ac_status=$?
34617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34618 (exit $ac_status); }; }; then
34619 eval "$as_ac_var=yes"
34620 else
34621 echo "$as_me: failed program was:" >&5
34622 sed 's/^/| /' conftest.$ac_ext >&5
34624 eval "$as_ac_var=no"
34626 rm -f conftest.err conftest.$ac_objext \
34627 conftest$ac_exeext conftest.$ac_ext
34629 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34630 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34631 if test `eval echo '${'$as_ac_var'}'` = yes; then
34632 cat >>confdefs.h <<_ACEOF
34633 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34634 _ACEOF
34637 done
34639 else
34641 echo "$as_me:$LINENO: checking for _powl declaration" >&5
34642 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
34643 if test x${glibcxx_cv_func__powl_use+set} != xset; then
34644 if test "${glibcxx_cv_func__powl_use+set}" = set; then
34645 echo $ECHO_N "(cached) $ECHO_C" >&6
34646 else
34650 ac_ext=cc
34651 ac_cpp='$CXXCPP $CPPFLAGS'
34652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34656 cat >conftest.$ac_ext <<_ACEOF
34657 /* confdefs.h. */
34658 _ACEOF
34659 cat confdefs.h >>conftest.$ac_ext
34660 cat >>conftest.$ac_ext <<_ACEOF
34661 /* end confdefs.h. */
34662 #include <math.h>
34664 main ()
34666 _powl(0, 0);
34668 return 0;
34670 _ACEOF
34671 rm -f conftest.$ac_objext
34672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34673 (eval $ac_compile) 2>conftest.er1
34674 ac_status=$?
34675 grep -v '^ *+' conftest.er1 >conftest.err
34676 rm -f conftest.er1
34677 cat conftest.err >&5
34678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34679 (exit $ac_status); } &&
34680 { ac_try='test -z "$ac_cxx_werror_flag"
34681 || test ! -s conftest.err'
34682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34683 (eval $ac_try) 2>&5
34684 ac_status=$?
34685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34686 (exit $ac_status); }; } &&
34687 { ac_try='test -s conftest.$ac_objext'
34688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34689 (eval $ac_try) 2>&5
34690 ac_status=$?
34691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34692 (exit $ac_status); }; }; then
34693 glibcxx_cv_func__powl_use=yes
34694 else
34695 echo "$as_me: failed program was:" >&5
34696 sed 's/^/| /' conftest.$ac_ext >&5
34698 glibcxx_cv_func__powl_use=no
34700 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34701 ac_ext=c
34702 ac_cpp='$CPP $CPPFLAGS'
34703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34711 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
34712 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
34714 if test x$glibcxx_cv_func__powl_use = x"yes"; then
34716 for ac_func in _powl
34718 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34719 echo "$as_me:$LINENO: checking for $ac_func" >&5
34720 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34721 if eval "test \"\${$as_ac_var+set}\" = set"; then
34722 echo $ECHO_N "(cached) $ECHO_C" >&6
34723 else
34724 if test x$gcc_no_link = xyes; then
34725 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34726 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34727 { (exit 1); exit 1; }; }
34729 cat >conftest.$ac_ext <<_ACEOF
34730 /* confdefs.h. */
34731 _ACEOF
34732 cat confdefs.h >>conftest.$ac_ext
34733 cat >>conftest.$ac_ext <<_ACEOF
34734 /* end confdefs.h. */
34735 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34736 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34737 #define $ac_func innocuous_$ac_func
34739 /* System header to define __stub macros and hopefully few prototypes,
34740 which can conflict with char $ac_func (); below.
34741 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34742 <limits.h> exists even on freestanding compilers. */
34744 #ifdef __STDC__
34745 # include <limits.h>
34746 #else
34747 # include <assert.h>
34748 #endif
34750 #undef $ac_func
34752 /* Override any gcc2 internal prototype to avoid an error. */
34753 #ifdef __cplusplus
34754 extern "C"
34756 #endif
34757 /* We use char because int might match the return type of a gcc2
34758 builtin and then its argument prototype would still apply. */
34759 char $ac_func ();
34760 /* The GNU C library defines this for functions which it implements
34761 to always fail with ENOSYS. Some functions are actually named
34762 something starting with __ and the normal name is an alias. */
34763 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34764 choke me
34765 #else
34766 char (*f) () = $ac_func;
34767 #endif
34768 #ifdef __cplusplus
34770 #endif
34773 main ()
34775 return f != $ac_func;
34777 return 0;
34779 _ACEOF
34780 rm -f conftest.$ac_objext conftest$ac_exeext
34781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34782 (eval $ac_link) 2>conftest.er1
34783 ac_status=$?
34784 grep -v '^ *+' conftest.er1 >conftest.err
34785 rm -f conftest.er1
34786 cat conftest.err >&5
34787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34788 (exit $ac_status); } &&
34789 { ac_try='test -z "$ac_c_werror_flag"
34790 || test ! -s conftest.err'
34791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34792 (eval $ac_try) 2>&5
34793 ac_status=$?
34794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34795 (exit $ac_status); }; } &&
34796 { ac_try='test -s conftest$ac_exeext'
34797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34798 (eval $ac_try) 2>&5
34799 ac_status=$?
34800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34801 (exit $ac_status); }; }; then
34802 eval "$as_ac_var=yes"
34803 else
34804 echo "$as_me: failed program was:" >&5
34805 sed 's/^/| /' conftest.$ac_ext >&5
34807 eval "$as_ac_var=no"
34809 rm -f conftest.err conftest.$ac_objext \
34810 conftest$ac_exeext conftest.$ac_ext
34812 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34813 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34814 if test `eval echo '${'$as_ac_var'}'` = yes; then
34815 cat >>confdefs.h <<_ACEOF
34816 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34817 _ACEOF
34820 done
34830 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
34831 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
34832 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
34833 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
34834 echo $ECHO_N "(cached) $ECHO_C" >&6
34835 else
34839 ac_ext=cc
34840 ac_cpp='$CXXCPP $CPPFLAGS'
34841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34845 cat >conftest.$ac_ext <<_ACEOF
34846 /* confdefs.h. */
34847 _ACEOF
34848 cat confdefs.h >>conftest.$ac_ext
34849 cat >>conftest.$ac_ext <<_ACEOF
34850 /* end confdefs.h. */
34851 #include <math.h>
34852 #ifdef HAVE_IEEEFP_H
34853 #include <ieeefp.h>
34854 #endif
34857 main ()
34859 sqrtl(0);
34861 return 0;
34863 _ACEOF
34864 rm -f conftest.$ac_objext
34865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34866 (eval $ac_compile) 2>conftest.er1
34867 ac_status=$?
34868 grep -v '^ *+' conftest.er1 >conftest.err
34869 rm -f conftest.er1
34870 cat conftest.err >&5
34871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34872 (exit $ac_status); } &&
34873 { ac_try='test -z "$ac_cxx_werror_flag"
34874 || test ! -s conftest.err'
34875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34876 (eval $ac_try) 2>&5
34877 ac_status=$?
34878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34879 (exit $ac_status); }; } &&
34880 { ac_try='test -s conftest.$ac_objext'
34881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34882 (eval $ac_try) 2>&5
34883 ac_status=$?
34884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34885 (exit $ac_status); }; }; then
34886 glibcxx_cv_func_sqrtl_use=yes
34887 else
34888 echo "$as_me: failed program was:" >&5
34889 sed 's/^/| /' conftest.$ac_ext >&5
34891 glibcxx_cv_func_sqrtl_use=no
34893 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34894 ac_ext=c
34895 ac_cpp='$CPP $CPPFLAGS'
34896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34904 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
34905 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
34907 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
34909 for ac_func in sqrtl
34911 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34912 echo "$as_me:$LINENO: checking for $ac_func" >&5
34913 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34914 if eval "test \"\${$as_ac_var+set}\" = set"; then
34915 echo $ECHO_N "(cached) $ECHO_C" >&6
34916 else
34917 if test x$gcc_no_link = xyes; then
34918 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34919 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34920 { (exit 1); exit 1; }; }
34922 cat >conftest.$ac_ext <<_ACEOF
34923 /* confdefs.h. */
34924 _ACEOF
34925 cat confdefs.h >>conftest.$ac_ext
34926 cat >>conftest.$ac_ext <<_ACEOF
34927 /* end confdefs.h. */
34928 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34929 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34930 #define $ac_func innocuous_$ac_func
34932 /* System header to define __stub macros and hopefully few prototypes,
34933 which can conflict with char $ac_func (); below.
34934 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34935 <limits.h> exists even on freestanding compilers. */
34937 #ifdef __STDC__
34938 # include <limits.h>
34939 #else
34940 # include <assert.h>
34941 #endif
34943 #undef $ac_func
34945 /* Override any gcc2 internal prototype to avoid an error. */
34946 #ifdef __cplusplus
34947 extern "C"
34949 #endif
34950 /* We use char because int might match the return type of a gcc2
34951 builtin and then its argument prototype would still apply. */
34952 char $ac_func ();
34953 /* The GNU C library defines this for functions which it implements
34954 to always fail with ENOSYS. Some functions are actually named
34955 something starting with __ and the normal name is an alias. */
34956 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34957 choke me
34958 #else
34959 char (*f) () = $ac_func;
34960 #endif
34961 #ifdef __cplusplus
34963 #endif
34966 main ()
34968 return f != $ac_func;
34970 return 0;
34972 _ACEOF
34973 rm -f conftest.$ac_objext conftest$ac_exeext
34974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34975 (eval $ac_link) 2>conftest.er1
34976 ac_status=$?
34977 grep -v '^ *+' conftest.er1 >conftest.err
34978 rm -f conftest.er1
34979 cat conftest.err >&5
34980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34981 (exit $ac_status); } &&
34982 { ac_try='test -z "$ac_c_werror_flag"
34983 || test ! -s conftest.err'
34984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34985 (eval $ac_try) 2>&5
34986 ac_status=$?
34987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34988 (exit $ac_status); }; } &&
34989 { ac_try='test -s conftest$ac_exeext'
34990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34991 (eval $ac_try) 2>&5
34992 ac_status=$?
34993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34994 (exit $ac_status); }; }; then
34995 eval "$as_ac_var=yes"
34996 else
34997 echo "$as_me: failed program was:" >&5
34998 sed 's/^/| /' conftest.$ac_ext >&5
35000 eval "$as_ac_var=no"
35002 rm -f conftest.err conftest.$ac_objext \
35003 conftest$ac_exeext conftest.$ac_ext
35005 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35006 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35007 if test `eval echo '${'$as_ac_var'}'` = yes; then
35008 cat >>confdefs.h <<_ACEOF
35009 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35010 _ACEOF
35013 done
35015 else
35017 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
35018 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
35019 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
35020 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
35021 echo $ECHO_N "(cached) $ECHO_C" >&6
35022 else
35026 ac_ext=cc
35027 ac_cpp='$CXXCPP $CPPFLAGS'
35028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35032 cat >conftest.$ac_ext <<_ACEOF
35033 /* confdefs.h. */
35034 _ACEOF
35035 cat confdefs.h >>conftest.$ac_ext
35036 cat >>conftest.$ac_ext <<_ACEOF
35037 /* end confdefs.h. */
35038 #include <math.h>
35039 #ifdef HAVE_IEEEFP_H
35040 #include <ieeefp.h>
35041 #endif
35044 main ()
35046 _sqrtl(0);
35048 return 0;
35050 _ACEOF
35051 rm -f conftest.$ac_objext
35052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35053 (eval $ac_compile) 2>conftest.er1
35054 ac_status=$?
35055 grep -v '^ *+' conftest.er1 >conftest.err
35056 rm -f conftest.er1
35057 cat conftest.err >&5
35058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35059 (exit $ac_status); } &&
35060 { ac_try='test -z "$ac_cxx_werror_flag"
35061 || test ! -s conftest.err'
35062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35063 (eval $ac_try) 2>&5
35064 ac_status=$?
35065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35066 (exit $ac_status); }; } &&
35067 { ac_try='test -s conftest.$ac_objext'
35068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35069 (eval $ac_try) 2>&5
35070 ac_status=$?
35071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35072 (exit $ac_status); }; }; then
35073 glibcxx_cv_func__sqrtl_use=yes
35074 else
35075 echo "$as_me: failed program was:" >&5
35076 sed 's/^/| /' conftest.$ac_ext >&5
35078 glibcxx_cv_func__sqrtl_use=no
35080 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35081 ac_ext=c
35082 ac_cpp='$CPP $CPPFLAGS'
35083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35091 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
35092 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
35094 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
35096 for ac_func in _sqrtl
35098 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35099 echo "$as_me:$LINENO: checking for $ac_func" >&5
35100 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35101 if eval "test \"\${$as_ac_var+set}\" = set"; then
35102 echo $ECHO_N "(cached) $ECHO_C" >&6
35103 else
35104 if test x$gcc_no_link = xyes; then
35105 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35106 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35107 { (exit 1); exit 1; }; }
35109 cat >conftest.$ac_ext <<_ACEOF
35110 /* confdefs.h. */
35111 _ACEOF
35112 cat confdefs.h >>conftest.$ac_ext
35113 cat >>conftest.$ac_ext <<_ACEOF
35114 /* end confdefs.h. */
35115 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35116 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35117 #define $ac_func innocuous_$ac_func
35119 /* System header to define __stub macros and hopefully few prototypes,
35120 which can conflict with char $ac_func (); below.
35121 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35122 <limits.h> exists even on freestanding compilers. */
35124 #ifdef __STDC__
35125 # include <limits.h>
35126 #else
35127 # include <assert.h>
35128 #endif
35130 #undef $ac_func
35132 /* Override any gcc2 internal prototype to avoid an error. */
35133 #ifdef __cplusplus
35134 extern "C"
35136 #endif
35137 /* We use char because int might match the return type of a gcc2
35138 builtin and then its argument prototype would still apply. */
35139 char $ac_func ();
35140 /* The GNU C library defines this for functions which it implements
35141 to always fail with ENOSYS. Some functions are actually named
35142 something starting with __ and the normal name is an alias. */
35143 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35144 choke me
35145 #else
35146 char (*f) () = $ac_func;
35147 #endif
35148 #ifdef __cplusplus
35150 #endif
35153 main ()
35155 return f != $ac_func;
35157 return 0;
35159 _ACEOF
35160 rm -f conftest.$ac_objext conftest$ac_exeext
35161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35162 (eval $ac_link) 2>conftest.er1
35163 ac_status=$?
35164 grep -v '^ *+' conftest.er1 >conftest.err
35165 rm -f conftest.er1
35166 cat conftest.err >&5
35167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35168 (exit $ac_status); } &&
35169 { ac_try='test -z "$ac_c_werror_flag"
35170 || test ! -s conftest.err'
35171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35172 (eval $ac_try) 2>&5
35173 ac_status=$?
35174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35175 (exit $ac_status); }; } &&
35176 { ac_try='test -s conftest$ac_exeext'
35177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35178 (eval $ac_try) 2>&5
35179 ac_status=$?
35180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35181 (exit $ac_status); }; }; then
35182 eval "$as_ac_var=yes"
35183 else
35184 echo "$as_me: failed program was:" >&5
35185 sed 's/^/| /' conftest.$ac_ext >&5
35187 eval "$as_ac_var=no"
35189 rm -f conftest.err conftest.$ac_objext \
35190 conftest$ac_exeext conftest.$ac_ext
35192 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35193 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35194 if test `eval echo '${'$as_ac_var'}'` = yes; then
35195 cat >>confdefs.h <<_ACEOF
35196 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35197 _ACEOF
35200 done
35210 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
35211 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
35212 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
35213 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
35214 echo $ECHO_N "(cached) $ECHO_C" >&6
35215 else
35219 ac_ext=cc
35220 ac_cpp='$CXXCPP $CPPFLAGS'
35221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35225 cat >conftest.$ac_ext <<_ACEOF
35226 /* confdefs.h. */
35227 _ACEOF
35228 cat confdefs.h >>conftest.$ac_ext
35229 cat >>conftest.$ac_ext <<_ACEOF
35230 /* end confdefs.h. */
35231 #include <math.h>
35233 main ()
35235 sincosl(0, 0, 0);
35237 return 0;
35239 _ACEOF
35240 rm -f conftest.$ac_objext
35241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35242 (eval $ac_compile) 2>conftest.er1
35243 ac_status=$?
35244 grep -v '^ *+' conftest.er1 >conftest.err
35245 rm -f conftest.er1
35246 cat conftest.err >&5
35247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35248 (exit $ac_status); } &&
35249 { ac_try='test -z "$ac_cxx_werror_flag"
35250 || test ! -s conftest.err'
35251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35252 (eval $ac_try) 2>&5
35253 ac_status=$?
35254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35255 (exit $ac_status); }; } &&
35256 { ac_try='test -s conftest.$ac_objext'
35257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35258 (eval $ac_try) 2>&5
35259 ac_status=$?
35260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35261 (exit $ac_status); }; }; then
35262 glibcxx_cv_func_sincosl_use=yes
35263 else
35264 echo "$as_me: failed program was:" >&5
35265 sed 's/^/| /' conftest.$ac_ext >&5
35267 glibcxx_cv_func_sincosl_use=no
35269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35270 ac_ext=c
35271 ac_cpp='$CPP $CPPFLAGS'
35272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35280 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
35281 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
35283 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
35285 for ac_func in sincosl
35287 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35288 echo "$as_me:$LINENO: checking for $ac_func" >&5
35289 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35290 if eval "test \"\${$as_ac_var+set}\" = set"; then
35291 echo $ECHO_N "(cached) $ECHO_C" >&6
35292 else
35293 if test x$gcc_no_link = xyes; then
35294 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35295 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35296 { (exit 1); exit 1; }; }
35298 cat >conftest.$ac_ext <<_ACEOF
35299 /* confdefs.h. */
35300 _ACEOF
35301 cat confdefs.h >>conftest.$ac_ext
35302 cat >>conftest.$ac_ext <<_ACEOF
35303 /* end confdefs.h. */
35304 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35305 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35306 #define $ac_func innocuous_$ac_func
35308 /* System header to define __stub macros and hopefully few prototypes,
35309 which can conflict with char $ac_func (); below.
35310 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35311 <limits.h> exists even on freestanding compilers. */
35313 #ifdef __STDC__
35314 # include <limits.h>
35315 #else
35316 # include <assert.h>
35317 #endif
35319 #undef $ac_func
35321 /* Override any gcc2 internal prototype to avoid an error. */
35322 #ifdef __cplusplus
35323 extern "C"
35325 #endif
35326 /* We use char because int might match the return type of a gcc2
35327 builtin and then its argument prototype would still apply. */
35328 char $ac_func ();
35329 /* The GNU C library defines this for functions which it implements
35330 to always fail with ENOSYS. Some functions are actually named
35331 something starting with __ and the normal name is an alias. */
35332 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35333 choke me
35334 #else
35335 char (*f) () = $ac_func;
35336 #endif
35337 #ifdef __cplusplus
35339 #endif
35342 main ()
35344 return f != $ac_func;
35346 return 0;
35348 _ACEOF
35349 rm -f conftest.$ac_objext conftest$ac_exeext
35350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35351 (eval $ac_link) 2>conftest.er1
35352 ac_status=$?
35353 grep -v '^ *+' conftest.er1 >conftest.err
35354 rm -f conftest.er1
35355 cat conftest.err >&5
35356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35357 (exit $ac_status); } &&
35358 { ac_try='test -z "$ac_c_werror_flag"
35359 || test ! -s conftest.err'
35360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35361 (eval $ac_try) 2>&5
35362 ac_status=$?
35363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35364 (exit $ac_status); }; } &&
35365 { ac_try='test -s conftest$ac_exeext'
35366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35367 (eval $ac_try) 2>&5
35368 ac_status=$?
35369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35370 (exit $ac_status); }; }; then
35371 eval "$as_ac_var=yes"
35372 else
35373 echo "$as_me: failed program was:" >&5
35374 sed 's/^/| /' conftest.$ac_ext >&5
35376 eval "$as_ac_var=no"
35378 rm -f conftest.err conftest.$ac_objext \
35379 conftest$ac_exeext conftest.$ac_ext
35381 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35382 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35383 if test `eval echo '${'$as_ac_var'}'` = yes; then
35384 cat >>confdefs.h <<_ACEOF
35385 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35386 _ACEOF
35389 done
35391 else
35393 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
35394 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
35395 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
35396 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
35397 echo $ECHO_N "(cached) $ECHO_C" >&6
35398 else
35402 ac_ext=cc
35403 ac_cpp='$CXXCPP $CPPFLAGS'
35404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35408 cat >conftest.$ac_ext <<_ACEOF
35409 /* confdefs.h. */
35410 _ACEOF
35411 cat confdefs.h >>conftest.$ac_ext
35412 cat >>conftest.$ac_ext <<_ACEOF
35413 /* end confdefs.h. */
35414 #include <math.h>
35416 main ()
35418 _sincosl(0, 0, 0);
35420 return 0;
35422 _ACEOF
35423 rm -f conftest.$ac_objext
35424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35425 (eval $ac_compile) 2>conftest.er1
35426 ac_status=$?
35427 grep -v '^ *+' conftest.er1 >conftest.err
35428 rm -f conftest.er1
35429 cat conftest.err >&5
35430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35431 (exit $ac_status); } &&
35432 { ac_try='test -z "$ac_cxx_werror_flag"
35433 || test ! -s conftest.err'
35434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35435 (eval $ac_try) 2>&5
35436 ac_status=$?
35437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35438 (exit $ac_status); }; } &&
35439 { ac_try='test -s conftest.$ac_objext'
35440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35441 (eval $ac_try) 2>&5
35442 ac_status=$?
35443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35444 (exit $ac_status); }; }; then
35445 glibcxx_cv_func__sincosl_use=yes
35446 else
35447 echo "$as_me: failed program was:" >&5
35448 sed 's/^/| /' conftest.$ac_ext >&5
35450 glibcxx_cv_func__sincosl_use=no
35452 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35453 ac_ext=c
35454 ac_cpp='$CPP $CPPFLAGS'
35455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35463 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
35464 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
35466 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
35468 for ac_func in _sincosl
35470 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35471 echo "$as_me:$LINENO: checking for $ac_func" >&5
35472 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35473 if eval "test \"\${$as_ac_var+set}\" = set"; then
35474 echo $ECHO_N "(cached) $ECHO_C" >&6
35475 else
35476 if test x$gcc_no_link = xyes; then
35477 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35478 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35479 { (exit 1); exit 1; }; }
35481 cat >conftest.$ac_ext <<_ACEOF
35482 /* confdefs.h. */
35483 _ACEOF
35484 cat confdefs.h >>conftest.$ac_ext
35485 cat >>conftest.$ac_ext <<_ACEOF
35486 /* end confdefs.h. */
35487 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35488 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35489 #define $ac_func innocuous_$ac_func
35491 /* System header to define __stub macros and hopefully few prototypes,
35492 which can conflict with char $ac_func (); below.
35493 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35494 <limits.h> exists even on freestanding compilers. */
35496 #ifdef __STDC__
35497 # include <limits.h>
35498 #else
35499 # include <assert.h>
35500 #endif
35502 #undef $ac_func
35504 /* Override any gcc2 internal prototype to avoid an error. */
35505 #ifdef __cplusplus
35506 extern "C"
35508 #endif
35509 /* We use char because int might match the return type of a gcc2
35510 builtin and then its argument prototype would still apply. */
35511 char $ac_func ();
35512 /* The GNU C library defines this for functions which it implements
35513 to always fail with ENOSYS. Some functions are actually named
35514 something starting with __ and the normal name is an alias. */
35515 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35516 choke me
35517 #else
35518 char (*f) () = $ac_func;
35519 #endif
35520 #ifdef __cplusplus
35522 #endif
35525 main ()
35527 return f != $ac_func;
35529 return 0;
35531 _ACEOF
35532 rm -f conftest.$ac_objext conftest$ac_exeext
35533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35534 (eval $ac_link) 2>conftest.er1
35535 ac_status=$?
35536 grep -v '^ *+' conftest.er1 >conftest.err
35537 rm -f conftest.er1
35538 cat conftest.err >&5
35539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35540 (exit $ac_status); } &&
35541 { ac_try='test -z "$ac_c_werror_flag"
35542 || test ! -s conftest.err'
35543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35544 (eval $ac_try) 2>&5
35545 ac_status=$?
35546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35547 (exit $ac_status); }; } &&
35548 { ac_try='test -s conftest$ac_exeext'
35549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35550 (eval $ac_try) 2>&5
35551 ac_status=$?
35552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35553 (exit $ac_status); }; }; then
35554 eval "$as_ac_var=yes"
35555 else
35556 echo "$as_me: failed program was:" >&5
35557 sed 's/^/| /' conftest.$ac_ext >&5
35559 eval "$as_ac_var=no"
35561 rm -f conftest.err conftest.$ac_objext \
35562 conftest$ac_exeext conftest.$ac_ext
35564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35565 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35566 if test `eval echo '${'$as_ac_var'}'` = yes; then
35567 cat >>confdefs.h <<_ACEOF
35568 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35569 _ACEOF
35572 done
35582 echo "$as_me:$LINENO: checking for finitel declaration" >&5
35583 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
35584 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
35585 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
35586 echo $ECHO_N "(cached) $ECHO_C" >&6
35587 else
35591 ac_ext=cc
35592 ac_cpp='$CXXCPP $CPPFLAGS'
35593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35597 cat >conftest.$ac_ext <<_ACEOF
35598 /* confdefs.h. */
35599 _ACEOF
35600 cat confdefs.h >>conftest.$ac_ext
35601 cat >>conftest.$ac_ext <<_ACEOF
35602 /* end confdefs.h. */
35603 #include <math.h>
35604 #ifdef HAVE_IEEEFP_H
35605 #include <ieeefp.h>
35606 #endif
35609 main ()
35611 finitel(0);
35613 return 0;
35615 _ACEOF
35616 rm -f conftest.$ac_objext
35617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35618 (eval $ac_compile) 2>conftest.er1
35619 ac_status=$?
35620 grep -v '^ *+' conftest.er1 >conftest.err
35621 rm -f conftest.er1
35622 cat conftest.err >&5
35623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35624 (exit $ac_status); } &&
35625 { ac_try='test -z "$ac_cxx_werror_flag"
35626 || test ! -s conftest.err'
35627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35628 (eval $ac_try) 2>&5
35629 ac_status=$?
35630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35631 (exit $ac_status); }; } &&
35632 { ac_try='test -s conftest.$ac_objext'
35633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35634 (eval $ac_try) 2>&5
35635 ac_status=$?
35636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35637 (exit $ac_status); }; }; then
35638 glibcxx_cv_func_finitel_use=yes
35639 else
35640 echo "$as_me: failed program was:" >&5
35641 sed 's/^/| /' conftest.$ac_ext >&5
35643 glibcxx_cv_func_finitel_use=no
35645 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35646 ac_ext=c
35647 ac_cpp='$CPP $CPPFLAGS'
35648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35656 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
35657 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
35659 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
35661 for ac_func in finitel
35663 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35664 echo "$as_me:$LINENO: checking for $ac_func" >&5
35665 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35666 if eval "test \"\${$as_ac_var+set}\" = set"; then
35667 echo $ECHO_N "(cached) $ECHO_C" >&6
35668 else
35669 if test x$gcc_no_link = xyes; then
35670 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35671 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35672 { (exit 1); exit 1; }; }
35674 cat >conftest.$ac_ext <<_ACEOF
35675 /* confdefs.h. */
35676 _ACEOF
35677 cat confdefs.h >>conftest.$ac_ext
35678 cat >>conftest.$ac_ext <<_ACEOF
35679 /* end confdefs.h. */
35680 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35681 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35682 #define $ac_func innocuous_$ac_func
35684 /* System header to define __stub macros and hopefully few prototypes,
35685 which can conflict with char $ac_func (); below.
35686 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35687 <limits.h> exists even on freestanding compilers. */
35689 #ifdef __STDC__
35690 # include <limits.h>
35691 #else
35692 # include <assert.h>
35693 #endif
35695 #undef $ac_func
35697 /* Override any gcc2 internal prototype to avoid an error. */
35698 #ifdef __cplusplus
35699 extern "C"
35701 #endif
35702 /* We use char because int might match the return type of a gcc2
35703 builtin and then its argument prototype would still apply. */
35704 char $ac_func ();
35705 /* The GNU C library defines this for functions which it implements
35706 to always fail with ENOSYS. Some functions are actually named
35707 something starting with __ and the normal name is an alias. */
35708 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35709 choke me
35710 #else
35711 char (*f) () = $ac_func;
35712 #endif
35713 #ifdef __cplusplus
35715 #endif
35718 main ()
35720 return f != $ac_func;
35722 return 0;
35724 _ACEOF
35725 rm -f conftest.$ac_objext conftest$ac_exeext
35726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35727 (eval $ac_link) 2>conftest.er1
35728 ac_status=$?
35729 grep -v '^ *+' conftest.er1 >conftest.err
35730 rm -f conftest.er1
35731 cat conftest.err >&5
35732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35733 (exit $ac_status); } &&
35734 { ac_try='test -z "$ac_c_werror_flag"
35735 || test ! -s conftest.err'
35736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35737 (eval $ac_try) 2>&5
35738 ac_status=$?
35739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35740 (exit $ac_status); }; } &&
35741 { ac_try='test -s conftest$ac_exeext'
35742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35743 (eval $ac_try) 2>&5
35744 ac_status=$?
35745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35746 (exit $ac_status); }; }; then
35747 eval "$as_ac_var=yes"
35748 else
35749 echo "$as_me: failed program was:" >&5
35750 sed 's/^/| /' conftest.$ac_ext >&5
35752 eval "$as_ac_var=no"
35754 rm -f conftest.err conftest.$ac_objext \
35755 conftest$ac_exeext conftest.$ac_ext
35757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35758 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35759 if test `eval echo '${'$as_ac_var'}'` = yes; then
35760 cat >>confdefs.h <<_ACEOF
35761 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35762 _ACEOF
35765 done
35767 else
35769 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
35770 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
35771 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
35772 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
35773 echo $ECHO_N "(cached) $ECHO_C" >&6
35774 else
35778 ac_ext=cc
35779 ac_cpp='$CXXCPP $CPPFLAGS'
35780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35784 cat >conftest.$ac_ext <<_ACEOF
35785 /* confdefs.h. */
35786 _ACEOF
35787 cat confdefs.h >>conftest.$ac_ext
35788 cat >>conftest.$ac_ext <<_ACEOF
35789 /* end confdefs.h. */
35790 #include <math.h>
35791 #ifdef HAVE_IEEEFP_H
35792 #include <ieeefp.h>
35793 #endif
35796 main ()
35798 _finitel(0);
35800 return 0;
35802 _ACEOF
35803 rm -f conftest.$ac_objext
35804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35805 (eval $ac_compile) 2>conftest.er1
35806 ac_status=$?
35807 grep -v '^ *+' conftest.er1 >conftest.err
35808 rm -f conftest.er1
35809 cat conftest.err >&5
35810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35811 (exit $ac_status); } &&
35812 { ac_try='test -z "$ac_cxx_werror_flag"
35813 || test ! -s conftest.err'
35814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35815 (eval $ac_try) 2>&5
35816 ac_status=$?
35817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35818 (exit $ac_status); }; } &&
35819 { ac_try='test -s conftest.$ac_objext'
35820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35821 (eval $ac_try) 2>&5
35822 ac_status=$?
35823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35824 (exit $ac_status); }; }; then
35825 glibcxx_cv_func__finitel_use=yes
35826 else
35827 echo "$as_me: failed program was:" >&5
35828 sed 's/^/| /' conftest.$ac_ext >&5
35830 glibcxx_cv_func__finitel_use=no
35832 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35833 ac_ext=c
35834 ac_cpp='$CPP $CPPFLAGS'
35835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35843 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
35844 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
35846 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
35848 for ac_func in _finitel
35850 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35851 echo "$as_me:$LINENO: checking for $ac_func" >&5
35852 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35853 if eval "test \"\${$as_ac_var+set}\" = set"; then
35854 echo $ECHO_N "(cached) $ECHO_C" >&6
35855 else
35856 if test x$gcc_no_link = xyes; then
35857 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35858 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35859 { (exit 1); exit 1; }; }
35861 cat >conftest.$ac_ext <<_ACEOF
35862 /* confdefs.h. */
35863 _ACEOF
35864 cat confdefs.h >>conftest.$ac_ext
35865 cat >>conftest.$ac_ext <<_ACEOF
35866 /* end confdefs.h. */
35867 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35868 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35869 #define $ac_func innocuous_$ac_func
35871 /* System header to define __stub macros and hopefully few prototypes,
35872 which can conflict with char $ac_func (); below.
35873 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35874 <limits.h> exists even on freestanding compilers. */
35876 #ifdef __STDC__
35877 # include <limits.h>
35878 #else
35879 # include <assert.h>
35880 #endif
35882 #undef $ac_func
35884 /* Override any gcc2 internal prototype to avoid an error. */
35885 #ifdef __cplusplus
35886 extern "C"
35888 #endif
35889 /* We use char because int might match the return type of a gcc2
35890 builtin and then its argument prototype would still apply. */
35891 char $ac_func ();
35892 /* The GNU C library defines this for functions which it implements
35893 to always fail with ENOSYS. Some functions are actually named
35894 something starting with __ and the normal name is an alias. */
35895 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35896 choke me
35897 #else
35898 char (*f) () = $ac_func;
35899 #endif
35900 #ifdef __cplusplus
35902 #endif
35905 main ()
35907 return f != $ac_func;
35909 return 0;
35911 _ACEOF
35912 rm -f conftest.$ac_objext conftest$ac_exeext
35913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35914 (eval $ac_link) 2>conftest.er1
35915 ac_status=$?
35916 grep -v '^ *+' conftest.er1 >conftest.err
35917 rm -f conftest.er1
35918 cat conftest.err >&5
35919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35920 (exit $ac_status); } &&
35921 { ac_try='test -z "$ac_c_werror_flag"
35922 || test ! -s conftest.err'
35923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35924 (eval $ac_try) 2>&5
35925 ac_status=$?
35926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35927 (exit $ac_status); }; } &&
35928 { ac_try='test -s conftest$ac_exeext'
35929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35930 (eval $ac_try) 2>&5
35931 ac_status=$?
35932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35933 (exit $ac_status); }; }; then
35934 eval "$as_ac_var=yes"
35935 else
35936 echo "$as_me: failed program was:" >&5
35937 sed 's/^/| /' conftest.$ac_ext >&5
35939 eval "$as_ac_var=no"
35941 rm -f conftest.err conftest.$ac_objext \
35942 conftest$ac_exeext conftest.$ac_ext
35944 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35945 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35946 if test `eval echo '${'$as_ac_var'}'` = yes; then
35947 cat >>confdefs.h <<_ACEOF
35948 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35949 _ACEOF
35952 done
35961 LIBS="$ac_save_LIBS"
35962 CXXFLAGS="$ac_save_CXXFLAGS"
35966 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
35967 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
35968 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
35969 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
35970 echo $ECHO_N "(cached) $ECHO_C" >&6
35971 else
35975 ac_ext=cc
35976 ac_cpp='$CXXCPP $CPPFLAGS'
35977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35981 cat >conftest.$ac_ext <<_ACEOF
35982 /* confdefs.h. */
35983 _ACEOF
35984 cat confdefs.h >>conftest.$ac_ext
35985 cat >>conftest.$ac_ext <<_ACEOF
35986 /* end confdefs.h. */
35987 #include <math.h>
35989 main ()
35991 __builtin_abs(0);
35993 return 0;
35995 _ACEOF
35996 rm -f conftest.$ac_objext
35997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35998 (eval $ac_compile) 2>conftest.er1
35999 ac_status=$?
36000 grep -v '^ *+' conftest.er1 >conftest.err
36001 rm -f conftest.er1
36002 cat conftest.err >&5
36003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36004 (exit $ac_status); } &&
36005 { ac_try='test -z "$ac_cxx_werror_flag"
36006 || test ! -s conftest.err'
36007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36008 (eval $ac_try) 2>&5
36009 ac_status=$?
36010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36011 (exit $ac_status); }; } &&
36012 { ac_try='test -s conftest.$ac_objext'
36013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36014 (eval $ac_try) 2>&5
36015 ac_status=$?
36016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36017 (exit $ac_status); }; }; then
36018 glibcxx_cv_func___builtin_abs_use=yes
36019 else
36020 echo "$as_me: failed program was:" >&5
36021 sed 's/^/| /' conftest.$ac_ext >&5
36023 glibcxx_cv_func___builtin_abs_use=no
36025 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36026 ac_ext=c
36027 ac_cpp='$CPP $CPPFLAGS'
36028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36036 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
36037 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
36038 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
36039 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
36040 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
36041 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
36042 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
36043 echo $ECHO_N "(cached) $ECHO_C" >&6
36044 else
36046 if test x$gcc_no_link = xyes; then
36047 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36048 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36049 { (exit 1); exit 1; }; }
36051 cat >conftest.$ac_ext <<_ACEOF
36052 /* confdefs.h. */
36053 _ACEOF
36054 cat confdefs.h >>conftest.$ac_ext
36055 cat >>conftest.$ac_ext <<_ACEOF
36056 /* end confdefs.h. */
36057 #include <math.h>
36059 main ()
36061 __builtin_abs(0);
36063 return 0;
36065 _ACEOF
36066 rm -f conftest.$ac_objext conftest$ac_exeext
36067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36068 (eval $ac_link) 2>conftest.er1
36069 ac_status=$?
36070 grep -v '^ *+' conftest.er1 >conftest.err
36071 rm -f conftest.er1
36072 cat conftest.err >&5
36073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36074 (exit $ac_status); } &&
36075 { ac_try='test -z "$ac_c_werror_flag"
36076 || test ! -s conftest.err'
36077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36078 (eval $ac_try) 2>&5
36079 ac_status=$?
36080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36081 (exit $ac_status); }; } &&
36082 { ac_try='test -s conftest$ac_exeext'
36083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36084 (eval $ac_try) 2>&5
36085 ac_status=$?
36086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36087 (exit $ac_status); }; }; then
36088 glibcxx_cv_func___builtin_abs_link=yes
36089 else
36090 echo "$as_me: failed program was:" >&5
36091 sed 's/^/| /' conftest.$ac_ext >&5
36093 glibcxx_cv_func___builtin_abs_link=no
36095 rm -f conftest.err conftest.$ac_objext \
36096 conftest$ac_exeext conftest.$ac_ext
36101 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
36102 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
36104 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
36106 cat >>confdefs.h <<\_ACEOF
36107 #define HAVE___BUILTIN_ABS 1
36108 _ACEOF
36115 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
36116 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
36117 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
36118 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
36119 echo $ECHO_N "(cached) $ECHO_C" >&6
36120 else
36124 ac_ext=cc
36125 ac_cpp='$CXXCPP $CPPFLAGS'
36126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36130 cat >conftest.$ac_ext <<_ACEOF
36131 /* confdefs.h. */
36132 _ACEOF
36133 cat confdefs.h >>conftest.$ac_ext
36134 cat >>conftest.$ac_ext <<_ACEOF
36135 /* end confdefs.h. */
36136 #include <math.h>
36138 main ()
36140 __builtin_fabsf(0);
36142 return 0;
36144 _ACEOF
36145 rm -f conftest.$ac_objext
36146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36147 (eval $ac_compile) 2>conftest.er1
36148 ac_status=$?
36149 grep -v '^ *+' conftest.er1 >conftest.err
36150 rm -f conftest.er1
36151 cat conftest.err >&5
36152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36153 (exit $ac_status); } &&
36154 { ac_try='test -z "$ac_cxx_werror_flag"
36155 || test ! -s conftest.err'
36156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36157 (eval $ac_try) 2>&5
36158 ac_status=$?
36159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36160 (exit $ac_status); }; } &&
36161 { ac_try='test -s conftest.$ac_objext'
36162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36163 (eval $ac_try) 2>&5
36164 ac_status=$?
36165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36166 (exit $ac_status); }; }; then
36167 glibcxx_cv_func___builtin_fabsf_use=yes
36168 else
36169 echo "$as_me: failed program was:" >&5
36170 sed 's/^/| /' conftest.$ac_ext >&5
36172 glibcxx_cv_func___builtin_fabsf_use=no
36174 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36175 ac_ext=c
36176 ac_cpp='$CPP $CPPFLAGS'
36177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36185 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
36186 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
36187 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
36188 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
36189 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
36190 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
36191 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
36192 echo $ECHO_N "(cached) $ECHO_C" >&6
36193 else
36195 if test x$gcc_no_link = xyes; then
36196 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36197 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36198 { (exit 1); exit 1; }; }
36200 cat >conftest.$ac_ext <<_ACEOF
36201 /* confdefs.h. */
36202 _ACEOF
36203 cat confdefs.h >>conftest.$ac_ext
36204 cat >>conftest.$ac_ext <<_ACEOF
36205 /* end confdefs.h. */
36206 #include <math.h>
36208 main ()
36210 __builtin_fabsf(0);
36212 return 0;
36214 _ACEOF
36215 rm -f conftest.$ac_objext conftest$ac_exeext
36216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36217 (eval $ac_link) 2>conftest.er1
36218 ac_status=$?
36219 grep -v '^ *+' conftest.er1 >conftest.err
36220 rm -f conftest.er1
36221 cat conftest.err >&5
36222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36223 (exit $ac_status); } &&
36224 { ac_try='test -z "$ac_c_werror_flag"
36225 || test ! -s conftest.err'
36226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36227 (eval $ac_try) 2>&5
36228 ac_status=$?
36229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36230 (exit $ac_status); }; } &&
36231 { ac_try='test -s conftest$ac_exeext'
36232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36233 (eval $ac_try) 2>&5
36234 ac_status=$?
36235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36236 (exit $ac_status); }; }; then
36237 glibcxx_cv_func___builtin_fabsf_link=yes
36238 else
36239 echo "$as_me: failed program was:" >&5
36240 sed 's/^/| /' conftest.$ac_ext >&5
36242 glibcxx_cv_func___builtin_fabsf_link=no
36244 rm -f conftest.err conftest.$ac_objext \
36245 conftest$ac_exeext conftest.$ac_ext
36250 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
36251 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
36253 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
36255 cat >>confdefs.h <<\_ACEOF
36256 #define HAVE___BUILTIN_FABSF 1
36257 _ACEOF
36264 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
36265 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
36266 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
36267 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
36268 echo $ECHO_N "(cached) $ECHO_C" >&6
36269 else
36273 ac_ext=cc
36274 ac_cpp='$CXXCPP $CPPFLAGS'
36275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36279 cat >conftest.$ac_ext <<_ACEOF
36280 /* confdefs.h. */
36281 _ACEOF
36282 cat confdefs.h >>conftest.$ac_ext
36283 cat >>conftest.$ac_ext <<_ACEOF
36284 /* end confdefs.h. */
36285 #include <math.h>
36287 main ()
36289 __builtin_fabs(0);
36291 return 0;
36293 _ACEOF
36294 rm -f conftest.$ac_objext
36295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36296 (eval $ac_compile) 2>conftest.er1
36297 ac_status=$?
36298 grep -v '^ *+' conftest.er1 >conftest.err
36299 rm -f conftest.er1
36300 cat conftest.err >&5
36301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36302 (exit $ac_status); } &&
36303 { ac_try='test -z "$ac_cxx_werror_flag"
36304 || test ! -s conftest.err'
36305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36306 (eval $ac_try) 2>&5
36307 ac_status=$?
36308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36309 (exit $ac_status); }; } &&
36310 { ac_try='test -s conftest.$ac_objext'
36311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36312 (eval $ac_try) 2>&5
36313 ac_status=$?
36314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36315 (exit $ac_status); }; }; then
36316 glibcxx_cv_func___builtin_fabs_use=yes
36317 else
36318 echo "$as_me: failed program was:" >&5
36319 sed 's/^/| /' conftest.$ac_ext >&5
36321 glibcxx_cv_func___builtin_fabs_use=no
36323 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36324 ac_ext=c
36325 ac_cpp='$CPP $CPPFLAGS'
36326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36334 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
36335 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
36336 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
36337 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
36338 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
36339 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
36340 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
36341 echo $ECHO_N "(cached) $ECHO_C" >&6
36342 else
36344 if test x$gcc_no_link = xyes; then
36345 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36346 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36347 { (exit 1); exit 1; }; }
36349 cat >conftest.$ac_ext <<_ACEOF
36350 /* confdefs.h. */
36351 _ACEOF
36352 cat confdefs.h >>conftest.$ac_ext
36353 cat >>conftest.$ac_ext <<_ACEOF
36354 /* end confdefs.h. */
36355 #include <math.h>
36357 main ()
36359 __builtin_fabs(0);
36361 return 0;
36363 _ACEOF
36364 rm -f conftest.$ac_objext conftest$ac_exeext
36365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36366 (eval $ac_link) 2>conftest.er1
36367 ac_status=$?
36368 grep -v '^ *+' conftest.er1 >conftest.err
36369 rm -f conftest.er1
36370 cat conftest.err >&5
36371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36372 (exit $ac_status); } &&
36373 { ac_try='test -z "$ac_c_werror_flag"
36374 || test ! -s conftest.err'
36375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36376 (eval $ac_try) 2>&5
36377 ac_status=$?
36378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36379 (exit $ac_status); }; } &&
36380 { ac_try='test -s conftest$ac_exeext'
36381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36382 (eval $ac_try) 2>&5
36383 ac_status=$?
36384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36385 (exit $ac_status); }; }; then
36386 glibcxx_cv_func___builtin_fabs_link=yes
36387 else
36388 echo "$as_me: failed program was:" >&5
36389 sed 's/^/| /' conftest.$ac_ext >&5
36391 glibcxx_cv_func___builtin_fabs_link=no
36393 rm -f conftest.err conftest.$ac_objext \
36394 conftest$ac_exeext conftest.$ac_ext
36399 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
36400 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
36402 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
36404 cat >>confdefs.h <<\_ACEOF
36405 #define HAVE___BUILTIN_FABS 1
36406 _ACEOF
36413 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
36414 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
36415 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
36416 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
36417 echo $ECHO_N "(cached) $ECHO_C" >&6
36418 else
36422 ac_ext=cc
36423 ac_cpp='$CXXCPP $CPPFLAGS'
36424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36428 cat >conftest.$ac_ext <<_ACEOF
36429 /* confdefs.h. */
36430 _ACEOF
36431 cat confdefs.h >>conftest.$ac_ext
36432 cat >>conftest.$ac_ext <<_ACEOF
36433 /* end confdefs.h. */
36434 #include <math.h>
36436 main ()
36438 __builtin_fabsl(0);
36440 return 0;
36442 _ACEOF
36443 rm -f conftest.$ac_objext
36444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36445 (eval $ac_compile) 2>conftest.er1
36446 ac_status=$?
36447 grep -v '^ *+' conftest.er1 >conftest.err
36448 rm -f conftest.er1
36449 cat conftest.err >&5
36450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36451 (exit $ac_status); } &&
36452 { ac_try='test -z "$ac_cxx_werror_flag"
36453 || test ! -s conftest.err'
36454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36455 (eval $ac_try) 2>&5
36456 ac_status=$?
36457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36458 (exit $ac_status); }; } &&
36459 { ac_try='test -s conftest.$ac_objext'
36460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36461 (eval $ac_try) 2>&5
36462 ac_status=$?
36463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36464 (exit $ac_status); }; }; then
36465 glibcxx_cv_func___builtin_fabsl_use=yes
36466 else
36467 echo "$as_me: failed program was:" >&5
36468 sed 's/^/| /' conftest.$ac_ext >&5
36470 glibcxx_cv_func___builtin_fabsl_use=no
36472 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36473 ac_ext=c
36474 ac_cpp='$CPP $CPPFLAGS'
36475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36483 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
36484 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
36485 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
36486 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
36487 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
36488 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
36489 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
36490 echo $ECHO_N "(cached) $ECHO_C" >&6
36491 else
36493 if test x$gcc_no_link = xyes; then
36494 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36495 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36496 { (exit 1); exit 1; }; }
36498 cat >conftest.$ac_ext <<_ACEOF
36499 /* confdefs.h. */
36500 _ACEOF
36501 cat confdefs.h >>conftest.$ac_ext
36502 cat >>conftest.$ac_ext <<_ACEOF
36503 /* end confdefs.h. */
36504 #include <math.h>
36506 main ()
36508 __builtin_fabsl(0);
36510 return 0;
36512 _ACEOF
36513 rm -f conftest.$ac_objext conftest$ac_exeext
36514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36515 (eval $ac_link) 2>conftest.er1
36516 ac_status=$?
36517 grep -v '^ *+' conftest.er1 >conftest.err
36518 rm -f conftest.er1
36519 cat conftest.err >&5
36520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36521 (exit $ac_status); } &&
36522 { ac_try='test -z "$ac_c_werror_flag"
36523 || test ! -s conftest.err'
36524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36525 (eval $ac_try) 2>&5
36526 ac_status=$?
36527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36528 (exit $ac_status); }; } &&
36529 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
36535 glibcxx_cv_func___builtin_fabsl_link=yes
36536 else
36537 echo "$as_me: failed program was:" >&5
36538 sed 's/^/| /' conftest.$ac_ext >&5
36540 glibcxx_cv_func___builtin_fabsl_link=no
36542 rm -f conftest.err conftest.$ac_objext \
36543 conftest$ac_exeext conftest.$ac_ext
36548 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
36549 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
36551 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
36553 cat >>confdefs.h <<\_ACEOF
36554 #define HAVE___BUILTIN_FABSL 1
36555 _ACEOF
36562 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
36563 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
36564 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
36565 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
36566 echo $ECHO_N "(cached) $ECHO_C" >&6
36567 else
36571 ac_ext=cc
36572 ac_cpp='$CXXCPP $CPPFLAGS'
36573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36577 cat >conftest.$ac_ext <<_ACEOF
36578 /* confdefs.h. */
36579 _ACEOF
36580 cat confdefs.h >>conftest.$ac_ext
36581 cat >>conftest.$ac_ext <<_ACEOF
36582 /* end confdefs.h. */
36583 #include <math.h>
36585 main ()
36587 __builtin_labs(0);
36589 return 0;
36591 _ACEOF
36592 rm -f conftest.$ac_objext
36593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36594 (eval $ac_compile) 2>conftest.er1
36595 ac_status=$?
36596 grep -v '^ *+' conftest.er1 >conftest.err
36597 rm -f conftest.er1
36598 cat conftest.err >&5
36599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36600 (exit $ac_status); } &&
36601 { ac_try='test -z "$ac_cxx_werror_flag"
36602 || test ! -s conftest.err'
36603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36604 (eval $ac_try) 2>&5
36605 ac_status=$?
36606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36607 (exit $ac_status); }; } &&
36608 { ac_try='test -s conftest.$ac_objext'
36609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36610 (eval $ac_try) 2>&5
36611 ac_status=$?
36612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36613 (exit $ac_status); }; }; then
36614 glibcxx_cv_func___builtin_labs_use=yes
36615 else
36616 echo "$as_me: failed program was:" >&5
36617 sed 's/^/| /' conftest.$ac_ext >&5
36619 glibcxx_cv_func___builtin_labs_use=no
36621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36622 ac_ext=c
36623 ac_cpp='$CPP $CPPFLAGS'
36624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36632 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
36633 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
36634 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
36635 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
36636 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
36637 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
36638 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
36639 echo $ECHO_N "(cached) $ECHO_C" >&6
36640 else
36642 if test x$gcc_no_link = xyes; then
36643 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36644 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36645 { (exit 1); exit 1; }; }
36647 cat >conftest.$ac_ext <<_ACEOF
36648 /* confdefs.h. */
36649 _ACEOF
36650 cat confdefs.h >>conftest.$ac_ext
36651 cat >>conftest.$ac_ext <<_ACEOF
36652 /* end confdefs.h. */
36653 #include <math.h>
36655 main ()
36657 __builtin_labs(0);
36659 return 0;
36661 _ACEOF
36662 rm -f conftest.$ac_objext conftest$ac_exeext
36663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36664 (eval $ac_link) 2>conftest.er1
36665 ac_status=$?
36666 grep -v '^ *+' conftest.er1 >conftest.err
36667 rm -f conftest.er1
36668 cat conftest.err >&5
36669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36670 (exit $ac_status); } &&
36671 { ac_try='test -z "$ac_c_werror_flag"
36672 || test ! -s conftest.err'
36673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36674 (eval $ac_try) 2>&5
36675 ac_status=$?
36676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36677 (exit $ac_status); }; } &&
36678 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
36684 glibcxx_cv_func___builtin_labs_link=yes
36685 else
36686 echo "$as_me: failed program was:" >&5
36687 sed 's/^/| /' conftest.$ac_ext >&5
36689 glibcxx_cv_func___builtin_labs_link=no
36691 rm -f conftest.err conftest.$ac_objext \
36692 conftest$ac_exeext conftest.$ac_ext
36697 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
36698 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
36700 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
36702 cat >>confdefs.h <<\_ACEOF
36703 #define HAVE___BUILTIN_LABS 1
36704 _ACEOF
36712 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
36713 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
36714 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
36715 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
36716 echo $ECHO_N "(cached) $ECHO_C" >&6
36717 else
36721 ac_ext=cc
36722 ac_cpp='$CXXCPP $CPPFLAGS'
36723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36727 cat >conftest.$ac_ext <<_ACEOF
36728 /* confdefs.h. */
36729 _ACEOF
36730 cat confdefs.h >>conftest.$ac_ext
36731 cat >>conftest.$ac_ext <<_ACEOF
36732 /* end confdefs.h. */
36733 #include <math.h>
36735 main ()
36737 __builtin_sqrtf(0);
36739 return 0;
36741 _ACEOF
36742 rm -f conftest.$ac_objext
36743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36744 (eval $ac_compile) 2>conftest.er1
36745 ac_status=$?
36746 grep -v '^ *+' conftest.er1 >conftest.err
36747 rm -f conftest.er1
36748 cat conftest.err >&5
36749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36750 (exit $ac_status); } &&
36751 { ac_try='test -z "$ac_cxx_werror_flag"
36752 || test ! -s conftest.err'
36753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36754 (eval $ac_try) 2>&5
36755 ac_status=$?
36756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36757 (exit $ac_status); }; } &&
36758 { ac_try='test -s conftest.$ac_objext'
36759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36760 (eval $ac_try) 2>&5
36761 ac_status=$?
36762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36763 (exit $ac_status); }; }; then
36764 glibcxx_cv_func___builtin_sqrtf_use=yes
36765 else
36766 echo "$as_me: failed program was:" >&5
36767 sed 's/^/| /' conftest.$ac_ext >&5
36769 glibcxx_cv_func___builtin_sqrtf_use=no
36771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36772 ac_ext=c
36773 ac_cpp='$CPP $CPPFLAGS'
36774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36782 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
36783 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
36784 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
36785 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
36786 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
36787 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
36788 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
36789 echo $ECHO_N "(cached) $ECHO_C" >&6
36790 else
36792 if test x$gcc_no_link = xyes; then
36793 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36794 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36795 { (exit 1); exit 1; }; }
36797 cat >conftest.$ac_ext <<_ACEOF
36798 /* confdefs.h. */
36799 _ACEOF
36800 cat confdefs.h >>conftest.$ac_ext
36801 cat >>conftest.$ac_ext <<_ACEOF
36802 /* end confdefs.h. */
36803 #include <math.h>
36805 main ()
36807 __builtin_sqrtf(0);
36809 return 0;
36811 _ACEOF
36812 rm -f conftest.$ac_objext conftest$ac_exeext
36813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36814 (eval $ac_link) 2>conftest.er1
36815 ac_status=$?
36816 grep -v '^ *+' conftest.er1 >conftest.err
36817 rm -f conftest.er1
36818 cat conftest.err >&5
36819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36820 (exit $ac_status); } &&
36821 { ac_try='test -z "$ac_c_werror_flag"
36822 || test ! -s conftest.err'
36823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36824 (eval $ac_try) 2>&5
36825 ac_status=$?
36826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36827 (exit $ac_status); }; } &&
36828 { ac_try='test -s conftest$ac_exeext'
36829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36830 (eval $ac_try) 2>&5
36831 ac_status=$?
36832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36833 (exit $ac_status); }; }; then
36834 glibcxx_cv_func___builtin_sqrtf_link=yes
36835 else
36836 echo "$as_me: failed program was:" >&5
36837 sed 's/^/| /' conftest.$ac_ext >&5
36839 glibcxx_cv_func___builtin_sqrtf_link=no
36841 rm -f conftest.err conftest.$ac_objext \
36842 conftest$ac_exeext conftest.$ac_ext
36847 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
36848 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
36850 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
36852 cat >>confdefs.h <<\_ACEOF
36853 #define HAVE___BUILTIN_SQRTF 1
36854 _ACEOF
36861 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
36862 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
36863 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
36864 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
36865 echo $ECHO_N "(cached) $ECHO_C" >&6
36866 else
36870 ac_ext=cc
36871 ac_cpp='$CXXCPP $CPPFLAGS'
36872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36876 cat >conftest.$ac_ext <<_ACEOF
36877 /* confdefs.h. */
36878 _ACEOF
36879 cat confdefs.h >>conftest.$ac_ext
36880 cat >>conftest.$ac_ext <<_ACEOF
36881 /* end confdefs.h. */
36882 #include <math.h>
36884 main ()
36886 __builtin_sqrt(0);
36888 return 0;
36890 _ACEOF
36891 rm -f conftest.$ac_objext
36892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36893 (eval $ac_compile) 2>conftest.er1
36894 ac_status=$?
36895 grep -v '^ *+' conftest.er1 >conftest.err
36896 rm -f conftest.er1
36897 cat conftest.err >&5
36898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36899 (exit $ac_status); } &&
36900 { ac_try='test -z "$ac_cxx_werror_flag"
36901 || test ! -s conftest.err'
36902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36903 (eval $ac_try) 2>&5
36904 ac_status=$?
36905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36906 (exit $ac_status); }; } &&
36907 { ac_try='test -s conftest.$ac_objext'
36908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36909 (eval $ac_try) 2>&5
36910 ac_status=$?
36911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36912 (exit $ac_status); }; }; then
36913 glibcxx_cv_func___builtin_sqrt_use=yes
36914 else
36915 echo "$as_me: failed program was:" >&5
36916 sed 's/^/| /' conftest.$ac_ext >&5
36918 glibcxx_cv_func___builtin_sqrt_use=no
36920 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36921 ac_ext=c
36922 ac_cpp='$CPP $CPPFLAGS'
36923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36931 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
36932 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
36933 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
36934 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
36935 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
36936 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
36937 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
36938 echo $ECHO_N "(cached) $ECHO_C" >&6
36939 else
36941 if test x$gcc_no_link = xyes; then
36942 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36943 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36944 { (exit 1); exit 1; }; }
36946 cat >conftest.$ac_ext <<_ACEOF
36947 /* confdefs.h. */
36948 _ACEOF
36949 cat confdefs.h >>conftest.$ac_ext
36950 cat >>conftest.$ac_ext <<_ACEOF
36951 /* end confdefs.h. */
36952 #include <math.h>
36954 main ()
36956 __builtin_sqrt(0);
36958 return 0;
36960 _ACEOF
36961 rm -f conftest.$ac_objext conftest$ac_exeext
36962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36963 (eval $ac_link) 2>conftest.er1
36964 ac_status=$?
36965 grep -v '^ *+' conftest.er1 >conftest.err
36966 rm -f conftest.er1
36967 cat conftest.err >&5
36968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36969 (exit $ac_status); } &&
36970 { ac_try='test -z "$ac_c_werror_flag"
36971 || test ! -s conftest.err'
36972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36973 (eval $ac_try) 2>&5
36974 ac_status=$?
36975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36976 (exit $ac_status); }; } &&
36977 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
36983 glibcxx_cv_func___builtin_sqrt_link=yes
36984 else
36985 echo "$as_me: failed program was:" >&5
36986 sed 's/^/| /' conftest.$ac_ext >&5
36988 glibcxx_cv_func___builtin_sqrt_link=no
36990 rm -f conftest.err conftest.$ac_objext \
36991 conftest$ac_exeext conftest.$ac_ext
36996 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
36997 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
36999 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
37001 cat >>confdefs.h <<\_ACEOF
37002 #define HAVE___BUILTIN_SQRT 1
37003 _ACEOF
37010 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
37011 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
37012 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
37013 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
37014 echo $ECHO_N "(cached) $ECHO_C" >&6
37015 else
37019 ac_ext=cc
37020 ac_cpp='$CXXCPP $CPPFLAGS'
37021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37025 cat >conftest.$ac_ext <<_ACEOF
37026 /* confdefs.h. */
37027 _ACEOF
37028 cat confdefs.h >>conftest.$ac_ext
37029 cat >>conftest.$ac_ext <<_ACEOF
37030 /* end confdefs.h. */
37031 #include <math.h>
37033 main ()
37035 __builtin_sqrtl(0);
37037 return 0;
37039 _ACEOF
37040 rm -f conftest.$ac_objext
37041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37042 (eval $ac_compile) 2>conftest.er1
37043 ac_status=$?
37044 grep -v '^ *+' conftest.er1 >conftest.err
37045 rm -f conftest.er1
37046 cat conftest.err >&5
37047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37048 (exit $ac_status); } &&
37049 { ac_try='test -z "$ac_cxx_werror_flag"
37050 || test ! -s conftest.err'
37051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37052 (eval $ac_try) 2>&5
37053 ac_status=$?
37054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37055 (exit $ac_status); }; } &&
37056 { ac_try='test -s conftest.$ac_objext'
37057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37058 (eval $ac_try) 2>&5
37059 ac_status=$?
37060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37061 (exit $ac_status); }; }; then
37062 glibcxx_cv_func___builtin_sqrtl_use=yes
37063 else
37064 echo "$as_me: failed program was:" >&5
37065 sed 's/^/| /' conftest.$ac_ext >&5
37067 glibcxx_cv_func___builtin_sqrtl_use=no
37069 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37070 ac_ext=c
37071 ac_cpp='$CPP $CPPFLAGS'
37072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37080 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
37081 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
37082 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
37083 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
37084 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
37085 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
37086 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
37087 echo $ECHO_N "(cached) $ECHO_C" >&6
37088 else
37090 if test x$gcc_no_link = xyes; then
37091 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37092 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37093 { (exit 1); exit 1; }; }
37095 cat >conftest.$ac_ext <<_ACEOF
37096 /* confdefs.h. */
37097 _ACEOF
37098 cat confdefs.h >>conftest.$ac_ext
37099 cat >>conftest.$ac_ext <<_ACEOF
37100 /* end confdefs.h. */
37101 #include <math.h>
37103 main ()
37105 __builtin_sqrtl(0);
37107 return 0;
37109 _ACEOF
37110 rm -f conftest.$ac_objext conftest$ac_exeext
37111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37112 (eval $ac_link) 2>conftest.er1
37113 ac_status=$?
37114 grep -v '^ *+' conftest.er1 >conftest.err
37115 rm -f conftest.er1
37116 cat conftest.err >&5
37117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37118 (exit $ac_status); } &&
37119 { ac_try='test -z "$ac_c_werror_flag"
37120 || test ! -s conftest.err'
37121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37122 (eval $ac_try) 2>&5
37123 ac_status=$?
37124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37125 (exit $ac_status); }; } &&
37126 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
37132 glibcxx_cv_func___builtin_sqrtl_link=yes
37133 else
37134 echo "$as_me: failed program was:" >&5
37135 sed 's/^/| /' conftest.$ac_ext >&5
37137 glibcxx_cv_func___builtin_sqrtl_link=no
37139 rm -f conftest.err conftest.$ac_objext \
37140 conftest$ac_exeext conftest.$ac_ext
37145 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
37146 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
37148 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
37150 cat >>confdefs.h <<\_ACEOF
37151 #define HAVE___BUILTIN_SQRTL 1
37152 _ACEOF
37160 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
37161 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
37162 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
37163 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
37164 echo $ECHO_N "(cached) $ECHO_C" >&6
37165 else
37169 ac_ext=cc
37170 ac_cpp='$CXXCPP $CPPFLAGS'
37171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37175 cat >conftest.$ac_ext <<_ACEOF
37176 /* confdefs.h. */
37177 _ACEOF
37178 cat confdefs.h >>conftest.$ac_ext
37179 cat >>conftest.$ac_ext <<_ACEOF
37180 /* end confdefs.h. */
37181 #include <math.h>
37183 main ()
37185 __builtin_sinf(0);
37187 return 0;
37189 _ACEOF
37190 rm -f conftest.$ac_objext
37191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37192 (eval $ac_compile) 2>conftest.er1
37193 ac_status=$?
37194 grep -v '^ *+' conftest.er1 >conftest.err
37195 rm -f conftest.er1
37196 cat conftest.err >&5
37197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37198 (exit $ac_status); } &&
37199 { ac_try='test -z "$ac_cxx_werror_flag"
37200 || test ! -s conftest.err'
37201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37202 (eval $ac_try) 2>&5
37203 ac_status=$?
37204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37205 (exit $ac_status); }; } &&
37206 { ac_try='test -s conftest.$ac_objext'
37207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37208 (eval $ac_try) 2>&5
37209 ac_status=$?
37210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37211 (exit $ac_status); }; }; then
37212 glibcxx_cv_func___builtin_sinf_use=yes
37213 else
37214 echo "$as_me: failed program was:" >&5
37215 sed 's/^/| /' conftest.$ac_ext >&5
37217 glibcxx_cv_func___builtin_sinf_use=no
37219 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37220 ac_ext=c
37221 ac_cpp='$CPP $CPPFLAGS'
37222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37230 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
37231 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
37232 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
37233 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
37234 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
37235 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
37236 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
37237 echo $ECHO_N "(cached) $ECHO_C" >&6
37238 else
37240 if test x$gcc_no_link = xyes; then
37241 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37242 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37243 { (exit 1); exit 1; }; }
37245 cat >conftest.$ac_ext <<_ACEOF
37246 /* confdefs.h. */
37247 _ACEOF
37248 cat confdefs.h >>conftest.$ac_ext
37249 cat >>conftest.$ac_ext <<_ACEOF
37250 /* end confdefs.h. */
37251 #include <math.h>
37253 main ()
37255 __builtin_sinf(0);
37257 return 0;
37259 _ACEOF
37260 rm -f conftest.$ac_objext conftest$ac_exeext
37261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37262 (eval $ac_link) 2>conftest.er1
37263 ac_status=$?
37264 grep -v '^ *+' conftest.er1 >conftest.err
37265 rm -f conftest.er1
37266 cat conftest.err >&5
37267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37268 (exit $ac_status); } &&
37269 { ac_try='test -z "$ac_c_werror_flag"
37270 || test ! -s conftest.err'
37271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37272 (eval $ac_try) 2>&5
37273 ac_status=$?
37274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37275 (exit $ac_status); }; } &&
37276 { ac_try='test -s conftest$ac_exeext'
37277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37278 (eval $ac_try) 2>&5
37279 ac_status=$?
37280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37281 (exit $ac_status); }; }; then
37282 glibcxx_cv_func___builtin_sinf_link=yes
37283 else
37284 echo "$as_me: failed program was:" >&5
37285 sed 's/^/| /' conftest.$ac_ext >&5
37287 glibcxx_cv_func___builtin_sinf_link=no
37289 rm -f conftest.err conftest.$ac_objext \
37290 conftest$ac_exeext conftest.$ac_ext
37295 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
37296 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
37298 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
37300 cat >>confdefs.h <<\_ACEOF
37301 #define HAVE___BUILTIN_SINF 1
37302 _ACEOF
37309 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
37310 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
37311 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
37312 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
37313 echo $ECHO_N "(cached) $ECHO_C" >&6
37314 else
37318 ac_ext=cc
37319 ac_cpp='$CXXCPP $CPPFLAGS'
37320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37324 cat >conftest.$ac_ext <<_ACEOF
37325 /* confdefs.h. */
37326 _ACEOF
37327 cat confdefs.h >>conftest.$ac_ext
37328 cat >>conftest.$ac_ext <<_ACEOF
37329 /* end confdefs.h. */
37330 #include <math.h>
37332 main ()
37334 __builtin_sin(0);
37336 return 0;
37338 _ACEOF
37339 rm -f conftest.$ac_objext
37340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37341 (eval $ac_compile) 2>conftest.er1
37342 ac_status=$?
37343 grep -v '^ *+' conftest.er1 >conftest.err
37344 rm -f conftest.er1
37345 cat conftest.err >&5
37346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37347 (exit $ac_status); } &&
37348 { ac_try='test -z "$ac_cxx_werror_flag"
37349 || test ! -s conftest.err'
37350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37351 (eval $ac_try) 2>&5
37352 ac_status=$?
37353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37354 (exit $ac_status); }; } &&
37355 { ac_try='test -s conftest.$ac_objext'
37356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37357 (eval $ac_try) 2>&5
37358 ac_status=$?
37359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37360 (exit $ac_status); }; }; then
37361 glibcxx_cv_func___builtin_sin_use=yes
37362 else
37363 echo "$as_me: failed program was:" >&5
37364 sed 's/^/| /' conftest.$ac_ext >&5
37366 glibcxx_cv_func___builtin_sin_use=no
37368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37369 ac_ext=c
37370 ac_cpp='$CPP $CPPFLAGS'
37371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37379 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
37380 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
37381 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
37382 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
37383 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
37384 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
37385 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
37386 echo $ECHO_N "(cached) $ECHO_C" >&6
37387 else
37389 if test x$gcc_no_link = xyes; then
37390 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37391 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37392 { (exit 1); exit 1; }; }
37394 cat >conftest.$ac_ext <<_ACEOF
37395 /* confdefs.h. */
37396 _ACEOF
37397 cat confdefs.h >>conftest.$ac_ext
37398 cat >>conftest.$ac_ext <<_ACEOF
37399 /* end confdefs.h. */
37400 #include <math.h>
37402 main ()
37404 __builtin_sin(0);
37406 return 0;
37408 _ACEOF
37409 rm -f conftest.$ac_objext conftest$ac_exeext
37410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37411 (eval $ac_link) 2>conftest.er1
37412 ac_status=$?
37413 grep -v '^ *+' conftest.er1 >conftest.err
37414 rm -f conftest.er1
37415 cat conftest.err >&5
37416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37417 (exit $ac_status); } &&
37418 { ac_try='test -z "$ac_c_werror_flag"
37419 || test ! -s conftest.err'
37420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37421 (eval $ac_try) 2>&5
37422 ac_status=$?
37423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37424 (exit $ac_status); }; } &&
37425 { ac_try='test -s conftest$ac_exeext'
37426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37427 (eval $ac_try) 2>&5
37428 ac_status=$?
37429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37430 (exit $ac_status); }; }; then
37431 glibcxx_cv_func___builtin_sin_link=yes
37432 else
37433 echo "$as_me: failed program was:" >&5
37434 sed 's/^/| /' conftest.$ac_ext >&5
37436 glibcxx_cv_func___builtin_sin_link=no
37438 rm -f conftest.err conftest.$ac_objext \
37439 conftest$ac_exeext conftest.$ac_ext
37444 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
37445 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
37447 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
37449 cat >>confdefs.h <<\_ACEOF
37450 #define HAVE___BUILTIN_SIN 1
37451 _ACEOF
37458 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
37459 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
37460 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
37461 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
37462 echo $ECHO_N "(cached) $ECHO_C" >&6
37463 else
37467 ac_ext=cc
37468 ac_cpp='$CXXCPP $CPPFLAGS'
37469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37473 cat >conftest.$ac_ext <<_ACEOF
37474 /* confdefs.h. */
37475 _ACEOF
37476 cat confdefs.h >>conftest.$ac_ext
37477 cat >>conftest.$ac_ext <<_ACEOF
37478 /* end confdefs.h. */
37479 #include <math.h>
37481 main ()
37483 __builtin_sinl(0);
37485 return 0;
37487 _ACEOF
37488 rm -f conftest.$ac_objext
37489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37490 (eval $ac_compile) 2>conftest.er1
37491 ac_status=$?
37492 grep -v '^ *+' conftest.er1 >conftest.err
37493 rm -f conftest.er1
37494 cat conftest.err >&5
37495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37496 (exit $ac_status); } &&
37497 { ac_try='test -z "$ac_cxx_werror_flag"
37498 || test ! -s conftest.err'
37499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37500 (eval $ac_try) 2>&5
37501 ac_status=$?
37502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37503 (exit $ac_status); }; } &&
37504 { ac_try='test -s conftest.$ac_objext'
37505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37506 (eval $ac_try) 2>&5
37507 ac_status=$?
37508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37509 (exit $ac_status); }; }; then
37510 glibcxx_cv_func___builtin_sinl_use=yes
37511 else
37512 echo "$as_me: failed program was:" >&5
37513 sed 's/^/| /' conftest.$ac_ext >&5
37515 glibcxx_cv_func___builtin_sinl_use=no
37517 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37518 ac_ext=c
37519 ac_cpp='$CPP $CPPFLAGS'
37520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37528 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
37529 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
37530 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
37531 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
37532 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
37533 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
37534 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
37535 echo $ECHO_N "(cached) $ECHO_C" >&6
37536 else
37538 if test x$gcc_no_link = xyes; then
37539 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37540 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37541 { (exit 1); exit 1; }; }
37543 cat >conftest.$ac_ext <<_ACEOF
37544 /* confdefs.h. */
37545 _ACEOF
37546 cat confdefs.h >>conftest.$ac_ext
37547 cat >>conftest.$ac_ext <<_ACEOF
37548 /* end confdefs.h. */
37549 #include <math.h>
37551 main ()
37553 __builtin_sinl(0);
37555 return 0;
37557 _ACEOF
37558 rm -f conftest.$ac_objext conftest$ac_exeext
37559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37560 (eval $ac_link) 2>conftest.er1
37561 ac_status=$?
37562 grep -v '^ *+' conftest.er1 >conftest.err
37563 rm -f conftest.er1
37564 cat conftest.err >&5
37565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37566 (exit $ac_status); } &&
37567 { ac_try='test -z "$ac_c_werror_flag"
37568 || test ! -s conftest.err'
37569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37570 (eval $ac_try) 2>&5
37571 ac_status=$?
37572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37573 (exit $ac_status); }; } &&
37574 { ac_try='test -s conftest$ac_exeext'
37575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37576 (eval $ac_try) 2>&5
37577 ac_status=$?
37578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37579 (exit $ac_status); }; }; then
37580 glibcxx_cv_func___builtin_sinl_link=yes
37581 else
37582 echo "$as_me: failed program was:" >&5
37583 sed 's/^/| /' conftest.$ac_ext >&5
37585 glibcxx_cv_func___builtin_sinl_link=no
37587 rm -f conftest.err conftest.$ac_objext \
37588 conftest$ac_exeext conftest.$ac_ext
37593 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
37594 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
37596 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
37598 cat >>confdefs.h <<\_ACEOF
37599 #define HAVE___BUILTIN_SINL 1
37600 _ACEOF
37608 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
37609 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
37610 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
37611 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
37612 echo $ECHO_N "(cached) $ECHO_C" >&6
37613 else
37617 ac_ext=cc
37618 ac_cpp='$CXXCPP $CPPFLAGS'
37619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37623 cat >conftest.$ac_ext <<_ACEOF
37624 /* confdefs.h. */
37625 _ACEOF
37626 cat confdefs.h >>conftest.$ac_ext
37627 cat >>conftest.$ac_ext <<_ACEOF
37628 /* end confdefs.h. */
37629 #include <math.h>
37631 main ()
37633 __builtin_cosf(0);
37635 return 0;
37637 _ACEOF
37638 rm -f conftest.$ac_objext
37639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37640 (eval $ac_compile) 2>conftest.er1
37641 ac_status=$?
37642 grep -v '^ *+' conftest.er1 >conftest.err
37643 rm -f conftest.er1
37644 cat conftest.err >&5
37645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37646 (exit $ac_status); } &&
37647 { ac_try='test -z "$ac_cxx_werror_flag"
37648 || test ! -s conftest.err'
37649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37650 (eval $ac_try) 2>&5
37651 ac_status=$?
37652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37653 (exit $ac_status); }; } &&
37654 { ac_try='test -s conftest.$ac_objext'
37655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37656 (eval $ac_try) 2>&5
37657 ac_status=$?
37658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37659 (exit $ac_status); }; }; then
37660 glibcxx_cv_func___builtin_cosf_use=yes
37661 else
37662 echo "$as_me: failed program was:" >&5
37663 sed 's/^/| /' conftest.$ac_ext >&5
37665 glibcxx_cv_func___builtin_cosf_use=no
37667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37668 ac_ext=c
37669 ac_cpp='$CPP $CPPFLAGS'
37670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37678 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
37679 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
37680 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
37681 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
37682 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
37683 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
37684 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
37685 echo $ECHO_N "(cached) $ECHO_C" >&6
37686 else
37688 if test x$gcc_no_link = xyes; then
37689 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37690 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37691 { (exit 1); exit 1; }; }
37693 cat >conftest.$ac_ext <<_ACEOF
37694 /* confdefs.h. */
37695 _ACEOF
37696 cat confdefs.h >>conftest.$ac_ext
37697 cat >>conftest.$ac_ext <<_ACEOF
37698 /* end confdefs.h. */
37699 #include <math.h>
37701 main ()
37703 __builtin_cosf(0);
37705 return 0;
37707 _ACEOF
37708 rm -f conftest.$ac_objext conftest$ac_exeext
37709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37710 (eval $ac_link) 2>conftest.er1
37711 ac_status=$?
37712 grep -v '^ *+' conftest.er1 >conftest.err
37713 rm -f conftest.er1
37714 cat conftest.err >&5
37715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37716 (exit $ac_status); } &&
37717 { ac_try='test -z "$ac_c_werror_flag"
37718 || test ! -s conftest.err'
37719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37720 (eval $ac_try) 2>&5
37721 ac_status=$?
37722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37723 (exit $ac_status); }; } &&
37724 { ac_try='test -s conftest$ac_exeext'
37725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37726 (eval $ac_try) 2>&5
37727 ac_status=$?
37728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37729 (exit $ac_status); }; }; then
37730 glibcxx_cv_func___builtin_cosf_link=yes
37731 else
37732 echo "$as_me: failed program was:" >&5
37733 sed 's/^/| /' conftest.$ac_ext >&5
37735 glibcxx_cv_func___builtin_cosf_link=no
37737 rm -f conftest.err conftest.$ac_objext \
37738 conftest$ac_exeext conftest.$ac_ext
37743 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
37744 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
37746 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
37748 cat >>confdefs.h <<\_ACEOF
37749 #define HAVE___BUILTIN_COSF 1
37750 _ACEOF
37757 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
37758 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
37759 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
37760 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
37761 echo $ECHO_N "(cached) $ECHO_C" >&6
37762 else
37766 ac_ext=cc
37767 ac_cpp='$CXXCPP $CPPFLAGS'
37768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37772 cat >conftest.$ac_ext <<_ACEOF
37773 /* confdefs.h. */
37774 _ACEOF
37775 cat confdefs.h >>conftest.$ac_ext
37776 cat >>conftest.$ac_ext <<_ACEOF
37777 /* end confdefs.h. */
37778 #include <math.h>
37780 main ()
37782 __builtin_cos(0);
37784 return 0;
37786 _ACEOF
37787 rm -f conftest.$ac_objext
37788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37789 (eval $ac_compile) 2>conftest.er1
37790 ac_status=$?
37791 grep -v '^ *+' conftest.er1 >conftest.err
37792 rm -f conftest.er1
37793 cat conftest.err >&5
37794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37795 (exit $ac_status); } &&
37796 { ac_try='test -z "$ac_cxx_werror_flag"
37797 || test ! -s conftest.err'
37798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37799 (eval $ac_try) 2>&5
37800 ac_status=$?
37801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37802 (exit $ac_status); }; } &&
37803 { ac_try='test -s conftest.$ac_objext'
37804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37805 (eval $ac_try) 2>&5
37806 ac_status=$?
37807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37808 (exit $ac_status); }; }; then
37809 glibcxx_cv_func___builtin_cos_use=yes
37810 else
37811 echo "$as_me: failed program was:" >&5
37812 sed 's/^/| /' conftest.$ac_ext >&5
37814 glibcxx_cv_func___builtin_cos_use=no
37816 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37817 ac_ext=c
37818 ac_cpp='$CPP $CPPFLAGS'
37819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37827 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
37828 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
37829 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
37830 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
37831 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
37832 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
37833 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
37834 echo $ECHO_N "(cached) $ECHO_C" >&6
37835 else
37837 if test x$gcc_no_link = xyes; then
37838 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37839 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37840 { (exit 1); exit 1; }; }
37842 cat >conftest.$ac_ext <<_ACEOF
37843 /* confdefs.h. */
37844 _ACEOF
37845 cat confdefs.h >>conftest.$ac_ext
37846 cat >>conftest.$ac_ext <<_ACEOF
37847 /* end confdefs.h. */
37848 #include <math.h>
37850 main ()
37852 __builtin_cos(0);
37854 return 0;
37856 _ACEOF
37857 rm -f conftest.$ac_objext conftest$ac_exeext
37858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37859 (eval $ac_link) 2>conftest.er1
37860 ac_status=$?
37861 grep -v '^ *+' conftest.er1 >conftest.err
37862 rm -f conftest.er1
37863 cat conftest.err >&5
37864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37865 (exit $ac_status); } &&
37866 { ac_try='test -z "$ac_c_werror_flag"
37867 || test ! -s conftest.err'
37868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37869 (eval $ac_try) 2>&5
37870 ac_status=$?
37871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37872 (exit $ac_status); }; } &&
37873 { ac_try='test -s conftest$ac_exeext'
37874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37875 (eval $ac_try) 2>&5
37876 ac_status=$?
37877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37878 (exit $ac_status); }; }; then
37879 glibcxx_cv_func___builtin_cos_link=yes
37880 else
37881 echo "$as_me: failed program was:" >&5
37882 sed 's/^/| /' conftest.$ac_ext >&5
37884 glibcxx_cv_func___builtin_cos_link=no
37886 rm -f conftest.err conftest.$ac_objext \
37887 conftest$ac_exeext conftest.$ac_ext
37892 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
37893 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
37895 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
37897 cat >>confdefs.h <<\_ACEOF
37898 #define HAVE___BUILTIN_COS 1
37899 _ACEOF
37906 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
37907 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
37908 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
37909 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
37910 echo $ECHO_N "(cached) $ECHO_C" >&6
37911 else
37915 ac_ext=cc
37916 ac_cpp='$CXXCPP $CPPFLAGS'
37917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37921 cat >conftest.$ac_ext <<_ACEOF
37922 /* confdefs.h. */
37923 _ACEOF
37924 cat confdefs.h >>conftest.$ac_ext
37925 cat >>conftest.$ac_ext <<_ACEOF
37926 /* end confdefs.h. */
37927 #include <math.h>
37929 main ()
37931 __builtin_cosl(0);
37933 return 0;
37935 _ACEOF
37936 rm -f conftest.$ac_objext
37937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37938 (eval $ac_compile) 2>conftest.er1
37939 ac_status=$?
37940 grep -v '^ *+' conftest.er1 >conftest.err
37941 rm -f conftest.er1
37942 cat conftest.err >&5
37943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37944 (exit $ac_status); } &&
37945 { ac_try='test -z "$ac_cxx_werror_flag"
37946 || test ! -s conftest.err'
37947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37948 (eval $ac_try) 2>&5
37949 ac_status=$?
37950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37951 (exit $ac_status); }; } &&
37952 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
37958 glibcxx_cv_func___builtin_cosl_use=yes
37959 else
37960 echo "$as_me: failed program was:" >&5
37961 sed 's/^/| /' conftest.$ac_ext >&5
37963 glibcxx_cv_func___builtin_cosl_use=no
37965 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37966 ac_ext=c
37967 ac_cpp='$CPP $CPPFLAGS'
37968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37976 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
37977 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
37978 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
37979 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
37980 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
37981 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
37982 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
37983 echo $ECHO_N "(cached) $ECHO_C" >&6
37984 else
37986 if test x$gcc_no_link = xyes; then
37987 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37988 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37989 { (exit 1); exit 1; }; }
37991 cat >conftest.$ac_ext <<_ACEOF
37992 /* confdefs.h. */
37993 _ACEOF
37994 cat confdefs.h >>conftest.$ac_ext
37995 cat >>conftest.$ac_ext <<_ACEOF
37996 /* end confdefs.h. */
37997 #include <math.h>
37999 main ()
38001 __builtin_cosl(0);
38003 return 0;
38005 _ACEOF
38006 rm -f conftest.$ac_objext conftest$ac_exeext
38007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38008 (eval $ac_link) 2>conftest.er1
38009 ac_status=$?
38010 grep -v '^ *+' conftest.er1 >conftest.err
38011 rm -f conftest.er1
38012 cat conftest.err >&5
38013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38014 (exit $ac_status); } &&
38015 { ac_try='test -z "$ac_c_werror_flag"
38016 || test ! -s conftest.err'
38017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38018 (eval $ac_try) 2>&5
38019 ac_status=$?
38020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38021 (exit $ac_status); }; } &&
38022 { ac_try='test -s conftest$ac_exeext'
38023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38024 (eval $ac_try) 2>&5
38025 ac_status=$?
38026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38027 (exit $ac_status); }; }; then
38028 glibcxx_cv_func___builtin_cosl_link=yes
38029 else
38030 echo "$as_me: failed program was:" >&5
38031 sed 's/^/| /' conftest.$ac_ext >&5
38033 glibcxx_cv_func___builtin_cosl_link=no
38035 rm -f conftest.err conftest.$ac_objext \
38036 conftest$ac_exeext conftest.$ac_ext
38041 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
38042 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
38044 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
38046 cat >>confdefs.h <<\_ACEOF
38047 #define HAVE___BUILTIN_COSL 1
38048 _ACEOF
38057 echo "$as_me:$LINENO: checking for main in -lm" >&5
38058 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
38059 if test "${ac_cv_lib_m_main+set}" = set; then
38060 echo $ECHO_N "(cached) $ECHO_C" >&6
38061 else
38062 ac_check_lib_save_LIBS=$LIBS
38063 LIBS="-lm $LIBS"
38064 if test x$gcc_no_link = xyes; then
38065 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38066 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38067 { (exit 1); exit 1; }; }
38069 cat >conftest.$ac_ext <<_ACEOF
38070 /* confdefs.h. */
38071 _ACEOF
38072 cat confdefs.h >>conftest.$ac_ext
38073 cat >>conftest.$ac_ext <<_ACEOF
38074 /* end confdefs.h. */
38078 main ()
38080 main ();
38082 return 0;
38084 _ACEOF
38085 rm -f conftest.$ac_objext conftest$ac_exeext
38086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38087 (eval $ac_link) 2>conftest.er1
38088 ac_status=$?
38089 grep -v '^ *+' conftest.er1 >conftest.err
38090 rm -f conftest.er1
38091 cat conftest.err >&5
38092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38093 (exit $ac_status); } &&
38094 { ac_try='test -z "$ac_c_werror_flag"
38095 || test ! -s conftest.err'
38096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38097 (eval $ac_try) 2>&5
38098 ac_status=$?
38099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38100 (exit $ac_status); }; } &&
38101 { ac_try='test -s conftest$ac_exeext'
38102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38103 (eval $ac_try) 2>&5
38104 ac_status=$?
38105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38106 (exit $ac_status); }; }; then
38107 ac_cv_lib_m_main=yes
38108 else
38109 echo "$as_me: failed program was:" >&5
38110 sed 's/^/| /' conftest.$ac_ext >&5
38112 ac_cv_lib_m_main=no
38114 rm -f conftest.err conftest.$ac_objext \
38115 conftest$ac_exeext conftest.$ac_ext
38116 LIBS=$ac_check_lib_save_LIBS
38118 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
38119 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
38120 if test $ac_cv_lib_m_main = yes; then
38121 cat >>confdefs.h <<_ACEOF
38122 #define HAVE_LIBM 1
38123 _ACEOF
38125 LIBS="-lm $LIBS"
38130 for ac_func in copysignf
38132 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38133 echo "$as_me:$LINENO: checking for $ac_func" >&5
38134 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38135 if eval "test \"\${$as_ac_var+set}\" = set"; then
38136 echo $ECHO_N "(cached) $ECHO_C" >&6
38137 else
38138 if test x$gcc_no_link = xyes; then
38139 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38140 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38141 { (exit 1); exit 1; }; }
38143 cat >conftest.$ac_ext <<_ACEOF
38144 /* confdefs.h. */
38145 _ACEOF
38146 cat confdefs.h >>conftest.$ac_ext
38147 cat >>conftest.$ac_ext <<_ACEOF
38148 /* end confdefs.h. */
38149 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38150 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38151 #define $ac_func innocuous_$ac_func
38153 /* System header to define __stub macros and hopefully few prototypes,
38154 which can conflict with char $ac_func (); below.
38155 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38156 <limits.h> exists even on freestanding compilers. */
38158 #ifdef __STDC__
38159 # include <limits.h>
38160 #else
38161 # include <assert.h>
38162 #endif
38164 #undef $ac_func
38166 /* Override any gcc2 internal prototype to avoid an error. */
38167 #ifdef __cplusplus
38168 extern "C"
38170 #endif
38171 /* We use char because int might match the return type of a gcc2
38172 builtin and then its argument prototype would still apply. */
38173 char $ac_func ();
38174 /* The GNU C library defines this for functions which it implements
38175 to always fail with ENOSYS. Some functions are actually named
38176 something starting with __ and the normal name is an alias. */
38177 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38178 choke me
38179 #else
38180 char (*f) () = $ac_func;
38181 #endif
38182 #ifdef __cplusplus
38184 #endif
38187 main ()
38189 return f != $ac_func;
38191 return 0;
38193 _ACEOF
38194 rm -f conftest.$ac_objext conftest$ac_exeext
38195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38196 (eval $ac_link) 2>conftest.er1
38197 ac_status=$?
38198 grep -v '^ *+' conftest.er1 >conftest.err
38199 rm -f conftest.er1
38200 cat conftest.err >&5
38201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38202 (exit $ac_status); } &&
38203 { ac_try='test -z "$ac_c_werror_flag"
38204 || test ! -s conftest.err'
38205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38206 (eval $ac_try) 2>&5
38207 ac_status=$?
38208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38209 (exit $ac_status); }; } &&
38210 { ac_try='test -s conftest$ac_exeext'
38211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38212 (eval $ac_try) 2>&5
38213 ac_status=$?
38214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38215 (exit $ac_status); }; }; then
38216 eval "$as_ac_var=yes"
38217 else
38218 echo "$as_me: failed program was:" >&5
38219 sed 's/^/| /' conftest.$ac_ext >&5
38221 eval "$as_ac_var=no"
38223 rm -f conftest.err conftest.$ac_objext \
38224 conftest$ac_exeext conftest.$ac_ext
38226 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38227 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38228 if test `eval echo '${'$as_ac_var'}'` = yes; then
38229 cat >>confdefs.h <<_ACEOF
38230 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38231 _ACEOF
38233 else
38234 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
38236 done
38240 for ac_func in __signbit
38242 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38243 echo "$as_me:$LINENO: checking for $ac_func" >&5
38244 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38245 if eval "test \"\${$as_ac_var+set}\" = set"; then
38246 echo $ECHO_N "(cached) $ECHO_C" >&6
38247 else
38248 if test x$gcc_no_link = xyes; then
38249 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38250 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38251 { (exit 1); exit 1; }; }
38253 cat >conftest.$ac_ext <<_ACEOF
38254 /* confdefs.h. */
38255 _ACEOF
38256 cat confdefs.h >>conftest.$ac_ext
38257 cat >>conftest.$ac_ext <<_ACEOF
38258 /* end confdefs.h. */
38259 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38260 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38261 #define $ac_func innocuous_$ac_func
38263 /* System header to define __stub macros and hopefully few prototypes,
38264 which can conflict with char $ac_func (); below.
38265 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38266 <limits.h> exists even on freestanding compilers. */
38268 #ifdef __STDC__
38269 # include <limits.h>
38270 #else
38271 # include <assert.h>
38272 #endif
38274 #undef $ac_func
38276 /* Override any gcc2 internal prototype to avoid an error. */
38277 #ifdef __cplusplus
38278 extern "C"
38280 #endif
38281 /* We use char because int might match the return type of a gcc2
38282 builtin and then its argument prototype would still apply. */
38283 char $ac_func ();
38284 /* The GNU C library defines this for functions which it implements
38285 to always fail with ENOSYS. Some functions are actually named
38286 something starting with __ and the normal name is an alias. */
38287 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38288 choke me
38289 #else
38290 char (*f) () = $ac_func;
38291 #endif
38292 #ifdef __cplusplus
38294 #endif
38297 main ()
38299 return f != $ac_func;
38301 return 0;
38303 _ACEOF
38304 rm -f conftest.$ac_objext conftest$ac_exeext
38305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38306 (eval $ac_link) 2>conftest.er1
38307 ac_status=$?
38308 grep -v '^ *+' conftest.er1 >conftest.err
38309 rm -f conftest.er1
38310 cat conftest.err >&5
38311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38312 (exit $ac_status); } &&
38313 { ac_try='test -z "$ac_c_werror_flag"
38314 || test ! -s conftest.err'
38315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38316 (eval $ac_try) 2>&5
38317 ac_status=$?
38318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38319 (exit $ac_status); }; } &&
38320 { ac_try='test -s conftest$ac_exeext'
38321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38322 (eval $ac_try) 2>&5
38323 ac_status=$?
38324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38325 (exit $ac_status); }; }; then
38326 eval "$as_ac_var=yes"
38327 else
38328 echo "$as_me: failed program was:" >&5
38329 sed 's/^/| /' conftest.$ac_ext >&5
38331 eval "$as_ac_var=no"
38333 rm -f conftest.err conftest.$ac_objext \
38334 conftest$ac_exeext conftest.$ac_ext
38336 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38337 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38338 if test `eval echo '${'$as_ac_var'}'` = yes; then
38339 cat >>confdefs.h <<_ACEOF
38340 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38341 _ACEOF
38343 else
38344 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
38346 done
38350 for ac_func in __signbitf
38352 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38353 echo "$as_me:$LINENO: checking for $ac_func" >&5
38354 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38355 if eval "test \"\${$as_ac_var+set}\" = set"; then
38356 echo $ECHO_N "(cached) $ECHO_C" >&6
38357 else
38358 if test x$gcc_no_link = xyes; then
38359 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38360 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38361 { (exit 1); exit 1; }; }
38363 cat >conftest.$ac_ext <<_ACEOF
38364 /* confdefs.h. */
38365 _ACEOF
38366 cat confdefs.h >>conftest.$ac_ext
38367 cat >>conftest.$ac_ext <<_ACEOF
38368 /* end confdefs.h. */
38369 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38370 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38371 #define $ac_func innocuous_$ac_func
38373 /* System header to define __stub macros and hopefully few prototypes,
38374 which can conflict with char $ac_func (); below.
38375 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38376 <limits.h> exists even on freestanding compilers. */
38378 #ifdef __STDC__
38379 # include <limits.h>
38380 #else
38381 # include <assert.h>
38382 #endif
38384 #undef $ac_func
38386 /* Override any gcc2 internal prototype to avoid an error. */
38387 #ifdef __cplusplus
38388 extern "C"
38390 #endif
38391 /* We use char because int might match the return type of a gcc2
38392 builtin and then its argument prototype would still apply. */
38393 char $ac_func ();
38394 /* The GNU C library defines this for functions which it implements
38395 to always fail with ENOSYS. Some functions are actually named
38396 something starting with __ and the normal name is an alias. */
38397 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38398 choke me
38399 #else
38400 char (*f) () = $ac_func;
38401 #endif
38402 #ifdef __cplusplus
38404 #endif
38407 main ()
38409 return f != $ac_func;
38411 return 0;
38413 _ACEOF
38414 rm -f conftest.$ac_objext conftest$ac_exeext
38415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38416 (eval $ac_link) 2>conftest.er1
38417 ac_status=$?
38418 grep -v '^ *+' conftest.er1 >conftest.err
38419 rm -f conftest.er1
38420 cat conftest.err >&5
38421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38422 (exit $ac_status); } &&
38423 { ac_try='test -z "$ac_c_werror_flag"
38424 || test ! -s conftest.err'
38425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38426 (eval $ac_try) 2>&5
38427 ac_status=$?
38428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38429 (exit $ac_status); }; } &&
38430 { ac_try='test -s conftest$ac_exeext'
38431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38432 (eval $ac_try) 2>&5
38433 ac_status=$?
38434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38435 (exit $ac_status); }; }; then
38436 eval "$as_ac_var=yes"
38437 else
38438 echo "$as_me: failed program was:" >&5
38439 sed 's/^/| /' conftest.$ac_ext >&5
38441 eval "$as_ac_var=no"
38443 rm -f conftest.err conftest.$ac_objext \
38444 conftest$ac_exeext conftest.$ac_ext
38446 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38447 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38448 if test `eval echo '${'$as_ac_var'}'` = yes; then
38449 cat >>confdefs.h <<_ACEOF
38450 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38451 _ACEOF
38453 else
38454 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
38456 done
38459 if test x$ac_cv_func_copysignl = x"yes"; then
38461 for ac_func in __signbitl
38463 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38464 echo "$as_me:$LINENO: checking for $ac_func" >&5
38465 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38466 if eval "test \"\${$as_ac_var+set}\" = set"; then
38467 echo $ECHO_N "(cached) $ECHO_C" >&6
38468 else
38469 if test x$gcc_no_link = xyes; then
38470 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38471 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38472 { (exit 1); exit 1; }; }
38474 cat >conftest.$ac_ext <<_ACEOF
38475 /* confdefs.h. */
38476 _ACEOF
38477 cat confdefs.h >>conftest.$ac_ext
38478 cat >>conftest.$ac_ext <<_ACEOF
38479 /* end confdefs.h. */
38480 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38481 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38482 #define $ac_func innocuous_$ac_func
38484 /* System header to define __stub macros and hopefully few prototypes,
38485 which can conflict with char $ac_func (); below.
38486 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38487 <limits.h> exists even on freestanding compilers. */
38489 #ifdef __STDC__
38490 # include <limits.h>
38491 #else
38492 # include <assert.h>
38493 #endif
38495 #undef $ac_func
38497 /* Override any gcc2 internal prototype to avoid an error. */
38498 #ifdef __cplusplus
38499 extern "C"
38501 #endif
38502 /* We use char because int might match the return type of a gcc2
38503 builtin and then its argument prototype would still apply. */
38504 char $ac_func ();
38505 /* The GNU C library defines this for functions which it implements
38506 to always fail with ENOSYS. Some functions are actually named
38507 something starting with __ and the normal name is an alias. */
38508 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38509 choke me
38510 #else
38511 char (*f) () = $ac_func;
38512 #endif
38513 #ifdef __cplusplus
38515 #endif
38518 main ()
38520 return f != $ac_func;
38522 return 0;
38524 _ACEOF
38525 rm -f conftest.$ac_objext conftest$ac_exeext
38526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38527 (eval $ac_link) 2>conftest.er1
38528 ac_status=$?
38529 grep -v '^ *+' conftest.er1 >conftest.err
38530 rm -f conftest.er1
38531 cat conftest.err >&5
38532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38533 (exit $ac_status); } &&
38534 { ac_try='test -z "$ac_c_werror_flag"
38535 || test ! -s conftest.err'
38536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38537 (eval $ac_try) 2>&5
38538 ac_status=$?
38539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38540 (exit $ac_status); }; } &&
38541 { ac_try='test -s conftest$ac_exeext'
38542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38543 (eval $ac_try) 2>&5
38544 ac_status=$?
38545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38546 (exit $ac_status); }; }; then
38547 eval "$as_ac_var=yes"
38548 else
38549 echo "$as_me: failed program was:" >&5
38550 sed 's/^/| /' conftest.$ac_ext >&5
38552 eval "$as_ac_var=no"
38554 rm -f conftest.err conftest.$ac_objext \
38555 conftest$ac_exeext conftest.$ac_ext
38557 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38558 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38559 if test `eval echo '${'$as_ac_var'}'` = yes; then
38560 cat >>confdefs.h <<_ACEOF
38561 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38562 _ACEOF
38564 else
38565 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
38567 done
38571 # Used in libmath/Makefile.am.
38572 if test -n "$LIBMATHOBJS"; then
38573 need_libmath=yes
38578 ac_test_CXXFLAGS="${CXXFLAGS+set}"
38579 ac_save_CXXFLAGS="$CXXFLAGS"
38580 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38583 echo "$as_me:$LINENO: checking for strtold declaration" >&5
38584 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
38585 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
38586 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
38587 echo $ECHO_N "(cached) $ECHO_C" >&6
38588 else
38592 ac_ext=cc
38593 ac_cpp='$CXXCPP $CPPFLAGS'
38594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38598 cat >conftest.$ac_ext <<_ACEOF
38599 /* confdefs.h. */
38600 _ACEOF
38601 cat confdefs.h >>conftest.$ac_ext
38602 cat >>conftest.$ac_ext <<_ACEOF
38603 /* end confdefs.h. */
38604 #include <stdlib.h>
38606 main ()
38608 strtold(0, 0);
38610 return 0;
38612 _ACEOF
38613 rm -f conftest.$ac_objext
38614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38615 (eval $ac_compile) 2>conftest.er1
38616 ac_status=$?
38617 grep -v '^ *+' conftest.er1 >conftest.err
38618 rm -f conftest.er1
38619 cat conftest.err >&5
38620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38621 (exit $ac_status); } &&
38622 { ac_try='test -z "$ac_cxx_werror_flag"
38623 || test ! -s conftest.err'
38624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38625 (eval $ac_try) 2>&5
38626 ac_status=$?
38627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38628 (exit $ac_status); }; } &&
38629 { ac_try='test -s conftest.$ac_objext'
38630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38631 (eval $ac_try) 2>&5
38632 ac_status=$?
38633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38634 (exit $ac_status); }; }; then
38635 glibcxx_cv_func_strtold_use=yes
38636 else
38637 echo "$as_me: failed program was:" >&5
38638 sed 's/^/| /' conftest.$ac_ext >&5
38640 glibcxx_cv_func_strtold_use=no
38642 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38643 ac_ext=c
38644 ac_cpp='$CPP $CPPFLAGS'
38645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38653 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
38654 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
38655 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
38657 for ac_func in strtold
38659 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38660 echo "$as_me:$LINENO: checking for $ac_func" >&5
38661 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38662 if eval "test \"\${$as_ac_var+set}\" = set"; then
38663 echo $ECHO_N "(cached) $ECHO_C" >&6
38664 else
38665 if test x$gcc_no_link = xyes; then
38666 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38667 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38668 { (exit 1); exit 1; }; }
38670 cat >conftest.$ac_ext <<_ACEOF
38671 /* confdefs.h. */
38672 _ACEOF
38673 cat confdefs.h >>conftest.$ac_ext
38674 cat >>conftest.$ac_ext <<_ACEOF
38675 /* end confdefs.h. */
38676 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38677 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38678 #define $ac_func innocuous_$ac_func
38680 /* System header to define __stub macros and hopefully few prototypes,
38681 which can conflict with char $ac_func (); below.
38682 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38683 <limits.h> exists even on freestanding compilers. */
38685 #ifdef __STDC__
38686 # include <limits.h>
38687 #else
38688 # include <assert.h>
38689 #endif
38691 #undef $ac_func
38693 /* Override any gcc2 internal prototype to avoid an error. */
38694 #ifdef __cplusplus
38695 extern "C"
38697 #endif
38698 /* We use char because int might match the return type of a gcc2
38699 builtin and then its argument prototype would still apply. */
38700 char $ac_func ();
38701 /* The GNU C library defines this for functions which it implements
38702 to always fail with ENOSYS. Some functions are actually named
38703 something starting with __ and the normal name is an alias. */
38704 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38705 choke me
38706 #else
38707 char (*f) () = $ac_func;
38708 #endif
38709 #ifdef __cplusplus
38711 #endif
38714 main ()
38716 return f != $ac_func;
38718 return 0;
38720 _ACEOF
38721 rm -f conftest.$ac_objext conftest$ac_exeext
38722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38723 (eval $ac_link) 2>conftest.er1
38724 ac_status=$?
38725 grep -v '^ *+' conftest.er1 >conftest.err
38726 rm -f conftest.er1
38727 cat conftest.err >&5
38728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38729 (exit $ac_status); } &&
38730 { ac_try='test -z "$ac_c_werror_flag"
38731 || test ! -s conftest.err'
38732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38733 (eval $ac_try) 2>&5
38734 ac_status=$?
38735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38736 (exit $ac_status); }; } &&
38737 { ac_try='test -s conftest$ac_exeext'
38738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38739 (eval $ac_try) 2>&5
38740 ac_status=$?
38741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38742 (exit $ac_status); }; }; then
38743 eval "$as_ac_var=yes"
38744 else
38745 echo "$as_me: failed program was:" >&5
38746 sed 's/^/| /' conftest.$ac_ext >&5
38748 eval "$as_ac_var=no"
38750 rm -f conftest.err conftest.$ac_objext \
38751 conftest$ac_exeext conftest.$ac_ext
38753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38754 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38755 if test `eval echo '${'$as_ac_var'}'` = yes; then
38756 cat >>confdefs.h <<_ACEOF
38757 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38758 _ACEOF
38761 done
38769 echo "$as_me:$LINENO: checking for strtof declaration" >&5
38770 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
38771 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
38772 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
38773 echo $ECHO_N "(cached) $ECHO_C" >&6
38774 else
38778 ac_ext=cc
38779 ac_cpp='$CXXCPP $CPPFLAGS'
38780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38784 cat >conftest.$ac_ext <<_ACEOF
38785 /* confdefs.h. */
38786 _ACEOF
38787 cat confdefs.h >>conftest.$ac_ext
38788 cat >>conftest.$ac_ext <<_ACEOF
38789 /* end confdefs.h. */
38790 #include <stdlib.h>
38792 main ()
38794 strtof(0, 0);
38796 return 0;
38798 _ACEOF
38799 rm -f conftest.$ac_objext
38800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38801 (eval $ac_compile) 2>conftest.er1
38802 ac_status=$?
38803 grep -v '^ *+' conftest.er1 >conftest.err
38804 rm -f conftest.er1
38805 cat conftest.err >&5
38806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38807 (exit $ac_status); } &&
38808 { ac_try='test -z "$ac_cxx_werror_flag"
38809 || test ! -s conftest.err'
38810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38811 (eval $ac_try) 2>&5
38812 ac_status=$?
38813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38814 (exit $ac_status); }; } &&
38815 { ac_try='test -s conftest.$ac_objext'
38816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38817 (eval $ac_try) 2>&5
38818 ac_status=$?
38819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38820 (exit $ac_status); }; }; then
38821 glibcxx_cv_func_strtof_use=yes
38822 else
38823 echo "$as_me: failed program was:" >&5
38824 sed 's/^/| /' conftest.$ac_ext >&5
38826 glibcxx_cv_func_strtof_use=no
38828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38829 ac_ext=c
38830 ac_cpp='$CPP $CPPFLAGS'
38831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38839 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
38840 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
38841 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
38843 for ac_func in strtof
38845 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38846 echo "$as_me:$LINENO: checking for $ac_func" >&5
38847 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38848 if eval "test \"\${$as_ac_var+set}\" = set"; then
38849 echo $ECHO_N "(cached) $ECHO_C" >&6
38850 else
38851 if test x$gcc_no_link = xyes; then
38852 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38853 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38854 { (exit 1); exit 1; }; }
38856 cat >conftest.$ac_ext <<_ACEOF
38857 /* confdefs.h. */
38858 _ACEOF
38859 cat confdefs.h >>conftest.$ac_ext
38860 cat >>conftest.$ac_ext <<_ACEOF
38861 /* end confdefs.h. */
38862 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38863 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38864 #define $ac_func innocuous_$ac_func
38866 /* System header to define __stub macros and hopefully few prototypes,
38867 which can conflict with char $ac_func (); below.
38868 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38869 <limits.h> exists even on freestanding compilers. */
38871 #ifdef __STDC__
38872 # include <limits.h>
38873 #else
38874 # include <assert.h>
38875 #endif
38877 #undef $ac_func
38879 /* Override any gcc2 internal prototype to avoid an error. */
38880 #ifdef __cplusplus
38881 extern "C"
38883 #endif
38884 /* We use char because int might match the return type of a gcc2
38885 builtin and then its argument prototype would still apply. */
38886 char $ac_func ();
38887 /* The GNU C library defines this for functions which it implements
38888 to always fail with ENOSYS. Some functions are actually named
38889 something starting with __ and the normal name is an alias. */
38890 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38891 choke me
38892 #else
38893 char (*f) () = $ac_func;
38894 #endif
38895 #ifdef __cplusplus
38897 #endif
38900 main ()
38902 return f != $ac_func;
38904 return 0;
38906 _ACEOF
38907 rm -f conftest.$ac_objext conftest$ac_exeext
38908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38909 (eval $ac_link) 2>conftest.er1
38910 ac_status=$?
38911 grep -v '^ *+' conftest.er1 >conftest.err
38912 rm -f conftest.er1
38913 cat conftest.err >&5
38914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38915 (exit $ac_status); } &&
38916 { ac_try='test -z "$ac_c_werror_flag"
38917 || test ! -s conftest.err'
38918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38919 (eval $ac_try) 2>&5
38920 ac_status=$?
38921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38922 (exit $ac_status); }; } &&
38923 { ac_try='test -s conftest$ac_exeext'
38924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38925 (eval $ac_try) 2>&5
38926 ac_status=$?
38927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38928 (exit $ac_status); }; }; then
38929 eval "$as_ac_var=yes"
38930 else
38931 echo "$as_me: failed program was:" >&5
38932 sed 's/^/| /' conftest.$ac_ext >&5
38934 eval "$as_ac_var=no"
38936 rm -f conftest.err conftest.$ac_objext \
38937 conftest$ac_exeext conftest.$ac_ext
38939 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38940 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38941 if test `eval echo '${'$as_ac_var'}'` = yes; then
38942 cat >>confdefs.h <<_ACEOF
38943 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38944 _ACEOF
38947 done
38955 CXXFLAGS="$ac_save_CXXFLAGS"
38958 # For showmanyc_helper().
38961 for ac_header in sys/ioctl.h sys/filio.h
38963 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38964 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38965 echo "$as_me:$LINENO: checking for $ac_header" >&5
38966 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38967 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38968 echo $ECHO_N "(cached) $ECHO_C" >&6
38970 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38971 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38972 else
38973 # Is the header compilable?
38974 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38975 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38976 cat >conftest.$ac_ext <<_ACEOF
38977 /* confdefs.h. */
38978 _ACEOF
38979 cat confdefs.h >>conftest.$ac_ext
38980 cat >>conftest.$ac_ext <<_ACEOF
38981 /* end confdefs.h. */
38982 $ac_includes_default
38983 #include <$ac_header>
38984 _ACEOF
38985 rm -f conftest.$ac_objext
38986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38987 (eval $ac_compile) 2>conftest.er1
38988 ac_status=$?
38989 grep -v '^ *+' conftest.er1 >conftest.err
38990 rm -f conftest.er1
38991 cat conftest.err >&5
38992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38993 (exit $ac_status); } &&
38994 { ac_try='test -z "$ac_c_werror_flag"
38995 || test ! -s conftest.err'
38996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38997 (eval $ac_try) 2>&5
38998 ac_status=$?
38999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39000 (exit $ac_status); }; } &&
39001 { ac_try='test -s conftest.$ac_objext'
39002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39003 (eval $ac_try) 2>&5
39004 ac_status=$?
39005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39006 (exit $ac_status); }; }; then
39007 ac_header_compiler=yes
39008 else
39009 echo "$as_me: failed program was:" >&5
39010 sed 's/^/| /' conftest.$ac_ext >&5
39012 ac_header_compiler=no
39014 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39015 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39016 echo "${ECHO_T}$ac_header_compiler" >&6
39018 # Is the header present?
39019 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39020 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39021 cat >conftest.$ac_ext <<_ACEOF
39022 /* confdefs.h. */
39023 _ACEOF
39024 cat confdefs.h >>conftest.$ac_ext
39025 cat >>conftest.$ac_ext <<_ACEOF
39026 /* end confdefs.h. */
39027 #include <$ac_header>
39028 _ACEOF
39029 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39030 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39031 ac_status=$?
39032 grep -v '^ *+' conftest.er1 >conftest.err
39033 rm -f conftest.er1
39034 cat conftest.err >&5
39035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39036 (exit $ac_status); } >/dev/null; then
39037 if test -s conftest.err; then
39038 ac_cpp_err=$ac_c_preproc_warn_flag
39039 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
39040 else
39041 ac_cpp_err=
39043 else
39044 ac_cpp_err=yes
39046 if test -z "$ac_cpp_err"; then
39047 ac_header_preproc=yes
39048 else
39049 echo "$as_me: failed program was:" >&5
39050 sed 's/^/| /' conftest.$ac_ext >&5
39052 ac_header_preproc=no
39054 rm -f conftest.err conftest.$ac_ext
39055 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39056 echo "${ECHO_T}$ac_header_preproc" >&6
39058 # So? What about this header?
39059 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39060 yes:no: )
39061 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39062 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39063 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39064 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39065 ac_header_preproc=yes
39067 no:yes:* )
39068 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39069 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39070 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39071 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39072 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39073 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39074 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39075 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39076 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39077 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39078 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39079 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39081 cat <<\_ASBOX
39082 ## ----------------------------------------- ##
39083 ## Report this to the package-unused lists. ##
39084 ## ----------------------------------------- ##
39085 _ASBOX
39087 sed "s/^/$as_me: WARNING: /" >&2
39089 esac
39090 echo "$as_me:$LINENO: checking for $ac_header" >&5
39091 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39092 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39093 echo $ECHO_N "(cached) $ECHO_C" >&6
39094 else
39095 eval "$as_ac_Header=\$ac_header_preproc"
39097 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39098 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39101 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39102 cat >>confdefs.h <<_ACEOF
39103 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39104 _ACEOF
39108 done
39111 echo "$as_me:$LINENO: checking for poll" >&5
39112 echo $ECHO_N "checking for poll... $ECHO_C" >&6
39113 if test "${glibcxx_cv_POLL+set}" = set; then
39114 echo $ECHO_N "(cached) $ECHO_C" >&6
39115 else
39117 if test x$gcc_no_link = xyes; then
39118 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39119 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39120 { (exit 1); exit 1; }; }
39122 cat >conftest.$ac_ext <<_ACEOF
39123 /* confdefs.h. */
39124 _ACEOF
39125 cat confdefs.h >>conftest.$ac_ext
39126 cat >>conftest.$ac_ext <<_ACEOF
39127 /* end confdefs.h. */
39128 #include <poll.h>
39130 main ()
39132 struct pollfd pfd[1];
39133 pfd[0].events = POLLIN;
39134 poll(pfd, 1, 0);
39136 return 0;
39138 _ACEOF
39139 rm -f conftest.$ac_objext conftest$ac_exeext
39140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39141 (eval $ac_link) 2>conftest.er1
39142 ac_status=$?
39143 grep -v '^ *+' conftest.er1 >conftest.err
39144 rm -f conftest.er1
39145 cat conftest.err >&5
39146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39147 (exit $ac_status); } &&
39148 { ac_try='test -z "$ac_c_werror_flag"
39149 || test ! -s conftest.err'
39150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39151 (eval $ac_try) 2>&5
39152 ac_status=$?
39153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39154 (exit $ac_status); }; } &&
39155 { ac_try='test -s conftest$ac_exeext'
39156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39157 (eval $ac_try) 2>&5
39158 ac_status=$?
39159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39160 (exit $ac_status); }; }; then
39161 glibcxx_cv_POLL=yes
39162 else
39163 echo "$as_me: failed program was:" >&5
39164 sed 's/^/| /' conftest.$ac_ext >&5
39166 glibcxx_cv_POLL=no
39168 rm -f conftest.err conftest.$ac_objext \
39169 conftest$ac_exeext conftest.$ac_ext
39173 if test $glibcxx_cv_POLL = yes; then
39175 cat >>confdefs.h <<\_ACEOF
39176 #define HAVE_POLL 1
39177 _ACEOF
39180 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
39181 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
39184 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
39185 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
39186 if test "${glibcxx_cv_S_ISREG+set}" = set; then
39187 echo $ECHO_N "(cached) $ECHO_C" >&6
39188 else
39190 if test x$gcc_no_link = xyes; then
39191 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39192 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39193 { (exit 1); exit 1; }; }
39195 cat >conftest.$ac_ext <<_ACEOF
39196 /* confdefs.h. */
39197 _ACEOF
39198 cat confdefs.h >>conftest.$ac_ext
39199 cat >>conftest.$ac_ext <<_ACEOF
39200 /* end confdefs.h. */
39201 #include <sys/stat.h>
39203 main ()
39205 struct stat buffer;
39206 fstat(0, &buffer);
39207 S_ISREG(buffer.st_mode);
39209 return 0;
39211 _ACEOF
39212 rm -f conftest.$ac_objext conftest$ac_exeext
39213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39214 (eval $ac_link) 2>conftest.er1
39215 ac_status=$?
39216 grep -v '^ *+' conftest.er1 >conftest.err
39217 rm -f conftest.er1
39218 cat conftest.err >&5
39219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39220 (exit $ac_status); } &&
39221 { ac_try='test -z "$ac_c_werror_flag"
39222 || test ! -s conftest.err'
39223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39224 (eval $ac_try) 2>&5
39225 ac_status=$?
39226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39227 (exit $ac_status); }; } &&
39228 { ac_try='test -s conftest$ac_exeext'
39229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39230 (eval $ac_try) 2>&5
39231 ac_status=$?
39232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39233 (exit $ac_status); }; }; then
39234 glibcxx_cv_S_ISREG=yes
39235 else
39236 echo "$as_me: failed program was:" >&5
39237 sed 's/^/| /' conftest.$ac_ext >&5
39239 glibcxx_cv_S_ISREG=no
39241 rm -f conftest.err conftest.$ac_objext \
39242 conftest$ac_exeext conftest.$ac_ext
39246 if test "${glibcxx_cv_S_IFREG+set}" = set; then
39247 echo $ECHO_N "(cached) $ECHO_C" >&6
39248 else
39250 if test x$gcc_no_link = xyes; then
39251 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39252 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39253 { (exit 1); exit 1; }; }
39255 cat >conftest.$ac_ext <<_ACEOF
39256 /* confdefs.h. */
39257 _ACEOF
39258 cat confdefs.h >>conftest.$ac_ext
39259 cat >>conftest.$ac_ext <<_ACEOF
39260 /* end confdefs.h. */
39261 #include <sys/stat.h>
39263 main ()
39265 struct stat buffer;
39266 fstat(0, &buffer);
39267 S_IFREG & buffer.st_mode;
39269 return 0;
39271 _ACEOF
39272 rm -f conftest.$ac_objext conftest$ac_exeext
39273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39274 (eval $ac_link) 2>conftest.er1
39275 ac_status=$?
39276 grep -v '^ *+' conftest.er1 >conftest.err
39277 rm -f conftest.er1
39278 cat conftest.err >&5
39279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39280 (exit $ac_status); } &&
39281 { ac_try='test -z "$ac_c_werror_flag"
39282 || test ! -s conftest.err'
39283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39284 (eval $ac_try) 2>&5
39285 ac_status=$?
39286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39287 (exit $ac_status); }; } &&
39288 { ac_try='test -s conftest$ac_exeext'
39289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39290 (eval $ac_try) 2>&5
39291 ac_status=$?
39292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39293 (exit $ac_status); }; }; then
39294 glibcxx_cv_S_IFREG=yes
39295 else
39296 echo "$as_me: failed program was:" >&5
39297 sed 's/^/| /' conftest.$ac_ext >&5
39299 glibcxx_cv_S_IFREG=no
39301 rm -f conftest.err conftest.$ac_objext \
39302 conftest$ac_exeext conftest.$ac_ext
39306 res=no
39307 if test $glibcxx_cv_S_ISREG = yes; then
39309 cat >>confdefs.h <<\_ACEOF
39310 #define HAVE_S_ISREG 1
39311 _ACEOF
39313 res=S_ISREG
39314 elif test $glibcxx_cv_S_IFREG = yes; then
39316 cat >>confdefs.h <<\_ACEOF
39317 #define HAVE_S_IFREG 1
39318 _ACEOF
39320 res=S_IFREG
39322 echo "$as_me:$LINENO: result: $res" >&5
39323 echo "${ECHO_T}$res" >&6
39326 # For xsputn_2().
39328 for ac_header in sys/uio.h
39330 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39331 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39332 echo "$as_me:$LINENO: checking for $ac_header" >&5
39333 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39334 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39335 echo $ECHO_N "(cached) $ECHO_C" >&6
39337 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39338 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39339 else
39340 # Is the header compilable?
39341 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39342 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39343 cat >conftest.$ac_ext <<_ACEOF
39344 /* confdefs.h. */
39345 _ACEOF
39346 cat confdefs.h >>conftest.$ac_ext
39347 cat >>conftest.$ac_ext <<_ACEOF
39348 /* end confdefs.h. */
39349 $ac_includes_default
39350 #include <$ac_header>
39351 _ACEOF
39352 rm -f conftest.$ac_objext
39353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39354 (eval $ac_compile) 2>conftest.er1
39355 ac_status=$?
39356 grep -v '^ *+' conftest.er1 >conftest.err
39357 rm -f conftest.er1
39358 cat conftest.err >&5
39359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39360 (exit $ac_status); } &&
39361 { ac_try='test -z "$ac_c_werror_flag"
39362 || test ! -s conftest.err'
39363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39364 (eval $ac_try) 2>&5
39365 ac_status=$?
39366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39367 (exit $ac_status); }; } &&
39368 { ac_try='test -s conftest.$ac_objext'
39369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39370 (eval $ac_try) 2>&5
39371 ac_status=$?
39372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39373 (exit $ac_status); }; }; then
39374 ac_header_compiler=yes
39375 else
39376 echo "$as_me: failed program was:" >&5
39377 sed 's/^/| /' conftest.$ac_ext >&5
39379 ac_header_compiler=no
39381 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39382 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39383 echo "${ECHO_T}$ac_header_compiler" >&6
39385 # Is the header present?
39386 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39387 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39388 cat >conftest.$ac_ext <<_ACEOF
39389 /* confdefs.h. */
39390 _ACEOF
39391 cat confdefs.h >>conftest.$ac_ext
39392 cat >>conftest.$ac_ext <<_ACEOF
39393 /* end confdefs.h. */
39394 #include <$ac_header>
39395 _ACEOF
39396 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39397 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39398 ac_status=$?
39399 grep -v '^ *+' conftest.er1 >conftest.err
39400 rm -f conftest.er1
39401 cat conftest.err >&5
39402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39403 (exit $ac_status); } >/dev/null; then
39404 if test -s conftest.err; then
39405 ac_cpp_err=$ac_c_preproc_warn_flag
39406 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
39407 else
39408 ac_cpp_err=
39410 else
39411 ac_cpp_err=yes
39413 if test -z "$ac_cpp_err"; then
39414 ac_header_preproc=yes
39415 else
39416 echo "$as_me: failed program was:" >&5
39417 sed 's/^/| /' conftest.$ac_ext >&5
39419 ac_header_preproc=no
39421 rm -f conftest.err conftest.$ac_ext
39422 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39423 echo "${ECHO_T}$ac_header_preproc" >&6
39425 # So? What about this header?
39426 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39427 yes:no: )
39428 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39429 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39430 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39431 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39432 ac_header_preproc=yes
39434 no:yes:* )
39435 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39436 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39437 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39438 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39439 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39440 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39441 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39442 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39443 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39444 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39445 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39446 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39448 cat <<\_ASBOX
39449 ## ----------------------------------------- ##
39450 ## Report this to the package-unused lists. ##
39451 ## ----------------------------------------- ##
39452 _ASBOX
39454 sed "s/^/$as_me: WARNING: /" >&2
39456 esac
39457 echo "$as_me:$LINENO: checking for $ac_header" >&5
39458 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39459 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39460 echo $ECHO_N "(cached) $ECHO_C" >&6
39461 else
39462 eval "$as_ac_Header=\$ac_header_preproc"
39464 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39465 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39468 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39469 cat >>confdefs.h <<_ACEOF
39470 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39471 _ACEOF
39475 done
39478 echo "$as_me:$LINENO: checking for writev" >&5
39479 echo $ECHO_N "checking for writev... $ECHO_C" >&6
39480 if test "${glibcxx_cv_WRITEV+set}" = set; then
39481 echo $ECHO_N "(cached) $ECHO_C" >&6
39482 else
39484 if test x$gcc_no_link = xyes; then
39485 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39486 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39487 { (exit 1); exit 1; }; }
39489 cat >conftest.$ac_ext <<_ACEOF
39490 /* confdefs.h. */
39491 _ACEOF
39492 cat confdefs.h >>conftest.$ac_ext
39493 cat >>conftest.$ac_ext <<_ACEOF
39494 /* end confdefs.h. */
39495 #include <sys/uio.h>
39497 main ()
39499 struct iovec iov[2];
39500 writev(0, iov, 0);
39502 return 0;
39504 _ACEOF
39505 rm -f conftest.$ac_objext conftest$ac_exeext
39506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39507 (eval $ac_link) 2>conftest.er1
39508 ac_status=$?
39509 grep -v '^ *+' conftest.er1 >conftest.err
39510 rm -f conftest.er1
39511 cat conftest.err >&5
39512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39513 (exit $ac_status); } &&
39514 { ac_try='test -z "$ac_c_werror_flag"
39515 || test ! -s conftest.err'
39516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39517 (eval $ac_try) 2>&5
39518 ac_status=$?
39519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39520 (exit $ac_status); }; } &&
39521 { ac_try='test -s conftest$ac_exeext'
39522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39523 (eval $ac_try) 2>&5
39524 ac_status=$?
39525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39526 (exit $ac_status); }; }; then
39527 glibcxx_cv_WRITEV=yes
39528 else
39529 echo "$as_me: failed program was:" >&5
39530 sed 's/^/| /' conftest.$ac_ext >&5
39532 glibcxx_cv_WRITEV=no
39534 rm -f conftest.err conftest.$ac_objext \
39535 conftest$ac_exeext conftest.$ac_ext
39539 if test $glibcxx_cv_WRITEV = yes; then
39541 cat >>confdefs.h <<\_ACEOF
39542 #define HAVE_WRITEV 1
39543 _ACEOF
39546 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
39547 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
39550 # For the __streamoff_base_type typedef.
39552 echo "$as_me:$LINENO: checking for int64_t" >&5
39553 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
39554 if test "${glibcxx_cv_INT64_T+set}" = set; then
39555 echo $ECHO_N "(cached) $ECHO_C" >&6
39556 else
39558 cat >conftest.$ac_ext <<_ACEOF
39559 /* confdefs.h. */
39560 _ACEOF
39561 cat confdefs.h >>conftest.$ac_ext
39562 cat >>conftest.$ac_ext <<_ACEOF
39563 /* end confdefs.h. */
39564 #include <stdint.h>
39566 main ()
39568 int64_t var;
39570 return 0;
39572 _ACEOF
39573 rm -f conftest.$ac_objext
39574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39575 (eval $ac_compile) 2>conftest.er1
39576 ac_status=$?
39577 grep -v '^ *+' conftest.er1 >conftest.err
39578 rm -f conftest.er1
39579 cat conftest.err >&5
39580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39581 (exit $ac_status); } &&
39582 { ac_try='test -z "$ac_c_werror_flag"
39583 || test ! -s conftest.err'
39584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39585 (eval $ac_try) 2>&5
39586 ac_status=$?
39587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39588 (exit $ac_status); }; } &&
39589 { ac_try='test -s conftest.$ac_objext'
39590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39591 (eval $ac_try) 2>&5
39592 ac_status=$?
39593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39594 (exit $ac_status); }; }; then
39595 glibcxx_cv_INT64_T=yes
39596 else
39597 echo "$as_me: failed program was:" >&5
39598 sed 's/^/| /' conftest.$ac_ext >&5
39600 glibcxx_cv_INT64_T=no
39602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39606 if test $glibcxx_cv_INT64_T = yes; then
39608 cat >>confdefs.h <<\_ACEOF
39609 #define HAVE_INT64_T 1
39610 _ACEOF
39613 echo "$as_me:$LINENO: result: $glibcxx_cv_INT64_T" >&5
39614 echo "${ECHO_T}$glibcxx_cv_INT64_T" >&6
39617 # For LFS support.
39621 ac_ext=cc
39622 ac_cpp='$CXXCPP $CPPFLAGS'
39623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39627 ac_save_CXXFLAGS="$CXXFLAGS"
39628 CXXFLAGS="$CXXFLAGS -fno-exceptions"
39629 echo "$as_me:$LINENO: checking for LFS support" >&5
39630 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
39631 if test "${glibcxx_cv_LFS+set}" = set; then
39632 echo $ECHO_N "(cached) $ECHO_C" >&6
39633 else
39635 if test x$gcc_no_link = xyes; then
39636 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39637 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39638 { (exit 1); exit 1; }; }
39640 cat >conftest.$ac_ext <<_ACEOF
39641 /* confdefs.h. */
39642 _ACEOF
39643 cat confdefs.h >>conftest.$ac_ext
39644 cat >>conftest.$ac_ext <<_ACEOF
39645 /* end confdefs.h. */
39646 #include <unistd.h>
39647 #include <stdio.h>
39648 #include <sys/stat.h>
39651 main ()
39653 FILE* fp;
39654 fopen64("t", "w");
39655 fseeko64(fp, 0, SEEK_CUR);
39656 ftello64(fp);
39657 lseek64(1, 0, SEEK_CUR);
39658 struct stat64 buf;
39659 fstat64(1, &buf);
39661 return 0;
39663 _ACEOF
39664 rm -f conftest.$ac_objext conftest$ac_exeext
39665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39666 (eval $ac_link) 2>conftest.er1
39667 ac_status=$?
39668 grep -v '^ *+' conftest.er1 >conftest.err
39669 rm -f conftest.er1
39670 cat conftest.err >&5
39671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39672 (exit $ac_status); } &&
39673 { ac_try='test -z "$ac_cxx_werror_flag"
39674 || test ! -s conftest.err'
39675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39676 (eval $ac_try) 2>&5
39677 ac_status=$?
39678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39679 (exit $ac_status); }; } &&
39680 { ac_try='test -s conftest$ac_exeext'
39681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39682 (eval $ac_try) 2>&5
39683 ac_status=$?
39684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39685 (exit $ac_status); }; }; then
39686 glibcxx_cv_LFS=yes
39687 else
39688 echo "$as_me: failed program was:" >&5
39689 sed 's/^/| /' conftest.$ac_ext >&5
39691 glibcxx_cv_LFS=no
39693 rm -f conftest.err conftest.$ac_objext \
39694 conftest$ac_exeext conftest.$ac_ext
39698 if test $glibcxx_cv_LFS = yes; then
39700 cat >>confdefs.h <<\_ACEOF
39701 #define _GLIBCXX_USE_LFS 1
39702 _ACEOF
39705 echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
39706 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
39707 CXXFLAGS="$ac_save_CXXFLAGS"
39708 ac_ext=c
39709 ac_cpp='$CPP $CPPFLAGS'
39710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39716 # For C99 support to TR1.
39721 ac_ext=cc
39722 ac_cpp='$CXXCPP $CPPFLAGS'
39723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39728 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
39729 # undefined and fake C99 facilities may be spuriously enabled.
39730 ac_save_CXXFLAGS="$CXXFLAGS"
39731 CXXFLAGS="$CXXFLAGS -std=c++98"
39733 # Check for the existence of <complex.h> complex math functions used
39734 # by tr1/complex.
39736 for ac_header in complex.h
39738 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39739 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39740 echo "$as_me:$LINENO: checking for $ac_header" >&5
39741 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39742 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39743 echo $ECHO_N "(cached) $ECHO_C" >&6
39745 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39746 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39747 else
39748 # Is the header compilable?
39749 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39750 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39751 cat >conftest.$ac_ext <<_ACEOF
39752 /* confdefs.h. */
39753 _ACEOF
39754 cat confdefs.h >>conftest.$ac_ext
39755 cat >>conftest.$ac_ext <<_ACEOF
39756 /* end confdefs.h. */
39757 $ac_includes_default
39758 #include <$ac_header>
39759 _ACEOF
39760 rm -f conftest.$ac_objext
39761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39762 (eval $ac_compile) 2>conftest.er1
39763 ac_status=$?
39764 grep -v '^ *+' conftest.er1 >conftest.err
39765 rm -f conftest.er1
39766 cat conftest.err >&5
39767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39768 (exit $ac_status); } &&
39769 { ac_try='test -z "$ac_cxx_werror_flag"
39770 || test ! -s conftest.err'
39771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39772 (eval $ac_try) 2>&5
39773 ac_status=$?
39774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39775 (exit $ac_status); }; } &&
39776 { ac_try='test -s conftest.$ac_objext'
39777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39778 (eval $ac_try) 2>&5
39779 ac_status=$?
39780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39781 (exit $ac_status); }; }; then
39782 ac_header_compiler=yes
39783 else
39784 echo "$as_me: failed program was:" >&5
39785 sed 's/^/| /' conftest.$ac_ext >&5
39787 ac_header_compiler=no
39789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39790 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39791 echo "${ECHO_T}$ac_header_compiler" >&6
39793 # Is the header present?
39794 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39795 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39796 cat >conftest.$ac_ext <<_ACEOF
39797 /* confdefs.h. */
39798 _ACEOF
39799 cat confdefs.h >>conftest.$ac_ext
39800 cat >>conftest.$ac_ext <<_ACEOF
39801 /* end confdefs.h. */
39802 #include <$ac_header>
39803 _ACEOF
39804 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39805 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39806 ac_status=$?
39807 grep -v '^ *+' conftest.er1 >conftest.err
39808 rm -f conftest.er1
39809 cat conftest.err >&5
39810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39811 (exit $ac_status); } >/dev/null; then
39812 if test -s conftest.err; then
39813 ac_cpp_err=$ac_cxx_preproc_warn_flag
39814 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
39815 else
39816 ac_cpp_err=
39818 else
39819 ac_cpp_err=yes
39821 if test -z "$ac_cpp_err"; then
39822 ac_header_preproc=yes
39823 else
39824 echo "$as_me: failed program was:" >&5
39825 sed 's/^/| /' conftest.$ac_ext >&5
39827 ac_header_preproc=no
39829 rm -f conftest.err conftest.$ac_ext
39830 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39831 echo "${ECHO_T}$ac_header_preproc" >&6
39833 # So? What about this header?
39834 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
39835 yes:no: )
39836 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39837 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39838 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39839 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39840 ac_header_preproc=yes
39842 no:yes:* )
39843 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39844 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39845 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39846 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39847 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39848 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39849 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39850 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39851 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39852 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39853 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39854 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39856 cat <<\_ASBOX
39857 ## ----------------------------------------- ##
39858 ## Report this to the package-unused lists. ##
39859 ## ----------------------------------------- ##
39860 _ASBOX
39862 sed "s/^/$as_me: WARNING: /" >&2
39864 esac
39865 echo "$as_me:$LINENO: checking for $ac_header" >&5
39866 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39867 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39868 echo $ECHO_N "(cached) $ECHO_C" >&6
39869 else
39870 eval "$as_ac_Header=\$ac_header_preproc"
39872 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39873 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39876 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39877 cat >>confdefs.h <<_ACEOF
39878 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39879 _ACEOF
39880 ac_has_complex_h=yes
39881 else
39882 ac_has_complex_h=no
39885 done
39887 ac_c99_complex_tr1=no;
39888 if test x"$ac_has_complex_h" = x"yes"; then
39889 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <complex.h>" >&5
39890 echo $ECHO_N "checking for ISO C99 support to TR1 in <complex.h>... $ECHO_C" >&6
39891 cat >conftest.$ac_ext <<_ACEOF
39892 /* confdefs.h. */
39893 _ACEOF
39894 cat confdefs.h >>conftest.$ac_ext
39895 cat >>conftest.$ac_ext <<_ACEOF
39896 /* end confdefs.h. */
39897 #include <complex.h>
39899 main ()
39901 typedef __complex__ float float_type; float_type tmpf;
39902 cacosf(tmpf);
39903 casinf(tmpf);
39904 catanf(tmpf);
39905 cacoshf(tmpf);
39906 casinhf(tmpf);
39907 catanhf(tmpf);
39908 typedef __complex__ double double_type; double_type tmpd;
39909 cacos(tmpd);
39910 casin(tmpd);
39911 catan(tmpd);
39912 cacosh(tmpd);
39913 casinh(tmpd);
39914 catanh(tmpd);
39915 typedef __complex__ long double ld_type; ld_type tmpld;
39916 cacosl(tmpld);
39917 casinl(tmpld);
39918 catanl(tmpld);
39919 cacoshl(tmpld);
39920 casinhl(tmpld);
39921 catanhl(tmpld);
39924 return 0;
39926 _ACEOF
39927 rm -f conftest.$ac_objext
39928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39929 (eval $ac_compile) 2>conftest.er1
39930 ac_status=$?
39931 grep -v '^ *+' conftest.er1 >conftest.err
39932 rm -f conftest.er1
39933 cat conftest.err >&5
39934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39935 (exit $ac_status); } &&
39936 { ac_try='test -z "$ac_cxx_werror_flag"
39937 || test ! -s conftest.err'
39938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39939 (eval $ac_try) 2>&5
39940 ac_status=$?
39941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39942 (exit $ac_status); }; } &&
39943 { ac_try='test -s conftest.$ac_objext'
39944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39945 (eval $ac_try) 2>&5
39946 ac_status=$?
39947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39948 (exit $ac_status); }; }; then
39949 ac_c99_complex_tr1=yes
39950 else
39951 echo "$as_me: failed program was:" >&5
39952 sed 's/^/| /' conftest.$ac_ext >&5
39954 ac_c99_complex_tr1=no
39956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39958 echo "$as_me:$LINENO: result: $ac_c99_complex_tr1" >&5
39959 echo "${ECHO_T}$ac_c99_complex_tr1" >&6
39960 if test x"$ac_c99_complex_tr1" = x"yes"; then
39962 cat >>confdefs.h <<\_ACEOF
39963 #define _GLIBCXX_USE_C99_COMPLEX_TR1 1
39964 _ACEOF
39968 # Check for the existence of <ctype.h> functions.
39969 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <ctype.h>" >&5
39970 echo $ECHO_N "checking for ISO C99 support to TR1 in <ctype.h>... $ECHO_C" >&6
39971 if test "${ac_c99_ctype_tr1+set}" = set; then
39972 echo $ECHO_N "(cached) $ECHO_C" >&6
39973 else
39975 cat >conftest.$ac_ext <<_ACEOF
39976 /* confdefs.h. */
39977 _ACEOF
39978 cat confdefs.h >>conftest.$ac_ext
39979 cat >>conftest.$ac_ext <<_ACEOF
39980 /* end confdefs.h. */
39981 #include <ctype.h>
39983 main ()
39985 int ch;
39986 int ret;
39987 ret = isblank(ch);
39990 return 0;
39992 _ACEOF
39993 rm -f conftest.$ac_objext
39994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39995 (eval $ac_compile) 2>conftest.er1
39996 ac_status=$?
39997 grep -v '^ *+' conftest.er1 >conftest.err
39998 rm -f conftest.er1
39999 cat conftest.err >&5
40000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40001 (exit $ac_status); } &&
40002 { ac_try='test -z "$ac_cxx_werror_flag"
40003 || test ! -s conftest.err'
40004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40005 (eval $ac_try) 2>&5
40006 ac_status=$?
40007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40008 (exit $ac_status); }; } &&
40009 { ac_try='test -s conftest.$ac_objext'
40010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40011 (eval $ac_try) 2>&5
40012 ac_status=$?
40013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40014 (exit $ac_status); }; }; then
40015 ac_c99_ctype_tr1=yes
40016 else
40017 echo "$as_me: failed program was:" >&5
40018 sed 's/^/| /' conftest.$ac_ext >&5
40020 ac_c99_ctype_tr1=no
40022 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40026 echo "$as_me:$LINENO: result: $ac_c99_ctype_tr1" >&5
40027 echo "${ECHO_T}$ac_c99_ctype_tr1" >&6
40028 if test x"$ac_c99_ctype_tr1" = x"yes"; then
40030 cat >>confdefs.h <<\_ACEOF
40031 #define _GLIBCXX_USE_C99_CTYPE_TR1 1
40032 _ACEOF
40036 # Check for the existence of <fenv.h> functions.
40038 for ac_header in fenv.h
40040 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40041 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40042 echo "$as_me:$LINENO: checking for $ac_header" >&5
40043 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40044 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40045 echo $ECHO_N "(cached) $ECHO_C" >&6
40047 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40048 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40049 else
40050 # Is the header compilable?
40051 echo "$as_me:$LINENO: checking $ac_header usability" >&5
40052 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
40053 cat >conftest.$ac_ext <<_ACEOF
40054 /* confdefs.h. */
40055 _ACEOF
40056 cat confdefs.h >>conftest.$ac_ext
40057 cat >>conftest.$ac_ext <<_ACEOF
40058 /* end confdefs.h. */
40059 $ac_includes_default
40060 #include <$ac_header>
40061 _ACEOF
40062 rm -f conftest.$ac_objext
40063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40064 (eval $ac_compile) 2>conftest.er1
40065 ac_status=$?
40066 grep -v '^ *+' conftest.er1 >conftest.err
40067 rm -f conftest.er1
40068 cat conftest.err >&5
40069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40070 (exit $ac_status); } &&
40071 { ac_try='test -z "$ac_cxx_werror_flag"
40072 || test ! -s conftest.err'
40073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40074 (eval $ac_try) 2>&5
40075 ac_status=$?
40076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40077 (exit $ac_status); }; } &&
40078 { ac_try='test -s conftest.$ac_objext'
40079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40080 (eval $ac_try) 2>&5
40081 ac_status=$?
40082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40083 (exit $ac_status); }; }; then
40084 ac_header_compiler=yes
40085 else
40086 echo "$as_me: failed program was:" >&5
40087 sed 's/^/| /' conftest.$ac_ext >&5
40089 ac_header_compiler=no
40091 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40092 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
40093 echo "${ECHO_T}$ac_header_compiler" >&6
40095 # Is the header present?
40096 echo "$as_me:$LINENO: checking $ac_header presence" >&5
40097 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
40098 cat >conftest.$ac_ext <<_ACEOF
40099 /* confdefs.h. */
40100 _ACEOF
40101 cat confdefs.h >>conftest.$ac_ext
40102 cat >>conftest.$ac_ext <<_ACEOF
40103 /* end confdefs.h. */
40104 #include <$ac_header>
40105 _ACEOF
40106 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40107 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
40108 ac_status=$?
40109 grep -v '^ *+' conftest.er1 >conftest.err
40110 rm -f conftest.er1
40111 cat conftest.err >&5
40112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40113 (exit $ac_status); } >/dev/null; then
40114 if test -s conftest.err; then
40115 ac_cpp_err=$ac_cxx_preproc_warn_flag
40116 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
40117 else
40118 ac_cpp_err=
40120 else
40121 ac_cpp_err=yes
40123 if test -z "$ac_cpp_err"; then
40124 ac_header_preproc=yes
40125 else
40126 echo "$as_me: failed program was:" >&5
40127 sed 's/^/| /' conftest.$ac_ext >&5
40129 ac_header_preproc=no
40131 rm -f conftest.err conftest.$ac_ext
40132 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
40133 echo "${ECHO_T}$ac_header_preproc" >&6
40135 # So? What about this header?
40136 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
40137 yes:no: )
40138 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
40139 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
40140 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
40141 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
40142 ac_header_preproc=yes
40144 no:yes:* )
40145 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
40146 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
40147 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
40148 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
40149 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
40150 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
40151 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
40152 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
40153 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
40154 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
40155 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
40156 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
40158 cat <<\_ASBOX
40159 ## ----------------------------------------- ##
40160 ## Report this to the package-unused lists. ##
40161 ## ----------------------------------------- ##
40162 _ASBOX
40164 sed "s/^/$as_me: WARNING: /" >&2
40166 esac
40167 echo "$as_me:$LINENO: checking for $ac_header" >&5
40168 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40169 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40170 echo $ECHO_N "(cached) $ECHO_C" >&6
40171 else
40172 eval "$as_ac_Header=\$ac_header_preproc"
40174 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40175 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40178 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40179 cat >>confdefs.h <<_ACEOF
40180 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40181 _ACEOF
40182 ac_has_fenv_h=yes
40183 else
40184 ac_has_fenv_h=no
40187 done
40189 ac_c99_fenv_tr1=no;
40190 if test x"$ac_has_fenv_h" = x"yes"; then
40191 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <fenv.h>" >&5
40192 echo $ECHO_N "checking for ISO C99 support to TR1 in <fenv.h>... $ECHO_C" >&6
40193 cat >conftest.$ac_ext <<_ACEOF
40194 /* confdefs.h. */
40195 _ACEOF
40196 cat confdefs.h >>conftest.$ac_ext
40197 cat >>conftest.$ac_ext <<_ACEOF
40198 /* end confdefs.h. */
40199 #include <fenv.h>
40201 main ()
40203 int except, mode;
40204 fexcept_t* pflag;
40205 fenv_t* penv;
40206 int ret;
40207 ret = feclearexcept(except);
40208 ret = fegetexceptflag(pflag, except);
40209 ret = feraiseexcept(except);
40210 ret = fesetexceptflag(pflag, except);
40211 ret = fetestexcept(except);
40212 ret = fegetround();
40213 ret = fesetround(mode);
40214 ret = fegetenv(penv);
40215 ret = feholdexcept(penv);
40216 ret = fesetenv(penv);
40217 ret = feupdateenv(penv);
40220 return 0;
40222 _ACEOF
40223 rm -f conftest.$ac_objext
40224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40225 (eval $ac_compile) 2>conftest.er1
40226 ac_status=$?
40227 grep -v '^ *+' conftest.er1 >conftest.err
40228 rm -f conftest.er1
40229 cat conftest.err >&5
40230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40231 (exit $ac_status); } &&
40232 { ac_try='test -z "$ac_cxx_werror_flag"
40233 || test ! -s conftest.err'
40234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40235 (eval $ac_try) 2>&5
40236 ac_status=$?
40237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40238 (exit $ac_status); }; } &&
40239 { ac_try='test -s conftest.$ac_objext'
40240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40241 (eval $ac_try) 2>&5
40242 ac_status=$?
40243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40244 (exit $ac_status); }; }; then
40245 ac_c99_fenv_tr1=yes
40246 else
40247 echo "$as_me: failed program was:" >&5
40248 sed 's/^/| /' conftest.$ac_ext >&5
40250 ac_c99_fenv_tr1=no
40252 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40254 echo "$as_me:$LINENO: result: $ac_c99_fenv_tr1" >&5
40255 echo "${ECHO_T}$ac_c99_fenv_tr1" >&6
40256 if test x"$ac_c99_fenv_tr1" = x"yes"; then
40258 cat >>confdefs.h <<\_ACEOF
40259 #define _GLIBCXX_USE_C99_FENV_TR1 1
40260 _ACEOF
40264 # Check for the existence of <stdint.h> types.
40265 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <stdint.h>" >&5
40266 echo $ECHO_N "checking for ISO C99 support to TR1 in <stdint.h>... $ECHO_C" >&6
40267 if test "${ac_c99_stdint_tr1+set}" = set; then
40268 echo $ECHO_N "(cached) $ECHO_C" >&6
40269 else
40271 cat >conftest.$ac_ext <<_ACEOF
40272 /* confdefs.h. */
40273 _ACEOF
40274 cat confdefs.h >>conftest.$ac_ext
40275 cat >>conftest.$ac_ext <<_ACEOF
40276 /* end confdefs.h. */
40277 #include <stdint.h>
40279 main ()
40281 typedef int8_t my_int8_t;
40282 typedef int16_t my_int16_t;
40283 typedef int32_t my_int32_t;
40284 typedef int64_t my_int64_t;
40285 typedef int_fast8_t my_int_fast8_t;
40286 typedef int_fast16_t my_int_fast16_t;
40287 typedef int_fast32_t my_int_fast32_t;
40288 typedef int_fast64_t my_int_fast64_t;
40289 typedef int_least8_t my_int_least8_t;
40290 typedef int_least16_t my_int_least16_t;
40291 typedef int_least32_t my_int_least32_t;
40292 typedef int_least64_t my_int_least64_t;
40293 typedef intmax_t my_intmax_t;
40294 typedef intptr_t my_intptr_t;
40295 typedef uint8_t my_uint8_t;
40296 typedef uint16_t my_uint16_t;
40297 typedef uint32_t my_uint32_t;
40298 typedef uint64_t my_uint64_t;
40299 typedef uint_fast8_t my_uint_fast8_t;
40300 typedef uint_fast16_t my_uint_fast16_t;
40301 typedef uint_fast32_t my_uint_fast32_t;
40302 typedef uint_fast64_t my_uint_fast64_t;
40303 typedef uint_least8_t my_uint_least8_t;
40304 typedef uint_least16_t my_uint_least16_t;
40305 typedef uint_least32_t my_uint_least32_t;
40306 typedef uint_least64_t my_uint_least64_t;
40307 typedef uintmax_t my_uintmax_t;
40308 typedef uintptr_t my_uintptr_t;
40311 return 0;
40313 _ACEOF
40314 rm -f conftest.$ac_objext
40315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40316 (eval $ac_compile) 2>conftest.er1
40317 ac_status=$?
40318 grep -v '^ *+' conftest.er1 >conftest.err
40319 rm -f conftest.er1
40320 cat conftest.err >&5
40321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40322 (exit $ac_status); } &&
40323 { ac_try='test -z "$ac_cxx_werror_flag"
40324 || test ! -s conftest.err'
40325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40326 (eval $ac_try) 2>&5
40327 ac_status=$?
40328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40329 (exit $ac_status); }; } &&
40330 { ac_try='test -s conftest.$ac_objext'
40331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40332 (eval $ac_try) 2>&5
40333 ac_status=$?
40334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40335 (exit $ac_status); }; }; then
40336 ac_c99_stdint_tr1=yes
40337 else
40338 echo "$as_me: failed program was:" >&5
40339 sed 's/^/| /' conftest.$ac_ext >&5
40341 ac_c99_stdint_tr1=no
40343 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40347 echo "$as_me:$LINENO: result: $ac_c99_stdint_tr1" >&5
40348 echo "${ECHO_T}$ac_c99_stdint_tr1" >&6
40349 if test x"$ac_c99_stdint_tr1" = x"yes"; then
40351 cat >>confdefs.h <<\_ACEOF
40352 #define _GLIBCXX_USE_C99_STDINT_TR1 1
40353 _ACEOF
40357 # Check for the existence of <math.h> functions.
40358 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <math.h>" >&5
40359 echo $ECHO_N "checking for ISO C99 support to TR1 in <math.h>... $ECHO_C" >&6
40360 if test "${ac_c99_math_tr1+set}" = set; then
40361 echo $ECHO_N "(cached) $ECHO_C" >&6
40362 else
40364 cat >conftest.$ac_ext <<_ACEOF
40365 /* confdefs.h. */
40366 _ACEOF
40367 cat confdefs.h >>conftest.$ac_ext
40368 cat >>conftest.$ac_ext <<_ACEOF
40369 /* end confdefs.h. */
40370 #include <math.h>
40372 main ()
40374 typedef double_t my_double_t;
40375 typedef float_t my_float_t;
40376 acosh(0.0);
40377 acoshf(0.0f);
40378 acoshl(0.0l);
40379 asinh(0.0);
40380 asinhf(0.0f);
40381 asinhl(0.0l);
40382 atanh(0.0);
40383 atanhf(0.0f);
40384 atanhl(0.0l);
40385 cbrt(0.0);
40386 cbrtf(0.0f);
40387 cbrtl(0.0l);
40388 copysign(0.0, 0.0);
40389 copysignf(0.0f, 0.0f);
40390 copysignl(0.0l, 0.0l);
40391 erf(0.0);
40392 erff(0.0f);
40393 erfl(0.0l);
40394 erfc(0.0);
40395 erfcf(0.0f);
40396 erfcl(0.0l);
40397 exp2(0.0);
40398 exp2f(0.0f);
40399 exp2l(0.0l);
40400 expm1(0.0);
40401 expm1f(0.0f);
40402 expm1l(0.0l);
40403 fdim(0.0, 0.0);
40404 fdimf(0.0f, 0.0f);
40405 fdiml(0.0l, 0.0l);
40406 fma(0.0, 0.0, 0.0);
40407 fmaf(0.0f, 0.0f, 0.0f);
40408 fmal(0.0l, 0.0l, 0.0l);
40409 fmax(0.0, 0.0);
40410 fmaxf(0.0f, 0.0f);
40411 fmaxl(0.0l, 0.0l);
40412 fmin(0.0, 0.0);
40413 fminf(0.0f, 0.0f);
40414 fminl(0.0l, 0.0l);
40415 hypot(0.0, 0.0);
40416 hypotf(0.0f, 0.0f);
40417 hypotl(0.0l, 0.0l);
40418 ilogb(0.0);
40419 ilogbf(0.0f);
40420 ilogbl(0.0l);
40421 lgamma(0.0);
40422 lgammaf(0.0f);
40423 lgammal(0.0l);
40424 llrint(0.0);
40425 llrintf(0.0f);
40426 llrintl(0.0l);
40427 llround(0.0);
40428 llroundf(0.0f);
40429 llroundl(0.0l);
40430 log1p(0.0);
40431 log1pf(0.0f);
40432 log1pl(0.0l);
40433 log2(0.0);
40434 log2f(0.0f);
40435 log2l(0.0l);
40436 logb(0.0);
40437 logbf(0.0f);
40438 logbl(0.0l);
40439 lrint(0.0);
40440 lrintf(0.0f);
40441 lrintl(0.0l);
40442 lround(0.0);
40443 lroundf(0.0f);
40444 lroundl(0.0l);
40445 nan(0);
40446 nanf(0);
40447 nanl(0);
40448 nearbyint(0.0);
40449 nearbyintf(0.0f);
40450 nearbyintl(0.0l);
40451 nextafter(0.0, 0.0);
40452 nextafterf(0.0f, 0.0f);
40453 nextafterl(0.0l, 0.0l);
40454 nexttoward(0.0, 0.0);
40455 nexttowardf(0.0f, 0.0f);
40456 nexttowardl(0.0l, 0.0l);
40457 remainder(0.0, 0.0);
40458 remainderf(0.0f, 0.0f);
40459 remainderl(0.0l, 0.0l);
40460 remquo(0.0, 0.0, 0);
40461 remquo(0.0f, 0.0f, 0);
40462 remquo(0.0l, 0.0l, 0);
40463 rint(0.0);
40464 rintf(0.0f);
40465 rintl(0.0l);
40466 round(0.0);
40467 roundf(0.0f);
40468 roundl(0.0l);
40469 scalbln(0.0, 0l);
40470 scalblnf(0.0f, 0l);
40471 scalblnl(0.0l, 0l);
40472 scalbn(0.0, 0);
40473 scalbnf(0.0f, 0);
40474 scalbnl(0.0l, 0);
40475 tgamma(0.0);
40476 tgammaf(0.0f);
40477 tgammal(0.0l);
40478 trunc(0.0);
40479 truncf(0.0f);
40480 truncl(0.0l);
40483 return 0;
40485 _ACEOF
40486 rm -f conftest.$ac_objext
40487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40488 (eval $ac_compile) 2>conftest.er1
40489 ac_status=$?
40490 grep -v '^ *+' conftest.er1 >conftest.err
40491 rm -f conftest.er1
40492 cat conftest.err >&5
40493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40494 (exit $ac_status); } &&
40495 { ac_try='test -z "$ac_cxx_werror_flag"
40496 || test ! -s conftest.err'
40497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40498 (eval $ac_try) 2>&5
40499 ac_status=$?
40500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40501 (exit $ac_status); }; } &&
40502 { ac_try='test -s conftest.$ac_objext'
40503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40504 (eval $ac_try) 2>&5
40505 ac_status=$?
40506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40507 (exit $ac_status); }; }; then
40508 ac_c99_math_tr1=yes
40509 else
40510 echo "$as_me: failed program was:" >&5
40511 sed 's/^/| /' conftest.$ac_ext >&5
40513 ac_c99_math_tr1=no
40515 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40519 echo "$as_me:$LINENO: result: $ac_c99_math_tr1" >&5
40520 echo "${ECHO_T}$ac_c99_math_tr1" >&6
40521 if test x"$ac_c99_math_tr1" = x"yes"; then
40523 cat >>confdefs.h <<\_ACEOF
40524 #define _GLIBCXX_USE_C99_MATH_TR1 1
40525 _ACEOF
40529 # Check for the existence of <inttypes.h> functions (NB: doesn't make
40530 # sense if the previous check fails, per C99, 7.8/1).
40531 ac_c99_inttypes_tr1=no;
40532 if test x"$ac_c99_stdint_tr1" = x"yes"; then
40533 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
40534 echo $ECHO_N "checking for ISO C99 support to TR1 in <inttypes.h>... $ECHO_C" >&6
40535 cat >conftest.$ac_ext <<_ACEOF
40536 /* confdefs.h. */
40537 _ACEOF
40538 cat confdefs.h >>conftest.$ac_ext
40539 cat >>conftest.$ac_ext <<_ACEOF
40540 /* end confdefs.h. */
40541 #include <inttypes.h>
40543 main ()
40545 intmax_t i, numer, denom, base;
40546 const char* s;
40547 char** endptr;
40548 intmax_t ret = imaxabs(i);
40549 imaxdiv_t dret = imaxdiv(numer, denom);
40550 ret = strtoimax(s, endptr, base);
40551 uintmax_t uret = strtoumax(s, endptr, base);
40554 return 0;
40556 _ACEOF
40557 rm -f conftest.$ac_objext
40558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40559 (eval $ac_compile) 2>conftest.er1
40560 ac_status=$?
40561 grep -v '^ *+' conftest.er1 >conftest.err
40562 rm -f conftest.er1
40563 cat conftest.err >&5
40564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40565 (exit $ac_status); } &&
40566 { ac_try='test -z "$ac_cxx_werror_flag"
40567 || test ! -s conftest.err'
40568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40569 (eval $ac_try) 2>&5
40570 ac_status=$?
40571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40572 (exit $ac_status); }; } &&
40573 { ac_try='test -s conftest.$ac_objext'
40574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40575 (eval $ac_try) 2>&5
40576 ac_status=$?
40577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40578 (exit $ac_status); }; }; then
40579 ac_c99_inttypes_tr1=yes
40580 else
40581 echo "$as_me: failed program was:" >&5
40582 sed 's/^/| /' conftest.$ac_ext >&5
40584 ac_c99_inttypes_tr1=no
40586 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40588 echo "$as_me:$LINENO: result: $ac_c99_inttypes_tr1" >&5
40589 echo "${ECHO_T}$ac_c99_inttypes_tr1" >&6
40590 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
40592 cat >>confdefs.h <<\_ACEOF
40593 #define _GLIBCXX_USE_C99_INTTYPES_TR1 1
40594 _ACEOF
40598 # Check for the existence of the <stdbool.h> header.
40600 for ac_header in stdbool.h
40602 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40603 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40604 echo "$as_me:$LINENO: checking for $ac_header" >&5
40605 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40606 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40607 echo $ECHO_N "(cached) $ECHO_C" >&6
40609 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40610 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40611 else
40612 # Is the header compilable?
40613 echo "$as_me:$LINENO: checking $ac_header usability" >&5
40614 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
40615 cat >conftest.$ac_ext <<_ACEOF
40616 /* confdefs.h. */
40617 _ACEOF
40618 cat confdefs.h >>conftest.$ac_ext
40619 cat >>conftest.$ac_ext <<_ACEOF
40620 /* end confdefs.h. */
40621 $ac_includes_default
40622 #include <$ac_header>
40623 _ACEOF
40624 rm -f conftest.$ac_objext
40625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40626 (eval $ac_compile) 2>conftest.er1
40627 ac_status=$?
40628 grep -v '^ *+' conftest.er1 >conftest.err
40629 rm -f conftest.er1
40630 cat conftest.err >&5
40631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40632 (exit $ac_status); } &&
40633 { ac_try='test -z "$ac_cxx_werror_flag"
40634 || test ! -s conftest.err'
40635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40636 (eval $ac_try) 2>&5
40637 ac_status=$?
40638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40639 (exit $ac_status); }; } &&
40640 { ac_try='test -s conftest.$ac_objext'
40641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40642 (eval $ac_try) 2>&5
40643 ac_status=$?
40644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40645 (exit $ac_status); }; }; then
40646 ac_header_compiler=yes
40647 else
40648 echo "$as_me: failed program was:" >&5
40649 sed 's/^/| /' conftest.$ac_ext >&5
40651 ac_header_compiler=no
40653 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40654 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
40655 echo "${ECHO_T}$ac_header_compiler" >&6
40657 # Is the header present?
40658 echo "$as_me:$LINENO: checking $ac_header presence" >&5
40659 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
40660 cat >conftest.$ac_ext <<_ACEOF
40661 /* confdefs.h. */
40662 _ACEOF
40663 cat confdefs.h >>conftest.$ac_ext
40664 cat >>conftest.$ac_ext <<_ACEOF
40665 /* end confdefs.h. */
40666 #include <$ac_header>
40667 _ACEOF
40668 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40669 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
40670 ac_status=$?
40671 grep -v '^ *+' conftest.er1 >conftest.err
40672 rm -f conftest.er1
40673 cat conftest.err >&5
40674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40675 (exit $ac_status); } >/dev/null; then
40676 if test -s conftest.err; then
40677 ac_cpp_err=$ac_cxx_preproc_warn_flag
40678 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
40679 else
40680 ac_cpp_err=
40682 else
40683 ac_cpp_err=yes
40685 if test -z "$ac_cpp_err"; then
40686 ac_header_preproc=yes
40687 else
40688 echo "$as_me: failed program was:" >&5
40689 sed 's/^/| /' conftest.$ac_ext >&5
40691 ac_header_preproc=no
40693 rm -f conftest.err conftest.$ac_ext
40694 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
40695 echo "${ECHO_T}$ac_header_preproc" >&6
40697 # So? What about this header?
40698 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
40699 yes:no: )
40700 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
40701 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
40702 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
40703 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
40704 ac_header_preproc=yes
40706 no:yes:* )
40707 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
40708 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
40709 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
40710 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
40711 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
40712 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
40713 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
40714 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
40715 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
40716 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
40717 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
40718 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
40720 cat <<\_ASBOX
40721 ## ----------------------------------------- ##
40722 ## Report this to the package-unused lists. ##
40723 ## ----------------------------------------- ##
40724 _ASBOX
40726 sed "s/^/$as_me: WARNING: /" >&2
40728 esac
40729 echo "$as_me:$LINENO: checking for $ac_header" >&5
40730 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40731 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40732 echo $ECHO_N "(cached) $ECHO_C" >&6
40733 else
40734 eval "$as_ac_Header=\$ac_header_preproc"
40736 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40737 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40740 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40741 cat >>confdefs.h <<_ACEOF
40742 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40743 _ACEOF
40747 done
40750 CXXFLAGS="$ac_save_CXXFLAGS"
40751 ac_ext=c
40752 ac_cpp='$CPP $CPPFLAGS'
40753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40759 # For dev/random and dev/urandom for TR1.
40762 echo "$as_me:$LINENO: checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device" >&5
40763 echo $ECHO_N "checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device... $ECHO_C" >&6
40764 if test "${ac_random_tr1+set}" = set; then
40765 echo $ECHO_N "(cached) $ECHO_C" >&6
40766 else
40768 if test "$cross_compiling" = yes; then
40769 ac_random_tr1=no
40770 else
40771 cat >conftest.$ac_ext <<_ACEOF
40772 /* confdefs.h. */
40773 _ACEOF
40774 cat confdefs.h >>conftest.$ac_ext
40775 cat >>conftest.$ac_ext <<_ACEOF
40776 /* end confdefs.h. */
40777 #include <stdio.h>
40778 int main()
40780 return !(fopen("/dev/random", "r")
40781 && fopen("/dev/urandom", "r"));
40784 _ACEOF
40785 rm -f conftest$ac_exeext
40786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40787 (eval $ac_link) 2>&5
40788 ac_status=$?
40789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40790 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
40791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40792 (eval $ac_try) 2>&5
40793 ac_status=$?
40794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40795 (exit $ac_status); }; }; then
40796 ac_random_tr1=yes
40797 else
40798 echo "$as_me: program exited with status $ac_status" >&5
40799 echo "$as_me: failed program was:" >&5
40800 sed 's/^/| /' conftest.$ac_ext >&5
40802 ( exit $ac_status )
40803 ac_random_tr1=no
40805 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
40810 echo "$as_me:$LINENO: result: $ac_random_tr1" >&5
40811 echo "${ECHO_T}$ac_random_tr1" >&6
40812 if test x"$ac_random_tr1" = x"yes"; then
40814 cat >>confdefs.h <<\_ACEOF
40815 #define _GLIBCXX_USE_RANDOM_TR1 1
40816 _ACEOF
40822 # For TLS support.
40824 # Check whether --enable-tls or --disable-tls was given.
40825 if test "${enable_tls+set}" = set; then
40826 enableval="$enable_tls"
40828 case "$enableval" in
40829 yes|no) ;;
40830 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
40831 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
40832 { (exit 1); exit 1; }; } ;;
40833 esac
40835 else
40836 enable_tls=yes
40839 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
40840 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
40841 if test "${gcc_cv_have_tls+set}" = set; then
40842 echo $ECHO_N "(cached) $ECHO_C" >&6
40843 else
40845 if test "$cross_compiling" = yes; then
40846 if test x$gcc_no_link = xyes; then
40847 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40848 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40849 { (exit 1); exit 1; }; }
40851 cat >conftest.$ac_ext <<_ACEOF
40852 __thread int a; int b; int main() { return a = b; }
40853 _ACEOF
40854 rm -f conftest.$ac_objext conftest$ac_exeext
40855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40856 (eval $ac_link) 2>conftest.er1
40857 ac_status=$?
40858 grep -v '^ *+' conftest.er1 >conftest.err
40859 rm -f conftest.er1
40860 cat conftest.err >&5
40861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40862 (exit $ac_status); } &&
40863 { ac_try='test -z "$ac_c_werror_flag"
40864 || test ! -s conftest.err'
40865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40866 (eval $ac_try) 2>&5
40867 ac_status=$?
40868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40869 (exit $ac_status); }; } &&
40870 { ac_try='test -s conftest$ac_exeext'
40871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40872 (eval $ac_try) 2>&5
40873 ac_status=$?
40874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40875 (exit $ac_status); }; }; then
40876 gcc_cv_have_tls=yes
40877 else
40878 echo "$as_me: failed program was:" >&5
40879 sed 's/^/| /' conftest.$ac_ext >&5
40881 gcc_cv_have_tls=no
40883 rm -f conftest.err conftest.$ac_objext \
40884 conftest$ac_exeext conftest.$ac_ext
40887 else
40888 cat >conftest.$ac_ext <<_ACEOF
40889 __thread int a; int b; int main() { return a = b; }
40890 _ACEOF
40891 rm -f conftest$ac_exeext
40892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40893 (eval $ac_link) 2>&5
40894 ac_status=$?
40895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40896 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
40897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40898 (eval $ac_try) 2>&5
40899 ac_status=$?
40900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40901 (exit $ac_status); }; }; then
40902 chktls_save_LDFLAGS="$LDFLAGS"
40903 LDFLAGS="-static $LDFLAGS"
40904 if test x$gcc_no_link = xyes; then
40905 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40906 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40907 { (exit 1); exit 1; }; }
40909 cat >conftest.$ac_ext <<_ACEOF
40910 int main() { return 0; }
40911 _ACEOF
40912 rm -f conftest.$ac_objext conftest$ac_exeext
40913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40914 (eval $ac_link) 2>conftest.er1
40915 ac_status=$?
40916 grep -v '^ *+' conftest.er1 >conftest.err
40917 rm -f conftest.er1
40918 cat conftest.err >&5
40919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40920 (exit $ac_status); } &&
40921 { ac_try='test -z "$ac_c_werror_flag"
40922 || test ! -s conftest.err'
40923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40924 (eval $ac_try) 2>&5
40925 ac_status=$?
40926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40927 (exit $ac_status); }; } &&
40928 { ac_try='test -s conftest$ac_exeext'
40929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40930 (eval $ac_try) 2>&5
40931 ac_status=$?
40932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40933 (exit $ac_status); }; }; then
40934 if test "$cross_compiling" = yes; then
40935 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
40936 See \`config.log' for more details." >&5
40937 echo "$as_me: error: cannot run test program while cross compiling
40938 See \`config.log' for more details." >&2;}
40939 { (exit 1); exit 1; }; }
40940 else
40941 cat >conftest.$ac_ext <<_ACEOF
40942 __thread int a; int b; int main() { return a = b; }
40943 _ACEOF
40944 rm -f conftest$ac_exeext
40945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40946 (eval $ac_link) 2>&5
40947 ac_status=$?
40948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40949 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
40950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40951 (eval $ac_try) 2>&5
40952 ac_status=$?
40953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40954 (exit $ac_status); }; }; then
40955 gcc_cv_have_tls=yes
40956 else
40957 echo "$as_me: program exited with status $ac_status" >&5
40958 echo "$as_me: failed program was:" >&5
40959 sed 's/^/| /' conftest.$ac_ext >&5
40961 ( exit $ac_status )
40962 gcc_cv_have_tls=no
40964 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
40966 else
40967 echo "$as_me: failed program was:" >&5
40968 sed 's/^/| /' conftest.$ac_ext >&5
40970 gcc_cv_have_tls=yes
40972 rm -f conftest.err conftest.$ac_objext \
40973 conftest$ac_exeext conftest.$ac_ext
40974 LDFLAGS="$chktls_save_LDFLAGS"
40975 if test $gcc_cv_have_tls = yes; then
40976 chktls_save_CFLAGS="$CFLAGS"
40977 thread_CFLAGS=failed
40978 for flag in '' '-pthread' '-lpthread'; do
40979 CFLAGS="$flag $chktls_save_CFLAGS"
40980 if test x$gcc_no_link = xyes; then
40981 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40982 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40983 { (exit 1); exit 1; }; }
40985 cat >conftest.$ac_ext <<_ACEOF
40986 /* confdefs.h. */
40987 _ACEOF
40988 cat confdefs.h >>conftest.$ac_ext
40989 cat >>conftest.$ac_ext <<_ACEOF
40990 /* end confdefs.h. */
40991 #include <pthread.h>
40992 void *g(void *d) { return NULL; }
40994 main ()
40996 pthread_t t; pthread_create(&t,NULL,g,NULL);
40998 return 0;
41000 _ACEOF
41001 rm -f conftest.$ac_objext conftest$ac_exeext
41002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41003 (eval $ac_link) 2>conftest.er1
41004 ac_status=$?
41005 grep -v '^ *+' conftest.er1 >conftest.err
41006 rm -f conftest.er1
41007 cat conftest.err >&5
41008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41009 (exit $ac_status); } &&
41010 { ac_try='test -z "$ac_c_werror_flag"
41011 || test ! -s conftest.err'
41012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41013 (eval $ac_try) 2>&5
41014 ac_status=$?
41015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41016 (exit $ac_status); }; } &&
41017 { ac_try='test -s conftest$ac_exeext'
41018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41019 (eval $ac_try) 2>&5
41020 ac_status=$?
41021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41022 (exit $ac_status); }; }; then
41023 thread_CFLAGS="$flag"
41024 else
41025 echo "$as_me: failed program was:" >&5
41026 sed 's/^/| /' conftest.$ac_ext >&5
41029 rm -f conftest.err conftest.$ac_objext \
41030 conftest$ac_exeext conftest.$ac_ext
41031 if test "X$thread_CFLAGS" != Xfailed; then
41032 break
41034 done
41035 CFLAGS="$chktls_save_CFLAGS"
41036 if test "X$thread_CFLAGS" != Xfailed; then
41037 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
41038 if test "$cross_compiling" = yes; then
41039 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
41040 See \`config.log' for more details." >&5
41041 echo "$as_me: error: cannot run test program while cross compiling
41042 See \`config.log' for more details." >&2;}
41043 { (exit 1); exit 1; }; }
41044 else
41045 cat >conftest.$ac_ext <<_ACEOF
41046 /* confdefs.h. */
41047 _ACEOF
41048 cat confdefs.h >>conftest.$ac_ext
41049 cat >>conftest.$ac_ext <<_ACEOF
41050 /* end confdefs.h. */
41051 #include <pthread.h>
41052 __thread int a;
41053 static int *a_in_other_thread;
41054 static void *
41055 thread_func (void *arg)
41057 a_in_other_thread = &a;
41058 return (void *)0;
41061 main ()
41063 pthread_t thread;
41064 void *thread_retval;
41065 int *a_in_main_thread;
41066 if (pthread_create (&thread, (pthread_attr_t *)0,
41067 thread_func, (void *)0))
41068 return 0;
41069 a_in_main_thread = &a;
41070 if (pthread_join (thread, &thread_retval))
41071 return 0;
41072 return (a_in_other_thread == a_in_main_thread);
41074 return 0;
41076 _ACEOF
41077 rm -f conftest$ac_exeext
41078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41079 (eval $ac_link) 2>&5
41080 ac_status=$?
41081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41082 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41084 (eval $ac_try) 2>&5
41085 ac_status=$?
41086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41087 (exit $ac_status); }; }; then
41088 gcc_cv_have_tls=yes
41089 else
41090 echo "$as_me: program exited with status $ac_status" >&5
41091 echo "$as_me: failed program was:" >&5
41092 sed 's/^/| /' conftest.$ac_ext >&5
41094 ( exit $ac_status )
41095 gcc_cv_have_tls=no
41097 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41099 CFLAGS="$chktls_save_CFLAGS"
41102 else
41103 echo "$as_me: program exited with status $ac_status" >&5
41104 echo "$as_me: failed program was:" >&5
41105 sed 's/^/| /' conftest.$ac_ext >&5
41107 ( exit $ac_status )
41108 gcc_cv_have_tls=no
41110 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41113 echo "$as_me:$LINENO: result: $gcc_cv_have_tls" >&5
41114 echo "${ECHO_T}$gcc_cv_have_tls" >&6
41115 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
41117 cat >>confdefs.h <<\_ACEOF
41118 #define HAVE_TLS 1
41119 _ACEOF
41123 # For _Unwind_GetIPInfo.
41127 ac_ext=cc
41128 ac_cpp='$CXXCPP $CPPFLAGS'
41129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41133 ac_save_CXXFLAGS="$CXXFLAGS"
41134 CXXFLAGS="$CXXFLAGS -fno-exceptions"
41135 echo "$as_me:$LINENO: checking for _Unwind_GetIPInfo" >&5
41136 echo $ECHO_N "checking for _Unwind_GetIPInfo... $ECHO_C" >&6
41137 if test "${gcc_cv_getipinfo+set}" = set; then
41138 echo $ECHO_N "(cached) $ECHO_C" >&6
41139 else
41141 if test x$gcc_no_link = xyes; then
41142 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41143 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41144 { (exit 1); exit 1; }; }
41146 cat >conftest.$ac_ext <<_ACEOF
41147 /* confdefs.h. */
41148 _ACEOF
41149 cat confdefs.h >>conftest.$ac_ext
41150 cat >>conftest.$ac_ext <<_ACEOF
41151 /* end confdefs.h. */
41152 extern "C" { extern void _Unwind_GetIPInfo(); }
41154 main ()
41156 _Unwind_GetIPInfo();
41158 return 0;
41160 _ACEOF
41161 rm -f conftest.$ac_objext conftest$ac_exeext
41162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41163 (eval $ac_link) 2>conftest.er1
41164 ac_status=$?
41165 grep -v '^ *+' conftest.er1 >conftest.err
41166 rm -f conftest.er1
41167 cat conftest.err >&5
41168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41169 (exit $ac_status); } &&
41170 { ac_try='test -z "$ac_cxx_werror_flag"
41171 || test ! -s conftest.err'
41172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41173 (eval $ac_try) 2>&5
41174 ac_status=$?
41175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41176 (exit $ac_status); }; } &&
41177 { ac_try='test -s conftest$ac_exeext'
41178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41179 (eval $ac_try) 2>&5
41180 ac_status=$?
41181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41182 (exit $ac_status); }; }; then
41183 gcc_cv_getipinfo=yes
41184 else
41185 echo "$as_me: failed program was:" >&5
41186 sed 's/^/| /' conftest.$ac_ext >&5
41188 gcc_cv_getipinfo=no
41190 rm -f conftest.err conftest.$ac_objext \
41191 conftest$ac_exeext conftest.$ac_ext
41195 if test $gcc_cv_getipinfo = yes; then
41197 cat >>confdefs.h <<\_ACEOF
41198 #define HAVE_GETIPINFO 1
41199 _ACEOF
41202 echo "$as_me:$LINENO: result: $gcc_cv_getipinfo" >&5
41203 echo "${ECHO_T}$gcc_cv_getipinfo" >&6
41204 CXXFLAGS="$ac_save_CXXFLAGS"
41205 ac_ext=c
41206 ac_cpp='$CPP $CPPFLAGS'
41207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41214 if test "${ac_cv_header_locale_h+set}" = set; then
41215 echo "$as_me:$LINENO: checking for locale.h" >&5
41216 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
41217 if test "${ac_cv_header_locale_h+set}" = set; then
41218 echo $ECHO_N "(cached) $ECHO_C" >&6
41220 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
41221 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
41222 else
41223 # Is the header compilable?
41224 echo "$as_me:$LINENO: checking locale.h usability" >&5
41225 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
41226 cat >conftest.$ac_ext <<_ACEOF
41227 /* confdefs.h. */
41228 _ACEOF
41229 cat confdefs.h >>conftest.$ac_ext
41230 cat >>conftest.$ac_ext <<_ACEOF
41231 /* end confdefs.h. */
41232 $ac_includes_default
41233 #include <locale.h>
41234 _ACEOF
41235 rm -f conftest.$ac_objext
41236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41237 (eval $ac_compile) 2>conftest.er1
41238 ac_status=$?
41239 grep -v '^ *+' conftest.er1 >conftest.err
41240 rm -f conftest.er1
41241 cat conftest.err >&5
41242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41243 (exit $ac_status); } &&
41244 { ac_try='test -z "$ac_c_werror_flag"
41245 || test ! -s conftest.err'
41246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41247 (eval $ac_try) 2>&5
41248 ac_status=$?
41249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41250 (exit $ac_status); }; } &&
41251 { ac_try='test -s conftest.$ac_objext'
41252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41253 (eval $ac_try) 2>&5
41254 ac_status=$?
41255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41256 (exit $ac_status); }; }; then
41257 ac_header_compiler=yes
41258 else
41259 echo "$as_me: failed program was:" >&5
41260 sed 's/^/| /' conftest.$ac_ext >&5
41262 ac_header_compiler=no
41264 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41265 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
41266 echo "${ECHO_T}$ac_header_compiler" >&6
41268 # Is the header present?
41269 echo "$as_me:$LINENO: checking locale.h presence" >&5
41270 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
41271 cat >conftest.$ac_ext <<_ACEOF
41272 /* confdefs.h. */
41273 _ACEOF
41274 cat confdefs.h >>conftest.$ac_ext
41275 cat >>conftest.$ac_ext <<_ACEOF
41276 /* end confdefs.h. */
41277 #include <locale.h>
41278 _ACEOF
41279 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
41280 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
41281 ac_status=$?
41282 grep -v '^ *+' conftest.er1 >conftest.err
41283 rm -f conftest.er1
41284 cat conftest.err >&5
41285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41286 (exit $ac_status); } >/dev/null; then
41287 if test -s conftest.err; then
41288 ac_cpp_err=$ac_c_preproc_warn_flag
41289 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
41290 else
41291 ac_cpp_err=
41293 else
41294 ac_cpp_err=yes
41296 if test -z "$ac_cpp_err"; then
41297 ac_header_preproc=yes
41298 else
41299 echo "$as_me: failed program was:" >&5
41300 sed 's/^/| /' conftest.$ac_ext >&5
41302 ac_header_preproc=no
41304 rm -f conftest.err conftest.$ac_ext
41305 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
41306 echo "${ECHO_T}$ac_header_preproc" >&6
41308 # So? What about this header?
41309 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
41310 yes:no: )
41311 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
41312 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
41313 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
41314 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
41315 ac_header_preproc=yes
41317 no:yes:* )
41318 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
41319 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
41320 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
41321 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
41322 { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
41323 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
41324 { echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
41325 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
41326 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
41327 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
41328 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
41329 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
41331 cat <<\_ASBOX
41332 ## ----------------------------------------- ##
41333 ## Report this to the package-unused lists. ##
41334 ## ----------------------------------------- ##
41335 _ASBOX
41337 sed "s/^/$as_me: WARNING: /" >&2
41339 esac
41340 echo "$as_me:$LINENO: checking for locale.h" >&5
41341 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
41342 if test "${ac_cv_header_locale_h+set}" = set; then
41343 echo $ECHO_N "(cached) $ECHO_C" >&6
41344 else
41345 ac_cv_header_locale_h=$ac_header_preproc
41347 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
41348 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
41351 if test $ac_cv_header_locale_h = yes; then
41353 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
41354 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
41355 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
41356 echo $ECHO_N "(cached) $ECHO_C" >&6
41357 else
41358 if test x$gcc_no_link = xyes; then
41359 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41360 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41361 { (exit 1); exit 1; }; }
41363 cat >conftest.$ac_ext <<_ACEOF
41364 /* confdefs.h. */
41365 _ACEOF
41366 cat confdefs.h >>conftest.$ac_ext
41367 cat >>conftest.$ac_ext <<_ACEOF
41368 /* end confdefs.h. */
41369 #include <locale.h>
41371 main ()
41373 return LC_MESSAGES
41375 return 0;
41377 _ACEOF
41378 rm -f conftest.$ac_objext conftest$ac_exeext
41379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41380 (eval $ac_link) 2>conftest.er1
41381 ac_status=$?
41382 grep -v '^ *+' conftest.er1 >conftest.err
41383 rm -f conftest.er1
41384 cat conftest.err >&5
41385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41386 (exit $ac_status); } &&
41387 { ac_try='test -z "$ac_c_werror_flag"
41388 || test ! -s conftest.err'
41389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41390 (eval $ac_try) 2>&5
41391 ac_status=$?
41392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41393 (exit $ac_status); }; } &&
41394 { ac_try='test -s conftest$ac_exeext'
41395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41396 (eval $ac_try) 2>&5
41397 ac_status=$?
41398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41399 (exit $ac_status); }; }; then
41400 ac_cv_val_LC_MESSAGES=yes
41401 else
41402 echo "$as_me: failed program was:" >&5
41403 sed 's/^/| /' conftest.$ac_ext >&5
41405 ac_cv_val_LC_MESSAGES=no
41407 rm -f conftest.err conftest.$ac_objext \
41408 conftest$ac_exeext conftest.$ac_ext
41410 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
41411 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
41412 if test $ac_cv_val_LC_MESSAGES = yes; then
41414 cat >>confdefs.h <<\_ACEOF
41415 #define HAVE_LC_MESSAGES 1
41416 _ACEOF
41425 cat >conftest.$ac_ext <<_ACEOF
41426 /* confdefs.h. */
41427 _ACEOF
41428 cat confdefs.h >>conftest.$ac_ext
41429 cat >>conftest.$ac_ext <<_ACEOF
41430 /* end confdefs.h. */
41431 #include <setjmp.h>
41433 main ()
41435 sigjmp_buf env;
41436 while (! sigsetjmp (env, 1))
41437 siglongjmp (env, 1);
41440 return 0;
41442 _ACEOF
41443 rm -f conftest.$ac_objext
41444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41445 (eval $ac_compile) 2>conftest.er1
41446 ac_status=$?
41447 grep -v '^ *+' conftest.er1 >conftest.err
41448 rm -f conftest.er1
41449 cat conftest.err >&5
41450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41451 (exit $ac_status); } &&
41452 { ac_try='test -z "$ac_c_werror_flag"
41453 || test ! -s conftest.err'
41454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41455 (eval $ac_try) 2>&5
41456 ac_status=$?
41457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41458 (exit $ac_status); }; } &&
41459 { ac_try='test -s conftest.$ac_objext'
41460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41461 (eval $ac_try) 2>&5
41462 ac_status=$?
41463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41464 (exit $ac_status); }; }; then
41466 cat >>confdefs.h <<\_ACEOF
41467 #define HAVE_SIGSETJMP 1
41468 _ACEOF
41470 else
41471 echo "$as_me: failed program was:" >&5
41472 sed 's/^/| /' conftest.$ac_ext >&5
41475 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41477 if test x$gcc_no_link = xyes; then
41478 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
41479 ac_cv_func_mmap_fixed_mapped=no
41482 if test "x${ac_cv_func_mmap_fixed_mapped}" != xno; then
41485 for ac_header in stdlib.h unistd.h
41487 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41488 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41489 echo "$as_me:$LINENO: checking for $ac_header" >&5
41490 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41491 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41492 echo $ECHO_N "(cached) $ECHO_C" >&6
41494 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41495 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41496 else
41497 # Is the header compilable?
41498 echo "$as_me:$LINENO: checking $ac_header usability" >&5
41499 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
41500 cat >conftest.$ac_ext <<_ACEOF
41501 /* confdefs.h. */
41502 _ACEOF
41503 cat confdefs.h >>conftest.$ac_ext
41504 cat >>conftest.$ac_ext <<_ACEOF
41505 /* end confdefs.h. */
41506 $ac_includes_default
41507 #include <$ac_header>
41508 _ACEOF
41509 rm -f conftest.$ac_objext
41510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41511 (eval $ac_compile) 2>conftest.er1
41512 ac_status=$?
41513 grep -v '^ *+' conftest.er1 >conftest.err
41514 rm -f conftest.er1
41515 cat conftest.err >&5
41516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41517 (exit $ac_status); } &&
41518 { ac_try='test -z "$ac_c_werror_flag"
41519 || test ! -s conftest.err'
41520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41521 (eval $ac_try) 2>&5
41522 ac_status=$?
41523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41524 (exit $ac_status); }; } &&
41525 { ac_try='test -s conftest.$ac_objext'
41526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41527 (eval $ac_try) 2>&5
41528 ac_status=$?
41529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41530 (exit $ac_status); }; }; then
41531 ac_header_compiler=yes
41532 else
41533 echo "$as_me: failed program was:" >&5
41534 sed 's/^/| /' conftest.$ac_ext >&5
41536 ac_header_compiler=no
41538 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41539 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
41540 echo "${ECHO_T}$ac_header_compiler" >&6
41542 # Is the header present?
41543 echo "$as_me:$LINENO: checking $ac_header presence" >&5
41544 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
41545 cat >conftest.$ac_ext <<_ACEOF
41546 /* confdefs.h. */
41547 _ACEOF
41548 cat confdefs.h >>conftest.$ac_ext
41549 cat >>conftest.$ac_ext <<_ACEOF
41550 /* end confdefs.h. */
41551 #include <$ac_header>
41552 _ACEOF
41553 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
41554 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
41555 ac_status=$?
41556 grep -v '^ *+' conftest.er1 >conftest.err
41557 rm -f conftest.er1
41558 cat conftest.err >&5
41559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41560 (exit $ac_status); } >/dev/null; then
41561 if test -s conftest.err; then
41562 ac_cpp_err=$ac_c_preproc_warn_flag
41563 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
41564 else
41565 ac_cpp_err=
41567 else
41568 ac_cpp_err=yes
41570 if test -z "$ac_cpp_err"; then
41571 ac_header_preproc=yes
41572 else
41573 echo "$as_me: failed program was:" >&5
41574 sed 's/^/| /' conftest.$ac_ext >&5
41576 ac_header_preproc=no
41578 rm -f conftest.err conftest.$ac_ext
41579 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
41580 echo "${ECHO_T}$ac_header_preproc" >&6
41582 # So? What about this header?
41583 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
41584 yes:no: )
41585 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
41586 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
41587 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
41588 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
41589 ac_header_preproc=yes
41591 no:yes:* )
41592 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
41593 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
41594 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
41595 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
41596 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
41597 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
41598 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
41599 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
41600 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
41601 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
41602 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
41603 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
41605 cat <<\_ASBOX
41606 ## ----------------------------------------- ##
41607 ## Report this to the package-unused lists. ##
41608 ## ----------------------------------------- ##
41609 _ASBOX
41611 sed "s/^/$as_me: WARNING: /" >&2
41613 esac
41614 echo "$as_me:$LINENO: checking for $ac_header" >&5
41615 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41616 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41617 echo $ECHO_N "(cached) $ECHO_C" >&6
41618 else
41619 eval "$as_ac_Header=\$ac_header_preproc"
41621 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41622 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41625 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41626 cat >>confdefs.h <<_ACEOF
41627 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41628 _ACEOF
41632 done
41635 for ac_func in getpagesize
41637 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41638 echo "$as_me:$LINENO: checking for $ac_func" >&5
41639 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41640 if eval "test \"\${$as_ac_var+set}\" = set"; then
41641 echo $ECHO_N "(cached) $ECHO_C" >&6
41642 else
41643 if test x$gcc_no_link = xyes; then
41644 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41645 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41646 { (exit 1); exit 1; }; }
41648 cat >conftest.$ac_ext <<_ACEOF
41649 /* confdefs.h. */
41650 _ACEOF
41651 cat confdefs.h >>conftest.$ac_ext
41652 cat >>conftest.$ac_ext <<_ACEOF
41653 /* end confdefs.h. */
41654 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41655 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41656 #define $ac_func innocuous_$ac_func
41658 /* System header to define __stub macros and hopefully few prototypes,
41659 which can conflict with char $ac_func (); below.
41660 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41661 <limits.h> exists even on freestanding compilers. */
41663 #ifdef __STDC__
41664 # include <limits.h>
41665 #else
41666 # include <assert.h>
41667 #endif
41669 #undef $ac_func
41671 /* Override any gcc2 internal prototype to avoid an error. */
41672 #ifdef __cplusplus
41673 extern "C"
41675 #endif
41676 /* We use char because int might match the return type of a gcc2
41677 builtin and then its argument prototype would still apply. */
41678 char $ac_func ();
41679 /* The GNU C library defines this for functions which it implements
41680 to always fail with ENOSYS. Some functions are actually named
41681 something starting with __ and the normal name is an alias. */
41682 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41683 choke me
41684 #else
41685 char (*f) () = $ac_func;
41686 #endif
41687 #ifdef __cplusplus
41689 #endif
41692 main ()
41694 return f != $ac_func;
41696 return 0;
41698 _ACEOF
41699 rm -f conftest.$ac_objext conftest$ac_exeext
41700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41701 (eval $ac_link) 2>conftest.er1
41702 ac_status=$?
41703 grep -v '^ *+' conftest.er1 >conftest.err
41704 rm -f conftest.er1
41705 cat conftest.err >&5
41706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41707 (exit $ac_status); } &&
41708 { ac_try='test -z "$ac_c_werror_flag"
41709 || test ! -s conftest.err'
41710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41711 (eval $ac_try) 2>&5
41712 ac_status=$?
41713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41714 (exit $ac_status); }; } &&
41715 { ac_try='test -s conftest$ac_exeext'
41716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41717 (eval $ac_try) 2>&5
41718 ac_status=$?
41719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41720 (exit $ac_status); }; }; then
41721 eval "$as_ac_var=yes"
41722 else
41723 echo "$as_me: failed program was:" >&5
41724 sed 's/^/| /' conftest.$ac_ext >&5
41726 eval "$as_ac_var=no"
41728 rm -f conftest.err conftest.$ac_objext \
41729 conftest$ac_exeext conftest.$ac_ext
41731 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41732 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41733 if test `eval echo '${'$as_ac_var'}'` = yes; then
41734 cat >>confdefs.h <<_ACEOF
41735 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41736 _ACEOF
41739 done
41741 echo "$as_me:$LINENO: checking for working mmap" >&5
41742 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
41743 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
41744 echo $ECHO_N "(cached) $ECHO_C" >&6
41745 else
41746 if test "$cross_compiling" = yes; then
41747 ac_cv_func_mmap_fixed_mapped=no
41748 else
41749 cat >conftest.$ac_ext <<_ACEOF
41750 /* confdefs.h. */
41751 _ACEOF
41752 cat confdefs.h >>conftest.$ac_ext
41753 cat >>conftest.$ac_ext <<_ACEOF
41754 /* end confdefs.h. */
41755 $ac_includes_default
41756 /* malloc might have been renamed as rpl_malloc. */
41757 #undef malloc
41759 /* Thanks to Mike Haertel and Jim Avera for this test.
41760 Here is a matrix of mmap possibilities:
41761 mmap private not fixed
41762 mmap private fixed at somewhere currently unmapped
41763 mmap private fixed at somewhere already mapped
41764 mmap shared not fixed
41765 mmap shared fixed at somewhere currently unmapped
41766 mmap shared fixed at somewhere already mapped
41767 For private mappings, we should verify that changes cannot be read()
41768 back from the file, nor mmap's back from the file at a different
41769 address. (There have been systems where private was not correctly
41770 implemented like the infamous i386 svr4.0, and systems where the
41771 VM page cache was not coherent with the file system buffer cache
41772 like early versions of FreeBSD and possibly contemporary NetBSD.)
41773 For shared mappings, we should conversely verify that changes get
41774 propagated back to all the places they're supposed to be.
41776 Grep wants private fixed already mapped.
41777 The main things grep needs to know about mmap are:
41778 * does it exist and is it safe to write into the mmap'd area
41779 * how to use it (BSD variants) */
41781 #include <fcntl.h>
41782 #include <sys/mman.h>
41784 #if !STDC_HEADERS && !HAVE_STDLIB_H
41785 char *malloc ();
41786 #endif
41788 /* This mess was copied from the GNU getpagesize.h. */
41789 #if !HAVE_GETPAGESIZE
41790 /* Assume that all systems that can run configure have sys/param.h. */
41791 # if !HAVE_SYS_PARAM_H
41792 # define HAVE_SYS_PARAM_H 1
41793 # endif
41795 # ifdef _SC_PAGESIZE
41796 # define getpagesize() sysconf(_SC_PAGESIZE)
41797 # else /* no _SC_PAGESIZE */
41798 # if HAVE_SYS_PARAM_H
41799 # include <sys/param.h>
41800 # ifdef EXEC_PAGESIZE
41801 # define getpagesize() EXEC_PAGESIZE
41802 # else /* no EXEC_PAGESIZE */
41803 # ifdef NBPG
41804 # define getpagesize() NBPG * CLSIZE
41805 # ifndef CLSIZE
41806 # define CLSIZE 1
41807 # endif /* no CLSIZE */
41808 # else /* no NBPG */
41809 # ifdef NBPC
41810 # define getpagesize() NBPC
41811 # else /* no NBPC */
41812 # ifdef PAGESIZE
41813 # define getpagesize() PAGESIZE
41814 # endif /* PAGESIZE */
41815 # endif /* no NBPC */
41816 # endif /* no NBPG */
41817 # endif /* no EXEC_PAGESIZE */
41818 # else /* no HAVE_SYS_PARAM_H */
41819 # define getpagesize() 8192 /* punt totally */
41820 # endif /* no HAVE_SYS_PARAM_H */
41821 # endif /* no _SC_PAGESIZE */
41823 #endif /* no HAVE_GETPAGESIZE */
41826 main ()
41828 char *data, *data2, *data3;
41829 int i, pagesize;
41830 int fd;
41832 pagesize = getpagesize ();
41834 /* First, make a file with some known garbage in it. */
41835 data = (char *) malloc (pagesize);
41836 if (!data)
41837 exit (1);
41838 for (i = 0; i < pagesize; ++i)
41839 *(data + i) = rand ();
41840 umask (0);
41841 fd = creat ("conftest.mmap", 0600);
41842 if (fd < 0)
41843 exit (1);
41844 if (write (fd, data, pagesize) != pagesize)
41845 exit (1);
41846 close (fd);
41848 /* Next, try to mmap the file at a fixed address which already has
41849 something else allocated at it. If we can, also make sure that
41850 we see the same garbage. */
41851 fd = open ("conftest.mmap", O_RDWR);
41852 if (fd < 0)
41853 exit (1);
41854 data2 = (char *) malloc (2 * pagesize);
41855 if (!data2)
41856 exit (1);
41857 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
41858 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
41859 MAP_PRIVATE | MAP_FIXED, fd, 0L))
41860 exit (1);
41861 for (i = 0; i < pagesize; ++i)
41862 if (*(data + i) != *(data2 + i))
41863 exit (1);
41865 /* Finally, make sure that changes to the mapped area do not
41866 percolate back to the file as seen by read(). (This is a bug on
41867 some variants of i386 svr4.0.) */
41868 for (i = 0; i < pagesize; ++i)
41869 *(data2 + i) = *(data2 + i) + 1;
41870 data3 = (char *) malloc (pagesize);
41871 if (!data3)
41872 exit (1);
41873 if (read (fd, data3, pagesize) != pagesize)
41874 exit (1);
41875 for (i = 0; i < pagesize; ++i)
41876 if (*(data + i) != *(data3 + i))
41877 exit (1);
41878 close (fd);
41879 exit (0);
41881 _ACEOF
41882 rm -f conftest$ac_exeext
41883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41884 (eval $ac_link) 2>&5
41885 ac_status=$?
41886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41887 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41889 (eval $ac_try) 2>&5
41890 ac_status=$?
41891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41892 (exit $ac_status); }; }; then
41893 ac_cv_func_mmap_fixed_mapped=yes
41894 else
41895 echo "$as_me: program exited with status $ac_status" >&5
41896 echo "$as_me: failed program was:" >&5
41897 sed 's/^/| /' conftest.$ac_ext >&5
41899 ( exit $ac_status )
41900 ac_cv_func_mmap_fixed_mapped=no
41902 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41905 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
41906 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
41907 if test $ac_cv_func_mmap_fixed_mapped = yes; then
41909 cat >>confdefs.h <<\_ACEOF
41910 #define HAVE_MMAP 1
41911 _ACEOF
41914 rm -f conftest.mmap
41918 # For iconv support.
41920 if test "X$prefix" = "XNONE"; then
41921 acl_final_prefix="$ac_default_prefix"
41922 else
41923 acl_final_prefix="$prefix"
41925 if test "X$exec_prefix" = "XNONE"; then
41926 acl_final_exec_prefix='${prefix}'
41927 else
41928 acl_final_exec_prefix="$exec_prefix"
41930 acl_save_prefix="$prefix"
41931 prefix="$acl_final_prefix"
41932 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
41933 prefix="$acl_save_prefix"
41936 # Check whether --with-gnu-ld or --without-gnu-ld was given.
41937 if test "${with_gnu_ld+set}" = set; then
41938 withval="$with_gnu_ld"
41939 test "$withval" = no || with_gnu_ld=yes
41940 else
41941 with_gnu_ld=no
41943 # Prepare PATH_SEPARATOR.
41944 # The user is always right.
41945 if test "${PATH_SEPARATOR+set}" != set; then
41946 echo "#! /bin/sh" >conf$$.sh
41947 echo "exit 0" >>conf$$.sh
41948 chmod +x conf$$.sh
41949 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
41950 PATH_SEPARATOR=';'
41951 else
41952 PATH_SEPARATOR=:
41954 rm -f conf$$.sh
41956 ac_prog=ld
41957 if test "$GCC" = yes; then
41958 # Check if gcc -print-prog-name=ld gives a path.
41959 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
41960 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
41961 case $host in
41962 *-*-mingw*)
41963 # gcc leaves a trailing carriage return which upsets mingw
41964 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
41966 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
41967 esac
41968 case $ac_prog in
41969 # Accept absolute paths.
41970 [\\/]* | [A-Za-z]:[\\/]*)
41971 re_direlt='/[^/][^/]*/\.\./'
41972 # Canonicalize the path of ld
41973 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
41974 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
41975 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
41976 done
41977 test -z "$LD" && LD="$ac_prog"
41980 # If it fails, then pretend we aren't using GCC.
41981 ac_prog=ld
41984 # If it is relative, then search for the first ld in PATH.
41985 with_gnu_ld=unknown
41987 esac
41988 elif test "$with_gnu_ld" = yes; then
41989 echo "$as_me:$LINENO: checking for GNU ld" >&5
41990 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
41991 else
41992 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
41993 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
41995 if test "${acl_cv_path_LD+set}" = set; then
41996 echo $ECHO_N "(cached) $ECHO_C" >&6
41997 else
41998 if test -z "$LD"; then
41999 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
42000 for ac_dir in $PATH; do
42001 test -z "$ac_dir" && ac_dir=.
42002 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
42003 acl_cv_path_LD="$ac_dir/$ac_prog"
42004 # Check to see if the program is GNU ld. I'd rather use --version,
42005 # but apparently some GNU ld's only accept -v.
42006 # Break only if it was the GNU/non-GNU ld that we prefer.
42007 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
42008 test "$with_gnu_ld" != no && break
42009 else
42010 test "$with_gnu_ld" != yes && break
42013 done
42014 IFS="$ac_save_ifs"
42015 else
42016 acl_cv_path_LD="$LD" # Let the user override the test with a path.
42020 LD="$acl_cv_path_LD"
42021 if test -n "$LD"; then
42022 echo "$as_me:$LINENO: result: $LD" >&5
42023 echo "${ECHO_T}$LD" >&6
42024 else
42025 echo "$as_me:$LINENO: result: no" >&5
42026 echo "${ECHO_T}no" >&6
42028 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
42029 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
42030 { (exit 1); exit 1; }; }
42031 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
42032 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
42033 if test "${acl_cv_prog_gnu_ld+set}" = set; then
42034 echo $ECHO_N "(cached) $ECHO_C" >&6
42035 else
42036 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
42037 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
42038 acl_cv_prog_gnu_ld=yes
42039 else
42040 acl_cv_prog_gnu_ld=no
42043 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
42044 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
42045 with_gnu_ld=$acl_cv_prog_gnu_ld
42049 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
42050 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
42051 if test "${acl_cv_rpath+set}" = set; then
42052 echo $ECHO_N "(cached) $ECHO_C" >&6
42053 else
42055 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
42056 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
42057 . ./conftest.sh
42058 rm -f ./conftest.sh
42059 acl_cv_rpath=done
42062 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
42063 echo "${ECHO_T}$acl_cv_rpath" >&6
42064 wl="$acl_cv_wl"
42065 libext="$acl_cv_libext"
42066 shlibext="$acl_cv_shlibext"
42067 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
42068 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
42069 hardcode_direct="$acl_cv_hardcode_direct"
42070 hardcode_minus_L="$acl_cv_hardcode_minus_L"
42071 # Check whether --enable-rpath or --disable-rpath was given.
42072 if test "${enable_rpath+set}" = set; then
42073 enableval="$enable_rpath"
42075 else
42076 enable_rpath=yes
42085 use_additional=yes
42087 acl_save_prefix="$prefix"
42088 prefix="$acl_final_prefix"
42089 acl_save_exec_prefix="$exec_prefix"
42090 exec_prefix="$acl_final_exec_prefix"
42092 eval additional_includedir=\"$includedir\"
42093 eval additional_libdir=\"$libdir\"
42095 exec_prefix="$acl_save_exec_prefix"
42096 prefix="$acl_save_prefix"
42099 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
42100 if test "${with_libiconv_prefix+set}" = set; then
42101 withval="$with_libiconv_prefix"
42103 if test "X$withval" = "Xno"; then
42104 use_additional=no
42105 else
42106 if test "X$withval" = "X"; then
42108 acl_save_prefix="$prefix"
42109 prefix="$acl_final_prefix"
42110 acl_save_exec_prefix="$exec_prefix"
42111 exec_prefix="$acl_final_exec_prefix"
42113 eval additional_includedir=\"$includedir\"
42114 eval additional_libdir=\"$libdir\"
42116 exec_prefix="$acl_save_exec_prefix"
42117 prefix="$acl_save_prefix"
42119 else
42120 additional_includedir="$withval/include"
42121 additional_libdir="$withval/lib"
42126 LIBICONV=
42127 LTLIBICONV=
42128 INCICONV=
42129 rpathdirs=
42130 ltrpathdirs=
42131 names_already_handled=
42132 names_next_round='iconv '
42133 while test -n "$names_next_round"; do
42134 names_this_round="$names_next_round"
42135 names_next_round=
42136 for name in $names_this_round; do
42137 already_handled=
42138 for n in $names_already_handled; do
42139 if test "$n" = "$name"; then
42140 already_handled=yes
42141 break
42143 done
42144 if test -z "$already_handled"; then
42145 names_already_handled="$names_already_handled $name"
42146 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
42147 eval value=\"\$HAVE_LIB$uppername\"
42148 if test -n "$value"; then
42149 if test "$value" = yes; then
42150 eval value=\"\$LIB$uppername\"
42151 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
42152 eval value=\"\$LTLIB$uppername\"
42153 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
42154 else
42157 else
42158 found_dir=
42159 found_la=
42160 found_so=
42161 found_a=
42162 if test $use_additional = yes; then
42163 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
42164 found_dir="$additional_libdir"
42165 found_so="$additional_libdir/lib$name.$shlibext"
42166 if test -f "$additional_libdir/lib$name.la"; then
42167 found_la="$additional_libdir/lib$name.la"
42169 else
42170 if test -f "$additional_libdir/lib$name.$libext"; then
42171 found_dir="$additional_libdir"
42172 found_a="$additional_libdir/lib$name.$libext"
42173 if test -f "$additional_libdir/lib$name.la"; then
42174 found_la="$additional_libdir/lib$name.la"
42179 if test "X$found_dir" = "X"; then
42180 for x in $LDFLAGS $LTLIBICONV; do
42182 acl_save_prefix="$prefix"
42183 prefix="$acl_final_prefix"
42184 acl_save_exec_prefix="$exec_prefix"
42185 exec_prefix="$acl_final_exec_prefix"
42186 eval x=\"$x\"
42187 exec_prefix="$acl_save_exec_prefix"
42188 prefix="$acl_save_prefix"
42190 case "$x" in
42191 -L*)
42192 dir=`echo "X$x" | sed -e 's/^X-L//'`
42193 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
42194 found_dir="$dir"
42195 found_so="$dir/lib$name.$shlibext"
42196 if test -f "$dir/lib$name.la"; then
42197 found_la="$dir/lib$name.la"
42199 else
42200 if test -f "$dir/lib$name.$libext"; then
42201 found_dir="$dir"
42202 found_a="$dir/lib$name.$libext"
42203 if test -f "$dir/lib$name.la"; then
42204 found_la="$dir/lib$name.la"
42209 esac
42210 if test "X$found_dir" != "X"; then
42211 break
42213 done
42215 if test "X$found_dir" != "X"; then
42216 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
42217 if test "X$found_so" != "X"; then
42218 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
42219 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42220 else
42221 haveit=
42222 for x in $ltrpathdirs; do
42223 if test "X$x" = "X$found_dir"; then
42224 haveit=yes
42225 break
42227 done
42228 if test -z "$haveit"; then
42229 ltrpathdirs="$ltrpathdirs $found_dir"
42231 if test "$hardcode_direct" = yes; then
42232 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42233 else
42234 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
42235 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42236 haveit=
42237 for x in $rpathdirs; do
42238 if test "X$x" = "X$found_dir"; then
42239 haveit=yes
42240 break
42242 done
42243 if test -z "$haveit"; then
42244 rpathdirs="$rpathdirs $found_dir"
42246 else
42247 haveit=
42248 for x in $LDFLAGS $LIBICONV; do
42250 acl_save_prefix="$prefix"
42251 prefix="$acl_final_prefix"
42252 acl_save_exec_prefix="$exec_prefix"
42253 exec_prefix="$acl_final_exec_prefix"
42254 eval x=\"$x\"
42255 exec_prefix="$acl_save_exec_prefix"
42256 prefix="$acl_save_prefix"
42258 if test "X$x" = "X-L$found_dir"; then
42259 haveit=yes
42260 break
42262 done
42263 if test -z "$haveit"; then
42264 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
42266 if test "$hardcode_minus_L" != no; then
42267 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42268 else
42269 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
42274 else
42275 if test "X$found_a" != "X"; then
42276 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
42277 else
42278 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
42281 additional_includedir=
42282 case "$found_dir" in
42283 */lib | */lib/)
42284 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
42285 additional_includedir="$basedir/include"
42287 esac
42288 if test "X$additional_includedir" != "X"; then
42289 if test "X$additional_includedir" != "X/usr/include"; then
42290 haveit=
42291 if test "X$additional_includedir" = "X/usr/local/include"; then
42292 if test -n "$GCC"; then
42293 case $host_os in
42294 linux*) haveit=yes;;
42295 esac
42298 if test -z "$haveit"; then
42299 for x in $CPPFLAGS $INCICONV; do
42301 acl_save_prefix="$prefix"
42302 prefix="$acl_final_prefix"
42303 acl_save_exec_prefix="$exec_prefix"
42304 exec_prefix="$acl_final_exec_prefix"
42305 eval x=\"$x\"
42306 exec_prefix="$acl_save_exec_prefix"
42307 prefix="$acl_save_prefix"
42309 if test "X$x" = "X-I$additional_includedir"; then
42310 haveit=yes
42311 break
42313 done
42314 if test -z "$haveit"; then
42315 if test -d "$additional_includedir"; then
42316 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
42322 if test -n "$found_la"; then
42323 save_libdir="$libdir"
42324 case "$found_la" in
42325 */* | *\\*) . "$found_la" ;;
42326 *) . "./$found_la" ;;
42327 esac
42328 libdir="$save_libdir"
42329 for dep in $dependency_libs; do
42330 case "$dep" in
42331 -L*)
42332 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
42333 if test "X$additional_libdir" != "X/usr/lib"; then
42334 haveit=
42335 if test "X$additional_libdir" = "X/usr/local/lib"; then
42336 if test -n "$GCC"; then
42337 case $host_os in
42338 linux*) haveit=yes;;
42339 esac
42342 if test -z "$haveit"; then
42343 haveit=
42344 for x in $LDFLAGS $LIBICONV; do
42346 acl_save_prefix="$prefix"
42347 prefix="$acl_final_prefix"
42348 acl_save_exec_prefix="$exec_prefix"
42349 exec_prefix="$acl_final_exec_prefix"
42350 eval x=\"$x\"
42351 exec_prefix="$acl_save_exec_prefix"
42352 prefix="$acl_save_prefix"
42354 if test "X$x" = "X-L$additional_libdir"; then
42355 haveit=yes
42356 break
42358 done
42359 if test -z "$haveit"; then
42360 if test -d "$additional_libdir"; then
42361 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
42364 haveit=
42365 for x in $LDFLAGS $LTLIBICONV; do
42367 acl_save_prefix="$prefix"
42368 prefix="$acl_final_prefix"
42369 acl_save_exec_prefix="$exec_prefix"
42370 exec_prefix="$acl_final_exec_prefix"
42371 eval x=\"$x\"
42372 exec_prefix="$acl_save_exec_prefix"
42373 prefix="$acl_save_prefix"
42375 if test "X$x" = "X-L$additional_libdir"; then
42376 haveit=yes
42377 break
42379 done
42380 if test -z "$haveit"; then
42381 if test -d "$additional_libdir"; then
42382 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
42388 -R*)
42389 dir=`echo "X$dep" | sed -e 's/^X-R//'`
42390 if test "$enable_rpath" != no; then
42391 haveit=
42392 for x in $rpathdirs; do
42393 if test "X$x" = "X$dir"; then
42394 haveit=yes
42395 break
42397 done
42398 if test -z "$haveit"; then
42399 rpathdirs="$rpathdirs $dir"
42401 haveit=
42402 for x in $ltrpathdirs; do
42403 if test "X$x" = "X$dir"; then
42404 haveit=yes
42405 break
42407 done
42408 if test -z "$haveit"; then
42409 ltrpathdirs="$ltrpathdirs $dir"
42413 -l*)
42414 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
42416 *.la)
42417 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
42420 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
42421 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
42423 esac
42424 done
42426 else
42427 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
42428 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
42432 done
42433 done
42434 if test "X$rpathdirs" != "X"; then
42435 if test -n "$hardcode_libdir_separator"; then
42436 alldirs=
42437 for found_dir in $rpathdirs; do
42438 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
42439 done
42440 acl_save_libdir="$libdir"
42441 libdir="$alldirs"
42442 eval flag=\"$hardcode_libdir_flag_spec\"
42443 libdir="$acl_save_libdir"
42444 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
42445 else
42446 for found_dir in $rpathdirs; do
42447 acl_save_libdir="$libdir"
42448 libdir="$found_dir"
42449 eval flag=\"$hardcode_libdir_flag_spec\"
42450 libdir="$acl_save_libdir"
42451 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
42452 done
42455 if test "X$ltrpathdirs" != "X"; then
42456 for found_dir in $ltrpathdirs; do
42457 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
42458 done
42467 am_save_CPPFLAGS="$CPPFLAGS"
42469 for element in $INCICONV; do
42470 haveit=
42471 for x in $CPPFLAGS; do
42473 acl_save_prefix="$prefix"
42474 prefix="$acl_final_prefix"
42475 acl_save_exec_prefix="$exec_prefix"
42476 exec_prefix="$acl_final_exec_prefix"
42477 eval x=\"$x\"
42478 exec_prefix="$acl_save_exec_prefix"
42479 prefix="$acl_save_prefix"
42481 if test "X$x" = "X$element"; then
42482 haveit=yes
42483 break
42485 done
42486 if test -z "$haveit"; then
42487 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
42489 done
42492 echo "$as_me:$LINENO: checking for iconv" >&5
42493 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
42494 if test "${am_cv_func_iconv+set}" = set; then
42495 echo $ECHO_N "(cached) $ECHO_C" >&6
42496 else
42498 am_cv_func_iconv="no, consider installing GNU libiconv"
42499 am_cv_lib_iconv=no
42500 if test x$gcc_no_link = xyes; then
42501 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42502 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42503 { (exit 1); exit 1; }; }
42505 cat >conftest.$ac_ext <<_ACEOF
42506 /* confdefs.h. */
42507 _ACEOF
42508 cat confdefs.h >>conftest.$ac_ext
42509 cat >>conftest.$ac_ext <<_ACEOF
42510 /* end confdefs.h. */
42511 #include <stdlib.h>
42512 #include <iconv.h>
42514 main ()
42516 iconv_t cd = iconv_open("","");
42517 iconv(cd,NULL,NULL,NULL,NULL);
42518 iconv_close(cd);
42520 return 0;
42522 _ACEOF
42523 rm -f conftest.$ac_objext conftest$ac_exeext
42524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42525 (eval $ac_link) 2>conftest.er1
42526 ac_status=$?
42527 grep -v '^ *+' conftest.er1 >conftest.err
42528 rm -f conftest.er1
42529 cat conftest.err >&5
42530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42531 (exit $ac_status); } &&
42532 { ac_try='test -z "$ac_c_werror_flag"
42533 || test ! -s conftest.err'
42534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42535 (eval $ac_try) 2>&5
42536 ac_status=$?
42537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42538 (exit $ac_status); }; } &&
42539 { ac_try='test -s conftest$ac_exeext'
42540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42541 (eval $ac_try) 2>&5
42542 ac_status=$?
42543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42544 (exit $ac_status); }; }; then
42545 am_cv_func_iconv=yes
42546 else
42547 echo "$as_me: failed program was:" >&5
42548 sed 's/^/| /' conftest.$ac_ext >&5
42551 rm -f conftest.err conftest.$ac_objext \
42552 conftest$ac_exeext conftest.$ac_ext
42553 if test "$am_cv_func_iconv" != yes; then
42554 am_save_LIBS="$LIBS"
42555 LIBS="$LIBS $LIBICONV"
42556 if test x$gcc_no_link = xyes; then
42557 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42558 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42559 { (exit 1); exit 1; }; }
42561 cat >conftest.$ac_ext <<_ACEOF
42562 /* confdefs.h. */
42563 _ACEOF
42564 cat confdefs.h >>conftest.$ac_ext
42565 cat >>conftest.$ac_ext <<_ACEOF
42566 /* end confdefs.h. */
42567 #include <stdlib.h>
42568 #include <iconv.h>
42570 main ()
42572 iconv_t cd = iconv_open("","");
42573 iconv(cd,NULL,NULL,NULL,NULL);
42574 iconv_close(cd);
42576 return 0;
42578 _ACEOF
42579 rm -f conftest.$ac_objext conftest$ac_exeext
42580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42581 (eval $ac_link) 2>conftest.er1
42582 ac_status=$?
42583 grep -v '^ *+' conftest.er1 >conftest.err
42584 rm -f conftest.er1
42585 cat conftest.err >&5
42586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42587 (exit $ac_status); } &&
42588 { ac_try='test -z "$ac_c_werror_flag"
42589 || test ! -s conftest.err'
42590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42591 (eval $ac_try) 2>&5
42592 ac_status=$?
42593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42594 (exit $ac_status); }; } &&
42595 { ac_try='test -s conftest$ac_exeext'
42596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42597 (eval $ac_try) 2>&5
42598 ac_status=$?
42599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42600 (exit $ac_status); }; }; then
42601 am_cv_lib_iconv=yes
42602 am_cv_func_iconv=yes
42603 else
42604 echo "$as_me: failed program was:" >&5
42605 sed 's/^/| /' conftest.$ac_ext >&5
42608 rm -f conftest.err conftest.$ac_objext \
42609 conftest$ac_exeext conftest.$ac_ext
42610 LIBS="$am_save_LIBS"
42614 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
42615 echo "${ECHO_T}$am_cv_func_iconv" >&6
42616 if test "$am_cv_func_iconv" = yes; then
42618 cat >>confdefs.h <<\_ACEOF
42619 #define HAVE_ICONV 1
42620 _ACEOF
42623 if test "$am_cv_lib_iconv" = yes; then
42624 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
42625 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
42626 echo "$as_me:$LINENO: result: $LIBICONV" >&5
42627 echo "${ECHO_T}$LIBICONV" >&6
42628 else
42629 CPPFLAGS="$am_save_CPPFLAGS"
42630 LIBICONV=
42631 LTLIBICONV=
42636 if test "$am_cv_func_iconv" = yes; then
42637 echo "$as_me:$LINENO: checking for iconv declaration" >&5
42638 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
42639 if test "${am_cv_proto_iconv+set}" = set; then
42640 echo $ECHO_N "(cached) $ECHO_C" >&6
42641 else
42643 cat >conftest.$ac_ext <<_ACEOF
42644 /* confdefs.h. */
42645 _ACEOF
42646 cat confdefs.h >>conftest.$ac_ext
42647 cat >>conftest.$ac_ext <<_ACEOF
42648 /* end confdefs.h. */
42650 #include <stdlib.h>
42651 #include <iconv.h>
42652 extern
42653 #ifdef __cplusplus
42655 #endif
42656 #if defined(__STDC__) || defined(__cplusplus)
42657 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
42658 #else
42659 size_t iconv();
42660 #endif
42663 main ()
42667 return 0;
42669 _ACEOF
42670 rm -f conftest.$ac_objext
42671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42672 (eval $ac_compile) 2>conftest.er1
42673 ac_status=$?
42674 grep -v '^ *+' conftest.er1 >conftest.err
42675 rm -f conftest.er1
42676 cat conftest.err >&5
42677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42678 (exit $ac_status); } &&
42679 { ac_try='test -z "$ac_c_werror_flag"
42680 || test ! -s conftest.err'
42681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42682 (eval $ac_try) 2>&5
42683 ac_status=$?
42684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42685 (exit $ac_status); }; } &&
42686 { ac_try='test -s conftest.$ac_objext'
42687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42688 (eval $ac_try) 2>&5
42689 ac_status=$?
42690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42691 (exit $ac_status); }; }; then
42692 am_cv_proto_iconv_arg1=""
42693 else
42694 echo "$as_me: failed program was:" >&5
42695 sed 's/^/| /' conftest.$ac_ext >&5
42697 am_cv_proto_iconv_arg1="const"
42699 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42700 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);"
42703 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
42704 echo "$as_me:$LINENO: result: ${ac_t:-
42705 }$am_cv_proto_iconv" >&5
42706 echo "${ECHO_T}${ac_t:-
42707 }$am_cv_proto_iconv" >&6
42709 cat >>confdefs.h <<_ACEOF
42710 #define ICONV_CONST $am_cv_proto_iconv_arg1
42711 _ACEOF
42716 else
42718 # This lets us hard-code the functionality we know we'll have in the cross
42719 # target environment. "Let" is a sugar-coated word placed on an especially
42720 # dull and tedious hack, actually.
42722 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
42723 # that involve linking, can't be used:
42724 # "cannot open sim-crt0.o"
42725 # "cannot open crt0.o"
42726 # etc. All this is because there currently exists no unified, consistent
42727 # way for top level CC information to be passed down to target directories:
42728 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
42729 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
42730 # crosses can be removed.
42732 # If Canadian cross, then don't pick up tools from the build directory.
42733 # Used only in GLIBCXX_EXPORT_INCLUDES.
42734 if test -n "$with_cross_host" &&
42735 test x"$build_alias" != x"$with_cross_host" &&
42736 test x"$build" != x"$target";
42737 then
42738 CANADIAN=yes
42739 else
42740 CANADIAN=no
42743 # Construct crosses by hand, eliminating bits that need ld...
42744 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
42745 # GLIBCXX_CHECK_MATH_SUPPORT
42747 # First, test for "known" system libraries. We may be using newlib even
42748 # on a hosted environment.
42749 if test "x${with_newlib}" = "xyes"; then
42750 os_include_dir="os/newlib"
42751 cat >>confdefs.h <<\_ACEOF
42752 #define HAVE_HYPOT 1
42753 _ACEOF
42756 # GLIBCXX_CHECK_STDLIB_SUPPORT
42757 cat >>confdefs.h <<\_ACEOF
42758 #define HAVE_STRTOF 1
42759 _ACEOF
42761 # AC_FUNC_MMAP
42762 cat >>confdefs.h <<\_ACEOF
42763 #define HAVE_MMAP 1
42764 _ACEOF
42767 cat >>confdefs.h <<\_ACEOF
42768 #define HAVE_ACOSF 1
42769 _ACEOF
42771 cat >>confdefs.h <<\_ACEOF
42772 #define HAVE_ASINF 1
42773 _ACEOF
42775 cat >>confdefs.h <<\_ACEOF
42776 #define HAVE_ATAN2F 1
42777 _ACEOF
42779 cat >>confdefs.h <<\_ACEOF
42780 #define HAVE_ATANF 1
42781 _ACEOF
42783 cat >>confdefs.h <<\_ACEOF
42784 #define HAVE_CEILF 1
42785 _ACEOF
42787 cat >>confdefs.h <<\_ACEOF
42788 #define HAVE_COPYSIGN 1
42789 _ACEOF
42791 cat >>confdefs.h <<\_ACEOF
42792 #define HAVE_COPYSIGNF 1
42793 _ACEOF
42795 cat >>confdefs.h <<\_ACEOF
42796 #define HAVE_COSF 1
42797 _ACEOF
42799 cat >>confdefs.h <<\_ACEOF
42800 #define HAVE_COSHF 1
42801 _ACEOF
42803 cat >>confdefs.h <<\_ACEOF
42804 #define HAVE_EXPF 1
42805 _ACEOF
42807 cat >>confdefs.h <<\_ACEOF
42808 #define HAVE_FABSF 1
42809 _ACEOF
42811 cat >>confdefs.h <<\_ACEOF
42812 #define HAVE_FLOORF 1
42813 _ACEOF
42815 cat >>confdefs.h <<\_ACEOF
42816 #define HAVE_FMODF 1
42817 _ACEOF
42819 cat >>confdefs.h <<\_ACEOF
42820 #define HAVE_FREXPF 1
42821 _ACEOF
42823 cat >>confdefs.h <<\_ACEOF
42824 #define HAVE_LDEXPF 1
42825 _ACEOF
42827 cat >>confdefs.h <<\_ACEOF
42828 #define HAVE_LOG10F 1
42829 _ACEOF
42831 cat >>confdefs.h <<\_ACEOF
42832 #define HAVE_LOGF 1
42833 _ACEOF
42835 cat >>confdefs.h <<\_ACEOF
42836 #define HAVE_MODFF 1
42837 _ACEOF
42839 cat >>confdefs.h <<\_ACEOF
42840 #define HAVE_POWF 1
42841 _ACEOF
42843 cat >>confdefs.h <<\_ACEOF
42844 #define HAVE_SINF 1
42845 _ACEOF
42847 cat >>confdefs.h <<\_ACEOF
42848 #define HAVE_SINHF 1
42849 _ACEOF
42851 cat >>confdefs.h <<\_ACEOF
42852 #define HAVE_SQRTF 1
42853 _ACEOF
42855 cat >>confdefs.h <<\_ACEOF
42856 #define HAVE_TANF 1
42857 _ACEOF
42859 cat >>confdefs.h <<\_ACEOF
42860 #define HAVE_TANHF 1
42861 _ACEOF
42864 cat >>confdefs.h <<\_ACEOF
42865 #define HAVE_S_ISREG 1
42866 _ACEOF
42868 cat >>confdefs.h <<\_ACEOF
42869 #define HAVE_S_IFREG 1
42870 _ACEOF
42873 cat >>confdefs.h <<\_ACEOF
42874 #define HAVE_ICONV 1
42875 _ACEOF
42877 else
42879 # Base decisions on target environment.
42880 case "${host}" in
42881 arm*-*-symbianelf*)
42882 # This is a freestanding configuration; there is nothing to do here.
42885 mips*-sde-elf*)
42886 # These definitions are for the SDE C library rather than newlib.
42902 for ac_header in float.h inttypes.h locale.h \
42903 stdint.h stdlib.h string.h unistd.h wchar.h \
42904 machine/endian.h sys/ioctl.h sys/resource.h \
42905 sys/stat.h sys/time.h sys/types.h sys/uio.h
42907 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42908 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42909 echo "$as_me:$LINENO: checking for $ac_header" >&5
42910 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
42911 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42912 echo $ECHO_N "(cached) $ECHO_C" >&6
42914 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
42915 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
42916 else
42917 # Is the header compilable?
42918 echo "$as_me:$LINENO: checking $ac_header usability" >&5
42919 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
42920 cat >conftest.$ac_ext <<_ACEOF
42921 /* confdefs.h. */
42922 _ACEOF
42923 cat confdefs.h >>conftest.$ac_ext
42924 cat >>conftest.$ac_ext <<_ACEOF
42925 /* end confdefs.h. */
42926 $ac_includes_default
42927 #include <$ac_header>
42928 _ACEOF
42929 rm -f conftest.$ac_objext
42930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42931 (eval $ac_compile) 2>conftest.er1
42932 ac_status=$?
42933 grep -v '^ *+' conftest.er1 >conftest.err
42934 rm -f conftest.er1
42935 cat conftest.err >&5
42936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42937 (exit $ac_status); } &&
42938 { ac_try='test -z "$ac_c_werror_flag"
42939 || test ! -s conftest.err'
42940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42941 (eval $ac_try) 2>&5
42942 ac_status=$?
42943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42944 (exit $ac_status); }; } &&
42945 { ac_try='test -s conftest.$ac_objext'
42946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42947 (eval $ac_try) 2>&5
42948 ac_status=$?
42949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42950 (exit $ac_status); }; }; then
42951 ac_header_compiler=yes
42952 else
42953 echo "$as_me: failed program was:" >&5
42954 sed 's/^/| /' conftest.$ac_ext >&5
42956 ac_header_compiler=no
42958 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42959 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
42960 echo "${ECHO_T}$ac_header_compiler" >&6
42962 # Is the header present?
42963 echo "$as_me:$LINENO: checking $ac_header presence" >&5
42964 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
42965 cat >conftest.$ac_ext <<_ACEOF
42966 /* confdefs.h. */
42967 _ACEOF
42968 cat confdefs.h >>conftest.$ac_ext
42969 cat >>conftest.$ac_ext <<_ACEOF
42970 /* end confdefs.h. */
42971 #include <$ac_header>
42972 _ACEOF
42973 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
42974 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
42975 ac_status=$?
42976 grep -v '^ *+' conftest.er1 >conftest.err
42977 rm -f conftest.er1
42978 cat conftest.err >&5
42979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42980 (exit $ac_status); } >/dev/null; then
42981 if test -s conftest.err; then
42982 ac_cpp_err=$ac_c_preproc_warn_flag
42983 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
42984 else
42985 ac_cpp_err=
42987 else
42988 ac_cpp_err=yes
42990 if test -z "$ac_cpp_err"; then
42991 ac_header_preproc=yes
42992 else
42993 echo "$as_me: failed program was:" >&5
42994 sed 's/^/| /' conftest.$ac_ext >&5
42996 ac_header_preproc=no
42998 rm -f conftest.err conftest.$ac_ext
42999 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
43000 echo "${ECHO_T}$ac_header_preproc" >&6
43002 # So? What about this header?
43003 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
43004 yes:no: )
43005 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
43006 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
43007 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
43008 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
43009 ac_header_preproc=yes
43011 no:yes:* )
43012 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
43013 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
43014 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
43015 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
43016 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
43017 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
43018 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
43019 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
43020 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
43021 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
43022 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
43023 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
43025 cat <<\_ASBOX
43026 ## ----------------------------------------- ##
43027 ## Report this to the package-unused lists. ##
43028 ## ----------------------------------------- ##
43029 _ASBOX
43031 sed "s/^/$as_me: WARNING: /" >&2
43033 esac
43034 echo "$as_me:$LINENO: checking for $ac_header" >&5
43035 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43036 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43037 echo $ECHO_N "(cached) $ECHO_C" >&6
43038 else
43039 eval "$as_ac_Header=\$ac_header_preproc"
43041 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43042 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43045 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43046 cat >>confdefs.h <<_ACEOF
43047 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43048 _ACEOF
43052 done
43054 SECTION_FLAGS='-ffunction-sections -fdata-sections'
43057 # All these tests are for C++; save the language and the compiler flags.
43058 # The CXXFLAGS thing is suspicious, but based on similar bits previously
43059 # found in GLIBCXX_CONFIGURE.
43062 ac_ext=cc
43063 ac_cpp='$CXXCPP $CPPFLAGS'
43064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43068 ac_test_CXXFLAGS="${CXXFLAGS+set}"
43069 ac_save_CXXFLAGS="$CXXFLAGS"
43071 # Check for maintainer-mode bits.
43072 if test x"$USE_MAINTAINER_MODE" = xno; then
43073 WERROR=''
43074 else
43075 WERROR='-Werror'
43078 # Check for -ffunction-sections -fdata-sections
43079 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
43080 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
43081 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
43082 cat >conftest.$ac_ext <<_ACEOF
43083 /* confdefs.h. */
43084 _ACEOF
43085 cat confdefs.h >>conftest.$ac_ext
43086 cat >>conftest.$ac_ext <<_ACEOF
43087 /* end confdefs.h. */
43088 int foo; void bar() { };
43090 main ()
43094 return 0;
43096 _ACEOF
43097 rm -f conftest.$ac_objext
43098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43099 (eval $ac_compile) 2>conftest.er1
43100 ac_status=$?
43101 grep -v '^ *+' conftest.er1 >conftest.err
43102 rm -f conftest.er1
43103 cat conftest.err >&5
43104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43105 (exit $ac_status); } &&
43106 { ac_try='test -z "$ac_cxx_werror_flag"
43107 || test ! -s conftest.err'
43108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43109 (eval $ac_try) 2>&5
43110 ac_status=$?
43111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43112 (exit $ac_status); }; } &&
43113 { ac_try='test -s conftest.$ac_objext'
43114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43115 (eval $ac_try) 2>&5
43116 ac_status=$?
43117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43118 (exit $ac_status); }; }; then
43119 ac_fdsections=yes
43120 else
43121 echo "$as_me: failed program was:" >&5
43122 sed 's/^/| /' conftest.$ac_ext >&5
43124 ac_fdsections=no
43126 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43127 if test "$ac_test_CXXFLAGS" = set; then
43128 CXXFLAGS="$ac_save_CXXFLAGS"
43129 else
43130 # this is the suspicious part
43131 CXXFLAGS=''
43133 if test x"$ac_fdsections" = x"yes"; then
43134 SECTION_FLAGS='-ffunction-sections -fdata-sections'
43136 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
43137 echo "${ECHO_T}$ac_fdsections" >&6
43139 ac_ext=c
43140 ac_cpp='$CPP $CPPFLAGS'
43141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43149 # If we're not using GNU ld, then there's no point in even trying these
43150 # tests. Check for that first. We should have already tested for gld
43151 # by now (in libtool), but require it now just to be safe...
43152 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
43153 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
43157 # The name set by libtool depends on the version of libtool. Shame on us
43158 # for depending on an impl detail, but c'est la vie. Older versions used
43159 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
43160 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
43161 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
43162 # set (hence we're using an older libtool), then set it.
43163 if test x${with_gnu_ld+set} != xset; then
43164 if test x${ac_cv_prog_gnu_ld+set} != xset; then
43165 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
43166 with_gnu_ld=no
43167 else
43168 with_gnu_ld=$ac_cv_prog_gnu_ld
43172 # Start by getting the version number. I think the libtool test already
43173 # does some of this, but throws away the result.
43174 if test x"$with_gnu_ld" = x"yes"; then
43175 echo "$as_me:$LINENO: checking for ld version" >&5
43176 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
43178 ldver=`$LD --version 2>/dev/null | head -1 | \
43179 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
43181 glibcxx_gnu_ld_version=`echo $ldver | \
43182 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
43183 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
43184 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
43187 # Set --gc-sections.
43188 glibcxx_gcsections_min_ld=21602
43189 if test x"$with_gnu_ld" = x"yes" &&
43190 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
43192 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
43193 # NB: This flag only works reliably after 2.16.1. Configure tests
43194 # for this are difficult, so hard wire a value that should work.
43196 ac_test_CFLAGS="${CFLAGS+set}"
43197 ac_save_CFLAGS="$CFLAGS"
43198 CFLAGS='-Wl,--gc-sections'
43200 # Check for -Wl,--gc-sections
43201 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
43202 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
43203 if test x$gcc_no_link = xyes; then
43204 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43205 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43206 { (exit 1); exit 1; }; }
43208 cat >conftest.$ac_ext <<_ACEOF
43209 /* confdefs.h. */
43210 _ACEOF
43211 cat confdefs.h >>conftest.$ac_ext
43212 cat >>conftest.$ac_ext <<_ACEOF
43213 /* end confdefs.h. */
43214 int one(void) { return 1; }
43215 int two(void) { return 2; }
43218 main ()
43220 two();
43222 return 0;
43224 _ACEOF
43225 rm -f conftest.$ac_objext conftest$ac_exeext
43226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43227 (eval $ac_link) 2>conftest.er1
43228 ac_status=$?
43229 grep -v '^ *+' conftest.er1 >conftest.err
43230 rm -f conftest.er1
43231 cat conftest.err >&5
43232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43233 (exit $ac_status); } &&
43234 { ac_try='test -z "$ac_c_werror_flag"
43235 || test ! -s conftest.err'
43236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43237 (eval $ac_try) 2>&5
43238 ac_status=$?
43239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43240 (exit $ac_status); }; } &&
43241 { ac_try='test -s conftest$ac_exeext'
43242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43243 (eval $ac_try) 2>&5
43244 ac_status=$?
43245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43246 (exit $ac_status); }; }; then
43247 ac_gcsections=yes
43248 else
43249 echo "$as_me: failed program was:" >&5
43250 sed 's/^/| /' conftest.$ac_ext >&5
43252 ac_gcsections=no
43254 rm -f conftest.err conftest.$ac_objext \
43255 conftest$ac_exeext conftest.$ac_ext
43256 if test "$ac_gcsections" = "yes"; then
43257 rm -f conftest.c
43258 touch conftest.c
43259 if $CC -c conftest.c; then
43260 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
43261 grep "Warning: gc-sections option ignored" > /dev/null; then
43262 ac_gcsections=no
43265 rm -f conftest.c conftest.o conftest
43267 if test "$ac_gcsections" = "yes"; then
43268 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
43270 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
43271 echo "${ECHO_T}$ac_gcsections" >&6
43273 if test "$ac_test_CFLAGS" = set; then
43274 CFLAGS="$ac_save_CFLAGS"
43275 else
43276 # this is the suspicious part
43277 CFLAGS=''
43281 # Set -z,relro.
43282 # Note this is only for shared objects.
43283 ac_ld_relro=no
43284 if test x"$with_gnu_ld" = x"yes"; then
43285 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
43286 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
43287 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
43288 if test -n "$cxx_z_relo"; then
43289 OPT_LDFLAGS="-Wl,-z,relro"
43290 ac_ld_relro=yes
43292 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
43293 echo "${ECHO_T}$ac_ld_relro" >&6
43296 # Set linker optimization flags.
43297 if test x"$with_gnu_ld" = x"yes"; then
43298 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
43305 ac_test_CXXFLAGS="${CXXFLAGS+set}"
43306 ac_save_CXXFLAGS="$CXXFLAGS"
43307 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
43309 echo "$as_me:$LINENO: checking for sin in -lm" >&5
43310 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
43311 if test "${ac_cv_lib_m_sin+set}" = set; then
43312 echo $ECHO_N "(cached) $ECHO_C" >&6
43313 else
43314 ac_check_lib_save_LIBS=$LIBS
43315 LIBS="-lm $LIBS"
43316 if test x$gcc_no_link = xyes; then
43317 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43318 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43319 { (exit 1); exit 1; }; }
43321 cat >conftest.$ac_ext <<_ACEOF
43322 /* confdefs.h. */
43323 _ACEOF
43324 cat confdefs.h >>conftest.$ac_ext
43325 cat >>conftest.$ac_ext <<_ACEOF
43326 /* end confdefs.h. */
43328 /* Override any gcc2 internal prototype to avoid an error. */
43329 #ifdef __cplusplus
43330 extern "C"
43331 #endif
43332 /* We use char because int might match the return type of a gcc2
43333 builtin and then its argument prototype would still apply. */
43334 char sin ();
43336 main ()
43338 sin ();
43340 return 0;
43342 _ACEOF
43343 rm -f conftest.$ac_objext conftest$ac_exeext
43344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43345 (eval $ac_link) 2>conftest.er1
43346 ac_status=$?
43347 grep -v '^ *+' conftest.er1 >conftest.err
43348 rm -f conftest.er1
43349 cat conftest.err >&5
43350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43351 (exit $ac_status); } &&
43352 { ac_try='test -z "$ac_c_werror_flag"
43353 || test ! -s conftest.err'
43354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43355 (eval $ac_try) 2>&5
43356 ac_status=$?
43357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43358 (exit $ac_status); }; } &&
43359 { ac_try='test -s conftest$ac_exeext'
43360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43361 (eval $ac_try) 2>&5
43362 ac_status=$?
43363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43364 (exit $ac_status); }; }; then
43365 ac_cv_lib_m_sin=yes
43366 else
43367 echo "$as_me: failed program was:" >&5
43368 sed 's/^/| /' conftest.$ac_ext >&5
43370 ac_cv_lib_m_sin=no
43372 rm -f conftest.err conftest.$ac_objext \
43373 conftest$ac_exeext conftest.$ac_ext
43374 LIBS=$ac_check_lib_save_LIBS
43376 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
43377 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
43378 if test $ac_cv_lib_m_sin = yes; then
43379 libm="-lm"
43382 ac_save_LIBS="$LIBS"
43383 LIBS="$LIBS $libm"
43387 echo "$as_me:$LINENO: checking for isinf declaration" >&5
43388 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
43389 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
43390 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
43391 echo $ECHO_N "(cached) $ECHO_C" >&6
43392 else
43396 ac_ext=cc
43397 ac_cpp='$CXXCPP $CPPFLAGS'
43398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43402 cat >conftest.$ac_ext <<_ACEOF
43403 /* confdefs.h. */
43404 _ACEOF
43405 cat confdefs.h >>conftest.$ac_ext
43406 cat >>conftest.$ac_ext <<_ACEOF
43407 /* end confdefs.h. */
43408 #include <math.h>
43409 #ifdef HAVE_IEEEFP_H
43410 #include <ieeefp.h>
43411 #endif
43414 main ()
43416 isinf(0);
43418 return 0;
43420 _ACEOF
43421 rm -f conftest.$ac_objext
43422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43423 (eval $ac_compile) 2>conftest.er1
43424 ac_status=$?
43425 grep -v '^ *+' conftest.er1 >conftest.err
43426 rm -f conftest.er1
43427 cat conftest.err >&5
43428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43429 (exit $ac_status); } &&
43430 { ac_try='test -z "$ac_cxx_werror_flag"
43431 || test ! -s conftest.err'
43432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43433 (eval $ac_try) 2>&5
43434 ac_status=$?
43435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43436 (exit $ac_status); }; } &&
43437 { ac_try='test -s conftest.$ac_objext'
43438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43439 (eval $ac_try) 2>&5
43440 ac_status=$?
43441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43442 (exit $ac_status); }; }; then
43443 glibcxx_cv_func_isinf_use=yes
43444 else
43445 echo "$as_me: failed program was:" >&5
43446 sed 's/^/| /' conftest.$ac_ext >&5
43448 glibcxx_cv_func_isinf_use=no
43450 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43451 ac_ext=c
43452 ac_cpp='$CPP $CPPFLAGS'
43453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43461 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
43462 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
43464 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
43466 for ac_func in isinf
43468 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43469 echo "$as_me:$LINENO: checking for $ac_func" >&5
43470 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43471 if eval "test \"\${$as_ac_var+set}\" = set"; then
43472 echo $ECHO_N "(cached) $ECHO_C" >&6
43473 else
43474 if test x$gcc_no_link = xyes; then
43475 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43476 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43477 { (exit 1); exit 1; }; }
43479 cat >conftest.$ac_ext <<_ACEOF
43480 /* confdefs.h. */
43481 _ACEOF
43482 cat confdefs.h >>conftest.$ac_ext
43483 cat >>conftest.$ac_ext <<_ACEOF
43484 /* end confdefs.h. */
43485 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43486 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43487 #define $ac_func innocuous_$ac_func
43489 /* System header to define __stub macros and hopefully few prototypes,
43490 which can conflict with char $ac_func (); below.
43491 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43492 <limits.h> exists even on freestanding compilers. */
43494 #ifdef __STDC__
43495 # include <limits.h>
43496 #else
43497 # include <assert.h>
43498 #endif
43500 #undef $ac_func
43502 /* Override any gcc2 internal prototype to avoid an error. */
43503 #ifdef __cplusplus
43504 extern "C"
43506 #endif
43507 /* We use char because int might match the return type of a gcc2
43508 builtin and then its argument prototype would still apply. */
43509 char $ac_func ();
43510 /* The GNU C library defines this for functions which it implements
43511 to always fail with ENOSYS. Some functions are actually named
43512 something starting with __ and the normal name is an alias. */
43513 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43514 choke me
43515 #else
43516 char (*f) () = $ac_func;
43517 #endif
43518 #ifdef __cplusplus
43520 #endif
43523 main ()
43525 return f != $ac_func;
43527 return 0;
43529 _ACEOF
43530 rm -f conftest.$ac_objext conftest$ac_exeext
43531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43532 (eval $ac_link) 2>conftest.er1
43533 ac_status=$?
43534 grep -v '^ *+' conftest.er1 >conftest.err
43535 rm -f conftest.er1
43536 cat conftest.err >&5
43537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43538 (exit $ac_status); } &&
43539 { ac_try='test -z "$ac_c_werror_flag"
43540 || test ! -s conftest.err'
43541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43542 (eval $ac_try) 2>&5
43543 ac_status=$?
43544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43545 (exit $ac_status); }; } &&
43546 { ac_try='test -s conftest$ac_exeext'
43547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43548 (eval $ac_try) 2>&5
43549 ac_status=$?
43550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43551 (exit $ac_status); }; }; then
43552 eval "$as_ac_var=yes"
43553 else
43554 echo "$as_me: failed program was:" >&5
43555 sed 's/^/| /' conftest.$ac_ext >&5
43557 eval "$as_ac_var=no"
43559 rm -f conftest.err conftest.$ac_objext \
43560 conftest$ac_exeext conftest.$ac_ext
43562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43563 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43564 if test `eval echo '${'$as_ac_var'}'` = yes; then
43565 cat >>confdefs.h <<_ACEOF
43566 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43567 _ACEOF
43570 done
43572 else
43574 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
43575 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
43576 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
43577 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
43578 echo $ECHO_N "(cached) $ECHO_C" >&6
43579 else
43583 ac_ext=cc
43584 ac_cpp='$CXXCPP $CPPFLAGS'
43585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43589 cat >conftest.$ac_ext <<_ACEOF
43590 /* confdefs.h. */
43591 _ACEOF
43592 cat confdefs.h >>conftest.$ac_ext
43593 cat >>conftest.$ac_ext <<_ACEOF
43594 /* end confdefs.h. */
43595 #include <math.h>
43596 #ifdef HAVE_IEEEFP_H
43597 #include <ieeefp.h>
43598 #endif
43601 main ()
43603 _isinf(0);
43605 return 0;
43607 _ACEOF
43608 rm -f conftest.$ac_objext
43609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43610 (eval $ac_compile) 2>conftest.er1
43611 ac_status=$?
43612 grep -v '^ *+' conftest.er1 >conftest.err
43613 rm -f conftest.er1
43614 cat conftest.err >&5
43615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43616 (exit $ac_status); } &&
43617 { ac_try='test -z "$ac_cxx_werror_flag"
43618 || test ! -s conftest.err'
43619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43620 (eval $ac_try) 2>&5
43621 ac_status=$?
43622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43623 (exit $ac_status); }; } &&
43624 { ac_try='test -s conftest.$ac_objext'
43625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43626 (eval $ac_try) 2>&5
43627 ac_status=$?
43628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43629 (exit $ac_status); }; }; then
43630 glibcxx_cv_func__isinf_use=yes
43631 else
43632 echo "$as_me: failed program was:" >&5
43633 sed 's/^/| /' conftest.$ac_ext >&5
43635 glibcxx_cv_func__isinf_use=no
43637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43638 ac_ext=c
43639 ac_cpp='$CPP $CPPFLAGS'
43640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43648 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
43649 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
43651 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
43653 for ac_func in _isinf
43655 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43656 echo "$as_me:$LINENO: checking for $ac_func" >&5
43657 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43658 if eval "test \"\${$as_ac_var+set}\" = set"; then
43659 echo $ECHO_N "(cached) $ECHO_C" >&6
43660 else
43661 if test x$gcc_no_link = xyes; then
43662 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43663 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43664 { (exit 1); exit 1; }; }
43666 cat >conftest.$ac_ext <<_ACEOF
43667 /* confdefs.h. */
43668 _ACEOF
43669 cat confdefs.h >>conftest.$ac_ext
43670 cat >>conftest.$ac_ext <<_ACEOF
43671 /* end confdefs.h. */
43672 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43673 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43674 #define $ac_func innocuous_$ac_func
43676 /* System header to define __stub macros and hopefully few prototypes,
43677 which can conflict with char $ac_func (); below.
43678 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43679 <limits.h> exists even on freestanding compilers. */
43681 #ifdef __STDC__
43682 # include <limits.h>
43683 #else
43684 # include <assert.h>
43685 #endif
43687 #undef $ac_func
43689 /* Override any gcc2 internal prototype to avoid an error. */
43690 #ifdef __cplusplus
43691 extern "C"
43693 #endif
43694 /* We use char because int might match the return type of a gcc2
43695 builtin and then its argument prototype would still apply. */
43696 char $ac_func ();
43697 /* The GNU C library defines this for functions which it implements
43698 to always fail with ENOSYS. Some functions are actually named
43699 something starting with __ and the normal name is an alias. */
43700 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43701 choke me
43702 #else
43703 char (*f) () = $ac_func;
43704 #endif
43705 #ifdef __cplusplus
43707 #endif
43710 main ()
43712 return f != $ac_func;
43714 return 0;
43716 _ACEOF
43717 rm -f conftest.$ac_objext conftest$ac_exeext
43718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43719 (eval $ac_link) 2>conftest.er1
43720 ac_status=$?
43721 grep -v '^ *+' conftest.er1 >conftest.err
43722 rm -f conftest.er1
43723 cat conftest.err >&5
43724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43725 (exit $ac_status); } &&
43726 { ac_try='test -z "$ac_c_werror_flag"
43727 || test ! -s conftest.err'
43728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43729 (eval $ac_try) 2>&5
43730 ac_status=$?
43731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43732 (exit $ac_status); }; } &&
43733 { ac_try='test -s conftest$ac_exeext'
43734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43735 (eval $ac_try) 2>&5
43736 ac_status=$?
43737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43738 (exit $ac_status); }; }; then
43739 eval "$as_ac_var=yes"
43740 else
43741 echo "$as_me: failed program was:" >&5
43742 sed 's/^/| /' conftest.$ac_ext >&5
43744 eval "$as_ac_var=no"
43746 rm -f conftest.err conftest.$ac_objext \
43747 conftest$ac_exeext conftest.$ac_ext
43749 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43750 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43751 if test `eval echo '${'$as_ac_var'}'` = yes; then
43752 cat >>confdefs.h <<_ACEOF
43753 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43754 _ACEOF
43757 done
43767 echo "$as_me:$LINENO: checking for isnan declaration" >&5
43768 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
43769 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
43770 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
43771 echo $ECHO_N "(cached) $ECHO_C" >&6
43772 else
43776 ac_ext=cc
43777 ac_cpp='$CXXCPP $CPPFLAGS'
43778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43782 cat >conftest.$ac_ext <<_ACEOF
43783 /* confdefs.h. */
43784 _ACEOF
43785 cat confdefs.h >>conftest.$ac_ext
43786 cat >>conftest.$ac_ext <<_ACEOF
43787 /* end confdefs.h. */
43788 #include <math.h>
43789 #ifdef HAVE_IEEEFP_H
43790 #include <ieeefp.h>
43791 #endif
43794 main ()
43796 isnan(0);
43798 return 0;
43800 _ACEOF
43801 rm -f conftest.$ac_objext
43802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43803 (eval $ac_compile) 2>conftest.er1
43804 ac_status=$?
43805 grep -v '^ *+' conftest.er1 >conftest.err
43806 rm -f conftest.er1
43807 cat conftest.err >&5
43808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43809 (exit $ac_status); } &&
43810 { ac_try='test -z "$ac_cxx_werror_flag"
43811 || test ! -s conftest.err'
43812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43813 (eval $ac_try) 2>&5
43814 ac_status=$?
43815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43816 (exit $ac_status); }; } &&
43817 { ac_try='test -s conftest.$ac_objext'
43818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43819 (eval $ac_try) 2>&5
43820 ac_status=$?
43821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43822 (exit $ac_status); }; }; then
43823 glibcxx_cv_func_isnan_use=yes
43824 else
43825 echo "$as_me: failed program was:" >&5
43826 sed 's/^/| /' conftest.$ac_ext >&5
43828 glibcxx_cv_func_isnan_use=no
43830 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43831 ac_ext=c
43832 ac_cpp='$CPP $CPPFLAGS'
43833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43841 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
43842 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
43844 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
43846 for ac_func in isnan
43848 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43849 echo "$as_me:$LINENO: checking for $ac_func" >&5
43850 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43851 if eval "test \"\${$as_ac_var+set}\" = set"; then
43852 echo $ECHO_N "(cached) $ECHO_C" >&6
43853 else
43854 if test x$gcc_no_link = xyes; then
43855 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43856 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43857 { (exit 1); exit 1; }; }
43859 cat >conftest.$ac_ext <<_ACEOF
43860 /* confdefs.h. */
43861 _ACEOF
43862 cat confdefs.h >>conftest.$ac_ext
43863 cat >>conftest.$ac_ext <<_ACEOF
43864 /* end confdefs.h. */
43865 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43866 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43867 #define $ac_func innocuous_$ac_func
43869 /* System header to define __stub macros and hopefully few prototypes,
43870 which can conflict with char $ac_func (); below.
43871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43872 <limits.h> exists even on freestanding compilers. */
43874 #ifdef __STDC__
43875 # include <limits.h>
43876 #else
43877 # include <assert.h>
43878 #endif
43880 #undef $ac_func
43882 /* Override any gcc2 internal prototype to avoid an error. */
43883 #ifdef __cplusplus
43884 extern "C"
43886 #endif
43887 /* We use char because int might match the return type of a gcc2
43888 builtin and then its argument prototype would still apply. */
43889 char $ac_func ();
43890 /* The GNU C library defines this for functions which it implements
43891 to always fail with ENOSYS. Some functions are actually named
43892 something starting with __ and the normal name is an alias. */
43893 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43894 choke me
43895 #else
43896 char (*f) () = $ac_func;
43897 #endif
43898 #ifdef __cplusplus
43900 #endif
43903 main ()
43905 return f != $ac_func;
43907 return 0;
43909 _ACEOF
43910 rm -f conftest.$ac_objext conftest$ac_exeext
43911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43912 (eval $ac_link) 2>conftest.er1
43913 ac_status=$?
43914 grep -v '^ *+' conftest.er1 >conftest.err
43915 rm -f conftest.er1
43916 cat conftest.err >&5
43917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43918 (exit $ac_status); } &&
43919 { ac_try='test -z "$ac_c_werror_flag"
43920 || test ! -s conftest.err'
43921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43922 (eval $ac_try) 2>&5
43923 ac_status=$?
43924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43925 (exit $ac_status); }; } &&
43926 { ac_try='test -s conftest$ac_exeext'
43927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43928 (eval $ac_try) 2>&5
43929 ac_status=$?
43930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43931 (exit $ac_status); }; }; then
43932 eval "$as_ac_var=yes"
43933 else
43934 echo "$as_me: failed program was:" >&5
43935 sed 's/^/| /' conftest.$ac_ext >&5
43937 eval "$as_ac_var=no"
43939 rm -f conftest.err conftest.$ac_objext \
43940 conftest$ac_exeext conftest.$ac_ext
43942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43943 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43944 if test `eval echo '${'$as_ac_var'}'` = yes; then
43945 cat >>confdefs.h <<_ACEOF
43946 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43947 _ACEOF
43950 done
43952 else
43954 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
43955 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
43956 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
43957 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
43958 echo $ECHO_N "(cached) $ECHO_C" >&6
43959 else
43963 ac_ext=cc
43964 ac_cpp='$CXXCPP $CPPFLAGS'
43965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43969 cat >conftest.$ac_ext <<_ACEOF
43970 /* confdefs.h. */
43971 _ACEOF
43972 cat confdefs.h >>conftest.$ac_ext
43973 cat >>conftest.$ac_ext <<_ACEOF
43974 /* end confdefs.h. */
43975 #include <math.h>
43976 #ifdef HAVE_IEEEFP_H
43977 #include <ieeefp.h>
43978 #endif
43981 main ()
43983 _isnan(0);
43985 return 0;
43987 _ACEOF
43988 rm -f conftest.$ac_objext
43989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43990 (eval $ac_compile) 2>conftest.er1
43991 ac_status=$?
43992 grep -v '^ *+' conftest.er1 >conftest.err
43993 rm -f conftest.er1
43994 cat conftest.err >&5
43995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43996 (exit $ac_status); } &&
43997 { ac_try='test -z "$ac_cxx_werror_flag"
43998 || test ! -s conftest.err'
43999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44000 (eval $ac_try) 2>&5
44001 ac_status=$?
44002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44003 (exit $ac_status); }; } &&
44004 { ac_try='test -s conftest.$ac_objext'
44005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44006 (eval $ac_try) 2>&5
44007 ac_status=$?
44008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44009 (exit $ac_status); }; }; then
44010 glibcxx_cv_func__isnan_use=yes
44011 else
44012 echo "$as_me: failed program was:" >&5
44013 sed 's/^/| /' conftest.$ac_ext >&5
44015 glibcxx_cv_func__isnan_use=no
44017 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44018 ac_ext=c
44019 ac_cpp='$CPP $CPPFLAGS'
44020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44028 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
44029 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
44031 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
44033 for ac_func in _isnan
44035 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44036 echo "$as_me:$LINENO: checking for $ac_func" >&5
44037 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44038 if eval "test \"\${$as_ac_var+set}\" = set"; then
44039 echo $ECHO_N "(cached) $ECHO_C" >&6
44040 else
44041 if test x$gcc_no_link = xyes; then
44042 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44043 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44044 { (exit 1); exit 1; }; }
44046 cat >conftest.$ac_ext <<_ACEOF
44047 /* confdefs.h. */
44048 _ACEOF
44049 cat confdefs.h >>conftest.$ac_ext
44050 cat >>conftest.$ac_ext <<_ACEOF
44051 /* end confdefs.h. */
44052 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44053 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44054 #define $ac_func innocuous_$ac_func
44056 /* System header to define __stub macros and hopefully few prototypes,
44057 which can conflict with char $ac_func (); below.
44058 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44059 <limits.h> exists even on freestanding compilers. */
44061 #ifdef __STDC__
44062 # include <limits.h>
44063 #else
44064 # include <assert.h>
44065 #endif
44067 #undef $ac_func
44069 /* Override any gcc2 internal prototype to avoid an error. */
44070 #ifdef __cplusplus
44071 extern "C"
44073 #endif
44074 /* We use char because int might match the return type of a gcc2
44075 builtin and then its argument prototype would still apply. */
44076 char $ac_func ();
44077 /* The GNU C library defines this for functions which it implements
44078 to always fail with ENOSYS. Some functions are actually named
44079 something starting with __ and the normal name is an alias. */
44080 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44081 choke me
44082 #else
44083 char (*f) () = $ac_func;
44084 #endif
44085 #ifdef __cplusplus
44087 #endif
44090 main ()
44092 return f != $ac_func;
44094 return 0;
44096 _ACEOF
44097 rm -f conftest.$ac_objext conftest$ac_exeext
44098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44099 (eval $ac_link) 2>conftest.er1
44100 ac_status=$?
44101 grep -v '^ *+' conftest.er1 >conftest.err
44102 rm -f conftest.er1
44103 cat conftest.err >&5
44104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44105 (exit $ac_status); } &&
44106 { ac_try='test -z "$ac_c_werror_flag"
44107 || test ! -s conftest.err'
44108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44109 (eval $ac_try) 2>&5
44110 ac_status=$?
44111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44112 (exit $ac_status); }; } &&
44113 { ac_try='test -s conftest$ac_exeext'
44114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44115 (eval $ac_try) 2>&5
44116 ac_status=$?
44117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44118 (exit $ac_status); }; }; then
44119 eval "$as_ac_var=yes"
44120 else
44121 echo "$as_me: failed program was:" >&5
44122 sed 's/^/| /' conftest.$ac_ext >&5
44124 eval "$as_ac_var=no"
44126 rm -f conftest.err conftest.$ac_objext \
44127 conftest$ac_exeext conftest.$ac_ext
44129 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44130 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44131 if test `eval echo '${'$as_ac_var'}'` = yes; then
44132 cat >>confdefs.h <<_ACEOF
44133 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44134 _ACEOF
44137 done
44147 echo "$as_me:$LINENO: checking for finite declaration" >&5
44148 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
44149 if test x${glibcxx_cv_func_finite_use+set} != xset; then
44150 if test "${glibcxx_cv_func_finite_use+set}" = set; then
44151 echo $ECHO_N "(cached) $ECHO_C" >&6
44152 else
44156 ac_ext=cc
44157 ac_cpp='$CXXCPP $CPPFLAGS'
44158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44162 cat >conftest.$ac_ext <<_ACEOF
44163 /* confdefs.h. */
44164 _ACEOF
44165 cat confdefs.h >>conftest.$ac_ext
44166 cat >>conftest.$ac_ext <<_ACEOF
44167 /* end confdefs.h. */
44168 #include <math.h>
44169 #ifdef HAVE_IEEEFP_H
44170 #include <ieeefp.h>
44171 #endif
44174 main ()
44176 finite(0);
44178 return 0;
44180 _ACEOF
44181 rm -f conftest.$ac_objext
44182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44183 (eval $ac_compile) 2>conftest.er1
44184 ac_status=$?
44185 grep -v '^ *+' conftest.er1 >conftest.err
44186 rm -f conftest.er1
44187 cat conftest.err >&5
44188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44189 (exit $ac_status); } &&
44190 { ac_try='test -z "$ac_cxx_werror_flag"
44191 || test ! -s conftest.err'
44192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44193 (eval $ac_try) 2>&5
44194 ac_status=$?
44195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44196 (exit $ac_status); }; } &&
44197 { ac_try='test -s conftest.$ac_objext'
44198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44199 (eval $ac_try) 2>&5
44200 ac_status=$?
44201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44202 (exit $ac_status); }; }; then
44203 glibcxx_cv_func_finite_use=yes
44204 else
44205 echo "$as_me: failed program was:" >&5
44206 sed 's/^/| /' conftest.$ac_ext >&5
44208 glibcxx_cv_func_finite_use=no
44210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44211 ac_ext=c
44212 ac_cpp='$CPP $CPPFLAGS'
44213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44221 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
44222 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
44224 if test x$glibcxx_cv_func_finite_use = x"yes"; then
44226 for ac_func in finite
44228 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44229 echo "$as_me:$LINENO: checking for $ac_func" >&5
44230 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44231 if eval "test \"\${$as_ac_var+set}\" = set"; then
44232 echo $ECHO_N "(cached) $ECHO_C" >&6
44233 else
44234 if test x$gcc_no_link = xyes; then
44235 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44236 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44237 { (exit 1); exit 1; }; }
44239 cat >conftest.$ac_ext <<_ACEOF
44240 /* confdefs.h. */
44241 _ACEOF
44242 cat confdefs.h >>conftest.$ac_ext
44243 cat >>conftest.$ac_ext <<_ACEOF
44244 /* end confdefs.h. */
44245 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44246 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44247 #define $ac_func innocuous_$ac_func
44249 /* System header to define __stub macros and hopefully few prototypes,
44250 which can conflict with char $ac_func (); below.
44251 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44252 <limits.h> exists even on freestanding compilers. */
44254 #ifdef __STDC__
44255 # include <limits.h>
44256 #else
44257 # include <assert.h>
44258 #endif
44260 #undef $ac_func
44262 /* Override any gcc2 internal prototype to avoid an error. */
44263 #ifdef __cplusplus
44264 extern "C"
44266 #endif
44267 /* We use char because int might match the return type of a gcc2
44268 builtin and then its argument prototype would still apply. */
44269 char $ac_func ();
44270 /* The GNU C library defines this for functions which it implements
44271 to always fail with ENOSYS. Some functions are actually named
44272 something starting with __ and the normal name is an alias. */
44273 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44274 choke me
44275 #else
44276 char (*f) () = $ac_func;
44277 #endif
44278 #ifdef __cplusplus
44280 #endif
44283 main ()
44285 return f != $ac_func;
44287 return 0;
44289 _ACEOF
44290 rm -f conftest.$ac_objext conftest$ac_exeext
44291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44292 (eval $ac_link) 2>conftest.er1
44293 ac_status=$?
44294 grep -v '^ *+' conftest.er1 >conftest.err
44295 rm -f conftest.er1
44296 cat conftest.err >&5
44297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44298 (exit $ac_status); } &&
44299 { ac_try='test -z "$ac_c_werror_flag"
44300 || test ! -s conftest.err'
44301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44302 (eval $ac_try) 2>&5
44303 ac_status=$?
44304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44305 (exit $ac_status); }; } &&
44306 { ac_try='test -s conftest$ac_exeext'
44307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44308 (eval $ac_try) 2>&5
44309 ac_status=$?
44310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44311 (exit $ac_status); }; }; then
44312 eval "$as_ac_var=yes"
44313 else
44314 echo "$as_me: failed program was:" >&5
44315 sed 's/^/| /' conftest.$ac_ext >&5
44317 eval "$as_ac_var=no"
44319 rm -f conftest.err conftest.$ac_objext \
44320 conftest$ac_exeext conftest.$ac_ext
44322 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44323 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44324 if test `eval echo '${'$as_ac_var'}'` = yes; then
44325 cat >>confdefs.h <<_ACEOF
44326 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44327 _ACEOF
44330 done
44332 else
44334 echo "$as_me:$LINENO: checking for _finite declaration" >&5
44335 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
44336 if test x${glibcxx_cv_func__finite_use+set} != xset; then
44337 if test "${glibcxx_cv_func__finite_use+set}" = set; then
44338 echo $ECHO_N "(cached) $ECHO_C" >&6
44339 else
44343 ac_ext=cc
44344 ac_cpp='$CXXCPP $CPPFLAGS'
44345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44349 cat >conftest.$ac_ext <<_ACEOF
44350 /* confdefs.h. */
44351 _ACEOF
44352 cat confdefs.h >>conftest.$ac_ext
44353 cat >>conftest.$ac_ext <<_ACEOF
44354 /* end confdefs.h. */
44355 #include <math.h>
44356 #ifdef HAVE_IEEEFP_H
44357 #include <ieeefp.h>
44358 #endif
44361 main ()
44363 _finite(0);
44365 return 0;
44367 _ACEOF
44368 rm -f conftest.$ac_objext
44369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44370 (eval $ac_compile) 2>conftest.er1
44371 ac_status=$?
44372 grep -v '^ *+' conftest.er1 >conftest.err
44373 rm -f conftest.er1
44374 cat conftest.err >&5
44375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44376 (exit $ac_status); } &&
44377 { ac_try='test -z "$ac_cxx_werror_flag"
44378 || test ! -s conftest.err'
44379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44380 (eval $ac_try) 2>&5
44381 ac_status=$?
44382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44383 (exit $ac_status); }; } &&
44384 { ac_try='test -s conftest.$ac_objext'
44385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44386 (eval $ac_try) 2>&5
44387 ac_status=$?
44388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44389 (exit $ac_status); }; }; then
44390 glibcxx_cv_func__finite_use=yes
44391 else
44392 echo "$as_me: failed program was:" >&5
44393 sed 's/^/| /' conftest.$ac_ext >&5
44395 glibcxx_cv_func__finite_use=no
44397 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44398 ac_ext=c
44399 ac_cpp='$CPP $CPPFLAGS'
44400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44408 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
44409 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
44411 if test x$glibcxx_cv_func__finite_use = x"yes"; then
44413 for ac_func in _finite
44415 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44416 echo "$as_me:$LINENO: checking for $ac_func" >&5
44417 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44418 if eval "test \"\${$as_ac_var+set}\" = set"; then
44419 echo $ECHO_N "(cached) $ECHO_C" >&6
44420 else
44421 if test x$gcc_no_link = xyes; then
44422 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44423 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44424 { (exit 1); exit 1; }; }
44426 cat >conftest.$ac_ext <<_ACEOF
44427 /* confdefs.h. */
44428 _ACEOF
44429 cat confdefs.h >>conftest.$ac_ext
44430 cat >>conftest.$ac_ext <<_ACEOF
44431 /* end confdefs.h. */
44432 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44433 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44434 #define $ac_func innocuous_$ac_func
44436 /* System header to define __stub macros and hopefully few prototypes,
44437 which can conflict with char $ac_func (); below.
44438 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44439 <limits.h> exists even on freestanding compilers. */
44441 #ifdef __STDC__
44442 # include <limits.h>
44443 #else
44444 # include <assert.h>
44445 #endif
44447 #undef $ac_func
44449 /* Override any gcc2 internal prototype to avoid an error. */
44450 #ifdef __cplusplus
44451 extern "C"
44453 #endif
44454 /* We use char because int might match the return type of a gcc2
44455 builtin and then its argument prototype would still apply. */
44456 char $ac_func ();
44457 /* The GNU C library defines this for functions which it implements
44458 to always fail with ENOSYS. Some functions are actually named
44459 something starting with __ and the normal name is an alias. */
44460 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44461 choke me
44462 #else
44463 char (*f) () = $ac_func;
44464 #endif
44465 #ifdef __cplusplus
44467 #endif
44470 main ()
44472 return f != $ac_func;
44474 return 0;
44476 _ACEOF
44477 rm -f conftest.$ac_objext conftest$ac_exeext
44478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44479 (eval $ac_link) 2>conftest.er1
44480 ac_status=$?
44481 grep -v '^ *+' conftest.er1 >conftest.err
44482 rm -f conftest.er1
44483 cat conftest.err >&5
44484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44485 (exit $ac_status); } &&
44486 { ac_try='test -z "$ac_c_werror_flag"
44487 || test ! -s conftest.err'
44488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44489 (eval $ac_try) 2>&5
44490 ac_status=$?
44491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44492 (exit $ac_status); }; } &&
44493 { ac_try='test -s conftest$ac_exeext'
44494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44495 (eval $ac_try) 2>&5
44496 ac_status=$?
44497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44498 (exit $ac_status); }; }; then
44499 eval "$as_ac_var=yes"
44500 else
44501 echo "$as_me: failed program was:" >&5
44502 sed 's/^/| /' conftest.$ac_ext >&5
44504 eval "$as_ac_var=no"
44506 rm -f conftest.err conftest.$ac_objext \
44507 conftest$ac_exeext conftest.$ac_ext
44509 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44510 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44511 if test `eval echo '${'$as_ac_var'}'` = yes; then
44512 cat >>confdefs.h <<_ACEOF
44513 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44514 _ACEOF
44517 done
44527 echo "$as_me:$LINENO: checking for copysign declaration" >&5
44528 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
44529 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
44530 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
44531 echo $ECHO_N "(cached) $ECHO_C" >&6
44532 else
44536 ac_ext=cc
44537 ac_cpp='$CXXCPP $CPPFLAGS'
44538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44542 cat >conftest.$ac_ext <<_ACEOF
44543 /* confdefs.h. */
44544 _ACEOF
44545 cat confdefs.h >>conftest.$ac_ext
44546 cat >>conftest.$ac_ext <<_ACEOF
44547 /* end confdefs.h. */
44548 #include <math.h>
44550 main ()
44552 copysign(0, 0);
44554 return 0;
44556 _ACEOF
44557 rm -f conftest.$ac_objext
44558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44559 (eval $ac_compile) 2>conftest.er1
44560 ac_status=$?
44561 grep -v '^ *+' conftest.er1 >conftest.err
44562 rm -f conftest.er1
44563 cat conftest.err >&5
44564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44565 (exit $ac_status); } &&
44566 { ac_try='test -z "$ac_cxx_werror_flag"
44567 || test ! -s conftest.err'
44568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44569 (eval $ac_try) 2>&5
44570 ac_status=$?
44571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44572 (exit $ac_status); }; } &&
44573 { ac_try='test -s conftest.$ac_objext'
44574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44575 (eval $ac_try) 2>&5
44576 ac_status=$?
44577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44578 (exit $ac_status); }; }; then
44579 glibcxx_cv_func_copysign_use=yes
44580 else
44581 echo "$as_me: failed program was:" >&5
44582 sed 's/^/| /' conftest.$ac_ext >&5
44584 glibcxx_cv_func_copysign_use=no
44586 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44587 ac_ext=c
44588 ac_cpp='$CPP $CPPFLAGS'
44589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44597 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
44598 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
44600 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
44602 for ac_func in copysign
44604 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44605 echo "$as_me:$LINENO: checking for $ac_func" >&5
44606 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44607 if eval "test \"\${$as_ac_var+set}\" = set"; then
44608 echo $ECHO_N "(cached) $ECHO_C" >&6
44609 else
44610 if test x$gcc_no_link = xyes; then
44611 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44612 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44613 { (exit 1); exit 1; }; }
44615 cat >conftest.$ac_ext <<_ACEOF
44616 /* confdefs.h. */
44617 _ACEOF
44618 cat confdefs.h >>conftest.$ac_ext
44619 cat >>conftest.$ac_ext <<_ACEOF
44620 /* end confdefs.h. */
44621 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44622 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44623 #define $ac_func innocuous_$ac_func
44625 /* System header to define __stub macros and hopefully few prototypes,
44626 which can conflict with char $ac_func (); below.
44627 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44628 <limits.h> exists even on freestanding compilers. */
44630 #ifdef __STDC__
44631 # include <limits.h>
44632 #else
44633 # include <assert.h>
44634 #endif
44636 #undef $ac_func
44638 /* Override any gcc2 internal prototype to avoid an error. */
44639 #ifdef __cplusplus
44640 extern "C"
44642 #endif
44643 /* We use char because int might match the return type of a gcc2
44644 builtin and then its argument prototype would still apply. */
44645 char $ac_func ();
44646 /* The GNU C library defines this for functions which it implements
44647 to always fail with ENOSYS. Some functions are actually named
44648 something starting with __ and the normal name is an alias. */
44649 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44650 choke me
44651 #else
44652 char (*f) () = $ac_func;
44653 #endif
44654 #ifdef __cplusplus
44656 #endif
44659 main ()
44661 return f != $ac_func;
44663 return 0;
44665 _ACEOF
44666 rm -f conftest.$ac_objext conftest$ac_exeext
44667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44668 (eval $ac_link) 2>conftest.er1
44669 ac_status=$?
44670 grep -v '^ *+' conftest.er1 >conftest.err
44671 rm -f conftest.er1
44672 cat conftest.err >&5
44673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44674 (exit $ac_status); } &&
44675 { ac_try='test -z "$ac_c_werror_flag"
44676 || test ! -s conftest.err'
44677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44678 (eval $ac_try) 2>&5
44679 ac_status=$?
44680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44681 (exit $ac_status); }; } &&
44682 { ac_try='test -s conftest$ac_exeext'
44683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44684 (eval $ac_try) 2>&5
44685 ac_status=$?
44686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44687 (exit $ac_status); }; }; then
44688 eval "$as_ac_var=yes"
44689 else
44690 echo "$as_me: failed program was:" >&5
44691 sed 's/^/| /' conftest.$ac_ext >&5
44693 eval "$as_ac_var=no"
44695 rm -f conftest.err conftest.$ac_objext \
44696 conftest$ac_exeext conftest.$ac_ext
44698 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44699 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44700 if test `eval echo '${'$as_ac_var'}'` = yes; then
44701 cat >>confdefs.h <<_ACEOF
44702 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44703 _ACEOF
44706 done
44708 else
44710 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
44711 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
44712 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
44713 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
44714 echo $ECHO_N "(cached) $ECHO_C" >&6
44715 else
44719 ac_ext=cc
44720 ac_cpp='$CXXCPP $CPPFLAGS'
44721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44725 cat >conftest.$ac_ext <<_ACEOF
44726 /* confdefs.h. */
44727 _ACEOF
44728 cat confdefs.h >>conftest.$ac_ext
44729 cat >>conftest.$ac_ext <<_ACEOF
44730 /* end confdefs.h. */
44731 #include <math.h>
44733 main ()
44735 _copysign(0, 0);
44737 return 0;
44739 _ACEOF
44740 rm -f conftest.$ac_objext
44741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44742 (eval $ac_compile) 2>conftest.er1
44743 ac_status=$?
44744 grep -v '^ *+' conftest.er1 >conftest.err
44745 rm -f conftest.er1
44746 cat conftest.err >&5
44747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44748 (exit $ac_status); } &&
44749 { ac_try='test -z "$ac_cxx_werror_flag"
44750 || test ! -s conftest.err'
44751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44752 (eval $ac_try) 2>&5
44753 ac_status=$?
44754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44755 (exit $ac_status); }; } &&
44756 { ac_try='test -s conftest.$ac_objext'
44757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44758 (eval $ac_try) 2>&5
44759 ac_status=$?
44760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44761 (exit $ac_status); }; }; then
44762 glibcxx_cv_func__copysign_use=yes
44763 else
44764 echo "$as_me: failed program was:" >&5
44765 sed 's/^/| /' conftest.$ac_ext >&5
44767 glibcxx_cv_func__copysign_use=no
44769 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44770 ac_ext=c
44771 ac_cpp='$CPP $CPPFLAGS'
44772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44780 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
44781 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
44783 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
44785 for ac_func in _copysign
44787 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44788 echo "$as_me:$LINENO: checking for $ac_func" >&5
44789 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44790 if eval "test \"\${$as_ac_var+set}\" = set"; then
44791 echo $ECHO_N "(cached) $ECHO_C" >&6
44792 else
44793 if test x$gcc_no_link = xyes; then
44794 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44795 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44796 { (exit 1); exit 1; }; }
44798 cat >conftest.$ac_ext <<_ACEOF
44799 /* confdefs.h. */
44800 _ACEOF
44801 cat confdefs.h >>conftest.$ac_ext
44802 cat >>conftest.$ac_ext <<_ACEOF
44803 /* end confdefs.h. */
44804 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44805 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44806 #define $ac_func innocuous_$ac_func
44808 /* System header to define __stub macros and hopefully few prototypes,
44809 which can conflict with char $ac_func (); below.
44810 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44811 <limits.h> exists even on freestanding compilers. */
44813 #ifdef __STDC__
44814 # include <limits.h>
44815 #else
44816 # include <assert.h>
44817 #endif
44819 #undef $ac_func
44821 /* Override any gcc2 internal prototype to avoid an error. */
44822 #ifdef __cplusplus
44823 extern "C"
44825 #endif
44826 /* We use char because int might match the return type of a gcc2
44827 builtin and then its argument prototype would still apply. */
44828 char $ac_func ();
44829 /* The GNU C library defines this for functions which it implements
44830 to always fail with ENOSYS. Some functions are actually named
44831 something starting with __ and the normal name is an alias. */
44832 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44833 choke me
44834 #else
44835 char (*f) () = $ac_func;
44836 #endif
44837 #ifdef __cplusplus
44839 #endif
44842 main ()
44844 return f != $ac_func;
44846 return 0;
44848 _ACEOF
44849 rm -f conftest.$ac_objext conftest$ac_exeext
44850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44851 (eval $ac_link) 2>conftest.er1
44852 ac_status=$?
44853 grep -v '^ *+' conftest.er1 >conftest.err
44854 rm -f conftest.er1
44855 cat conftest.err >&5
44856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44857 (exit $ac_status); } &&
44858 { ac_try='test -z "$ac_c_werror_flag"
44859 || test ! -s conftest.err'
44860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44861 (eval $ac_try) 2>&5
44862 ac_status=$?
44863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44864 (exit $ac_status); }; } &&
44865 { ac_try='test -s conftest$ac_exeext'
44866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44867 (eval $ac_try) 2>&5
44868 ac_status=$?
44869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44870 (exit $ac_status); }; }; then
44871 eval "$as_ac_var=yes"
44872 else
44873 echo "$as_me: failed program was:" >&5
44874 sed 's/^/| /' conftest.$ac_ext >&5
44876 eval "$as_ac_var=no"
44878 rm -f conftest.err conftest.$ac_objext \
44879 conftest$ac_exeext conftest.$ac_ext
44881 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44882 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44883 if test `eval echo '${'$as_ac_var'}'` = yes; then
44884 cat >>confdefs.h <<_ACEOF
44885 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44886 _ACEOF
44889 done
44899 echo "$as_me:$LINENO: checking for sincos declaration" >&5
44900 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
44901 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
44902 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
44903 echo $ECHO_N "(cached) $ECHO_C" >&6
44904 else
44908 ac_ext=cc
44909 ac_cpp='$CXXCPP $CPPFLAGS'
44910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44914 cat >conftest.$ac_ext <<_ACEOF
44915 /* confdefs.h. */
44916 _ACEOF
44917 cat confdefs.h >>conftest.$ac_ext
44918 cat >>conftest.$ac_ext <<_ACEOF
44919 /* end confdefs.h. */
44920 #include <math.h>
44922 main ()
44924 sincos(0, 0, 0);
44926 return 0;
44928 _ACEOF
44929 rm -f conftest.$ac_objext
44930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44931 (eval $ac_compile) 2>conftest.er1
44932 ac_status=$?
44933 grep -v '^ *+' conftest.er1 >conftest.err
44934 rm -f conftest.er1
44935 cat conftest.err >&5
44936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44937 (exit $ac_status); } &&
44938 { ac_try='test -z "$ac_cxx_werror_flag"
44939 || test ! -s conftest.err'
44940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44941 (eval $ac_try) 2>&5
44942 ac_status=$?
44943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44944 (exit $ac_status); }; } &&
44945 { ac_try='test -s conftest.$ac_objext'
44946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44947 (eval $ac_try) 2>&5
44948 ac_status=$?
44949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44950 (exit $ac_status); }; }; then
44951 glibcxx_cv_func_sincos_use=yes
44952 else
44953 echo "$as_me: failed program was:" >&5
44954 sed 's/^/| /' conftest.$ac_ext >&5
44956 glibcxx_cv_func_sincos_use=no
44958 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44959 ac_ext=c
44960 ac_cpp='$CPP $CPPFLAGS'
44961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44969 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
44970 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
44972 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
44974 for ac_func in sincos
44976 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44977 echo "$as_me:$LINENO: checking for $ac_func" >&5
44978 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44979 if eval "test \"\${$as_ac_var+set}\" = set"; then
44980 echo $ECHO_N "(cached) $ECHO_C" >&6
44981 else
44982 if test x$gcc_no_link = xyes; then
44983 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44984 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44985 { (exit 1); exit 1; }; }
44987 cat >conftest.$ac_ext <<_ACEOF
44988 /* confdefs.h. */
44989 _ACEOF
44990 cat confdefs.h >>conftest.$ac_ext
44991 cat >>conftest.$ac_ext <<_ACEOF
44992 /* end confdefs.h. */
44993 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44994 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44995 #define $ac_func innocuous_$ac_func
44997 /* System header to define __stub macros and hopefully few prototypes,
44998 which can conflict with char $ac_func (); below.
44999 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45000 <limits.h> exists even on freestanding compilers. */
45002 #ifdef __STDC__
45003 # include <limits.h>
45004 #else
45005 # include <assert.h>
45006 #endif
45008 #undef $ac_func
45010 /* Override any gcc2 internal prototype to avoid an error. */
45011 #ifdef __cplusplus
45012 extern "C"
45014 #endif
45015 /* We use char because int might match the return type of a gcc2
45016 builtin and then its argument prototype would still apply. */
45017 char $ac_func ();
45018 /* The GNU C library defines this for functions which it implements
45019 to always fail with ENOSYS. Some functions are actually named
45020 something starting with __ and the normal name is an alias. */
45021 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45022 choke me
45023 #else
45024 char (*f) () = $ac_func;
45025 #endif
45026 #ifdef __cplusplus
45028 #endif
45031 main ()
45033 return f != $ac_func;
45035 return 0;
45037 _ACEOF
45038 rm -f conftest.$ac_objext conftest$ac_exeext
45039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45040 (eval $ac_link) 2>conftest.er1
45041 ac_status=$?
45042 grep -v '^ *+' conftest.er1 >conftest.err
45043 rm -f conftest.er1
45044 cat conftest.err >&5
45045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45046 (exit $ac_status); } &&
45047 { ac_try='test -z "$ac_c_werror_flag"
45048 || test ! -s conftest.err'
45049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45050 (eval $ac_try) 2>&5
45051 ac_status=$?
45052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45053 (exit $ac_status); }; } &&
45054 { ac_try='test -s conftest$ac_exeext'
45055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45056 (eval $ac_try) 2>&5
45057 ac_status=$?
45058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45059 (exit $ac_status); }; }; then
45060 eval "$as_ac_var=yes"
45061 else
45062 echo "$as_me: failed program was:" >&5
45063 sed 's/^/| /' conftest.$ac_ext >&5
45065 eval "$as_ac_var=no"
45067 rm -f conftest.err conftest.$ac_objext \
45068 conftest$ac_exeext conftest.$ac_ext
45070 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45071 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45072 if test `eval echo '${'$as_ac_var'}'` = yes; then
45073 cat >>confdefs.h <<_ACEOF
45074 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45075 _ACEOF
45078 done
45080 else
45082 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
45083 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
45084 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
45085 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
45086 echo $ECHO_N "(cached) $ECHO_C" >&6
45087 else
45091 ac_ext=cc
45092 ac_cpp='$CXXCPP $CPPFLAGS'
45093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45097 cat >conftest.$ac_ext <<_ACEOF
45098 /* confdefs.h. */
45099 _ACEOF
45100 cat confdefs.h >>conftest.$ac_ext
45101 cat >>conftest.$ac_ext <<_ACEOF
45102 /* end confdefs.h. */
45103 #include <math.h>
45105 main ()
45107 _sincos(0, 0, 0);
45109 return 0;
45111 _ACEOF
45112 rm -f conftest.$ac_objext
45113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45114 (eval $ac_compile) 2>conftest.er1
45115 ac_status=$?
45116 grep -v '^ *+' conftest.er1 >conftest.err
45117 rm -f conftest.er1
45118 cat conftest.err >&5
45119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45120 (exit $ac_status); } &&
45121 { ac_try='test -z "$ac_cxx_werror_flag"
45122 || test ! -s conftest.err'
45123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45124 (eval $ac_try) 2>&5
45125 ac_status=$?
45126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45127 (exit $ac_status); }; } &&
45128 { ac_try='test -s conftest.$ac_objext'
45129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45130 (eval $ac_try) 2>&5
45131 ac_status=$?
45132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45133 (exit $ac_status); }; }; then
45134 glibcxx_cv_func__sincos_use=yes
45135 else
45136 echo "$as_me: failed program was:" >&5
45137 sed 's/^/| /' conftest.$ac_ext >&5
45139 glibcxx_cv_func__sincos_use=no
45141 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45142 ac_ext=c
45143 ac_cpp='$CPP $CPPFLAGS'
45144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45152 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
45153 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
45155 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
45157 for ac_func in _sincos
45159 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45160 echo "$as_me:$LINENO: checking for $ac_func" >&5
45161 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45162 if eval "test \"\${$as_ac_var+set}\" = set"; then
45163 echo $ECHO_N "(cached) $ECHO_C" >&6
45164 else
45165 if test x$gcc_no_link = xyes; then
45166 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45167 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45168 { (exit 1); exit 1; }; }
45170 cat >conftest.$ac_ext <<_ACEOF
45171 /* confdefs.h. */
45172 _ACEOF
45173 cat confdefs.h >>conftest.$ac_ext
45174 cat >>conftest.$ac_ext <<_ACEOF
45175 /* end confdefs.h. */
45176 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45177 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45178 #define $ac_func innocuous_$ac_func
45180 /* System header to define __stub macros and hopefully few prototypes,
45181 which can conflict with char $ac_func (); below.
45182 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45183 <limits.h> exists even on freestanding compilers. */
45185 #ifdef __STDC__
45186 # include <limits.h>
45187 #else
45188 # include <assert.h>
45189 #endif
45191 #undef $ac_func
45193 /* Override any gcc2 internal prototype to avoid an error. */
45194 #ifdef __cplusplus
45195 extern "C"
45197 #endif
45198 /* We use char because int might match the return type of a gcc2
45199 builtin and then its argument prototype would still apply. */
45200 char $ac_func ();
45201 /* The GNU C library defines this for functions which it implements
45202 to always fail with ENOSYS. Some functions are actually named
45203 something starting with __ and the normal name is an alias. */
45204 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45205 choke me
45206 #else
45207 char (*f) () = $ac_func;
45208 #endif
45209 #ifdef __cplusplus
45211 #endif
45214 main ()
45216 return f != $ac_func;
45218 return 0;
45220 _ACEOF
45221 rm -f conftest.$ac_objext conftest$ac_exeext
45222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45223 (eval $ac_link) 2>conftest.er1
45224 ac_status=$?
45225 grep -v '^ *+' conftest.er1 >conftest.err
45226 rm -f conftest.er1
45227 cat conftest.err >&5
45228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45229 (exit $ac_status); } &&
45230 { ac_try='test -z "$ac_c_werror_flag"
45231 || test ! -s conftest.err'
45232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45233 (eval $ac_try) 2>&5
45234 ac_status=$?
45235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45236 (exit $ac_status); }; } &&
45237 { ac_try='test -s conftest$ac_exeext'
45238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45239 (eval $ac_try) 2>&5
45240 ac_status=$?
45241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45242 (exit $ac_status); }; }; then
45243 eval "$as_ac_var=yes"
45244 else
45245 echo "$as_me: failed program was:" >&5
45246 sed 's/^/| /' conftest.$ac_ext >&5
45248 eval "$as_ac_var=no"
45250 rm -f conftest.err conftest.$ac_objext \
45251 conftest$ac_exeext conftest.$ac_ext
45253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45254 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45255 if test `eval echo '${'$as_ac_var'}'` = yes; then
45256 cat >>confdefs.h <<_ACEOF
45257 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45258 _ACEOF
45261 done
45271 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
45272 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
45273 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
45274 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
45275 echo $ECHO_N "(cached) $ECHO_C" >&6
45276 else
45280 ac_ext=cc
45281 ac_cpp='$CXXCPP $CPPFLAGS'
45282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45286 cat >conftest.$ac_ext <<_ACEOF
45287 /* confdefs.h. */
45288 _ACEOF
45289 cat confdefs.h >>conftest.$ac_ext
45290 cat >>conftest.$ac_ext <<_ACEOF
45291 /* end confdefs.h. */
45292 #include <math.h>
45293 #ifdef HAVE_IEEEFP_H
45294 #include <ieeefp.h>
45295 #endif
45298 main ()
45300 fpclass(0);
45302 return 0;
45304 _ACEOF
45305 rm -f conftest.$ac_objext
45306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45307 (eval $ac_compile) 2>conftest.er1
45308 ac_status=$?
45309 grep -v '^ *+' conftest.er1 >conftest.err
45310 rm -f conftest.er1
45311 cat conftest.err >&5
45312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45313 (exit $ac_status); } &&
45314 { ac_try='test -z "$ac_cxx_werror_flag"
45315 || test ! -s conftest.err'
45316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45317 (eval $ac_try) 2>&5
45318 ac_status=$?
45319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45320 (exit $ac_status); }; } &&
45321 { ac_try='test -s conftest.$ac_objext'
45322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45323 (eval $ac_try) 2>&5
45324 ac_status=$?
45325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45326 (exit $ac_status); }; }; then
45327 glibcxx_cv_func_fpclass_use=yes
45328 else
45329 echo "$as_me: failed program was:" >&5
45330 sed 's/^/| /' conftest.$ac_ext >&5
45332 glibcxx_cv_func_fpclass_use=no
45334 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45335 ac_ext=c
45336 ac_cpp='$CPP $CPPFLAGS'
45337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45345 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
45346 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
45348 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
45350 for ac_func in fpclass
45352 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45353 echo "$as_me:$LINENO: checking for $ac_func" >&5
45354 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45355 if eval "test \"\${$as_ac_var+set}\" = set"; then
45356 echo $ECHO_N "(cached) $ECHO_C" >&6
45357 else
45358 if test x$gcc_no_link = xyes; then
45359 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45360 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45361 { (exit 1); exit 1; }; }
45363 cat >conftest.$ac_ext <<_ACEOF
45364 /* confdefs.h. */
45365 _ACEOF
45366 cat confdefs.h >>conftest.$ac_ext
45367 cat >>conftest.$ac_ext <<_ACEOF
45368 /* end confdefs.h. */
45369 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45370 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45371 #define $ac_func innocuous_$ac_func
45373 /* System header to define __stub macros and hopefully few prototypes,
45374 which can conflict with char $ac_func (); below.
45375 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45376 <limits.h> exists even on freestanding compilers. */
45378 #ifdef __STDC__
45379 # include <limits.h>
45380 #else
45381 # include <assert.h>
45382 #endif
45384 #undef $ac_func
45386 /* Override any gcc2 internal prototype to avoid an error. */
45387 #ifdef __cplusplus
45388 extern "C"
45390 #endif
45391 /* We use char because int might match the return type of a gcc2
45392 builtin and then its argument prototype would still apply. */
45393 char $ac_func ();
45394 /* The GNU C library defines this for functions which it implements
45395 to always fail with ENOSYS. Some functions are actually named
45396 something starting with __ and the normal name is an alias. */
45397 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45398 choke me
45399 #else
45400 char (*f) () = $ac_func;
45401 #endif
45402 #ifdef __cplusplus
45404 #endif
45407 main ()
45409 return f != $ac_func;
45411 return 0;
45413 _ACEOF
45414 rm -f conftest.$ac_objext conftest$ac_exeext
45415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45416 (eval $ac_link) 2>conftest.er1
45417 ac_status=$?
45418 grep -v '^ *+' conftest.er1 >conftest.err
45419 rm -f conftest.er1
45420 cat conftest.err >&5
45421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45422 (exit $ac_status); } &&
45423 { ac_try='test -z "$ac_c_werror_flag"
45424 || test ! -s conftest.err'
45425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45426 (eval $ac_try) 2>&5
45427 ac_status=$?
45428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45429 (exit $ac_status); }; } &&
45430 { ac_try='test -s conftest$ac_exeext'
45431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45432 (eval $ac_try) 2>&5
45433 ac_status=$?
45434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45435 (exit $ac_status); }; }; then
45436 eval "$as_ac_var=yes"
45437 else
45438 echo "$as_me: failed program was:" >&5
45439 sed 's/^/| /' conftest.$ac_ext >&5
45441 eval "$as_ac_var=no"
45443 rm -f conftest.err conftest.$ac_objext \
45444 conftest$ac_exeext conftest.$ac_ext
45446 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45447 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45448 if test `eval echo '${'$as_ac_var'}'` = yes; then
45449 cat >>confdefs.h <<_ACEOF
45450 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45451 _ACEOF
45454 done
45456 else
45458 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
45459 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
45460 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
45461 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
45462 echo $ECHO_N "(cached) $ECHO_C" >&6
45463 else
45467 ac_ext=cc
45468 ac_cpp='$CXXCPP $CPPFLAGS'
45469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45473 cat >conftest.$ac_ext <<_ACEOF
45474 /* confdefs.h. */
45475 _ACEOF
45476 cat confdefs.h >>conftest.$ac_ext
45477 cat >>conftest.$ac_ext <<_ACEOF
45478 /* end confdefs.h. */
45479 #include <math.h>
45480 #ifdef HAVE_IEEEFP_H
45481 #include <ieeefp.h>
45482 #endif
45485 main ()
45487 _fpclass(0);
45489 return 0;
45491 _ACEOF
45492 rm -f conftest.$ac_objext
45493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45494 (eval $ac_compile) 2>conftest.er1
45495 ac_status=$?
45496 grep -v '^ *+' conftest.er1 >conftest.err
45497 rm -f conftest.er1
45498 cat conftest.err >&5
45499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45500 (exit $ac_status); } &&
45501 { ac_try='test -z "$ac_cxx_werror_flag"
45502 || test ! -s conftest.err'
45503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45504 (eval $ac_try) 2>&5
45505 ac_status=$?
45506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45507 (exit $ac_status); }; } &&
45508 { ac_try='test -s conftest.$ac_objext'
45509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45510 (eval $ac_try) 2>&5
45511 ac_status=$?
45512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45513 (exit $ac_status); }; }; then
45514 glibcxx_cv_func__fpclass_use=yes
45515 else
45516 echo "$as_me: failed program was:" >&5
45517 sed 's/^/| /' conftest.$ac_ext >&5
45519 glibcxx_cv_func__fpclass_use=no
45521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45522 ac_ext=c
45523 ac_cpp='$CPP $CPPFLAGS'
45524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45532 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
45533 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
45535 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
45537 for ac_func in _fpclass
45539 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45540 echo "$as_me:$LINENO: checking for $ac_func" >&5
45541 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45542 if eval "test \"\${$as_ac_var+set}\" = set"; then
45543 echo $ECHO_N "(cached) $ECHO_C" >&6
45544 else
45545 if test x$gcc_no_link = xyes; then
45546 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45547 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45548 { (exit 1); exit 1; }; }
45550 cat >conftest.$ac_ext <<_ACEOF
45551 /* confdefs.h. */
45552 _ACEOF
45553 cat confdefs.h >>conftest.$ac_ext
45554 cat >>conftest.$ac_ext <<_ACEOF
45555 /* end confdefs.h. */
45556 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45557 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45558 #define $ac_func innocuous_$ac_func
45560 /* System header to define __stub macros and hopefully few prototypes,
45561 which can conflict with char $ac_func (); below.
45562 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45563 <limits.h> exists even on freestanding compilers. */
45565 #ifdef __STDC__
45566 # include <limits.h>
45567 #else
45568 # include <assert.h>
45569 #endif
45571 #undef $ac_func
45573 /* Override any gcc2 internal prototype to avoid an error. */
45574 #ifdef __cplusplus
45575 extern "C"
45577 #endif
45578 /* We use char because int might match the return type of a gcc2
45579 builtin and then its argument prototype would still apply. */
45580 char $ac_func ();
45581 /* The GNU C library defines this for functions which it implements
45582 to always fail with ENOSYS. Some functions are actually named
45583 something starting with __ and the normal name is an alias. */
45584 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45585 choke me
45586 #else
45587 char (*f) () = $ac_func;
45588 #endif
45589 #ifdef __cplusplus
45591 #endif
45594 main ()
45596 return f != $ac_func;
45598 return 0;
45600 _ACEOF
45601 rm -f conftest.$ac_objext conftest$ac_exeext
45602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45603 (eval $ac_link) 2>conftest.er1
45604 ac_status=$?
45605 grep -v '^ *+' conftest.er1 >conftest.err
45606 rm -f conftest.er1
45607 cat conftest.err >&5
45608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45609 (exit $ac_status); } &&
45610 { ac_try='test -z "$ac_c_werror_flag"
45611 || test ! -s conftest.err'
45612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45613 (eval $ac_try) 2>&5
45614 ac_status=$?
45615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45616 (exit $ac_status); }; } &&
45617 { ac_try='test -s conftest$ac_exeext'
45618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45619 (eval $ac_try) 2>&5
45620 ac_status=$?
45621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45622 (exit $ac_status); }; }; then
45623 eval "$as_ac_var=yes"
45624 else
45625 echo "$as_me: failed program was:" >&5
45626 sed 's/^/| /' conftest.$ac_ext >&5
45628 eval "$as_ac_var=no"
45630 rm -f conftest.err conftest.$ac_objext \
45631 conftest$ac_exeext conftest.$ac_ext
45633 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45634 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45635 if test `eval echo '${'$as_ac_var'}'` = yes; then
45636 cat >>confdefs.h <<_ACEOF
45637 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45638 _ACEOF
45641 done
45651 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
45652 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
45653 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
45654 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
45655 echo $ECHO_N "(cached) $ECHO_C" >&6
45656 else
45660 ac_ext=cc
45661 ac_cpp='$CXXCPP $CPPFLAGS'
45662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45666 cat >conftest.$ac_ext <<_ACEOF
45667 /* confdefs.h. */
45668 _ACEOF
45669 cat confdefs.h >>conftest.$ac_ext
45670 cat >>conftest.$ac_ext <<_ACEOF
45671 /* end confdefs.h. */
45672 #include <math.h>
45673 #ifdef HAVE_IEEEFP_H
45674 #include <ieeefp.h>
45675 #endif
45678 main ()
45680 qfpclass(0);
45682 return 0;
45684 _ACEOF
45685 rm -f conftest.$ac_objext
45686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45687 (eval $ac_compile) 2>conftest.er1
45688 ac_status=$?
45689 grep -v '^ *+' conftest.er1 >conftest.err
45690 rm -f conftest.er1
45691 cat conftest.err >&5
45692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45693 (exit $ac_status); } &&
45694 { ac_try='test -z "$ac_cxx_werror_flag"
45695 || test ! -s conftest.err'
45696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45697 (eval $ac_try) 2>&5
45698 ac_status=$?
45699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45700 (exit $ac_status); }; } &&
45701 { ac_try='test -s conftest.$ac_objext'
45702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45703 (eval $ac_try) 2>&5
45704 ac_status=$?
45705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45706 (exit $ac_status); }; }; then
45707 glibcxx_cv_func_qfpclass_use=yes
45708 else
45709 echo "$as_me: failed program was:" >&5
45710 sed 's/^/| /' conftest.$ac_ext >&5
45712 glibcxx_cv_func_qfpclass_use=no
45714 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45715 ac_ext=c
45716 ac_cpp='$CPP $CPPFLAGS'
45717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45725 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
45726 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
45728 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
45730 for ac_func in qfpclass
45732 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45733 echo "$as_me:$LINENO: checking for $ac_func" >&5
45734 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45735 if eval "test \"\${$as_ac_var+set}\" = set"; then
45736 echo $ECHO_N "(cached) $ECHO_C" >&6
45737 else
45738 if test x$gcc_no_link = xyes; then
45739 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45740 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45741 { (exit 1); exit 1; }; }
45743 cat >conftest.$ac_ext <<_ACEOF
45744 /* confdefs.h. */
45745 _ACEOF
45746 cat confdefs.h >>conftest.$ac_ext
45747 cat >>conftest.$ac_ext <<_ACEOF
45748 /* end confdefs.h. */
45749 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45750 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45751 #define $ac_func innocuous_$ac_func
45753 /* System header to define __stub macros and hopefully few prototypes,
45754 which can conflict with char $ac_func (); below.
45755 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45756 <limits.h> exists even on freestanding compilers. */
45758 #ifdef __STDC__
45759 # include <limits.h>
45760 #else
45761 # include <assert.h>
45762 #endif
45764 #undef $ac_func
45766 /* Override any gcc2 internal prototype to avoid an error. */
45767 #ifdef __cplusplus
45768 extern "C"
45770 #endif
45771 /* We use char because int might match the return type of a gcc2
45772 builtin and then its argument prototype would still apply. */
45773 char $ac_func ();
45774 /* The GNU C library defines this for functions which it implements
45775 to always fail with ENOSYS. Some functions are actually named
45776 something starting with __ and the normal name is an alias. */
45777 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45778 choke me
45779 #else
45780 char (*f) () = $ac_func;
45781 #endif
45782 #ifdef __cplusplus
45784 #endif
45787 main ()
45789 return f != $ac_func;
45791 return 0;
45793 _ACEOF
45794 rm -f conftest.$ac_objext conftest$ac_exeext
45795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45796 (eval $ac_link) 2>conftest.er1
45797 ac_status=$?
45798 grep -v '^ *+' conftest.er1 >conftest.err
45799 rm -f conftest.er1
45800 cat conftest.err >&5
45801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45802 (exit $ac_status); } &&
45803 { ac_try='test -z "$ac_c_werror_flag"
45804 || test ! -s conftest.err'
45805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45806 (eval $ac_try) 2>&5
45807 ac_status=$?
45808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45809 (exit $ac_status); }; } &&
45810 { ac_try='test -s conftest$ac_exeext'
45811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45812 (eval $ac_try) 2>&5
45813 ac_status=$?
45814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45815 (exit $ac_status); }; }; then
45816 eval "$as_ac_var=yes"
45817 else
45818 echo "$as_me: failed program was:" >&5
45819 sed 's/^/| /' conftest.$ac_ext >&5
45821 eval "$as_ac_var=no"
45823 rm -f conftest.err conftest.$ac_objext \
45824 conftest$ac_exeext conftest.$ac_ext
45826 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45827 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45828 if test `eval echo '${'$as_ac_var'}'` = yes; then
45829 cat >>confdefs.h <<_ACEOF
45830 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45831 _ACEOF
45834 done
45836 else
45838 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
45839 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
45840 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
45841 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
45842 echo $ECHO_N "(cached) $ECHO_C" >&6
45843 else
45847 ac_ext=cc
45848 ac_cpp='$CXXCPP $CPPFLAGS'
45849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45853 cat >conftest.$ac_ext <<_ACEOF
45854 /* confdefs.h. */
45855 _ACEOF
45856 cat confdefs.h >>conftest.$ac_ext
45857 cat >>conftest.$ac_ext <<_ACEOF
45858 /* end confdefs.h. */
45859 #include <math.h>
45860 #ifdef HAVE_IEEEFP_H
45861 #include <ieeefp.h>
45862 #endif
45865 main ()
45867 _qfpclass(0);
45869 return 0;
45871 _ACEOF
45872 rm -f conftest.$ac_objext
45873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45874 (eval $ac_compile) 2>conftest.er1
45875 ac_status=$?
45876 grep -v '^ *+' conftest.er1 >conftest.err
45877 rm -f conftest.er1
45878 cat conftest.err >&5
45879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45880 (exit $ac_status); } &&
45881 { ac_try='test -z "$ac_cxx_werror_flag"
45882 || test ! -s conftest.err'
45883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45884 (eval $ac_try) 2>&5
45885 ac_status=$?
45886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45887 (exit $ac_status); }; } &&
45888 { ac_try='test -s conftest.$ac_objext'
45889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45890 (eval $ac_try) 2>&5
45891 ac_status=$?
45892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45893 (exit $ac_status); }; }; then
45894 glibcxx_cv_func__qfpclass_use=yes
45895 else
45896 echo "$as_me: failed program was:" >&5
45897 sed 's/^/| /' conftest.$ac_ext >&5
45899 glibcxx_cv_func__qfpclass_use=no
45901 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45902 ac_ext=c
45903 ac_cpp='$CPP $CPPFLAGS'
45904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45912 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
45913 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
45915 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
45917 for ac_func in _qfpclass
45919 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45920 echo "$as_me:$LINENO: checking for $ac_func" >&5
45921 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45922 if eval "test \"\${$as_ac_var+set}\" = set"; then
45923 echo $ECHO_N "(cached) $ECHO_C" >&6
45924 else
45925 if test x$gcc_no_link = xyes; then
45926 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45927 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45928 { (exit 1); exit 1; }; }
45930 cat >conftest.$ac_ext <<_ACEOF
45931 /* confdefs.h. */
45932 _ACEOF
45933 cat confdefs.h >>conftest.$ac_ext
45934 cat >>conftest.$ac_ext <<_ACEOF
45935 /* end confdefs.h. */
45936 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45937 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45938 #define $ac_func innocuous_$ac_func
45940 /* System header to define __stub macros and hopefully few prototypes,
45941 which can conflict with char $ac_func (); below.
45942 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45943 <limits.h> exists even on freestanding compilers. */
45945 #ifdef __STDC__
45946 # include <limits.h>
45947 #else
45948 # include <assert.h>
45949 #endif
45951 #undef $ac_func
45953 /* Override any gcc2 internal prototype to avoid an error. */
45954 #ifdef __cplusplus
45955 extern "C"
45957 #endif
45958 /* We use char because int might match the return type of a gcc2
45959 builtin and then its argument prototype would still apply. */
45960 char $ac_func ();
45961 /* The GNU C library defines this for functions which it implements
45962 to always fail with ENOSYS. Some functions are actually named
45963 something starting with __ and the normal name is an alias. */
45964 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45965 choke me
45966 #else
45967 char (*f) () = $ac_func;
45968 #endif
45969 #ifdef __cplusplus
45971 #endif
45974 main ()
45976 return f != $ac_func;
45978 return 0;
45980 _ACEOF
45981 rm -f conftest.$ac_objext conftest$ac_exeext
45982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45983 (eval $ac_link) 2>conftest.er1
45984 ac_status=$?
45985 grep -v '^ *+' conftest.er1 >conftest.err
45986 rm -f conftest.er1
45987 cat conftest.err >&5
45988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45989 (exit $ac_status); } &&
45990 { ac_try='test -z "$ac_c_werror_flag"
45991 || test ! -s conftest.err'
45992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45993 (eval $ac_try) 2>&5
45994 ac_status=$?
45995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45996 (exit $ac_status); }; } &&
45997 { ac_try='test -s conftest$ac_exeext'
45998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45999 (eval $ac_try) 2>&5
46000 ac_status=$?
46001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46002 (exit $ac_status); }; }; then
46003 eval "$as_ac_var=yes"
46004 else
46005 echo "$as_me: failed program was:" >&5
46006 sed 's/^/| /' conftest.$ac_ext >&5
46008 eval "$as_ac_var=no"
46010 rm -f conftest.err conftest.$ac_objext \
46011 conftest$ac_exeext conftest.$ac_ext
46013 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46014 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46015 if test `eval echo '${'$as_ac_var'}'` = yes; then
46016 cat >>confdefs.h <<_ACEOF
46017 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46018 _ACEOF
46021 done
46031 echo "$as_me:$LINENO: checking for hypot declaration" >&5
46032 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
46033 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
46034 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
46035 echo $ECHO_N "(cached) $ECHO_C" >&6
46036 else
46040 ac_ext=cc
46041 ac_cpp='$CXXCPP $CPPFLAGS'
46042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46046 cat >conftest.$ac_ext <<_ACEOF
46047 /* confdefs.h. */
46048 _ACEOF
46049 cat confdefs.h >>conftest.$ac_ext
46050 cat >>conftest.$ac_ext <<_ACEOF
46051 /* end confdefs.h. */
46052 #include <math.h>
46054 main ()
46056 hypot(0, 0);
46058 return 0;
46060 _ACEOF
46061 rm -f conftest.$ac_objext
46062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46063 (eval $ac_compile) 2>conftest.er1
46064 ac_status=$?
46065 grep -v '^ *+' conftest.er1 >conftest.err
46066 rm -f conftest.er1
46067 cat conftest.err >&5
46068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46069 (exit $ac_status); } &&
46070 { ac_try='test -z "$ac_cxx_werror_flag"
46071 || test ! -s conftest.err'
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); }; } &&
46077 { ac_try='test -s conftest.$ac_objext'
46078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46079 (eval $ac_try) 2>&5
46080 ac_status=$?
46081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46082 (exit $ac_status); }; }; then
46083 glibcxx_cv_func_hypot_use=yes
46084 else
46085 echo "$as_me: failed program was:" >&5
46086 sed 's/^/| /' conftest.$ac_ext >&5
46088 glibcxx_cv_func_hypot_use=no
46090 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46091 ac_ext=c
46092 ac_cpp='$CPP $CPPFLAGS'
46093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46101 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
46102 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
46104 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
46106 for ac_func in hypot
46108 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46109 echo "$as_me:$LINENO: checking for $ac_func" >&5
46110 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46111 if eval "test \"\${$as_ac_var+set}\" = set"; then
46112 echo $ECHO_N "(cached) $ECHO_C" >&6
46113 else
46114 if test x$gcc_no_link = xyes; then
46115 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46116 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46117 { (exit 1); exit 1; }; }
46119 cat >conftest.$ac_ext <<_ACEOF
46120 /* confdefs.h. */
46121 _ACEOF
46122 cat confdefs.h >>conftest.$ac_ext
46123 cat >>conftest.$ac_ext <<_ACEOF
46124 /* end confdefs.h. */
46125 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46126 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46127 #define $ac_func innocuous_$ac_func
46129 /* System header to define __stub macros and hopefully few prototypes,
46130 which can conflict with char $ac_func (); below.
46131 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46132 <limits.h> exists even on freestanding compilers. */
46134 #ifdef __STDC__
46135 # include <limits.h>
46136 #else
46137 # include <assert.h>
46138 #endif
46140 #undef $ac_func
46142 /* Override any gcc2 internal prototype to avoid an error. */
46143 #ifdef __cplusplus
46144 extern "C"
46146 #endif
46147 /* We use char because int might match the return type of a gcc2
46148 builtin and then its argument prototype would still apply. */
46149 char $ac_func ();
46150 /* The GNU C library defines this for functions which it implements
46151 to always fail with ENOSYS. Some functions are actually named
46152 something starting with __ and the normal name is an alias. */
46153 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46154 choke me
46155 #else
46156 char (*f) () = $ac_func;
46157 #endif
46158 #ifdef __cplusplus
46160 #endif
46163 main ()
46165 return f != $ac_func;
46167 return 0;
46169 _ACEOF
46170 rm -f conftest.$ac_objext conftest$ac_exeext
46171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46172 (eval $ac_link) 2>conftest.er1
46173 ac_status=$?
46174 grep -v '^ *+' conftest.er1 >conftest.err
46175 rm -f conftest.er1
46176 cat conftest.err >&5
46177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46178 (exit $ac_status); } &&
46179 { ac_try='test -z "$ac_c_werror_flag"
46180 || test ! -s conftest.err'
46181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46182 (eval $ac_try) 2>&5
46183 ac_status=$?
46184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46185 (exit $ac_status); }; } &&
46186 { ac_try='test -s conftest$ac_exeext'
46187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46188 (eval $ac_try) 2>&5
46189 ac_status=$?
46190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46191 (exit $ac_status); }; }; then
46192 eval "$as_ac_var=yes"
46193 else
46194 echo "$as_me: failed program was:" >&5
46195 sed 's/^/| /' conftest.$ac_ext >&5
46197 eval "$as_ac_var=no"
46199 rm -f conftest.err conftest.$ac_objext \
46200 conftest$ac_exeext conftest.$ac_ext
46202 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46203 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46204 if test `eval echo '${'$as_ac_var'}'` = yes; then
46205 cat >>confdefs.h <<_ACEOF
46206 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46207 _ACEOF
46210 done
46212 else
46214 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
46215 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
46216 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
46217 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
46218 echo $ECHO_N "(cached) $ECHO_C" >&6
46219 else
46223 ac_ext=cc
46224 ac_cpp='$CXXCPP $CPPFLAGS'
46225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46229 cat >conftest.$ac_ext <<_ACEOF
46230 /* confdefs.h. */
46231 _ACEOF
46232 cat confdefs.h >>conftest.$ac_ext
46233 cat >>conftest.$ac_ext <<_ACEOF
46234 /* end confdefs.h. */
46235 #include <math.h>
46237 main ()
46239 _hypot(0, 0);
46241 return 0;
46243 _ACEOF
46244 rm -f conftest.$ac_objext
46245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46246 (eval $ac_compile) 2>conftest.er1
46247 ac_status=$?
46248 grep -v '^ *+' conftest.er1 >conftest.err
46249 rm -f conftest.er1
46250 cat conftest.err >&5
46251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46252 (exit $ac_status); } &&
46253 { ac_try='test -z "$ac_cxx_werror_flag"
46254 || test ! -s conftest.err'
46255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46256 (eval $ac_try) 2>&5
46257 ac_status=$?
46258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46259 (exit $ac_status); }; } &&
46260 { ac_try='test -s conftest.$ac_objext'
46261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46262 (eval $ac_try) 2>&5
46263 ac_status=$?
46264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46265 (exit $ac_status); }; }; then
46266 glibcxx_cv_func__hypot_use=yes
46267 else
46268 echo "$as_me: failed program was:" >&5
46269 sed 's/^/| /' conftest.$ac_ext >&5
46271 glibcxx_cv_func__hypot_use=no
46273 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46274 ac_ext=c
46275 ac_cpp='$CPP $CPPFLAGS'
46276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46284 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
46285 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
46287 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
46289 for ac_func in _hypot
46291 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46292 echo "$as_me:$LINENO: checking for $ac_func" >&5
46293 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46294 if eval "test \"\${$as_ac_var+set}\" = set"; then
46295 echo $ECHO_N "(cached) $ECHO_C" >&6
46296 else
46297 if test x$gcc_no_link = xyes; then
46298 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46299 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46300 { (exit 1); exit 1; }; }
46302 cat >conftest.$ac_ext <<_ACEOF
46303 /* confdefs.h. */
46304 _ACEOF
46305 cat confdefs.h >>conftest.$ac_ext
46306 cat >>conftest.$ac_ext <<_ACEOF
46307 /* end confdefs.h. */
46308 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46309 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46310 #define $ac_func innocuous_$ac_func
46312 /* System header to define __stub macros and hopefully few prototypes,
46313 which can conflict with char $ac_func (); below.
46314 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46315 <limits.h> exists even on freestanding compilers. */
46317 #ifdef __STDC__
46318 # include <limits.h>
46319 #else
46320 # include <assert.h>
46321 #endif
46323 #undef $ac_func
46325 /* Override any gcc2 internal prototype to avoid an error. */
46326 #ifdef __cplusplus
46327 extern "C"
46329 #endif
46330 /* We use char because int might match the return type of a gcc2
46331 builtin and then its argument prototype would still apply. */
46332 char $ac_func ();
46333 /* The GNU C library defines this for functions which it implements
46334 to always fail with ENOSYS. Some functions are actually named
46335 something starting with __ and the normal name is an alias. */
46336 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46337 choke me
46338 #else
46339 char (*f) () = $ac_func;
46340 #endif
46341 #ifdef __cplusplus
46343 #endif
46346 main ()
46348 return f != $ac_func;
46350 return 0;
46352 _ACEOF
46353 rm -f conftest.$ac_objext conftest$ac_exeext
46354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46355 (eval $ac_link) 2>conftest.er1
46356 ac_status=$?
46357 grep -v '^ *+' conftest.er1 >conftest.err
46358 rm -f conftest.er1
46359 cat conftest.err >&5
46360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46361 (exit $ac_status); } &&
46362 { ac_try='test -z "$ac_c_werror_flag"
46363 || test ! -s conftest.err'
46364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46365 (eval $ac_try) 2>&5
46366 ac_status=$?
46367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46368 (exit $ac_status); }; } &&
46369 { ac_try='test -s conftest$ac_exeext'
46370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46371 (eval $ac_try) 2>&5
46372 ac_status=$?
46373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46374 (exit $ac_status); }; }; then
46375 eval "$as_ac_var=yes"
46376 else
46377 echo "$as_me: failed program was:" >&5
46378 sed 's/^/| /' conftest.$ac_ext >&5
46380 eval "$as_ac_var=no"
46382 rm -f conftest.err conftest.$ac_objext \
46383 conftest$ac_exeext conftest.$ac_ext
46385 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46386 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46387 if test `eval echo '${'$as_ac_var'}'` = yes; then
46388 cat >>confdefs.h <<_ACEOF
46389 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46390 _ACEOF
46393 done
46403 echo "$as_me:$LINENO: checking for float trig functions" >&5
46404 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
46405 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
46406 echo $ECHO_N "(cached) $ECHO_C" >&6
46407 else
46411 ac_ext=cc
46412 ac_cpp='$CXXCPP $CPPFLAGS'
46413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46417 cat >conftest.$ac_ext <<_ACEOF
46418 /* confdefs.h. */
46419 _ACEOF
46420 cat confdefs.h >>conftest.$ac_ext
46421 cat >>conftest.$ac_ext <<_ACEOF
46422 /* end confdefs.h. */
46423 #include <math.h>
46425 main ()
46427 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
46429 return 0;
46431 _ACEOF
46432 rm -f conftest.$ac_objext
46433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46434 (eval $ac_compile) 2>conftest.er1
46435 ac_status=$?
46436 grep -v '^ *+' conftest.er1 >conftest.err
46437 rm -f conftest.er1
46438 cat conftest.err >&5
46439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46440 (exit $ac_status); } &&
46441 { ac_try='test -z "$ac_cxx_werror_flag"
46442 || test ! -s conftest.err'
46443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46444 (eval $ac_try) 2>&5
46445 ac_status=$?
46446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46447 (exit $ac_status); }; } &&
46448 { ac_try='test -s conftest.$ac_objext'
46449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46450 (eval $ac_try) 2>&5
46451 ac_status=$?
46452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46453 (exit $ac_status); }; }; then
46454 glibcxx_cv_func_float_trig_use=yes
46455 else
46456 echo "$as_me: failed program was:" >&5
46457 sed 's/^/| /' conftest.$ac_ext >&5
46459 glibcxx_cv_func_float_trig_use=no
46461 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46462 ac_ext=c
46463 ac_cpp='$CPP $CPPFLAGS'
46464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46470 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
46471 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
46472 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
46482 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
46484 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46485 echo "$as_me:$LINENO: checking for $ac_func" >&5
46486 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46487 if eval "test \"\${$as_ac_var+set}\" = set"; then
46488 echo $ECHO_N "(cached) $ECHO_C" >&6
46489 else
46490 if test x$gcc_no_link = xyes; then
46491 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46492 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46493 { (exit 1); exit 1; }; }
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46502 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46503 #define $ac_func innocuous_$ac_func
46505 /* System header to define __stub macros and hopefully few prototypes,
46506 which can conflict with char $ac_func (); below.
46507 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46508 <limits.h> exists even on freestanding compilers. */
46510 #ifdef __STDC__
46511 # include <limits.h>
46512 #else
46513 # include <assert.h>
46514 #endif
46516 #undef $ac_func
46518 /* Override any gcc2 internal prototype to avoid an error. */
46519 #ifdef __cplusplus
46520 extern "C"
46522 #endif
46523 /* We use char because int might match the return type of a gcc2
46524 builtin and then its argument prototype would still apply. */
46525 char $ac_func ();
46526 /* The GNU C library defines this for functions which it implements
46527 to always fail with ENOSYS. Some functions are actually named
46528 something starting with __ and the normal name is an alias. */
46529 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46530 choke me
46531 #else
46532 char (*f) () = $ac_func;
46533 #endif
46534 #ifdef __cplusplus
46536 #endif
46539 main ()
46541 return f != $ac_func;
46543 return 0;
46545 _ACEOF
46546 rm -f conftest.$ac_objext conftest$ac_exeext
46547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46548 (eval $ac_link) 2>conftest.er1
46549 ac_status=$?
46550 grep -v '^ *+' conftest.er1 >conftest.err
46551 rm -f conftest.er1
46552 cat conftest.err >&5
46553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46554 (exit $ac_status); } &&
46555 { ac_try='test -z "$ac_c_werror_flag"
46556 || test ! -s conftest.err'
46557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46558 (eval $ac_try) 2>&5
46559 ac_status=$?
46560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46561 (exit $ac_status); }; } &&
46562 { ac_try='test -s conftest$ac_exeext'
46563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46564 (eval $ac_try) 2>&5
46565 ac_status=$?
46566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46567 (exit $ac_status); }; }; then
46568 eval "$as_ac_var=yes"
46569 else
46570 echo "$as_me: failed program was:" >&5
46571 sed 's/^/| /' conftest.$ac_ext >&5
46573 eval "$as_ac_var=no"
46575 rm -f conftest.err conftest.$ac_objext \
46576 conftest$ac_exeext conftest.$ac_ext
46578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46579 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46580 if test `eval echo '${'$as_ac_var'}'` = yes; then
46581 cat >>confdefs.h <<_ACEOF
46582 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46583 _ACEOF
46586 done
46588 else
46589 echo "$as_me:$LINENO: checking for _float trig functions" >&5
46590 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
46591 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
46592 echo $ECHO_N "(cached) $ECHO_C" >&6
46593 else
46597 ac_ext=cc
46598 ac_cpp='$CXXCPP $CPPFLAGS'
46599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46603 cat >conftest.$ac_ext <<_ACEOF
46604 /* confdefs.h. */
46605 _ACEOF
46606 cat confdefs.h >>conftest.$ac_ext
46607 cat >>conftest.$ac_ext <<_ACEOF
46608 /* end confdefs.h. */
46609 #include <math.h>
46611 main ()
46613 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
46615 return 0;
46617 _ACEOF
46618 rm -f conftest.$ac_objext
46619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46620 (eval $ac_compile) 2>conftest.er1
46621 ac_status=$?
46622 grep -v '^ *+' conftest.er1 >conftest.err
46623 rm -f conftest.er1
46624 cat conftest.err >&5
46625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46626 (exit $ac_status); } &&
46627 { ac_try='test -z "$ac_cxx_werror_flag"
46628 || test ! -s conftest.err'
46629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46630 (eval $ac_try) 2>&5
46631 ac_status=$?
46632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46633 (exit $ac_status); }; } &&
46634 { ac_try='test -s conftest.$ac_objext'
46635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46636 (eval $ac_try) 2>&5
46637 ac_status=$?
46638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46639 (exit $ac_status); }; }; then
46640 glibcxx_cv_func__float_trig_use=yes
46641 else
46642 echo "$as_me: failed program was:" >&5
46643 sed 's/^/| /' conftest.$ac_ext >&5
46645 glibcxx_cv_func__float_trig_use=no
46647 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46648 ac_ext=c
46649 ac_cpp='$CPP $CPPFLAGS'
46650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46656 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
46657 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
46658 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
46668 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
46670 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46671 echo "$as_me:$LINENO: checking for $ac_func" >&5
46672 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46673 if eval "test \"\${$as_ac_var+set}\" = set"; then
46674 echo $ECHO_N "(cached) $ECHO_C" >&6
46675 else
46676 if test x$gcc_no_link = xyes; then
46677 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46678 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46679 { (exit 1); exit 1; }; }
46681 cat >conftest.$ac_ext <<_ACEOF
46682 /* confdefs.h. */
46683 _ACEOF
46684 cat confdefs.h >>conftest.$ac_ext
46685 cat >>conftest.$ac_ext <<_ACEOF
46686 /* end confdefs.h. */
46687 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46688 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46689 #define $ac_func innocuous_$ac_func
46691 /* System header to define __stub macros and hopefully few prototypes,
46692 which can conflict with char $ac_func (); below.
46693 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46694 <limits.h> exists even on freestanding compilers. */
46696 #ifdef __STDC__
46697 # include <limits.h>
46698 #else
46699 # include <assert.h>
46700 #endif
46702 #undef $ac_func
46704 /* Override any gcc2 internal prototype to avoid an error. */
46705 #ifdef __cplusplus
46706 extern "C"
46708 #endif
46709 /* We use char because int might match the return type of a gcc2
46710 builtin and then its argument prototype would still apply. */
46711 char $ac_func ();
46712 /* The GNU C library defines this for functions which it implements
46713 to always fail with ENOSYS. Some functions are actually named
46714 something starting with __ and the normal name is an alias. */
46715 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46716 choke me
46717 #else
46718 char (*f) () = $ac_func;
46719 #endif
46720 #ifdef __cplusplus
46722 #endif
46725 main ()
46727 return f != $ac_func;
46729 return 0;
46731 _ACEOF
46732 rm -f conftest.$ac_objext conftest$ac_exeext
46733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46734 (eval $ac_link) 2>conftest.er1
46735 ac_status=$?
46736 grep -v '^ *+' conftest.er1 >conftest.err
46737 rm -f conftest.er1
46738 cat conftest.err >&5
46739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46740 (exit $ac_status); } &&
46741 { ac_try='test -z "$ac_c_werror_flag"
46742 || test ! -s conftest.err'
46743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46744 (eval $ac_try) 2>&5
46745 ac_status=$?
46746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46747 (exit $ac_status); }; } &&
46748 { ac_try='test -s conftest$ac_exeext'
46749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46750 (eval $ac_try) 2>&5
46751 ac_status=$?
46752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46753 (exit $ac_status); }; }; then
46754 eval "$as_ac_var=yes"
46755 else
46756 echo "$as_me: failed program was:" >&5
46757 sed 's/^/| /' conftest.$ac_ext >&5
46759 eval "$as_ac_var=no"
46761 rm -f conftest.err conftest.$ac_objext \
46762 conftest$ac_exeext conftest.$ac_ext
46764 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46765 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46766 if test `eval echo '${'$as_ac_var'}'` = yes; then
46767 cat >>confdefs.h <<_ACEOF
46768 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46769 _ACEOF
46772 done
46790 echo "$as_me:$LINENO: checking for float round functions" >&5
46791 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
46792 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
46793 echo $ECHO_N "(cached) $ECHO_C" >&6
46794 else
46798 ac_ext=cc
46799 ac_cpp='$CXXCPP $CPPFLAGS'
46800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46804 cat >conftest.$ac_ext <<_ACEOF
46805 /* confdefs.h. */
46806 _ACEOF
46807 cat confdefs.h >>conftest.$ac_ext
46808 cat >>conftest.$ac_ext <<_ACEOF
46809 /* end confdefs.h. */
46810 #include <math.h>
46812 main ()
46814 ceilf (0); floorf (0);
46816 return 0;
46818 _ACEOF
46819 rm -f conftest.$ac_objext
46820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46821 (eval $ac_compile) 2>conftest.er1
46822 ac_status=$?
46823 grep -v '^ *+' conftest.er1 >conftest.err
46824 rm -f conftest.er1
46825 cat conftest.err >&5
46826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46827 (exit $ac_status); } &&
46828 { ac_try='test -z "$ac_cxx_werror_flag"
46829 || test ! -s conftest.err'
46830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46831 (eval $ac_try) 2>&5
46832 ac_status=$?
46833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46834 (exit $ac_status); }; } &&
46835 { ac_try='test -s conftest.$ac_objext'
46836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46837 (eval $ac_try) 2>&5
46838 ac_status=$?
46839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46840 (exit $ac_status); }; }; then
46841 glibcxx_cv_func_float_round_use=yes
46842 else
46843 echo "$as_me: failed program was:" >&5
46844 sed 's/^/| /' conftest.$ac_ext >&5
46846 glibcxx_cv_func_float_round_use=no
46848 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46849 ac_ext=c
46850 ac_cpp='$CPP $CPPFLAGS'
46851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46857 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
46858 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
46859 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
46862 for ac_func in ceilf floorf
46864 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46865 echo "$as_me:$LINENO: checking for $ac_func" >&5
46866 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46867 if eval "test \"\${$as_ac_var+set}\" = set"; then
46868 echo $ECHO_N "(cached) $ECHO_C" >&6
46869 else
46870 if test x$gcc_no_link = xyes; then
46871 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46872 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46873 { (exit 1); exit 1; }; }
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46882 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46883 #define $ac_func innocuous_$ac_func
46885 /* System header to define __stub macros and hopefully few prototypes,
46886 which can conflict with char $ac_func (); below.
46887 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46888 <limits.h> exists even on freestanding compilers. */
46890 #ifdef __STDC__
46891 # include <limits.h>
46892 #else
46893 # include <assert.h>
46894 #endif
46896 #undef $ac_func
46898 /* Override any gcc2 internal prototype to avoid an error. */
46899 #ifdef __cplusplus
46900 extern "C"
46902 #endif
46903 /* We use char because int might match the return type of a gcc2
46904 builtin and then its argument prototype would still apply. */
46905 char $ac_func ();
46906 /* The GNU C library defines this for functions which it implements
46907 to always fail with ENOSYS. Some functions are actually named
46908 something starting with __ and the normal name is an alias. */
46909 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46910 choke me
46911 #else
46912 char (*f) () = $ac_func;
46913 #endif
46914 #ifdef __cplusplus
46916 #endif
46919 main ()
46921 return f != $ac_func;
46923 return 0;
46925 _ACEOF
46926 rm -f conftest.$ac_objext conftest$ac_exeext
46927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46928 (eval $ac_link) 2>conftest.er1
46929 ac_status=$?
46930 grep -v '^ *+' conftest.er1 >conftest.err
46931 rm -f conftest.er1
46932 cat conftest.err >&5
46933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46934 (exit $ac_status); } &&
46935 { ac_try='test -z "$ac_c_werror_flag"
46936 || test ! -s conftest.err'
46937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46938 (eval $ac_try) 2>&5
46939 ac_status=$?
46940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46941 (exit $ac_status); }; } &&
46942 { ac_try='test -s conftest$ac_exeext'
46943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46944 (eval $ac_try) 2>&5
46945 ac_status=$?
46946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46947 (exit $ac_status); }; }; then
46948 eval "$as_ac_var=yes"
46949 else
46950 echo "$as_me: failed program was:" >&5
46951 sed 's/^/| /' conftest.$ac_ext >&5
46953 eval "$as_ac_var=no"
46955 rm -f conftest.err conftest.$ac_objext \
46956 conftest$ac_exeext conftest.$ac_ext
46958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46959 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46960 if test `eval echo '${'$as_ac_var'}'` = yes; then
46961 cat >>confdefs.h <<_ACEOF
46962 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46963 _ACEOF
46966 done
46968 else
46969 echo "$as_me:$LINENO: checking for _float round functions" >&5
46970 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
46971 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
46972 echo $ECHO_N "(cached) $ECHO_C" >&6
46973 else
46977 ac_ext=cc
46978 ac_cpp='$CXXCPP $CPPFLAGS'
46979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46983 cat >conftest.$ac_ext <<_ACEOF
46984 /* confdefs.h. */
46985 _ACEOF
46986 cat confdefs.h >>conftest.$ac_ext
46987 cat >>conftest.$ac_ext <<_ACEOF
46988 /* end confdefs.h. */
46989 #include <math.h>
46991 main ()
46993 _ceilf (0); _floorf (0);
46995 return 0;
46997 _ACEOF
46998 rm -f conftest.$ac_objext
46999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47000 (eval $ac_compile) 2>conftest.er1
47001 ac_status=$?
47002 grep -v '^ *+' conftest.er1 >conftest.err
47003 rm -f conftest.er1
47004 cat conftest.err >&5
47005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47006 (exit $ac_status); } &&
47007 { ac_try='test -z "$ac_cxx_werror_flag"
47008 || test ! -s conftest.err'
47009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47010 (eval $ac_try) 2>&5
47011 ac_status=$?
47012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47013 (exit $ac_status); }; } &&
47014 { ac_try='test -s conftest.$ac_objext'
47015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47016 (eval $ac_try) 2>&5
47017 ac_status=$?
47018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47019 (exit $ac_status); }; }; then
47020 glibcxx_cv_func__float_round_use=yes
47021 else
47022 echo "$as_me: failed program was:" >&5
47023 sed 's/^/| /' conftest.$ac_ext >&5
47025 glibcxx_cv_func__float_round_use=no
47027 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47028 ac_ext=c
47029 ac_cpp='$CPP $CPPFLAGS'
47030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47036 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
47037 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
47038 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
47041 for ac_func in _ceilf _floorf
47043 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47044 echo "$as_me:$LINENO: checking for $ac_func" >&5
47045 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47046 if eval "test \"\${$as_ac_var+set}\" = set"; then
47047 echo $ECHO_N "(cached) $ECHO_C" >&6
47048 else
47049 if test x$gcc_no_link = xyes; then
47050 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47051 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47052 { (exit 1); exit 1; }; }
47054 cat >conftest.$ac_ext <<_ACEOF
47055 /* confdefs.h. */
47056 _ACEOF
47057 cat confdefs.h >>conftest.$ac_ext
47058 cat >>conftest.$ac_ext <<_ACEOF
47059 /* end confdefs.h. */
47060 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47061 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47062 #define $ac_func innocuous_$ac_func
47064 /* System header to define __stub macros and hopefully few prototypes,
47065 which can conflict with char $ac_func (); below.
47066 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47067 <limits.h> exists even on freestanding compilers. */
47069 #ifdef __STDC__
47070 # include <limits.h>
47071 #else
47072 # include <assert.h>
47073 #endif
47075 #undef $ac_func
47077 /* Override any gcc2 internal prototype to avoid an error. */
47078 #ifdef __cplusplus
47079 extern "C"
47081 #endif
47082 /* We use char because int might match the return type of a gcc2
47083 builtin and then its argument prototype would still apply. */
47084 char $ac_func ();
47085 /* The GNU C library defines this for functions which it implements
47086 to always fail with ENOSYS. Some functions are actually named
47087 something starting with __ and the normal name is an alias. */
47088 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47089 choke me
47090 #else
47091 char (*f) () = $ac_func;
47092 #endif
47093 #ifdef __cplusplus
47095 #endif
47098 main ()
47100 return f != $ac_func;
47102 return 0;
47104 _ACEOF
47105 rm -f conftest.$ac_objext conftest$ac_exeext
47106 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47107 (eval $ac_link) 2>conftest.er1
47108 ac_status=$?
47109 grep -v '^ *+' conftest.er1 >conftest.err
47110 rm -f conftest.er1
47111 cat conftest.err >&5
47112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47113 (exit $ac_status); } &&
47114 { ac_try='test -z "$ac_c_werror_flag"
47115 || test ! -s conftest.err'
47116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47117 (eval $ac_try) 2>&5
47118 ac_status=$?
47119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47120 (exit $ac_status); }; } &&
47121 { ac_try='test -s conftest$ac_exeext'
47122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47123 (eval $ac_try) 2>&5
47124 ac_status=$?
47125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47126 (exit $ac_status); }; }; then
47127 eval "$as_ac_var=yes"
47128 else
47129 echo "$as_me: failed program was:" >&5
47130 sed 's/^/| /' conftest.$ac_ext >&5
47132 eval "$as_ac_var=no"
47134 rm -f conftest.err conftest.$ac_objext \
47135 conftest$ac_exeext conftest.$ac_ext
47137 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47138 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47139 if test `eval echo '${'$as_ac_var'}'` = yes; then
47140 cat >>confdefs.h <<_ACEOF
47141 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47142 _ACEOF
47145 done
47157 echo "$as_me:$LINENO: checking for expf declaration" >&5
47158 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
47159 if test x${glibcxx_cv_func_expf_use+set} != xset; then
47160 if test "${glibcxx_cv_func_expf_use+set}" = set; then
47161 echo $ECHO_N "(cached) $ECHO_C" >&6
47162 else
47166 ac_ext=cc
47167 ac_cpp='$CXXCPP $CPPFLAGS'
47168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47172 cat >conftest.$ac_ext <<_ACEOF
47173 /* confdefs.h. */
47174 _ACEOF
47175 cat confdefs.h >>conftest.$ac_ext
47176 cat >>conftest.$ac_ext <<_ACEOF
47177 /* end confdefs.h. */
47178 #include <math.h>
47179 #ifdef HAVE_IEEEFP_H
47180 #include <ieeefp.h>
47181 #endif
47184 main ()
47186 expf(0);
47188 return 0;
47190 _ACEOF
47191 rm -f conftest.$ac_objext
47192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47193 (eval $ac_compile) 2>conftest.er1
47194 ac_status=$?
47195 grep -v '^ *+' conftest.er1 >conftest.err
47196 rm -f conftest.er1
47197 cat conftest.err >&5
47198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47199 (exit $ac_status); } &&
47200 { ac_try='test -z "$ac_cxx_werror_flag"
47201 || test ! -s conftest.err'
47202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47203 (eval $ac_try) 2>&5
47204 ac_status=$?
47205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47206 (exit $ac_status); }; } &&
47207 { ac_try='test -s conftest.$ac_objext'
47208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47209 (eval $ac_try) 2>&5
47210 ac_status=$?
47211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47212 (exit $ac_status); }; }; then
47213 glibcxx_cv_func_expf_use=yes
47214 else
47215 echo "$as_me: failed program was:" >&5
47216 sed 's/^/| /' conftest.$ac_ext >&5
47218 glibcxx_cv_func_expf_use=no
47220 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47221 ac_ext=c
47222 ac_cpp='$CPP $CPPFLAGS'
47223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47231 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
47232 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
47234 if test x$glibcxx_cv_func_expf_use = x"yes"; then
47236 for ac_func in expf
47238 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47239 echo "$as_me:$LINENO: checking for $ac_func" >&5
47240 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47241 if eval "test \"\${$as_ac_var+set}\" = set"; then
47242 echo $ECHO_N "(cached) $ECHO_C" >&6
47243 else
47244 if test x$gcc_no_link = xyes; then
47245 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47246 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47247 { (exit 1); exit 1; }; }
47249 cat >conftest.$ac_ext <<_ACEOF
47250 /* confdefs.h. */
47251 _ACEOF
47252 cat confdefs.h >>conftest.$ac_ext
47253 cat >>conftest.$ac_ext <<_ACEOF
47254 /* end confdefs.h. */
47255 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47256 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47257 #define $ac_func innocuous_$ac_func
47259 /* System header to define __stub macros and hopefully few prototypes,
47260 which can conflict with char $ac_func (); below.
47261 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47262 <limits.h> exists even on freestanding compilers. */
47264 #ifdef __STDC__
47265 # include <limits.h>
47266 #else
47267 # include <assert.h>
47268 #endif
47270 #undef $ac_func
47272 /* Override any gcc2 internal prototype to avoid an error. */
47273 #ifdef __cplusplus
47274 extern "C"
47276 #endif
47277 /* We use char because int might match the return type of a gcc2
47278 builtin and then its argument prototype would still apply. */
47279 char $ac_func ();
47280 /* The GNU C library defines this for functions which it implements
47281 to always fail with ENOSYS. Some functions are actually named
47282 something starting with __ and the normal name is an alias. */
47283 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47284 choke me
47285 #else
47286 char (*f) () = $ac_func;
47287 #endif
47288 #ifdef __cplusplus
47290 #endif
47293 main ()
47295 return f != $ac_func;
47297 return 0;
47299 _ACEOF
47300 rm -f conftest.$ac_objext conftest$ac_exeext
47301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47302 (eval $ac_link) 2>conftest.er1
47303 ac_status=$?
47304 grep -v '^ *+' conftest.er1 >conftest.err
47305 rm -f conftest.er1
47306 cat conftest.err >&5
47307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47308 (exit $ac_status); } &&
47309 { ac_try='test -z "$ac_c_werror_flag"
47310 || test ! -s conftest.err'
47311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47312 (eval $ac_try) 2>&5
47313 ac_status=$?
47314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47315 (exit $ac_status); }; } &&
47316 { ac_try='test -s conftest$ac_exeext'
47317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47318 (eval $ac_try) 2>&5
47319 ac_status=$?
47320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47321 (exit $ac_status); }; }; then
47322 eval "$as_ac_var=yes"
47323 else
47324 echo "$as_me: failed program was:" >&5
47325 sed 's/^/| /' conftest.$ac_ext >&5
47327 eval "$as_ac_var=no"
47329 rm -f conftest.err conftest.$ac_objext \
47330 conftest$ac_exeext conftest.$ac_ext
47332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47333 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47334 if test `eval echo '${'$as_ac_var'}'` = yes; then
47335 cat >>confdefs.h <<_ACEOF
47336 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47337 _ACEOF
47340 done
47342 else
47344 echo "$as_me:$LINENO: checking for _expf declaration" >&5
47345 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
47346 if test x${glibcxx_cv_func__expf_use+set} != xset; then
47347 if test "${glibcxx_cv_func__expf_use+set}" = set; then
47348 echo $ECHO_N "(cached) $ECHO_C" >&6
47349 else
47353 ac_ext=cc
47354 ac_cpp='$CXXCPP $CPPFLAGS'
47355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47359 cat >conftest.$ac_ext <<_ACEOF
47360 /* confdefs.h. */
47361 _ACEOF
47362 cat confdefs.h >>conftest.$ac_ext
47363 cat >>conftest.$ac_ext <<_ACEOF
47364 /* end confdefs.h. */
47365 #include <math.h>
47366 #ifdef HAVE_IEEEFP_H
47367 #include <ieeefp.h>
47368 #endif
47371 main ()
47373 _expf(0);
47375 return 0;
47377 _ACEOF
47378 rm -f conftest.$ac_objext
47379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47380 (eval $ac_compile) 2>conftest.er1
47381 ac_status=$?
47382 grep -v '^ *+' conftest.er1 >conftest.err
47383 rm -f conftest.er1
47384 cat conftest.err >&5
47385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47386 (exit $ac_status); } &&
47387 { ac_try='test -z "$ac_cxx_werror_flag"
47388 || test ! -s conftest.err'
47389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47390 (eval $ac_try) 2>&5
47391 ac_status=$?
47392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47393 (exit $ac_status); }; } &&
47394 { ac_try='test -s conftest.$ac_objext'
47395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47396 (eval $ac_try) 2>&5
47397 ac_status=$?
47398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47399 (exit $ac_status); }; }; then
47400 glibcxx_cv_func__expf_use=yes
47401 else
47402 echo "$as_me: failed program was:" >&5
47403 sed 's/^/| /' conftest.$ac_ext >&5
47405 glibcxx_cv_func__expf_use=no
47407 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47408 ac_ext=c
47409 ac_cpp='$CPP $CPPFLAGS'
47410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47418 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
47419 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
47421 if test x$glibcxx_cv_func__expf_use = x"yes"; then
47423 for ac_func in _expf
47425 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47426 echo "$as_me:$LINENO: checking for $ac_func" >&5
47427 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47428 if eval "test \"\${$as_ac_var+set}\" = set"; then
47429 echo $ECHO_N "(cached) $ECHO_C" >&6
47430 else
47431 if test x$gcc_no_link = xyes; then
47432 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47433 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47434 { (exit 1); exit 1; }; }
47436 cat >conftest.$ac_ext <<_ACEOF
47437 /* confdefs.h. */
47438 _ACEOF
47439 cat confdefs.h >>conftest.$ac_ext
47440 cat >>conftest.$ac_ext <<_ACEOF
47441 /* end confdefs.h. */
47442 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47443 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47444 #define $ac_func innocuous_$ac_func
47446 /* System header to define __stub macros and hopefully few prototypes,
47447 which can conflict with char $ac_func (); below.
47448 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47449 <limits.h> exists even on freestanding compilers. */
47451 #ifdef __STDC__
47452 # include <limits.h>
47453 #else
47454 # include <assert.h>
47455 #endif
47457 #undef $ac_func
47459 /* Override any gcc2 internal prototype to avoid an error. */
47460 #ifdef __cplusplus
47461 extern "C"
47463 #endif
47464 /* We use char because int might match the return type of a gcc2
47465 builtin and then its argument prototype would still apply. */
47466 char $ac_func ();
47467 /* The GNU C library defines this for functions which it implements
47468 to always fail with ENOSYS. Some functions are actually named
47469 something starting with __ and the normal name is an alias. */
47470 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47471 choke me
47472 #else
47473 char (*f) () = $ac_func;
47474 #endif
47475 #ifdef __cplusplus
47477 #endif
47480 main ()
47482 return f != $ac_func;
47484 return 0;
47486 _ACEOF
47487 rm -f conftest.$ac_objext conftest$ac_exeext
47488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47489 (eval $ac_link) 2>conftest.er1
47490 ac_status=$?
47491 grep -v '^ *+' conftest.er1 >conftest.err
47492 rm -f conftest.er1
47493 cat conftest.err >&5
47494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47495 (exit $ac_status); } &&
47496 { ac_try='test -z "$ac_c_werror_flag"
47497 || test ! -s conftest.err'
47498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47499 (eval $ac_try) 2>&5
47500 ac_status=$?
47501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47502 (exit $ac_status); }; } &&
47503 { ac_try='test -s conftest$ac_exeext'
47504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47505 (eval $ac_try) 2>&5
47506 ac_status=$?
47507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47508 (exit $ac_status); }; }; then
47509 eval "$as_ac_var=yes"
47510 else
47511 echo "$as_me: failed program was:" >&5
47512 sed 's/^/| /' conftest.$ac_ext >&5
47514 eval "$as_ac_var=no"
47516 rm -f conftest.err conftest.$ac_objext \
47517 conftest$ac_exeext conftest.$ac_ext
47519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47520 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47521 if test `eval echo '${'$as_ac_var'}'` = yes; then
47522 cat >>confdefs.h <<_ACEOF
47523 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47524 _ACEOF
47527 done
47537 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
47538 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
47539 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
47540 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
47541 echo $ECHO_N "(cached) $ECHO_C" >&6
47542 else
47546 ac_ext=cc
47547 ac_cpp='$CXXCPP $CPPFLAGS'
47548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47552 cat >conftest.$ac_ext <<_ACEOF
47553 /* confdefs.h. */
47554 _ACEOF
47555 cat confdefs.h >>conftest.$ac_ext
47556 cat >>conftest.$ac_ext <<_ACEOF
47557 /* end confdefs.h. */
47558 #include <math.h>
47559 #ifdef HAVE_IEEEFP_H
47560 #include <ieeefp.h>
47561 #endif
47564 main ()
47566 isnanf(0);
47568 return 0;
47570 _ACEOF
47571 rm -f conftest.$ac_objext
47572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47573 (eval $ac_compile) 2>conftest.er1
47574 ac_status=$?
47575 grep -v '^ *+' conftest.er1 >conftest.err
47576 rm -f conftest.er1
47577 cat conftest.err >&5
47578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47579 (exit $ac_status); } &&
47580 { ac_try='test -z "$ac_cxx_werror_flag"
47581 || test ! -s conftest.err'
47582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47583 (eval $ac_try) 2>&5
47584 ac_status=$?
47585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47586 (exit $ac_status); }; } &&
47587 { ac_try='test -s conftest.$ac_objext'
47588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47589 (eval $ac_try) 2>&5
47590 ac_status=$?
47591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47592 (exit $ac_status); }; }; then
47593 glibcxx_cv_func_isnanf_use=yes
47594 else
47595 echo "$as_me: failed program was:" >&5
47596 sed 's/^/| /' conftest.$ac_ext >&5
47598 glibcxx_cv_func_isnanf_use=no
47600 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47601 ac_ext=c
47602 ac_cpp='$CPP $CPPFLAGS'
47603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47611 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
47612 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
47614 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
47616 for ac_func in isnanf
47618 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47619 echo "$as_me:$LINENO: checking for $ac_func" >&5
47620 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47621 if eval "test \"\${$as_ac_var+set}\" = set"; then
47622 echo $ECHO_N "(cached) $ECHO_C" >&6
47623 else
47624 if test x$gcc_no_link = xyes; then
47625 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47626 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47627 { (exit 1); exit 1; }; }
47629 cat >conftest.$ac_ext <<_ACEOF
47630 /* confdefs.h. */
47631 _ACEOF
47632 cat confdefs.h >>conftest.$ac_ext
47633 cat >>conftest.$ac_ext <<_ACEOF
47634 /* end confdefs.h. */
47635 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47636 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47637 #define $ac_func innocuous_$ac_func
47639 /* System header to define __stub macros and hopefully few prototypes,
47640 which can conflict with char $ac_func (); below.
47641 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47642 <limits.h> exists even on freestanding compilers. */
47644 #ifdef __STDC__
47645 # include <limits.h>
47646 #else
47647 # include <assert.h>
47648 #endif
47650 #undef $ac_func
47652 /* Override any gcc2 internal prototype to avoid an error. */
47653 #ifdef __cplusplus
47654 extern "C"
47656 #endif
47657 /* We use char because int might match the return type of a gcc2
47658 builtin and then its argument prototype would still apply. */
47659 char $ac_func ();
47660 /* The GNU C library defines this for functions which it implements
47661 to always fail with ENOSYS. Some functions are actually named
47662 something starting with __ and the normal name is an alias. */
47663 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47664 choke me
47665 #else
47666 char (*f) () = $ac_func;
47667 #endif
47668 #ifdef __cplusplus
47670 #endif
47673 main ()
47675 return f != $ac_func;
47677 return 0;
47679 _ACEOF
47680 rm -f conftest.$ac_objext conftest$ac_exeext
47681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47682 (eval $ac_link) 2>conftest.er1
47683 ac_status=$?
47684 grep -v '^ *+' conftest.er1 >conftest.err
47685 rm -f conftest.er1
47686 cat conftest.err >&5
47687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47688 (exit $ac_status); } &&
47689 { ac_try='test -z "$ac_c_werror_flag"
47690 || test ! -s conftest.err'
47691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47692 (eval $ac_try) 2>&5
47693 ac_status=$?
47694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47695 (exit $ac_status); }; } &&
47696 { ac_try='test -s conftest$ac_exeext'
47697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47698 (eval $ac_try) 2>&5
47699 ac_status=$?
47700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47701 (exit $ac_status); }; }; then
47702 eval "$as_ac_var=yes"
47703 else
47704 echo "$as_me: failed program was:" >&5
47705 sed 's/^/| /' conftest.$ac_ext >&5
47707 eval "$as_ac_var=no"
47709 rm -f conftest.err conftest.$ac_objext \
47710 conftest$ac_exeext conftest.$ac_ext
47712 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47713 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47714 if test `eval echo '${'$as_ac_var'}'` = yes; then
47715 cat >>confdefs.h <<_ACEOF
47716 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47717 _ACEOF
47720 done
47722 else
47724 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
47725 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
47726 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47727 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
47728 echo $ECHO_N "(cached) $ECHO_C" >&6
47729 else
47733 ac_ext=cc
47734 ac_cpp='$CXXCPP $CPPFLAGS'
47735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47739 cat >conftest.$ac_ext <<_ACEOF
47740 /* confdefs.h. */
47741 _ACEOF
47742 cat confdefs.h >>conftest.$ac_ext
47743 cat >>conftest.$ac_ext <<_ACEOF
47744 /* end confdefs.h. */
47745 #include <math.h>
47746 #ifdef HAVE_IEEEFP_H
47747 #include <ieeefp.h>
47748 #endif
47751 main ()
47753 _isnanf(0);
47755 return 0;
47757 _ACEOF
47758 rm -f conftest.$ac_objext
47759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47760 (eval $ac_compile) 2>conftest.er1
47761 ac_status=$?
47762 grep -v '^ *+' conftest.er1 >conftest.err
47763 rm -f conftest.er1
47764 cat conftest.err >&5
47765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47766 (exit $ac_status); } &&
47767 { ac_try='test -z "$ac_cxx_werror_flag"
47768 || test ! -s conftest.err'
47769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47770 (eval $ac_try) 2>&5
47771 ac_status=$?
47772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47773 (exit $ac_status); }; } &&
47774 { ac_try='test -s conftest.$ac_objext'
47775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47776 (eval $ac_try) 2>&5
47777 ac_status=$?
47778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47779 (exit $ac_status); }; }; then
47780 glibcxx_cv_func__isnanf_use=yes
47781 else
47782 echo "$as_me: failed program was:" >&5
47783 sed 's/^/| /' conftest.$ac_ext >&5
47785 glibcxx_cv_func__isnanf_use=no
47787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47788 ac_ext=c
47789 ac_cpp='$CPP $CPPFLAGS'
47790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47798 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
47799 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
47801 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47803 for ac_func in _isnanf
47805 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47806 echo "$as_me:$LINENO: checking for $ac_func" >&5
47807 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47808 if eval "test \"\${$as_ac_var+set}\" = set"; then
47809 echo $ECHO_N "(cached) $ECHO_C" >&6
47810 else
47811 if test x$gcc_no_link = xyes; then
47812 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47813 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47814 { (exit 1); exit 1; }; }
47816 cat >conftest.$ac_ext <<_ACEOF
47817 /* confdefs.h. */
47818 _ACEOF
47819 cat confdefs.h >>conftest.$ac_ext
47820 cat >>conftest.$ac_ext <<_ACEOF
47821 /* end confdefs.h. */
47822 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47823 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47824 #define $ac_func innocuous_$ac_func
47826 /* System header to define __stub macros and hopefully few prototypes,
47827 which can conflict with char $ac_func (); below.
47828 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47829 <limits.h> exists even on freestanding compilers. */
47831 #ifdef __STDC__
47832 # include <limits.h>
47833 #else
47834 # include <assert.h>
47835 #endif
47837 #undef $ac_func
47839 /* Override any gcc2 internal prototype to avoid an error. */
47840 #ifdef __cplusplus
47841 extern "C"
47843 #endif
47844 /* We use char because int might match the return type of a gcc2
47845 builtin and then its argument prototype would still apply. */
47846 char $ac_func ();
47847 /* The GNU C library defines this for functions which it implements
47848 to always fail with ENOSYS. Some functions are actually named
47849 something starting with __ and the normal name is an alias. */
47850 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47851 choke me
47852 #else
47853 char (*f) () = $ac_func;
47854 #endif
47855 #ifdef __cplusplus
47857 #endif
47860 main ()
47862 return f != $ac_func;
47864 return 0;
47866 _ACEOF
47867 rm -f conftest.$ac_objext conftest$ac_exeext
47868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47869 (eval $ac_link) 2>conftest.er1
47870 ac_status=$?
47871 grep -v '^ *+' conftest.er1 >conftest.err
47872 rm -f conftest.er1
47873 cat conftest.err >&5
47874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47875 (exit $ac_status); } &&
47876 { ac_try='test -z "$ac_c_werror_flag"
47877 || test ! -s conftest.err'
47878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47879 (eval $ac_try) 2>&5
47880 ac_status=$?
47881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47882 (exit $ac_status); }; } &&
47883 { ac_try='test -s conftest$ac_exeext'
47884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47885 (eval $ac_try) 2>&5
47886 ac_status=$?
47887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47888 (exit $ac_status); }; }; then
47889 eval "$as_ac_var=yes"
47890 else
47891 echo "$as_me: failed program was:" >&5
47892 sed 's/^/| /' conftest.$ac_ext >&5
47894 eval "$as_ac_var=no"
47896 rm -f conftest.err conftest.$ac_objext \
47897 conftest$ac_exeext conftest.$ac_ext
47899 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47900 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47901 if test `eval echo '${'$as_ac_var'}'` = yes; then
47902 cat >>confdefs.h <<_ACEOF
47903 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47904 _ACEOF
47907 done
47917 echo "$as_me:$LINENO: checking for isinff declaration" >&5
47918 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
47919 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47920 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
47921 echo $ECHO_N "(cached) $ECHO_C" >&6
47922 else
47926 ac_ext=cc
47927 ac_cpp='$CXXCPP $CPPFLAGS'
47928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47932 cat >conftest.$ac_ext <<_ACEOF
47933 /* confdefs.h. */
47934 _ACEOF
47935 cat confdefs.h >>conftest.$ac_ext
47936 cat >>conftest.$ac_ext <<_ACEOF
47937 /* end confdefs.h. */
47938 #include <math.h>
47939 #ifdef HAVE_IEEEFP_H
47940 #include <ieeefp.h>
47941 #endif
47944 main ()
47946 isinff(0);
47948 return 0;
47950 _ACEOF
47951 rm -f conftest.$ac_objext
47952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47953 (eval $ac_compile) 2>conftest.er1
47954 ac_status=$?
47955 grep -v '^ *+' conftest.er1 >conftest.err
47956 rm -f conftest.er1
47957 cat conftest.err >&5
47958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47959 (exit $ac_status); } &&
47960 { ac_try='test -z "$ac_cxx_werror_flag"
47961 || test ! -s conftest.err'
47962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47963 (eval $ac_try) 2>&5
47964 ac_status=$?
47965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47966 (exit $ac_status); }; } &&
47967 { ac_try='test -s conftest.$ac_objext'
47968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47969 (eval $ac_try) 2>&5
47970 ac_status=$?
47971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47972 (exit $ac_status); }; }; then
47973 glibcxx_cv_func_isinff_use=yes
47974 else
47975 echo "$as_me: failed program was:" >&5
47976 sed 's/^/| /' conftest.$ac_ext >&5
47978 glibcxx_cv_func_isinff_use=no
47980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47981 ac_ext=c
47982 ac_cpp='$CPP $CPPFLAGS'
47983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47991 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
47992 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
47994 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47996 for ac_func in isinff
47998 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47999 echo "$as_me:$LINENO: checking for $ac_func" >&5
48000 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48001 if eval "test \"\${$as_ac_var+set}\" = set"; then
48002 echo $ECHO_N "(cached) $ECHO_C" >&6
48003 else
48004 if test x$gcc_no_link = xyes; then
48005 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48006 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48007 { (exit 1); exit 1; }; }
48009 cat >conftest.$ac_ext <<_ACEOF
48010 /* confdefs.h. */
48011 _ACEOF
48012 cat confdefs.h >>conftest.$ac_ext
48013 cat >>conftest.$ac_ext <<_ACEOF
48014 /* end confdefs.h. */
48015 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48016 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48017 #define $ac_func innocuous_$ac_func
48019 /* System header to define __stub macros and hopefully few prototypes,
48020 which can conflict with char $ac_func (); below.
48021 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48022 <limits.h> exists even on freestanding compilers. */
48024 #ifdef __STDC__
48025 # include <limits.h>
48026 #else
48027 # include <assert.h>
48028 #endif
48030 #undef $ac_func
48032 /* Override any gcc2 internal prototype to avoid an error. */
48033 #ifdef __cplusplus
48034 extern "C"
48036 #endif
48037 /* We use char because int might match the return type of a gcc2
48038 builtin and then its argument prototype would still apply. */
48039 char $ac_func ();
48040 /* The GNU C library defines this for functions which it implements
48041 to always fail with ENOSYS. Some functions are actually named
48042 something starting with __ and the normal name is an alias. */
48043 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48044 choke me
48045 #else
48046 char (*f) () = $ac_func;
48047 #endif
48048 #ifdef __cplusplus
48050 #endif
48053 main ()
48055 return f != $ac_func;
48057 return 0;
48059 _ACEOF
48060 rm -f conftest.$ac_objext conftest$ac_exeext
48061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48062 (eval $ac_link) 2>conftest.er1
48063 ac_status=$?
48064 grep -v '^ *+' conftest.er1 >conftest.err
48065 rm -f conftest.er1
48066 cat conftest.err >&5
48067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48068 (exit $ac_status); } &&
48069 { ac_try='test -z "$ac_c_werror_flag"
48070 || test ! -s conftest.err'
48071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48072 (eval $ac_try) 2>&5
48073 ac_status=$?
48074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48075 (exit $ac_status); }; } &&
48076 { ac_try='test -s conftest$ac_exeext'
48077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48078 (eval $ac_try) 2>&5
48079 ac_status=$?
48080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48081 (exit $ac_status); }; }; then
48082 eval "$as_ac_var=yes"
48083 else
48084 echo "$as_me: failed program was:" >&5
48085 sed 's/^/| /' conftest.$ac_ext >&5
48087 eval "$as_ac_var=no"
48089 rm -f conftest.err conftest.$ac_objext \
48090 conftest$ac_exeext conftest.$ac_ext
48092 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48093 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48094 if test `eval echo '${'$as_ac_var'}'` = yes; then
48095 cat >>confdefs.h <<_ACEOF
48096 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48097 _ACEOF
48100 done
48102 else
48104 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
48105 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
48106 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
48107 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
48108 echo $ECHO_N "(cached) $ECHO_C" >&6
48109 else
48113 ac_ext=cc
48114 ac_cpp='$CXXCPP $CPPFLAGS'
48115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48119 cat >conftest.$ac_ext <<_ACEOF
48120 /* confdefs.h. */
48121 _ACEOF
48122 cat confdefs.h >>conftest.$ac_ext
48123 cat >>conftest.$ac_ext <<_ACEOF
48124 /* end confdefs.h. */
48125 #include <math.h>
48126 #ifdef HAVE_IEEEFP_H
48127 #include <ieeefp.h>
48128 #endif
48131 main ()
48133 _isinff(0);
48135 return 0;
48137 _ACEOF
48138 rm -f conftest.$ac_objext
48139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48140 (eval $ac_compile) 2>conftest.er1
48141 ac_status=$?
48142 grep -v '^ *+' conftest.er1 >conftest.err
48143 rm -f conftest.er1
48144 cat conftest.err >&5
48145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48146 (exit $ac_status); } &&
48147 { ac_try='test -z "$ac_cxx_werror_flag"
48148 || test ! -s conftest.err'
48149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48150 (eval $ac_try) 2>&5
48151 ac_status=$?
48152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48153 (exit $ac_status); }; } &&
48154 { ac_try='test -s conftest.$ac_objext'
48155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48156 (eval $ac_try) 2>&5
48157 ac_status=$?
48158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48159 (exit $ac_status); }; }; then
48160 glibcxx_cv_func__isinff_use=yes
48161 else
48162 echo "$as_me: failed program was:" >&5
48163 sed 's/^/| /' conftest.$ac_ext >&5
48165 glibcxx_cv_func__isinff_use=no
48167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48168 ac_ext=c
48169 ac_cpp='$CPP $CPPFLAGS'
48170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48178 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
48179 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
48181 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
48183 for ac_func in _isinff
48185 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48186 echo "$as_me:$LINENO: checking for $ac_func" >&5
48187 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48188 if eval "test \"\${$as_ac_var+set}\" = set"; then
48189 echo $ECHO_N "(cached) $ECHO_C" >&6
48190 else
48191 if test x$gcc_no_link = xyes; then
48192 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48193 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48194 { (exit 1); exit 1; }; }
48196 cat >conftest.$ac_ext <<_ACEOF
48197 /* confdefs.h. */
48198 _ACEOF
48199 cat confdefs.h >>conftest.$ac_ext
48200 cat >>conftest.$ac_ext <<_ACEOF
48201 /* end confdefs.h. */
48202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48203 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48204 #define $ac_func innocuous_$ac_func
48206 /* System header to define __stub macros and hopefully few prototypes,
48207 which can conflict with char $ac_func (); below.
48208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48209 <limits.h> exists even on freestanding compilers. */
48211 #ifdef __STDC__
48212 # include <limits.h>
48213 #else
48214 # include <assert.h>
48215 #endif
48217 #undef $ac_func
48219 /* Override any gcc2 internal prototype to avoid an error. */
48220 #ifdef __cplusplus
48221 extern "C"
48223 #endif
48224 /* We use char because int might match the return type of a gcc2
48225 builtin and then its argument prototype would still apply. */
48226 char $ac_func ();
48227 /* The GNU C library defines this for functions which it implements
48228 to always fail with ENOSYS. Some functions are actually named
48229 something starting with __ and the normal name is an alias. */
48230 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48231 choke me
48232 #else
48233 char (*f) () = $ac_func;
48234 #endif
48235 #ifdef __cplusplus
48237 #endif
48240 main ()
48242 return f != $ac_func;
48244 return 0;
48246 _ACEOF
48247 rm -f conftest.$ac_objext conftest$ac_exeext
48248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48249 (eval $ac_link) 2>conftest.er1
48250 ac_status=$?
48251 grep -v '^ *+' conftest.er1 >conftest.err
48252 rm -f conftest.er1
48253 cat conftest.err >&5
48254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48255 (exit $ac_status); } &&
48256 { ac_try='test -z "$ac_c_werror_flag"
48257 || test ! -s conftest.err'
48258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48259 (eval $ac_try) 2>&5
48260 ac_status=$?
48261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48262 (exit $ac_status); }; } &&
48263 { ac_try='test -s conftest$ac_exeext'
48264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48265 (eval $ac_try) 2>&5
48266 ac_status=$?
48267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48268 (exit $ac_status); }; }; then
48269 eval "$as_ac_var=yes"
48270 else
48271 echo "$as_me: failed program was:" >&5
48272 sed 's/^/| /' conftest.$ac_ext >&5
48274 eval "$as_ac_var=no"
48276 rm -f conftest.err conftest.$ac_objext \
48277 conftest$ac_exeext conftest.$ac_ext
48279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48280 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48281 if test `eval echo '${'$as_ac_var'}'` = yes; then
48282 cat >>confdefs.h <<_ACEOF
48283 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48284 _ACEOF
48287 done
48297 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
48298 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
48299 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
48300 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
48301 echo $ECHO_N "(cached) $ECHO_C" >&6
48302 else
48306 ac_ext=cc
48307 ac_cpp='$CXXCPP $CPPFLAGS'
48308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48312 cat >conftest.$ac_ext <<_ACEOF
48313 /* confdefs.h. */
48314 _ACEOF
48315 cat confdefs.h >>conftest.$ac_ext
48316 cat >>conftest.$ac_ext <<_ACEOF
48317 /* end confdefs.h. */
48318 #include <math.h>
48320 main ()
48322 atan2f(0, 0);
48324 return 0;
48326 _ACEOF
48327 rm -f conftest.$ac_objext
48328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48329 (eval $ac_compile) 2>conftest.er1
48330 ac_status=$?
48331 grep -v '^ *+' conftest.er1 >conftest.err
48332 rm -f conftest.er1
48333 cat conftest.err >&5
48334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48335 (exit $ac_status); } &&
48336 { ac_try='test -z "$ac_cxx_werror_flag"
48337 || test ! -s conftest.err'
48338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48339 (eval $ac_try) 2>&5
48340 ac_status=$?
48341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48342 (exit $ac_status); }; } &&
48343 { ac_try='test -s conftest.$ac_objext'
48344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48345 (eval $ac_try) 2>&5
48346 ac_status=$?
48347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48348 (exit $ac_status); }; }; then
48349 glibcxx_cv_func_atan2f_use=yes
48350 else
48351 echo "$as_me: failed program was:" >&5
48352 sed 's/^/| /' conftest.$ac_ext >&5
48354 glibcxx_cv_func_atan2f_use=no
48356 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48357 ac_ext=c
48358 ac_cpp='$CPP $CPPFLAGS'
48359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48367 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
48368 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
48370 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
48372 for ac_func in atan2f
48374 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48375 echo "$as_me:$LINENO: checking for $ac_func" >&5
48376 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48377 if eval "test \"\${$as_ac_var+set}\" = set"; then
48378 echo $ECHO_N "(cached) $ECHO_C" >&6
48379 else
48380 if test x$gcc_no_link = xyes; then
48381 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48382 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48383 { (exit 1); exit 1; }; }
48385 cat >conftest.$ac_ext <<_ACEOF
48386 /* confdefs.h. */
48387 _ACEOF
48388 cat confdefs.h >>conftest.$ac_ext
48389 cat >>conftest.$ac_ext <<_ACEOF
48390 /* end confdefs.h. */
48391 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48392 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48393 #define $ac_func innocuous_$ac_func
48395 /* System header to define __stub macros and hopefully few prototypes,
48396 which can conflict with char $ac_func (); below.
48397 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48398 <limits.h> exists even on freestanding compilers. */
48400 #ifdef __STDC__
48401 # include <limits.h>
48402 #else
48403 # include <assert.h>
48404 #endif
48406 #undef $ac_func
48408 /* Override any gcc2 internal prototype to avoid an error. */
48409 #ifdef __cplusplus
48410 extern "C"
48412 #endif
48413 /* We use char because int might match the return type of a gcc2
48414 builtin and then its argument prototype would still apply. */
48415 char $ac_func ();
48416 /* The GNU C library defines this for functions which it implements
48417 to always fail with ENOSYS. Some functions are actually named
48418 something starting with __ and the normal name is an alias. */
48419 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48420 choke me
48421 #else
48422 char (*f) () = $ac_func;
48423 #endif
48424 #ifdef __cplusplus
48426 #endif
48429 main ()
48431 return f != $ac_func;
48433 return 0;
48435 _ACEOF
48436 rm -f conftest.$ac_objext conftest$ac_exeext
48437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48438 (eval $ac_link) 2>conftest.er1
48439 ac_status=$?
48440 grep -v '^ *+' conftest.er1 >conftest.err
48441 rm -f conftest.er1
48442 cat conftest.err >&5
48443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48444 (exit $ac_status); } &&
48445 { ac_try='test -z "$ac_c_werror_flag"
48446 || test ! -s conftest.err'
48447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48448 (eval $ac_try) 2>&5
48449 ac_status=$?
48450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48451 (exit $ac_status); }; } &&
48452 { ac_try='test -s conftest$ac_exeext'
48453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48454 (eval $ac_try) 2>&5
48455 ac_status=$?
48456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48457 (exit $ac_status); }; }; then
48458 eval "$as_ac_var=yes"
48459 else
48460 echo "$as_me: failed program was:" >&5
48461 sed 's/^/| /' conftest.$ac_ext >&5
48463 eval "$as_ac_var=no"
48465 rm -f conftest.err conftest.$ac_objext \
48466 conftest$ac_exeext conftest.$ac_ext
48468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48469 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48470 if test `eval echo '${'$as_ac_var'}'` = yes; then
48471 cat >>confdefs.h <<_ACEOF
48472 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48473 _ACEOF
48476 done
48478 else
48480 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
48481 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
48482 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
48483 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
48484 echo $ECHO_N "(cached) $ECHO_C" >&6
48485 else
48489 ac_ext=cc
48490 ac_cpp='$CXXCPP $CPPFLAGS'
48491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48495 cat >conftest.$ac_ext <<_ACEOF
48496 /* confdefs.h. */
48497 _ACEOF
48498 cat confdefs.h >>conftest.$ac_ext
48499 cat >>conftest.$ac_ext <<_ACEOF
48500 /* end confdefs.h. */
48501 #include <math.h>
48503 main ()
48505 _atan2f(0, 0);
48507 return 0;
48509 _ACEOF
48510 rm -f conftest.$ac_objext
48511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48512 (eval $ac_compile) 2>conftest.er1
48513 ac_status=$?
48514 grep -v '^ *+' conftest.er1 >conftest.err
48515 rm -f conftest.er1
48516 cat conftest.err >&5
48517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48518 (exit $ac_status); } &&
48519 { ac_try='test -z "$ac_cxx_werror_flag"
48520 || test ! -s conftest.err'
48521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48522 (eval $ac_try) 2>&5
48523 ac_status=$?
48524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48525 (exit $ac_status); }; } &&
48526 { ac_try='test -s conftest.$ac_objext'
48527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48528 (eval $ac_try) 2>&5
48529 ac_status=$?
48530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48531 (exit $ac_status); }; }; then
48532 glibcxx_cv_func__atan2f_use=yes
48533 else
48534 echo "$as_me: failed program was:" >&5
48535 sed 's/^/| /' conftest.$ac_ext >&5
48537 glibcxx_cv_func__atan2f_use=no
48539 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48540 ac_ext=c
48541 ac_cpp='$CPP $CPPFLAGS'
48542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48550 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
48551 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
48553 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
48555 for ac_func in _atan2f
48557 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48558 echo "$as_me:$LINENO: checking for $ac_func" >&5
48559 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48560 if eval "test \"\${$as_ac_var+set}\" = set"; then
48561 echo $ECHO_N "(cached) $ECHO_C" >&6
48562 else
48563 if test x$gcc_no_link = xyes; then
48564 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48565 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48566 { (exit 1); exit 1; }; }
48568 cat >conftest.$ac_ext <<_ACEOF
48569 /* confdefs.h. */
48570 _ACEOF
48571 cat confdefs.h >>conftest.$ac_ext
48572 cat >>conftest.$ac_ext <<_ACEOF
48573 /* end confdefs.h. */
48574 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48575 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48576 #define $ac_func innocuous_$ac_func
48578 /* System header to define __stub macros and hopefully few prototypes,
48579 which can conflict with char $ac_func (); below.
48580 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48581 <limits.h> exists even on freestanding compilers. */
48583 #ifdef __STDC__
48584 # include <limits.h>
48585 #else
48586 # include <assert.h>
48587 #endif
48589 #undef $ac_func
48591 /* Override any gcc2 internal prototype to avoid an error. */
48592 #ifdef __cplusplus
48593 extern "C"
48595 #endif
48596 /* We use char because int might match the return type of a gcc2
48597 builtin and then its argument prototype would still apply. */
48598 char $ac_func ();
48599 /* The GNU C library defines this for functions which it implements
48600 to always fail with ENOSYS. Some functions are actually named
48601 something starting with __ and the normal name is an alias. */
48602 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48603 choke me
48604 #else
48605 char (*f) () = $ac_func;
48606 #endif
48607 #ifdef __cplusplus
48609 #endif
48612 main ()
48614 return f != $ac_func;
48616 return 0;
48618 _ACEOF
48619 rm -f conftest.$ac_objext conftest$ac_exeext
48620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48621 (eval $ac_link) 2>conftest.er1
48622 ac_status=$?
48623 grep -v '^ *+' conftest.er1 >conftest.err
48624 rm -f conftest.er1
48625 cat conftest.err >&5
48626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48627 (exit $ac_status); } &&
48628 { ac_try='test -z "$ac_c_werror_flag"
48629 || test ! -s conftest.err'
48630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48631 (eval $ac_try) 2>&5
48632 ac_status=$?
48633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48634 (exit $ac_status); }; } &&
48635 { ac_try='test -s conftest$ac_exeext'
48636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48637 (eval $ac_try) 2>&5
48638 ac_status=$?
48639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48640 (exit $ac_status); }; }; then
48641 eval "$as_ac_var=yes"
48642 else
48643 echo "$as_me: failed program was:" >&5
48644 sed 's/^/| /' conftest.$ac_ext >&5
48646 eval "$as_ac_var=no"
48648 rm -f conftest.err conftest.$ac_objext \
48649 conftest$ac_exeext conftest.$ac_ext
48651 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48652 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48653 if test `eval echo '${'$as_ac_var'}'` = yes; then
48654 cat >>confdefs.h <<_ACEOF
48655 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48656 _ACEOF
48659 done
48669 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
48670 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
48671 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
48672 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
48673 echo $ECHO_N "(cached) $ECHO_C" >&6
48674 else
48678 ac_ext=cc
48679 ac_cpp='$CXXCPP $CPPFLAGS'
48680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48684 cat >conftest.$ac_ext <<_ACEOF
48685 /* confdefs.h. */
48686 _ACEOF
48687 cat confdefs.h >>conftest.$ac_ext
48688 cat >>conftest.$ac_ext <<_ACEOF
48689 /* end confdefs.h. */
48690 #include <math.h>
48691 #ifdef HAVE_IEEEFP_H
48692 #include <ieeefp.h>
48693 #endif
48696 main ()
48698 fabsf(0);
48700 return 0;
48702 _ACEOF
48703 rm -f conftest.$ac_objext
48704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48705 (eval $ac_compile) 2>conftest.er1
48706 ac_status=$?
48707 grep -v '^ *+' conftest.er1 >conftest.err
48708 rm -f conftest.er1
48709 cat conftest.err >&5
48710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48711 (exit $ac_status); } &&
48712 { ac_try='test -z "$ac_cxx_werror_flag"
48713 || test ! -s conftest.err'
48714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48715 (eval $ac_try) 2>&5
48716 ac_status=$?
48717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48718 (exit $ac_status); }; } &&
48719 { ac_try='test -s conftest.$ac_objext'
48720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48721 (eval $ac_try) 2>&5
48722 ac_status=$?
48723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48724 (exit $ac_status); }; }; then
48725 glibcxx_cv_func_fabsf_use=yes
48726 else
48727 echo "$as_me: failed program was:" >&5
48728 sed 's/^/| /' conftest.$ac_ext >&5
48730 glibcxx_cv_func_fabsf_use=no
48732 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48733 ac_ext=c
48734 ac_cpp='$CPP $CPPFLAGS'
48735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48743 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
48744 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
48746 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
48748 for ac_func in fabsf
48750 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48751 echo "$as_me:$LINENO: checking for $ac_func" >&5
48752 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48753 if eval "test \"\${$as_ac_var+set}\" = set"; then
48754 echo $ECHO_N "(cached) $ECHO_C" >&6
48755 else
48756 if test x$gcc_no_link = xyes; then
48757 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48758 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48759 { (exit 1); exit 1; }; }
48761 cat >conftest.$ac_ext <<_ACEOF
48762 /* confdefs.h. */
48763 _ACEOF
48764 cat confdefs.h >>conftest.$ac_ext
48765 cat >>conftest.$ac_ext <<_ACEOF
48766 /* end confdefs.h. */
48767 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48768 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48769 #define $ac_func innocuous_$ac_func
48771 /* System header to define __stub macros and hopefully few prototypes,
48772 which can conflict with char $ac_func (); below.
48773 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48774 <limits.h> exists even on freestanding compilers. */
48776 #ifdef __STDC__
48777 # include <limits.h>
48778 #else
48779 # include <assert.h>
48780 #endif
48782 #undef $ac_func
48784 /* Override any gcc2 internal prototype to avoid an error. */
48785 #ifdef __cplusplus
48786 extern "C"
48788 #endif
48789 /* We use char because int might match the return type of a gcc2
48790 builtin and then its argument prototype would still apply. */
48791 char $ac_func ();
48792 /* The GNU C library defines this for functions which it implements
48793 to always fail with ENOSYS. Some functions are actually named
48794 something starting with __ and the normal name is an alias. */
48795 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48796 choke me
48797 #else
48798 char (*f) () = $ac_func;
48799 #endif
48800 #ifdef __cplusplus
48802 #endif
48805 main ()
48807 return f != $ac_func;
48809 return 0;
48811 _ACEOF
48812 rm -f conftest.$ac_objext conftest$ac_exeext
48813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48814 (eval $ac_link) 2>conftest.er1
48815 ac_status=$?
48816 grep -v '^ *+' conftest.er1 >conftest.err
48817 rm -f conftest.er1
48818 cat conftest.err >&5
48819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48820 (exit $ac_status); } &&
48821 { ac_try='test -z "$ac_c_werror_flag"
48822 || test ! -s conftest.err'
48823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48824 (eval $ac_try) 2>&5
48825 ac_status=$?
48826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48827 (exit $ac_status); }; } &&
48828 { ac_try='test -s conftest$ac_exeext'
48829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48830 (eval $ac_try) 2>&5
48831 ac_status=$?
48832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48833 (exit $ac_status); }; }; then
48834 eval "$as_ac_var=yes"
48835 else
48836 echo "$as_me: failed program was:" >&5
48837 sed 's/^/| /' conftest.$ac_ext >&5
48839 eval "$as_ac_var=no"
48841 rm -f conftest.err conftest.$ac_objext \
48842 conftest$ac_exeext conftest.$ac_ext
48844 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48845 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48846 if test `eval echo '${'$as_ac_var'}'` = yes; then
48847 cat >>confdefs.h <<_ACEOF
48848 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48849 _ACEOF
48852 done
48854 else
48856 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
48857 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
48858 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
48859 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
48860 echo $ECHO_N "(cached) $ECHO_C" >&6
48861 else
48865 ac_ext=cc
48866 ac_cpp='$CXXCPP $CPPFLAGS'
48867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48871 cat >conftest.$ac_ext <<_ACEOF
48872 /* confdefs.h. */
48873 _ACEOF
48874 cat confdefs.h >>conftest.$ac_ext
48875 cat >>conftest.$ac_ext <<_ACEOF
48876 /* end confdefs.h. */
48877 #include <math.h>
48878 #ifdef HAVE_IEEEFP_H
48879 #include <ieeefp.h>
48880 #endif
48883 main ()
48885 _fabsf(0);
48887 return 0;
48889 _ACEOF
48890 rm -f conftest.$ac_objext
48891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48892 (eval $ac_compile) 2>conftest.er1
48893 ac_status=$?
48894 grep -v '^ *+' conftest.er1 >conftest.err
48895 rm -f conftest.er1
48896 cat conftest.err >&5
48897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48898 (exit $ac_status); } &&
48899 { ac_try='test -z "$ac_cxx_werror_flag"
48900 || test ! -s conftest.err'
48901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48902 (eval $ac_try) 2>&5
48903 ac_status=$?
48904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48905 (exit $ac_status); }; } &&
48906 { ac_try='test -s conftest.$ac_objext'
48907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48908 (eval $ac_try) 2>&5
48909 ac_status=$?
48910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48911 (exit $ac_status); }; }; then
48912 glibcxx_cv_func__fabsf_use=yes
48913 else
48914 echo "$as_me: failed program was:" >&5
48915 sed 's/^/| /' conftest.$ac_ext >&5
48917 glibcxx_cv_func__fabsf_use=no
48919 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48920 ac_ext=c
48921 ac_cpp='$CPP $CPPFLAGS'
48922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48930 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
48931 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
48933 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
48935 for ac_func in _fabsf
48937 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48938 echo "$as_me:$LINENO: checking for $ac_func" >&5
48939 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48940 if eval "test \"\${$as_ac_var+set}\" = set"; then
48941 echo $ECHO_N "(cached) $ECHO_C" >&6
48942 else
48943 if test x$gcc_no_link = xyes; then
48944 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48945 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48946 { (exit 1); exit 1; }; }
48948 cat >conftest.$ac_ext <<_ACEOF
48949 /* confdefs.h. */
48950 _ACEOF
48951 cat confdefs.h >>conftest.$ac_ext
48952 cat >>conftest.$ac_ext <<_ACEOF
48953 /* end confdefs.h. */
48954 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48955 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48956 #define $ac_func innocuous_$ac_func
48958 /* System header to define __stub macros and hopefully few prototypes,
48959 which can conflict with char $ac_func (); below.
48960 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48961 <limits.h> exists even on freestanding compilers. */
48963 #ifdef __STDC__
48964 # include <limits.h>
48965 #else
48966 # include <assert.h>
48967 #endif
48969 #undef $ac_func
48971 /* Override any gcc2 internal prototype to avoid an error. */
48972 #ifdef __cplusplus
48973 extern "C"
48975 #endif
48976 /* We use char because int might match the return type of a gcc2
48977 builtin and then its argument prototype would still apply. */
48978 char $ac_func ();
48979 /* The GNU C library defines this for functions which it implements
48980 to always fail with ENOSYS. Some functions are actually named
48981 something starting with __ and the normal name is an alias. */
48982 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48983 choke me
48984 #else
48985 char (*f) () = $ac_func;
48986 #endif
48987 #ifdef __cplusplus
48989 #endif
48992 main ()
48994 return f != $ac_func;
48996 return 0;
48998 _ACEOF
48999 rm -f conftest.$ac_objext conftest$ac_exeext
49000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49001 (eval $ac_link) 2>conftest.er1
49002 ac_status=$?
49003 grep -v '^ *+' conftest.er1 >conftest.err
49004 rm -f conftest.er1
49005 cat conftest.err >&5
49006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49007 (exit $ac_status); } &&
49008 { ac_try='test -z "$ac_c_werror_flag"
49009 || test ! -s conftest.err'
49010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49011 (eval $ac_try) 2>&5
49012 ac_status=$?
49013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49014 (exit $ac_status); }; } &&
49015 { ac_try='test -s conftest$ac_exeext'
49016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49017 (eval $ac_try) 2>&5
49018 ac_status=$?
49019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49020 (exit $ac_status); }; }; then
49021 eval "$as_ac_var=yes"
49022 else
49023 echo "$as_me: failed program was:" >&5
49024 sed 's/^/| /' conftest.$ac_ext >&5
49026 eval "$as_ac_var=no"
49028 rm -f conftest.err conftest.$ac_objext \
49029 conftest$ac_exeext conftest.$ac_ext
49031 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49032 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49033 if test `eval echo '${'$as_ac_var'}'` = yes; then
49034 cat >>confdefs.h <<_ACEOF
49035 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49036 _ACEOF
49039 done
49049 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
49050 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
49051 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
49052 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
49053 echo $ECHO_N "(cached) $ECHO_C" >&6
49054 else
49058 ac_ext=cc
49059 ac_cpp='$CXXCPP $CPPFLAGS'
49060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49064 cat >conftest.$ac_ext <<_ACEOF
49065 /* confdefs.h. */
49066 _ACEOF
49067 cat confdefs.h >>conftest.$ac_ext
49068 cat >>conftest.$ac_ext <<_ACEOF
49069 /* end confdefs.h. */
49070 #include <math.h>
49072 main ()
49074 fmodf(0, 0);
49076 return 0;
49078 _ACEOF
49079 rm -f conftest.$ac_objext
49080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49081 (eval $ac_compile) 2>conftest.er1
49082 ac_status=$?
49083 grep -v '^ *+' conftest.er1 >conftest.err
49084 rm -f conftest.er1
49085 cat conftest.err >&5
49086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49087 (exit $ac_status); } &&
49088 { ac_try='test -z "$ac_cxx_werror_flag"
49089 || test ! -s conftest.err'
49090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49091 (eval $ac_try) 2>&5
49092 ac_status=$?
49093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49094 (exit $ac_status); }; } &&
49095 { ac_try='test -s conftest.$ac_objext'
49096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49097 (eval $ac_try) 2>&5
49098 ac_status=$?
49099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49100 (exit $ac_status); }; }; then
49101 glibcxx_cv_func_fmodf_use=yes
49102 else
49103 echo "$as_me: failed program was:" >&5
49104 sed 's/^/| /' conftest.$ac_ext >&5
49106 glibcxx_cv_func_fmodf_use=no
49108 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49109 ac_ext=c
49110 ac_cpp='$CPP $CPPFLAGS'
49111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49119 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
49120 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
49122 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
49124 for ac_func in fmodf
49126 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49127 echo "$as_me:$LINENO: checking for $ac_func" >&5
49128 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49129 if eval "test \"\${$as_ac_var+set}\" = set"; then
49130 echo $ECHO_N "(cached) $ECHO_C" >&6
49131 else
49132 if test x$gcc_no_link = xyes; then
49133 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49134 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49135 { (exit 1); exit 1; }; }
49137 cat >conftest.$ac_ext <<_ACEOF
49138 /* confdefs.h. */
49139 _ACEOF
49140 cat confdefs.h >>conftest.$ac_ext
49141 cat >>conftest.$ac_ext <<_ACEOF
49142 /* end confdefs.h. */
49143 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49144 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49145 #define $ac_func innocuous_$ac_func
49147 /* System header to define __stub macros and hopefully few prototypes,
49148 which can conflict with char $ac_func (); below.
49149 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49150 <limits.h> exists even on freestanding compilers. */
49152 #ifdef __STDC__
49153 # include <limits.h>
49154 #else
49155 # include <assert.h>
49156 #endif
49158 #undef $ac_func
49160 /* Override any gcc2 internal prototype to avoid an error. */
49161 #ifdef __cplusplus
49162 extern "C"
49164 #endif
49165 /* We use char because int might match the return type of a gcc2
49166 builtin and then its argument prototype would still apply. */
49167 char $ac_func ();
49168 /* The GNU C library defines this for functions which it implements
49169 to always fail with ENOSYS. Some functions are actually named
49170 something starting with __ and the normal name is an alias. */
49171 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49172 choke me
49173 #else
49174 char (*f) () = $ac_func;
49175 #endif
49176 #ifdef __cplusplus
49178 #endif
49181 main ()
49183 return f != $ac_func;
49185 return 0;
49187 _ACEOF
49188 rm -f conftest.$ac_objext conftest$ac_exeext
49189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49190 (eval $ac_link) 2>conftest.er1
49191 ac_status=$?
49192 grep -v '^ *+' conftest.er1 >conftest.err
49193 rm -f conftest.er1
49194 cat conftest.err >&5
49195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49196 (exit $ac_status); } &&
49197 { ac_try='test -z "$ac_c_werror_flag"
49198 || test ! -s conftest.err'
49199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49200 (eval $ac_try) 2>&5
49201 ac_status=$?
49202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49203 (exit $ac_status); }; } &&
49204 { ac_try='test -s conftest$ac_exeext'
49205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49206 (eval $ac_try) 2>&5
49207 ac_status=$?
49208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49209 (exit $ac_status); }; }; then
49210 eval "$as_ac_var=yes"
49211 else
49212 echo "$as_me: failed program was:" >&5
49213 sed 's/^/| /' conftest.$ac_ext >&5
49215 eval "$as_ac_var=no"
49217 rm -f conftest.err conftest.$ac_objext \
49218 conftest$ac_exeext conftest.$ac_ext
49220 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49221 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49222 if test `eval echo '${'$as_ac_var'}'` = yes; then
49223 cat >>confdefs.h <<_ACEOF
49224 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49225 _ACEOF
49228 done
49230 else
49232 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
49233 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
49234 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
49235 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
49236 echo $ECHO_N "(cached) $ECHO_C" >&6
49237 else
49241 ac_ext=cc
49242 ac_cpp='$CXXCPP $CPPFLAGS'
49243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49247 cat >conftest.$ac_ext <<_ACEOF
49248 /* confdefs.h. */
49249 _ACEOF
49250 cat confdefs.h >>conftest.$ac_ext
49251 cat >>conftest.$ac_ext <<_ACEOF
49252 /* end confdefs.h. */
49253 #include <math.h>
49255 main ()
49257 _fmodf(0, 0);
49259 return 0;
49261 _ACEOF
49262 rm -f conftest.$ac_objext
49263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49264 (eval $ac_compile) 2>conftest.er1
49265 ac_status=$?
49266 grep -v '^ *+' conftest.er1 >conftest.err
49267 rm -f conftest.er1
49268 cat conftest.err >&5
49269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49270 (exit $ac_status); } &&
49271 { ac_try='test -z "$ac_cxx_werror_flag"
49272 || test ! -s conftest.err'
49273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49274 (eval $ac_try) 2>&5
49275 ac_status=$?
49276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49277 (exit $ac_status); }; } &&
49278 { ac_try='test -s conftest.$ac_objext'
49279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49280 (eval $ac_try) 2>&5
49281 ac_status=$?
49282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49283 (exit $ac_status); }; }; then
49284 glibcxx_cv_func__fmodf_use=yes
49285 else
49286 echo "$as_me: failed program was:" >&5
49287 sed 's/^/| /' conftest.$ac_ext >&5
49289 glibcxx_cv_func__fmodf_use=no
49291 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49292 ac_ext=c
49293 ac_cpp='$CPP $CPPFLAGS'
49294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49302 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
49303 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
49305 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
49307 for ac_func in _fmodf
49309 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49310 echo "$as_me:$LINENO: checking for $ac_func" >&5
49311 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49312 if eval "test \"\${$as_ac_var+set}\" = set"; then
49313 echo $ECHO_N "(cached) $ECHO_C" >&6
49314 else
49315 if test x$gcc_no_link = xyes; then
49316 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49317 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49318 { (exit 1); exit 1; }; }
49320 cat >conftest.$ac_ext <<_ACEOF
49321 /* confdefs.h. */
49322 _ACEOF
49323 cat confdefs.h >>conftest.$ac_ext
49324 cat >>conftest.$ac_ext <<_ACEOF
49325 /* end confdefs.h. */
49326 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49327 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49328 #define $ac_func innocuous_$ac_func
49330 /* System header to define __stub macros and hopefully few prototypes,
49331 which can conflict with char $ac_func (); below.
49332 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49333 <limits.h> exists even on freestanding compilers. */
49335 #ifdef __STDC__
49336 # include <limits.h>
49337 #else
49338 # include <assert.h>
49339 #endif
49341 #undef $ac_func
49343 /* Override any gcc2 internal prototype to avoid an error. */
49344 #ifdef __cplusplus
49345 extern "C"
49347 #endif
49348 /* We use char because int might match the return type of a gcc2
49349 builtin and then its argument prototype would still apply. */
49350 char $ac_func ();
49351 /* The GNU C library defines this for functions which it implements
49352 to always fail with ENOSYS. Some functions are actually named
49353 something starting with __ and the normal name is an alias. */
49354 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49355 choke me
49356 #else
49357 char (*f) () = $ac_func;
49358 #endif
49359 #ifdef __cplusplus
49361 #endif
49364 main ()
49366 return f != $ac_func;
49368 return 0;
49370 _ACEOF
49371 rm -f conftest.$ac_objext conftest$ac_exeext
49372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49373 (eval $ac_link) 2>conftest.er1
49374 ac_status=$?
49375 grep -v '^ *+' conftest.er1 >conftest.err
49376 rm -f conftest.er1
49377 cat conftest.err >&5
49378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49379 (exit $ac_status); } &&
49380 { ac_try='test -z "$ac_c_werror_flag"
49381 || test ! -s conftest.err'
49382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49383 (eval $ac_try) 2>&5
49384 ac_status=$?
49385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49386 (exit $ac_status); }; } &&
49387 { ac_try='test -s conftest$ac_exeext'
49388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49389 (eval $ac_try) 2>&5
49390 ac_status=$?
49391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49392 (exit $ac_status); }; }; then
49393 eval "$as_ac_var=yes"
49394 else
49395 echo "$as_me: failed program was:" >&5
49396 sed 's/^/| /' conftest.$ac_ext >&5
49398 eval "$as_ac_var=no"
49400 rm -f conftest.err conftest.$ac_objext \
49401 conftest$ac_exeext conftest.$ac_ext
49403 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49404 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49405 if test `eval echo '${'$as_ac_var'}'` = yes; then
49406 cat >>confdefs.h <<_ACEOF
49407 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49408 _ACEOF
49411 done
49421 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
49422 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
49423 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
49424 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
49425 echo $ECHO_N "(cached) $ECHO_C" >&6
49426 else
49430 ac_ext=cc
49431 ac_cpp='$CXXCPP $CPPFLAGS'
49432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49436 cat >conftest.$ac_ext <<_ACEOF
49437 /* confdefs.h. */
49438 _ACEOF
49439 cat confdefs.h >>conftest.$ac_ext
49440 cat >>conftest.$ac_ext <<_ACEOF
49441 /* end confdefs.h. */
49442 #include <math.h>
49444 main ()
49446 frexpf(0, 0);
49448 return 0;
49450 _ACEOF
49451 rm -f conftest.$ac_objext
49452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49453 (eval $ac_compile) 2>conftest.er1
49454 ac_status=$?
49455 grep -v '^ *+' conftest.er1 >conftest.err
49456 rm -f conftest.er1
49457 cat conftest.err >&5
49458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49459 (exit $ac_status); } &&
49460 { ac_try='test -z "$ac_cxx_werror_flag"
49461 || test ! -s conftest.err'
49462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49463 (eval $ac_try) 2>&5
49464 ac_status=$?
49465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49466 (exit $ac_status); }; } &&
49467 { ac_try='test -s conftest.$ac_objext'
49468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49469 (eval $ac_try) 2>&5
49470 ac_status=$?
49471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49472 (exit $ac_status); }; }; then
49473 glibcxx_cv_func_frexpf_use=yes
49474 else
49475 echo "$as_me: failed program was:" >&5
49476 sed 's/^/| /' conftest.$ac_ext >&5
49478 glibcxx_cv_func_frexpf_use=no
49480 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49481 ac_ext=c
49482 ac_cpp='$CPP $CPPFLAGS'
49483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49491 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
49492 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
49494 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
49496 for ac_func in frexpf
49498 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49499 echo "$as_me:$LINENO: checking for $ac_func" >&5
49500 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49501 if eval "test \"\${$as_ac_var+set}\" = set"; then
49502 echo $ECHO_N "(cached) $ECHO_C" >&6
49503 else
49504 if test x$gcc_no_link = xyes; then
49505 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49506 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49507 { (exit 1); exit 1; }; }
49509 cat >conftest.$ac_ext <<_ACEOF
49510 /* confdefs.h. */
49511 _ACEOF
49512 cat confdefs.h >>conftest.$ac_ext
49513 cat >>conftest.$ac_ext <<_ACEOF
49514 /* end confdefs.h. */
49515 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49516 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49517 #define $ac_func innocuous_$ac_func
49519 /* System header to define __stub macros and hopefully few prototypes,
49520 which can conflict with char $ac_func (); below.
49521 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49522 <limits.h> exists even on freestanding compilers. */
49524 #ifdef __STDC__
49525 # include <limits.h>
49526 #else
49527 # include <assert.h>
49528 #endif
49530 #undef $ac_func
49532 /* Override any gcc2 internal prototype to avoid an error. */
49533 #ifdef __cplusplus
49534 extern "C"
49536 #endif
49537 /* We use char because int might match the return type of a gcc2
49538 builtin and then its argument prototype would still apply. */
49539 char $ac_func ();
49540 /* The GNU C library defines this for functions which it implements
49541 to always fail with ENOSYS. Some functions are actually named
49542 something starting with __ and the normal name is an alias. */
49543 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49544 choke me
49545 #else
49546 char (*f) () = $ac_func;
49547 #endif
49548 #ifdef __cplusplus
49550 #endif
49553 main ()
49555 return f != $ac_func;
49557 return 0;
49559 _ACEOF
49560 rm -f conftest.$ac_objext conftest$ac_exeext
49561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49562 (eval $ac_link) 2>conftest.er1
49563 ac_status=$?
49564 grep -v '^ *+' conftest.er1 >conftest.err
49565 rm -f conftest.er1
49566 cat conftest.err >&5
49567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49568 (exit $ac_status); } &&
49569 { ac_try='test -z "$ac_c_werror_flag"
49570 || test ! -s conftest.err'
49571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49572 (eval $ac_try) 2>&5
49573 ac_status=$?
49574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49575 (exit $ac_status); }; } &&
49576 { ac_try='test -s conftest$ac_exeext'
49577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49578 (eval $ac_try) 2>&5
49579 ac_status=$?
49580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49581 (exit $ac_status); }; }; then
49582 eval "$as_ac_var=yes"
49583 else
49584 echo "$as_me: failed program was:" >&5
49585 sed 's/^/| /' conftest.$ac_ext >&5
49587 eval "$as_ac_var=no"
49589 rm -f conftest.err conftest.$ac_objext \
49590 conftest$ac_exeext conftest.$ac_ext
49592 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49593 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49594 if test `eval echo '${'$as_ac_var'}'` = yes; then
49595 cat >>confdefs.h <<_ACEOF
49596 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49597 _ACEOF
49600 done
49602 else
49604 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
49605 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
49606 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
49607 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
49608 echo $ECHO_N "(cached) $ECHO_C" >&6
49609 else
49613 ac_ext=cc
49614 ac_cpp='$CXXCPP $CPPFLAGS'
49615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49619 cat >conftest.$ac_ext <<_ACEOF
49620 /* confdefs.h. */
49621 _ACEOF
49622 cat confdefs.h >>conftest.$ac_ext
49623 cat >>conftest.$ac_ext <<_ACEOF
49624 /* end confdefs.h. */
49625 #include <math.h>
49627 main ()
49629 _frexpf(0, 0);
49631 return 0;
49633 _ACEOF
49634 rm -f conftest.$ac_objext
49635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49636 (eval $ac_compile) 2>conftest.er1
49637 ac_status=$?
49638 grep -v '^ *+' conftest.er1 >conftest.err
49639 rm -f conftest.er1
49640 cat conftest.err >&5
49641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49642 (exit $ac_status); } &&
49643 { ac_try='test -z "$ac_cxx_werror_flag"
49644 || test ! -s conftest.err'
49645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49646 (eval $ac_try) 2>&5
49647 ac_status=$?
49648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49649 (exit $ac_status); }; } &&
49650 { ac_try='test -s conftest.$ac_objext'
49651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49652 (eval $ac_try) 2>&5
49653 ac_status=$?
49654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49655 (exit $ac_status); }; }; then
49656 glibcxx_cv_func__frexpf_use=yes
49657 else
49658 echo "$as_me: failed program was:" >&5
49659 sed 's/^/| /' conftest.$ac_ext >&5
49661 glibcxx_cv_func__frexpf_use=no
49663 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49664 ac_ext=c
49665 ac_cpp='$CPP $CPPFLAGS'
49666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49674 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
49675 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
49677 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
49679 for ac_func in _frexpf
49681 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49682 echo "$as_me:$LINENO: checking for $ac_func" >&5
49683 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49684 if eval "test \"\${$as_ac_var+set}\" = set"; then
49685 echo $ECHO_N "(cached) $ECHO_C" >&6
49686 else
49687 if test x$gcc_no_link = xyes; then
49688 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49689 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49690 { (exit 1); exit 1; }; }
49692 cat >conftest.$ac_ext <<_ACEOF
49693 /* confdefs.h. */
49694 _ACEOF
49695 cat confdefs.h >>conftest.$ac_ext
49696 cat >>conftest.$ac_ext <<_ACEOF
49697 /* end confdefs.h. */
49698 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49699 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49700 #define $ac_func innocuous_$ac_func
49702 /* System header to define __stub macros and hopefully few prototypes,
49703 which can conflict with char $ac_func (); below.
49704 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49705 <limits.h> exists even on freestanding compilers. */
49707 #ifdef __STDC__
49708 # include <limits.h>
49709 #else
49710 # include <assert.h>
49711 #endif
49713 #undef $ac_func
49715 /* Override any gcc2 internal prototype to avoid an error. */
49716 #ifdef __cplusplus
49717 extern "C"
49719 #endif
49720 /* We use char because int might match the return type of a gcc2
49721 builtin and then its argument prototype would still apply. */
49722 char $ac_func ();
49723 /* The GNU C library defines this for functions which it implements
49724 to always fail with ENOSYS. Some functions are actually named
49725 something starting with __ and the normal name is an alias. */
49726 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49727 choke me
49728 #else
49729 char (*f) () = $ac_func;
49730 #endif
49731 #ifdef __cplusplus
49733 #endif
49736 main ()
49738 return f != $ac_func;
49740 return 0;
49742 _ACEOF
49743 rm -f conftest.$ac_objext conftest$ac_exeext
49744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49745 (eval $ac_link) 2>conftest.er1
49746 ac_status=$?
49747 grep -v '^ *+' conftest.er1 >conftest.err
49748 rm -f conftest.er1
49749 cat conftest.err >&5
49750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49751 (exit $ac_status); } &&
49752 { ac_try='test -z "$ac_c_werror_flag"
49753 || test ! -s conftest.err'
49754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49755 (eval $ac_try) 2>&5
49756 ac_status=$?
49757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49758 (exit $ac_status); }; } &&
49759 { ac_try='test -s conftest$ac_exeext'
49760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49761 (eval $ac_try) 2>&5
49762 ac_status=$?
49763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49764 (exit $ac_status); }; }; then
49765 eval "$as_ac_var=yes"
49766 else
49767 echo "$as_me: failed program was:" >&5
49768 sed 's/^/| /' conftest.$ac_ext >&5
49770 eval "$as_ac_var=no"
49772 rm -f conftest.err conftest.$ac_objext \
49773 conftest$ac_exeext conftest.$ac_ext
49775 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49776 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49777 if test `eval echo '${'$as_ac_var'}'` = yes; then
49778 cat >>confdefs.h <<_ACEOF
49779 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49780 _ACEOF
49783 done
49793 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
49794 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
49795 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
49796 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
49797 echo $ECHO_N "(cached) $ECHO_C" >&6
49798 else
49802 ac_ext=cc
49803 ac_cpp='$CXXCPP $CPPFLAGS'
49804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49808 cat >conftest.$ac_ext <<_ACEOF
49809 /* confdefs.h. */
49810 _ACEOF
49811 cat confdefs.h >>conftest.$ac_ext
49812 cat >>conftest.$ac_ext <<_ACEOF
49813 /* end confdefs.h. */
49814 #include <math.h>
49816 main ()
49818 hypotf(0, 0);
49820 return 0;
49822 _ACEOF
49823 rm -f conftest.$ac_objext
49824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49825 (eval $ac_compile) 2>conftest.er1
49826 ac_status=$?
49827 grep -v '^ *+' conftest.er1 >conftest.err
49828 rm -f conftest.er1
49829 cat conftest.err >&5
49830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49831 (exit $ac_status); } &&
49832 { ac_try='test -z "$ac_cxx_werror_flag"
49833 || test ! -s conftest.err'
49834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49835 (eval $ac_try) 2>&5
49836 ac_status=$?
49837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49838 (exit $ac_status); }; } &&
49839 { ac_try='test -s conftest.$ac_objext'
49840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49841 (eval $ac_try) 2>&5
49842 ac_status=$?
49843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49844 (exit $ac_status); }; }; then
49845 glibcxx_cv_func_hypotf_use=yes
49846 else
49847 echo "$as_me: failed program was:" >&5
49848 sed 's/^/| /' conftest.$ac_ext >&5
49850 glibcxx_cv_func_hypotf_use=no
49852 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49853 ac_ext=c
49854 ac_cpp='$CPP $CPPFLAGS'
49855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49863 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
49864 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
49866 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
49868 for ac_func in hypotf
49870 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49871 echo "$as_me:$LINENO: checking for $ac_func" >&5
49872 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49873 if eval "test \"\${$as_ac_var+set}\" = set"; then
49874 echo $ECHO_N "(cached) $ECHO_C" >&6
49875 else
49876 if test x$gcc_no_link = xyes; then
49877 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49878 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49879 { (exit 1); exit 1; }; }
49881 cat >conftest.$ac_ext <<_ACEOF
49882 /* confdefs.h. */
49883 _ACEOF
49884 cat confdefs.h >>conftest.$ac_ext
49885 cat >>conftest.$ac_ext <<_ACEOF
49886 /* end confdefs.h. */
49887 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49888 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49889 #define $ac_func innocuous_$ac_func
49891 /* System header to define __stub macros and hopefully few prototypes,
49892 which can conflict with char $ac_func (); below.
49893 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49894 <limits.h> exists even on freestanding compilers. */
49896 #ifdef __STDC__
49897 # include <limits.h>
49898 #else
49899 # include <assert.h>
49900 #endif
49902 #undef $ac_func
49904 /* Override any gcc2 internal prototype to avoid an error. */
49905 #ifdef __cplusplus
49906 extern "C"
49908 #endif
49909 /* We use char because int might match the return type of a gcc2
49910 builtin and then its argument prototype would still apply. */
49911 char $ac_func ();
49912 /* The GNU C library defines this for functions which it implements
49913 to always fail with ENOSYS. Some functions are actually named
49914 something starting with __ and the normal name is an alias. */
49915 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49916 choke me
49917 #else
49918 char (*f) () = $ac_func;
49919 #endif
49920 #ifdef __cplusplus
49922 #endif
49925 main ()
49927 return f != $ac_func;
49929 return 0;
49931 _ACEOF
49932 rm -f conftest.$ac_objext conftest$ac_exeext
49933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49934 (eval $ac_link) 2>conftest.er1
49935 ac_status=$?
49936 grep -v '^ *+' conftest.er1 >conftest.err
49937 rm -f conftest.er1
49938 cat conftest.err >&5
49939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49940 (exit $ac_status); } &&
49941 { ac_try='test -z "$ac_c_werror_flag"
49942 || test ! -s conftest.err'
49943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49944 (eval $ac_try) 2>&5
49945 ac_status=$?
49946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49947 (exit $ac_status); }; } &&
49948 { ac_try='test -s conftest$ac_exeext'
49949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49950 (eval $ac_try) 2>&5
49951 ac_status=$?
49952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49953 (exit $ac_status); }; }; then
49954 eval "$as_ac_var=yes"
49955 else
49956 echo "$as_me: failed program was:" >&5
49957 sed 's/^/| /' conftest.$ac_ext >&5
49959 eval "$as_ac_var=no"
49961 rm -f conftest.err conftest.$ac_objext \
49962 conftest$ac_exeext conftest.$ac_ext
49964 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49965 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49966 if test `eval echo '${'$as_ac_var'}'` = yes; then
49967 cat >>confdefs.h <<_ACEOF
49968 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49969 _ACEOF
49972 done
49974 else
49976 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
49977 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
49978 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
49979 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
49980 echo $ECHO_N "(cached) $ECHO_C" >&6
49981 else
49985 ac_ext=cc
49986 ac_cpp='$CXXCPP $CPPFLAGS'
49987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49991 cat >conftest.$ac_ext <<_ACEOF
49992 /* confdefs.h. */
49993 _ACEOF
49994 cat confdefs.h >>conftest.$ac_ext
49995 cat >>conftest.$ac_ext <<_ACEOF
49996 /* end confdefs.h. */
49997 #include <math.h>
49999 main ()
50001 _hypotf(0, 0);
50003 return 0;
50005 _ACEOF
50006 rm -f conftest.$ac_objext
50007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50008 (eval $ac_compile) 2>conftest.er1
50009 ac_status=$?
50010 grep -v '^ *+' conftest.er1 >conftest.err
50011 rm -f conftest.er1
50012 cat conftest.err >&5
50013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50014 (exit $ac_status); } &&
50015 { ac_try='test -z "$ac_cxx_werror_flag"
50016 || test ! -s conftest.err'
50017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50018 (eval $ac_try) 2>&5
50019 ac_status=$?
50020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50021 (exit $ac_status); }; } &&
50022 { ac_try='test -s conftest.$ac_objext'
50023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50024 (eval $ac_try) 2>&5
50025 ac_status=$?
50026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50027 (exit $ac_status); }; }; then
50028 glibcxx_cv_func__hypotf_use=yes
50029 else
50030 echo "$as_me: failed program was:" >&5
50031 sed 's/^/| /' conftest.$ac_ext >&5
50033 glibcxx_cv_func__hypotf_use=no
50035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50036 ac_ext=c
50037 ac_cpp='$CPP $CPPFLAGS'
50038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50046 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
50047 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
50049 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
50051 for ac_func in _hypotf
50053 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50054 echo "$as_me:$LINENO: checking for $ac_func" >&5
50055 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50056 if eval "test \"\${$as_ac_var+set}\" = set"; then
50057 echo $ECHO_N "(cached) $ECHO_C" >&6
50058 else
50059 if test x$gcc_no_link = xyes; then
50060 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50061 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50062 { (exit 1); exit 1; }; }
50064 cat >conftest.$ac_ext <<_ACEOF
50065 /* confdefs.h. */
50066 _ACEOF
50067 cat confdefs.h >>conftest.$ac_ext
50068 cat >>conftest.$ac_ext <<_ACEOF
50069 /* end confdefs.h. */
50070 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50071 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50072 #define $ac_func innocuous_$ac_func
50074 /* System header to define __stub macros and hopefully few prototypes,
50075 which can conflict with char $ac_func (); below.
50076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50077 <limits.h> exists even on freestanding compilers. */
50079 #ifdef __STDC__
50080 # include <limits.h>
50081 #else
50082 # include <assert.h>
50083 #endif
50085 #undef $ac_func
50087 /* Override any gcc2 internal prototype to avoid an error. */
50088 #ifdef __cplusplus
50089 extern "C"
50091 #endif
50092 /* We use char because int might match the return type of a gcc2
50093 builtin and then its argument prototype would still apply. */
50094 char $ac_func ();
50095 /* The GNU C library defines this for functions which it implements
50096 to always fail with ENOSYS. Some functions are actually named
50097 something starting with __ and the normal name is an alias. */
50098 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50099 choke me
50100 #else
50101 char (*f) () = $ac_func;
50102 #endif
50103 #ifdef __cplusplus
50105 #endif
50108 main ()
50110 return f != $ac_func;
50112 return 0;
50114 _ACEOF
50115 rm -f conftest.$ac_objext conftest$ac_exeext
50116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50117 (eval $ac_link) 2>conftest.er1
50118 ac_status=$?
50119 grep -v '^ *+' conftest.er1 >conftest.err
50120 rm -f conftest.er1
50121 cat conftest.err >&5
50122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50123 (exit $ac_status); } &&
50124 { ac_try='test -z "$ac_c_werror_flag"
50125 || test ! -s conftest.err'
50126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50127 (eval $ac_try) 2>&5
50128 ac_status=$?
50129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50130 (exit $ac_status); }; } &&
50131 { ac_try='test -s conftest$ac_exeext'
50132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50133 (eval $ac_try) 2>&5
50134 ac_status=$?
50135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50136 (exit $ac_status); }; }; then
50137 eval "$as_ac_var=yes"
50138 else
50139 echo "$as_me: failed program was:" >&5
50140 sed 's/^/| /' conftest.$ac_ext >&5
50142 eval "$as_ac_var=no"
50144 rm -f conftest.err conftest.$ac_objext \
50145 conftest$ac_exeext conftest.$ac_ext
50147 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50148 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50149 if test `eval echo '${'$as_ac_var'}'` = yes; then
50150 cat >>confdefs.h <<_ACEOF
50151 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50152 _ACEOF
50155 done
50165 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
50166 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
50167 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
50168 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
50169 echo $ECHO_N "(cached) $ECHO_C" >&6
50170 else
50174 ac_ext=cc
50175 ac_cpp='$CXXCPP $CPPFLAGS'
50176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50180 cat >conftest.$ac_ext <<_ACEOF
50181 /* confdefs.h. */
50182 _ACEOF
50183 cat confdefs.h >>conftest.$ac_ext
50184 cat >>conftest.$ac_ext <<_ACEOF
50185 /* end confdefs.h. */
50186 #include <math.h>
50188 main ()
50190 ldexpf(0, 0);
50192 return 0;
50194 _ACEOF
50195 rm -f conftest.$ac_objext
50196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50197 (eval $ac_compile) 2>conftest.er1
50198 ac_status=$?
50199 grep -v '^ *+' conftest.er1 >conftest.err
50200 rm -f conftest.er1
50201 cat conftest.err >&5
50202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50203 (exit $ac_status); } &&
50204 { ac_try='test -z "$ac_cxx_werror_flag"
50205 || test ! -s conftest.err'
50206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50207 (eval $ac_try) 2>&5
50208 ac_status=$?
50209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50210 (exit $ac_status); }; } &&
50211 { ac_try='test -s conftest.$ac_objext'
50212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50213 (eval $ac_try) 2>&5
50214 ac_status=$?
50215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50216 (exit $ac_status); }; }; then
50217 glibcxx_cv_func_ldexpf_use=yes
50218 else
50219 echo "$as_me: failed program was:" >&5
50220 sed 's/^/| /' conftest.$ac_ext >&5
50222 glibcxx_cv_func_ldexpf_use=no
50224 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50225 ac_ext=c
50226 ac_cpp='$CPP $CPPFLAGS'
50227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50235 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
50236 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
50238 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
50240 for ac_func in ldexpf
50242 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50243 echo "$as_me:$LINENO: checking for $ac_func" >&5
50244 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50245 if eval "test \"\${$as_ac_var+set}\" = set"; then
50246 echo $ECHO_N "(cached) $ECHO_C" >&6
50247 else
50248 if test x$gcc_no_link = xyes; then
50249 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50250 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50251 { (exit 1); exit 1; }; }
50253 cat >conftest.$ac_ext <<_ACEOF
50254 /* confdefs.h. */
50255 _ACEOF
50256 cat confdefs.h >>conftest.$ac_ext
50257 cat >>conftest.$ac_ext <<_ACEOF
50258 /* end confdefs.h. */
50259 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50260 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50261 #define $ac_func innocuous_$ac_func
50263 /* System header to define __stub macros and hopefully few prototypes,
50264 which can conflict with char $ac_func (); below.
50265 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50266 <limits.h> exists even on freestanding compilers. */
50268 #ifdef __STDC__
50269 # include <limits.h>
50270 #else
50271 # include <assert.h>
50272 #endif
50274 #undef $ac_func
50276 /* Override any gcc2 internal prototype to avoid an error. */
50277 #ifdef __cplusplus
50278 extern "C"
50280 #endif
50281 /* We use char because int might match the return type of a gcc2
50282 builtin and then its argument prototype would still apply. */
50283 char $ac_func ();
50284 /* The GNU C library defines this for functions which it implements
50285 to always fail with ENOSYS. Some functions are actually named
50286 something starting with __ and the normal name is an alias. */
50287 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50288 choke me
50289 #else
50290 char (*f) () = $ac_func;
50291 #endif
50292 #ifdef __cplusplus
50294 #endif
50297 main ()
50299 return f != $ac_func;
50301 return 0;
50303 _ACEOF
50304 rm -f conftest.$ac_objext conftest$ac_exeext
50305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50306 (eval $ac_link) 2>conftest.er1
50307 ac_status=$?
50308 grep -v '^ *+' conftest.er1 >conftest.err
50309 rm -f conftest.er1
50310 cat conftest.err >&5
50311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50312 (exit $ac_status); } &&
50313 { ac_try='test -z "$ac_c_werror_flag"
50314 || test ! -s conftest.err'
50315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50316 (eval $ac_try) 2>&5
50317 ac_status=$?
50318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50319 (exit $ac_status); }; } &&
50320 { ac_try='test -s conftest$ac_exeext'
50321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50322 (eval $ac_try) 2>&5
50323 ac_status=$?
50324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50325 (exit $ac_status); }; }; then
50326 eval "$as_ac_var=yes"
50327 else
50328 echo "$as_me: failed program was:" >&5
50329 sed 's/^/| /' conftest.$ac_ext >&5
50331 eval "$as_ac_var=no"
50333 rm -f conftest.err conftest.$ac_objext \
50334 conftest$ac_exeext conftest.$ac_ext
50336 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50337 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50338 if test `eval echo '${'$as_ac_var'}'` = yes; then
50339 cat >>confdefs.h <<_ACEOF
50340 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50341 _ACEOF
50344 done
50346 else
50348 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
50349 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
50350 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
50351 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
50352 echo $ECHO_N "(cached) $ECHO_C" >&6
50353 else
50357 ac_ext=cc
50358 ac_cpp='$CXXCPP $CPPFLAGS'
50359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50363 cat >conftest.$ac_ext <<_ACEOF
50364 /* confdefs.h. */
50365 _ACEOF
50366 cat confdefs.h >>conftest.$ac_ext
50367 cat >>conftest.$ac_ext <<_ACEOF
50368 /* end confdefs.h. */
50369 #include <math.h>
50371 main ()
50373 _ldexpf(0, 0);
50375 return 0;
50377 _ACEOF
50378 rm -f conftest.$ac_objext
50379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50380 (eval $ac_compile) 2>conftest.er1
50381 ac_status=$?
50382 grep -v '^ *+' conftest.er1 >conftest.err
50383 rm -f conftest.er1
50384 cat conftest.err >&5
50385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50386 (exit $ac_status); } &&
50387 { ac_try='test -z "$ac_cxx_werror_flag"
50388 || test ! -s conftest.err'
50389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50390 (eval $ac_try) 2>&5
50391 ac_status=$?
50392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50393 (exit $ac_status); }; } &&
50394 { ac_try='test -s conftest.$ac_objext'
50395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50396 (eval $ac_try) 2>&5
50397 ac_status=$?
50398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50399 (exit $ac_status); }; }; then
50400 glibcxx_cv_func__ldexpf_use=yes
50401 else
50402 echo "$as_me: failed program was:" >&5
50403 sed 's/^/| /' conftest.$ac_ext >&5
50405 glibcxx_cv_func__ldexpf_use=no
50407 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50408 ac_ext=c
50409 ac_cpp='$CPP $CPPFLAGS'
50410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50418 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
50419 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
50421 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
50423 for ac_func in _ldexpf
50425 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50426 echo "$as_me:$LINENO: checking for $ac_func" >&5
50427 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50428 if eval "test \"\${$as_ac_var+set}\" = set"; then
50429 echo $ECHO_N "(cached) $ECHO_C" >&6
50430 else
50431 if test x$gcc_no_link = xyes; then
50432 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50433 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50434 { (exit 1); exit 1; }; }
50436 cat >conftest.$ac_ext <<_ACEOF
50437 /* confdefs.h. */
50438 _ACEOF
50439 cat confdefs.h >>conftest.$ac_ext
50440 cat >>conftest.$ac_ext <<_ACEOF
50441 /* end confdefs.h. */
50442 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50443 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50444 #define $ac_func innocuous_$ac_func
50446 /* System header to define __stub macros and hopefully few prototypes,
50447 which can conflict with char $ac_func (); below.
50448 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50449 <limits.h> exists even on freestanding compilers. */
50451 #ifdef __STDC__
50452 # include <limits.h>
50453 #else
50454 # include <assert.h>
50455 #endif
50457 #undef $ac_func
50459 /* Override any gcc2 internal prototype to avoid an error. */
50460 #ifdef __cplusplus
50461 extern "C"
50463 #endif
50464 /* We use char because int might match the return type of a gcc2
50465 builtin and then its argument prototype would still apply. */
50466 char $ac_func ();
50467 /* The GNU C library defines this for functions which it implements
50468 to always fail with ENOSYS. Some functions are actually named
50469 something starting with __ and the normal name is an alias. */
50470 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50471 choke me
50472 #else
50473 char (*f) () = $ac_func;
50474 #endif
50475 #ifdef __cplusplus
50477 #endif
50480 main ()
50482 return f != $ac_func;
50484 return 0;
50486 _ACEOF
50487 rm -f conftest.$ac_objext conftest$ac_exeext
50488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50489 (eval $ac_link) 2>conftest.er1
50490 ac_status=$?
50491 grep -v '^ *+' conftest.er1 >conftest.err
50492 rm -f conftest.er1
50493 cat conftest.err >&5
50494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50495 (exit $ac_status); } &&
50496 { ac_try='test -z "$ac_c_werror_flag"
50497 || test ! -s conftest.err'
50498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50499 (eval $ac_try) 2>&5
50500 ac_status=$?
50501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50502 (exit $ac_status); }; } &&
50503 { ac_try='test -s conftest$ac_exeext'
50504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50505 (eval $ac_try) 2>&5
50506 ac_status=$?
50507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50508 (exit $ac_status); }; }; then
50509 eval "$as_ac_var=yes"
50510 else
50511 echo "$as_me: failed program was:" >&5
50512 sed 's/^/| /' conftest.$ac_ext >&5
50514 eval "$as_ac_var=no"
50516 rm -f conftest.err conftest.$ac_objext \
50517 conftest$ac_exeext conftest.$ac_ext
50519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50520 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50521 if test `eval echo '${'$as_ac_var'}'` = yes; then
50522 cat >>confdefs.h <<_ACEOF
50523 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50524 _ACEOF
50527 done
50537 echo "$as_me:$LINENO: checking for logf declaration" >&5
50538 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
50539 if test x${glibcxx_cv_func_logf_use+set} != xset; then
50540 if test "${glibcxx_cv_func_logf_use+set}" = set; then
50541 echo $ECHO_N "(cached) $ECHO_C" >&6
50542 else
50546 ac_ext=cc
50547 ac_cpp='$CXXCPP $CPPFLAGS'
50548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50552 cat >conftest.$ac_ext <<_ACEOF
50553 /* confdefs.h. */
50554 _ACEOF
50555 cat confdefs.h >>conftest.$ac_ext
50556 cat >>conftest.$ac_ext <<_ACEOF
50557 /* end confdefs.h. */
50558 #include <math.h>
50559 #ifdef HAVE_IEEEFP_H
50560 #include <ieeefp.h>
50561 #endif
50564 main ()
50566 logf(0);
50568 return 0;
50570 _ACEOF
50571 rm -f conftest.$ac_objext
50572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50573 (eval $ac_compile) 2>conftest.er1
50574 ac_status=$?
50575 grep -v '^ *+' conftest.er1 >conftest.err
50576 rm -f conftest.er1
50577 cat conftest.err >&5
50578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50579 (exit $ac_status); } &&
50580 { ac_try='test -z "$ac_cxx_werror_flag"
50581 || test ! -s conftest.err'
50582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50583 (eval $ac_try) 2>&5
50584 ac_status=$?
50585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50586 (exit $ac_status); }; } &&
50587 { ac_try='test -s conftest.$ac_objext'
50588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50589 (eval $ac_try) 2>&5
50590 ac_status=$?
50591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50592 (exit $ac_status); }; }; then
50593 glibcxx_cv_func_logf_use=yes
50594 else
50595 echo "$as_me: failed program was:" >&5
50596 sed 's/^/| /' conftest.$ac_ext >&5
50598 glibcxx_cv_func_logf_use=no
50600 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50601 ac_ext=c
50602 ac_cpp='$CPP $CPPFLAGS'
50603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50611 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
50612 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
50614 if test x$glibcxx_cv_func_logf_use = x"yes"; then
50616 for ac_func in logf
50618 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50619 echo "$as_me:$LINENO: checking for $ac_func" >&5
50620 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50621 if eval "test \"\${$as_ac_var+set}\" = set"; then
50622 echo $ECHO_N "(cached) $ECHO_C" >&6
50623 else
50624 if test x$gcc_no_link = xyes; then
50625 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50626 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50627 { (exit 1); exit 1; }; }
50629 cat >conftest.$ac_ext <<_ACEOF
50630 /* confdefs.h. */
50631 _ACEOF
50632 cat confdefs.h >>conftest.$ac_ext
50633 cat >>conftest.$ac_ext <<_ACEOF
50634 /* end confdefs.h. */
50635 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50636 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50637 #define $ac_func innocuous_$ac_func
50639 /* System header to define __stub macros and hopefully few prototypes,
50640 which can conflict with char $ac_func (); below.
50641 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50642 <limits.h> exists even on freestanding compilers. */
50644 #ifdef __STDC__
50645 # include <limits.h>
50646 #else
50647 # include <assert.h>
50648 #endif
50650 #undef $ac_func
50652 /* Override any gcc2 internal prototype to avoid an error. */
50653 #ifdef __cplusplus
50654 extern "C"
50656 #endif
50657 /* We use char because int might match the return type of a gcc2
50658 builtin and then its argument prototype would still apply. */
50659 char $ac_func ();
50660 /* The GNU C library defines this for functions which it implements
50661 to always fail with ENOSYS. Some functions are actually named
50662 something starting with __ and the normal name is an alias. */
50663 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50664 choke me
50665 #else
50666 char (*f) () = $ac_func;
50667 #endif
50668 #ifdef __cplusplus
50670 #endif
50673 main ()
50675 return f != $ac_func;
50677 return 0;
50679 _ACEOF
50680 rm -f conftest.$ac_objext conftest$ac_exeext
50681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50682 (eval $ac_link) 2>conftest.er1
50683 ac_status=$?
50684 grep -v '^ *+' conftest.er1 >conftest.err
50685 rm -f conftest.er1
50686 cat conftest.err >&5
50687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50688 (exit $ac_status); } &&
50689 { ac_try='test -z "$ac_c_werror_flag"
50690 || test ! -s conftest.err'
50691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50692 (eval $ac_try) 2>&5
50693 ac_status=$?
50694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50695 (exit $ac_status); }; } &&
50696 { ac_try='test -s conftest$ac_exeext'
50697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50698 (eval $ac_try) 2>&5
50699 ac_status=$?
50700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50701 (exit $ac_status); }; }; then
50702 eval "$as_ac_var=yes"
50703 else
50704 echo "$as_me: failed program was:" >&5
50705 sed 's/^/| /' conftest.$ac_ext >&5
50707 eval "$as_ac_var=no"
50709 rm -f conftest.err conftest.$ac_objext \
50710 conftest$ac_exeext conftest.$ac_ext
50712 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50713 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50714 if test `eval echo '${'$as_ac_var'}'` = yes; then
50715 cat >>confdefs.h <<_ACEOF
50716 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50717 _ACEOF
50720 done
50722 else
50724 echo "$as_me:$LINENO: checking for _logf declaration" >&5
50725 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
50726 if test x${glibcxx_cv_func__logf_use+set} != xset; then
50727 if test "${glibcxx_cv_func__logf_use+set}" = set; then
50728 echo $ECHO_N "(cached) $ECHO_C" >&6
50729 else
50733 ac_ext=cc
50734 ac_cpp='$CXXCPP $CPPFLAGS'
50735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50739 cat >conftest.$ac_ext <<_ACEOF
50740 /* confdefs.h. */
50741 _ACEOF
50742 cat confdefs.h >>conftest.$ac_ext
50743 cat >>conftest.$ac_ext <<_ACEOF
50744 /* end confdefs.h. */
50745 #include <math.h>
50746 #ifdef HAVE_IEEEFP_H
50747 #include <ieeefp.h>
50748 #endif
50751 main ()
50753 _logf(0);
50755 return 0;
50757 _ACEOF
50758 rm -f conftest.$ac_objext
50759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50760 (eval $ac_compile) 2>conftest.er1
50761 ac_status=$?
50762 grep -v '^ *+' conftest.er1 >conftest.err
50763 rm -f conftest.er1
50764 cat conftest.err >&5
50765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50766 (exit $ac_status); } &&
50767 { ac_try='test -z "$ac_cxx_werror_flag"
50768 || test ! -s conftest.err'
50769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50770 (eval $ac_try) 2>&5
50771 ac_status=$?
50772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50773 (exit $ac_status); }; } &&
50774 { ac_try='test -s conftest.$ac_objext'
50775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50776 (eval $ac_try) 2>&5
50777 ac_status=$?
50778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50779 (exit $ac_status); }; }; then
50780 glibcxx_cv_func__logf_use=yes
50781 else
50782 echo "$as_me: failed program was:" >&5
50783 sed 's/^/| /' conftest.$ac_ext >&5
50785 glibcxx_cv_func__logf_use=no
50787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50788 ac_ext=c
50789 ac_cpp='$CPP $CPPFLAGS'
50790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50798 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
50799 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
50801 if test x$glibcxx_cv_func__logf_use = x"yes"; then
50803 for ac_func in _logf
50805 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50806 echo "$as_me:$LINENO: checking for $ac_func" >&5
50807 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50808 if eval "test \"\${$as_ac_var+set}\" = set"; then
50809 echo $ECHO_N "(cached) $ECHO_C" >&6
50810 else
50811 if test x$gcc_no_link = xyes; then
50812 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50813 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50814 { (exit 1); exit 1; }; }
50816 cat >conftest.$ac_ext <<_ACEOF
50817 /* confdefs.h. */
50818 _ACEOF
50819 cat confdefs.h >>conftest.$ac_ext
50820 cat >>conftest.$ac_ext <<_ACEOF
50821 /* end confdefs.h. */
50822 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50823 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50824 #define $ac_func innocuous_$ac_func
50826 /* System header to define __stub macros and hopefully few prototypes,
50827 which can conflict with char $ac_func (); below.
50828 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50829 <limits.h> exists even on freestanding compilers. */
50831 #ifdef __STDC__
50832 # include <limits.h>
50833 #else
50834 # include <assert.h>
50835 #endif
50837 #undef $ac_func
50839 /* Override any gcc2 internal prototype to avoid an error. */
50840 #ifdef __cplusplus
50841 extern "C"
50843 #endif
50844 /* We use char because int might match the return type of a gcc2
50845 builtin and then its argument prototype would still apply. */
50846 char $ac_func ();
50847 /* The GNU C library defines this for functions which it implements
50848 to always fail with ENOSYS. Some functions are actually named
50849 something starting with __ and the normal name is an alias. */
50850 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50851 choke me
50852 #else
50853 char (*f) () = $ac_func;
50854 #endif
50855 #ifdef __cplusplus
50857 #endif
50860 main ()
50862 return f != $ac_func;
50864 return 0;
50866 _ACEOF
50867 rm -f conftest.$ac_objext conftest$ac_exeext
50868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50869 (eval $ac_link) 2>conftest.er1
50870 ac_status=$?
50871 grep -v '^ *+' conftest.er1 >conftest.err
50872 rm -f conftest.er1
50873 cat conftest.err >&5
50874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50875 (exit $ac_status); } &&
50876 { ac_try='test -z "$ac_c_werror_flag"
50877 || test ! -s conftest.err'
50878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50879 (eval $ac_try) 2>&5
50880 ac_status=$?
50881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50882 (exit $ac_status); }; } &&
50883 { ac_try='test -s conftest$ac_exeext'
50884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50885 (eval $ac_try) 2>&5
50886 ac_status=$?
50887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50888 (exit $ac_status); }; }; then
50889 eval "$as_ac_var=yes"
50890 else
50891 echo "$as_me: failed program was:" >&5
50892 sed 's/^/| /' conftest.$ac_ext >&5
50894 eval "$as_ac_var=no"
50896 rm -f conftest.err conftest.$ac_objext \
50897 conftest$ac_exeext conftest.$ac_ext
50899 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50900 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50901 if test `eval echo '${'$as_ac_var'}'` = yes; then
50902 cat >>confdefs.h <<_ACEOF
50903 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50904 _ACEOF
50907 done
50917 echo "$as_me:$LINENO: checking for log10f declaration" >&5
50918 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
50919 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
50920 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
50921 echo $ECHO_N "(cached) $ECHO_C" >&6
50922 else
50926 ac_ext=cc
50927 ac_cpp='$CXXCPP $CPPFLAGS'
50928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50932 cat >conftest.$ac_ext <<_ACEOF
50933 /* confdefs.h. */
50934 _ACEOF
50935 cat confdefs.h >>conftest.$ac_ext
50936 cat >>conftest.$ac_ext <<_ACEOF
50937 /* end confdefs.h. */
50938 #include <math.h>
50939 #ifdef HAVE_IEEEFP_H
50940 #include <ieeefp.h>
50941 #endif
50944 main ()
50946 log10f(0);
50948 return 0;
50950 _ACEOF
50951 rm -f conftest.$ac_objext
50952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50953 (eval $ac_compile) 2>conftest.er1
50954 ac_status=$?
50955 grep -v '^ *+' conftest.er1 >conftest.err
50956 rm -f conftest.er1
50957 cat conftest.err >&5
50958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50959 (exit $ac_status); } &&
50960 { ac_try='test -z "$ac_cxx_werror_flag"
50961 || test ! -s conftest.err'
50962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50963 (eval $ac_try) 2>&5
50964 ac_status=$?
50965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50966 (exit $ac_status); }; } &&
50967 { ac_try='test -s conftest.$ac_objext'
50968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50969 (eval $ac_try) 2>&5
50970 ac_status=$?
50971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50972 (exit $ac_status); }; }; then
50973 glibcxx_cv_func_log10f_use=yes
50974 else
50975 echo "$as_me: failed program was:" >&5
50976 sed 's/^/| /' conftest.$ac_ext >&5
50978 glibcxx_cv_func_log10f_use=no
50980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50981 ac_ext=c
50982 ac_cpp='$CPP $CPPFLAGS'
50983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50991 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
50992 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
50994 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
50996 for ac_func in log10f
50998 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50999 echo "$as_me:$LINENO: checking for $ac_func" >&5
51000 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51001 if eval "test \"\${$as_ac_var+set}\" = set"; then
51002 echo $ECHO_N "(cached) $ECHO_C" >&6
51003 else
51004 if test x$gcc_no_link = xyes; then
51005 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51006 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51007 { (exit 1); exit 1; }; }
51009 cat >conftest.$ac_ext <<_ACEOF
51010 /* confdefs.h. */
51011 _ACEOF
51012 cat confdefs.h >>conftest.$ac_ext
51013 cat >>conftest.$ac_ext <<_ACEOF
51014 /* end confdefs.h. */
51015 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51016 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51017 #define $ac_func innocuous_$ac_func
51019 /* System header to define __stub macros and hopefully few prototypes,
51020 which can conflict with char $ac_func (); below.
51021 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51022 <limits.h> exists even on freestanding compilers. */
51024 #ifdef __STDC__
51025 # include <limits.h>
51026 #else
51027 # include <assert.h>
51028 #endif
51030 #undef $ac_func
51032 /* Override any gcc2 internal prototype to avoid an error. */
51033 #ifdef __cplusplus
51034 extern "C"
51036 #endif
51037 /* We use char because int might match the return type of a gcc2
51038 builtin and then its argument prototype would still apply. */
51039 char $ac_func ();
51040 /* The GNU C library defines this for functions which it implements
51041 to always fail with ENOSYS. Some functions are actually named
51042 something starting with __ and the normal name is an alias. */
51043 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51044 choke me
51045 #else
51046 char (*f) () = $ac_func;
51047 #endif
51048 #ifdef __cplusplus
51050 #endif
51053 main ()
51055 return f != $ac_func;
51057 return 0;
51059 _ACEOF
51060 rm -f conftest.$ac_objext conftest$ac_exeext
51061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51062 (eval $ac_link) 2>conftest.er1
51063 ac_status=$?
51064 grep -v '^ *+' conftest.er1 >conftest.err
51065 rm -f conftest.er1
51066 cat conftest.err >&5
51067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51068 (exit $ac_status); } &&
51069 { ac_try='test -z "$ac_c_werror_flag"
51070 || test ! -s conftest.err'
51071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51072 (eval $ac_try) 2>&5
51073 ac_status=$?
51074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51075 (exit $ac_status); }; } &&
51076 { ac_try='test -s conftest$ac_exeext'
51077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51078 (eval $ac_try) 2>&5
51079 ac_status=$?
51080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51081 (exit $ac_status); }; }; then
51082 eval "$as_ac_var=yes"
51083 else
51084 echo "$as_me: failed program was:" >&5
51085 sed 's/^/| /' conftest.$ac_ext >&5
51087 eval "$as_ac_var=no"
51089 rm -f conftest.err conftest.$ac_objext \
51090 conftest$ac_exeext conftest.$ac_ext
51092 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51093 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51094 if test `eval echo '${'$as_ac_var'}'` = yes; then
51095 cat >>confdefs.h <<_ACEOF
51096 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51097 _ACEOF
51100 done
51102 else
51104 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
51105 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
51106 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
51107 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
51108 echo $ECHO_N "(cached) $ECHO_C" >&6
51109 else
51113 ac_ext=cc
51114 ac_cpp='$CXXCPP $CPPFLAGS'
51115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51119 cat >conftest.$ac_ext <<_ACEOF
51120 /* confdefs.h. */
51121 _ACEOF
51122 cat confdefs.h >>conftest.$ac_ext
51123 cat >>conftest.$ac_ext <<_ACEOF
51124 /* end confdefs.h. */
51125 #include <math.h>
51126 #ifdef HAVE_IEEEFP_H
51127 #include <ieeefp.h>
51128 #endif
51131 main ()
51133 _log10f(0);
51135 return 0;
51137 _ACEOF
51138 rm -f conftest.$ac_objext
51139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51140 (eval $ac_compile) 2>conftest.er1
51141 ac_status=$?
51142 grep -v '^ *+' conftest.er1 >conftest.err
51143 rm -f conftest.er1
51144 cat conftest.err >&5
51145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51146 (exit $ac_status); } &&
51147 { ac_try='test -z "$ac_cxx_werror_flag"
51148 || test ! -s conftest.err'
51149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51150 (eval $ac_try) 2>&5
51151 ac_status=$?
51152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51153 (exit $ac_status); }; } &&
51154 { ac_try='test -s conftest.$ac_objext'
51155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51156 (eval $ac_try) 2>&5
51157 ac_status=$?
51158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51159 (exit $ac_status); }; }; then
51160 glibcxx_cv_func__log10f_use=yes
51161 else
51162 echo "$as_me: failed program was:" >&5
51163 sed 's/^/| /' conftest.$ac_ext >&5
51165 glibcxx_cv_func__log10f_use=no
51167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51168 ac_ext=c
51169 ac_cpp='$CPP $CPPFLAGS'
51170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51178 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
51179 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
51181 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
51183 for ac_func in _log10f
51185 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51186 echo "$as_me:$LINENO: checking for $ac_func" >&5
51187 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51188 if eval "test \"\${$as_ac_var+set}\" = set"; then
51189 echo $ECHO_N "(cached) $ECHO_C" >&6
51190 else
51191 if test x$gcc_no_link = xyes; then
51192 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51193 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51194 { (exit 1); exit 1; }; }
51196 cat >conftest.$ac_ext <<_ACEOF
51197 /* confdefs.h. */
51198 _ACEOF
51199 cat confdefs.h >>conftest.$ac_ext
51200 cat >>conftest.$ac_ext <<_ACEOF
51201 /* end confdefs.h. */
51202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51203 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51204 #define $ac_func innocuous_$ac_func
51206 /* System header to define __stub macros and hopefully few prototypes,
51207 which can conflict with char $ac_func (); below.
51208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51209 <limits.h> exists even on freestanding compilers. */
51211 #ifdef __STDC__
51212 # include <limits.h>
51213 #else
51214 # include <assert.h>
51215 #endif
51217 #undef $ac_func
51219 /* Override any gcc2 internal prototype to avoid an error. */
51220 #ifdef __cplusplus
51221 extern "C"
51223 #endif
51224 /* We use char because int might match the return type of a gcc2
51225 builtin and then its argument prototype would still apply. */
51226 char $ac_func ();
51227 /* The GNU C library defines this for functions which it implements
51228 to always fail with ENOSYS. Some functions are actually named
51229 something starting with __ and the normal name is an alias. */
51230 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51231 choke me
51232 #else
51233 char (*f) () = $ac_func;
51234 #endif
51235 #ifdef __cplusplus
51237 #endif
51240 main ()
51242 return f != $ac_func;
51244 return 0;
51246 _ACEOF
51247 rm -f conftest.$ac_objext conftest$ac_exeext
51248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51249 (eval $ac_link) 2>conftest.er1
51250 ac_status=$?
51251 grep -v '^ *+' conftest.er1 >conftest.err
51252 rm -f conftest.er1
51253 cat conftest.err >&5
51254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51255 (exit $ac_status); } &&
51256 { ac_try='test -z "$ac_c_werror_flag"
51257 || test ! -s conftest.err'
51258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51259 (eval $ac_try) 2>&5
51260 ac_status=$?
51261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51262 (exit $ac_status); }; } &&
51263 { ac_try='test -s conftest$ac_exeext'
51264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51265 (eval $ac_try) 2>&5
51266 ac_status=$?
51267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51268 (exit $ac_status); }; }; then
51269 eval "$as_ac_var=yes"
51270 else
51271 echo "$as_me: failed program was:" >&5
51272 sed 's/^/| /' conftest.$ac_ext >&5
51274 eval "$as_ac_var=no"
51276 rm -f conftest.err conftest.$ac_objext \
51277 conftest$ac_exeext conftest.$ac_ext
51279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51280 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51281 if test `eval echo '${'$as_ac_var'}'` = yes; then
51282 cat >>confdefs.h <<_ACEOF
51283 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51284 _ACEOF
51287 done
51297 echo "$as_me:$LINENO: checking for modff declaration" >&5
51298 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
51299 if test x${glibcxx_cv_func_modff_use+set} != xset; then
51300 if test "${glibcxx_cv_func_modff_use+set}" = set; then
51301 echo $ECHO_N "(cached) $ECHO_C" >&6
51302 else
51306 ac_ext=cc
51307 ac_cpp='$CXXCPP $CPPFLAGS'
51308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51312 cat >conftest.$ac_ext <<_ACEOF
51313 /* confdefs.h. */
51314 _ACEOF
51315 cat confdefs.h >>conftest.$ac_ext
51316 cat >>conftest.$ac_ext <<_ACEOF
51317 /* end confdefs.h. */
51318 #include <math.h>
51320 main ()
51322 modff(0, 0);
51324 return 0;
51326 _ACEOF
51327 rm -f conftest.$ac_objext
51328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51329 (eval $ac_compile) 2>conftest.er1
51330 ac_status=$?
51331 grep -v '^ *+' conftest.er1 >conftest.err
51332 rm -f conftest.er1
51333 cat conftest.err >&5
51334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51335 (exit $ac_status); } &&
51336 { ac_try='test -z "$ac_cxx_werror_flag"
51337 || test ! -s conftest.err'
51338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51339 (eval $ac_try) 2>&5
51340 ac_status=$?
51341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51342 (exit $ac_status); }; } &&
51343 { ac_try='test -s conftest.$ac_objext'
51344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51345 (eval $ac_try) 2>&5
51346 ac_status=$?
51347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51348 (exit $ac_status); }; }; then
51349 glibcxx_cv_func_modff_use=yes
51350 else
51351 echo "$as_me: failed program was:" >&5
51352 sed 's/^/| /' conftest.$ac_ext >&5
51354 glibcxx_cv_func_modff_use=no
51356 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51357 ac_ext=c
51358 ac_cpp='$CPP $CPPFLAGS'
51359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51367 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
51368 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
51370 if test x$glibcxx_cv_func_modff_use = x"yes"; then
51372 for ac_func in modff
51374 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51375 echo "$as_me:$LINENO: checking for $ac_func" >&5
51376 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51377 if eval "test \"\${$as_ac_var+set}\" = set"; then
51378 echo $ECHO_N "(cached) $ECHO_C" >&6
51379 else
51380 if test x$gcc_no_link = xyes; then
51381 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51382 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51383 { (exit 1); exit 1; }; }
51385 cat >conftest.$ac_ext <<_ACEOF
51386 /* confdefs.h. */
51387 _ACEOF
51388 cat confdefs.h >>conftest.$ac_ext
51389 cat >>conftest.$ac_ext <<_ACEOF
51390 /* end confdefs.h. */
51391 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51392 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51393 #define $ac_func innocuous_$ac_func
51395 /* System header to define __stub macros and hopefully few prototypes,
51396 which can conflict with char $ac_func (); below.
51397 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51398 <limits.h> exists even on freestanding compilers. */
51400 #ifdef __STDC__
51401 # include <limits.h>
51402 #else
51403 # include <assert.h>
51404 #endif
51406 #undef $ac_func
51408 /* Override any gcc2 internal prototype to avoid an error. */
51409 #ifdef __cplusplus
51410 extern "C"
51412 #endif
51413 /* We use char because int might match the return type of a gcc2
51414 builtin and then its argument prototype would still apply. */
51415 char $ac_func ();
51416 /* The GNU C library defines this for functions which it implements
51417 to always fail with ENOSYS. Some functions are actually named
51418 something starting with __ and the normal name is an alias. */
51419 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51420 choke me
51421 #else
51422 char (*f) () = $ac_func;
51423 #endif
51424 #ifdef __cplusplus
51426 #endif
51429 main ()
51431 return f != $ac_func;
51433 return 0;
51435 _ACEOF
51436 rm -f conftest.$ac_objext conftest$ac_exeext
51437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51438 (eval $ac_link) 2>conftest.er1
51439 ac_status=$?
51440 grep -v '^ *+' conftest.er1 >conftest.err
51441 rm -f conftest.er1
51442 cat conftest.err >&5
51443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51444 (exit $ac_status); } &&
51445 { ac_try='test -z "$ac_c_werror_flag"
51446 || test ! -s conftest.err'
51447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51448 (eval $ac_try) 2>&5
51449 ac_status=$?
51450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51451 (exit $ac_status); }; } &&
51452 { ac_try='test -s conftest$ac_exeext'
51453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51454 (eval $ac_try) 2>&5
51455 ac_status=$?
51456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51457 (exit $ac_status); }; }; then
51458 eval "$as_ac_var=yes"
51459 else
51460 echo "$as_me: failed program was:" >&5
51461 sed 's/^/| /' conftest.$ac_ext >&5
51463 eval "$as_ac_var=no"
51465 rm -f conftest.err conftest.$ac_objext \
51466 conftest$ac_exeext conftest.$ac_ext
51468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51469 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51470 if test `eval echo '${'$as_ac_var'}'` = yes; then
51471 cat >>confdefs.h <<_ACEOF
51472 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51473 _ACEOF
51476 done
51478 else
51480 echo "$as_me:$LINENO: checking for _modff declaration" >&5
51481 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
51482 if test x${glibcxx_cv_func__modff_use+set} != xset; then
51483 if test "${glibcxx_cv_func__modff_use+set}" = set; then
51484 echo $ECHO_N "(cached) $ECHO_C" >&6
51485 else
51489 ac_ext=cc
51490 ac_cpp='$CXXCPP $CPPFLAGS'
51491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51495 cat >conftest.$ac_ext <<_ACEOF
51496 /* confdefs.h. */
51497 _ACEOF
51498 cat confdefs.h >>conftest.$ac_ext
51499 cat >>conftest.$ac_ext <<_ACEOF
51500 /* end confdefs.h. */
51501 #include <math.h>
51503 main ()
51505 _modff(0, 0);
51507 return 0;
51509 _ACEOF
51510 rm -f conftest.$ac_objext
51511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51512 (eval $ac_compile) 2>conftest.er1
51513 ac_status=$?
51514 grep -v '^ *+' conftest.er1 >conftest.err
51515 rm -f conftest.er1
51516 cat conftest.err >&5
51517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51518 (exit $ac_status); } &&
51519 { ac_try='test -z "$ac_cxx_werror_flag"
51520 || test ! -s conftest.err'
51521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51522 (eval $ac_try) 2>&5
51523 ac_status=$?
51524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51525 (exit $ac_status); }; } &&
51526 { ac_try='test -s conftest.$ac_objext'
51527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51528 (eval $ac_try) 2>&5
51529 ac_status=$?
51530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51531 (exit $ac_status); }; }; then
51532 glibcxx_cv_func__modff_use=yes
51533 else
51534 echo "$as_me: failed program was:" >&5
51535 sed 's/^/| /' conftest.$ac_ext >&5
51537 glibcxx_cv_func__modff_use=no
51539 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51540 ac_ext=c
51541 ac_cpp='$CPP $CPPFLAGS'
51542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51550 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
51551 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
51553 if test x$glibcxx_cv_func__modff_use = x"yes"; then
51555 for ac_func in _modff
51557 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51558 echo "$as_me:$LINENO: checking for $ac_func" >&5
51559 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51560 if eval "test \"\${$as_ac_var+set}\" = set"; then
51561 echo $ECHO_N "(cached) $ECHO_C" >&6
51562 else
51563 if test x$gcc_no_link = xyes; then
51564 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51565 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51566 { (exit 1); exit 1; }; }
51568 cat >conftest.$ac_ext <<_ACEOF
51569 /* confdefs.h. */
51570 _ACEOF
51571 cat confdefs.h >>conftest.$ac_ext
51572 cat >>conftest.$ac_ext <<_ACEOF
51573 /* end confdefs.h. */
51574 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51575 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51576 #define $ac_func innocuous_$ac_func
51578 /* System header to define __stub macros and hopefully few prototypes,
51579 which can conflict with char $ac_func (); below.
51580 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51581 <limits.h> exists even on freestanding compilers. */
51583 #ifdef __STDC__
51584 # include <limits.h>
51585 #else
51586 # include <assert.h>
51587 #endif
51589 #undef $ac_func
51591 /* Override any gcc2 internal prototype to avoid an error. */
51592 #ifdef __cplusplus
51593 extern "C"
51595 #endif
51596 /* We use char because int might match the return type of a gcc2
51597 builtin and then its argument prototype would still apply. */
51598 char $ac_func ();
51599 /* The GNU C library defines this for functions which it implements
51600 to always fail with ENOSYS. Some functions are actually named
51601 something starting with __ and the normal name is an alias. */
51602 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51603 choke me
51604 #else
51605 char (*f) () = $ac_func;
51606 #endif
51607 #ifdef __cplusplus
51609 #endif
51612 main ()
51614 return f != $ac_func;
51616 return 0;
51618 _ACEOF
51619 rm -f conftest.$ac_objext conftest$ac_exeext
51620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51621 (eval $ac_link) 2>conftest.er1
51622 ac_status=$?
51623 grep -v '^ *+' conftest.er1 >conftest.err
51624 rm -f conftest.er1
51625 cat conftest.err >&5
51626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51627 (exit $ac_status); } &&
51628 { ac_try='test -z "$ac_c_werror_flag"
51629 || test ! -s conftest.err'
51630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51631 (eval $ac_try) 2>&5
51632 ac_status=$?
51633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51634 (exit $ac_status); }; } &&
51635 { ac_try='test -s conftest$ac_exeext'
51636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51637 (eval $ac_try) 2>&5
51638 ac_status=$?
51639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51640 (exit $ac_status); }; }; then
51641 eval "$as_ac_var=yes"
51642 else
51643 echo "$as_me: failed program was:" >&5
51644 sed 's/^/| /' conftest.$ac_ext >&5
51646 eval "$as_ac_var=no"
51648 rm -f conftest.err conftest.$ac_objext \
51649 conftest$ac_exeext conftest.$ac_ext
51651 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51652 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51653 if test `eval echo '${'$as_ac_var'}'` = yes; then
51654 cat >>confdefs.h <<_ACEOF
51655 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51656 _ACEOF
51659 done
51669 echo "$as_me:$LINENO: checking for modf declaration" >&5
51670 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
51671 if test x${glibcxx_cv_func_modf_use+set} != xset; then
51672 if test "${glibcxx_cv_func_modf_use+set}" = set; then
51673 echo $ECHO_N "(cached) $ECHO_C" >&6
51674 else
51678 ac_ext=cc
51679 ac_cpp='$CXXCPP $CPPFLAGS'
51680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51684 cat >conftest.$ac_ext <<_ACEOF
51685 /* confdefs.h. */
51686 _ACEOF
51687 cat confdefs.h >>conftest.$ac_ext
51688 cat >>conftest.$ac_ext <<_ACEOF
51689 /* end confdefs.h. */
51690 #include <math.h>
51692 main ()
51694 modf(0, 0);
51696 return 0;
51698 _ACEOF
51699 rm -f conftest.$ac_objext
51700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51701 (eval $ac_compile) 2>conftest.er1
51702 ac_status=$?
51703 grep -v '^ *+' conftest.er1 >conftest.err
51704 rm -f conftest.er1
51705 cat conftest.err >&5
51706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51707 (exit $ac_status); } &&
51708 { ac_try='test -z "$ac_cxx_werror_flag"
51709 || test ! -s conftest.err'
51710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51711 (eval $ac_try) 2>&5
51712 ac_status=$?
51713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51714 (exit $ac_status); }; } &&
51715 { ac_try='test -s conftest.$ac_objext'
51716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51717 (eval $ac_try) 2>&5
51718 ac_status=$?
51719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51720 (exit $ac_status); }; }; then
51721 glibcxx_cv_func_modf_use=yes
51722 else
51723 echo "$as_me: failed program was:" >&5
51724 sed 's/^/| /' conftest.$ac_ext >&5
51726 glibcxx_cv_func_modf_use=no
51728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51729 ac_ext=c
51730 ac_cpp='$CPP $CPPFLAGS'
51731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51739 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
51740 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
51742 if test x$glibcxx_cv_func_modf_use = x"yes"; then
51744 for ac_func in modf
51746 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51747 echo "$as_me:$LINENO: checking for $ac_func" >&5
51748 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51749 if eval "test \"\${$as_ac_var+set}\" = set"; then
51750 echo $ECHO_N "(cached) $ECHO_C" >&6
51751 else
51752 if test x$gcc_no_link = xyes; then
51753 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51754 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51755 { (exit 1); exit 1; }; }
51757 cat >conftest.$ac_ext <<_ACEOF
51758 /* confdefs.h. */
51759 _ACEOF
51760 cat confdefs.h >>conftest.$ac_ext
51761 cat >>conftest.$ac_ext <<_ACEOF
51762 /* end confdefs.h. */
51763 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51764 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51765 #define $ac_func innocuous_$ac_func
51767 /* System header to define __stub macros and hopefully few prototypes,
51768 which can conflict with char $ac_func (); below.
51769 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51770 <limits.h> exists even on freestanding compilers. */
51772 #ifdef __STDC__
51773 # include <limits.h>
51774 #else
51775 # include <assert.h>
51776 #endif
51778 #undef $ac_func
51780 /* Override any gcc2 internal prototype to avoid an error. */
51781 #ifdef __cplusplus
51782 extern "C"
51784 #endif
51785 /* We use char because int might match the return type of a gcc2
51786 builtin and then its argument prototype would still apply. */
51787 char $ac_func ();
51788 /* The GNU C library defines this for functions which it implements
51789 to always fail with ENOSYS. Some functions are actually named
51790 something starting with __ and the normal name is an alias. */
51791 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51792 choke me
51793 #else
51794 char (*f) () = $ac_func;
51795 #endif
51796 #ifdef __cplusplus
51798 #endif
51801 main ()
51803 return f != $ac_func;
51805 return 0;
51807 _ACEOF
51808 rm -f conftest.$ac_objext conftest$ac_exeext
51809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51810 (eval $ac_link) 2>conftest.er1
51811 ac_status=$?
51812 grep -v '^ *+' conftest.er1 >conftest.err
51813 rm -f conftest.er1
51814 cat conftest.err >&5
51815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51816 (exit $ac_status); } &&
51817 { ac_try='test -z "$ac_c_werror_flag"
51818 || test ! -s conftest.err'
51819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51820 (eval $ac_try) 2>&5
51821 ac_status=$?
51822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51823 (exit $ac_status); }; } &&
51824 { ac_try='test -s conftest$ac_exeext'
51825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51826 (eval $ac_try) 2>&5
51827 ac_status=$?
51828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51829 (exit $ac_status); }; }; then
51830 eval "$as_ac_var=yes"
51831 else
51832 echo "$as_me: failed program was:" >&5
51833 sed 's/^/| /' conftest.$ac_ext >&5
51835 eval "$as_ac_var=no"
51837 rm -f conftest.err conftest.$ac_objext \
51838 conftest$ac_exeext conftest.$ac_ext
51840 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51841 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51842 if test `eval echo '${'$as_ac_var'}'` = yes; then
51843 cat >>confdefs.h <<_ACEOF
51844 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51845 _ACEOF
51848 done
51850 else
51852 echo "$as_me:$LINENO: checking for _modf declaration" >&5
51853 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
51854 if test x${glibcxx_cv_func__modf_use+set} != xset; then
51855 if test "${glibcxx_cv_func__modf_use+set}" = set; then
51856 echo $ECHO_N "(cached) $ECHO_C" >&6
51857 else
51861 ac_ext=cc
51862 ac_cpp='$CXXCPP $CPPFLAGS'
51863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51867 cat >conftest.$ac_ext <<_ACEOF
51868 /* confdefs.h. */
51869 _ACEOF
51870 cat confdefs.h >>conftest.$ac_ext
51871 cat >>conftest.$ac_ext <<_ACEOF
51872 /* end confdefs.h. */
51873 #include <math.h>
51875 main ()
51877 _modf(0, 0);
51879 return 0;
51881 _ACEOF
51882 rm -f conftest.$ac_objext
51883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51884 (eval $ac_compile) 2>conftest.er1
51885 ac_status=$?
51886 grep -v '^ *+' conftest.er1 >conftest.err
51887 rm -f conftest.er1
51888 cat conftest.err >&5
51889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51890 (exit $ac_status); } &&
51891 { ac_try='test -z "$ac_cxx_werror_flag"
51892 || test ! -s conftest.err'
51893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51894 (eval $ac_try) 2>&5
51895 ac_status=$?
51896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51897 (exit $ac_status); }; } &&
51898 { ac_try='test -s conftest.$ac_objext'
51899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51900 (eval $ac_try) 2>&5
51901 ac_status=$?
51902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51903 (exit $ac_status); }; }; then
51904 glibcxx_cv_func__modf_use=yes
51905 else
51906 echo "$as_me: failed program was:" >&5
51907 sed 's/^/| /' conftest.$ac_ext >&5
51909 glibcxx_cv_func__modf_use=no
51911 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51912 ac_ext=c
51913 ac_cpp='$CPP $CPPFLAGS'
51914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51922 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
51923 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
51925 if test x$glibcxx_cv_func__modf_use = x"yes"; then
51927 for ac_func in _modf
51929 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51930 echo "$as_me:$LINENO: checking for $ac_func" >&5
51931 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51932 if eval "test \"\${$as_ac_var+set}\" = set"; then
51933 echo $ECHO_N "(cached) $ECHO_C" >&6
51934 else
51935 if test x$gcc_no_link = xyes; then
51936 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51937 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51938 { (exit 1); exit 1; }; }
51940 cat >conftest.$ac_ext <<_ACEOF
51941 /* confdefs.h. */
51942 _ACEOF
51943 cat confdefs.h >>conftest.$ac_ext
51944 cat >>conftest.$ac_ext <<_ACEOF
51945 /* end confdefs.h. */
51946 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51947 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51948 #define $ac_func innocuous_$ac_func
51950 /* System header to define __stub macros and hopefully few prototypes,
51951 which can conflict with char $ac_func (); below.
51952 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51953 <limits.h> exists even on freestanding compilers. */
51955 #ifdef __STDC__
51956 # include <limits.h>
51957 #else
51958 # include <assert.h>
51959 #endif
51961 #undef $ac_func
51963 /* Override any gcc2 internal prototype to avoid an error. */
51964 #ifdef __cplusplus
51965 extern "C"
51967 #endif
51968 /* We use char because int might match the return type of a gcc2
51969 builtin and then its argument prototype would still apply. */
51970 char $ac_func ();
51971 /* The GNU C library defines this for functions which it implements
51972 to always fail with ENOSYS. Some functions are actually named
51973 something starting with __ and the normal name is an alias. */
51974 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51975 choke me
51976 #else
51977 char (*f) () = $ac_func;
51978 #endif
51979 #ifdef __cplusplus
51981 #endif
51984 main ()
51986 return f != $ac_func;
51988 return 0;
51990 _ACEOF
51991 rm -f conftest.$ac_objext conftest$ac_exeext
51992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51993 (eval $ac_link) 2>conftest.er1
51994 ac_status=$?
51995 grep -v '^ *+' conftest.er1 >conftest.err
51996 rm -f conftest.er1
51997 cat conftest.err >&5
51998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51999 (exit $ac_status); } &&
52000 { ac_try='test -z "$ac_c_werror_flag"
52001 || test ! -s conftest.err'
52002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52003 (eval $ac_try) 2>&5
52004 ac_status=$?
52005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52006 (exit $ac_status); }; } &&
52007 { ac_try='test -s conftest$ac_exeext'
52008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52009 (eval $ac_try) 2>&5
52010 ac_status=$?
52011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52012 (exit $ac_status); }; }; then
52013 eval "$as_ac_var=yes"
52014 else
52015 echo "$as_me: failed program was:" >&5
52016 sed 's/^/| /' conftest.$ac_ext >&5
52018 eval "$as_ac_var=no"
52020 rm -f conftest.err conftest.$ac_objext \
52021 conftest$ac_exeext conftest.$ac_ext
52023 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52024 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52025 if test `eval echo '${'$as_ac_var'}'` = yes; then
52026 cat >>confdefs.h <<_ACEOF
52027 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52028 _ACEOF
52031 done
52041 echo "$as_me:$LINENO: checking for powf declaration" >&5
52042 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
52043 if test x${glibcxx_cv_func_powf_use+set} != xset; then
52044 if test "${glibcxx_cv_func_powf_use+set}" = set; then
52045 echo $ECHO_N "(cached) $ECHO_C" >&6
52046 else
52050 ac_ext=cc
52051 ac_cpp='$CXXCPP $CPPFLAGS'
52052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52056 cat >conftest.$ac_ext <<_ACEOF
52057 /* confdefs.h. */
52058 _ACEOF
52059 cat confdefs.h >>conftest.$ac_ext
52060 cat >>conftest.$ac_ext <<_ACEOF
52061 /* end confdefs.h. */
52062 #include <math.h>
52064 main ()
52066 powf(0, 0);
52068 return 0;
52070 _ACEOF
52071 rm -f conftest.$ac_objext
52072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52073 (eval $ac_compile) 2>conftest.er1
52074 ac_status=$?
52075 grep -v '^ *+' conftest.er1 >conftest.err
52076 rm -f conftest.er1
52077 cat conftest.err >&5
52078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52079 (exit $ac_status); } &&
52080 { ac_try='test -z "$ac_cxx_werror_flag"
52081 || test ! -s conftest.err'
52082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52083 (eval $ac_try) 2>&5
52084 ac_status=$?
52085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52086 (exit $ac_status); }; } &&
52087 { ac_try='test -s conftest.$ac_objext'
52088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52089 (eval $ac_try) 2>&5
52090 ac_status=$?
52091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52092 (exit $ac_status); }; }; then
52093 glibcxx_cv_func_powf_use=yes
52094 else
52095 echo "$as_me: failed program was:" >&5
52096 sed 's/^/| /' conftest.$ac_ext >&5
52098 glibcxx_cv_func_powf_use=no
52100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52101 ac_ext=c
52102 ac_cpp='$CPP $CPPFLAGS'
52103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52111 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
52112 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
52114 if test x$glibcxx_cv_func_powf_use = x"yes"; then
52116 for ac_func in powf
52118 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52119 echo "$as_me:$LINENO: checking for $ac_func" >&5
52120 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52121 if eval "test \"\${$as_ac_var+set}\" = set"; then
52122 echo $ECHO_N "(cached) $ECHO_C" >&6
52123 else
52124 if test x$gcc_no_link = xyes; then
52125 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52126 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52127 { (exit 1); exit 1; }; }
52129 cat >conftest.$ac_ext <<_ACEOF
52130 /* confdefs.h. */
52131 _ACEOF
52132 cat confdefs.h >>conftest.$ac_ext
52133 cat >>conftest.$ac_ext <<_ACEOF
52134 /* end confdefs.h. */
52135 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52136 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52137 #define $ac_func innocuous_$ac_func
52139 /* System header to define __stub macros and hopefully few prototypes,
52140 which can conflict with char $ac_func (); below.
52141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52142 <limits.h> exists even on freestanding compilers. */
52144 #ifdef __STDC__
52145 # include <limits.h>
52146 #else
52147 # include <assert.h>
52148 #endif
52150 #undef $ac_func
52152 /* Override any gcc2 internal prototype to avoid an error. */
52153 #ifdef __cplusplus
52154 extern "C"
52156 #endif
52157 /* We use char because int might match the return type of a gcc2
52158 builtin and then its argument prototype would still apply. */
52159 char $ac_func ();
52160 /* The GNU C library defines this for functions which it implements
52161 to always fail with ENOSYS. Some functions are actually named
52162 something starting with __ and the normal name is an alias. */
52163 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52164 choke me
52165 #else
52166 char (*f) () = $ac_func;
52167 #endif
52168 #ifdef __cplusplus
52170 #endif
52173 main ()
52175 return f != $ac_func;
52177 return 0;
52179 _ACEOF
52180 rm -f conftest.$ac_objext conftest$ac_exeext
52181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52182 (eval $ac_link) 2>conftest.er1
52183 ac_status=$?
52184 grep -v '^ *+' conftest.er1 >conftest.err
52185 rm -f conftest.er1
52186 cat conftest.err >&5
52187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52188 (exit $ac_status); } &&
52189 { ac_try='test -z "$ac_c_werror_flag"
52190 || test ! -s conftest.err'
52191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52192 (eval $ac_try) 2>&5
52193 ac_status=$?
52194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52195 (exit $ac_status); }; } &&
52196 { ac_try='test -s conftest$ac_exeext'
52197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52198 (eval $ac_try) 2>&5
52199 ac_status=$?
52200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52201 (exit $ac_status); }; }; then
52202 eval "$as_ac_var=yes"
52203 else
52204 echo "$as_me: failed program was:" >&5
52205 sed 's/^/| /' conftest.$ac_ext >&5
52207 eval "$as_ac_var=no"
52209 rm -f conftest.err conftest.$ac_objext \
52210 conftest$ac_exeext conftest.$ac_ext
52212 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52213 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52214 if test `eval echo '${'$as_ac_var'}'` = yes; then
52215 cat >>confdefs.h <<_ACEOF
52216 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52217 _ACEOF
52220 done
52222 else
52224 echo "$as_me:$LINENO: checking for _powf declaration" >&5
52225 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
52226 if test x${glibcxx_cv_func__powf_use+set} != xset; then
52227 if test "${glibcxx_cv_func__powf_use+set}" = set; then
52228 echo $ECHO_N "(cached) $ECHO_C" >&6
52229 else
52233 ac_ext=cc
52234 ac_cpp='$CXXCPP $CPPFLAGS'
52235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52239 cat >conftest.$ac_ext <<_ACEOF
52240 /* confdefs.h. */
52241 _ACEOF
52242 cat confdefs.h >>conftest.$ac_ext
52243 cat >>conftest.$ac_ext <<_ACEOF
52244 /* end confdefs.h. */
52245 #include <math.h>
52247 main ()
52249 _powf(0, 0);
52251 return 0;
52253 _ACEOF
52254 rm -f conftest.$ac_objext
52255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52256 (eval $ac_compile) 2>conftest.er1
52257 ac_status=$?
52258 grep -v '^ *+' conftest.er1 >conftest.err
52259 rm -f conftest.er1
52260 cat conftest.err >&5
52261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52262 (exit $ac_status); } &&
52263 { ac_try='test -z "$ac_cxx_werror_flag"
52264 || test ! -s conftest.err'
52265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52266 (eval $ac_try) 2>&5
52267 ac_status=$?
52268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52269 (exit $ac_status); }; } &&
52270 { ac_try='test -s conftest.$ac_objext'
52271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52272 (eval $ac_try) 2>&5
52273 ac_status=$?
52274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52275 (exit $ac_status); }; }; then
52276 glibcxx_cv_func__powf_use=yes
52277 else
52278 echo "$as_me: failed program was:" >&5
52279 sed 's/^/| /' conftest.$ac_ext >&5
52281 glibcxx_cv_func__powf_use=no
52283 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52284 ac_ext=c
52285 ac_cpp='$CPP $CPPFLAGS'
52286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52294 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
52295 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
52297 if test x$glibcxx_cv_func__powf_use = x"yes"; then
52299 for ac_func in _powf
52301 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52302 echo "$as_me:$LINENO: checking for $ac_func" >&5
52303 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52304 if eval "test \"\${$as_ac_var+set}\" = set"; then
52305 echo $ECHO_N "(cached) $ECHO_C" >&6
52306 else
52307 if test x$gcc_no_link = xyes; then
52308 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52309 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52310 { (exit 1); exit 1; }; }
52312 cat >conftest.$ac_ext <<_ACEOF
52313 /* confdefs.h. */
52314 _ACEOF
52315 cat confdefs.h >>conftest.$ac_ext
52316 cat >>conftest.$ac_ext <<_ACEOF
52317 /* end confdefs.h. */
52318 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52319 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52320 #define $ac_func innocuous_$ac_func
52322 /* System header to define __stub macros and hopefully few prototypes,
52323 which can conflict with char $ac_func (); below.
52324 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52325 <limits.h> exists even on freestanding compilers. */
52327 #ifdef __STDC__
52328 # include <limits.h>
52329 #else
52330 # include <assert.h>
52331 #endif
52333 #undef $ac_func
52335 /* Override any gcc2 internal prototype to avoid an error. */
52336 #ifdef __cplusplus
52337 extern "C"
52339 #endif
52340 /* We use char because int might match the return type of a gcc2
52341 builtin and then its argument prototype would still apply. */
52342 char $ac_func ();
52343 /* The GNU C library defines this for functions which it implements
52344 to always fail with ENOSYS. Some functions are actually named
52345 something starting with __ and the normal name is an alias. */
52346 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52347 choke me
52348 #else
52349 char (*f) () = $ac_func;
52350 #endif
52351 #ifdef __cplusplus
52353 #endif
52356 main ()
52358 return f != $ac_func;
52360 return 0;
52362 _ACEOF
52363 rm -f conftest.$ac_objext conftest$ac_exeext
52364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52365 (eval $ac_link) 2>conftest.er1
52366 ac_status=$?
52367 grep -v '^ *+' conftest.er1 >conftest.err
52368 rm -f conftest.er1
52369 cat conftest.err >&5
52370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52371 (exit $ac_status); } &&
52372 { ac_try='test -z "$ac_c_werror_flag"
52373 || test ! -s conftest.err'
52374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52375 (eval $ac_try) 2>&5
52376 ac_status=$?
52377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52378 (exit $ac_status); }; } &&
52379 { ac_try='test -s conftest$ac_exeext'
52380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52381 (eval $ac_try) 2>&5
52382 ac_status=$?
52383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52384 (exit $ac_status); }; }; then
52385 eval "$as_ac_var=yes"
52386 else
52387 echo "$as_me: failed program was:" >&5
52388 sed 's/^/| /' conftest.$ac_ext >&5
52390 eval "$as_ac_var=no"
52392 rm -f conftest.err conftest.$ac_objext \
52393 conftest$ac_exeext conftest.$ac_ext
52395 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52396 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52397 if test `eval echo '${'$as_ac_var'}'` = yes; then
52398 cat >>confdefs.h <<_ACEOF
52399 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52400 _ACEOF
52403 done
52413 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
52414 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
52415 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
52416 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
52417 echo $ECHO_N "(cached) $ECHO_C" >&6
52418 else
52422 ac_ext=cc
52423 ac_cpp='$CXXCPP $CPPFLAGS'
52424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52428 cat >conftest.$ac_ext <<_ACEOF
52429 /* confdefs.h. */
52430 _ACEOF
52431 cat confdefs.h >>conftest.$ac_ext
52432 cat >>conftest.$ac_ext <<_ACEOF
52433 /* end confdefs.h. */
52434 #include <math.h>
52435 #ifdef HAVE_IEEEFP_H
52436 #include <ieeefp.h>
52437 #endif
52440 main ()
52442 sqrtf(0);
52444 return 0;
52446 _ACEOF
52447 rm -f conftest.$ac_objext
52448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52449 (eval $ac_compile) 2>conftest.er1
52450 ac_status=$?
52451 grep -v '^ *+' conftest.er1 >conftest.err
52452 rm -f conftest.er1
52453 cat conftest.err >&5
52454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52455 (exit $ac_status); } &&
52456 { ac_try='test -z "$ac_cxx_werror_flag"
52457 || test ! -s conftest.err'
52458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52459 (eval $ac_try) 2>&5
52460 ac_status=$?
52461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52462 (exit $ac_status); }; } &&
52463 { ac_try='test -s conftest.$ac_objext'
52464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52465 (eval $ac_try) 2>&5
52466 ac_status=$?
52467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52468 (exit $ac_status); }; }; then
52469 glibcxx_cv_func_sqrtf_use=yes
52470 else
52471 echo "$as_me: failed program was:" >&5
52472 sed 's/^/| /' conftest.$ac_ext >&5
52474 glibcxx_cv_func_sqrtf_use=no
52476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52477 ac_ext=c
52478 ac_cpp='$CPP $CPPFLAGS'
52479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52487 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
52488 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
52490 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
52492 for ac_func in sqrtf
52494 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52495 echo "$as_me:$LINENO: checking for $ac_func" >&5
52496 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52497 if eval "test \"\${$as_ac_var+set}\" = set"; then
52498 echo $ECHO_N "(cached) $ECHO_C" >&6
52499 else
52500 if test x$gcc_no_link = xyes; then
52501 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52502 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52503 { (exit 1); exit 1; }; }
52505 cat >conftest.$ac_ext <<_ACEOF
52506 /* confdefs.h. */
52507 _ACEOF
52508 cat confdefs.h >>conftest.$ac_ext
52509 cat >>conftest.$ac_ext <<_ACEOF
52510 /* end confdefs.h. */
52511 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52512 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52513 #define $ac_func innocuous_$ac_func
52515 /* System header to define __stub macros and hopefully few prototypes,
52516 which can conflict with char $ac_func (); below.
52517 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52518 <limits.h> exists even on freestanding compilers. */
52520 #ifdef __STDC__
52521 # include <limits.h>
52522 #else
52523 # include <assert.h>
52524 #endif
52526 #undef $ac_func
52528 /* Override any gcc2 internal prototype to avoid an error. */
52529 #ifdef __cplusplus
52530 extern "C"
52532 #endif
52533 /* We use char because int might match the return type of a gcc2
52534 builtin and then its argument prototype would still apply. */
52535 char $ac_func ();
52536 /* The GNU C library defines this for functions which it implements
52537 to always fail with ENOSYS. Some functions are actually named
52538 something starting with __ and the normal name is an alias. */
52539 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52540 choke me
52541 #else
52542 char (*f) () = $ac_func;
52543 #endif
52544 #ifdef __cplusplus
52546 #endif
52549 main ()
52551 return f != $ac_func;
52553 return 0;
52555 _ACEOF
52556 rm -f conftest.$ac_objext conftest$ac_exeext
52557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52558 (eval $ac_link) 2>conftest.er1
52559 ac_status=$?
52560 grep -v '^ *+' conftest.er1 >conftest.err
52561 rm -f conftest.er1
52562 cat conftest.err >&5
52563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52564 (exit $ac_status); } &&
52565 { ac_try='test -z "$ac_c_werror_flag"
52566 || test ! -s conftest.err'
52567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52568 (eval $ac_try) 2>&5
52569 ac_status=$?
52570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52571 (exit $ac_status); }; } &&
52572 { ac_try='test -s conftest$ac_exeext'
52573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52574 (eval $ac_try) 2>&5
52575 ac_status=$?
52576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52577 (exit $ac_status); }; }; then
52578 eval "$as_ac_var=yes"
52579 else
52580 echo "$as_me: failed program was:" >&5
52581 sed 's/^/| /' conftest.$ac_ext >&5
52583 eval "$as_ac_var=no"
52585 rm -f conftest.err conftest.$ac_objext \
52586 conftest$ac_exeext conftest.$ac_ext
52588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52589 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52590 if test `eval echo '${'$as_ac_var'}'` = yes; then
52591 cat >>confdefs.h <<_ACEOF
52592 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52593 _ACEOF
52596 done
52598 else
52600 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
52601 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
52602 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
52603 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
52604 echo $ECHO_N "(cached) $ECHO_C" >&6
52605 else
52609 ac_ext=cc
52610 ac_cpp='$CXXCPP $CPPFLAGS'
52611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52615 cat >conftest.$ac_ext <<_ACEOF
52616 /* confdefs.h. */
52617 _ACEOF
52618 cat confdefs.h >>conftest.$ac_ext
52619 cat >>conftest.$ac_ext <<_ACEOF
52620 /* end confdefs.h. */
52621 #include <math.h>
52622 #ifdef HAVE_IEEEFP_H
52623 #include <ieeefp.h>
52624 #endif
52627 main ()
52629 _sqrtf(0);
52631 return 0;
52633 _ACEOF
52634 rm -f conftest.$ac_objext
52635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52636 (eval $ac_compile) 2>conftest.er1
52637 ac_status=$?
52638 grep -v '^ *+' conftest.er1 >conftest.err
52639 rm -f conftest.er1
52640 cat conftest.err >&5
52641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52642 (exit $ac_status); } &&
52643 { ac_try='test -z "$ac_cxx_werror_flag"
52644 || test ! -s conftest.err'
52645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52646 (eval $ac_try) 2>&5
52647 ac_status=$?
52648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52649 (exit $ac_status); }; } &&
52650 { ac_try='test -s conftest.$ac_objext'
52651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52652 (eval $ac_try) 2>&5
52653 ac_status=$?
52654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52655 (exit $ac_status); }; }; then
52656 glibcxx_cv_func__sqrtf_use=yes
52657 else
52658 echo "$as_me: failed program was:" >&5
52659 sed 's/^/| /' conftest.$ac_ext >&5
52661 glibcxx_cv_func__sqrtf_use=no
52663 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52664 ac_ext=c
52665 ac_cpp='$CPP $CPPFLAGS'
52666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52674 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
52675 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
52677 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
52679 for ac_func in _sqrtf
52681 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52682 echo "$as_me:$LINENO: checking for $ac_func" >&5
52683 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52684 if eval "test \"\${$as_ac_var+set}\" = set"; then
52685 echo $ECHO_N "(cached) $ECHO_C" >&6
52686 else
52687 if test x$gcc_no_link = xyes; then
52688 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52689 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52690 { (exit 1); exit 1; }; }
52692 cat >conftest.$ac_ext <<_ACEOF
52693 /* confdefs.h. */
52694 _ACEOF
52695 cat confdefs.h >>conftest.$ac_ext
52696 cat >>conftest.$ac_ext <<_ACEOF
52697 /* end confdefs.h. */
52698 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52699 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52700 #define $ac_func innocuous_$ac_func
52702 /* System header to define __stub macros and hopefully few prototypes,
52703 which can conflict with char $ac_func (); below.
52704 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52705 <limits.h> exists even on freestanding compilers. */
52707 #ifdef __STDC__
52708 # include <limits.h>
52709 #else
52710 # include <assert.h>
52711 #endif
52713 #undef $ac_func
52715 /* Override any gcc2 internal prototype to avoid an error. */
52716 #ifdef __cplusplus
52717 extern "C"
52719 #endif
52720 /* We use char because int might match the return type of a gcc2
52721 builtin and then its argument prototype would still apply. */
52722 char $ac_func ();
52723 /* The GNU C library defines this for functions which it implements
52724 to always fail with ENOSYS. Some functions are actually named
52725 something starting with __ and the normal name is an alias. */
52726 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52727 choke me
52728 #else
52729 char (*f) () = $ac_func;
52730 #endif
52731 #ifdef __cplusplus
52733 #endif
52736 main ()
52738 return f != $ac_func;
52740 return 0;
52742 _ACEOF
52743 rm -f conftest.$ac_objext conftest$ac_exeext
52744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52745 (eval $ac_link) 2>conftest.er1
52746 ac_status=$?
52747 grep -v '^ *+' conftest.er1 >conftest.err
52748 rm -f conftest.er1
52749 cat conftest.err >&5
52750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52751 (exit $ac_status); } &&
52752 { ac_try='test -z "$ac_c_werror_flag"
52753 || test ! -s conftest.err'
52754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52755 (eval $ac_try) 2>&5
52756 ac_status=$?
52757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52758 (exit $ac_status); }; } &&
52759 { ac_try='test -s conftest$ac_exeext'
52760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52761 (eval $ac_try) 2>&5
52762 ac_status=$?
52763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52764 (exit $ac_status); }; }; then
52765 eval "$as_ac_var=yes"
52766 else
52767 echo "$as_me: failed program was:" >&5
52768 sed 's/^/| /' conftest.$ac_ext >&5
52770 eval "$as_ac_var=no"
52772 rm -f conftest.err conftest.$ac_objext \
52773 conftest$ac_exeext conftest.$ac_ext
52775 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52776 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52777 if test `eval echo '${'$as_ac_var'}'` = yes; then
52778 cat >>confdefs.h <<_ACEOF
52779 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52780 _ACEOF
52783 done
52793 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
52794 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
52795 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
52796 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
52797 echo $ECHO_N "(cached) $ECHO_C" >&6
52798 else
52802 ac_ext=cc
52803 ac_cpp='$CXXCPP $CPPFLAGS'
52804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52808 cat >conftest.$ac_ext <<_ACEOF
52809 /* confdefs.h. */
52810 _ACEOF
52811 cat confdefs.h >>conftest.$ac_ext
52812 cat >>conftest.$ac_ext <<_ACEOF
52813 /* end confdefs.h. */
52814 #include <math.h>
52816 main ()
52818 sincosf(0, 0, 0);
52820 return 0;
52822 _ACEOF
52823 rm -f conftest.$ac_objext
52824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52825 (eval $ac_compile) 2>conftest.er1
52826 ac_status=$?
52827 grep -v '^ *+' conftest.er1 >conftest.err
52828 rm -f conftest.er1
52829 cat conftest.err >&5
52830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52831 (exit $ac_status); } &&
52832 { ac_try='test -z "$ac_cxx_werror_flag"
52833 || test ! -s conftest.err'
52834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52835 (eval $ac_try) 2>&5
52836 ac_status=$?
52837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52838 (exit $ac_status); }; } &&
52839 { ac_try='test -s conftest.$ac_objext'
52840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52841 (eval $ac_try) 2>&5
52842 ac_status=$?
52843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52844 (exit $ac_status); }; }; then
52845 glibcxx_cv_func_sincosf_use=yes
52846 else
52847 echo "$as_me: failed program was:" >&5
52848 sed 's/^/| /' conftest.$ac_ext >&5
52850 glibcxx_cv_func_sincosf_use=no
52852 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52853 ac_ext=c
52854 ac_cpp='$CPP $CPPFLAGS'
52855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52863 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
52864 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
52866 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
52868 for ac_func in sincosf
52870 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52871 echo "$as_me:$LINENO: checking for $ac_func" >&5
52872 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52873 if eval "test \"\${$as_ac_var+set}\" = set"; then
52874 echo $ECHO_N "(cached) $ECHO_C" >&6
52875 else
52876 if test x$gcc_no_link = xyes; then
52877 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52878 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52879 { (exit 1); exit 1; }; }
52881 cat >conftest.$ac_ext <<_ACEOF
52882 /* confdefs.h. */
52883 _ACEOF
52884 cat confdefs.h >>conftest.$ac_ext
52885 cat >>conftest.$ac_ext <<_ACEOF
52886 /* end confdefs.h. */
52887 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52888 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52889 #define $ac_func innocuous_$ac_func
52891 /* System header to define __stub macros and hopefully few prototypes,
52892 which can conflict with char $ac_func (); below.
52893 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52894 <limits.h> exists even on freestanding compilers. */
52896 #ifdef __STDC__
52897 # include <limits.h>
52898 #else
52899 # include <assert.h>
52900 #endif
52902 #undef $ac_func
52904 /* Override any gcc2 internal prototype to avoid an error. */
52905 #ifdef __cplusplus
52906 extern "C"
52908 #endif
52909 /* We use char because int might match the return type of a gcc2
52910 builtin and then its argument prototype would still apply. */
52911 char $ac_func ();
52912 /* The GNU C library defines this for functions which it implements
52913 to always fail with ENOSYS. Some functions are actually named
52914 something starting with __ and the normal name is an alias. */
52915 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52916 choke me
52917 #else
52918 char (*f) () = $ac_func;
52919 #endif
52920 #ifdef __cplusplus
52922 #endif
52925 main ()
52927 return f != $ac_func;
52929 return 0;
52931 _ACEOF
52932 rm -f conftest.$ac_objext conftest$ac_exeext
52933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52934 (eval $ac_link) 2>conftest.er1
52935 ac_status=$?
52936 grep -v '^ *+' conftest.er1 >conftest.err
52937 rm -f conftest.er1
52938 cat conftest.err >&5
52939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52940 (exit $ac_status); } &&
52941 { ac_try='test -z "$ac_c_werror_flag"
52942 || test ! -s conftest.err'
52943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52944 (eval $ac_try) 2>&5
52945 ac_status=$?
52946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52947 (exit $ac_status); }; } &&
52948 { ac_try='test -s conftest$ac_exeext'
52949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52950 (eval $ac_try) 2>&5
52951 ac_status=$?
52952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52953 (exit $ac_status); }; }; then
52954 eval "$as_ac_var=yes"
52955 else
52956 echo "$as_me: failed program was:" >&5
52957 sed 's/^/| /' conftest.$ac_ext >&5
52959 eval "$as_ac_var=no"
52961 rm -f conftest.err conftest.$ac_objext \
52962 conftest$ac_exeext conftest.$ac_ext
52964 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52965 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52966 if test `eval echo '${'$as_ac_var'}'` = yes; then
52967 cat >>confdefs.h <<_ACEOF
52968 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52969 _ACEOF
52972 done
52974 else
52976 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
52977 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
52978 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
52979 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
52980 echo $ECHO_N "(cached) $ECHO_C" >&6
52981 else
52985 ac_ext=cc
52986 ac_cpp='$CXXCPP $CPPFLAGS'
52987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52991 cat >conftest.$ac_ext <<_ACEOF
52992 /* confdefs.h. */
52993 _ACEOF
52994 cat confdefs.h >>conftest.$ac_ext
52995 cat >>conftest.$ac_ext <<_ACEOF
52996 /* end confdefs.h. */
52997 #include <math.h>
52999 main ()
53001 _sincosf(0, 0, 0);
53003 return 0;
53005 _ACEOF
53006 rm -f conftest.$ac_objext
53007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53008 (eval $ac_compile) 2>conftest.er1
53009 ac_status=$?
53010 grep -v '^ *+' conftest.er1 >conftest.err
53011 rm -f conftest.er1
53012 cat conftest.err >&5
53013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53014 (exit $ac_status); } &&
53015 { ac_try='test -z "$ac_cxx_werror_flag"
53016 || test ! -s conftest.err'
53017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53018 (eval $ac_try) 2>&5
53019 ac_status=$?
53020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53021 (exit $ac_status); }; } &&
53022 { ac_try='test -s conftest.$ac_objext'
53023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53024 (eval $ac_try) 2>&5
53025 ac_status=$?
53026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53027 (exit $ac_status); }; }; then
53028 glibcxx_cv_func__sincosf_use=yes
53029 else
53030 echo "$as_me: failed program was:" >&5
53031 sed 's/^/| /' conftest.$ac_ext >&5
53033 glibcxx_cv_func__sincosf_use=no
53035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53036 ac_ext=c
53037 ac_cpp='$CPP $CPPFLAGS'
53038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53046 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
53047 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
53049 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
53051 for ac_func in _sincosf
53053 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53054 echo "$as_me:$LINENO: checking for $ac_func" >&5
53055 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53056 if eval "test \"\${$as_ac_var+set}\" = set"; then
53057 echo $ECHO_N "(cached) $ECHO_C" >&6
53058 else
53059 if test x$gcc_no_link = xyes; then
53060 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53061 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53062 { (exit 1); exit 1; }; }
53064 cat >conftest.$ac_ext <<_ACEOF
53065 /* confdefs.h. */
53066 _ACEOF
53067 cat confdefs.h >>conftest.$ac_ext
53068 cat >>conftest.$ac_ext <<_ACEOF
53069 /* end confdefs.h. */
53070 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53071 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53072 #define $ac_func innocuous_$ac_func
53074 /* System header to define __stub macros and hopefully few prototypes,
53075 which can conflict with char $ac_func (); below.
53076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53077 <limits.h> exists even on freestanding compilers. */
53079 #ifdef __STDC__
53080 # include <limits.h>
53081 #else
53082 # include <assert.h>
53083 #endif
53085 #undef $ac_func
53087 /* Override any gcc2 internal prototype to avoid an error. */
53088 #ifdef __cplusplus
53089 extern "C"
53091 #endif
53092 /* We use char because int might match the return type of a gcc2
53093 builtin and then its argument prototype would still apply. */
53094 char $ac_func ();
53095 /* The GNU C library defines this for functions which it implements
53096 to always fail with ENOSYS. Some functions are actually named
53097 something starting with __ and the normal name is an alias. */
53098 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53099 choke me
53100 #else
53101 char (*f) () = $ac_func;
53102 #endif
53103 #ifdef __cplusplus
53105 #endif
53108 main ()
53110 return f != $ac_func;
53112 return 0;
53114 _ACEOF
53115 rm -f conftest.$ac_objext conftest$ac_exeext
53116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53117 (eval $ac_link) 2>conftest.er1
53118 ac_status=$?
53119 grep -v '^ *+' conftest.er1 >conftest.err
53120 rm -f conftest.er1
53121 cat conftest.err >&5
53122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53123 (exit $ac_status); } &&
53124 { ac_try='test -z "$ac_c_werror_flag"
53125 || test ! -s conftest.err'
53126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53127 (eval $ac_try) 2>&5
53128 ac_status=$?
53129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53130 (exit $ac_status); }; } &&
53131 { ac_try='test -s conftest$ac_exeext'
53132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53133 (eval $ac_try) 2>&5
53134 ac_status=$?
53135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53136 (exit $ac_status); }; }; then
53137 eval "$as_ac_var=yes"
53138 else
53139 echo "$as_me: failed program was:" >&5
53140 sed 's/^/| /' conftest.$ac_ext >&5
53142 eval "$as_ac_var=no"
53144 rm -f conftest.err conftest.$ac_objext \
53145 conftest$ac_exeext conftest.$ac_ext
53147 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53148 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53149 if test `eval echo '${'$as_ac_var'}'` = yes; then
53150 cat >>confdefs.h <<_ACEOF
53151 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53152 _ACEOF
53155 done
53165 echo "$as_me:$LINENO: checking for finitef declaration" >&5
53166 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
53167 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
53168 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
53169 echo $ECHO_N "(cached) $ECHO_C" >&6
53170 else
53174 ac_ext=cc
53175 ac_cpp='$CXXCPP $CPPFLAGS'
53176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53180 cat >conftest.$ac_ext <<_ACEOF
53181 /* confdefs.h. */
53182 _ACEOF
53183 cat confdefs.h >>conftest.$ac_ext
53184 cat >>conftest.$ac_ext <<_ACEOF
53185 /* end confdefs.h. */
53186 #include <math.h>
53187 #ifdef HAVE_IEEEFP_H
53188 #include <ieeefp.h>
53189 #endif
53192 main ()
53194 finitef(0);
53196 return 0;
53198 _ACEOF
53199 rm -f conftest.$ac_objext
53200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53201 (eval $ac_compile) 2>conftest.er1
53202 ac_status=$?
53203 grep -v '^ *+' conftest.er1 >conftest.err
53204 rm -f conftest.er1
53205 cat conftest.err >&5
53206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53207 (exit $ac_status); } &&
53208 { ac_try='test -z "$ac_cxx_werror_flag"
53209 || test ! -s conftest.err'
53210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53211 (eval $ac_try) 2>&5
53212 ac_status=$?
53213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53214 (exit $ac_status); }; } &&
53215 { ac_try='test -s conftest.$ac_objext'
53216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53217 (eval $ac_try) 2>&5
53218 ac_status=$?
53219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53220 (exit $ac_status); }; }; then
53221 glibcxx_cv_func_finitef_use=yes
53222 else
53223 echo "$as_me: failed program was:" >&5
53224 sed 's/^/| /' conftest.$ac_ext >&5
53226 glibcxx_cv_func_finitef_use=no
53228 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53229 ac_ext=c
53230 ac_cpp='$CPP $CPPFLAGS'
53231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53239 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
53240 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
53242 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
53244 for ac_func in finitef
53246 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53247 echo "$as_me:$LINENO: checking for $ac_func" >&5
53248 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53249 if eval "test \"\${$as_ac_var+set}\" = set"; then
53250 echo $ECHO_N "(cached) $ECHO_C" >&6
53251 else
53252 if test x$gcc_no_link = xyes; then
53253 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53254 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53255 { (exit 1); exit 1; }; }
53257 cat >conftest.$ac_ext <<_ACEOF
53258 /* confdefs.h. */
53259 _ACEOF
53260 cat confdefs.h >>conftest.$ac_ext
53261 cat >>conftest.$ac_ext <<_ACEOF
53262 /* end confdefs.h. */
53263 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53264 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53265 #define $ac_func innocuous_$ac_func
53267 /* System header to define __stub macros and hopefully few prototypes,
53268 which can conflict with char $ac_func (); below.
53269 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53270 <limits.h> exists even on freestanding compilers. */
53272 #ifdef __STDC__
53273 # include <limits.h>
53274 #else
53275 # include <assert.h>
53276 #endif
53278 #undef $ac_func
53280 /* Override any gcc2 internal prototype to avoid an error. */
53281 #ifdef __cplusplus
53282 extern "C"
53284 #endif
53285 /* We use char because int might match the return type of a gcc2
53286 builtin and then its argument prototype would still apply. */
53287 char $ac_func ();
53288 /* The GNU C library defines this for functions which it implements
53289 to always fail with ENOSYS. Some functions are actually named
53290 something starting with __ and the normal name is an alias. */
53291 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53292 choke me
53293 #else
53294 char (*f) () = $ac_func;
53295 #endif
53296 #ifdef __cplusplus
53298 #endif
53301 main ()
53303 return f != $ac_func;
53305 return 0;
53307 _ACEOF
53308 rm -f conftest.$ac_objext conftest$ac_exeext
53309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53310 (eval $ac_link) 2>conftest.er1
53311 ac_status=$?
53312 grep -v '^ *+' conftest.er1 >conftest.err
53313 rm -f conftest.er1
53314 cat conftest.err >&5
53315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53316 (exit $ac_status); } &&
53317 { ac_try='test -z "$ac_c_werror_flag"
53318 || test ! -s conftest.err'
53319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53320 (eval $ac_try) 2>&5
53321 ac_status=$?
53322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53323 (exit $ac_status); }; } &&
53324 { ac_try='test -s conftest$ac_exeext'
53325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53326 (eval $ac_try) 2>&5
53327 ac_status=$?
53328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53329 (exit $ac_status); }; }; then
53330 eval "$as_ac_var=yes"
53331 else
53332 echo "$as_me: failed program was:" >&5
53333 sed 's/^/| /' conftest.$ac_ext >&5
53335 eval "$as_ac_var=no"
53337 rm -f conftest.err conftest.$ac_objext \
53338 conftest$ac_exeext conftest.$ac_ext
53340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53341 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53342 if test `eval echo '${'$as_ac_var'}'` = yes; then
53343 cat >>confdefs.h <<_ACEOF
53344 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53345 _ACEOF
53348 done
53350 else
53352 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
53353 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
53354 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
53355 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
53356 echo $ECHO_N "(cached) $ECHO_C" >&6
53357 else
53361 ac_ext=cc
53362 ac_cpp='$CXXCPP $CPPFLAGS'
53363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53367 cat >conftest.$ac_ext <<_ACEOF
53368 /* confdefs.h. */
53369 _ACEOF
53370 cat confdefs.h >>conftest.$ac_ext
53371 cat >>conftest.$ac_ext <<_ACEOF
53372 /* end confdefs.h. */
53373 #include <math.h>
53374 #ifdef HAVE_IEEEFP_H
53375 #include <ieeefp.h>
53376 #endif
53379 main ()
53381 _finitef(0);
53383 return 0;
53385 _ACEOF
53386 rm -f conftest.$ac_objext
53387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53388 (eval $ac_compile) 2>conftest.er1
53389 ac_status=$?
53390 grep -v '^ *+' conftest.er1 >conftest.err
53391 rm -f conftest.er1
53392 cat conftest.err >&5
53393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53394 (exit $ac_status); } &&
53395 { ac_try='test -z "$ac_cxx_werror_flag"
53396 || test ! -s conftest.err'
53397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53398 (eval $ac_try) 2>&5
53399 ac_status=$?
53400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53401 (exit $ac_status); }; } &&
53402 { ac_try='test -s conftest.$ac_objext'
53403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53404 (eval $ac_try) 2>&5
53405 ac_status=$?
53406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53407 (exit $ac_status); }; }; then
53408 glibcxx_cv_func__finitef_use=yes
53409 else
53410 echo "$as_me: failed program was:" >&5
53411 sed 's/^/| /' conftest.$ac_ext >&5
53413 glibcxx_cv_func__finitef_use=no
53415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53416 ac_ext=c
53417 ac_cpp='$CPP $CPPFLAGS'
53418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53426 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
53427 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
53429 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
53431 for ac_func in _finitef
53433 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53434 echo "$as_me:$LINENO: checking for $ac_func" >&5
53435 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53436 if eval "test \"\${$as_ac_var+set}\" = set"; then
53437 echo $ECHO_N "(cached) $ECHO_C" >&6
53438 else
53439 if test x$gcc_no_link = xyes; then
53440 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53441 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53442 { (exit 1); exit 1; }; }
53444 cat >conftest.$ac_ext <<_ACEOF
53445 /* confdefs.h. */
53446 _ACEOF
53447 cat confdefs.h >>conftest.$ac_ext
53448 cat >>conftest.$ac_ext <<_ACEOF
53449 /* end confdefs.h. */
53450 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53451 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53452 #define $ac_func innocuous_$ac_func
53454 /* System header to define __stub macros and hopefully few prototypes,
53455 which can conflict with char $ac_func (); below.
53456 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53457 <limits.h> exists even on freestanding compilers. */
53459 #ifdef __STDC__
53460 # include <limits.h>
53461 #else
53462 # include <assert.h>
53463 #endif
53465 #undef $ac_func
53467 /* Override any gcc2 internal prototype to avoid an error. */
53468 #ifdef __cplusplus
53469 extern "C"
53471 #endif
53472 /* We use char because int might match the return type of a gcc2
53473 builtin and then its argument prototype would still apply. */
53474 char $ac_func ();
53475 /* The GNU C library defines this for functions which it implements
53476 to always fail with ENOSYS. Some functions are actually named
53477 something starting with __ and the normal name is an alias. */
53478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53479 choke me
53480 #else
53481 char (*f) () = $ac_func;
53482 #endif
53483 #ifdef __cplusplus
53485 #endif
53488 main ()
53490 return f != $ac_func;
53492 return 0;
53494 _ACEOF
53495 rm -f conftest.$ac_objext conftest$ac_exeext
53496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53497 (eval $ac_link) 2>conftest.er1
53498 ac_status=$?
53499 grep -v '^ *+' conftest.er1 >conftest.err
53500 rm -f conftest.er1
53501 cat conftest.err >&5
53502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53503 (exit $ac_status); } &&
53504 { ac_try='test -z "$ac_c_werror_flag"
53505 || test ! -s conftest.err'
53506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53507 (eval $ac_try) 2>&5
53508 ac_status=$?
53509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53510 (exit $ac_status); }; } &&
53511 { ac_try='test -s conftest$ac_exeext'
53512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53513 (eval $ac_try) 2>&5
53514 ac_status=$?
53515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53516 (exit $ac_status); }; }; then
53517 eval "$as_ac_var=yes"
53518 else
53519 echo "$as_me: failed program was:" >&5
53520 sed 's/^/| /' conftest.$ac_ext >&5
53522 eval "$as_ac_var=no"
53524 rm -f conftest.err conftest.$ac_objext \
53525 conftest$ac_exeext conftest.$ac_ext
53527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53528 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53529 if test `eval echo '${'$as_ac_var'}'` = yes; then
53530 cat >>confdefs.h <<_ACEOF
53531 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53532 _ACEOF
53535 done
53545 echo "$as_me:$LINENO: checking for long double trig functions" >&5
53546 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
53547 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
53548 echo $ECHO_N "(cached) $ECHO_C" >&6
53549 else
53553 ac_ext=cc
53554 ac_cpp='$CXXCPP $CPPFLAGS'
53555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53559 cat >conftest.$ac_ext <<_ACEOF
53560 /* confdefs.h. */
53561 _ACEOF
53562 cat confdefs.h >>conftest.$ac_ext
53563 cat >>conftest.$ac_ext <<_ACEOF
53564 /* end confdefs.h. */
53565 #include <math.h>
53567 main ()
53569 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
53571 return 0;
53573 _ACEOF
53574 rm -f conftest.$ac_objext
53575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53576 (eval $ac_compile) 2>conftest.er1
53577 ac_status=$?
53578 grep -v '^ *+' conftest.er1 >conftest.err
53579 rm -f conftest.er1
53580 cat conftest.err >&5
53581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53582 (exit $ac_status); } &&
53583 { ac_try='test -z "$ac_cxx_werror_flag"
53584 || test ! -s conftest.err'
53585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53586 (eval $ac_try) 2>&5
53587 ac_status=$?
53588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53589 (exit $ac_status); }; } &&
53590 { ac_try='test -s conftest.$ac_objext'
53591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53592 (eval $ac_try) 2>&5
53593 ac_status=$?
53594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53595 (exit $ac_status); }; }; then
53596 glibcxx_cv_func_long_double_trig_use=yes
53597 else
53598 echo "$as_me: failed program was:" >&5
53599 sed 's/^/| /' conftest.$ac_ext >&5
53601 glibcxx_cv_func_long_double_trig_use=no
53603 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53604 ac_ext=c
53605 ac_cpp='$CPP $CPPFLAGS'
53606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53612 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
53613 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
53614 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
53624 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
53626 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53627 echo "$as_me:$LINENO: checking for $ac_func" >&5
53628 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53629 if eval "test \"\${$as_ac_var+set}\" = set"; then
53630 echo $ECHO_N "(cached) $ECHO_C" >&6
53631 else
53632 if test x$gcc_no_link = xyes; then
53633 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53634 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53635 { (exit 1); exit 1; }; }
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53644 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53645 #define $ac_func innocuous_$ac_func
53647 /* System header to define __stub macros and hopefully few prototypes,
53648 which can conflict with char $ac_func (); below.
53649 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53650 <limits.h> exists even on freestanding compilers. */
53652 #ifdef __STDC__
53653 # include <limits.h>
53654 #else
53655 # include <assert.h>
53656 #endif
53658 #undef $ac_func
53660 /* Override any gcc2 internal prototype to avoid an error. */
53661 #ifdef __cplusplus
53662 extern "C"
53664 #endif
53665 /* We use char because int might match the return type of a gcc2
53666 builtin and then its argument prototype would still apply. */
53667 char $ac_func ();
53668 /* The GNU C library defines this for functions which it implements
53669 to always fail with ENOSYS. Some functions are actually named
53670 something starting with __ and the normal name is an alias. */
53671 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53672 choke me
53673 #else
53674 char (*f) () = $ac_func;
53675 #endif
53676 #ifdef __cplusplus
53678 #endif
53681 main ()
53683 return f != $ac_func;
53685 return 0;
53687 _ACEOF
53688 rm -f conftest.$ac_objext conftest$ac_exeext
53689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53690 (eval $ac_link) 2>conftest.er1
53691 ac_status=$?
53692 grep -v '^ *+' conftest.er1 >conftest.err
53693 rm -f conftest.er1
53694 cat conftest.err >&5
53695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53696 (exit $ac_status); } &&
53697 { ac_try='test -z "$ac_c_werror_flag"
53698 || test ! -s conftest.err'
53699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53700 (eval $ac_try) 2>&5
53701 ac_status=$?
53702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53703 (exit $ac_status); }; } &&
53704 { ac_try='test -s conftest$ac_exeext'
53705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53706 (eval $ac_try) 2>&5
53707 ac_status=$?
53708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53709 (exit $ac_status); }; }; then
53710 eval "$as_ac_var=yes"
53711 else
53712 echo "$as_me: failed program was:" >&5
53713 sed 's/^/| /' conftest.$ac_ext >&5
53715 eval "$as_ac_var=no"
53717 rm -f conftest.err conftest.$ac_objext \
53718 conftest$ac_exeext conftest.$ac_ext
53720 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53721 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53722 if test `eval echo '${'$as_ac_var'}'` = yes; then
53723 cat >>confdefs.h <<_ACEOF
53724 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53725 _ACEOF
53728 done
53730 else
53731 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
53732 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
53733 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
53734 echo $ECHO_N "(cached) $ECHO_C" >&6
53735 else
53739 ac_ext=cc
53740 ac_cpp='$CXXCPP $CPPFLAGS'
53741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53745 cat >conftest.$ac_ext <<_ACEOF
53746 /* confdefs.h. */
53747 _ACEOF
53748 cat confdefs.h >>conftest.$ac_ext
53749 cat >>conftest.$ac_ext <<_ACEOF
53750 /* end confdefs.h. */
53751 #include <math.h>
53753 main ()
53755 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
53757 return 0;
53759 _ACEOF
53760 rm -f conftest.$ac_objext
53761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53762 (eval $ac_compile) 2>conftest.er1
53763 ac_status=$?
53764 grep -v '^ *+' conftest.er1 >conftest.err
53765 rm -f conftest.er1
53766 cat conftest.err >&5
53767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53768 (exit $ac_status); } &&
53769 { ac_try='test -z "$ac_cxx_werror_flag"
53770 || test ! -s conftest.err'
53771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53772 (eval $ac_try) 2>&5
53773 ac_status=$?
53774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53775 (exit $ac_status); }; } &&
53776 { ac_try='test -s conftest.$ac_objext'
53777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53778 (eval $ac_try) 2>&5
53779 ac_status=$?
53780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53781 (exit $ac_status); }; }; then
53782 glibcxx_cv_func__long_double_trig_use=yes
53783 else
53784 echo "$as_me: failed program was:" >&5
53785 sed 's/^/| /' conftest.$ac_ext >&5
53787 glibcxx_cv_func__long_double_trig_use=no
53789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53790 ac_ext=c
53791 ac_cpp='$CPP $CPPFLAGS'
53792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53798 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
53799 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
53800 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
53810 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
53812 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53813 echo "$as_me:$LINENO: checking for $ac_func" >&5
53814 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53815 if eval "test \"\${$as_ac_var+set}\" = set"; then
53816 echo $ECHO_N "(cached) $ECHO_C" >&6
53817 else
53818 if test x$gcc_no_link = xyes; then
53819 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53820 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53821 { (exit 1); exit 1; }; }
53823 cat >conftest.$ac_ext <<_ACEOF
53824 /* confdefs.h. */
53825 _ACEOF
53826 cat confdefs.h >>conftest.$ac_ext
53827 cat >>conftest.$ac_ext <<_ACEOF
53828 /* end confdefs.h. */
53829 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53830 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53831 #define $ac_func innocuous_$ac_func
53833 /* System header to define __stub macros and hopefully few prototypes,
53834 which can conflict with char $ac_func (); below.
53835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53836 <limits.h> exists even on freestanding compilers. */
53838 #ifdef __STDC__
53839 # include <limits.h>
53840 #else
53841 # include <assert.h>
53842 #endif
53844 #undef $ac_func
53846 /* Override any gcc2 internal prototype to avoid an error. */
53847 #ifdef __cplusplus
53848 extern "C"
53850 #endif
53851 /* We use char because int might match the return type of a gcc2
53852 builtin and then its argument prototype would still apply. */
53853 char $ac_func ();
53854 /* The GNU C library defines this for functions which it implements
53855 to always fail with ENOSYS. Some functions are actually named
53856 something starting with __ and the normal name is an alias. */
53857 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53858 choke me
53859 #else
53860 char (*f) () = $ac_func;
53861 #endif
53862 #ifdef __cplusplus
53864 #endif
53867 main ()
53869 return f != $ac_func;
53871 return 0;
53873 _ACEOF
53874 rm -f conftest.$ac_objext conftest$ac_exeext
53875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53876 (eval $ac_link) 2>conftest.er1
53877 ac_status=$?
53878 grep -v '^ *+' conftest.er1 >conftest.err
53879 rm -f conftest.er1
53880 cat conftest.err >&5
53881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53882 (exit $ac_status); } &&
53883 { ac_try='test -z "$ac_c_werror_flag"
53884 || test ! -s conftest.err'
53885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53886 (eval $ac_try) 2>&5
53887 ac_status=$?
53888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53889 (exit $ac_status); }; } &&
53890 { ac_try='test -s conftest$ac_exeext'
53891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53892 (eval $ac_try) 2>&5
53893 ac_status=$?
53894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53895 (exit $ac_status); }; }; then
53896 eval "$as_ac_var=yes"
53897 else
53898 echo "$as_me: failed program was:" >&5
53899 sed 's/^/| /' conftest.$ac_ext >&5
53901 eval "$as_ac_var=no"
53903 rm -f conftest.err conftest.$ac_objext \
53904 conftest$ac_exeext conftest.$ac_ext
53906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53907 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53908 if test `eval echo '${'$as_ac_var'}'` = yes; then
53909 cat >>confdefs.h <<_ACEOF
53910 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53911 _ACEOF
53914 done
53932 echo "$as_me:$LINENO: checking for long double round functions" >&5
53933 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
53934 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
53935 echo $ECHO_N "(cached) $ECHO_C" >&6
53936 else
53940 ac_ext=cc
53941 ac_cpp='$CXXCPP $CPPFLAGS'
53942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53946 cat >conftest.$ac_ext <<_ACEOF
53947 /* confdefs.h. */
53948 _ACEOF
53949 cat confdefs.h >>conftest.$ac_ext
53950 cat >>conftest.$ac_ext <<_ACEOF
53951 /* end confdefs.h. */
53952 #include <math.h>
53954 main ()
53956 ceill (0); floorl (0);
53958 return 0;
53960 _ACEOF
53961 rm -f conftest.$ac_objext
53962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53963 (eval $ac_compile) 2>conftest.er1
53964 ac_status=$?
53965 grep -v '^ *+' conftest.er1 >conftest.err
53966 rm -f conftest.er1
53967 cat conftest.err >&5
53968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53969 (exit $ac_status); } &&
53970 { ac_try='test -z "$ac_cxx_werror_flag"
53971 || test ! -s conftest.err'
53972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53973 (eval $ac_try) 2>&5
53974 ac_status=$?
53975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53976 (exit $ac_status); }; } &&
53977 { ac_try='test -s conftest.$ac_objext'
53978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53979 (eval $ac_try) 2>&5
53980 ac_status=$?
53981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53982 (exit $ac_status); }; }; then
53983 glibcxx_cv_func_long_double_round_use=yes
53984 else
53985 echo "$as_me: failed program was:" >&5
53986 sed 's/^/| /' conftest.$ac_ext >&5
53988 glibcxx_cv_func_long_double_round_use=no
53990 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53991 ac_ext=c
53992 ac_cpp='$CPP $CPPFLAGS'
53993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53999 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
54000 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
54001 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
54004 for ac_func in ceill floorl
54006 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54007 echo "$as_me:$LINENO: checking for $ac_func" >&5
54008 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54009 if eval "test \"\${$as_ac_var+set}\" = set"; then
54010 echo $ECHO_N "(cached) $ECHO_C" >&6
54011 else
54012 if test x$gcc_no_link = xyes; then
54013 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54014 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54015 { (exit 1); exit 1; }; }
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54024 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54025 #define $ac_func innocuous_$ac_func
54027 /* System header to define __stub macros and hopefully few prototypes,
54028 which can conflict with char $ac_func (); below.
54029 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54030 <limits.h> exists even on freestanding compilers. */
54032 #ifdef __STDC__
54033 # include <limits.h>
54034 #else
54035 # include <assert.h>
54036 #endif
54038 #undef $ac_func
54040 /* Override any gcc2 internal prototype to avoid an error. */
54041 #ifdef __cplusplus
54042 extern "C"
54044 #endif
54045 /* We use char because int might match the return type of a gcc2
54046 builtin and then its argument prototype would still apply. */
54047 char $ac_func ();
54048 /* The GNU C library defines this for functions which it implements
54049 to always fail with ENOSYS. Some functions are actually named
54050 something starting with __ and the normal name is an alias. */
54051 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54052 choke me
54053 #else
54054 char (*f) () = $ac_func;
54055 #endif
54056 #ifdef __cplusplus
54058 #endif
54061 main ()
54063 return f != $ac_func;
54065 return 0;
54067 _ACEOF
54068 rm -f conftest.$ac_objext conftest$ac_exeext
54069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54070 (eval $ac_link) 2>conftest.er1
54071 ac_status=$?
54072 grep -v '^ *+' conftest.er1 >conftest.err
54073 rm -f conftest.er1
54074 cat conftest.err >&5
54075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54076 (exit $ac_status); } &&
54077 { ac_try='test -z "$ac_c_werror_flag"
54078 || test ! -s conftest.err'
54079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54080 (eval $ac_try) 2>&5
54081 ac_status=$?
54082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54083 (exit $ac_status); }; } &&
54084 { ac_try='test -s conftest$ac_exeext'
54085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54086 (eval $ac_try) 2>&5
54087 ac_status=$?
54088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54089 (exit $ac_status); }; }; then
54090 eval "$as_ac_var=yes"
54091 else
54092 echo "$as_me: failed program was:" >&5
54093 sed 's/^/| /' conftest.$ac_ext >&5
54095 eval "$as_ac_var=no"
54097 rm -f conftest.err conftest.$ac_objext \
54098 conftest$ac_exeext conftest.$ac_ext
54100 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54101 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54102 if test `eval echo '${'$as_ac_var'}'` = yes; then
54103 cat >>confdefs.h <<_ACEOF
54104 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54105 _ACEOF
54108 done
54110 else
54111 echo "$as_me:$LINENO: checking for _long double round functions" >&5
54112 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
54113 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
54114 echo $ECHO_N "(cached) $ECHO_C" >&6
54115 else
54119 ac_ext=cc
54120 ac_cpp='$CXXCPP $CPPFLAGS'
54121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54125 cat >conftest.$ac_ext <<_ACEOF
54126 /* confdefs.h. */
54127 _ACEOF
54128 cat confdefs.h >>conftest.$ac_ext
54129 cat >>conftest.$ac_ext <<_ACEOF
54130 /* end confdefs.h. */
54131 #include <math.h>
54133 main ()
54135 _ceill (0); _floorl (0);
54137 return 0;
54139 _ACEOF
54140 rm -f conftest.$ac_objext
54141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54142 (eval $ac_compile) 2>conftest.er1
54143 ac_status=$?
54144 grep -v '^ *+' conftest.er1 >conftest.err
54145 rm -f conftest.er1
54146 cat conftest.err >&5
54147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54148 (exit $ac_status); } &&
54149 { ac_try='test -z "$ac_cxx_werror_flag"
54150 || test ! -s conftest.err'
54151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54152 (eval $ac_try) 2>&5
54153 ac_status=$?
54154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54155 (exit $ac_status); }; } &&
54156 { ac_try='test -s conftest.$ac_objext'
54157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54158 (eval $ac_try) 2>&5
54159 ac_status=$?
54160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54161 (exit $ac_status); }; }; then
54162 glibcxx_cv_func__long_double_round_use=yes
54163 else
54164 echo "$as_me: failed program was:" >&5
54165 sed 's/^/| /' conftest.$ac_ext >&5
54167 glibcxx_cv_func__long_double_round_use=no
54169 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54170 ac_ext=c
54171 ac_cpp='$CPP $CPPFLAGS'
54172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54178 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
54179 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
54180 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
54183 for ac_func in _ceill _floorl
54185 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54186 echo "$as_me:$LINENO: checking for $ac_func" >&5
54187 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54188 if eval "test \"\${$as_ac_var+set}\" = set"; then
54189 echo $ECHO_N "(cached) $ECHO_C" >&6
54190 else
54191 if test x$gcc_no_link = xyes; then
54192 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54193 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54194 { (exit 1); exit 1; }; }
54196 cat >conftest.$ac_ext <<_ACEOF
54197 /* confdefs.h. */
54198 _ACEOF
54199 cat confdefs.h >>conftest.$ac_ext
54200 cat >>conftest.$ac_ext <<_ACEOF
54201 /* end confdefs.h. */
54202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54203 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54204 #define $ac_func innocuous_$ac_func
54206 /* System header to define __stub macros and hopefully few prototypes,
54207 which can conflict with char $ac_func (); below.
54208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54209 <limits.h> exists even on freestanding compilers. */
54211 #ifdef __STDC__
54212 # include <limits.h>
54213 #else
54214 # include <assert.h>
54215 #endif
54217 #undef $ac_func
54219 /* Override any gcc2 internal prototype to avoid an error. */
54220 #ifdef __cplusplus
54221 extern "C"
54223 #endif
54224 /* We use char because int might match the return type of a gcc2
54225 builtin and then its argument prototype would still apply. */
54226 char $ac_func ();
54227 /* The GNU C library defines this for functions which it implements
54228 to always fail with ENOSYS. Some functions are actually named
54229 something starting with __ and the normal name is an alias. */
54230 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54231 choke me
54232 #else
54233 char (*f) () = $ac_func;
54234 #endif
54235 #ifdef __cplusplus
54237 #endif
54240 main ()
54242 return f != $ac_func;
54244 return 0;
54246 _ACEOF
54247 rm -f conftest.$ac_objext conftest$ac_exeext
54248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54249 (eval $ac_link) 2>conftest.er1
54250 ac_status=$?
54251 grep -v '^ *+' conftest.er1 >conftest.err
54252 rm -f conftest.er1
54253 cat conftest.err >&5
54254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54255 (exit $ac_status); } &&
54256 { ac_try='test -z "$ac_c_werror_flag"
54257 || test ! -s conftest.err'
54258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54259 (eval $ac_try) 2>&5
54260 ac_status=$?
54261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54262 (exit $ac_status); }; } &&
54263 { ac_try='test -s conftest$ac_exeext'
54264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54265 (eval $ac_try) 2>&5
54266 ac_status=$?
54267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54268 (exit $ac_status); }; }; then
54269 eval "$as_ac_var=yes"
54270 else
54271 echo "$as_me: failed program was:" >&5
54272 sed 's/^/| /' conftest.$ac_ext >&5
54274 eval "$as_ac_var=no"
54276 rm -f conftest.err conftest.$ac_objext \
54277 conftest$ac_exeext conftest.$ac_ext
54279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54280 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54281 if test `eval echo '${'$as_ac_var'}'` = yes; then
54282 cat >>confdefs.h <<_ACEOF
54283 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54284 _ACEOF
54287 done
54299 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
54300 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
54301 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
54302 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
54303 echo $ECHO_N "(cached) $ECHO_C" >&6
54304 else
54308 ac_ext=cc
54309 ac_cpp='$CXXCPP $CPPFLAGS'
54310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54314 cat >conftest.$ac_ext <<_ACEOF
54315 /* confdefs.h. */
54316 _ACEOF
54317 cat confdefs.h >>conftest.$ac_ext
54318 cat >>conftest.$ac_ext <<_ACEOF
54319 /* end confdefs.h. */
54320 #include <math.h>
54321 #ifdef HAVE_IEEEFP_H
54322 #include <ieeefp.h>
54323 #endif
54326 main ()
54328 isnanl(0);
54330 return 0;
54332 _ACEOF
54333 rm -f conftest.$ac_objext
54334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54335 (eval $ac_compile) 2>conftest.er1
54336 ac_status=$?
54337 grep -v '^ *+' conftest.er1 >conftest.err
54338 rm -f conftest.er1
54339 cat conftest.err >&5
54340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54341 (exit $ac_status); } &&
54342 { ac_try='test -z "$ac_cxx_werror_flag"
54343 || test ! -s conftest.err'
54344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54345 (eval $ac_try) 2>&5
54346 ac_status=$?
54347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54348 (exit $ac_status); }; } &&
54349 { ac_try='test -s conftest.$ac_objext'
54350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54351 (eval $ac_try) 2>&5
54352 ac_status=$?
54353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54354 (exit $ac_status); }; }; then
54355 glibcxx_cv_func_isnanl_use=yes
54356 else
54357 echo "$as_me: failed program was:" >&5
54358 sed 's/^/| /' conftest.$ac_ext >&5
54360 glibcxx_cv_func_isnanl_use=no
54362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54363 ac_ext=c
54364 ac_cpp='$CPP $CPPFLAGS'
54365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54373 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
54374 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
54376 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
54378 for ac_func in isnanl
54380 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54381 echo "$as_me:$LINENO: checking for $ac_func" >&5
54382 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54383 if eval "test \"\${$as_ac_var+set}\" = set"; then
54384 echo $ECHO_N "(cached) $ECHO_C" >&6
54385 else
54386 if test x$gcc_no_link = xyes; then
54387 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54388 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54389 { (exit 1); exit 1; }; }
54391 cat >conftest.$ac_ext <<_ACEOF
54392 /* confdefs.h. */
54393 _ACEOF
54394 cat confdefs.h >>conftest.$ac_ext
54395 cat >>conftest.$ac_ext <<_ACEOF
54396 /* end confdefs.h. */
54397 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54398 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54399 #define $ac_func innocuous_$ac_func
54401 /* System header to define __stub macros and hopefully few prototypes,
54402 which can conflict with char $ac_func (); below.
54403 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54404 <limits.h> exists even on freestanding compilers. */
54406 #ifdef __STDC__
54407 # include <limits.h>
54408 #else
54409 # include <assert.h>
54410 #endif
54412 #undef $ac_func
54414 /* Override any gcc2 internal prototype to avoid an error. */
54415 #ifdef __cplusplus
54416 extern "C"
54418 #endif
54419 /* We use char because int might match the return type of a gcc2
54420 builtin and then its argument prototype would still apply. */
54421 char $ac_func ();
54422 /* The GNU C library defines this for functions which it implements
54423 to always fail with ENOSYS. Some functions are actually named
54424 something starting with __ and the normal name is an alias. */
54425 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54426 choke me
54427 #else
54428 char (*f) () = $ac_func;
54429 #endif
54430 #ifdef __cplusplus
54432 #endif
54435 main ()
54437 return f != $ac_func;
54439 return 0;
54441 _ACEOF
54442 rm -f conftest.$ac_objext conftest$ac_exeext
54443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54444 (eval $ac_link) 2>conftest.er1
54445 ac_status=$?
54446 grep -v '^ *+' conftest.er1 >conftest.err
54447 rm -f conftest.er1
54448 cat conftest.err >&5
54449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54450 (exit $ac_status); } &&
54451 { ac_try='test -z "$ac_c_werror_flag"
54452 || test ! -s conftest.err'
54453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54454 (eval $ac_try) 2>&5
54455 ac_status=$?
54456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54457 (exit $ac_status); }; } &&
54458 { ac_try='test -s conftest$ac_exeext'
54459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54460 (eval $ac_try) 2>&5
54461 ac_status=$?
54462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54463 (exit $ac_status); }; }; then
54464 eval "$as_ac_var=yes"
54465 else
54466 echo "$as_me: failed program was:" >&5
54467 sed 's/^/| /' conftest.$ac_ext >&5
54469 eval "$as_ac_var=no"
54471 rm -f conftest.err conftest.$ac_objext \
54472 conftest$ac_exeext conftest.$ac_ext
54474 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54475 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54476 if test `eval echo '${'$as_ac_var'}'` = yes; then
54477 cat >>confdefs.h <<_ACEOF
54478 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54479 _ACEOF
54482 done
54484 else
54486 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
54487 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
54488 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
54489 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
54490 echo $ECHO_N "(cached) $ECHO_C" >&6
54491 else
54495 ac_ext=cc
54496 ac_cpp='$CXXCPP $CPPFLAGS'
54497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54501 cat >conftest.$ac_ext <<_ACEOF
54502 /* confdefs.h. */
54503 _ACEOF
54504 cat confdefs.h >>conftest.$ac_ext
54505 cat >>conftest.$ac_ext <<_ACEOF
54506 /* end confdefs.h. */
54507 #include <math.h>
54508 #ifdef HAVE_IEEEFP_H
54509 #include <ieeefp.h>
54510 #endif
54513 main ()
54515 _isnanl(0);
54517 return 0;
54519 _ACEOF
54520 rm -f conftest.$ac_objext
54521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54522 (eval $ac_compile) 2>conftest.er1
54523 ac_status=$?
54524 grep -v '^ *+' conftest.er1 >conftest.err
54525 rm -f conftest.er1
54526 cat conftest.err >&5
54527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54528 (exit $ac_status); } &&
54529 { ac_try='test -z "$ac_cxx_werror_flag"
54530 || test ! -s conftest.err'
54531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54532 (eval $ac_try) 2>&5
54533 ac_status=$?
54534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54535 (exit $ac_status); }; } &&
54536 { ac_try='test -s conftest.$ac_objext'
54537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54538 (eval $ac_try) 2>&5
54539 ac_status=$?
54540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54541 (exit $ac_status); }; }; then
54542 glibcxx_cv_func__isnanl_use=yes
54543 else
54544 echo "$as_me: failed program was:" >&5
54545 sed 's/^/| /' conftest.$ac_ext >&5
54547 glibcxx_cv_func__isnanl_use=no
54549 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54550 ac_ext=c
54551 ac_cpp='$CPP $CPPFLAGS'
54552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54560 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
54561 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
54563 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
54565 for ac_func in _isnanl
54567 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54568 echo "$as_me:$LINENO: checking for $ac_func" >&5
54569 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54570 if eval "test \"\${$as_ac_var+set}\" = set"; then
54571 echo $ECHO_N "(cached) $ECHO_C" >&6
54572 else
54573 if test x$gcc_no_link = xyes; then
54574 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54575 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54576 { (exit 1); exit 1; }; }
54578 cat >conftest.$ac_ext <<_ACEOF
54579 /* confdefs.h. */
54580 _ACEOF
54581 cat confdefs.h >>conftest.$ac_ext
54582 cat >>conftest.$ac_ext <<_ACEOF
54583 /* end confdefs.h. */
54584 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54585 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54586 #define $ac_func innocuous_$ac_func
54588 /* System header to define __stub macros and hopefully few prototypes,
54589 which can conflict with char $ac_func (); below.
54590 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54591 <limits.h> exists even on freestanding compilers. */
54593 #ifdef __STDC__
54594 # include <limits.h>
54595 #else
54596 # include <assert.h>
54597 #endif
54599 #undef $ac_func
54601 /* Override any gcc2 internal prototype to avoid an error. */
54602 #ifdef __cplusplus
54603 extern "C"
54605 #endif
54606 /* We use char because int might match the return type of a gcc2
54607 builtin and then its argument prototype would still apply. */
54608 char $ac_func ();
54609 /* The GNU C library defines this for functions which it implements
54610 to always fail with ENOSYS. Some functions are actually named
54611 something starting with __ and the normal name is an alias. */
54612 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54613 choke me
54614 #else
54615 char (*f) () = $ac_func;
54616 #endif
54617 #ifdef __cplusplus
54619 #endif
54622 main ()
54624 return f != $ac_func;
54626 return 0;
54628 _ACEOF
54629 rm -f conftest.$ac_objext conftest$ac_exeext
54630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54631 (eval $ac_link) 2>conftest.er1
54632 ac_status=$?
54633 grep -v '^ *+' conftest.er1 >conftest.err
54634 rm -f conftest.er1
54635 cat conftest.err >&5
54636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54637 (exit $ac_status); } &&
54638 { ac_try='test -z "$ac_c_werror_flag"
54639 || test ! -s conftest.err'
54640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54641 (eval $ac_try) 2>&5
54642 ac_status=$?
54643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54644 (exit $ac_status); }; } &&
54645 { ac_try='test -s conftest$ac_exeext'
54646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54647 (eval $ac_try) 2>&5
54648 ac_status=$?
54649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54650 (exit $ac_status); }; }; then
54651 eval "$as_ac_var=yes"
54652 else
54653 echo "$as_me: failed program was:" >&5
54654 sed 's/^/| /' conftest.$ac_ext >&5
54656 eval "$as_ac_var=no"
54658 rm -f conftest.err conftest.$ac_objext \
54659 conftest$ac_exeext conftest.$ac_ext
54661 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54662 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54663 if test `eval echo '${'$as_ac_var'}'` = yes; then
54664 cat >>confdefs.h <<_ACEOF
54665 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54666 _ACEOF
54669 done
54679 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
54680 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
54681 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
54682 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
54683 echo $ECHO_N "(cached) $ECHO_C" >&6
54684 else
54688 ac_ext=cc
54689 ac_cpp='$CXXCPP $CPPFLAGS'
54690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54694 cat >conftest.$ac_ext <<_ACEOF
54695 /* confdefs.h. */
54696 _ACEOF
54697 cat confdefs.h >>conftest.$ac_ext
54698 cat >>conftest.$ac_ext <<_ACEOF
54699 /* end confdefs.h. */
54700 #include <math.h>
54701 #ifdef HAVE_IEEEFP_H
54702 #include <ieeefp.h>
54703 #endif
54706 main ()
54708 isinfl(0);
54710 return 0;
54712 _ACEOF
54713 rm -f conftest.$ac_objext
54714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54715 (eval $ac_compile) 2>conftest.er1
54716 ac_status=$?
54717 grep -v '^ *+' conftest.er1 >conftest.err
54718 rm -f conftest.er1
54719 cat conftest.err >&5
54720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54721 (exit $ac_status); } &&
54722 { ac_try='test -z "$ac_cxx_werror_flag"
54723 || test ! -s conftest.err'
54724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54725 (eval $ac_try) 2>&5
54726 ac_status=$?
54727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54728 (exit $ac_status); }; } &&
54729 { ac_try='test -s conftest.$ac_objext'
54730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54731 (eval $ac_try) 2>&5
54732 ac_status=$?
54733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54734 (exit $ac_status); }; }; then
54735 glibcxx_cv_func_isinfl_use=yes
54736 else
54737 echo "$as_me: failed program was:" >&5
54738 sed 's/^/| /' conftest.$ac_ext >&5
54740 glibcxx_cv_func_isinfl_use=no
54742 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54743 ac_ext=c
54744 ac_cpp='$CPP $CPPFLAGS'
54745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54753 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
54754 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
54756 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
54758 for ac_func in isinfl
54760 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54761 echo "$as_me:$LINENO: checking for $ac_func" >&5
54762 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54763 if eval "test \"\${$as_ac_var+set}\" = set"; then
54764 echo $ECHO_N "(cached) $ECHO_C" >&6
54765 else
54766 if test x$gcc_no_link = xyes; then
54767 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54768 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54769 { (exit 1); exit 1; }; }
54771 cat >conftest.$ac_ext <<_ACEOF
54772 /* confdefs.h. */
54773 _ACEOF
54774 cat confdefs.h >>conftest.$ac_ext
54775 cat >>conftest.$ac_ext <<_ACEOF
54776 /* end confdefs.h. */
54777 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54778 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54779 #define $ac_func innocuous_$ac_func
54781 /* System header to define __stub macros and hopefully few prototypes,
54782 which can conflict with char $ac_func (); below.
54783 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54784 <limits.h> exists even on freestanding compilers. */
54786 #ifdef __STDC__
54787 # include <limits.h>
54788 #else
54789 # include <assert.h>
54790 #endif
54792 #undef $ac_func
54794 /* Override any gcc2 internal prototype to avoid an error. */
54795 #ifdef __cplusplus
54796 extern "C"
54798 #endif
54799 /* We use char because int might match the return type of a gcc2
54800 builtin and then its argument prototype would still apply. */
54801 char $ac_func ();
54802 /* The GNU C library defines this for functions which it implements
54803 to always fail with ENOSYS. Some functions are actually named
54804 something starting with __ and the normal name is an alias. */
54805 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54806 choke me
54807 #else
54808 char (*f) () = $ac_func;
54809 #endif
54810 #ifdef __cplusplus
54812 #endif
54815 main ()
54817 return f != $ac_func;
54819 return 0;
54821 _ACEOF
54822 rm -f conftest.$ac_objext conftest$ac_exeext
54823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54824 (eval $ac_link) 2>conftest.er1
54825 ac_status=$?
54826 grep -v '^ *+' conftest.er1 >conftest.err
54827 rm -f conftest.er1
54828 cat conftest.err >&5
54829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54830 (exit $ac_status); } &&
54831 { ac_try='test -z "$ac_c_werror_flag"
54832 || test ! -s conftest.err'
54833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54834 (eval $ac_try) 2>&5
54835 ac_status=$?
54836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54837 (exit $ac_status); }; } &&
54838 { ac_try='test -s conftest$ac_exeext'
54839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54840 (eval $ac_try) 2>&5
54841 ac_status=$?
54842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54843 (exit $ac_status); }; }; then
54844 eval "$as_ac_var=yes"
54845 else
54846 echo "$as_me: failed program was:" >&5
54847 sed 's/^/| /' conftest.$ac_ext >&5
54849 eval "$as_ac_var=no"
54851 rm -f conftest.err conftest.$ac_objext \
54852 conftest$ac_exeext conftest.$ac_ext
54854 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54855 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54856 if test `eval echo '${'$as_ac_var'}'` = yes; then
54857 cat >>confdefs.h <<_ACEOF
54858 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54859 _ACEOF
54862 done
54864 else
54866 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
54867 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
54868 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
54869 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
54870 echo $ECHO_N "(cached) $ECHO_C" >&6
54871 else
54875 ac_ext=cc
54876 ac_cpp='$CXXCPP $CPPFLAGS'
54877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54881 cat >conftest.$ac_ext <<_ACEOF
54882 /* confdefs.h. */
54883 _ACEOF
54884 cat confdefs.h >>conftest.$ac_ext
54885 cat >>conftest.$ac_ext <<_ACEOF
54886 /* end confdefs.h. */
54887 #include <math.h>
54888 #ifdef HAVE_IEEEFP_H
54889 #include <ieeefp.h>
54890 #endif
54893 main ()
54895 _isinfl(0);
54897 return 0;
54899 _ACEOF
54900 rm -f conftest.$ac_objext
54901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54902 (eval $ac_compile) 2>conftest.er1
54903 ac_status=$?
54904 grep -v '^ *+' conftest.er1 >conftest.err
54905 rm -f conftest.er1
54906 cat conftest.err >&5
54907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54908 (exit $ac_status); } &&
54909 { ac_try='test -z "$ac_cxx_werror_flag"
54910 || test ! -s conftest.err'
54911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54912 (eval $ac_try) 2>&5
54913 ac_status=$?
54914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54915 (exit $ac_status); }; } &&
54916 { ac_try='test -s conftest.$ac_objext'
54917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54918 (eval $ac_try) 2>&5
54919 ac_status=$?
54920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54921 (exit $ac_status); }; }; then
54922 glibcxx_cv_func__isinfl_use=yes
54923 else
54924 echo "$as_me: failed program was:" >&5
54925 sed 's/^/| /' conftest.$ac_ext >&5
54927 glibcxx_cv_func__isinfl_use=no
54929 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54930 ac_ext=c
54931 ac_cpp='$CPP $CPPFLAGS'
54932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54940 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
54941 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
54943 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
54945 for ac_func in _isinfl
54947 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54948 echo "$as_me:$LINENO: checking for $ac_func" >&5
54949 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54950 if eval "test \"\${$as_ac_var+set}\" = set"; then
54951 echo $ECHO_N "(cached) $ECHO_C" >&6
54952 else
54953 if test x$gcc_no_link = xyes; then
54954 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54955 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54956 { (exit 1); exit 1; }; }
54958 cat >conftest.$ac_ext <<_ACEOF
54959 /* confdefs.h. */
54960 _ACEOF
54961 cat confdefs.h >>conftest.$ac_ext
54962 cat >>conftest.$ac_ext <<_ACEOF
54963 /* end confdefs.h. */
54964 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54965 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54966 #define $ac_func innocuous_$ac_func
54968 /* System header to define __stub macros and hopefully few prototypes,
54969 which can conflict with char $ac_func (); below.
54970 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54971 <limits.h> exists even on freestanding compilers. */
54973 #ifdef __STDC__
54974 # include <limits.h>
54975 #else
54976 # include <assert.h>
54977 #endif
54979 #undef $ac_func
54981 /* Override any gcc2 internal prototype to avoid an error. */
54982 #ifdef __cplusplus
54983 extern "C"
54985 #endif
54986 /* We use char because int might match the return type of a gcc2
54987 builtin and then its argument prototype would still apply. */
54988 char $ac_func ();
54989 /* The GNU C library defines this for functions which it implements
54990 to always fail with ENOSYS. Some functions are actually named
54991 something starting with __ and the normal name is an alias. */
54992 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54993 choke me
54994 #else
54995 char (*f) () = $ac_func;
54996 #endif
54997 #ifdef __cplusplus
54999 #endif
55002 main ()
55004 return f != $ac_func;
55006 return 0;
55008 _ACEOF
55009 rm -f conftest.$ac_objext conftest$ac_exeext
55010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55011 (eval $ac_link) 2>conftest.er1
55012 ac_status=$?
55013 grep -v '^ *+' conftest.er1 >conftest.err
55014 rm -f conftest.er1
55015 cat conftest.err >&5
55016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55017 (exit $ac_status); } &&
55018 { ac_try='test -z "$ac_c_werror_flag"
55019 || test ! -s conftest.err'
55020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55021 (eval $ac_try) 2>&5
55022 ac_status=$?
55023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55024 (exit $ac_status); }; } &&
55025 { ac_try='test -s conftest$ac_exeext'
55026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55027 (eval $ac_try) 2>&5
55028 ac_status=$?
55029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55030 (exit $ac_status); }; }; then
55031 eval "$as_ac_var=yes"
55032 else
55033 echo "$as_me: failed program was:" >&5
55034 sed 's/^/| /' conftest.$ac_ext >&5
55036 eval "$as_ac_var=no"
55038 rm -f conftest.err conftest.$ac_objext \
55039 conftest$ac_exeext conftest.$ac_ext
55041 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55042 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55043 if test `eval echo '${'$as_ac_var'}'` = yes; then
55044 cat >>confdefs.h <<_ACEOF
55045 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55046 _ACEOF
55049 done
55059 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
55060 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
55061 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
55062 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
55063 echo $ECHO_N "(cached) $ECHO_C" >&6
55064 else
55068 ac_ext=cc
55069 ac_cpp='$CXXCPP $CPPFLAGS'
55070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55074 cat >conftest.$ac_ext <<_ACEOF
55075 /* confdefs.h. */
55076 _ACEOF
55077 cat confdefs.h >>conftest.$ac_ext
55078 cat >>conftest.$ac_ext <<_ACEOF
55079 /* end confdefs.h. */
55080 #include <math.h>
55082 main ()
55084 copysignl(0, 0);
55086 return 0;
55088 _ACEOF
55089 rm -f conftest.$ac_objext
55090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55091 (eval $ac_compile) 2>conftest.er1
55092 ac_status=$?
55093 grep -v '^ *+' conftest.er1 >conftest.err
55094 rm -f conftest.er1
55095 cat conftest.err >&5
55096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55097 (exit $ac_status); } &&
55098 { ac_try='test -z "$ac_cxx_werror_flag"
55099 || test ! -s conftest.err'
55100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55101 (eval $ac_try) 2>&5
55102 ac_status=$?
55103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55104 (exit $ac_status); }; } &&
55105 { ac_try='test -s conftest.$ac_objext'
55106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55107 (eval $ac_try) 2>&5
55108 ac_status=$?
55109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55110 (exit $ac_status); }; }; then
55111 glibcxx_cv_func_copysignl_use=yes
55112 else
55113 echo "$as_me: failed program was:" >&5
55114 sed 's/^/| /' conftest.$ac_ext >&5
55116 glibcxx_cv_func_copysignl_use=no
55118 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55119 ac_ext=c
55120 ac_cpp='$CPP $CPPFLAGS'
55121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55129 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
55130 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
55132 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
55134 for ac_func in copysignl
55136 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55137 echo "$as_me:$LINENO: checking for $ac_func" >&5
55138 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55139 if eval "test \"\${$as_ac_var+set}\" = set"; then
55140 echo $ECHO_N "(cached) $ECHO_C" >&6
55141 else
55142 if test x$gcc_no_link = xyes; then
55143 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55144 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55145 { (exit 1); exit 1; }; }
55147 cat >conftest.$ac_ext <<_ACEOF
55148 /* confdefs.h. */
55149 _ACEOF
55150 cat confdefs.h >>conftest.$ac_ext
55151 cat >>conftest.$ac_ext <<_ACEOF
55152 /* end confdefs.h. */
55153 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55154 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55155 #define $ac_func innocuous_$ac_func
55157 /* System header to define __stub macros and hopefully few prototypes,
55158 which can conflict with char $ac_func (); below.
55159 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55160 <limits.h> exists even on freestanding compilers. */
55162 #ifdef __STDC__
55163 # include <limits.h>
55164 #else
55165 # include <assert.h>
55166 #endif
55168 #undef $ac_func
55170 /* Override any gcc2 internal prototype to avoid an error. */
55171 #ifdef __cplusplus
55172 extern "C"
55174 #endif
55175 /* We use char because int might match the return type of a gcc2
55176 builtin and then its argument prototype would still apply. */
55177 char $ac_func ();
55178 /* The GNU C library defines this for functions which it implements
55179 to always fail with ENOSYS. Some functions are actually named
55180 something starting with __ and the normal name is an alias. */
55181 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55182 choke me
55183 #else
55184 char (*f) () = $ac_func;
55185 #endif
55186 #ifdef __cplusplus
55188 #endif
55191 main ()
55193 return f != $ac_func;
55195 return 0;
55197 _ACEOF
55198 rm -f conftest.$ac_objext conftest$ac_exeext
55199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55200 (eval $ac_link) 2>conftest.er1
55201 ac_status=$?
55202 grep -v '^ *+' conftest.er1 >conftest.err
55203 rm -f conftest.er1
55204 cat conftest.err >&5
55205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55206 (exit $ac_status); } &&
55207 { ac_try='test -z "$ac_c_werror_flag"
55208 || test ! -s conftest.err'
55209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55210 (eval $ac_try) 2>&5
55211 ac_status=$?
55212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55213 (exit $ac_status); }; } &&
55214 { ac_try='test -s conftest$ac_exeext'
55215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55216 (eval $ac_try) 2>&5
55217 ac_status=$?
55218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55219 (exit $ac_status); }; }; then
55220 eval "$as_ac_var=yes"
55221 else
55222 echo "$as_me: failed program was:" >&5
55223 sed 's/^/| /' conftest.$ac_ext >&5
55225 eval "$as_ac_var=no"
55227 rm -f conftest.err conftest.$ac_objext \
55228 conftest$ac_exeext conftest.$ac_ext
55230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55231 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55232 if test `eval echo '${'$as_ac_var'}'` = yes; then
55233 cat >>confdefs.h <<_ACEOF
55234 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55235 _ACEOF
55238 done
55240 else
55242 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
55243 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
55244 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
55245 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
55246 echo $ECHO_N "(cached) $ECHO_C" >&6
55247 else
55251 ac_ext=cc
55252 ac_cpp='$CXXCPP $CPPFLAGS'
55253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55257 cat >conftest.$ac_ext <<_ACEOF
55258 /* confdefs.h. */
55259 _ACEOF
55260 cat confdefs.h >>conftest.$ac_ext
55261 cat >>conftest.$ac_ext <<_ACEOF
55262 /* end confdefs.h. */
55263 #include <math.h>
55265 main ()
55267 _copysignl(0, 0);
55269 return 0;
55271 _ACEOF
55272 rm -f conftest.$ac_objext
55273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55274 (eval $ac_compile) 2>conftest.er1
55275 ac_status=$?
55276 grep -v '^ *+' conftest.er1 >conftest.err
55277 rm -f conftest.er1
55278 cat conftest.err >&5
55279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55280 (exit $ac_status); } &&
55281 { ac_try='test -z "$ac_cxx_werror_flag"
55282 || test ! -s conftest.err'
55283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55284 (eval $ac_try) 2>&5
55285 ac_status=$?
55286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55287 (exit $ac_status); }; } &&
55288 { ac_try='test -s conftest.$ac_objext'
55289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55290 (eval $ac_try) 2>&5
55291 ac_status=$?
55292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55293 (exit $ac_status); }; }; then
55294 glibcxx_cv_func__copysignl_use=yes
55295 else
55296 echo "$as_me: failed program was:" >&5
55297 sed 's/^/| /' conftest.$ac_ext >&5
55299 glibcxx_cv_func__copysignl_use=no
55301 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55302 ac_ext=c
55303 ac_cpp='$CPP $CPPFLAGS'
55304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55312 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
55313 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
55315 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
55317 for ac_func in _copysignl
55319 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55320 echo "$as_me:$LINENO: checking for $ac_func" >&5
55321 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55322 if eval "test \"\${$as_ac_var+set}\" = set"; then
55323 echo $ECHO_N "(cached) $ECHO_C" >&6
55324 else
55325 if test x$gcc_no_link = xyes; then
55326 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55327 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55328 { (exit 1); exit 1; }; }
55330 cat >conftest.$ac_ext <<_ACEOF
55331 /* confdefs.h. */
55332 _ACEOF
55333 cat confdefs.h >>conftest.$ac_ext
55334 cat >>conftest.$ac_ext <<_ACEOF
55335 /* end confdefs.h. */
55336 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55337 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55338 #define $ac_func innocuous_$ac_func
55340 /* System header to define __stub macros and hopefully few prototypes,
55341 which can conflict with char $ac_func (); below.
55342 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55343 <limits.h> exists even on freestanding compilers. */
55345 #ifdef __STDC__
55346 # include <limits.h>
55347 #else
55348 # include <assert.h>
55349 #endif
55351 #undef $ac_func
55353 /* Override any gcc2 internal prototype to avoid an error. */
55354 #ifdef __cplusplus
55355 extern "C"
55357 #endif
55358 /* We use char because int might match the return type of a gcc2
55359 builtin and then its argument prototype would still apply. */
55360 char $ac_func ();
55361 /* The GNU C library defines this for functions which it implements
55362 to always fail with ENOSYS. Some functions are actually named
55363 something starting with __ and the normal name is an alias. */
55364 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55365 choke me
55366 #else
55367 char (*f) () = $ac_func;
55368 #endif
55369 #ifdef __cplusplus
55371 #endif
55374 main ()
55376 return f != $ac_func;
55378 return 0;
55380 _ACEOF
55381 rm -f conftest.$ac_objext conftest$ac_exeext
55382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55383 (eval $ac_link) 2>conftest.er1
55384 ac_status=$?
55385 grep -v '^ *+' conftest.er1 >conftest.err
55386 rm -f conftest.er1
55387 cat conftest.err >&5
55388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55389 (exit $ac_status); } &&
55390 { ac_try='test -z "$ac_c_werror_flag"
55391 || test ! -s conftest.err'
55392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55393 (eval $ac_try) 2>&5
55394 ac_status=$?
55395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55396 (exit $ac_status); }; } &&
55397 { ac_try='test -s conftest$ac_exeext'
55398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55399 (eval $ac_try) 2>&5
55400 ac_status=$?
55401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55402 (exit $ac_status); }; }; then
55403 eval "$as_ac_var=yes"
55404 else
55405 echo "$as_me: failed program was:" >&5
55406 sed 's/^/| /' conftest.$ac_ext >&5
55408 eval "$as_ac_var=no"
55410 rm -f conftest.err conftest.$ac_objext \
55411 conftest$ac_exeext conftest.$ac_ext
55413 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55414 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55415 if test `eval echo '${'$as_ac_var'}'` = yes; then
55416 cat >>confdefs.h <<_ACEOF
55417 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55418 _ACEOF
55421 done
55431 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
55432 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
55433 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
55434 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
55435 echo $ECHO_N "(cached) $ECHO_C" >&6
55436 else
55440 ac_ext=cc
55441 ac_cpp='$CXXCPP $CPPFLAGS'
55442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55446 cat >conftest.$ac_ext <<_ACEOF
55447 /* confdefs.h. */
55448 _ACEOF
55449 cat confdefs.h >>conftest.$ac_ext
55450 cat >>conftest.$ac_ext <<_ACEOF
55451 /* end confdefs.h. */
55452 #include <math.h>
55454 main ()
55456 atan2l(0, 0);
55458 return 0;
55460 _ACEOF
55461 rm -f conftest.$ac_objext
55462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55463 (eval $ac_compile) 2>conftest.er1
55464 ac_status=$?
55465 grep -v '^ *+' conftest.er1 >conftest.err
55466 rm -f conftest.er1
55467 cat conftest.err >&5
55468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55469 (exit $ac_status); } &&
55470 { ac_try='test -z "$ac_cxx_werror_flag"
55471 || test ! -s conftest.err'
55472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55473 (eval $ac_try) 2>&5
55474 ac_status=$?
55475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55476 (exit $ac_status); }; } &&
55477 { ac_try='test -s conftest.$ac_objext'
55478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55479 (eval $ac_try) 2>&5
55480 ac_status=$?
55481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55482 (exit $ac_status); }; }; then
55483 glibcxx_cv_func_atan2l_use=yes
55484 else
55485 echo "$as_me: failed program was:" >&5
55486 sed 's/^/| /' conftest.$ac_ext >&5
55488 glibcxx_cv_func_atan2l_use=no
55490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55491 ac_ext=c
55492 ac_cpp='$CPP $CPPFLAGS'
55493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55501 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
55502 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
55504 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
55506 for ac_func in atan2l
55508 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55509 echo "$as_me:$LINENO: checking for $ac_func" >&5
55510 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55511 if eval "test \"\${$as_ac_var+set}\" = set"; then
55512 echo $ECHO_N "(cached) $ECHO_C" >&6
55513 else
55514 if test x$gcc_no_link = xyes; then
55515 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55516 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55517 { (exit 1); exit 1; }; }
55519 cat >conftest.$ac_ext <<_ACEOF
55520 /* confdefs.h. */
55521 _ACEOF
55522 cat confdefs.h >>conftest.$ac_ext
55523 cat >>conftest.$ac_ext <<_ACEOF
55524 /* end confdefs.h. */
55525 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55526 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55527 #define $ac_func innocuous_$ac_func
55529 /* System header to define __stub macros and hopefully few prototypes,
55530 which can conflict with char $ac_func (); below.
55531 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55532 <limits.h> exists even on freestanding compilers. */
55534 #ifdef __STDC__
55535 # include <limits.h>
55536 #else
55537 # include <assert.h>
55538 #endif
55540 #undef $ac_func
55542 /* Override any gcc2 internal prototype to avoid an error. */
55543 #ifdef __cplusplus
55544 extern "C"
55546 #endif
55547 /* We use char because int might match the return type of a gcc2
55548 builtin and then its argument prototype would still apply. */
55549 char $ac_func ();
55550 /* The GNU C library defines this for functions which it implements
55551 to always fail with ENOSYS. Some functions are actually named
55552 something starting with __ and the normal name is an alias. */
55553 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55554 choke me
55555 #else
55556 char (*f) () = $ac_func;
55557 #endif
55558 #ifdef __cplusplus
55560 #endif
55563 main ()
55565 return f != $ac_func;
55567 return 0;
55569 _ACEOF
55570 rm -f conftest.$ac_objext conftest$ac_exeext
55571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55572 (eval $ac_link) 2>conftest.er1
55573 ac_status=$?
55574 grep -v '^ *+' conftest.er1 >conftest.err
55575 rm -f conftest.er1
55576 cat conftest.err >&5
55577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55578 (exit $ac_status); } &&
55579 { ac_try='test -z "$ac_c_werror_flag"
55580 || test ! -s conftest.err'
55581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55582 (eval $ac_try) 2>&5
55583 ac_status=$?
55584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55585 (exit $ac_status); }; } &&
55586 { ac_try='test -s conftest$ac_exeext'
55587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55588 (eval $ac_try) 2>&5
55589 ac_status=$?
55590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55591 (exit $ac_status); }; }; then
55592 eval "$as_ac_var=yes"
55593 else
55594 echo "$as_me: failed program was:" >&5
55595 sed 's/^/| /' conftest.$ac_ext >&5
55597 eval "$as_ac_var=no"
55599 rm -f conftest.err conftest.$ac_objext \
55600 conftest$ac_exeext conftest.$ac_ext
55602 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55603 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55604 if test `eval echo '${'$as_ac_var'}'` = yes; then
55605 cat >>confdefs.h <<_ACEOF
55606 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55607 _ACEOF
55610 done
55612 else
55614 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
55615 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
55616 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
55617 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
55618 echo $ECHO_N "(cached) $ECHO_C" >&6
55619 else
55623 ac_ext=cc
55624 ac_cpp='$CXXCPP $CPPFLAGS'
55625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55629 cat >conftest.$ac_ext <<_ACEOF
55630 /* confdefs.h. */
55631 _ACEOF
55632 cat confdefs.h >>conftest.$ac_ext
55633 cat >>conftest.$ac_ext <<_ACEOF
55634 /* end confdefs.h. */
55635 #include <math.h>
55637 main ()
55639 _atan2l(0, 0);
55641 return 0;
55643 _ACEOF
55644 rm -f conftest.$ac_objext
55645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55646 (eval $ac_compile) 2>conftest.er1
55647 ac_status=$?
55648 grep -v '^ *+' conftest.er1 >conftest.err
55649 rm -f conftest.er1
55650 cat conftest.err >&5
55651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55652 (exit $ac_status); } &&
55653 { ac_try='test -z "$ac_cxx_werror_flag"
55654 || test ! -s conftest.err'
55655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55656 (eval $ac_try) 2>&5
55657 ac_status=$?
55658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55659 (exit $ac_status); }; } &&
55660 { ac_try='test -s conftest.$ac_objext'
55661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55662 (eval $ac_try) 2>&5
55663 ac_status=$?
55664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55665 (exit $ac_status); }; }; then
55666 glibcxx_cv_func__atan2l_use=yes
55667 else
55668 echo "$as_me: failed program was:" >&5
55669 sed 's/^/| /' conftest.$ac_ext >&5
55671 glibcxx_cv_func__atan2l_use=no
55673 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55674 ac_ext=c
55675 ac_cpp='$CPP $CPPFLAGS'
55676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55684 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
55685 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
55687 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
55689 for ac_func in _atan2l
55691 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55692 echo "$as_me:$LINENO: checking for $ac_func" >&5
55693 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55694 if eval "test \"\${$as_ac_var+set}\" = set"; then
55695 echo $ECHO_N "(cached) $ECHO_C" >&6
55696 else
55697 if test x$gcc_no_link = xyes; then
55698 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55699 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55700 { (exit 1); exit 1; }; }
55702 cat >conftest.$ac_ext <<_ACEOF
55703 /* confdefs.h. */
55704 _ACEOF
55705 cat confdefs.h >>conftest.$ac_ext
55706 cat >>conftest.$ac_ext <<_ACEOF
55707 /* end confdefs.h. */
55708 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55709 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55710 #define $ac_func innocuous_$ac_func
55712 /* System header to define __stub macros and hopefully few prototypes,
55713 which can conflict with char $ac_func (); below.
55714 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55715 <limits.h> exists even on freestanding compilers. */
55717 #ifdef __STDC__
55718 # include <limits.h>
55719 #else
55720 # include <assert.h>
55721 #endif
55723 #undef $ac_func
55725 /* Override any gcc2 internal prototype to avoid an error. */
55726 #ifdef __cplusplus
55727 extern "C"
55729 #endif
55730 /* We use char because int might match the return type of a gcc2
55731 builtin and then its argument prototype would still apply. */
55732 char $ac_func ();
55733 /* The GNU C library defines this for functions which it implements
55734 to always fail with ENOSYS. Some functions are actually named
55735 something starting with __ and the normal name is an alias. */
55736 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55737 choke me
55738 #else
55739 char (*f) () = $ac_func;
55740 #endif
55741 #ifdef __cplusplus
55743 #endif
55746 main ()
55748 return f != $ac_func;
55750 return 0;
55752 _ACEOF
55753 rm -f conftest.$ac_objext conftest$ac_exeext
55754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55755 (eval $ac_link) 2>conftest.er1
55756 ac_status=$?
55757 grep -v '^ *+' conftest.er1 >conftest.err
55758 rm -f conftest.er1
55759 cat conftest.err >&5
55760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55761 (exit $ac_status); } &&
55762 { ac_try='test -z "$ac_c_werror_flag"
55763 || test ! -s conftest.err'
55764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55765 (eval $ac_try) 2>&5
55766 ac_status=$?
55767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55768 (exit $ac_status); }; } &&
55769 { ac_try='test -s conftest$ac_exeext'
55770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55771 (eval $ac_try) 2>&5
55772 ac_status=$?
55773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55774 (exit $ac_status); }; }; then
55775 eval "$as_ac_var=yes"
55776 else
55777 echo "$as_me: failed program was:" >&5
55778 sed 's/^/| /' conftest.$ac_ext >&5
55780 eval "$as_ac_var=no"
55782 rm -f conftest.err conftest.$ac_objext \
55783 conftest$ac_exeext conftest.$ac_ext
55785 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55786 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55787 if test `eval echo '${'$as_ac_var'}'` = yes; then
55788 cat >>confdefs.h <<_ACEOF
55789 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55790 _ACEOF
55793 done
55803 echo "$as_me:$LINENO: checking for expl declaration" >&5
55804 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
55805 if test x${glibcxx_cv_func_expl_use+set} != xset; then
55806 if test "${glibcxx_cv_func_expl_use+set}" = set; then
55807 echo $ECHO_N "(cached) $ECHO_C" >&6
55808 else
55812 ac_ext=cc
55813 ac_cpp='$CXXCPP $CPPFLAGS'
55814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55818 cat >conftest.$ac_ext <<_ACEOF
55819 /* confdefs.h. */
55820 _ACEOF
55821 cat confdefs.h >>conftest.$ac_ext
55822 cat >>conftest.$ac_ext <<_ACEOF
55823 /* end confdefs.h. */
55824 #include <math.h>
55825 #ifdef HAVE_IEEEFP_H
55826 #include <ieeefp.h>
55827 #endif
55830 main ()
55832 expl(0);
55834 return 0;
55836 _ACEOF
55837 rm -f conftest.$ac_objext
55838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55839 (eval $ac_compile) 2>conftest.er1
55840 ac_status=$?
55841 grep -v '^ *+' conftest.er1 >conftest.err
55842 rm -f conftest.er1
55843 cat conftest.err >&5
55844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55845 (exit $ac_status); } &&
55846 { ac_try='test -z "$ac_cxx_werror_flag"
55847 || test ! -s conftest.err'
55848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55849 (eval $ac_try) 2>&5
55850 ac_status=$?
55851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55852 (exit $ac_status); }; } &&
55853 { ac_try='test -s conftest.$ac_objext'
55854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55855 (eval $ac_try) 2>&5
55856 ac_status=$?
55857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55858 (exit $ac_status); }; }; then
55859 glibcxx_cv_func_expl_use=yes
55860 else
55861 echo "$as_me: failed program was:" >&5
55862 sed 's/^/| /' conftest.$ac_ext >&5
55864 glibcxx_cv_func_expl_use=no
55866 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55867 ac_ext=c
55868 ac_cpp='$CPP $CPPFLAGS'
55869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55877 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
55878 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
55880 if test x$glibcxx_cv_func_expl_use = x"yes"; then
55882 for ac_func in expl
55884 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55885 echo "$as_me:$LINENO: checking for $ac_func" >&5
55886 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55887 if eval "test \"\${$as_ac_var+set}\" = set"; then
55888 echo $ECHO_N "(cached) $ECHO_C" >&6
55889 else
55890 if test x$gcc_no_link = xyes; then
55891 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55892 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55893 { (exit 1); exit 1; }; }
55895 cat >conftest.$ac_ext <<_ACEOF
55896 /* confdefs.h. */
55897 _ACEOF
55898 cat confdefs.h >>conftest.$ac_ext
55899 cat >>conftest.$ac_ext <<_ACEOF
55900 /* end confdefs.h. */
55901 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55902 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55903 #define $ac_func innocuous_$ac_func
55905 /* System header to define __stub macros and hopefully few prototypes,
55906 which can conflict with char $ac_func (); below.
55907 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55908 <limits.h> exists even on freestanding compilers. */
55910 #ifdef __STDC__
55911 # include <limits.h>
55912 #else
55913 # include <assert.h>
55914 #endif
55916 #undef $ac_func
55918 /* Override any gcc2 internal prototype to avoid an error. */
55919 #ifdef __cplusplus
55920 extern "C"
55922 #endif
55923 /* We use char because int might match the return type of a gcc2
55924 builtin and then its argument prototype would still apply. */
55925 char $ac_func ();
55926 /* The GNU C library defines this for functions which it implements
55927 to always fail with ENOSYS. Some functions are actually named
55928 something starting with __ and the normal name is an alias. */
55929 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55930 choke me
55931 #else
55932 char (*f) () = $ac_func;
55933 #endif
55934 #ifdef __cplusplus
55936 #endif
55939 main ()
55941 return f != $ac_func;
55943 return 0;
55945 _ACEOF
55946 rm -f conftest.$ac_objext conftest$ac_exeext
55947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55948 (eval $ac_link) 2>conftest.er1
55949 ac_status=$?
55950 grep -v '^ *+' conftest.er1 >conftest.err
55951 rm -f conftest.er1
55952 cat conftest.err >&5
55953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55954 (exit $ac_status); } &&
55955 { ac_try='test -z "$ac_c_werror_flag"
55956 || test ! -s conftest.err'
55957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55958 (eval $ac_try) 2>&5
55959 ac_status=$?
55960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55961 (exit $ac_status); }; } &&
55962 { ac_try='test -s conftest$ac_exeext'
55963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55964 (eval $ac_try) 2>&5
55965 ac_status=$?
55966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55967 (exit $ac_status); }; }; then
55968 eval "$as_ac_var=yes"
55969 else
55970 echo "$as_me: failed program was:" >&5
55971 sed 's/^/| /' conftest.$ac_ext >&5
55973 eval "$as_ac_var=no"
55975 rm -f conftest.err conftest.$ac_objext \
55976 conftest$ac_exeext conftest.$ac_ext
55978 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55979 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55980 if test `eval echo '${'$as_ac_var'}'` = yes; then
55981 cat >>confdefs.h <<_ACEOF
55982 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55983 _ACEOF
55986 done
55988 else
55990 echo "$as_me:$LINENO: checking for _expl declaration" >&5
55991 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
55992 if test x${glibcxx_cv_func__expl_use+set} != xset; then
55993 if test "${glibcxx_cv_func__expl_use+set}" = set; then
55994 echo $ECHO_N "(cached) $ECHO_C" >&6
55995 else
55999 ac_ext=cc
56000 ac_cpp='$CXXCPP $CPPFLAGS'
56001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56005 cat >conftest.$ac_ext <<_ACEOF
56006 /* confdefs.h. */
56007 _ACEOF
56008 cat confdefs.h >>conftest.$ac_ext
56009 cat >>conftest.$ac_ext <<_ACEOF
56010 /* end confdefs.h. */
56011 #include <math.h>
56012 #ifdef HAVE_IEEEFP_H
56013 #include <ieeefp.h>
56014 #endif
56017 main ()
56019 _expl(0);
56021 return 0;
56023 _ACEOF
56024 rm -f conftest.$ac_objext
56025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56026 (eval $ac_compile) 2>conftest.er1
56027 ac_status=$?
56028 grep -v '^ *+' conftest.er1 >conftest.err
56029 rm -f conftest.er1
56030 cat conftest.err >&5
56031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56032 (exit $ac_status); } &&
56033 { ac_try='test -z "$ac_cxx_werror_flag"
56034 || test ! -s conftest.err'
56035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56036 (eval $ac_try) 2>&5
56037 ac_status=$?
56038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56039 (exit $ac_status); }; } &&
56040 { ac_try='test -s conftest.$ac_objext'
56041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56042 (eval $ac_try) 2>&5
56043 ac_status=$?
56044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56045 (exit $ac_status); }; }; then
56046 glibcxx_cv_func__expl_use=yes
56047 else
56048 echo "$as_me: failed program was:" >&5
56049 sed 's/^/| /' conftest.$ac_ext >&5
56051 glibcxx_cv_func__expl_use=no
56053 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56054 ac_ext=c
56055 ac_cpp='$CPP $CPPFLAGS'
56056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56064 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
56065 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
56067 if test x$glibcxx_cv_func__expl_use = x"yes"; then
56069 for ac_func in _expl
56071 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56072 echo "$as_me:$LINENO: checking for $ac_func" >&5
56073 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56074 if eval "test \"\${$as_ac_var+set}\" = set"; then
56075 echo $ECHO_N "(cached) $ECHO_C" >&6
56076 else
56077 if test x$gcc_no_link = xyes; then
56078 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56079 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56080 { (exit 1); exit 1; }; }
56082 cat >conftest.$ac_ext <<_ACEOF
56083 /* confdefs.h. */
56084 _ACEOF
56085 cat confdefs.h >>conftest.$ac_ext
56086 cat >>conftest.$ac_ext <<_ACEOF
56087 /* end confdefs.h. */
56088 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56089 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56090 #define $ac_func innocuous_$ac_func
56092 /* System header to define __stub macros and hopefully few prototypes,
56093 which can conflict with char $ac_func (); below.
56094 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56095 <limits.h> exists even on freestanding compilers. */
56097 #ifdef __STDC__
56098 # include <limits.h>
56099 #else
56100 # include <assert.h>
56101 #endif
56103 #undef $ac_func
56105 /* Override any gcc2 internal prototype to avoid an error. */
56106 #ifdef __cplusplus
56107 extern "C"
56109 #endif
56110 /* We use char because int might match the return type of a gcc2
56111 builtin and then its argument prototype would still apply. */
56112 char $ac_func ();
56113 /* The GNU C library defines this for functions which it implements
56114 to always fail with ENOSYS. Some functions are actually named
56115 something starting with __ and the normal name is an alias. */
56116 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56117 choke me
56118 #else
56119 char (*f) () = $ac_func;
56120 #endif
56121 #ifdef __cplusplus
56123 #endif
56126 main ()
56128 return f != $ac_func;
56130 return 0;
56132 _ACEOF
56133 rm -f conftest.$ac_objext conftest$ac_exeext
56134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56135 (eval $ac_link) 2>conftest.er1
56136 ac_status=$?
56137 grep -v '^ *+' conftest.er1 >conftest.err
56138 rm -f conftest.er1
56139 cat conftest.err >&5
56140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56141 (exit $ac_status); } &&
56142 { ac_try='test -z "$ac_c_werror_flag"
56143 || test ! -s conftest.err'
56144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56145 (eval $ac_try) 2>&5
56146 ac_status=$?
56147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56148 (exit $ac_status); }; } &&
56149 { ac_try='test -s conftest$ac_exeext'
56150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56151 (eval $ac_try) 2>&5
56152 ac_status=$?
56153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56154 (exit $ac_status); }; }; then
56155 eval "$as_ac_var=yes"
56156 else
56157 echo "$as_me: failed program was:" >&5
56158 sed 's/^/| /' conftest.$ac_ext >&5
56160 eval "$as_ac_var=no"
56162 rm -f conftest.err conftest.$ac_objext \
56163 conftest$ac_exeext conftest.$ac_ext
56165 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56166 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56167 if test `eval echo '${'$as_ac_var'}'` = yes; then
56168 cat >>confdefs.h <<_ACEOF
56169 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56170 _ACEOF
56173 done
56183 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
56184 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
56185 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
56186 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
56187 echo $ECHO_N "(cached) $ECHO_C" >&6
56188 else
56192 ac_ext=cc
56193 ac_cpp='$CXXCPP $CPPFLAGS'
56194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56198 cat >conftest.$ac_ext <<_ACEOF
56199 /* confdefs.h. */
56200 _ACEOF
56201 cat confdefs.h >>conftest.$ac_ext
56202 cat >>conftest.$ac_ext <<_ACEOF
56203 /* end confdefs.h. */
56204 #include <math.h>
56205 #ifdef HAVE_IEEEFP_H
56206 #include <ieeefp.h>
56207 #endif
56210 main ()
56212 fabsl(0);
56214 return 0;
56216 _ACEOF
56217 rm -f conftest.$ac_objext
56218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56219 (eval $ac_compile) 2>conftest.er1
56220 ac_status=$?
56221 grep -v '^ *+' conftest.er1 >conftest.err
56222 rm -f conftest.er1
56223 cat conftest.err >&5
56224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56225 (exit $ac_status); } &&
56226 { ac_try='test -z "$ac_cxx_werror_flag"
56227 || test ! -s conftest.err'
56228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56229 (eval $ac_try) 2>&5
56230 ac_status=$?
56231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56232 (exit $ac_status); }; } &&
56233 { ac_try='test -s conftest.$ac_objext'
56234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56235 (eval $ac_try) 2>&5
56236 ac_status=$?
56237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56238 (exit $ac_status); }; }; then
56239 glibcxx_cv_func_fabsl_use=yes
56240 else
56241 echo "$as_me: failed program was:" >&5
56242 sed 's/^/| /' conftest.$ac_ext >&5
56244 glibcxx_cv_func_fabsl_use=no
56246 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56247 ac_ext=c
56248 ac_cpp='$CPP $CPPFLAGS'
56249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56257 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
56258 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
56260 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
56262 for ac_func in fabsl
56264 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56265 echo "$as_me:$LINENO: checking for $ac_func" >&5
56266 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56267 if eval "test \"\${$as_ac_var+set}\" = set"; then
56268 echo $ECHO_N "(cached) $ECHO_C" >&6
56269 else
56270 if test x$gcc_no_link = xyes; then
56271 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56272 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56273 { (exit 1); exit 1; }; }
56275 cat >conftest.$ac_ext <<_ACEOF
56276 /* confdefs.h. */
56277 _ACEOF
56278 cat confdefs.h >>conftest.$ac_ext
56279 cat >>conftest.$ac_ext <<_ACEOF
56280 /* end confdefs.h. */
56281 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56282 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56283 #define $ac_func innocuous_$ac_func
56285 /* System header to define __stub macros and hopefully few prototypes,
56286 which can conflict with char $ac_func (); below.
56287 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56288 <limits.h> exists even on freestanding compilers. */
56290 #ifdef __STDC__
56291 # include <limits.h>
56292 #else
56293 # include <assert.h>
56294 #endif
56296 #undef $ac_func
56298 /* Override any gcc2 internal prototype to avoid an error. */
56299 #ifdef __cplusplus
56300 extern "C"
56302 #endif
56303 /* We use char because int might match the return type of a gcc2
56304 builtin and then its argument prototype would still apply. */
56305 char $ac_func ();
56306 /* The GNU C library defines this for functions which it implements
56307 to always fail with ENOSYS. Some functions are actually named
56308 something starting with __ and the normal name is an alias. */
56309 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56310 choke me
56311 #else
56312 char (*f) () = $ac_func;
56313 #endif
56314 #ifdef __cplusplus
56316 #endif
56319 main ()
56321 return f != $ac_func;
56323 return 0;
56325 _ACEOF
56326 rm -f conftest.$ac_objext conftest$ac_exeext
56327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56328 (eval $ac_link) 2>conftest.er1
56329 ac_status=$?
56330 grep -v '^ *+' conftest.er1 >conftest.err
56331 rm -f conftest.er1
56332 cat conftest.err >&5
56333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56334 (exit $ac_status); } &&
56335 { ac_try='test -z "$ac_c_werror_flag"
56336 || test ! -s conftest.err'
56337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56338 (eval $ac_try) 2>&5
56339 ac_status=$?
56340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56341 (exit $ac_status); }; } &&
56342 { ac_try='test -s conftest$ac_exeext'
56343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56344 (eval $ac_try) 2>&5
56345 ac_status=$?
56346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56347 (exit $ac_status); }; }; then
56348 eval "$as_ac_var=yes"
56349 else
56350 echo "$as_me: failed program was:" >&5
56351 sed 's/^/| /' conftest.$ac_ext >&5
56353 eval "$as_ac_var=no"
56355 rm -f conftest.err conftest.$ac_objext \
56356 conftest$ac_exeext conftest.$ac_ext
56358 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56359 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56360 if test `eval echo '${'$as_ac_var'}'` = yes; then
56361 cat >>confdefs.h <<_ACEOF
56362 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56363 _ACEOF
56366 done
56368 else
56370 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
56371 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
56372 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
56373 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
56374 echo $ECHO_N "(cached) $ECHO_C" >&6
56375 else
56379 ac_ext=cc
56380 ac_cpp='$CXXCPP $CPPFLAGS'
56381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56385 cat >conftest.$ac_ext <<_ACEOF
56386 /* confdefs.h. */
56387 _ACEOF
56388 cat confdefs.h >>conftest.$ac_ext
56389 cat >>conftest.$ac_ext <<_ACEOF
56390 /* end confdefs.h. */
56391 #include <math.h>
56392 #ifdef HAVE_IEEEFP_H
56393 #include <ieeefp.h>
56394 #endif
56397 main ()
56399 _fabsl(0);
56401 return 0;
56403 _ACEOF
56404 rm -f conftest.$ac_objext
56405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56406 (eval $ac_compile) 2>conftest.er1
56407 ac_status=$?
56408 grep -v '^ *+' conftest.er1 >conftest.err
56409 rm -f conftest.er1
56410 cat conftest.err >&5
56411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56412 (exit $ac_status); } &&
56413 { ac_try='test -z "$ac_cxx_werror_flag"
56414 || test ! -s conftest.err'
56415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56416 (eval $ac_try) 2>&5
56417 ac_status=$?
56418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56419 (exit $ac_status); }; } &&
56420 { ac_try='test -s conftest.$ac_objext'
56421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56422 (eval $ac_try) 2>&5
56423 ac_status=$?
56424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56425 (exit $ac_status); }; }; then
56426 glibcxx_cv_func__fabsl_use=yes
56427 else
56428 echo "$as_me: failed program was:" >&5
56429 sed 's/^/| /' conftest.$ac_ext >&5
56431 glibcxx_cv_func__fabsl_use=no
56433 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56434 ac_ext=c
56435 ac_cpp='$CPP $CPPFLAGS'
56436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56444 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
56445 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
56447 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
56449 for ac_func in _fabsl
56451 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56452 echo "$as_me:$LINENO: checking for $ac_func" >&5
56453 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56454 if eval "test \"\${$as_ac_var+set}\" = set"; then
56455 echo $ECHO_N "(cached) $ECHO_C" >&6
56456 else
56457 if test x$gcc_no_link = xyes; then
56458 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56459 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56460 { (exit 1); exit 1; }; }
56462 cat >conftest.$ac_ext <<_ACEOF
56463 /* confdefs.h. */
56464 _ACEOF
56465 cat confdefs.h >>conftest.$ac_ext
56466 cat >>conftest.$ac_ext <<_ACEOF
56467 /* end confdefs.h. */
56468 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56469 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56470 #define $ac_func innocuous_$ac_func
56472 /* System header to define __stub macros and hopefully few prototypes,
56473 which can conflict with char $ac_func (); below.
56474 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56475 <limits.h> exists even on freestanding compilers. */
56477 #ifdef __STDC__
56478 # include <limits.h>
56479 #else
56480 # include <assert.h>
56481 #endif
56483 #undef $ac_func
56485 /* Override any gcc2 internal prototype to avoid an error. */
56486 #ifdef __cplusplus
56487 extern "C"
56489 #endif
56490 /* We use char because int might match the return type of a gcc2
56491 builtin and then its argument prototype would still apply. */
56492 char $ac_func ();
56493 /* The GNU C library defines this for functions which it implements
56494 to always fail with ENOSYS. Some functions are actually named
56495 something starting with __ and the normal name is an alias. */
56496 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56497 choke me
56498 #else
56499 char (*f) () = $ac_func;
56500 #endif
56501 #ifdef __cplusplus
56503 #endif
56506 main ()
56508 return f != $ac_func;
56510 return 0;
56512 _ACEOF
56513 rm -f conftest.$ac_objext conftest$ac_exeext
56514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56515 (eval $ac_link) 2>conftest.er1
56516 ac_status=$?
56517 grep -v '^ *+' conftest.er1 >conftest.err
56518 rm -f conftest.er1
56519 cat conftest.err >&5
56520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56521 (exit $ac_status); } &&
56522 { ac_try='test -z "$ac_c_werror_flag"
56523 || test ! -s conftest.err'
56524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56525 (eval $ac_try) 2>&5
56526 ac_status=$?
56527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56528 (exit $ac_status); }; } &&
56529 { ac_try='test -s conftest$ac_exeext'
56530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56531 (eval $ac_try) 2>&5
56532 ac_status=$?
56533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56534 (exit $ac_status); }; }; then
56535 eval "$as_ac_var=yes"
56536 else
56537 echo "$as_me: failed program was:" >&5
56538 sed 's/^/| /' conftest.$ac_ext >&5
56540 eval "$as_ac_var=no"
56542 rm -f conftest.err conftest.$ac_objext \
56543 conftest$ac_exeext conftest.$ac_ext
56545 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56546 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56547 if test `eval echo '${'$as_ac_var'}'` = yes; then
56548 cat >>confdefs.h <<_ACEOF
56549 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56550 _ACEOF
56553 done
56563 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
56564 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
56565 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
56566 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
56567 echo $ECHO_N "(cached) $ECHO_C" >&6
56568 else
56572 ac_ext=cc
56573 ac_cpp='$CXXCPP $CPPFLAGS'
56574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56578 cat >conftest.$ac_ext <<_ACEOF
56579 /* confdefs.h. */
56580 _ACEOF
56581 cat confdefs.h >>conftest.$ac_ext
56582 cat >>conftest.$ac_ext <<_ACEOF
56583 /* end confdefs.h. */
56584 #include <math.h>
56586 main ()
56588 fmodl(0, 0);
56590 return 0;
56592 _ACEOF
56593 rm -f conftest.$ac_objext
56594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56595 (eval $ac_compile) 2>conftest.er1
56596 ac_status=$?
56597 grep -v '^ *+' conftest.er1 >conftest.err
56598 rm -f conftest.er1
56599 cat conftest.err >&5
56600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56601 (exit $ac_status); } &&
56602 { ac_try='test -z "$ac_cxx_werror_flag"
56603 || test ! -s conftest.err'
56604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56605 (eval $ac_try) 2>&5
56606 ac_status=$?
56607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56608 (exit $ac_status); }; } &&
56609 { ac_try='test -s conftest.$ac_objext'
56610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56611 (eval $ac_try) 2>&5
56612 ac_status=$?
56613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56614 (exit $ac_status); }; }; then
56615 glibcxx_cv_func_fmodl_use=yes
56616 else
56617 echo "$as_me: failed program was:" >&5
56618 sed 's/^/| /' conftest.$ac_ext >&5
56620 glibcxx_cv_func_fmodl_use=no
56622 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56623 ac_ext=c
56624 ac_cpp='$CPP $CPPFLAGS'
56625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56633 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
56634 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
56636 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
56638 for ac_func in fmodl
56640 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56641 echo "$as_me:$LINENO: checking for $ac_func" >&5
56642 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56643 if eval "test \"\${$as_ac_var+set}\" = set"; then
56644 echo $ECHO_N "(cached) $ECHO_C" >&6
56645 else
56646 if test x$gcc_no_link = xyes; then
56647 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56648 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56649 { (exit 1); exit 1; }; }
56651 cat >conftest.$ac_ext <<_ACEOF
56652 /* confdefs.h. */
56653 _ACEOF
56654 cat confdefs.h >>conftest.$ac_ext
56655 cat >>conftest.$ac_ext <<_ACEOF
56656 /* end confdefs.h. */
56657 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56658 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56659 #define $ac_func innocuous_$ac_func
56661 /* System header to define __stub macros and hopefully few prototypes,
56662 which can conflict with char $ac_func (); below.
56663 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56664 <limits.h> exists even on freestanding compilers. */
56666 #ifdef __STDC__
56667 # include <limits.h>
56668 #else
56669 # include <assert.h>
56670 #endif
56672 #undef $ac_func
56674 /* Override any gcc2 internal prototype to avoid an error. */
56675 #ifdef __cplusplus
56676 extern "C"
56678 #endif
56679 /* We use char because int might match the return type of a gcc2
56680 builtin and then its argument prototype would still apply. */
56681 char $ac_func ();
56682 /* The GNU C library defines this for functions which it implements
56683 to always fail with ENOSYS. Some functions are actually named
56684 something starting with __ and the normal name is an alias. */
56685 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56686 choke me
56687 #else
56688 char (*f) () = $ac_func;
56689 #endif
56690 #ifdef __cplusplus
56692 #endif
56695 main ()
56697 return f != $ac_func;
56699 return 0;
56701 _ACEOF
56702 rm -f conftest.$ac_objext conftest$ac_exeext
56703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56704 (eval $ac_link) 2>conftest.er1
56705 ac_status=$?
56706 grep -v '^ *+' conftest.er1 >conftest.err
56707 rm -f conftest.er1
56708 cat conftest.err >&5
56709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56710 (exit $ac_status); } &&
56711 { ac_try='test -z "$ac_c_werror_flag"
56712 || test ! -s conftest.err'
56713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56714 (eval $ac_try) 2>&5
56715 ac_status=$?
56716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56717 (exit $ac_status); }; } &&
56718 { ac_try='test -s conftest$ac_exeext'
56719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56720 (eval $ac_try) 2>&5
56721 ac_status=$?
56722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56723 (exit $ac_status); }; }; then
56724 eval "$as_ac_var=yes"
56725 else
56726 echo "$as_me: failed program was:" >&5
56727 sed 's/^/| /' conftest.$ac_ext >&5
56729 eval "$as_ac_var=no"
56731 rm -f conftest.err conftest.$ac_objext \
56732 conftest$ac_exeext conftest.$ac_ext
56734 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56735 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56736 if test `eval echo '${'$as_ac_var'}'` = yes; then
56737 cat >>confdefs.h <<_ACEOF
56738 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56739 _ACEOF
56742 done
56744 else
56746 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
56747 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
56748 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
56749 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
56750 echo $ECHO_N "(cached) $ECHO_C" >&6
56751 else
56755 ac_ext=cc
56756 ac_cpp='$CXXCPP $CPPFLAGS'
56757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56761 cat >conftest.$ac_ext <<_ACEOF
56762 /* confdefs.h. */
56763 _ACEOF
56764 cat confdefs.h >>conftest.$ac_ext
56765 cat >>conftest.$ac_ext <<_ACEOF
56766 /* end confdefs.h. */
56767 #include <math.h>
56769 main ()
56771 _fmodl(0, 0);
56773 return 0;
56775 _ACEOF
56776 rm -f conftest.$ac_objext
56777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56778 (eval $ac_compile) 2>conftest.er1
56779 ac_status=$?
56780 grep -v '^ *+' conftest.er1 >conftest.err
56781 rm -f conftest.er1
56782 cat conftest.err >&5
56783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56784 (exit $ac_status); } &&
56785 { ac_try='test -z "$ac_cxx_werror_flag"
56786 || test ! -s conftest.err'
56787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56788 (eval $ac_try) 2>&5
56789 ac_status=$?
56790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56791 (exit $ac_status); }; } &&
56792 { ac_try='test -s conftest.$ac_objext'
56793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56794 (eval $ac_try) 2>&5
56795 ac_status=$?
56796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56797 (exit $ac_status); }; }; then
56798 glibcxx_cv_func__fmodl_use=yes
56799 else
56800 echo "$as_me: failed program was:" >&5
56801 sed 's/^/| /' conftest.$ac_ext >&5
56803 glibcxx_cv_func__fmodl_use=no
56805 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56806 ac_ext=c
56807 ac_cpp='$CPP $CPPFLAGS'
56808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56816 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
56817 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
56819 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
56821 for ac_func in _fmodl
56823 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56824 echo "$as_me:$LINENO: checking for $ac_func" >&5
56825 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56826 if eval "test \"\${$as_ac_var+set}\" = set"; then
56827 echo $ECHO_N "(cached) $ECHO_C" >&6
56828 else
56829 if test x$gcc_no_link = xyes; then
56830 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56831 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56832 { (exit 1); exit 1; }; }
56834 cat >conftest.$ac_ext <<_ACEOF
56835 /* confdefs.h. */
56836 _ACEOF
56837 cat confdefs.h >>conftest.$ac_ext
56838 cat >>conftest.$ac_ext <<_ACEOF
56839 /* end confdefs.h. */
56840 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56841 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56842 #define $ac_func innocuous_$ac_func
56844 /* System header to define __stub macros and hopefully few prototypes,
56845 which can conflict with char $ac_func (); below.
56846 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56847 <limits.h> exists even on freestanding compilers. */
56849 #ifdef __STDC__
56850 # include <limits.h>
56851 #else
56852 # include <assert.h>
56853 #endif
56855 #undef $ac_func
56857 /* Override any gcc2 internal prototype to avoid an error. */
56858 #ifdef __cplusplus
56859 extern "C"
56861 #endif
56862 /* We use char because int might match the return type of a gcc2
56863 builtin and then its argument prototype would still apply. */
56864 char $ac_func ();
56865 /* The GNU C library defines this for functions which it implements
56866 to always fail with ENOSYS. Some functions are actually named
56867 something starting with __ and the normal name is an alias. */
56868 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56869 choke me
56870 #else
56871 char (*f) () = $ac_func;
56872 #endif
56873 #ifdef __cplusplus
56875 #endif
56878 main ()
56880 return f != $ac_func;
56882 return 0;
56884 _ACEOF
56885 rm -f conftest.$ac_objext conftest$ac_exeext
56886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56887 (eval $ac_link) 2>conftest.er1
56888 ac_status=$?
56889 grep -v '^ *+' conftest.er1 >conftest.err
56890 rm -f conftest.er1
56891 cat conftest.err >&5
56892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56893 (exit $ac_status); } &&
56894 { ac_try='test -z "$ac_c_werror_flag"
56895 || test ! -s conftest.err'
56896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56897 (eval $ac_try) 2>&5
56898 ac_status=$?
56899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56900 (exit $ac_status); }; } &&
56901 { ac_try='test -s conftest$ac_exeext'
56902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56903 (eval $ac_try) 2>&5
56904 ac_status=$?
56905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56906 (exit $ac_status); }; }; then
56907 eval "$as_ac_var=yes"
56908 else
56909 echo "$as_me: failed program was:" >&5
56910 sed 's/^/| /' conftest.$ac_ext >&5
56912 eval "$as_ac_var=no"
56914 rm -f conftest.err conftest.$ac_objext \
56915 conftest$ac_exeext conftest.$ac_ext
56917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56918 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56919 if test `eval echo '${'$as_ac_var'}'` = yes; then
56920 cat >>confdefs.h <<_ACEOF
56921 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56922 _ACEOF
56925 done
56935 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
56936 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
56937 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
56938 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
56939 echo $ECHO_N "(cached) $ECHO_C" >&6
56940 else
56944 ac_ext=cc
56945 ac_cpp='$CXXCPP $CPPFLAGS'
56946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56950 cat >conftest.$ac_ext <<_ACEOF
56951 /* confdefs.h. */
56952 _ACEOF
56953 cat confdefs.h >>conftest.$ac_ext
56954 cat >>conftest.$ac_ext <<_ACEOF
56955 /* end confdefs.h. */
56956 #include <math.h>
56958 main ()
56960 frexpl(0, 0);
56962 return 0;
56964 _ACEOF
56965 rm -f conftest.$ac_objext
56966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56967 (eval $ac_compile) 2>conftest.er1
56968 ac_status=$?
56969 grep -v '^ *+' conftest.er1 >conftest.err
56970 rm -f conftest.er1
56971 cat conftest.err >&5
56972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56973 (exit $ac_status); } &&
56974 { ac_try='test -z "$ac_cxx_werror_flag"
56975 || test ! -s conftest.err'
56976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56977 (eval $ac_try) 2>&5
56978 ac_status=$?
56979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56980 (exit $ac_status); }; } &&
56981 { ac_try='test -s conftest.$ac_objext'
56982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56983 (eval $ac_try) 2>&5
56984 ac_status=$?
56985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56986 (exit $ac_status); }; }; then
56987 glibcxx_cv_func_frexpl_use=yes
56988 else
56989 echo "$as_me: failed program was:" >&5
56990 sed 's/^/| /' conftest.$ac_ext >&5
56992 glibcxx_cv_func_frexpl_use=no
56994 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56995 ac_ext=c
56996 ac_cpp='$CPP $CPPFLAGS'
56997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57005 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
57006 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
57008 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
57010 for ac_func in frexpl
57012 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57013 echo "$as_me:$LINENO: checking for $ac_func" >&5
57014 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57015 if eval "test \"\${$as_ac_var+set}\" = set"; then
57016 echo $ECHO_N "(cached) $ECHO_C" >&6
57017 else
57018 if test x$gcc_no_link = xyes; then
57019 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57020 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57021 { (exit 1); exit 1; }; }
57023 cat >conftest.$ac_ext <<_ACEOF
57024 /* confdefs.h. */
57025 _ACEOF
57026 cat confdefs.h >>conftest.$ac_ext
57027 cat >>conftest.$ac_ext <<_ACEOF
57028 /* end confdefs.h. */
57029 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57030 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57031 #define $ac_func innocuous_$ac_func
57033 /* System header to define __stub macros and hopefully few prototypes,
57034 which can conflict with char $ac_func (); below.
57035 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57036 <limits.h> exists even on freestanding compilers. */
57038 #ifdef __STDC__
57039 # include <limits.h>
57040 #else
57041 # include <assert.h>
57042 #endif
57044 #undef $ac_func
57046 /* Override any gcc2 internal prototype to avoid an error. */
57047 #ifdef __cplusplus
57048 extern "C"
57050 #endif
57051 /* We use char because int might match the return type of a gcc2
57052 builtin and then its argument prototype would still apply. */
57053 char $ac_func ();
57054 /* The GNU C library defines this for functions which it implements
57055 to always fail with ENOSYS. Some functions are actually named
57056 something starting with __ and the normal name is an alias. */
57057 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57058 choke me
57059 #else
57060 char (*f) () = $ac_func;
57061 #endif
57062 #ifdef __cplusplus
57064 #endif
57067 main ()
57069 return f != $ac_func;
57071 return 0;
57073 _ACEOF
57074 rm -f conftest.$ac_objext conftest$ac_exeext
57075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57076 (eval $ac_link) 2>conftest.er1
57077 ac_status=$?
57078 grep -v '^ *+' conftest.er1 >conftest.err
57079 rm -f conftest.er1
57080 cat conftest.err >&5
57081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57082 (exit $ac_status); } &&
57083 { ac_try='test -z "$ac_c_werror_flag"
57084 || test ! -s conftest.err'
57085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57086 (eval $ac_try) 2>&5
57087 ac_status=$?
57088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57089 (exit $ac_status); }; } &&
57090 { ac_try='test -s conftest$ac_exeext'
57091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57092 (eval $ac_try) 2>&5
57093 ac_status=$?
57094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57095 (exit $ac_status); }; }; then
57096 eval "$as_ac_var=yes"
57097 else
57098 echo "$as_me: failed program was:" >&5
57099 sed 's/^/| /' conftest.$ac_ext >&5
57101 eval "$as_ac_var=no"
57103 rm -f conftest.err conftest.$ac_objext \
57104 conftest$ac_exeext conftest.$ac_ext
57106 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57107 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57108 if test `eval echo '${'$as_ac_var'}'` = yes; then
57109 cat >>confdefs.h <<_ACEOF
57110 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57111 _ACEOF
57114 done
57116 else
57118 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
57119 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
57120 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
57121 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
57122 echo $ECHO_N "(cached) $ECHO_C" >&6
57123 else
57127 ac_ext=cc
57128 ac_cpp='$CXXCPP $CPPFLAGS'
57129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57133 cat >conftest.$ac_ext <<_ACEOF
57134 /* confdefs.h. */
57135 _ACEOF
57136 cat confdefs.h >>conftest.$ac_ext
57137 cat >>conftest.$ac_ext <<_ACEOF
57138 /* end confdefs.h. */
57139 #include <math.h>
57141 main ()
57143 _frexpl(0, 0);
57145 return 0;
57147 _ACEOF
57148 rm -f conftest.$ac_objext
57149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57150 (eval $ac_compile) 2>conftest.er1
57151 ac_status=$?
57152 grep -v '^ *+' conftest.er1 >conftest.err
57153 rm -f conftest.er1
57154 cat conftest.err >&5
57155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57156 (exit $ac_status); } &&
57157 { ac_try='test -z "$ac_cxx_werror_flag"
57158 || test ! -s conftest.err'
57159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57160 (eval $ac_try) 2>&5
57161 ac_status=$?
57162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57163 (exit $ac_status); }; } &&
57164 { ac_try='test -s conftest.$ac_objext'
57165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57166 (eval $ac_try) 2>&5
57167 ac_status=$?
57168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57169 (exit $ac_status); }; }; then
57170 glibcxx_cv_func__frexpl_use=yes
57171 else
57172 echo "$as_me: failed program was:" >&5
57173 sed 's/^/| /' conftest.$ac_ext >&5
57175 glibcxx_cv_func__frexpl_use=no
57177 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57178 ac_ext=c
57179 ac_cpp='$CPP $CPPFLAGS'
57180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57188 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
57189 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
57191 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
57193 for ac_func in _frexpl
57195 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57196 echo "$as_me:$LINENO: checking for $ac_func" >&5
57197 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57198 if eval "test \"\${$as_ac_var+set}\" = set"; then
57199 echo $ECHO_N "(cached) $ECHO_C" >&6
57200 else
57201 if test x$gcc_no_link = xyes; then
57202 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57203 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57204 { (exit 1); exit 1; }; }
57206 cat >conftest.$ac_ext <<_ACEOF
57207 /* confdefs.h. */
57208 _ACEOF
57209 cat confdefs.h >>conftest.$ac_ext
57210 cat >>conftest.$ac_ext <<_ACEOF
57211 /* end confdefs.h. */
57212 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57213 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57214 #define $ac_func innocuous_$ac_func
57216 /* System header to define __stub macros and hopefully few prototypes,
57217 which can conflict with char $ac_func (); below.
57218 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57219 <limits.h> exists even on freestanding compilers. */
57221 #ifdef __STDC__
57222 # include <limits.h>
57223 #else
57224 # include <assert.h>
57225 #endif
57227 #undef $ac_func
57229 /* Override any gcc2 internal prototype to avoid an error. */
57230 #ifdef __cplusplus
57231 extern "C"
57233 #endif
57234 /* We use char because int might match the return type of a gcc2
57235 builtin and then its argument prototype would still apply. */
57236 char $ac_func ();
57237 /* The GNU C library defines this for functions which it implements
57238 to always fail with ENOSYS. Some functions are actually named
57239 something starting with __ and the normal name is an alias. */
57240 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57241 choke me
57242 #else
57243 char (*f) () = $ac_func;
57244 #endif
57245 #ifdef __cplusplus
57247 #endif
57250 main ()
57252 return f != $ac_func;
57254 return 0;
57256 _ACEOF
57257 rm -f conftest.$ac_objext conftest$ac_exeext
57258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57259 (eval $ac_link) 2>conftest.er1
57260 ac_status=$?
57261 grep -v '^ *+' conftest.er1 >conftest.err
57262 rm -f conftest.er1
57263 cat conftest.err >&5
57264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57265 (exit $ac_status); } &&
57266 { ac_try='test -z "$ac_c_werror_flag"
57267 || test ! -s conftest.err'
57268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57269 (eval $ac_try) 2>&5
57270 ac_status=$?
57271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57272 (exit $ac_status); }; } &&
57273 { ac_try='test -s conftest$ac_exeext'
57274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57275 (eval $ac_try) 2>&5
57276 ac_status=$?
57277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57278 (exit $ac_status); }; }; then
57279 eval "$as_ac_var=yes"
57280 else
57281 echo "$as_me: failed program was:" >&5
57282 sed 's/^/| /' conftest.$ac_ext >&5
57284 eval "$as_ac_var=no"
57286 rm -f conftest.err conftest.$ac_objext \
57287 conftest$ac_exeext conftest.$ac_ext
57289 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57290 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57291 if test `eval echo '${'$as_ac_var'}'` = yes; then
57292 cat >>confdefs.h <<_ACEOF
57293 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57294 _ACEOF
57297 done
57307 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
57308 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
57309 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
57310 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
57311 echo $ECHO_N "(cached) $ECHO_C" >&6
57312 else
57316 ac_ext=cc
57317 ac_cpp='$CXXCPP $CPPFLAGS'
57318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57322 cat >conftest.$ac_ext <<_ACEOF
57323 /* confdefs.h. */
57324 _ACEOF
57325 cat confdefs.h >>conftest.$ac_ext
57326 cat >>conftest.$ac_ext <<_ACEOF
57327 /* end confdefs.h. */
57328 #include <math.h>
57330 main ()
57332 hypotl(0, 0);
57334 return 0;
57336 _ACEOF
57337 rm -f conftest.$ac_objext
57338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57339 (eval $ac_compile) 2>conftest.er1
57340 ac_status=$?
57341 grep -v '^ *+' conftest.er1 >conftest.err
57342 rm -f conftest.er1
57343 cat conftest.err >&5
57344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57345 (exit $ac_status); } &&
57346 { ac_try='test -z "$ac_cxx_werror_flag"
57347 || test ! -s conftest.err'
57348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57349 (eval $ac_try) 2>&5
57350 ac_status=$?
57351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57352 (exit $ac_status); }; } &&
57353 { ac_try='test -s conftest.$ac_objext'
57354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57355 (eval $ac_try) 2>&5
57356 ac_status=$?
57357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57358 (exit $ac_status); }; }; then
57359 glibcxx_cv_func_hypotl_use=yes
57360 else
57361 echo "$as_me: failed program was:" >&5
57362 sed 's/^/| /' conftest.$ac_ext >&5
57364 glibcxx_cv_func_hypotl_use=no
57366 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57367 ac_ext=c
57368 ac_cpp='$CPP $CPPFLAGS'
57369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57377 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
57378 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
57380 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
57382 for ac_func in hypotl
57384 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57385 echo "$as_me:$LINENO: checking for $ac_func" >&5
57386 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57387 if eval "test \"\${$as_ac_var+set}\" = set"; then
57388 echo $ECHO_N "(cached) $ECHO_C" >&6
57389 else
57390 if test x$gcc_no_link = xyes; then
57391 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57392 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57393 { (exit 1); exit 1; }; }
57395 cat >conftest.$ac_ext <<_ACEOF
57396 /* confdefs.h. */
57397 _ACEOF
57398 cat confdefs.h >>conftest.$ac_ext
57399 cat >>conftest.$ac_ext <<_ACEOF
57400 /* end confdefs.h. */
57401 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57402 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57403 #define $ac_func innocuous_$ac_func
57405 /* System header to define __stub macros and hopefully few prototypes,
57406 which can conflict with char $ac_func (); below.
57407 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57408 <limits.h> exists even on freestanding compilers. */
57410 #ifdef __STDC__
57411 # include <limits.h>
57412 #else
57413 # include <assert.h>
57414 #endif
57416 #undef $ac_func
57418 /* Override any gcc2 internal prototype to avoid an error. */
57419 #ifdef __cplusplus
57420 extern "C"
57422 #endif
57423 /* We use char because int might match the return type of a gcc2
57424 builtin and then its argument prototype would still apply. */
57425 char $ac_func ();
57426 /* The GNU C library defines this for functions which it implements
57427 to always fail with ENOSYS. Some functions are actually named
57428 something starting with __ and the normal name is an alias. */
57429 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57430 choke me
57431 #else
57432 char (*f) () = $ac_func;
57433 #endif
57434 #ifdef __cplusplus
57436 #endif
57439 main ()
57441 return f != $ac_func;
57443 return 0;
57445 _ACEOF
57446 rm -f conftest.$ac_objext conftest$ac_exeext
57447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57448 (eval $ac_link) 2>conftest.er1
57449 ac_status=$?
57450 grep -v '^ *+' conftest.er1 >conftest.err
57451 rm -f conftest.er1
57452 cat conftest.err >&5
57453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57454 (exit $ac_status); } &&
57455 { ac_try='test -z "$ac_c_werror_flag"
57456 || test ! -s conftest.err'
57457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57458 (eval $ac_try) 2>&5
57459 ac_status=$?
57460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57461 (exit $ac_status); }; } &&
57462 { ac_try='test -s conftest$ac_exeext'
57463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57464 (eval $ac_try) 2>&5
57465 ac_status=$?
57466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57467 (exit $ac_status); }; }; then
57468 eval "$as_ac_var=yes"
57469 else
57470 echo "$as_me: failed program was:" >&5
57471 sed 's/^/| /' conftest.$ac_ext >&5
57473 eval "$as_ac_var=no"
57475 rm -f conftest.err conftest.$ac_objext \
57476 conftest$ac_exeext conftest.$ac_ext
57478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57479 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57480 if test `eval echo '${'$as_ac_var'}'` = yes; then
57481 cat >>confdefs.h <<_ACEOF
57482 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57483 _ACEOF
57486 done
57488 else
57490 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
57491 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
57492 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
57493 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
57494 echo $ECHO_N "(cached) $ECHO_C" >&6
57495 else
57499 ac_ext=cc
57500 ac_cpp='$CXXCPP $CPPFLAGS'
57501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57505 cat >conftest.$ac_ext <<_ACEOF
57506 /* confdefs.h. */
57507 _ACEOF
57508 cat confdefs.h >>conftest.$ac_ext
57509 cat >>conftest.$ac_ext <<_ACEOF
57510 /* end confdefs.h. */
57511 #include <math.h>
57513 main ()
57515 _hypotl(0, 0);
57517 return 0;
57519 _ACEOF
57520 rm -f conftest.$ac_objext
57521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57522 (eval $ac_compile) 2>conftest.er1
57523 ac_status=$?
57524 grep -v '^ *+' conftest.er1 >conftest.err
57525 rm -f conftest.er1
57526 cat conftest.err >&5
57527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57528 (exit $ac_status); } &&
57529 { ac_try='test -z "$ac_cxx_werror_flag"
57530 || test ! -s conftest.err'
57531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57532 (eval $ac_try) 2>&5
57533 ac_status=$?
57534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57535 (exit $ac_status); }; } &&
57536 { ac_try='test -s conftest.$ac_objext'
57537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57538 (eval $ac_try) 2>&5
57539 ac_status=$?
57540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57541 (exit $ac_status); }; }; then
57542 glibcxx_cv_func__hypotl_use=yes
57543 else
57544 echo "$as_me: failed program was:" >&5
57545 sed 's/^/| /' conftest.$ac_ext >&5
57547 glibcxx_cv_func__hypotl_use=no
57549 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57550 ac_ext=c
57551 ac_cpp='$CPP $CPPFLAGS'
57552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57560 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
57561 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
57563 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
57565 for ac_func in _hypotl
57567 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57568 echo "$as_me:$LINENO: checking for $ac_func" >&5
57569 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57570 if eval "test \"\${$as_ac_var+set}\" = set"; then
57571 echo $ECHO_N "(cached) $ECHO_C" >&6
57572 else
57573 if test x$gcc_no_link = xyes; then
57574 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57575 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57576 { (exit 1); exit 1; }; }
57578 cat >conftest.$ac_ext <<_ACEOF
57579 /* confdefs.h. */
57580 _ACEOF
57581 cat confdefs.h >>conftest.$ac_ext
57582 cat >>conftest.$ac_ext <<_ACEOF
57583 /* end confdefs.h. */
57584 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57585 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57586 #define $ac_func innocuous_$ac_func
57588 /* System header to define __stub macros and hopefully few prototypes,
57589 which can conflict with char $ac_func (); below.
57590 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57591 <limits.h> exists even on freestanding compilers. */
57593 #ifdef __STDC__
57594 # include <limits.h>
57595 #else
57596 # include <assert.h>
57597 #endif
57599 #undef $ac_func
57601 /* Override any gcc2 internal prototype to avoid an error. */
57602 #ifdef __cplusplus
57603 extern "C"
57605 #endif
57606 /* We use char because int might match the return type of a gcc2
57607 builtin and then its argument prototype would still apply. */
57608 char $ac_func ();
57609 /* The GNU C library defines this for functions which it implements
57610 to always fail with ENOSYS. Some functions are actually named
57611 something starting with __ and the normal name is an alias. */
57612 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57613 choke me
57614 #else
57615 char (*f) () = $ac_func;
57616 #endif
57617 #ifdef __cplusplus
57619 #endif
57622 main ()
57624 return f != $ac_func;
57626 return 0;
57628 _ACEOF
57629 rm -f conftest.$ac_objext conftest$ac_exeext
57630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57631 (eval $ac_link) 2>conftest.er1
57632 ac_status=$?
57633 grep -v '^ *+' conftest.er1 >conftest.err
57634 rm -f conftest.er1
57635 cat conftest.err >&5
57636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57637 (exit $ac_status); } &&
57638 { ac_try='test -z "$ac_c_werror_flag"
57639 || test ! -s conftest.err'
57640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57641 (eval $ac_try) 2>&5
57642 ac_status=$?
57643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57644 (exit $ac_status); }; } &&
57645 { ac_try='test -s conftest$ac_exeext'
57646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57647 (eval $ac_try) 2>&5
57648 ac_status=$?
57649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57650 (exit $ac_status); }; }; then
57651 eval "$as_ac_var=yes"
57652 else
57653 echo "$as_me: failed program was:" >&5
57654 sed 's/^/| /' conftest.$ac_ext >&5
57656 eval "$as_ac_var=no"
57658 rm -f conftest.err conftest.$ac_objext \
57659 conftest$ac_exeext conftest.$ac_ext
57661 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57662 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57663 if test `eval echo '${'$as_ac_var'}'` = yes; then
57664 cat >>confdefs.h <<_ACEOF
57665 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57666 _ACEOF
57669 done
57679 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
57680 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
57681 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
57682 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
57683 echo $ECHO_N "(cached) $ECHO_C" >&6
57684 else
57688 ac_ext=cc
57689 ac_cpp='$CXXCPP $CPPFLAGS'
57690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57694 cat >conftest.$ac_ext <<_ACEOF
57695 /* confdefs.h. */
57696 _ACEOF
57697 cat confdefs.h >>conftest.$ac_ext
57698 cat >>conftest.$ac_ext <<_ACEOF
57699 /* end confdefs.h. */
57700 #include <math.h>
57702 main ()
57704 ldexpl(0, 0);
57706 return 0;
57708 _ACEOF
57709 rm -f conftest.$ac_objext
57710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57711 (eval $ac_compile) 2>conftest.er1
57712 ac_status=$?
57713 grep -v '^ *+' conftest.er1 >conftest.err
57714 rm -f conftest.er1
57715 cat conftest.err >&5
57716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57717 (exit $ac_status); } &&
57718 { ac_try='test -z "$ac_cxx_werror_flag"
57719 || test ! -s conftest.err'
57720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57721 (eval $ac_try) 2>&5
57722 ac_status=$?
57723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57724 (exit $ac_status); }; } &&
57725 { ac_try='test -s conftest.$ac_objext'
57726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57727 (eval $ac_try) 2>&5
57728 ac_status=$?
57729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57730 (exit $ac_status); }; }; then
57731 glibcxx_cv_func_ldexpl_use=yes
57732 else
57733 echo "$as_me: failed program was:" >&5
57734 sed 's/^/| /' conftest.$ac_ext >&5
57736 glibcxx_cv_func_ldexpl_use=no
57738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57739 ac_ext=c
57740 ac_cpp='$CPP $CPPFLAGS'
57741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57749 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
57750 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
57752 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
57754 for ac_func in ldexpl
57756 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57757 echo "$as_me:$LINENO: checking for $ac_func" >&5
57758 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57759 if eval "test \"\${$as_ac_var+set}\" = set"; then
57760 echo $ECHO_N "(cached) $ECHO_C" >&6
57761 else
57762 if test x$gcc_no_link = xyes; then
57763 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57764 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57765 { (exit 1); exit 1; }; }
57767 cat >conftest.$ac_ext <<_ACEOF
57768 /* confdefs.h. */
57769 _ACEOF
57770 cat confdefs.h >>conftest.$ac_ext
57771 cat >>conftest.$ac_ext <<_ACEOF
57772 /* end confdefs.h. */
57773 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57774 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57775 #define $ac_func innocuous_$ac_func
57777 /* System header to define __stub macros and hopefully few prototypes,
57778 which can conflict with char $ac_func (); below.
57779 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57780 <limits.h> exists even on freestanding compilers. */
57782 #ifdef __STDC__
57783 # include <limits.h>
57784 #else
57785 # include <assert.h>
57786 #endif
57788 #undef $ac_func
57790 /* Override any gcc2 internal prototype to avoid an error. */
57791 #ifdef __cplusplus
57792 extern "C"
57794 #endif
57795 /* We use char because int might match the return type of a gcc2
57796 builtin and then its argument prototype would still apply. */
57797 char $ac_func ();
57798 /* The GNU C library defines this for functions which it implements
57799 to always fail with ENOSYS. Some functions are actually named
57800 something starting with __ and the normal name is an alias. */
57801 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57802 choke me
57803 #else
57804 char (*f) () = $ac_func;
57805 #endif
57806 #ifdef __cplusplus
57808 #endif
57811 main ()
57813 return f != $ac_func;
57815 return 0;
57817 _ACEOF
57818 rm -f conftest.$ac_objext conftest$ac_exeext
57819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57820 (eval $ac_link) 2>conftest.er1
57821 ac_status=$?
57822 grep -v '^ *+' conftest.er1 >conftest.err
57823 rm -f conftest.er1
57824 cat conftest.err >&5
57825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57826 (exit $ac_status); } &&
57827 { ac_try='test -z "$ac_c_werror_flag"
57828 || test ! -s conftest.err'
57829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57830 (eval $ac_try) 2>&5
57831 ac_status=$?
57832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57833 (exit $ac_status); }; } &&
57834 { ac_try='test -s conftest$ac_exeext'
57835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57836 (eval $ac_try) 2>&5
57837 ac_status=$?
57838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57839 (exit $ac_status); }; }; then
57840 eval "$as_ac_var=yes"
57841 else
57842 echo "$as_me: failed program was:" >&5
57843 sed 's/^/| /' conftest.$ac_ext >&5
57845 eval "$as_ac_var=no"
57847 rm -f conftest.err conftest.$ac_objext \
57848 conftest$ac_exeext conftest.$ac_ext
57850 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57851 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57852 if test `eval echo '${'$as_ac_var'}'` = yes; then
57853 cat >>confdefs.h <<_ACEOF
57854 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57855 _ACEOF
57858 done
57860 else
57862 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
57863 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
57864 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
57865 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
57866 echo $ECHO_N "(cached) $ECHO_C" >&6
57867 else
57871 ac_ext=cc
57872 ac_cpp='$CXXCPP $CPPFLAGS'
57873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57877 cat >conftest.$ac_ext <<_ACEOF
57878 /* confdefs.h. */
57879 _ACEOF
57880 cat confdefs.h >>conftest.$ac_ext
57881 cat >>conftest.$ac_ext <<_ACEOF
57882 /* end confdefs.h. */
57883 #include <math.h>
57885 main ()
57887 _ldexpl(0, 0);
57889 return 0;
57891 _ACEOF
57892 rm -f conftest.$ac_objext
57893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57894 (eval $ac_compile) 2>conftest.er1
57895 ac_status=$?
57896 grep -v '^ *+' conftest.er1 >conftest.err
57897 rm -f conftest.er1
57898 cat conftest.err >&5
57899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57900 (exit $ac_status); } &&
57901 { ac_try='test -z "$ac_cxx_werror_flag"
57902 || test ! -s conftest.err'
57903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57904 (eval $ac_try) 2>&5
57905 ac_status=$?
57906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57907 (exit $ac_status); }; } &&
57908 { ac_try='test -s conftest.$ac_objext'
57909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57910 (eval $ac_try) 2>&5
57911 ac_status=$?
57912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57913 (exit $ac_status); }; }; then
57914 glibcxx_cv_func__ldexpl_use=yes
57915 else
57916 echo "$as_me: failed program was:" >&5
57917 sed 's/^/| /' conftest.$ac_ext >&5
57919 glibcxx_cv_func__ldexpl_use=no
57921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57922 ac_ext=c
57923 ac_cpp='$CPP $CPPFLAGS'
57924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57932 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
57933 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
57935 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
57937 for ac_func in _ldexpl
57939 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57940 echo "$as_me:$LINENO: checking for $ac_func" >&5
57941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57942 if eval "test \"\${$as_ac_var+set}\" = set"; then
57943 echo $ECHO_N "(cached) $ECHO_C" >&6
57944 else
57945 if test x$gcc_no_link = xyes; then
57946 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57947 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57948 { (exit 1); exit 1; }; }
57950 cat >conftest.$ac_ext <<_ACEOF
57951 /* confdefs.h. */
57952 _ACEOF
57953 cat confdefs.h >>conftest.$ac_ext
57954 cat >>conftest.$ac_ext <<_ACEOF
57955 /* end confdefs.h. */
57956 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57957 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57958 #define $ac_func innocuous_$ac_func
57960 /* System header to define __stub macros and hopefully few prototypes,
57961 which can conflict with char $ac_func (); below.
57962 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57963 <limits.h> exists even on freestanding compilers. */
57965 #ifdef __STDC__
57966 # include <limits.h>
57967 #else
57968 # include <assert.h>
57969 #endif
57971 #undef $ac_func
57973 /* Override any gcc2 internal prototype to avoid an error. */
57974 #ifdef __cplusplus
57975 extern "C"
57977 #endif
57978 /* We use char because int might match the return type of a gcc2
57979 builtin and then its argument prototype would still apply. */
57980 char $ac_func ();
57981 /* The GNU C library defines this for functions which it implements
57982 to always fail with ENOSYS. Some functions are actually named
57983 something starting with __ and the normal name is an alias. */
57984 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57985 choke me
57986 #else
57987 char (*f) () = $ac_func;
57988 #endif
57989 #ifdef __cplusplus
57991 #endif
57994 main ()
57996 return f != $ac_func;
57998 return 0;
58000 _ACEOF
58001 rm -f conftest.$ac_objext conftest$ac_exeext
58002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58003 (eval $ac_link) 2>conftest.er1
58004 ac_status=$?
58005 grep -v '^ *+' conftest.er1 >conftest.err
58006 rm -f conftest.er1
58007 cat conftest.err >&5
58008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58009 (exit $ac_status); } &&
58010 { ac_try='test -z "$ac_c_werror_flag"
58011 || test ! -s conftest.err'
58012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58013 (eval $ac_try) 2>&5
58014 ac_status=$?
58015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58016 (exit $ac_status); }; } &&
58017 { ac_try='test -s conftest$ac_exeext'
58018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58019 (eval $ac_try) 2>&5
58020 ac_status=$?
58021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58022 (exit $ac_status); }; }; then
58023 eval "$as_ac_var=yes"
58024 else
58025 echo "$as_me: failed program was:" >&5
58026 sed 's/^/| /' conftest.$ac_ext >&5
58028 eval "$as_ac_var=no"
58030 rm -f conftest.err conftest.$ac_objext \
58031 conftest$ac_exeext conftest.$ac_ext
58033 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58034 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58035 if test `eval echo '${'$as_ac_var'}'` = yes; then
58036 cat >>confdefs.h <<_ACEOF
58037 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58038 _ACEOF
58041 done
58051 echo "$as_me:$LINENO: checking for logl declaration" >&5
58052 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
58053 if test x${glibcxx_cv_func_logl_use+set} != xset; then
58054 if test "${glibcxx_cv_func_logl_use+set}" = set; then
58055 echo $ECHO_N "(cached) $ECHO_C" >&6
58056 else
58060 ac_ext=cc
58061 ac_cpp='$CXXCPP $CPPFLAGS'
58062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58066 cat >conftest.$ac_ext <<_ACEOF
58067 /* confdefs.h. */
58068 _ACEOF
58069 cat confdefs.h >>conftest.$ac_ext
58070 cat >>conftest.$ac_ext <<_ACEOF
58071 /* end confdefs.h. */
58072 #include <math.h>
58073 #ifdef HAVE_IEEEFP_H
58074 #include <ieeefp.h>
58075 #endif
58078 main ()
58080 logl(0);
58082 return 0;
58084 _ACEOF
58085 rm -f conftest.$ac_objext
58086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58087 (eval $ac_compile) 2>conftest.er1
58088 ac_status=$?
58089 grep -v '^ *+' conftest.er1 >conftest.err
58090 rm -f conftest.er1
58091 cat conftest.err >&5
58092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58093 (exit $ac_status); } &&
58094 { ac_try='test -z "$ac_cxx_werror_flag"
58095 || test ! -s conftest.err'
58096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58097 (eval $ac_try) 2>&5
58098 ac_status=$?
58099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58100 (exit $ac_status); }; } &&
58101 { ac_try='test -s conftest.$ac_objext'
58102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58103 (eval $ac_try) 2>&5
58104 ac_status=$?
58105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58106 (exit $ac_status); }; }; then
58107 glibcxx_cv_func_logl_use=yes
58108 else
58109 echo "$as_me: failed program was:" >&5
58110 sed 's/^/| /' conftest.$ac_ext >&5
58112 glibcxx_cv_func_logl_use=no
58114 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58115 ac_ext=c
58116 ac_cpp='$CPP $CPPFLAGS'
58117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58125 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
58126 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
58128 if test x$glibcxx_cv_func_logl_use = x"yes"; then
58130 for ac_func in logl
58132 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58133 echo "$as_me:$LINENO: checking for $ac_func" >&5
58134 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58135 if eval "test \"\${$as_ac_var+set}\" = set"; then
58136 echo $ECHO_N "(cached) $ECHO_C" >&6
58137 else
58138 if test x$gcc_no_link = xyes; then
58139 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58140 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58141 { (exit 1); exit 1; }; }
58143 cat >conftest.$ac_ext <<_ACEOF
58144 /* confdefs.h. */
58145 _ACEOF
58146 cat confdefs.h >>conftest.$ac_ext
58147 cat >>conftest.$ac_ext <<_ACEOF
58148 /* end confdefs.h. */
58149 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58150 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58151 #define $ac_func innocuous_$ac_func
58153 /* System header to define __stub macros and hopefully few prototypes,
58154 which can conflict with char $ac_func (); below.
58155 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58156 <limits.h> exists even on freestanding compilers. */
58158 #ifdef __STDC__
58159 # include <limits.h>
58160 #else
58161 # include <assert.h>
58162 #endif
58164 #undef $ac_func
58166 /* Override any gcc2 internal prototype to avoid an error. */
58167 #ifdef __cplusplus
58168 extern "C"
58170 #endif
58171 /* We use char because int might match the return type of a gcc2
58172 builtin and then its argument prototype would still apply. */
58173 char $ac_func ();
58174 /* The GNU C library defines this for functions which it implements
58175 to always fail with ENOSYS. Some functions are actually named
58176 something starting with __ and the normal name is an alias. */
58177 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58178 choke me
58179 #else
58180 char (*f) () = $ac_func;
58181 #endif
58182 #ifdef __cplusplus
58184 #endif
58187 main ()
58189 return f != $ac_func;
58191 return 0;
58193 _ACEOF
58194 rm -f conftest.$ac_objext conftest$ac_exeext
58195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58196 (eval $ac_link) 2>conftest.er1
58197 ac_status=$?
58198 grep -v '^ *+' conftest.er1 >conftest.err
58199 rm -f conftest.er1
58200 cat conftest.err >&5
58201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58202 (exit $ac_status); } &&
58203 { ac_try='test -z "$ac_c_werror_flag"
58204 || test ! -s conftest.err'
58205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58206 (eval $ac_try) 2>&5
58207 ac_status=$?
58208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58209 (exit $ac_status); }; } &&
58210 { ac_try='test -s conftest$ac_exeext'
58211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58212 (eval $ac_try) 2>&5
58213 ac_status=$?
58214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58215 (exit $ac_status); }; }; then
58216 eval "$as_ac_var=yes"
58217 else
58218 echo "$as_me: failed program was:" >&5
58219 sed 's/^/| /' conftest.$ac_ext >&5
58221 eval "$as_ac_var=no"
58223 rm -f conftest.err conftest.$ac_objext \
58224 conftest$ac_exeext conftest.$ac_ext
58226 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58227 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58228 if test `eval echo '${'$as_ac_var'}'` = yes; then
58229 cat >>confdefs.h <<_ACEOF
58230 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58231 _ACEOF
58234 done
58236 else
58238 echo "$as_me:$LINENO: checking for _logl declaration" >&5
58239 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
58240 if test x${glibcxx_cv_func__logl_use+set} != xset; then
58241 if test "${glibcxx_cv_func__logl_use+set}" = set; then
58242 echo $ECHO_N "(cached) $ECHO_C" >&6
58243 else
58247 ac_ext=cc
58248 ac_cpp='$CXXCPP $CPPFLAGS'
58249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58253 cat >conftest.$ac_ext <<_ACEOF
58254 /* confdefs.h. */
58255 _ACEOF
58256 cat confdefs.h >>conftest.$ac_ext
58257 cat >>conftest.$ac_ext <<_ACEOF
58258 /* end confdefs.h. */
58259 #include <math.h>
58260 #ifdef HAVE_IEEEFP_H
58261 #include <ieeefp.h>
58262 #endif
58265 main ()
58267 _logl(0);
58269 return 0;
58271 _ACEOF
58272 rm -f conftest.$ac_objext
58273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58274 (eval $ac_compile) 2>conftest.er1
58275 ac_status=$?
58276 grep -v '^ *+' conftest.er1 >conftest.err
58277 rm -f conftest.er1
58278 cat conftest.err >&5
58279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58280 (exit $ac_status); } &&
58281 { ac_try='test -z "$ac_cxx_werror_flag"
58282 || test ! -s conftest.err'
58283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58284 (eval $ac_try) 2>&5
58285 ac_status=$?
58286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58287 (exit $ac_status); }; } &&
58288 { ac_try='test -s conftest.$ac_objext'
58289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58290 (eval $ac_try) 2>&5
58291 ac_status=$?
58292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58293 (exit $ac_status); }; }; then
58294 glibcxx_cv_func__logl_use=yes
58295 else
58296 echo "$as_me: failed program was:" >&5
58297 sed 's/^/| /' conftest.$ac_ext >&5
58299 glibcxx_cv_func__logl_use=no
58301 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58302 ac_ext=c
58303 ac_cpp='$CPP $CPPFLAGS'
58304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58312 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
58313 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
58315 if test x$glibcxx_cv_func__logl_use = x"yes"; then
58317 for ac_func in _logl
58319 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58320 echo "$as_me:$LINENO: checking for $ac_func" >&5
58321 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58322 if eval "test \"\${$as_ac_var+set}\" = set"; then
58323 echo $ECHO_N "(cached) $ECHO_C" >&6
58324 else
58325 if test x$gcc_no_link = xyes; then
58326 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58327 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58328 { (exit 1); exit 1; }; }
58330 cat >conftest.$ac_ext <<_ACEOF
58331 /* confdefs.h. */
58332 _ACEOF
58333 cat confdefs.h >>conftest.$ac_ext
58334 cat >>conftest.$ac_ext <<_ACEOF
58335 /* end confdefs.h. */
58336 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58337 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58338 #define $ac_func innocuous_$ac_func
58340 /* System header to define __stub macros and hopefully few prototypes,
58341 which can conflict with char $ac_func (); below.
58342 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58343 <limits.h> exists even on freestanding compilers. */
58345 #ifdef __STDC__
58346 # include <limits.h>
58347 #else
58348 # include <assert.h>
58349 #endif
58351 #undef $ac_func
58353 /* Override any gcc2 internal prototype to avoid an error. */
58354 #ifdef __cplusplus
58355 extern "C"
58357 #endif
58358 /* We use char because int might match the return type of a gcc2
58359 builtin and then its argument prototype would still apply. */
58360 char $ac_func ();
58361 /* The GNU C library defines this for functions which it implements
58362 to always fail with ENOSYS. Some functions are actually named
58363 something starting with __ and the normal name is an alias. */
58364 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58365 choke me
58366 #else
58367 char (*f) () = $ac_func;
58368 #endif
58369 #ifdef __cplusplus
58371 #endif
58374 main ()
58376 return f != $ac_func;
58378 return 0;
58380 _ACEOF
58381 rm -f conftest.$ac_objext conftest$ac_exeext
58382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58383 (eval $ac_link) 2>conftest.er1
58384 ac_status=$?
58385 grep -v '^ *+' conftest.er1 >conftest.err
58386 rm -f conftest.er1
58387 cat conftest.err >&5
58388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58389 (exit $ac_status); } &&
58390 { ac_try='test -z "$ac_c_werror_flag"
58391 || test ! -s conftest.err'
58392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58393 (eval $ac_try) 2>&5
58394 ac_status=$?
58395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58396 (exit $ac_status); }; } &&
58397 { ac_try='test -s conftest$ac_exeext'
58398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58399 (eval $ac_try) 2>&5
58400 ac_status=$?
58401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58402 (exit $ac_status); }; }; then
58403 eval "$as_ac_var=yes"
58404 else
58405 echo "$as_me: failed program was:" >&5
58406 sed 's/^/| /' conftest.$ac_ext >&5
58408 eval "$as_ac_var=no"
58410 rm -f conftest.err conftest.$ac_objext \
58411 conftest$ac_exeext conftest.$ac_ext
58413 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58414 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58415 if test `eval echo '${'$as_ac_var'}'` = yes; then
58416 cat >>confdefs.h <<_ACEOF
58417 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58418 _ACEOF
58421 done
58431 echo "$as_me:$LINENO: checking for log10l declaration" >&5
58432 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
58433 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
58434 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
58435 echo $ECHO_N "(cached) $ECHO_C" >&6
58436 else
58440 ac_ext=cc
58441 ac_cpp='$CXXCPP $CPPFLAGS'
58442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58446 cat >conftest.$ac_ext <<_ACEOF
58447 /* confdefs.h. */
58448 _ACEOF
58449 cat confdefs.h >>conftest.$ac_ext
58450 cat >>conftest.$ac_ext <<_ACEOF
58451 /* end confdefs.h. */
58452 #include <math.h>
58453 #ifdef HAVE_IEEEFP_H
58454 #include <ieeefp.h>
58455 #endif
58458 main ()
58460 log10l(0);
58462 return 0;
58464 _ACEOF
58465 rm -f conftest.$ac_objext
58466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58467 (eval $ac_compile) 2>conftest.er1
58468 ac_status=$?
58469 grep -v '^ *+' conftest.er1 >conftest.err
58470 rm -f conftest.er1
58471 cat conftest.err >&5
58472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58473 (exit $ac_status); } &&
58474 { ac_try='test -z "$ac_cxx_werror_flag"
58475 || test ! -s conftest.err'
58476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58477 (eval $ac_try) 2>&5
58478 ac_status=$?
58479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58480 (exit $ac_status); }; } &&
58481 { ac_try='test -s conftest.$ac_objext'
58482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58483 (eval $ac_try) 2>&5
58484 ac_status=$?
58485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58486 (exit $ac_status); }; }; then
58487 glibcxx_cv_func_log10l_use=yes
58488 else
58489 echo "$as_me: failed program was:" >&5
58490 sed 's/^/| /' conftest.$ac_ext >&5
58492 glibcxx_cv_func_log10l_use=no
58494 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58495 ac_ext=c
58496 ac_cpp='$CPP $CPPFLAGS'
58497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58505 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
58506 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
58508 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
58510 for ac_func in log10l
58512 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58513 echo "$as_me:$LINENO: checking for $ac_func" >&5
58514 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58515 if eval "test \"\${$as_ac_var+set}\" = set"; then
58516 echo $ECHO_N "(cached) $ECHO_C" >&6
58517 else
58518 if test x$gcc_no_link = xyes; then
58519 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58520 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58521 { (exit 1); exit 1; }; }
58523 cat >conftest.$ac_ext <<_ACEOF
58524 /* confdefs.h. */
58525 _ACEOF
58526 cat confdefs.h >>conftest.$ac_ext
58527 cat >>conftest.$ac_ext <<_ACEOF
58528 /* end confdefs.h. */
58529 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58530 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58531 #define $ac_func innocuous_$ac_func
58533 /* System header to define __stub macros and hopefully few prototypes,
58534 which can conflict with char $ac_func (); below.
58535 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58536 <limits.h> exists even on freestanding compilers. */
58538 #ifdef __STDC__
58539 # include <limits.h>
58540 #else
58541 # include <assert.h>
58542 #endif
58544 #undef $ac_func
58546 /* Override any gcc2 internal prototype to avoid an error. */
58547 #ifdef __cplusplus
58548 extern "C"
58550 #endif
58551 /* We use char because int might match the return type of a gcc2
58552 builtin and then its argument prototype would still apply. */
58553 char $ac_func ();
58554 /* The GNU C library defines this for functions which it implements
58555 to always fail with ENOSYS. Some functions are actually named
58556 something starting with __ and the normal name is an alias. */
58557 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58558 choke me
58559 #else
58560 char (*f) () = $ac_func;
58561 #endif
58562 #ifdef __cplusplus
58564 #endif
58567 main ()
58569 return f != $ac_func;
58571 return 0;
58573 _ACEOF
58574 rm -f conftest.$ac_objext conftest$ac_exeext
58575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58576 (eval $ac_link) 2>conftest.er1
58577 ac_status=$?
58578 grep -v '^ *+' conftest.er1 >conftest.err
58579 rm -f conftest.er1
58580 cat conftest.err >&5
58581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58582 (exit $ac_status); } &&
58583 { ac_try='test -z "$ac_c_werror_flag"
58584 || test ! -s conftest.err'
58585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58586 (eval $ac_try) 2>&5
58587 ac_status=$?
58588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58589 (exit $ac_status); }; } &&
58590 { ac_try='test -s conftest$ac_exeext'
58591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58592 (eval $ac_try) 2>&5
58593 ac_status=$?
58594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58595 (exit $ac_status); }; }; then
58596 eval "$as_ac_var=yes"
58597 else
58598 echo "$as_me: failed program was:" >&5
58599 sed 's/^/| /' conftest.$ac_ext >&5
58601 eval "$as_ac_var=no"
58603 rm -f conftest.err conftest.$ac_objext \
58604 conftest$ac_exeext conftest.$ac_ext
58606 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58607 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58608 if test `eval echo '${'$as_ac_var'}'` = yes; then
58609 cat >>confdefs.h <<_ACEOF
58610 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58611 _ACEOF
58614 done
58616 else
58618 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
58619 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
58620 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
58621 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
58622 echo $ECHO_N "(cached) $ECHO_C" >&6
58623 else
58627 ac_ext=cc
58628 ac_cpp='$CXXCPP $CPPFLAGS'
58629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58633 cat >conftest.$ac_ext <<_ACEOF
58634 /* confdefs.h. */
58635 _ACEOF
58636 cat confdefs.h >>conftest.$ac_ext
58637 cat >>conftest.$ac_ext <<_ACEOF
58638 /* end confdefs.h. */
58639 #include <math.h>
58640 #ifdef HAVE_IEEEFP_H
58641 #include <ieeefp.h>
58642 #endif
58645 main ()
58647 _log10l(0);
58649 return 0;
58651 _ACEOF
58652 rm -f conftest.$ac_objext
58653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58654 (eval $ac_compile) 2>conftest.er1
58655 ac_status=$?
58656 grep -v '^ *+' conftest.er1 >conftest.err
58657 rm -f conftest.er1
58658 cat conftest.err >&5
58659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58660 (exit $ac_status); } &&
58661 { ac_try='test -z "$ac_cxx_werror_flag"
58662 || test ! -s conftest.err'
58663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58664 (eval $ac_try) 2>&5
58665 ac_status=$?
58666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58667 (exit $ac_status); }; } &&
58668 { ac_try='test -s conftest.$ac_objext'
58669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58670 (eval $ac_try) 2>&5
58671 ac_status=$?
58672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58673 (exit $ac_status); }; }; then
58674 glibcxx_cv_func__log10l_use=yes
58675 else
58676 echo "$as_me: failed program was:" >&5
58677 sed 's/^/| /' conftest.$ac_ext >&5
58679 glibcxx_cv_func__log10l_use=no
58681 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58682 ac_ext=c
58683 ac_cpp='$CPP $CPPFLAGS'
58684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58692 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
58693 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
58695 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
58697 for ac_func in _log10l
58699 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58700 echo "$as_me:$LINENO: checking for $ac_func" >&5
58701 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58702 if eval "test \"\${$as_ac_var+set}\" = set"; then
58703 echo $ECHO_N "(cached) $ECHO_C" >&6
58704 else
58705 if test x$gcc_no_link = xyes; then
58706 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58707 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58708 { (exit 1); exit 1; }; }
58710 cat >conftest.$ac_ext <<_ACEOF
58711 /* confdefs.h. */
58712 _ACEOF
58713 cat confdefs.h >>conftest.$ac_ext
58714 cat >>conftest.$ac_ext <<_ACEOF
58715 /* end confdefs.h. */
58716 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58717 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58718 #define $ac_func innocuous_$ac_func
58720 /* System header to define __stub macros and hopefully few prototypes,
58721 which can conflict with char $ac_func (); below.
58722 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58723 <limits.h> exists even on freestanding compilers. */
58725 #ifdef __STDC__
58726 # include <limits.h>
58727 #else
58728 # include <assert.h>
58729 #endif
58731 #undef $ac_func
58733 /* Override any gcc2 internal prototype to avoid an error. */
58734 #ifdef __cplusplus
58735 extern "C"
58737 #endif
58738 /* We use char because int might match the return type of a gcc2
58739 builtin and then its argument prototype would still apply. */
58740 char $ac_func ();
58741 /* The GNU C library defines this for functions which it implements
58742 to always fail with ENOSYS. Some functions are actually named
58743 something starting with __ and the normal name is an alias. */
58744 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58745 choke me
58746 #else
58747 char (*f) () = $ac_func;
58748 #endif
58749 #ifdef __cplusplus
58751 #endif
58754 main ()
58756 return f != $ac_func;
58758 return 0;
58760 _ACEOF
58761 rm -f conftest.$ac_objext conftest$ac_exeext
58762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58763 (eval $ac_link) 2>conftest.er1
58764 ac_status=$?
58765 grep -v '^ *+' conftest.er1 >conftest.err
58766 rm -f conftest.er1
58767 cat conftest.err >&5
58768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58769 (exit $ac_status); } &&
58770 { ac_try='test -z "$ac_c_werror_flag"
58771 || test ! -s conftest.err'
58772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58773 (eval $ac_try) 2>&5
58774 ac_status=$?
58775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58776 (exit $ac_status); }; } &&
58777 { ac_try='test -s conftest$ac_exeext'
58778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58779 (eval $ac_try) 2>&5
58780 ac_status=$?
58781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58782 (exit $ac_status); }; }; then
58783 eval "$as_ac_var=yes"
58784 else
58785 echo "$as_me: failed program was:" >&5
58786 sed 's/^/| /' conftest.$ac_ext >&5
58788 eval "$as_ac_var=no"
58790 rm -f conftest.err conftest.$ac_objext \
58791 conftest$ac_exeext conftest.$ac_ext
58793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58794 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58795 if test `eval echo '${'$as_ac_var'}'` = yes; then
58796 cat >>confdefs.h <<_ACEOF
58797 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58798 _ACEOF
58801 done
58811 echo "$as_me:$LINENO: checking for modfl declaration" >&5
58812 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
58813 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
58814 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
58815 echo $ECHO_N "(cached) $ECHO_C" >&6
58816 else
58820 ac_ext=cc
58821 ac_cpp='$CXXCPP $CPPFLAGS'
58822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58826 cat >conftest.$ac_ext <<_ACEOF
58827 /* confdefs.h. */
58828 _ACEOF
58829 cat confdefs.h >>conftest.$ac_ext
58830 cat >>conftest.$ac_ext <<_ACEOF
58831 /* end confdefs.h. */
58832 #include <math.h>
58834 main ()
58836 modfl(0, 0);
58838 return 0;
58840 _ACEOF
58841 rm -f conftest.$ac_objext
58842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58843 (eval $ac_compile) 2>conftest.er1
58844 ac_status=$?
58845 grep -v '^ *+' conftest.er1 >conftest.err
58846 rm -f conftest.er1
58847 cat conftest.err >&5
58848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58849 (exit $ac_status); } &&
58850 { ac_try='test -z "$ac_cxx_werror_flag"
58851 || test ! -s conftest.err'
58852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58853 (eval $ac_try) 2>&5
58854 ac_status=$?
58855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58856 (exit $ac_status); }; } &&
58857 { ac_try='test -s conftest.$ac_objext'
58858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58859 (eval $ac_try) 2>&5
58860 ac_status=$?
58861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58862 (exit $ac_status); }; }; then
58863 glibcxx_cv_func_modfl_use=yes
58864 else
58865 echo "$as_me: failed program was:" >&5
58866 sed 's/^/| /' conftest.$ac_ext >&5
58868 glibcxx_cv_func_modfl_use=no
58870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58871 ac_ext=c
58872 ac_cpp='$CPP $CPPFLAGS'
58873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58881 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
58882 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
58884 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
58886 for ac_func in modfl
58888 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58889 echo "$as_me:$LINENO: checking for $ac_func" >&5
58890 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58891 if eval "test \"\${$as_ac_var+set}\" = set"; then
58892 echo $ECHO_N "(cached) $ECHO_C" >&6
58893 else
58894 if test x$gcc_no_link = xyes; then
58895 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58896 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58897 { (exit 1); exit 1; }; }
58899 cat >conftest.$ac_ext <<_ACEOF
58900 /* confdefs.h. */
58901 _ACEOF
58902 cat confdefs.h >>conftest.$ac_ext
58903 cat >>conftest.$ac_ext <<_ACEOF
58904 /* end confdefs.h. */
58905 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58906 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58907 #define $ac_func innocuous_$ac_func
58909 /* System header to define __stub macros and hopefully few prototypes,
58910 which can conflict with char $ac_func (); below.
58911 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58912 <limits.h> exists even on freestanding compilers. */
58914 #ifdef __STDC__
58915 # include <limits.h>
58916 #else
58917 # include <assert.h>
58918 #endif
58920 #undef $ac_func
58922 /* Override any gcc2 internal prototype to avoid an error. */
58923 #ifdef __cplusplus
58924 extern "C"
58926 #endif
58927 /* We use char because int might match the return type of a gcc2
58928 builtin and then its argument prototype would still apply. */
58929 char $ac_func ();
58930 /* The GNU C library defines this for functions which it implements
58931 to always fail with ENOSYS. Some functions are actually named
58932 something starting with __ and the normal name is an alias. */
58933 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58934 choke me
58935 #else
58936 char (*f) () = $ac_func;
58937 #endif
58938 #ifdef __cplusplus
58940 #endif
58943 main ()
58945 return f != $ac_func;
58947 return 0;
58949 _ACEOF
58950 rm -f conftest.$ac_objext conftest$ac_exeext
58951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58952 (eval $ac_link) 2>conftest.er1
58953 ac_status=$?
58954 grep -v '^ *+' conftest.er1 >conftest.err
58955 rm -f conftest.er1
58956 cat conftest.err >&5
58957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58958 (exit $ac_status); } &&
58959 { ac_try='test -z "$ac_c_werror_flag"
58960 || test ! -s conftest.err'
58961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58962 (eval $ac_try) 2>&5
58963 ac_status=$?
58964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58965 (exit $ac_status); }; } &&
58966 { ac_try='test -s conftest$ac_exeext'
58967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58968 (eval $ac_try) 2>&5
58969 ac_status=$?
58970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58971 (exit $ac_status); }; }; then
58972 eval "$as_ac_var=yes"
58973 else
58974 echo "$as_me: failed program was:" >&5
58975 sed 's/^/| /' conftest.$ac_ext >&5
58977 eval "$as_ac_var=no"
58979 rm -f conftest.err conftest.$ac_objext \
58980 conftest$ac_exeext conftest.$ac_ext
58982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58983 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58984 if test `eval echo '${'$as_ac_var'}'` = yes; then
58985 cat >>confdefs.h <<_ACEOF
58986 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58987 _ACEOF
58990 done
58992 else
58994 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
58995 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
58996 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
58997 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
58998 echo $ECHO_N "(cached) $ECHO_C" >&6
58999 else
59003 ac_ext=cc
59004 ac_cpp='$CXXCPP $CPPFLAGS'
59005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59009 cat >conftest.$ac_ext <<_ACEOF
59010 /* confdefs.h. */
59011 _ACEOF
59012 cat confdefs.h >>conftest.$ac_ext
59013 cat >>conftest.$ac_ext <<_ACEOF
59014 /* end confdefs.h. */
59015 #include <math.h>
59017 main ()
59019 _modfl(0, 0);
59021 return 0;
59023 _ACEOF
59024 rm -f conftest.$ac_objext
59025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59026 (eval $ac_compile) 2>conftest.er1
59027 ac_status=$?
59028 grep -v '^ *+' conftest.er1 >conftest.err
59029 rm -f conftest.er1
59030 cat conftest.err >&5
59031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59032 (exit $ac_status); } &&
59033 { ac_try='test -z "$ac_cxx_werror_flag"
59034 || test ! -s conftest.err'
59035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59036 (eval $ac_try) 2>&5
59037 ac_status=$?
59038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59039 (exit $ac_status); }; } &&
59040 { ac_try='test -s conftest.$ac_objext'
59041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59042 (eval $ac_try) 2>&5
59043 ac_status=$?
59044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59045 (exit $ac_status); }; }; then
59046 glibcxx_cv_func__modfl_use=yes
59047 else
59048 echo "$as_me: failed program was:" >&5
59049 sed 's/^/| /' conftest.$ac_ext >&5
59051 glibcxx_cv_func__modfl_use=no
59053 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59054 ac_ext=c
59055 ac_cpp='$CPP $CPPFLAGS'
59056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59064 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
59065 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
59067 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
59069 for ac_func in _modfl
59071 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59072 echo "$as_me:$LINENO: checking for $ac_func" >&5
59073 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59074 if eval "test \"\${$as_ac_var+set}\" = set"; then
59075 echo $ECHO_N "(cached) $ECHO_C" >&6
59076 else
59077 if test x$gcc_no_link = xyes; then
59078 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59079 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59080 { (exit 1); exit 1; }; }
59082 cat >conftest.$ac_ext <<_ACEOF
59083 /* confdefs.h. */
59084 _ACEOF
59085 cat confdefs.h >>conftest.$ac_ext
59086 cat >>conftest.$ac_ext <<_ACEOF
59087 /* end confdefs.h. */
59088 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59089 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59090 #define $ac_func innocuous_$ac_func
59092 /* System header to define __stub macros and hopefully few prototypes,
59093 which can conflict with char $ac_func (); below.
59094 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59095 <limits.h> exists even on freestanding compilers. */
59097 #ifdef __STDC__
59098 # include <limits.h>
59099 #else
59100 # include <assert.h>
59101 #endif
59103 #undef $ac_func
59105 /* Override any gcc2 internal prototype to avoid an error. */
59106 #ifdef __cplusplus
59107 extern "C"
59109 #endif
59110 /* We use char because int might match the return type of a gcc2
59111 builtin and then its argument prototype would still apply. */
59112 char $ac_func ();
59113 /* The GNU C library defines this for functions which it implements
59114 to always fail with ENOSYS. Some functions are actually named
59115 something starting with __ and the normal name is an alias. */
59116 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59117 choke me
59118 #else
59119 char (*f) () = $ac_func;
59120 #endif
59121 #ifdef __cplusplus
59123 #endif
59126 main ()
59128 return f != $ac_func;
59130 return 0;
59132 _ACEOF
59133 rm -f conftest.$ac_objext conftest$ac_exeext
59134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59135 (eval $ac_link) 2>conftest.er1
59136 ac_status=$?
59137 grep -v '^ *+' conftest.er1 >conftest.err
59138 rm -f conftest.er1
59139 cat conftest.err >&5
59140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59141 (exit $ac_status); } &&
59142 { ac_try='test -z "$ac_c_werror_flag"
59143 || test ! -s conftest.err'
59144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59145 (eval $ac_try) 2>&5
59146 ac_status=$?
59147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59148 (exit $ac_status); }; } &&
59149 { ac_try='test -s conftest$ac_exeext'
59150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59151 (eval $ac_try) 2>&5
59152 ac_status=$?
59153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59154 (exit $ac_status); }; }; then
59155 eval "$as_ac_var=yes"
59156 else
59157 echo "$as_me: failed program was:" >&5
59158 sed 's/^/| /' conftest.$ac_ext >&5
59160 eval "$as_ac_var=no"
59162 rm -f conftest.err conftest.$ac_objext \
59163 conftest$ac_exeext conftest.$ac_ext
59165 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59166 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59167 if test `eval echo '${'$as_ac_var'}'` = yes; then
59168 cat >>confdefs.h <<_ACEOF
59169 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59170 _ACEOF
59173 done
59183 echo "$as_me:$LINENO: checking for powl declaration" >&5
59184 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
59185 if test x${glibcxx_cv_func_powl_use+set} != xset; then
59186 if test "${glibcxx_cv_func_powl_use+set}" = set; then
59187 echo $ECHO_N "(cached) $ECHO_C" >&6
59188 else
59192 ac_ext=cc
59193 ac_cpp='$CXXCPP $CPPFLAGS'
59194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59198 cat >conftest.$ac_ext <<_ACEOF
59199 /* confdefs.h. */
59200 _ACEOF
59201 cat confdefs.h >>conftest.$ac_ext
59202 cat >>conftest.$ac_ext <<_ACEOF
59203 /* end confdefs.h. */
59204 #include <math.h>
59206 main ()
59208 powl(0, 0);
59210 return 0;
59212 _ACEOF
59213 rm -f conftest.$ac_objext
59214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59215 (eval $ac_compile) 2>conftest.er1
59216 ac_status=$?
59217 grep -v '^ *+' conftest.er1 >conftest.err
59218 rm -f conftest.er1
59219 cat conftest.err >&5
59220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59221 (exit $ac_status); } &&
59222 { ac_try='test -z "$ac_cxx_werror_flag"
59223 || test ! -s conftest.err'
59224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59225 (eval $ac_try) 2>&5
59226 ac_status=$?
59227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59228 (exit $ac_status); }; } &&
59229 { ac_try='test -s conftest.$ac_objext'
59230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59231 (eval $ac_try) 2>&5
59232 ac_status=$?
59233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59234 (exit $ac_status); }; }; then
59235 glibcxx_cv_func_powl_use=yes
59236 else
59237 echo "$as_me: failed program was:" >&5
59238 sed 's/^/| /' conftest.$ac_ext >&5
59240 glibcxx_cv_func_powl_use=no
59242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59243 ac_ext=c
59244 ac_cpp='$CPP $CPPFLAGS'
59245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59253 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
59254 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
59256 if test x$glibcxx_cv_func_powl_use = x"yes"; then
59258 for ac_func in powl
59260 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59261 echo "$as_me:$LINENO: checking for $ac_func" >&5
59262 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59263 if eval "test \"\${$as_ac_var+set}\" = set"; then
59264 echo $ECHO_N "(cached) $ECHO_C" >&6
59265 else
59266 if test x$gcc_no_link = xyes; then
59267 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59268 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59269 { (exit 1); exit 1; }; }
59271 cat >conftest.$ac_ext <<_ACEOF
59272 /* confdefs.h. */
59273 _ACEOF
59274 cat confdefs.h >>conftest.$ac_ext
59275 cat >>conftest.$ac_ext <<_ACEOF
59276 /* end confdefs.h. */
59277 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59278 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59279 #define $ac_func innocuous_$ac_func
59281 /* System header to define __stub macros and hopefully few prototypes,
59282 which can conflict with char $ac_func (); below.
59283 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59284 <limits.h> exists even on freestanding compilers. */
59286 #ifdef __STDC__
59287 # include <limits.h>
59288 #else
59289 # include <assert.h>
59290 #endif
59292 #undef $ac_func
59294 /* Override any gcc2 internal prototype to avoid an error. */
59295 #ifdef __cplusplus
59296 extern "C"
59298 #endif
59299 /* We use char because int might match the return type of a gcc2
59300 builtin and then its argument prototype would still apply. */
59301 char $ac_func ();
59302 /* The GNU C library defines this for functions which it implements
59303 to always fail with ENOSYS. Some functions are actually named
59304 something starting with __ and the normal name is an alias. */
59305 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59306 choke me
59307 #else
59308 char (*f) () = $ac_func;
59309 #endif
59310 #ifdef __cplusplus
59312 #endif
59315 main ()
59317 return f != $ac_func;
59319 return 0;
59321 _ACEOF
59322 rm -f conftest.$ac_objext conftest$ac_exeext
59323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59324 (eval $ac_link) 2>conftest.er1
59325 ac_status=$?
59326 grep -v '^ *+' conftest.er1 >conftest.err
59327 rm -f conftest.er1
59328 cat conftest.err >&5
59329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59330 (exit $ac_status); } &&
59331 { ac_try='test -z "$ac_c_werror_flag"
59332 || test ! -s conftest.err'
59333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59334 (eval $ac_try) 2>&5
59335 ac_status=$?
59336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59337 (exit $ac_status); }; } &&
59338 { ac_try='test -s conftest$ac_exeext'
59339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59340 (eval $ac_try) 2>&5
59341 ac_status=$?
59342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59343 (exit $ac_status); }; }; then
59344 eval "$as_ac_var=yes"
59345 else
59346 echo "$as_me: failed program was:" >&5
59347 sed 's/^/| /' conftest.$ac_ext >&5
59349 eval "$as_ac_var=no"
59351 rm -f conftest.err conftest.$ac_objext \
59352 conftest$ac_exeext conftest.$ac_ext
59354 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59355 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59356 if test `eval echo '${'$as_ac_var'}'` = yes; then
59357 cat >>confdefs.h <<_ACEOF
59358 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59359 _ACEOF
59362 done
59364 else
59366 echo "$as_me:$LINENO: checking for _powl declaration" >&5
59367 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
59368 if test x${glibcxx_cv_func__powl_use+set} != xset; then
59369 if test "${glibcxx_cv_func__powl_use+set}" = set; then
59370 echo $ECHO_N "(cached) $ECHO_C" >&6
59371 else
59375 ac_ext=cc
59376 ac_cpp='$CXXCPP $CPPFLAGS'
59377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59381 cat >conftest.$ac_ext <<_ACEOF
59382 /* confdefs.h. */
59383 _ACEOF
59384 cat confdefs.h >>conftest.$ac_ext
59385 cat >>conftest.$ac_ext <<_ACEOF
59386 /* end confdefs.h. */
59387 #include <math.h>
59389 main ()
59391 _powl(0, 0);
59393 return 0;
59395 _ACEOF
59396 rm -f conftest.$ac_objext
59397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59398 (eval $ac_compile) 2>conftest.er1
59399 ac_status=$?
59400 grep -v '^ *+' conftest.er1 >conftest.err
59401 rm -f conftest.er1
59402 cat conftest.err >&5
59403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59404 (exit $ac_status); } &&
59405 { ac_try='test -z "$ac_cxx_werror_flag"
59406 || test ! -s conftest.err'
59407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59408 (eval $ac_try) 2>&5
59409 ac_status=$?
59410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59411 (exit $ac_status); }; } &&
59412 { ac_try='test -s conftest.$ac_objext'
59413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59414 (eval $ac_try) 2>&5
59415 ac_status=$?
59416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59417 (exit $ac_status); }; }; then
59418 glibcxx_cv_func__powl_use=yes
59419 else
59420 echo "$as_me: failed program was:" >&5
59421 sed 's/^/| /' conftest.$ac_ext >&5
59423 glibcxx_cv_func__powl_use=no
59425 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59426 ac_ext=c
59427 ac_cpp='$CPP $CPPFLAGS'
59428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59436 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
59437 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
59439 if test x$glibcxx_cv_func__powl_use = x"yes"; then
59441 for ac_func in _powl
59443 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59444 echo "$as_me:$LINENO: checking for $ac_func" >&5
59445 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59446 if eval "test \"\${$as_ac_var+set}\" = set"; then
59447 echo $ECHO_N "(cached) $ECHO_C" >&6
59448 else
59449 if test x$gcc_no_link = xyes; then
59450 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59451 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59452 { (exit 1); exit 1; }; }
59454 cat >conftest.$ac_ext <<_ACEOF
59455 /* confdefs.h. */
59456 _ACEOF
59457 cat confdefs.h >>conftest.$ac_ext
59458 cat >>conftest.$ac_ext <<_ACEOF
59459 /* end confdefs.h. */
59460 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59461 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59462 #define $ac_func innocuous_$ac_func
59464 /* System header to define __stub macros and hopefully few prototypes,
59465 which can conflict with char $ac_func (); below.
59466 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59467 <limits.h> exists even on freestanding compilers. */
59469 #ifdef __STDC__
59470 # include <limits.h>
59471 #else
59472 # include <assert.h>
59473 #endif
59475 #undef $ac_func
59477 /* Override any gcc2 internal prototype to avoid an error. */
59478 #ifdef __cplusplus
59479 extern "C"
59481 #endif
59482 /* We use char because int might match the return type of a gcc2
59483 builtin and then its argument prototype would still apply. */
59484 char $ac_func ();
59485 /* The GNU C library defines this for functions which it implements
59486 to always fail with ENOSYS. Some functions are actually named
59487 something starting with __ and the normal name is an alias. */
59488 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59489 choke me
59490 #else
59491 char (*f) () = $ac_func;
59492 #endif
59493 #ifdef __cplusplus
59495 #endif
59498 main ()
59500 return f != $ac_func;
59502 return 0;
59504 _ACEOF
59505 rm -f conftest.$ac_objext conftest$ac_exeext
59506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59507 (eval $ac_link) 2>conftest.er1
59508 ac_status=$?
59509 grep -v '^ *+' conftest.er1 >conftest.err
59510 rm -f conftest.er1
59511 cat conftest.err >&5
59512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59513 (exit $ac_status); } &&
59514 { ac_try='test -z "$ac_c_werror_flag"
59515 || test ! -s conftest.err'
59516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59517 (eval $ac_try) 2>&5
59518 ac_status=$?
59519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59520 (exit $ac_status); }; } &&
59521 { ac_try='test -s conftest$ac_exeext'
59522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59523 (eval $ac_try) 2>&5
59524 ac_status=$?
59525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59526 (exit $ac_status); }; }; then
59527 eval "$as_ac_var=yes"
59528 else
59529 echo "$as_me: failed program was:" >&5
59530 sed 's/^/| /' conftest.$ac_ext >&5
59532 eval "$as_ac_var=no"
59534 rm -f conftest.err conftest.$ac_objext \
59535 conftest$ac_exeext conftest.$ac_ext
59537 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59538 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59539 if test `eval echo '${'$as_ac_var'}'` = yes; then
59540 cat >>confdefs.h <<_ACEOF
59541 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59542 _ACEOF
59545 done
59555 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
59556 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
59557 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
59558 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
59559 echo $ECHO_N "(cached) $ECHO_C" >&6
59560 else
59564 ac_ext=cc
59565 ac_cpp='$CXXCPP $CPPFLAGS'
59566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59570 cat >conftest.$ac_ext <<_ACEOF
59571 /* confdefs.h. */
59572 _ACEOF
59573 cat confdefs.h >>conftest.$ac_ext
59574 cat >>conftest.$ac_ext <<_ACEOF
59575 /* end confdefs.h. */
59576 #include <math.h>
59577 #ifdef HAVE_IEEEFP_H
59578 #include <ieeefp.h>
59579 #endif
59582 main ()
59584 sqrtl(0);
59586 return 0;
59588 _ACEOF
59589 rm -f conftest.$ac_objext
59590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59591 (eval $ac_compile) 2>conftest.er1
59592 ac_status=$?
59593 grep -v '^ *+' conftest.er1 >conftest.err
59594 rm -f conftest.er1
59595 cat conftest.err >&5
59596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59597 (exit $ac_status); } &&
59598 { ac_try='test -z "$ac_cxx_werror_flag"
59599 || test ! -s conftest.err'
59600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59601 (eval $ac_try) 2>&5
59602 ac_status=$?
59603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59604 (exit $ac_status); }; } &&
59605 { ac_try='test -s conftest.$ac_objext'
59606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59607 (eval $ac_try) 2>&5
59608 ac_status=$?
59609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59610 (exit $ac_status); }; }; then
59611 glibcxx_cv_func_sqrtl_use=yes
59612 else
59613 echo "$as_me: failed program was:" >&5
59614 sed 's/^/| /' conftest.$ac_ext >&5
59616 glibcxx_cv_func_sqrtl_use=no
59618 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59619 ac_ext=c
59620 ac_cpp='$CPP $CPPFLAGS'
59621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59629 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
59630 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
59632 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
59634 for ac_func in sqrtl
59636 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59637 echo "$as_me:$LINENO: checking for $ac_func" >&5
59638 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59639 if eval "test \"\${$as_ac_var+set}\" = set"; then
59640 echo $ECHO_N "(cached) $ECHO_C" >&6
59641 else
59642 if test x$gcc_no_link = xyes; then
59643 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59644 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59645 { (exit 1); exit 1; }; }
59647 cat >conftest.$ac_ext <<_ACEOF
59648 /* confdefs.h. */
59649 _ACEOF
59650 cat confdefs.h >>conftest.$ac_ext
59651 cat >>conftest.$ac_ext <<_ACEOF
59652 /* end confdefs.h. */
59653 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59654 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59655 #define $ac_func innocuous_$ac_func
59657 /* System header to define __stub macros and hopefully few prototypes,
59658 which can conflict with char $ac_func (); below.
59659 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59660 <limits.h> exists even on freestanding compilers. */
59662 #ifdef __STDC__
59663 # include <limits.h>
59664 #else
59665 # include <assert.h>
59666 #endif
59668 #undef $ac_func
59670 /* Override any gcc2 internal prototype to avoid an error. */
59671 #ifdef __cplusplus
59672 extern "C"
59674 #endif
59675 /* We use char because int might match the return type of a gcc2
59676 builtin and then its argument prototype would still apply. */
59677 char $ac_func ();
59678 /* The GNU C library defines this for functions which it implements
59679 to always fail with ENOSYS. Some functions are actually named
59680 something starting with __ and the normal name is an alias. */
59681 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59682 choke me
59683 #else
59684 char (*f) () = $ac_func;
59685 #endif
59686 #ifdef __cplusplus
59688 #endif
59691 main ()
59693 return f != $ac_func;
59695 return 0;
59697 _ACEOF
59698 rm -f conftest.$ac_objext conftest$ac_exeext
59699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59700 (eval $ac_link) 2>conftest.er1
59701 ac_status=$?
59702 grep -v '^ *+' conftest.er1 >conftest.err
59703 rm -f conftest.er1
59704 cat conftest.err >&5
59705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59706 (exit $ac_status); } &&
59707 { ac_try='test -z "$ac_c_werror_flag"
59708 || test ! -s conftest.err'
59709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59710 (eval $ac_try) 2>&5
59711 ac_status=$?
59712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59713 (exit $ac_status); }; } &&
59714 { ac_try='test -s conftest$ac_exeext'
59715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59716 (eval $ac_try) 2>&5
59717 ac_status=$?
59718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59719 (exit $ac_status); }; }; then
59720 eval "$as_ac_var=yes"
59721 else
59722 echo "$as_me: failed program was:" >&5
59723 sed 's/^/| /' conftest.$ac_ext >&5
59725 eval "$as_ac_var=no"
59727 rm -f conftest.err conftest.$ac_objext \
59728 conftest$ac_exeext conftest.$ac_ext
59730 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59731 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59732 if test `eval echo '${'$as_ac_var'}'` = yes; then
59733 cat >>confdefs.h <<_ACEOF
59734 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59735 _ACEOF
59738 done
59740 else
59742 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
59743 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
59744 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
59745 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
59746 echo $ECHO_N "(cached) $ECHO_C" >&6
59747 else
59751 ac_ext=cc
59752 ac_cpp='$CXXCPP $CPPFLAGS'
59753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59757 cat >conftest.$ac_ext <<_ACEOF
59758 /* confdefs.h. */
59759 _ACEOF
59760 cat confdefs.h >>conftest.$ac_ext
59761 cat >>conftest.$ac_ext <<_ACEOF
59762 /* end confdefs.h. */
59763 #include <math.h>
59764 #ifdef HAVE_IEEEFP_H
59765 #include <ieeefp.h>
59766 #endif
59769 main ()
59771 _sqrtl(0);
59773 return 0;
59775 _ACEOF
59776 rm -f conftest.$ac_objext
59777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59778 (eval $ac_compile) 2>conftest.er1
59779 ac_status=$?
59780 grep -v '^ *+' conftest.er1 >conftest.err
59781 rm -f conftest.er1
59782 cat conftest.err >&5
59783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59784 (exit $ac_status); } &&
59785 { ac_try='test -z "$ac_cxx_werror_flag"
59786 || test ! -s conftest.err'
59787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59788 (eval $ac_try) 2>&5
59789 ac_status=$?
59790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59791 (exit $ac_status); }; } &&
59792 { ac_try='test -s conftest.$ac_objext'
59793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59794 (eval $ac_try) 2>&5
59795 ac_status=$?
59796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59797 (exit $ac_status); }; }; then
59798 glibcxx_cv_func__sqrtl_use=yes
59799 else
59800 echo "$as_me: failed program was:" >&5
59801 sed 's/^/| /' conftest.$ac_ext >&5
59803 glibcxx_cv_func__sqrtl_use=no
59805 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59806 ac_ext=c
59807 ac_cpp='$CPP $CPPFLAGS'
59808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59816 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
59817 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
59819 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
59821 for ac_func in _sqrtl
59823 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59824 echo "$as_me:$LINENO: checking for $ac_func" >&5
59825 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59826 if eval "test \"\${$as_ac_var+set}\" = set"; then
59827 echo $ECHO_N "(cached) $ECHO_C" >&6
59828 else
59829 if test x$gcc_no_link = xyes; then
59830 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59831 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59832 { (exit 1); exit 1; }; }
59834 cat >conftest.$ac_ext <<_ACEOF
59835 /* confdefs.h. */
59836 _ACEOF
59837 cat confdefs.h >>conftest.$ac_ext
59838 cat >>conftest.$ac_ext <<_ACEOF
59839 /* end confdefs.h. */
59840 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59841 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59842 #define $ac_func innocuous_$ac_func
59844 /* System header to define __stub macros and hopefully few prototypes,
59845 which can conflict with char $ac_func (); below.
59846 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59847 <limits.h> exists even on freestanding compilers. */
59849 #ifdef __STDC__
59850 # include <limits.h>
59851 #else
59852 # include <assert.h>
59853 #endif
59855 #undef $ac_func
59857 /* Override any gcc2 internal prototype to avoid an error. */
59858 #ifdef __cplusplus
59859 extern "C"
59861 #endif
59862 /* We use char because int might match the return type of a gcc2
59863 builtin and then its argument prototype would still apply. */
59864 char $ac_func ();
59865 /* The GNU C library defines this for functions which it implements
59866 to always fail with ENOSYS. Some functions are actually named
59867 something starting with __ and the normal name is an alias. */
59868 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59869 choke me
59870 #else
59871 char (*f) () = $ac_func;
59872 #endif
59873 #ifdef __cplusplus
59875 #endif
59878 main ()
59880 return f != $ac_func;
59882 return 0;
59884 _ACEOF
59885 rm -f conftest.$ac_objext conftest$ac_exeext
59886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59887 (eval $ac_link) 2>conftest.er1
59888 ac_status=$?
59889 grep -v '^ *+' conftest.er1 >conftest.err
59890 rm -f conftest.er1
59891 cat conftest.err >&5
59892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59893 (exit $ac_status); } &&
59894 { ac_try='test -z "$ac_c_werror_flag"
59895 || test ! -s conftest.err'
59896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59897 (eval $ac_try) 2>&5
59898 ac_status=$?
59899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59900 (exit $ac_status); }; } &&
59901 { ac_try='test -s conftest$ac_exeext'
59902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59903 (eval $ac_try) 2>&5
59904 ac_status=$?
59905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59906 (exit $ac_status); }; }; then
59907 eval "$as_ac_var=yes"
59908 else
59909 echo "$as_me: failed program was:" >&5
59910 sed 's/^/| /' conftest.$ac_ext >&5
59912 eval "$as_ac_var=no"
59914 rm -f conftest.err conftest.$ac_objext \
59915 conftest$ac_exeext conftest.$ac_ext
59917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59918 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59919 if test `eval echo '${'$as_ac_var'}'` = yes; then
59920 cat >>confdefs.h <<_ACEOF
59921 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59922 _ACEOF
59925 done
59935 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
59936 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
59937 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
59938 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
59939 echo $ECHO_N "(cached) $ECHO_C" >&6
59940 else
59944 ac_ext=cc
59945 ac_cpp='$CXXCPP $CPPFLAGS'
59946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59950 cat >conftest.$ac_ext <<_ACEOF
59951 /* confdefs.h. */
59952 _ACEOF
59953 cat confdefs.h >>conftest.$ac_ext
59954 cat >>conftest.$ac_ext <<_ACEOF
59955 /* end confdefs.h. */
59956 #include <math.h>
59958 main ()
59960 sincosl(0, 0, 0);
59962 return 0;
59964 _ACEOF
59965 rm -f conftest.$ac_objext
59966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59967 (eval $ac_compile) 2>conftest.er1
59968 ac_status=$?
59969 grep -v '^ *+' conftest.er1 >conftest.err
59970 rm -f conftest.er1
59971 cat conftest.err >&5
59972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59973 (exit $ac_status); } &&
59974 { ac_try='test -z "$ac_cxx_werror_flag"
59975 || test ! -s conftest.err'
59976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59977 (eval $ac_try) 2>&5
59978 ac_status=$?
59979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59980 (exit $ac_status); }; } &&
59981 { ac_try='test -s conftest.$ac_objext'
59982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59983 (eval $ac_try) 2>&5
59984 ac_status=$?
59985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59986 (exit $ac_status); }; }; then
59987 glibcxx_cv_func_sincosl_use=yes
59988 else
59989 echo "$as_me: failed program was:" >&5
59990 sed 's/^/| /' conftest.$ac_ext >&5
59992 glibcxx_cv_func_sincosl_use=no
59994 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59995 ac_ext=c
59996 ac_cpp='$CPP $CPPFLAGS'
59997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60005 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
60006 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
60008 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
60010 for ac_func in sincosl
60012 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60013 echo "$as_me:$LINENO: checking for $ac_func" >&5
60014 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60015 if eval "test \"\${$as_ac_var+set}\" = set"; then
60016 echo $ECHO_N "(cached) $ECHO_C" >&6
60017 else
60018 if test x$gcc_no_link = xyes; then
60019 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60020 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60021 { (exit 1); exit 1; }; }
60023 cat >conftest.$ac_ext <<_ACEOF
60024 /* confdefs.h. */
60025 _ACEOF
60026 cat confdefs.h >>conftest.$ac_ext
60027 cat >>conftest.$ac_ext <<_ACEOF
60028 /* end confdefs.h. */
60029 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60030 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60031 #define $ac_func innocuous_$ac_func
60033 /* System header to define __stub macros and hopefully few prototypes,
60034 which can conflict with char $ac_func (); below.
60035 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60036 <limits.h> exists even on freestanding compilers. */
60038 #ifdef __STDC__
60039 # include <limits.h>
60040 #else
60041 # include <assert.h>
60042 #endif
60044 #undef $ac_func
60046 /* Override any gcc2 internal prototype to avoid an error. */
60047 #ifdef __cplusplus
60048 extern "C"
60050 #endif
60051 /* We use char because int might match the return type of a gcc2
60052 builtin and then its argument prototype would still apply. */
60053 char $ac_func ();
60054 /* The GNU C library defines this for functions which it implements
60055 to always fail with ENOSYS. Some functions are actually named
60056 something starting with __ and the normal name is an alias. */
60057 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60058 choke me
60059 #else
60060 char (*f) () = $ac_func;
60061 #endif
60062 #ifdef __cplusplus
60064 #endif
60067 main ()
60069 return f != $ac_func;
60071 return 0;
60073 _ACEOF
60074 rm -f conftest.$ac_objext conftest$ac_exeext
60075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60076 (eval $ac_link) 2>conftest.er1
60077 ac_status=$?
60078 grep -v '^ *+' conftest.er1 >conftest.err
60079 rm -f conftest.er1
60080 cat conftest.err >&5
60081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60082 (exit $ac_status); } &&
60083 { ac_try='test -z "$ac_c_werror_flag"
60084 || test ! -s conftest.err'
60085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60086 (eval $ac_try) 2>&5
60087 ac_status=$?
60088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60089 (exit $ac_status); }; } &&
60090 { ac_try='test -s conftest$ac_exeext'
60091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60092 (eval $ac_try) 2>&5
60093 ac_status=$?
60094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60095 (exit $ac_status); }; }; then
60096 eval "$as_ac_var=yes"
60097 else
60098 echo "$as_me: failed program was:" >&5
60099 sed 's/^/| /' conftest.$ac_ext >&5
60101 eval "$as_ac_var=no"
60103 rm -f conftest.err conftest.$ac_objext \
60104 conftest$ac_exeext conftest.$ac_ext
60106 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60107 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60108 if test `eval echo '${'$as_ac_var'}'` = yes; then
60109 cat >>confdefs.h <<_ACEOF
60110 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60111 _ACEOF
60114 done
60116 else
60118 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
60119 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
60120 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
60121 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
60122 echo $ECHO_N "(cached) $ECHO_C" >&6
60123 else
60127 ac_ext=cc
60128 ac_cpp='$CXXCPP $CPPFLAGS'
60129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60133 cat >conftest.$ac_ext <<_ACEOF
60134 /* confdefs.h. */
60135 _ACEOF
60136 cat confdefs.h >>conftest.$ac_ext
60137 cat >>conftest.$ac_ext <<_ACEOF
60138 /* end confdefs.h. */
60139 #include <math.h>
60141 main ()
60143 _sincosl(0, 0, 0);
60145 return 0;
60147 _ACEOF
60148 rm -f conftest.$ac_objext
60149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60150 (eval $ac_compile) 2>conftest.er1
60151 ac_status=$?
60152 grep -v '^ *+' conftest.er1 >conftest.err
60153 rm -f conftest.er1
60154 cat conftest.err >&5
60155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60156 (exit $ac_status); } &&
60157 { ac_try='test -z "$ac_cxx_werror_flag"
60158 || test ! -s conftest.err'
60159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60160 (eval $ac_try) 2>&5
60161 ac_status=$?
60162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60163 (exit $ac_status); }; } &&
60164 { ac_try='test -s conftest.$ac_objext'
60165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60166 (eval $ac_try) 2>&5
60167 ac_status=$?
60168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60169 (exit $ac_status); }; }; then
60170 glibcxx_cv_func__sincosl_use=yes
60171 else
60172 echo "$as_me: failed program was:" >&5
60173 sed 's/^/| /' conftest.$ac_ext >&5
60175 glibcxx_cv_func__sincosl_use=no
60177 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60178 ac_ext=c
60179 ac_cpp='$CPP $CPPFLAGS'
60180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60188 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
60189 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
60191 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
60193 for ac_func in _sincosl
60195 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60196 echo "$as_me:$LINENO: checking for $ac_func" >&5
60197 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60198 if eval "test \"\${$as_ac_var+set}\" = set"; then
60199 echo $ECHO_N "(cached) $ECHO_C" >&6
60200 else
60201 if test x$gcc_no_link = xyes; then
60202 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60203 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60204 { (exit 1); exit 1; }; }
60206 cat >conftest.$ac_ext <<_ACEOF
60207 /* confdefs.h. */
60208 _ACEOF
60209 cat confdefs.h >>conftest.$ac_ext
60210 cat >>conftest.$ac_ext <<_ACEOF
60211 /* end confdefs.h. */
60212 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60213 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60214 #define $ac_func innocuous_$ac_func
60216 /* System header to define __stub macros and hopefully few prototypes,
60217 which can conflict with char $ac_func (); below.
60218 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60219 <limits.h> exists even on freestanding compilers. */
60221 #ifdef __STDC__
60222 # include <limits.h>
60223 #else
60224 # include <assert.h>
60225 #endif
60227 #undef $ac_func
60229 /* Override any gcc2 internal prototype to avoid an error. */
60230 #ifdef __cplusplus
60231 extern "C"
60233 #endif
60234 /* We use char because int might match the return type of a gcc2
60235 builtin and then its argument prototype would still apply. */
60236 char $ac_func ();
60237 /* The GNU C library defines this for functions which it implements
60238 to always fail with ENOSYS. Some functions are actually named
60239 something starting with __ and the normal name is an alias. */
60240 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60241 choke me
60242 #else
60243 char (*f) () = $ac_func;
60244 #endif
60245 #ifdef __cplusplus
60247 #endif
60250 main ()
60252 return f != $ac_func;
60254 return 0;
60256 _ACEOF
60257 rm -f conftest.$ac_objext conftest$ac_exeext
60258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60259 (eval $ac_link) 2>conftest.er1
60260 ac_status=$?
60261 grep -v '^ *+' conftest.er1 >conftest.err
60262 rm -f conftest.er1
60263 cat conftest.err >&5
60264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60265 (exit $ac_status); } &&
60266 { ac_try='test -z "$ac_c_werror_flag"
60267 || test ! -s conftest.err'
60268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60269 (eval $ac_try) 2>&5
60270 ac_status=$?
60271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60272 (exit $ac_status); }; } &&
60273 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
60279 eval "$as_ac_var=yes"
60280 else
60281 echo "$as_me: failed program was:" >&5
60282 sed 's/^/| /' conftest.$ac_ext >&5
60284 eval "$as_ac_var=no"
60286 rm -f conftest.err conftest.$ac_objext \
60287 conftest$ac_exeext conftest.$ac_ext
60289 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60290 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60291 if test `eval echo '${'$as_ac_var'}'` = yes; then
60292 cat >>confdefs.h <<_ACEOF
60293 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60294 _ACEOF
60297 done
60307 echo "$as_me:$LINENO: checking for finitel declaration" >&5
60308 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
60309 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
60310 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
60311 echo $ECHO_N "(cached) $ECHO_C" >&6
60312 else
60316 ac_ext=cc
60317 ac_cpp='$CXXCPP $CPPFLAGS'
60318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60322 cat >conftest.$ac_ext <<_ACEOF
60323 /* confdefs.h. */
60324 _ACEOF
60325 cat confdefs.h >>conftest.$ac_ext
60326 cat >>conftest.$ac_ext <<_ACEOF
60327 /* end confdefs.h. */
60328 #include <math.h>
60329 #ifdef HAVE_IEEEFP_H
60330 #include <ieeefp.h>
60331 #endif
60334 main ()
60336 finitel(0);
60338 return 0;
60340 _ACEOF
60341 rm -f conftest.$ac_objext
60342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60343 (eval $ac_compile) 2>conftest.er1
60344 ac_status=$?
60345 grep -v '^ *+' conftest.er1 >conftest.err
60346 rm -f conftest.er1
60347 cat conftest.err >&5
60348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60349 (exit $ac_status); } &&
60350 { ac_try='test -z "$ac_cxx_werror_flag"
60351 || test ! -s conftest.err'
60352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60353 (eval $ac_try) 2>&5
60354 ac_status=$?
60355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60356 (exit $ac_status); }; } &&
60357 { ac_try='test -s conftest.$ac_objext'
60358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60359 (eval $ac_try) 2>&5
60360 ac_status=$?
60361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60362 (exit $ac_status); }; }; then
60363 glibcxx_cv_func_finitel_use=yes
60364 else
60365 echo "$as_me: failed program was:" >&5
60366 sed 's/^/| /' conftest.$ac_ext >&5
60368 glibcxx_cv_func_finitel_use=no
60370 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60371 ac_ext=c
60372 ac_cpp='$CPP $CPPFLAGS'
60373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60381 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
60382 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
60384 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
60386 for ac_func in finitel
60388 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60389 echo "$as_me:$LINENO: checking for $ac_func" >&5
60390 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60391 if eval "test \"\${$as_ac_var+set}\" = set"; then
60392 echo $ECHO_N "(cached) $ECHO_C" >&6
60393 else
60394 if test x$gcc_no_link = xyes; then
60395 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60396 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60397 { (exit 1); exit 1; }; }
60399 cat >conftest.$ac_ext <<_ACEOF
60400 /* confdefs.h. */
60401 _ACEOF
60402 cat confdefs.h >>conftest.$ac_ext
60403 cat >>conftest.$ac_ext <<_ACEOF
60404 /* end confdefs.h. */
60405 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60406 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60407 #define $ac_func innocuous_$ac_func
60409 /* System header to define __stub macros and hopefully few prototypes,
60410 which can conflict with char $ac_func (); below.
60411 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60412 <limits.h> exists even on freestanding compilers. */
60414 #ifdef __STDC__
60415 # include <limits.h>
60416 #else
60417 # include <assert.h>
60418 #endif
60420 #undef $ac_func
60422 /* Override any gcc2 internal prototype to avoid an error. */
60423 #ifdef __cplusplus
60424 extern "C"
60426 #endif
60427 /* We use char because int might match the return type of a gcc2
60428 builtin and then its argument prototype would still apply. */
60429 char $ac_func ();
60430 /* The GNU C library defines this for functions which it implements
60431 to always fail with ENOSYS. Some functions are actually named
60432 something starting with __ and the normal name is an alias. */
60433 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60434 choke me
60435 #else
60436 char (*f) () = $ac_func;
60437 #endif
60438 #ifdef __cplusplus
60440 #endif
60443 main ()
60445 return f != $ac_func;
60447 return 0;
60449 _ACEOF
60450 rm -f conftest.$ac_objext conftest$ac_exeext
60451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60452 (eval $ac_link) 2>conftest.er1
60453 ac_status=$?
60454 grep -v '^ *+' conftest.er1 >conftest.err
60455 rm -f conftest.er1
60456 cat conftest.err >&5
60457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60458 (exit $ac_status); } &&
60459 { ac_try='test -z "$ac_c_werror_flag"
60460 || test ! -s conftest.err'
60461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60462 (eval $ac_try) 2>&5
60463 ac_status=$?
60464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60465 (exit $ac_status); }; } &&
60466 { ac_try='test -s conftest$ac_exeext'
60467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60468 (eval $ac_try) 2>&5
60469 ac_status=$?
60470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60471 (exit $ac_status); }; }; then
60472 eval "$as_ac_var=yes"
60473 else
60474 echo "$as_me: failed program was:" >&5
60475 sed 's/^/| /' conftest.$ac_ext >&5
60477 eval "$as_ac_var=no"
60479 rm -f conftest.err conftest.$ac_objext \
60480 conftest$ac_exeext conftest.$ac_ext
60482 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60483 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60484 if test `eval echo '${'$as_ac_var'}'` = yes; then
60485 cat >>confdefs.h <<_ACEOF
60486 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60487 _ACEOF
60490 done
60492 else
60494 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
60495 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
60496 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
60497 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
60498 echo $ECHO_N "(cached) $ECHO_C" >&6
60499 else
60503 ac_ext=cc
60504 ac_cpp='$CXXCPP $CPPFLAGS'
60505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60509 cat >conftest.$ac_ext <<_ACEOF
60510 /* confdefs.h. */
60511 _ACEOF
60512 cat confdefs.h >>conftest.$ac_ext
60513 cat >>conftest.$ac_ext <<_ACEOF
60514 /* end confdefs.h. */
60515 #include <math.h>
60516 #ifdef HAVE_IEEEFP_H
60517 #include <ieeefp.h>
60518 #endif
60521 main ()
60523 _finitel(0);
60525 return 0;
60527 _ACEOF
60528 rm -f conftest.$ac_objext
60529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60530 (eval $ac_compile) 2>conftest.er1
60531 ac_status=$?
60532 grep -v '^ *+' conftest.er1 >conftest.err
60533 rm -f conftest.er1
60534 cat conftest.err >&5
60535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60536 (exit $ac_status); } &&
60537 { ac_try='test -z "$ac_cxx_werror_flag"
60538 || test ! -s conftest.err'
60539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60540 (eval $ac_try) 2>&5
60541 ac_status=$?
60542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60543 (exit $ac_status); }; } &&
60544 { ac_try='test -s conftest.$ac_objext'
60545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60546 (eval $ac_try) 2>&5
60547 ac_status=$?
60548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60549 (exit $ac_status); }; }; then
60550 glibcxx_cv_func__finitel_use=yes
60551 else
60552 echo "$as_me: failed program was:" >&5
60553 sed 's/^/| /' conftest.$ac_ext >&5
60555 glibcxx_cv_func__finitel_use=no
60557 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60558 ac_ext=c
60559 ac_cpp='$CPP $CPPFLAGS'
60560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60568 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
60569 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
60571 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
60573 for ac_func in _finitel
60575 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60576 echo "$as_me:$LINENO: checking for $ac_func" >&5
60577 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60578 if eval "test \"\${$as_ac_var+set}\" = set"; then
60579 echo $ECHO_N "(cached) $ECHO_C" >&6
60580 else
60581 if test x$gcc_no_link = xyes; then
60582 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60583 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60584 { (exit 1); exit 1; }; }
60586 cat >conftest.$ac_ext <<_ACEOF
60587 /* confdefs.h. */
60588 _ACEOF
60589 cat confdefs.h >>conftest.$ac_ext
60590 cat >>conftest.$ac_ext <<_ACEOF
60591 /* end confdefs.h. */
60592 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60593 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60594 #define $ac_func innocuous_$ac_func
60596 /* System header to define __stub macros and hopefully few prototypes,
60597 which can conflict with char $ac_func (); below.
60598 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60599 <limits.h> exists even on freestanding compilers. */
60601 #ifdef __STDC__
60602 # include <limits.h>
60603 #else
60604 # include <assert.h>
60605 #endif
60607 #undef $ac_func
60609 /* Override any gcc2 internal prototype to avoid an error. */
60610 #ifdef __cplusplus
60611 extern "C"
60613 #endif
60614 /* We use char because int might match the return type of a gcc2
60615 builtin and then its argument prototype would still apply. */
60616 char $ac_func ();
60617 /* The GNU C library defines this for functions which it implements
60618 to always fail with ENOSYS. Some functions are actually named
60619 something starting with __ and the normal name is an alias. */
60620 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60621 choke me
60622 #else
60623 char (*f) () = $ac_func;
60624 #endif
60625 #ifdef __cplusplus
60627 #endif
60630 main ()
60632 return f != $ac_func;
60634 return 0;
60636 _ACEOF
60637 rm -f conftest.$ac_objext conftest$ac_exeext
60638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60639 (eval $ac_link) 2>conftest.er1
60640 ac_status=$?
60641 grep -v '^ *+' conftest.er1 >conftest.err
60642 rm -f conftest.er1
60643 cat conftest.err >&5
60644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60645 (exit $ac_status); } &&
60646 { ac_try='test -z "$ac_c_werror_flag"
60647 || test ! -s conftest.err'
60648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60649 (eval $ac_try) 2>&5
60650 ac_status=$?
60651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60652 (exit $ac_status); }; } &&
60653 { ac_try='test -s conftest$ac_exeext'
60654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60655 (eval $ac_try) 2>&5
60656 ac_status=$?
60657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60658 (exit $ac_status); }; }; then
60659 eval "$as_ac_var=yes"
60660 else
60661 echo "$as_me: failed program was:" >&5
60662 sed 's/^/| /' conftest.$ac_ext >&5
60664 eval "$as_ac_var=no"
60666 rm -f conftest.err conftest.$ac_objext \
60667 conftest$ac_exeext conftest.$ac_ext
60669 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60670 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60671 if test `eval echo '${'$as_ac_var'}'` = yes; then
60672 cat >>confdefs.h <<_ACEOF
60673 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60674 _ACEOF
60677 done
60686 LIBS="$ac_save_LIBS"
60687 CXXFLAGS="$ac_save_CXXFLAGS"
60691 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
60692 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
60693 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
60694 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
60695 echo $ECHO_N "(cached) $ECHO_C" >&6
60696 else
60700 ac_ext=cc
60701 ac_cpp='$CXXCPP $CPPFLAGS'
60702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60706 cat >conftest.$ac_ext <<_ACEOF
60707 /* confdefs.h. */
60708 _ACEOF
60709 cat confdefs.h >>conftest.$ac_ext
60710 cat >>conftest.$ac_ext <<_ACEOF
60711 /* end confdefs.h. */
60712 #include <math.h>
60714 main ()
60716 __builtin_abs(0);
60718 return 0;
60720 _ACEOF
60721 rm -f conftest.$ac_objext
60722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60723 (eval $ac_compile) 2>conftest.er1
60724 ac_status=$?
60725 grep -v '^ *+' conftest.er1 >conftest.err
60726 rm -f conftest.er1
60727 cat conftest.err >&5
60728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60729 (exit $ac_status); } &&
60730 { ac_try='test -z "$ac_cxx_werror_flag"
60731 || test ! -s conftest.err'
60732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60733 (eval $ac_try) 2>&5
60734 ac_status=$?
60735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60736 (exit $ac_status); }; } &&
60737 { ac_try='test -s conftest.$ac_objext'
60738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60739 (eval $ac_try) 2>&5
60740 ac_status=$?
60741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60742 (exit $ac_status); }; }; then
60743 glibcxx_cv_func___builtin_abs_use=yes
60744 else
60745 echo "$as_me: failed program was:" >&5
60746 sed 's/^/| /' conftest.$ac_ext >&5
60748 glibcxx_cv_func___builtin_abs_use=no
60750 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60751 ac_ext=c
60752 ac_cpp='$CPP $CPPFLAGS'
60753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60761 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
60762 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
60763 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
60764 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
60765 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
60766 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
60767 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
60768 echo $ECHO_N "(cached) $ECHO_C" >&6
60769 else
60771 if test x$gcc_no_link = xyes; then
60772 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60773 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60774 { (exit 1); exit 1; }; }
60776 cat >conftest.$ac_ext <<_ACEOF
60777 /* confdefs.h. */
60778 _ACEOF
60779 cat confdefs.h >>conftest.$ac_ext
60780 cat >>conftest.$ac_ext <<_ACEOF
60781 /* end confdefs.h. */
60782 #include <math.h>
60784 main ()
60786 __builtin_abs(0);
60788 return 0;
60790 _ACEOF
60791 rm -f conftest.$ac_objext conftest$ac_exeext
60792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60793 (eval $ac_link) 2>conftest.er1
60794 ac_status=$?
60795 grep -v '^ *+' conftest.er1 >conftest.err
60796 rm -f conftest.er1
60797 cat conftest.err >&5
60798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60799 (exit $ac_status); } &&
60800 { ac_try='test -z "$ac_c_werror_flag"
60801 || test ! -s conftest.err'
60802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60803 (eval $ac_try) 2>&5
60804 ac_status=$?
60805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60806 (exit $ac_status); }; } &&
60807 { ac_try='test -s conftest$ac_exeext'
60808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60809 (eval $ac_try) 2>&5
60810 ac_status=$?
60811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60812 (exit $ac_status); }; }; then
60813 glibcxx_cv_func___builtin_abs_link=yes
60814 else
60815 echo "$as_me: failed program was:" >&5
60816 sed 's/^/| /' conftest.$ac_ext >&5
60818 glibcxx_cv_func___builtin_abs_link=no
60820 rm -f conftest.err conftest.$ac_objext \
60821 conftest$ac_exeext conftest.$ac_ext
60826 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
60827 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
60829 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
60831 cat >>confdefs.h <<\_ACEOF
60832 #define HAVE___BUILTIN_ABS 1
60833 _ACEOF
60840 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
60841 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
60842 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
60843 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
60844 echo $ECHO_N "(cached) $ECHO_C" >&6
60845 else
60849 ac_ext=cc
60850 ac_cpp='$CXXCPP $CPPFLAGS'
60851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60855 cat >conftest.$ac_ext <<_ACEOF
60856 /* confdefs.h. */
60857 _ACEOF
60858 cat confdefs.h >>conftest.$ac_ext
60859 cat >>conftest.$ac_ext <<_ACEOF
60860 /* end confdefs.h. */
60861 #include <math.h>
60863 main ()
60865 __builtin_fabsf(0);
60867 return 0;
60869 _ACEOF
60870 rm -f conftest.$ac_objext
60871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60872 (eval $ac_compile) 2>conftest.er1
60873 ac_status=$?
60874 grep -v '^ *+' conftest.er1 >conftest.err
60875 rm -f conftest.er1
60876 cat conftest.err >&5
60877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60878 (exit $ac_status); } &&
60879 { ac_try='test -z "$ac_cxx_werror_flag"
60880 || test ! -s conftest.err'
60881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60882 (eval $ac_try) 2>&5
60883 ac_status=$?
60884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60885 (exit $ac_status); }; } &&
60886 { ac_try='test -s conftest.$ac_objext'
60887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60888 (eval $ac_try) 2>&5
60889 ac_status=$?
60890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60891 (exit $ac_status); }; }; then
60892 glibcxx_cv_func___builtin_fabsf_use=yes
60893 else
60894 echo "$as_me: failed program was:" >&5
60895 sed 's/^/| /' conftest.$ac_ext >&5
60897 glibcxx_cv_func___builtin_fabsf_use=no
60899 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60900 ac_ext=c
60901 ac_cpp='$CPP $CPPFLAGS'
60902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60910 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
60911 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
60912 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
60913 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
60914 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
60915 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
60916 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
60917 echo $ECHO_N "(cached) $ECHO_C" >&6
60918 else
60920 if test x$gcc_no_link = xyes; then
60921 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60922 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60923 { (exit 1); exit 1; }; }
60925 cat >conftest.$ac_ext <<_ACEOF
60926 /* confdefs.h. */
60927 _ACEOF
60928 cat confdefs.h >>conftest.$ac_ext
60929 cat >>conftest.$ac_ext <<_ACEOF
60930 /* end confdefs.h. */
60931 #include <math.h>
60933 main ()
60935 __builtin_fabsf(0);
60937 return 0;
60939 _ACEOF
60940 rm -f conftest.$ac_objext conftest$ac_exeext
60941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60942 (eval $ac_link) 2>conftest.er1
60943 ac_status=$?
60944 grep -v '^ *+' conftest.er1 >conftest.err
60945 rm -f conftest.er1
60946 cat conftest.err >&5
60947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60948 (exit $ac_status); } &&
60949 { ac_try='test -z "$ac_c_werror_flag"
60950 || test ! -s conftest.err'
60951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60952 (eval $ac_try) 2>&5
60953 ac_status=$?
60954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60955 (exit $ac_status); }; } &&
60956 { ac_try='test -s conftest$ac_exeext'
60957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60958 (eval $ac_try) 2>&5
60959 ac_status=$?
60960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60961 (exit $ac_status); }; }; then
60962 glibcxx_cv_func___builtin_fabsf_link=yes
60963 else
60964 echo "$as_me: failed program was:" >&5
60965 sed 's/^/| /' conftest.$ac_ext >&5
60967 glibcxx_cv_func___builtin_fabsf_link=no
60969 rm -f conftest.err conftest.$ac_objext \
60970 conftest$ac_exeext conftest.$ac_ext
60975 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
60976 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
60978 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
60980 cat >>confdefs.h <<\_ACEOF
60981 #define HAVE___BUILTIN_FABSF 1
60982 _ACEOF
60989 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
60990 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
60991 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
60992 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
60993 echo $ECHO_N "(cached) $ECHO_C" >&6
60994 else
60998 ac_ext=cc
60999 ac_cpp='$CXXCPP $CPPFLAGS'
61000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61004 cat >conftest.$ac_ext <<_ACEOF
61005 /* confdefs.h. */
61006 _ACEOF
61007 cat confdefs.h >>conftest.$ac_ext
61008 cat >>conftest.$ac_ext <<_ACEOF
61009 /* end confdefs.h. */
61010 #include <math.h>
61012 main ()
61014 __builtin_fabs(0);
61016 return 0;
61018 _ACEOF
61019 rm -f conftest.$ac_objext
61020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61021 (eval $ac_compile) 2>conftest.er1
61022 ac_status=$?
61023 grep -v '^ *+' conftest.er1 >conftest.err
61024 rm -f conftest.er1
61025 cat conftest.err >&5
61026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61027 (exit $ac_status); } &&
61028 { ac_try='test -z "$ac_cxx_werror_flag"
61029 || test ! -s conftest.err'
61030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61031 (eval $ac_try) 2>&5
61032 ac_status=$?
61033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61034 (exit $ac_status); }; } &&
61035 { ac_try='test -s conftest.$ac_objext'
61036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61037 (eval $ac_try) 2>&5
61038 ac_status=$?
61039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61040 (exit $ac_status); }; }; then
61041 glibcxx_cv_func___builtin_fabs_use=yes
61042 else
61043 echo "$as_me: failed program was:" >&5
61044 sed 's/^/| /' conftest.$ac_ext >&5
61046 glibcxx_cv_func___builtin_fabs_use=no
61048 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61049 ac_ext=c
61050 ac_cpp='$CPP $CPPFLAGS'
61051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61059 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
61060 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
61061 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
61062 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
61063 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
61064 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
61065 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
61066 echo $ECHO_N "(cached) $ECHO_C" >&6
61067 else
61069 if test x$gcc_no_link = xyes; then
61070 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61071 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61072 { (exit 1); exit 1; }; }
61074 cat >conftest.$ac_ext <<_ACEOF
61075 /* confdefs.h. */
61076 _ACEOF
61077 cat confdefs.h >>conftest.$ac_ext
61078 cat >>conftest.$ac_ext <<_ACEOF
61079 /* end confdefs.h. */
61080 #include <math.h>
61082 main ()
61084 __builtin_fabs(0);
61086 return 0;
61088 _ACEOF
61089 rm -f conftest.$ac_objext conftest$ac_exeext
61090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61091 (eval $ac_link) 2>conftest.er1
61092 ac_status=$?
61093 grep -v '^ *+' conftest.er1 >conftest.err
61094 rm -f conftest.er1
61095 cat conftest.err >&5
61096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61097 (exit $ac_status); } &&
61098 { ac_try='test -z "$ac_c_werror_flag"
61099 || test ! -s conftest.err'
61100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61101 (eval $ac_try) 2>&5
61102 ac_status=$?
61103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61104 (exit $ac_status); }; } &&
61105 { ac_try='test -s conftest$ac_exeext'
61106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61107 (eval $ac_try) 2>&5
61108 ac_status=$?
61109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61110 (exit $ac_status); }; }; then
61111 glibcxx_cv_func___builtin_fabs_link=yes
61112 else
61113 echo "$as_me: failed program was:" >&5
61114 sed 's/^/| /' conftest.$ac_ext >&5
61116 glibcxx_cv_func___builtin_fabs_link=no
61118 rm -f conftest.err conftest.$ac_objext \
61119 conftest$ac_exeext conftest.$ac_ext
61124 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
61125 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
61127 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
61129 cat >>confdefs.h <<\_ACEOF
61130 #define HAVE___BUILTIN_FABS 1
61131 _ACEOF
61138 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
61139 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
61140 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
61141 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
61142 echo $ECHO_N "(cached) $ECHO_C" >&6
61143 else
61147 ac_ext=cc
61148 ac_cpp='$CXXCPP $CPPFLAGS'
61149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61153 cat >conftest.$ac_ext <<_ACEOF
61154 /* confdefs.h. */
61155 _ACEOF
61156 cat confdefs.h >>conftest.$ac_ext
61157 cat >>conftest.$ac_ext <<_ACEOF
61158 /* end confdefs.h. */
61159 #include <math.h>
61161 main ()
61163 __builtin_fabsl(0);
61165 return 0;
61167 _ACEOF
61168 rm -f conftest.$ac_objext
61169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61170 (eval $ac_compile) 2>conftest.er1
61171 ac_status=$?
61172 grep -v '^ *+' conftest.er1 >conftest.err
61173 rm -f conftest.er1
61174 cat conftest.err >&5
61175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61176 (exit $ac_status); } &&
61177 { ac_try='test -z "$ac_cxx_werror_flag"
61178 || test ! -s conftest.err'
61179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61180 (eval $ac_try) 2>&5
61181 ac_status=$?
61182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61183 (exit $ac_status); }; } &&
61184 { ac_try='test -s conftest.$ac_objext'
61185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61186 (eval $ac_try) 2>&5
61187 ac_status=$?
61188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61189 (exit $ac_status); }; }; then
61190 glibcxx_cv_func___builtin_fabsl_use=yes
61191 else
61192 echo "$as_me: failed program was:" >&5
61193 sed 's/^/| /' conftest.$ac_ext >&5
61195 glibcxx_cv_func___builtin_fabsl_use=no
61197 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61198 ac_ext=c
61199 ac_cpp='$CPP $CPPFLAGS'
61200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61208 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
61209 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
61210 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
61211 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
61212 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
61213 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
61214 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
61215 echo $ECHO_N "(cached) $ECHO_C" >&6
61216 else
61218 if test x$gcc_no_link = xyes; then
61219 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61220 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61221 { (exit 1); exit 1; }; }
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_fabsl(0);
61235 return 0;
61237 _ACEOF
61238 rm -f conftest.$ac_objext conftest$ac_exeext
61239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61240 (eval $ac_link) 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_c_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_exeext'
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_fabsl_link=yes
61261 else
61262 echo "$as_me: failed program was:" >&5
61263 sed 's/^/| /' conftest.$ac_ext >&5
61265 glibcxx_cv_func___builtin_fabsl_link=no
61267 rm -f conftest.err conftest.$ac_objext \
61268 conftest$ac_exeext conftest.$ac_ext
61273 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
61274 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
61276 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
61278 cat >>confdefs.h <<\_ACEOF
61279 #define HAVE___BUILTIN_FABSL 1
61280 _ACEOF
61287 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
61288 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
61289 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
61290 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
61291 echo $ECHO_N "(cached) $ECHO_C" >&6
61292 else
61296 ac_ext=cc
61297 ac_cpp='$CXXCPP $CPPFLAGS'
61298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61302 cat >conftest.$ac_ext <<_ACEOF
61303 /* confdefs.h. */
61304 _ACEOF
61305 cat confdefs.h >>conftest.$ac_ext
61306 cat >>conftest.$ac_ext <<_ACEOF
61307 /* end confdefs.h. */
61308 #include <math.h>
61310 main ()
61312 __builtin_labs(0);
61314 return 0;
61316 _ACEOF
61317 rm -f conftest.$ac_objext
61318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61319 (eval $ac_compile) 2>conftest.er1
61320 ac_status=$?
61321 grep -v '^ *+' conftest.er1 >conftest.err
61322 rm -f conftest.er1
61323 cat conftest.err >&5
61324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61325 (exit $ac_status); } &&
61326 { ac_try='test -z "$ac_cxx_werror_flag"
61327 || test ! -s conftest.err'
61328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61329 (eval $ac_try) 2>&5
61330 ac_status=$?
61331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61332 (exit $ac_status); }; } &&
61333 { ac_try='test -s conftest.$ac_objext'
61334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61335 (eval $ac_try) 2>&5
61336 ac_status=$?
61337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61338 (exit $ac_status); }; }; then
61339 glibcxx_cv_func___builtin_labs_use=yes
61340 else
61341 echo "$as_me: failed program was:" >&5
61342 sed 's/^/| /' conftest.$ac_ext >&5
61344 glibcxx_cv_func___builtin_labs_use=no
61346 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61347 ac_ext=c
61348 ac_cpp='$CPP $CPPFLAGS'
61349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61357 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
61358 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
61359 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
61360 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
61361 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
61362 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
61363 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
61364 echo $ECHO_N "(cached) $ECHO_C" >&6
61365 else
61367 if test x$gcc_no_link = xyes; then
61368 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61369 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61370 { (exit 1); exit 1; }; }
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_labs(0);
61384 return 0;
61386 _ACEOF
61387 rm -f conftest.$ac_objext conftest$ac_exeext
61388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61389 (eval $ac_link) 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_c_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_exeext'
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_labs_link=yes
61410 else
61411 echo "$as_me: failed program was:" >&5
61412 sed 's/^/| /' conftest.$ac_ext >&5
61414 glibcxx_cv_func___builtin_labs_link=no
61416 rm -f conftest.err conftest.$ac_objext \
61417 conftest$ac_exeext conftest.$ac_ext
61422 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
61423 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
61425 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
61427 cat >>confdefs.h <<\_ACEOF
61428 #define HAVE___BUILTIN_LABS 1
61429 _ACEOF
61437 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
61438 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
61439 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
61440 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
61441 echo $ECHO_N "(cached) $ECHO_C" >&6
61442 else
61446 ac_ext=cc
61447 ac_cpp='$CXXCPP $CPPFLAGS'
61448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61452 cat >conftest.$ac_ext <<_ACEOF
61453 /* confdefs.h. */
61454 _ACEOF
61455 cat confdefs.h >>conftest.$ac_ext
61456 cat >>conftest.$ac_ext <<_ACEOF
61457 /* end confdefs.h. */
61458 #include <math.h>
61460 main ()
61462 __builtin_sqrtf(0);
61464 return 0;
61466 _ACEOF
61467 rm -f conftest.$ac_objext
61468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61469 (eval $ac_compile) 2>conftest.er1
61470 ac_status=$?
61471 grep -v '^ *+' conftest.er1 >conftest.err
61472 rm -f conftest.er1
61473 cat conftest.err >&5
61474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61475 (exit $ac_status); } &&
61476 { ac_try='test -z "$ac_cxx_werror_flag"
61477 || test ! -s conftest.err'
61478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61479 (eval $ac_try) 2>&5
61480 ac_status=$?
61481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61482 (exit $ac_status); }; } &&
61483 { ac_try='test -s conftest.$ac_objext'
61484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61485 (eval $ac_try) 2>&5
61486 ac_status=$?
61487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61488 (exit $ac_status); }; }; then
61489 glibcxx_cv_func___builtin_sqrtf_use=yes
61490 else
61491 echo "$as_me: failed program was:" >&5
61492 sed 's/^/| /' conftest.$ac_ext >&5
61494 glibcxx_cv_func___builtin_sqrtf_use=no
61496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61497 ac_ext=c
61498 ac_cpp='$CPP $CPPFLAGS'
61499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61507 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
61508 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
61509 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
61510 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
61511 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
61512 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
61513 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
61514 echo $ECHO_N "(cached) $ECHO_C" >&6
61515 else
61517 if test x$gcc_no_link = xyes; then
61518 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61519 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61520 { (exit 1); exit 1; }; }
61522 cat >conftest.$ac_ext <<_ACEOF
61523 /* confdefs.h. */
61524 _ACEOF
61525 cat confdefs.h >>conftest.$ac_ext
61526 cat >>conftest.$ac_ext <<_ACEOF
61527 /* end confdefs.h. */
61528 #include <math.h>
61530 main ()
61532 __builtin_sqrtf(0);
61534 return 0;
61536 _ACEOF
61537 rm -f conftest.$ac_objext conftest$ac_exeext
61538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61539 (eval $ac_link) 2>conftest.er1
61540 ac_status=$?
61541 grep -v '^ *+' conftest.er1 >conftest.err
61542 rm -f conftest.er1
61543 cat conftest.err >&5
61544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61545 (exit $ac_status); } &&
61546 { ac_try='test -z "$ac_c_werror_flag"
61547 || test ! -s conftest.err'
61548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61549 (eval $ac_try) 2>&5
61550 ac_status=$?
61551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61552 (exit $ac_status); }; } &&
61553 { ac_try='test -s conftest$ac_exeext'
61554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61555 (eval $ac_try) 2>&5
61556 ac_status=$?
61557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61558 (exit $ac_status); }; }; then
61559 glibcxx_cv_func___builtin_sqrtf_link=yes
61560 else
61561 echo "$as_me: failed program was:" >&5
61562 sed 's/^/| /' conftest.$ac_ext >&5
61564 glibcxx_cv_func___builtin_sqrtf_link=no
61566 rm -f conftest.err conftest.$ac_objext \
61567 conftest$ac_exeext conftest.$ac_ext
61572 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
61573 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
61575 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
61577 cat >>confdefs.h <<\_ACEOF
61578 #define HAVE___BUILTIN_SQRTF 1
61579 _ACEOF
61586 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
61587 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
61588 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
61589 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
61590 echo $ECHO_N "(cached) $ECHO_C" >&6
61591 else
61595 ac_ext=cc
61596 ac_cpp='$CXXCPP $CPPFLAGS'
61597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61601 cat >conftest.$ac_ext <<_ACEOF
61602 /* confdefs.h. */
61603 _ACEOF
61604 cat confdefs.h >>conftest.$ac_ext
61605 cat >>conftest.$ac_ext <<_ACEOF
61606 /* end confdefs.h. */
61607 #include <math.h>
61609 main ()
61611 __builtin_sqrt(0);
61613 return 0;
61615 _ACEOF
61616 rm -f conftest.$ac_objext
61617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61618 (eval $ac_compile) 2>conftest.er1
61619 ac_status=$?
61620 grep -v '^ *+' conftest.er1 >conftest.err
61621 rm -f conftest.er1
61622 cat conftest.err >&5
61623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61624 (exit $ac_status); } &&
61625 { ac_try='test -z "$ac_cxx_werror_flag"
61626 || test ! -s conftest.err'
61627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61628 (eval $ac_try) 2>&5
61629 ac_status=$?
61630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61631 (exit $ac_status); }; } &&
61632 { ac_try='test -s conftest.$ac_objext'
61633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61634 (eval $ac_try) 2>&5
61635 ac_status=$?
61636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61637 (exit $ac_status); }; }; then
61638 glibcxx_cv_func___builtin_sqrt_use=yes
61639 else
61640 echo "$as_me: failed program was:" >&5
61641 sed 's/^/| /' conftest.$ac_ext >&5
61643 glibcxx_cv_func___builtin_sqrt_use=no
61645 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61646 ac_ext=c
61647 ac_cpp='$CPP $CPPFLAGS'
61648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61656 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
61657 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
61658 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
61659 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
61660 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
61661 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
61662 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
61663 echo $ECHO_N "(cached) $ECHO_C" >&6
61664 else
61666 if test x$gcc_no_link = xyes; then
61667 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61668 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61669 { (exit 1); exit 1; }; }
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_sqrt(0);
61683 return 0;
61685 _ACEOF
61686 rm -f conftest.$ac_objext conftest$ac_exeext
61687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61688 (eval $ac_link) 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_c_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_exeext'
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_sqrt_link=yes
61709 else
61710 echo "$as_me: failed program was:" >&5
61711 sed 's/^/| /' conftest.$ac_ext >&5
61713 glibcxx_cv_func___builtin_sqrt_link=no
61715 rm -f conftest.err conftest.$ac_objext \
61716 conftest$ac_exeext conftest.$ac_ext
61721 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
61722 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
61724 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
61726 cat >>confdefs.h <<\_ACEOF
61727 #define HAVE___BUILTIN_SQRT 1
61728 _ACEOF
61735 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
61736 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
61737 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
61738 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
61739 echo $ECHO_N "(cached) $ECHO_C" >&6
61740 else
61744 ac_ext=cc
61745 ac_cpp='$CXXCPP $CPPFLAGS'
61746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61750 cat >conftest.$ac_ext <<_ACEOF
61751 /* confdefs.h. */
61752 _ACEOF
61753 cat confdefs.h >>conftest.$ac_ext
61754 cat >>conftest.$ac_ext <<_ACEOF
61755 /* end confdefs.h. */
61756 #include <math.h>
61758 main ()
61760 __builtin_sqrtl(0);
61762 return 0;
61764 _ACEOF
61765 rm -f conftest.$ac_objext
61766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61767 (eval $ac_compile) 2>conftest.er1
61768 ac_status=$?
61769 grep -v '^ *+' conftest.er1 >conftest.err
61770 rm -f conftest.er1
61771 cat conftest.err >&5
61772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61773 (exit $ac_status); } &&
61774 { ac_try='test -z "$ac_cxx_werror_flag"
61775 || test ! -s conftest.err'
61776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61777 (eval $ac_try) 2>&5
61778 ac_status=$?
61779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61780 (exit $ac_status); }; } &&
61781 { ac_try='test -s conftest.$ac_objext'
61782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61783 (eval $ac_try) 2>&5
61784 ac_status=$?
61785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61786 (exit $ac_status); }; }; then
61787 glibcxx_cv_func___builtin_sqrtl_use=yes
61788 else
61789 echo "$as_me: failed program was:" >&5
61790 sed 's/^/| /' conftest.$ac_ext >&5
61792 glibcxx_cv_func___builtin_sqrtl_use=no
61794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61795 ac_ext=c
61796 ac_cpp='$CPP $CPPFLAGS'
61797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61805 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
61806 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
61807 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
61808 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
61809 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
61810 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
61811 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
61812 echo $ECHO_N "(cached) $ECHO_C" >&6
61813 else
61815 if test x$gcc_no_link = xyes; then
61816 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61817 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61818 { (exit 1); exit 1; }; }
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_sqrtl(0);
61832 return 0;
61834 _ACEOF
61835 rm -f conftest.$ac_objext conftest$ac_exeext
61836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61837 (eval $ac_link) 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_c_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_exeext'
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_sqrtl_link=yes
61858 else
61859 echo "$as_me: failed program was:" >&5
61860 sed 's/^/| /' conftest.$ac_ext >&5
61862 glibcxx_cv_func___builtin_sqrtl_link=no
61864 rm -f conftest.err conftest.$ac_objext \
61865 conftest$ac_exeext conftest.$ac_ext
61870 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
61871 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
61873 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
61875 cat >>confdefs.h <<\_ACEOF
61876 #define HAVE___BUILTIN_SQRTL 1
61877 _ACEOF
61885 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
61886 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
61887 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
61888 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
61889 echo $ECHO_N "(cached) $ECHO_C" >&6
61890 else
61894 ac_ext=cc
61895 ac_cpp='$CXXCPP $CPPFLAGS'
61896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61900 cat >conftest.$ac_ext <<_ACEOF
61901 /* confdefs.h. */
61902 _ACEOF
61903 cat confdefs.h >>conftest.$ac_ext
61904 cat >>conftest.$ac_ext <<_ACEOF
61905 /* end confdefs.h. */
61906 #include <math.h>
61908 main ()
61910 __builtin_sinf(0);
61912 return 0;
61914 _ACEOF
61915 rm -f conftest.$ac_objext
61916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61917 (eval $ac_compile) 2>conftest.er1
61918 ac_status=$?
61919 grep -v '^ *+' conftest.er1 >conftest.err
61920 rm -f conftest.er1
61921 cat conftest.err >&5
61922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61923 (exit $ac_status); } &&
61924 { ac_try='test -z "$ac_cxx_werror_flag"
61925 || test ! -s conftest.err'
61926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61927 (eval $ac_try) 2>&5
61928 ac_status=$?
61929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61930 (exit $ac_status); }; } &&
61931 { ac_try='test -s conftest.$ac_objext'
61932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61933 (eval $ac_try) 2>&5
61934 ac_status=$?
61935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61936 (exit $ac_status); }; }; then
61937 glibcxx_cv_func___builtin_sinf_use=yes
61938 else
61939 echo "$as_me: failed program was:" >&5
61940 sed 's/^/| /' conftest.$ac_ext >&5
61942 glibcxx_cv_func___builtin_sinf_use=no
61944 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61945 ac_ext=c
61946 ac_cpp='$CPP $CPPFLAGS'
61947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61955 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
61956 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
61957 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
61958 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
61959 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
61960 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
61961 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
61962 echo $ECHO_N "(cached) $ECHO_C" >&6
61963 else
61965 if test x$gcc_no_link = xyes; then
61966 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61967 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61968 { (exit 1); exit 1; }; }
61970 cat >conftest.$ac_ext <<_ACEOF
61971 /* confdefs.h. */
61972 _ACEOF
61973 cat confdefs.h >>conftest.$ac_ext
61974 cat >>conftest.$ac_ext <<_ACEOF
61975 /* end confdefs.h. */
61976 #include <math.h>
61978 main ()
61980 __builtin_sinf(0);
61982 return 0;
61984 _ACEOF
61985 rm -f conftest.$ac_objext conftest$ac_exeext
61986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61987 (eval $ac_link) 2>conftest.er1
61988 ac_status=$?
61989 grep -v '^ *+' conftest.er1 >conftest.err
61990 rm -f conftest.er1
61991 cat conftest.err >&5
61992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61993 (exit $ac_status); } &&
61994 { ac_try='test -z "$ac_c_werror_flag"
61995 || test ! -s conftest.err'
61996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61997 (eval $ac_try) 2>&5
61998 ac_status=$?
61999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62000 (exit $ac_status); }; } &&
62001 { ac_try='test -s conftest$ac_exeext'
62002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62003 (eval $ac_try) 2>&5
62004 ac_status=$?
62005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62006 (exit $ac_status); }; }; then
62007 glibcxx_cv_func___builtin_sinf_link=yes
62008 else
62009 echo "$as_me: failed program was:" >&5
62010 sed 's/^/| /' conftest.$ac_ext >&5
62012 glibcxx_cv_func___builtin_sinf_link=no
62014 rm -f conftest.err conftest.$ac_objext \
62015 conftest$ac_exeext conftest.$ac_ext
62020 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
62021 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
62023 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
62025 cat >>confdefs.h <<\_ACEOF
62026 #define HAVE___BUILTIN_SINF 1
62027 _ACEOF
62034 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
62035 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
62036 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
62037 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
62038 echo $ECHO_N "(cached) $ECHO_C" >&6
62039 else
62043 ac_ext=cc
62044 ac_cpp='$CXXCPP $CPPFLAGS'
62045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62049 cat >conftest.$ac_ext <<_ACEOF
62050 /* confdefs.h. */
62051 _ACEOF
62052 cat confdefs.h >>conftest.$ac_ext
62053 cat >>conftest.$ac_ext <<_ACEOF
62054 /* end confdefs.h. */
62055 #include <math.h>
62057 main ()
62059 __builtin_sin(0);
62061 return 0;
62063 _ACEOF
62064 rm -f conftest.$ac_objext
62065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62066 (eval $ac_compile) 2>conftest.er1
62067 ac_status=$?
62068 grep -v '^ *+' conftest.er1 >conftest.err
62069 rm -f conftest.er1
62070 cat conftest.err >&5
62071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62072 (exit $ac_status); } &&
62073 { ac_try='test -z "$ac_cxx_werror_flag"
62074 || test ! -s conftest.err'
62075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62076 (eval $ac_try) 2>&5
62077 ac_status=$?
62078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62079 (exit $ac_status); }; } &&
62080 { ac_try='test -s conftest.$ac_objext'
62081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62082 (eval $ac_try) 2>&5
62083 ac_status=$?
62084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62085 (exit $ac_status); }; }; then
62086 glibcxx_cv_func___builtin_sin_use=yes
62087 else
62088 echo "$as_me: failed program was:" >&5
62089 sed 's/^/| /' conftest.$ac_ext >&5
62091 glibcxx_cv_func___builtin_sin_use=no
62093 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62094 ac_ext=c
62095 ac_cpp='$CPP $CPPFLAGS'
62096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62104 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
62105 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
62106 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
62107 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
62108 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
62109 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
62110 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
62111 echo $ECHO_N "(cached) $ECHO_C" >&6
62112 else
62114 if test x$gcc_no_link = xyes; then
62115 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62116 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62117 { (exit 1); exit 1; }; }
62119 cat >conftest.$ac_ext <<_ACEOF
62120 /* confdefs.h. */
62121 _ACEOF
62122 cat confdefs.h >>conftest.$ac_ext
62123 cat >>conftest.$ac_ext <<_ACEOF
62124 /* end confdefs.h. */
62125 #include <math.h>
62127 main ()
62129 __builtin_sin(0);
62131 return 0;
62133 _ACEOF
62134 rm -f conftest.$ac_objext conftest$ac_exeext
62135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62136 (eval $ac_link) 2>conftest.er1
62137 ac_status=$?
62138 grep -v '^ *+' conftest.er1 >conftest.err
62139 rm -f conftest.er1
62140 cat conftest.err >&5
62141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62142 (exit $ac_status); } &&
62143 { ac_try='test -z "$ac_c_werror_flag"
62144 || test ! -s conftest.err'
62145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62146 (eval $ac_try) 2>&5
62147 ac_status=$?
62148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62149 (exit $ac_status); }; } &&
62150 { ac_try='test -s conftest$ac_exeext'
62151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62152 (eval $ac_try) 2>&5
62153 ac_status=$?
62154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62155 (exit $ac_status); }; }; then
62156 glibcxx_cv_func___builtin_sin_link=yes
62157 else
62158 echo "$as_me: failed program was:" >&5
62159 sed 's/^/| /' conftest.$ac_ext >&5
62161 glibcxx_cv_func___builtin_sin_link=no
62163 rm -f conftest.err conftest.$ac_objext \
62164 conftest$ac_exeext conftest.$ac_ext
62169 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
62170 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
62172 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
62174 cat >>confdefs.h <<\_ACEOF
62175 #define HAVE___BUILTIN_SIN 1
62176 _ACEOF
62183 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
62184 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
62185 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
62186 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
62187 echo $ECHO_N "(cached) $ECHO_C" >&6
62188 else
62192 ac_ext=cc
62193 ac_cpp='$CXXCPP $CPPFLAGS'
62194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62198 cat >conftest.$ac_ext <<_ACEOF
62199 /* confdefs.h. */
62200 _ACEOF
62201 cat confdefs.h >>conftest.$ac_ext
62202 cat >>conftest.$ac_ext <<_ACEOF
62203 /* end confdefs.h. */
62204 #include <math.h>
62206 main ()
62208 __builtin_sinl(0);
62210 return 0;
62212 _ACEOF
62213 rm -f conftest.$ac_objext
62214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62215 (eval $ac_compile) 2>conftest.er1
62216 ac_status=$?
62217 grep -v '^ *+' conftest.er1 >conftest.err
62218 rm -f conftest.er1
62219 cat conftest.err >&5
62220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62221 (exit $ac_status); } &&
62222 { ac_try='test -z "$ac_cxx_werror_flag"
62223 || test ! -s conftest.err'
62224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62225 (eval $ac_try) 2>&5
62226 ac_status=$?
62227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62228 (exit $ac_status); }; } &&
62229 { ac_try='test -s conftest.$ac_objext'
62230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62231 (eval $ac_try) 2>&5
62232 ac_status=$?
62233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62234 (exit $ac_status); }; }; then
62235 glibcxx_cv_func___builtin_sinl_use=yes
62236 else
62237 echo "$as_me: failed program was:" >&5
62238 sed 's/^/| /' conftest.$ac_ext >&5
62240 glibcxx_cv_func___builtin_sinl_use=no
62242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62243 ac_ext=c
62244 ac_cpp='$CPP $CPPFLAGS'
62245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62253 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
62254 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
62255 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
62256 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
62257 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
62258 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
62259 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
62260 echo $ECHO_N "(cached) $ECHO_C" >&6
62261 else
62263 if test x$gcc_no_link = xyes; then
62264 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62265 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62266 { (exit 1); exit 1; }; }
62268 cat >conftest.$ac_ext <<_ACEOF
62269 /* confdefs.h. */
62270 _ACEOF
62271 cat confdefs.h >>conftest.$ac_ext
62272 cat >>conftest.$ac_ext <<_ACEOF
62273 /* end confdefs.h. */
62274 #include <math.h>
62276 main ()
62278 __builtin_sinl(0);
62280 return 0;
62282 _ACEOF
62283 rm -f conftest.$ac_objext conftest$ac_exeext
62284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62285 (eval $ac_link) 2>conftest.er1
62286 ac_status=$?
62287 grep -v '^ *+' conftest.er1 >conftest.err
62288 rm -f conftest.er1
62289 cat conftest.err >&5
62290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62291 (exit $ac_status); } &&
62292 { ac_try='test -z "$ac_c_werror_flag"
62293 || test ! -s conftest.err'
62294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62295 (eval $ac_try) 2>&5
62296 ac_status=$?
62297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62298 (exit $ac_status); }; } &&
62299 { ac_try='test -s conftest$ac_exeext'
62300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62301 (eval $ac_try) 2>&5
62302 ac_status=$?
62303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62304 (exit $ac_status); }; }; then
62305 glibcxx_cv_func___builtin_sinl_link=yes
62306 else
62307 echo "$as_me: failed program was:" >&5
62308 sed 's/^/| /' conftest.$ac_ext >&5
62310 glibcxx_cv_func___builtin_sinl_link=no
62312 rm -f conftest.err conftest.$ac_objext \
62313 conftest$ac_exeext conftest.$ac_ext
62318 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
62319 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
62321 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
62323 cat >>confdefs.h <<\_ACEOF
62324 #define HAVE___BUILTIN_SINL 1
62325 _ACEOF
62333 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
62334 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
62335 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
62336 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
62337 echo $ECHO_N "(cached) $ECHO_C" >&6
62338 else
62342 ac_ext=cc
62343 ac_cpp='$CXXCPP $CPPFLAGS'
62344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62348 cat >conftest.$ac_ext <<_ACEOF
62349 /* confdefs.h. */
62350 _ACEOF
62351 cat confdefs.h >>conftest.$ac_ext
62352 cat >>conftest.$ac_ext <<_ACEOF
62353 /* end confdefs.h. */
62354 #include <math.h>
62356 main ()
62358 __builtin_cosf(0);
62360 return 0;
62362 _ACEOF
62363 rm -f conftest.$ac_objext
62364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62365 (eval $ac_compile) 2>conftest.er1
62366 ac_status=$?
62367 grep -v '^ *+' conftest.er1 >conftest.err
62368 rm -f conftest.er1
62369 cat conftest.err >&5
62370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62371 (exit $ac_status); } &&
62372 { ac_try='test -z "$ac_cxx_werror_flag"
62373 || test ! -s conftest.err'
62374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62375 (eval $ac_try) 2>&5
62376 ac_status=$?
62377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62378 (exit $ac_status); }; } &&
62379 { ac_try='test -s conftest.$ac_objext'
62380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62381 (eval $ac_try) 2>&5
62382 ac_status=$?
62383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62384 (exit $ac_status); }; }; then
62385 glibcxx_cv_func___builtin_cosf_use=yes
62386 else
62387 echo "$as_me: failed program was:" >&5
62388 sed 's/^/| /' conftest.$ac_ext >&5
62390 glibcxx_cv_func___builtin_cosf_use=no
62392 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62393 ac_ext=c
62394 ac_cpp='$CPP $CPPFLAGS'
62395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62403 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
62404 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
62405 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
62406 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
62407 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
62408 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
62409 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
62410 echo $ECHO_N "(cached) $ECHO_C" >&6
62411 else
62413 if test x$gcc_no_link = xyes; then
62414 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62415 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62416 { (exit 1); exit 1; }; }
62418 cat >conftest.$ac_ext <<_ACEOF
62419 /* confdefs.h. */
62420 _ACEOF
62421 cat confdefs.h >>conftest.$ac_ext
62422 cat >>conftest.$ac_ext <<_ACEOF
62423 /* end confdefs.h. */
62424 #include <math.h>
62426 main ()
62428 __builtin_cosf(0);
62430 return 0;
62432 _ACEOF
62433 rm -f conftest.$ac_objext conftest$ac_exeext
62434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62435 (eval $ac_link) 2>conftest.er1
62436 ac_status=$?
62437 grep -v '^ *+' conftest.er1 >conftest.err
62438 rm -f conftest.er1
62439 cat conftest.err >&5
62440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62441 (exit $ac_status); } &&
62442 { ac_try='test -z "$ac_c_werror_flag"
62443 || test ! -s conftest.err'
62444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62445 (eval $ac_try) 2>&5
62446 ac_status=$?
62447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62448 (exit $ac_status); }; } &&
62449 { ac_try='test -s conftest$ac_exeext'
62450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62451 (eval $ac_try) 2>&5
62452 ac_status=$?
62453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62454 (exit $ac_status); }; }; then
62455 glibcxx_cv_func___builtin_cosf_link=yes
62456 else
62457 echo "$as_me: failed program was:" >&5
62458 sed 's/^/| /' conftest.$ac_ext >&5
62460 glibcxx_cv_func___builtin_cosf_link=no
62462 rm -f conftest.err conftest.$ac_objext \
62463 conftest$ac_exeext conftest.$ac_ext
62468 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
62469 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
62471 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
62473 cat >>confdefs.h <<\_ACEOF
62474 #define HAVE___BUILTIN_COSF 1
62475 _ACEOF
62482 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
62483 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
62484 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
62485 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
62486 echo $ECHO_N "(cached) $ECHO_C" >&6
62487 else
62491 ac_ext=cc
62492 ac_cpp='$CXXCPP $CPPFLAGS'
62493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62497 cat >conftest.$ac_ext <<_ACEOF
62498 /* confdefs.h. */
62499 _ACEOF
62500 cat confdefs.h >>conftest.$ac_ext
62501 cat >>conftest.$ac_ext <<_ACEOF
62502 /* end confdefs.h. */
62503 #include <math.h>
62505 main ()
62507 __builtin_cos(0);
62509 return 0;
62511 _ACEOF
62512 rm -f conftest.$ac_objext
62513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62514 (eval $ac_compile) 2>conftest.er1
62515 ac_status=$?
62516 grep -v '^ *+' conftest.er1 >conftest.err
62517 rm -f conftest.er1
62518 cat conftest.err >&5
62519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62520 (exit $ac_status); } &&
62521 { ac_try='test -z "$ac_cxx_werror_flag"
62522 || test ! -s conftest.err'
62523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62524 (eval $ac_try) 2>&5
62525 ac_status=$?
62526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62527 (exit $ac_status); }; } &&
62528 { ac_try='test -s conftest.$ac_objext'
62529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62530 (eval $ac_try) 2>&5
62531 ac_status=$?
62532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62533 (exit $ac_status); }; }; then
62534 glibcxx_cv_func___builtin_cos_use=yes
62535 else
62536 echo "$as_me: failed program was:" >&5
62537 sed 's/^/| /' conftest.$ac_ext >&5
62539 glibcxx_cv_func___builtin_cos_use=no
62541 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62542 ac_ext=c
62543 ac_cpp='$CPP $CPPFLAGS'
62544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62552 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
62553 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
62554 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
62555 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
62556 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
62557 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
62558 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
62559 echo $ECHO_N "(cached) $ECHO_C" >&6
62560 else
62562 if test x$gcc_no_link = xyes; then
62563 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62564 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62565 { (exit 1); exit 1; }; }
62567 cat >conftest.$ac_ext <<_ACEOF
62568 /* confdefs.h. */
62569 _ACEOF
62570 cat confdefs.h >>conftest.$ac_ext
62571 cat >>conftest.$ac_ext <<_ACEOF
62572 /* end confdefs.h. */
62573 #include <math.h>
62575 main ()
62577 __builtin_cos(0);
62579 return 0;
62581 _ACEOF
62582 rm -f conftest.$ac_objext conftest$ac_exeext
62583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62584 (eval $ac_link) 2>conftest.er1
62585 ac_status=$?
62586 grep -v '^ *+' conftest.er1 >conftest.err
62587 rm -f conftest.er1
62588 cat conftest.err >&5
62589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62590 (exit $ac_status); } &&
62591 { ac_try='test -z "$ac_c_werror_flag"
62592 || test ! -s conftest.err'
62593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62594 (eval $ac_try) 2>&5
62595 ac_status=$?
62596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62597 (exit $ac_status); }; } &&
62598 { ac_try='test -s conftest$ac_exeext'
62599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62600 (eval $ac_try) 2>&5
62601 ac_status=$?
62602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62603 (exit $ac_status); }; }; then
62604 glibcxx_cv_func___builtin_cos_link=yes
62605 else
62606 echo "$as_me: failed program was:" >&5
62607 sed 's/^/| /' conftest.$ac_ext >&5
62609 glibcxx_cv_func___builtin_cos_link=no
62611 rm -f conftest.err conftest.$ac_objext \
62612 conftest$ac_exeext conftest.$ac_ext
62617 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
62618 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
62620 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
62622 cat >>confdefs.h <<\_ACEOF
62623 #define HAVE___BUILTIN_COS 1
62624 _ACEOF
62631 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
62632 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
62633 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
62634 if test "${glibcxx_cv_func___builtin_cosl_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 <math.h>
62654 main ()
62656 __builtin_cosl(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___builtin_cosl_use=yes
62684 else
62685 echo "$as_me: failed program was:" >&5
62686 sed 's/^/| /' conftest.$ac_ext >&5
62688 glibcxx_cv_func___builtin_cosl_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___builtin_cosl_use" >&5
62702 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
62703 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
62704 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
62705 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
62706 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
62707 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
62708 echo $ECHO_N "(cached) $ECHO_C" >&6
62709 else
62711 if test x$gcc_no_link = xyes; then
62712 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62713 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62714 { (exit 1); exit 1; }; }
62716 cat >conftest.$ac_ext <<_ACEOF
62717 /* confdefs.h. */
62718 _ACEOF
62719 cat confdefs.h >>conftest.$ac_ext
62720 cat >>conftest.$ac_ext <<_ACEOF
62721 /* end confdefs.h. */
62722 #include <math.h>
62724 main ()
62726 __builtin_cosl(0);
62728 return 0;
62730 _ACEOF
62731 rm -f conftest.$ac_objext conftest$ac_exeext
62732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62733 (eval $ac_link) 2>conftest.er1
62734 ac_status=$?
62735 grep -v '^ *+' conftest.er1 >conftest.err
62736 rm -f conftest.er1
62737 cat conftest.err >&5
62738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62739 (exit $ac_status); } &&
62740 { ac_try='test -z "$ac_c_werror_flag"
62741 || test ! -s conftest.err'
62742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62743 (eval $ac_try) 2>&5
62744 ac_status=$?
62745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62746 (exit $ac_status); }; } &&
62747 { ac_try='test -s conftest$ac_exeext'
62748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62749 (eval $ac_try) 2>&5
62750 ac_status=$?
62751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62752 (exit $ac_status); }; }; then
62753 glibcxx_cv_func___builtin_cosl_link=yes
62754 else
62755 echo "$as_me: failed program was:" >&5
62756 sed 's/^/| /' conftest.$ac_ext >&5
62758 glibcxx_cv_func___builtin_cosl_link=no
62760 rm -f conftest.err conftest.$ac_objext \
62761 conftest$ac_exeext conftest.$ac_ext
62766 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
62767 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
62769 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
62771 cat >>confdefs.h <<\_ACEOF
62772 #define HAVE___BUILTIN_COSL 1
62773 _ACEOF
62782 echo "$as_me:$LINENO: checking for main in -lm" >&5
62783 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
62784 if test "${ac_cv_lib_m_main+set}" = set; then
62785 echo $ECHO_N "(cached) $ECHO_C" >&6
62786 else
62787 ac_check_lib_save_LIBS=$LIBS
62788 LIBS="-lm $LIBS"
62789 if test x$gcc_no_link = xyes; then
62790 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62791 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62792 { (exit 1); exit 1; }; }
62794 cat >conftest.$ac_ext <<_ACEOF
62795 /* confdefs.h. */
62796 _ACEOF
62797 cat confdefs.h >>conftest.$ac_ext
62798 cat >>conftest.$ac_ext <<_ACEOF
62799 /* end confdefs.h. */
62803 main ()
62805 main ();
62807 return 0;
62809 _ACEOF
62810 rm -f conftest.$ac_objext conftest$ac_exeext
62811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62812 (eval $ac_link) 2>conftest.er1
62813 ac_status=$?
62814 grep -v '^ *+' conftest.er1 >conftest.err
62815 rm -f conftest.er1
62816 cat conftest.err >&5
62817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62818 (exit $ac_status); } &&
62819 { ac_try='test -z "$ac_c_werror_flag"
62820 || test ! -s conftest.err'
62821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62822 (eval $ac_try) 2>&5
62823 ac_status=$?
62824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62825 (exit $ac_status); }; } &&
62826 { ac_try='test -s conftest$ac_exeext'
62827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62828 (eval $ac_try) 2>&5
62829 ac_status=$?
62830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62831 (exit $ac_status); }; }; then
62832 ac_cv_lib_m_main=yes
62833 else
62834 echo "$as_me: failed program was:" >&5
62835 sed 's/^/| /' conftest.$ac_ext >&5
62837 ac_cv_lib_m_main=no
62839 rm -f conftest.err conftest.$ac_objext \
62840 conftest$ac_exeext conftest.$ac_ext
62841 LIBS=$ac_check_lib_save_LIBS
62843 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
62844 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
62845 if test $ac_cv_lib_m_main = yes; then
62846 cat >>confdefs.h <<_ACEOF
62847 #define HAVE_LIBM 1
62848 _ACEOF
62850 LIBS="-lm $LIBS"
62855 for ac_func in copysignf
62857 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62858 echo "$as_me:$LINENO: checking for $ac_func" >&5
62859 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62860 if eval "test \"\${$as_ac_var+set}\" = set"; then
62861 echo $ECHO_N "(cached) $ECHO_C" >&6
62862 else
62863 if test x$gcc_no_link = xyes; then
62864 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62865 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62866 { (exit 1); exit 1; }; }
62868 cat >conftest.$ac_ext <<_ACEOF
62869 /* confdefs.h. */
62870 _ACEOF
62871 cat confdefs.h >>conftest.$ac_ext
62872 cat >>conftest.$ac_ext <<_ACEOF
62873 /* end confdefs.h. */
62874 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62875 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62876 #define $ac_func innocuous_$ac_func
62878 /* System header to define __stub macros and hopefully few prototypes,
62879 which can conflict with char $ac_func (); below.
62880 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62881 <limits.h> exists even on freestanding compilers. */
62883 #ifdef __STDC__
62884 # include <limits.h>
62885 #else
62886 # include <assert.h>
62887 #endif
62889 #undef $ac_func
62891 /* Override any gcc2 internal prototype to avoid an error. */
62892 #ifdef __cplusplus
62893 extern "C"
62895 #endif
62896 /* We use char because int might match the return type of a gcc2
62897 builtin and then its argument prototype would still apply. */
62898 char $ac_func ();
62899 /* The GNU C library defines this for functions which it implements
62900 to always fail with ENOSYS. Some functions are actually named
62901 something starting with __ and the normal name is an alias. */
62902 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62903 choke me
62904 #else
62905 char (*f) () = $ac_func;
62906 #endif
62907 #ifdef __cplusplus
62909 #endif
62912 main ()
62914 return f != $ac_func;
62916 return 0;
62918 _ACEOF
62919 rm -f conftest.$ac_objext conftest$ac_exeext
62920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62921 (eval $ac_link) 2>conftest.er1
62922 ac_status=$?
62923 grep -v '^ *+' conftest.er1 >conftest.err
62924 rm -f conftest.er1
62925 cat conftest.err >&5
62926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62927 (exit $ac_status); } &&
62928 { ac_try='test -z "$ac_c_werror_flag"
62929 || test ! -s conftest.err'
62930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62931 (eval $ac_try) 2>&5
62932 ac_status=$?
62933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62934 (exit $ac_status); }; } &&
62935 { ac_try='test -s conftest$ac_exeext'
62936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62937 (eval $ac_try) 2>&5
62938 ac_status=$?
62939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62940 (exit $ac_status); }; }; then
62941 eval "$as_ac_var=yes"
62942 else
62943 echo "$as_me: failed program was:" >&5
62944 sed 's/^/| /' conftest.$ac_ext >&5
62946 eval "$as_ac_var=no"
62948 rm -f conftest.err conftest.$ac_objext \
62949 conftest$ac_exeext conftest.$ac_ext
62951 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62952 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62953 if test `eval echo '${'$as_ac_var'}'` = yes; then
62954 cat >>confdefs.h <<_ACEOF
62955 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62956 _ACEOF
62958 else
62959 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
62961 done
62965 for ac_func in __signbit
62967 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62968 echo "$as_me:$LINENO: checking for $ac_func" >&5
62969 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62970 if eval "test \"\${$as_ac_var+set}\" = set"; then
62971 echo $ECHO_N "(cached) $ECHO_C" >&6
62972 else
62973 if test x$gcc_no_link = xyes; then
62974 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62975 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62976 { (exit 1); exit 1; }; }
62978 cat >conftest.$ac_ext <<_ACEOF
62979 /* confdefs.h. */
62980 _ACEOF
62981 cat confdefs.h >>conftest.$ac_ext
62982 cat >>conftest.$ac_ext <<_ACEOF
62983 /* end confdefs.h. */
62984 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62985 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62986 #define $ac_func innocuous_$ac_func
62988 /* System header to define __stub macros and hopefully few prototypes,
62989 which can conflict with char $ac_func (); below.
62990 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62991 <limits.h> exists even on freestanding compilers. */
62993 #ifdef __STDC__
62994 # include <limits.h>
62995 #else
62996 # include <assert.h>
62997 #endif
62999 #undef $ac_func
63001 /* Override any gcc2 internal prototype to avoid an error. */
63002 #ifdef __cplusplus
63003 extern "C"
63005 #endif
63006 /* We use char because int might match the return type of a gcc2
63007 builtin and then its argument prototype would still apply. */
63008 char $ac_func ();
63009 /* The GNU C library defines this for functions which it implements
63010 to always fail with ENOSYS. Some functions are actually named
63011 something starting with __ and the normal name is an alias. */
63012 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63013 choke me
63014 #else
63015 char (*f) () = $ac_func;
63016 #endif
63017 #ifdef __cplusplus
63019 #endif
63022 main ()
63024 return f != $ac_func;
63026 return 0;
63028 _ACEOF
63029 rm -f conftest.$ac_objext conftest$ac_exeext
63030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63031 (eval $ac_link) 2>conftest.er1
63032 ac_status=$?
63033 grep -v '^ *+' conftest.er1 >conftest.err
63034 rm -f conftest.er1
63035 cat conftest.err >&5
63036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63037 (exit $ac_status); } &&
63038 { ac_try='test -z "$ac_c_werror_flag"
63039 || test ! -s conftest.err'
63040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63041 (eval $ac_try) 2>&5
63042 ac_status=$?
63043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63044 (exit $ac_status); }; } &&
63045 { ac_try='test -s conftest$ac_exeext'
63046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63047 (eval $ac_try) 2>&5
63048 ac_status=$?
63049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63050 (exit $ac_status); }; }; then
63051 eval "$as_ac_var=yes"
63052 else
63053 echo "$as_me: failed program was:" >&5
63054 sed 's/^/| /' conftest.$ac_ext >&5
63056 eval "$as_ac_var=no"
63058 rm -f conftest.err conftest.$ac_objext \
63059 conftest$ac_exeext conftest.$ac_ext
63061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63062 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63063 if test `eval echo '${'$as_ac_var'}'` = yes; then
63064 cat >>confdefs.h <<_ACEOF
63065 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63066 _ACEOF
63068 else
63069 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
63071 done
63075 for ac_func in __signbitf
63077 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63078 echo "$as_me:$LINENO: checking for $ac_func" >&5
63079 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63080 if eval "test \"\${$as_ac_var+set}\" = set"; then
63081 echo $ECHO_N "(cached) $ECHO_C" >&6
63082 else
63083 if test x$gcc_no_link = xyes; then
63084 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63085 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63086 { (exit 1); exit 1; }; }
63088 cat >conftest.$ac_ext <<_ACEOF
63089 /* confdefs.h. */
63090 _ACEOF
63091 cat confdefs.h >>conftest.$ac_ext
63092 cat >>conftest.$ac_ext <<_ACEOF
63093 /* end confdefs.h. */
63094 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63095 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63096 #define $ac_func innocuous_$ac_func
63098 /* System header to define __stub macros and hopefully few prototypes,
63099 which can conflict with char $ac_func (); below.
63100 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63101 <limits.h> exists even on freestanding compilers. */
63103 #ifdef __STDC__
63104 # include <limits.h>
63105 #else
63106 # include <assert.h>
63107 #endif
63109 #undef $ac_func
63111 /* Override any gcc2 internal prototype to avoid an error. */
63112 #ifdef __cplusplus
63113 extern "C"
63115 #endif
63116 /* We use char because int might match the return type of a gcc2
63117 builtin and then its argument prototype would still apply. */
63118 char $ac_func ();
63119 /* The GNU C library defines this for functions which it implements
63120 to always fail with ENOSYS. Some functions are actually named
63121 something starting with __ and the normal name is an alias. */
63122 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63123 choke me
63124 #else
63125 char (*f) () = $ac_func;
63126 #endif
63127 #ifdef __cplusplus
63129 #endif
63132 main ()
63134 return f != $ac_func;
63136 return 0;
63138 _ACEOF
63139 rm -f conftest.$ac_objext conftest$ac_exeext
63140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63141 (eval $ac_link) 2>conftest.er1
63142 ac_status=$?
63143 grep -v '^ *+' conftest.er1 >conftest.err
63144 rm -f conftest.er1
63145 cat conftest.err >&5
63146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63147 (exit $ac_status); } &&
63148 { ac_try='test -z "$ac_c_werror_flag"
63149 || test ! -s conftest.err'
63150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63151 (eval $ac_try) 2>&5
63152 ac_status=$?
63153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63154 (exit $ac_status); }; } &&
63155 { ac_try='test -s conftest$ac_exeext'
63156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63157 (eval $ac_try) 2>&5
63158 ac_status=$?
63159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63160 (exit $ac_status); }; }; then
63161 eval "$as_ac_var=yes"
63162 else
63163 echo "$as_me: failed program was:" >&5
63164 sed 's/^/| /' conftest.$ac_ext >&5
63166 eval "$as_ac_var=no"
63168 rm -f conftest.err conftest.$ac_objext \
63169 conftest$ac_exeext conftest.$ac_ext
63171 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63172 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63173 if test `eval echo '${'$as_ac_var'}'` = yes; then
63174 cat >>confdefs.h <<_ACEOF
63175 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63176 _ACEOF
63178 else
63179 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
63181 done
63184 if test x$ac_cv_func_copysignl = x"yes"; then
63186 for ac_func in __signbitl
63188 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63189 echo "$as_me:$LINENO: checking for $ac_func" >&5
63190 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63191 if eval "test \"\${$as_ac_var+set}\" = set"; then
63192 echo $ECHO_N "(cached) $ECHO_C" >&6
63193 else
63194 if test x$gcc_no_link = xyes; then
63195 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63196 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63197 { (exit 1); exit 1; }; }
63199 cat >conftest.$ac_ext <<_ACEOF
63200 /* confdefs.h. */
63201 _ACEOF
63202 cat confdefs.h >>conftest.$ac_ext
63203 cat >>conftest.$ac_ext <<_ACEOF
63204 /* end confdefs.h. */
63205 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63206 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63207 #define $ac_func innocuous_$ac_func
63209 /* System header to define __stub macros and hopefully few prototypes,
63210 which can conflict with char $ac_func (); below.
63211 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63212 <limits.h> exists even on freestanding compilers. */
63214 #ifdef __STDC__
63215 # include <limits.h>
63216 #else
63217 # include <assert.h>
63218 #endif
63220 #undef $ac_func
63222 /* Override any gcc2 internal prototype to avoid an error. */
63223 #ifdef __cplusplus
63224 extern "C"
63226 #endif
63227 /* We use char because int might match the return type of a gcc2
63228 builtin and then its argument prototype would still apply. */
63229 char $ac_func ();
63230 /* The GNU C library defines this for functions which it implements
63231 to always fail with ENOSYS. Some functions are actually named
63232 something starting with __ and the normal name is an alias. */
63233 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63234 choke me
63235 #else
63236 char (*f) () = $ac_func;
63237 #endif
63238 #ifdef __cplusplus
63240 #endif
63243 main ()
63245 return f != $ac_func;
63247 return 0;
63249 _ACEOF
63250 rm -f conftest.$ac_objext conftest$ac_exeext
63251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63252 (eval $ac_link) 2>conftest.er1
63253 ac_status=$?
63254 grep -v '^ *+' conftest.er1 >conftest.err
63255 rm -f conftest.er1
63256 cat conftest.err >&5
63257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63258 (exit $ac_status); } &&
63259 { ac_try='test -z "$ac_c_werror_flag"
63260 || test ! -s conftest.err'
63261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63262 (eval $ac_try) 2>&5
63263 ac_status=$?
63264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63265 (exit $ac_status); }; } &&
63266 { ac_try='test -s conftest$ac_exeext'
63267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63268 (eval $ac_try) 2>&5
63269 ac_status=$?
63270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63271 (exit $ac_status); }; }; then
63272 eval "$as_ac_var=yes"
63273 else
63274 echo "$as_me: failed program was:" >&5
63275 sed 's/^/| /' conftest.$ac_ext >&5
63277 eval "$as_ac_var=no"
63279 rm -f conftest.err conftest.$ac_objext \
63280 conftest$ac_exeext conftest.$ac_ext
63282 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63283 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63284 if test `eval echo '${'$as_ac_var'}'` = yes; then
63285 cat >>confdefs.h <<_ACEOF
63286 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63287 _ACEOF
63289 else
63290 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
63292 done
63296 # Used in libmath/Makefile.am.
63297 if test -n "$LIBMATHOBJS"; then
63298 need_libmath=yes
63303 ac_test_CXXFLAGS="${CXXFLAGS+set}"
63304 ac_save_CXXFLAGS="$CXXFLAGS"
63305 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
63308 echo "$as_me:$LINENO: checking for strtold declaration" >&5
63309 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
63310 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
63311 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
63312 echo $ECHO_N "(cached) $ECHO_C" >&6
63313 else
63317 ac_ext=cc
63318 ac_cpp='$CXXCPP $CPPFLAGS'
63319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63323 cat >conftest.$ac_ext <<_ACEOF
63324 /* confdefs.h. */
63325 _ACEOF
63326 cat confdefs.h >>conftest.$ac_ext
63327 cat >>conftest.$ac_ext <<_ACEOF
63328 /* end confdefs.h. */
63329 #include <stdlib.h>
63331 main ()
63333 strtold(0, 0);
63335 return 0;
63337 _ACEOF
63338 rm -f conftest.$ac_objext
63339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63340 (eval $ac_compile) 2>conftest.er1
63341 ac_status=$?
63342 grep -v '^ *+' conftest.er1 >conftest.err
63343 rm -f conftest.er1
63344 cat conftest.err >&5
63345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63346 (exit $ac_status); } &&
63347 { ac_try='test -z "$ac_cxx_werror_flag"
63348 || test ! -s conftest.err'
63349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63350 (eval $ac_try) 2>&5
63351 ac_status=$?
63352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63353 (exit $ac_status); }; } &&
63354 { ac_try='test -s conftest.$ac_objext'
63355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63356 (eval $ac_try) 2>&5
63357 ac_status=$?
63358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63359 (exit $ac_status); }; }; then
63360 glibcxx_cv_func_strtold_use=yes
63361 else
63362 echo "$as_me: failed program was:" >&5
63363 sed 's/^/| /' conftest.$ac_ext >&5
63365 glibcxx_cv_func_strtold_use=no
63367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63368 ac_ext=c
63369 ac_cpp='$CPP $CPPFLAGS'
63370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63378 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
63379 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
63380 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
63382 for ac_func in strtold
63384 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63385 echo "$as_me:$LINENO: checking for $ac_func" >&5
63386 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63387 if eval "test \"\${$as_ac_var+set}\" = set"; then
63388 echo $ECHO_N "(cached) $ECHO_C" >&6
63389 else
63390 if test x$gcc_no_link = xyes; then
63391 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63392 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63393 { (exit 1); exit 1; }; }
63395 cat >conftest.$ac_ext <<_ACEOF
63396 /* confdefs.h. */
63397 _ACEOF
63398 cat confdefs.h >>conftest.$ac_ext
63399 cat >>conftest.$ac_ext <<_ACEOF
63400 /* end confdefs.h. */
63401 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63402 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63403 #define $ac_func innocuous_$ac_func
63405 /* System header to define __stub macros and hopefully few prototypes,
63406 which can conflict with char $ac_func (); below.
63407 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63408 <limits.h> exists even on freestanding compilers. */
63410 #ifdef __STDC__
63411 # include <limits.h>
63412 #else
63413 # include <assert.h>
63414 #endif
63416 #undef $ac_func
63418 /* Override any gcc2 internal prototype to avoid an error. */
63419 #ifdef __cplusplus
63420 extern "C"
63422 #endif
63423 /* We use char because int might match the return type of a gcc2
63424 builtin and then its argument prototype would still apply. */
63425 char $ac_func ();
63426 /* The GNU C library defines this for functions which it implements
63427 to always fail with ENOSYS. Some functions are actually named
63428 something starting with __ and the normal name is an alias. */
63429 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63430 choke me
63431 #else
63432 char (*f) () = $ac_func;
63433 #endif
63434 #ifdef __cplusplus
63436 #endif
63439 main ()
63441 return f != $ac_func;
63443 return 0;
63445 _ACEOF
63446 rm -f conftest.$ac_objext conftest$ac_exeext
63447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63448 (eval $ac_link) 2>conftest.er1
63449 ac_status=$?
63450 grep -v '^ *+' conftest.er1 >conftest.err
63451 rm -f conftest.er1
63452 cat conftest.err >&5
63453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63454 (exit $ac_status); } &&
63455 { ac_try='test -z "$ac_c_werror_flag"
63456 || test ! -s conftest.err'
63457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63458 (eval $ac_try) 2>&5
63459 ac_status=$?
63460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63461 (exit $ac_status); }; } &&
63462 { ac_try='test -s conftest$ac_exeext'
63463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63464 (eval $ac_try) 2>&5
63465 ac_status=$?
63466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63467 (exit $ac_status); }; }; then
63468 eval "$as_ac_var=yes"
63469 else
63470 echo "$as_me: failed program was:" >&5
63471 sed 's/^/| /' conftest.$ac_ext >&5
63473 eval "$as_ac_var=no"
63475 rm -f conftest.err conftest.$ac_objext \
63476 conftest$ac_exeext conftest.$ac_ext
63478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63479 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63480 if test `eval echo '${'$as_ac_var'}'` = yes; then
63481 cat >>confdefs.h <<_ACEOF
63482 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63483 _ACEOF
63486 done
63494 echo "$as_me:$LINENO: checking for strtof declaration" >&5
63495 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
63496 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
63497 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
63498 echo $ECHO_N "(cached) $ECHO_C" >&6
63499 else
63503 ac_ext=cc
63504 ac_cpp='$CXXCPP $CPPFLAGS'
63505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63509 cat >conftest.$ac_ext <<_ACEOF
63510 /* confdefs.h. */
63511 _ACEOF
63512 cat confdefs.h >>conftest.$ac_ext
63513 cat >>conftest.$ac_ext <<_ACEOF
63514 /* end confdefs.h. */
63515 #include <stdlib.h>
63517 main ()
63519 strtof(0, 0);
63521 return 0;
63523 _ACEOF
63524 rm -f conftest.$ac_objext
63525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63526 (eval $ac_compile) 2>conftest.er1
63527 ac_status=$?
63528 grep -v '^ *+' conftest.er1 >conftest.err
63529 rm -f conftest.er1
63530 cat conftest.err >&5
63531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63532 (exit $ac_status); } &&
63533 { ac_try='test -z "$ac_cxx_werror_flag"
63534 || test ! -s conftest.err'
63535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63536 (eval $ac_try) 2>&5
63537 ac_status=$?
63538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63539 (exit $ac_status); }; } &&
63540 { ac_try='test -s conftest.$ac_objext'
63541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63542 (eval $ac_try) 2>&5
63543 ac_status=$?
63544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63545 (exit $ac_status); }; }; then
63546 glibcxx_cv_func_strtof_use=yes
63547 else
63548 echo "$as_me: failed program was:" >&5
63549 sed 's/^/| /' conftest.$ac_ext >&5
63551 glibcxx_cv_func_strtof_use=no
63553 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63554 ac_ext=c
63555 ac_cpp='$CPP $CPPFLAGS'
63556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63564 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
63565 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
63566 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
63568 for ac_func in strtof
63570 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63571 echo "$as_me:$LINENO: checking for $ac_func" >&5
63572 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63573 if eval "test \"\${$as_ac_var+set}\" = set"; then
63574 echo $ECHO_N "(cached) $ECHO_C" >&6
63575 else
63576 if test x$gcc_no_link = xyes; then
63577 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63578 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63579 { (exit 1); exit 1; }; }
63581 cat >conftest.$ac_ext <<_ACEOF
63582 /* confdefs.h. */
63583 _ACEOF
63584 cat confdefs.h >>conftest.$ac_ext
63585 cat >>conftest.$ac_ext <<_ACEOF
63586 /* end confdefs.h. */
63587 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63588 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63589 #define $ac_func innocuous_$ac_func
63591 /* System header to define __stub macros and hopefully few prototypes,
63592 which can conflict with char $ac_func (); below.
63593 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63594 <limits.h> exists even on freestanding compilers. */
63596 #ifdef __STDC__
63597 # include <limits.h>
63598 #else
63599 # include <assert.h>
63600 #endif
63602 #undef $ac_func
63604 /* Override any gcc2 internal prototype to avoid an error. */
63605 #ifdef __cplusplus
63606 extern "C"
63608 #endif
63609 /* We use char because int might match the return type of a gcc2
63610 builtin and then its argument prototype would still apply. */
63611 char $ac_func ();
63612 /* The GNU C library defines this for functions which it implements
63613 to always fail with ENOSYS. Some functions are actually named
63614 something starting with __ and the normal name is an alias. */
63615 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63616 choke me
63617 #else
63618 char (*f) () = $ac_func;
63619 #endif
63620 #ifdef __cplusplus
63622 #endif
63625 main ()
63627 return f != $ac_func;
63629 return 0;
63631 _ACEOF
63632 rm -f conftest.$ac_objext conftest$ac_exeext
63633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63634 (eval $ac_link) 2>conftest.er1
63635 ac_status=$?
63636 grep -v '^ *+' conftest.er1 >conftest.err
63637 rm -f conftest.er1
63638 cat conftest.err >&5
63639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63640 (exit $ac_status); } &&
63641 { ac_try='test -z "$ac_c_werror_flag"
63642 || test ! -s conftest.err'
63643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63644 (eval $ac_try) 2>&5
63645 ac_status=$?
63646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63647 (exit $ac_status); }; } &&
63648 { ac_try='test -s conftest$ac_exeext'
63649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63650 (eval $ac_try) 2>&5
63651 ac_status=$?
63652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63653 (exit $ac_status); }; }; then
63654 eval "$as_ac_var=yes"
63655 else
63656 echo "$as_me: failed program was:" >&5
63657 sed 's/^/| /' conftest.$ac_ext >&5
63659 eval "$as_ac_var=no"
63661 rm -f conftest.err conftest.$ac_objext \
63662 conftest$ac_exeext conftest.$ac_ext
63664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63665 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63666 if test `eval echo '${'$as_ac_var'}'` = yes; then
63667 cat >>confdefs.h <<_ACEOF
63668 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63669 _ACEOF
63672 done
63680 CXXFLAGS="$ac_save_CXXFLAGS"
63683 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
63684 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
63685 if test "${glibcxx_cv_S_ISREG+set}" = set; then
63686 echo $ECHO_N "(cached) $ECHO_C" >&6
63687 else
63689 if test x$gcc_no_link = xyes; then
63690 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63691 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63692 { (exit 1); exit 1; }; }
63694 cat >conftest.$ac_ext <<_ACEOF
63695 /* confdefs.h. */
63696 _ACEOF
63697 cat confdefs.h >>conftest.$ac_ext
63698 cat >>conftest.$ac_ext <<_ACEOF
63699 /* end confdefs.h. */
63700 #include <sys/stat.h>
63702 main ()
63704 struct stat buffer;
63705 fstat(0, &buffer);
63706 S_ISREG(buffer.st_mode);
63708 return 0;
63710 _ACEOF
63711 rm -f conftest.$ac_objext conftest$ac_exeext
63712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63713 (eval $ac_link) 2>conftest.er1
63714 ac_status=$?
63715 grep -v '^ *+' conftest.er1 >conftest.err
63716 rm -f conftest.er1
63717 cat conftest.err >&5
63718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63719 (exit $ac_status); } &&
63720 { ac_try='test -z "$ac_c_werror_flag"
63721 || test ! -s conftest.err'
63722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63723 (eval $ac_try) 2>&5
63724 ac_status=$?
63725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63726 (exit $ac_status); }; } &&
63727 { ac_try='test -s conftest$ac_exeext'
63728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63729 (eval $ac_try) 2>&5
63730 ac_status=$?
63731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63732 (exit $ac_status); }; }; then
63733 glibcxx_cv_S_ISREG=yes
63734 else
63735 echo "$as_me: failed program was:" >&5
63736 sed 's/^/| /' conftest.$ac_ext >&5
63738 glibcxx_cv_S_ISREG=no
63740 rm -f conftest.err conftest.$ac_objext \
63741 conftest$ac_exeext conftest.$ac_ext
63745 if test "${glibcxx_cv_S_IFREG+set}" = set; then
63746 echo $ECHO_N "(cached) $ECHO_C" >&6
63747 else
63749 if test x$gcc_no_link = xyes; then
63750 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63751 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63752 { (exit 1); exit 1; }; }
63754 cat >conftest.$ac_ext <<_ACEOF
63755 /* confdefs.h. */
63756 _ACEOF
63757 cat confdefs.h >>conftest.$ac_ext
63758 cat >>conftest.$ac_ext <<_ACEOF
63759 /* end confdefs.h. */
63760 #include <sys/stat.h>
63762 main ()
63764 struct stat buffer;
63765 fstat(0, &buffer);
63766 S_IFREG & buffer.st_mode;
63768 return 0;
63770 _ACEOF
63771 rm -f conftest.$ac_objext conftest$ac_exeext
63772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63773 (eval $ac_link) 2>conftest.er1
63774 ac_status=$?
63775 grep -v '^ *+' conftest.er1 >conftest.err
63776 rm -f conftest.er1
63777 cat conftest.err >&5
63778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63779 (exit $ac_status); } &&
63780 { ac_try='test -z "$ac_c_werror_flag"
63781 || test ! -s conftest.err'
63782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63783 (eval $ac_try) 2>&5
63784 ac_status=$?
63785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63786 (exit $ac_status); }; } &&
63787 { ac_try='test -s conftest$ac_exeext'
63788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63789 (eval $ac_try) 2>&5
63790 ac_status=$?
63791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63792 (exit $ac_status); }; }; then
63793 glibcxx_cv_S_IFREG=yes
63794 else
63795 echo "$as_me: failed program was:" >&5
63796 sed 's/^/| /' conftest.$ac_ext >&5
63798 glibcxx_cv_S_IFREG=no
63800 rm -f conftest.err conftest.$ac_objext \
63801 conftest$ac_exeext conftest.$ac_ext
63805 res=no
63806 if test $glibcxx_cv_S_ISREG = yes; then
63808 cat >>confdefs.h <<\_ACEOF
63809 #define HAVE_S_ISREG 1
63810 _ACEOF
63812 res=S_ISREG
63813 elif test $glibcxx_cv_S_IFREG = yes; then
63815 cat >>confdefs.h <<\_ACEOF
63816 #define HAVE_S_IFREG 1
63817 _ACEOF
63819 res=S_IFREG
63821 echo "$as_me:$LINENO: result: $res" >&5
63822 echo "${ECHO_T}$res" >&6
63824 cat >>confdefs.h <<\_ACEOF
63825 #define HAVE_SIGSETJMP 1
63826 _ACEOF
63828 cat >>confdefs.h <<\_ACEOF
63829 #define HAVE_GETPAGESIZE 1
63830 _ACEOF
63832 cat >>confdefs.h <<\_ACEOF
63833 #define HAVE_WRITEV 1
63834 _ACEOF
63836 cat >>confdefs.h <<\_ACEOF
63837 #define HAVE_INT64_T 1
63838 _ACEOF
63841 cat >>confdefs.h <<\_ACEOF
63842 #define HAVE_LIBM 1
63843 _ACEOF
63845 cat >>confdefs.h <<\_ACEOF
63846 #define HAVE_COPYSIGN 1
63847 _ACEOF
63849 cat >>confdefs.h <<\_ACEOF
63850 #define HAVE_FINITE 1
63851 _ACEOF
63853 cat >>confdefs.h <<\_ACEOF
63854 #define HAVE_HYPOT 1
63855 _ACEOF
63857 cat >>confdefs.h <<\_ACEOF
63858 #define HAVE_ISNAN 1
63859 _ACEOF
63861 cat >>confdefs.h <<\_ACEOF
63862 #define HAVE_ISINF 1
63863 _ACEOF
63866 cat >>confdefs.h <<\_ACEOF
63867 #define HAVE_LDEXPF 1
63868 _ACEOF
63870 cat >>confdefs.h <<\_ACEOF
63871 #define HAVE_MODF 1
63872 _ACEOF
63874 cat >>confdefs.h <<\_ACEOF
63875 #define HAVE_SQRTF 1
63876 _ACEOF
63880 *-darwin*)
63881 # Darwin versions vary, but the linker should work in a cross environment,
63882 # so we just check for all the features here.
63883 # Check for available headers.
63897 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
63898 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
63899 sys/types.h
63901 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
63902 if eval "test \"\${$as_ac_Header+set}\" = set"; then
63903 echo "$as_me:$LINENO: checking for $ac_header" >&5
63904 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
63905 if eval "test \"\${$as_ac_Header+set}\" = set"; then
63906 echo $ECHO_N "(cached) $ECHO_C" >&6
63908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
63909 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
63910 else
63911 # Is the header compilable?
63912 echo "$as_me:$LINENO: checking $ac_header usability" >&5
63913 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
63914 cat >conftest.$ac_ext <<_ACEOF
63915 /* confdefs.h. */
63916 _ACEOF
63917 cat confdefs.h >>conftest.$ac_ext
63918 cat >>conftest.$ac_ext <<_ACEOF
63919 /* end confdefs.h. */
63920 $ac_includes_default
63921 #include <$ac_header>
63922 _ACEOF
63923 rm -f conftest.$ac_objext
63924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63925 (eval $ac_compile) 2>conftest.er1
63926 ac_status=$?
63927 grep -v '^ *+' conftest.er1 >conftest.err
63928 rm -f conftest.er1
63929 cat conftest.err >&5
63930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63931 (exit $ac_status); } &&
63932 { ac_try='test -z "$ac_c_werror_flag"
63933 || test ! -s conftest.err'
63934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63935 (eval $ac_try) 2>&5
63936 ac_status=$?
63937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63938 (exit $ac_status); }; } &&
63939 { ac_try='test -s conftest.$ac_objext'
63940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63941 (eval $ac_try) 2>&5
63942 ac_status=$?
63943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63944 (exit $ac_status); }; }; then
63945 ac_header_compiler=yes
63946 else
63947 echo "$as_me: failed program was:" >&5
63948 sed 's/^/| /' conftest.$ac_ext >&5
63950 ac_header_compiler=no
63952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63953 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
63954 echo "${ECHO_T}$ac_header_compiler" >&6
63956 # Is the header present?
63957 echo "$as_me:$LINENO: checking $ac_header presence" >&5
63958 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
63959 cat >conftest.$ac_ext <<_ACEOF
63960 /* confdefs.h. */
63961 _ACEOF
63962 cat confdefs.h >>conftest.$ac_ext
63963 cat >>conftest.$ac_ext <<_ACEOF
63964 /* end confdefs.h. */
63965 #include <$ac_header>
63966 _ACEOF
63967 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
63968 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
63969 ac_status=$?
63970 grep -v '^ *+' conftest.er1 >conftest.err
63971 rm -f conftest.er1
63972 cat conftest.err >&5
63973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63974 (exit $ac_status); } >/dev/null; then
63975 if test -s conftest.err; then
63976 ac_cpp_err=$ac_c_preproc_warn_flag
63977 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
63978 else
63979 ac_cpp_err=
63981 else
63982 ac_cpp_err=yes
63984 if test -z "$ac_cpp_err"; then
63985 ac_header_preproc=yes
63986 else
63987 echo "$as_me: failed program was:" >&5
63988 sed 's/^/| /' conftest.$ac_ext >&5
63990 ac_header_preproc=no
63992 rm -f conftest.err conftest.$ac_ext
63993 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
63994 echo "${ECHO_T}$ac_header_preproc" >&6
63996 # So? What about this header?
63997 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
63998 yes:no: )
63999 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
64000 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
64001 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
64002 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
64003 ac_header_preproc=yes
64005 no:yes:* )
64006 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
64007 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
64008 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
64009 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
64010 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
64011 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
64012 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
64013 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
64014 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
64015 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
64016 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
64017 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
64019 cat <<\_ASBOX
64020 ## ----------------------------------------- ##
64021 ## Report this to the package-unused lists. ##
64022 ## ----------------------------------------- ##
64023 _ASBOX
64025 sed "s/^/$as_me: WARNING: /" >&2
64027 esac
64028 echo "$as_me:$LINENO: checking for $ac_header" >&5
64029 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
64030 if eval "test \"\${$as_ac_Header+set}\" = set"; then
64031 echo $ECHO_N "(cached) $ECHO_C" >&6
64032 else
64033 eval "$as_ac_Header=\$ac_header_preproc"
64035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
64036 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
64039 if test `eval echo '${'$as_ac_Header'}'` = yes; then
64040 cat >>confdefs.h <<_ACEOF
64041 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
64042 _ACEOF
64046 done
64049 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
64051 ac_test_CXXFLAGS="${CXXFLAGS+set}"
64052 ac_save_CXXFLAGS="$CXXFLAGS"
64053 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
64055 echo "$as_me:$LINENO: checking for sin in -lm" >&5
64056 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
64057 if test "${ac_cv_lib_m_sin+set}" = set; then
64058 echo $ECHO_N "(cached) $ECHO_C" >&6
64059 else
64060 ac_check_lib_save_LIBS=$LIBS
64061 LIBS="-lm $LIBS"
64062 if test x$gcc_no_link = xyes; then
64063 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64064 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64065 { (exit 1); exit 1; }; }
64067 cat >conftest.$ac_ext <<_ACEOF
64068 /* confdefs.h. */
64069 _ACEOF
64070 cat confdefs.h >>conftest.$ac_ext
64071 cat >>conftest.$ac_ext <<_ACEOF
64072 /* end confdefs.h. */
64074 /* Override any gcc2 internal prototype to avoid an error. */
64075 #ifdef __cplusplus
64076 extern "C"
64077 #endif
64078 /* We use char because int might match the return type of a gcc2
64079 builtin and then its argument prototype would still apply. */
64080 char sin ();
64082 main ()
64084 sin ();
64086 return 0;
64088 _ACEOF
64089 rm -f conftest.$ac_objext conftest$ac_exeext
64090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64091 (eval $ac_link) 2>conftest.er1
64092 ac_status=$?
64093 grep -v '^ *+' conftest.er1 >conftest.err
64094 rm -f conftest.er1
64095 cat conftest.err >&5
64096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64097 (exit $ac_status); } &&
64098 { ac_try='test -z "$ac_c_werror_flag"
64099 || test ! -s conftest.err'
64100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64101 (eval $ac_try) 2>&5
64102 ac_status=$?
64103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64104 (exit $ac_status); }; } &&
64105 { ac_try='test -s conftest$ac_exeext'
64106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64107 (eval $ac_try) 2>&5
64108 ac_status=$?
64109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64110 (exit $ac_status); }; }; then
64111 ac_cv_lib_m_sin=yes
64112 else
64113 echo "$as_me: failed program was:" >&5
64114 sed 's/^/| /' conftest.$ac_ext >&5
64116 ac_cv_lib_m_sin=no
64118 rm -f conftest.err conftest.$ac_objext \
64119 conftest$ac_exeext conftest.$ac_ext
64120 LIBS=$ac_check_lib_save_LIBS
64122 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
64123 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
64124 if test $ac_cv_lib_m_sin = yes; then
64125 libm="-lm"
64128 ac_save_LIBS="$LIBS"
64129 LIBS="$LIBS $libm"
64133 echo "$as_me:$LINENO: checking for isinf declaration" >&5
64134 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
64135 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
64136 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
64137 echo $ECHO_N "(cached) $ECHO_C" >&6
64138 else
64142 ac_ext=cc
64143 ac_cpp='$CXXCPP $CPPFLAGS'
64144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64148 cat >conftest.$ac_ext <<_ACEOF
64149 /* confdefs.h. */
64150 _ACEOF
64151 cat confdefs.h >>conftest.$ac_ext
64152 cat >>conftest.$ac_ext <<_ACEOF
64153 /* end confdefs.h. */
64154 #include <math.h>
64155 #ifdef HAVE_IEEEFP_H
64156 #include <ieeefp.h>
64157 #endif
64160 main ()
64162 isinf(0);
64164 return 0;
64166 _ACEOF
64167 rm -f conftest.$ac_objext
64168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64169 (eval $ac_compile) 2>conftest.er1
64170 ac_status=$?
64171 grep -v '^ *+' conftest.er1 >conftest.err
64172 rm -f conftest.er1
64173 cat conftest.err >&5
64174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64175 (exit $ac_status); } &&
64176 { ac_try='test -z "$ac_cxx_werror_flag"
64177 || test ! -s conftest.err'
64178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64179 (eval $ac_try) 2>&5
64180 ac_status=$?
64181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64182 (exit $ac_status); }; } &&
64183 { ac_try='test -s conftest.$ac_objext'
64184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64185 (eval $ac_try) 2>&5
64186 ac_status=$?
64187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64188 (exit $ac_status); }; }; then
64189 glibcxx_cv_func_isinf_use=yes
64190 else
64191 echo "$as_me: failed program was:" >&5
64192 sed 's/^/| /' conftest.$ac_ext >&5
64194 glibcxx_cv_func_isinf_use=no
64196 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64197 ac_ext=c
64198 ac_cpp='$CPP $CPPFLAGS'
64199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64207 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
64208 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
64210 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
64212 for ac_func in isinf
64214 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64215 echo "$as_me:$LINENO: checking for $ac_func" >&5
64216 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64217 if eval "test \"\${$as_ac_var+set}\" = set"; then
64218 echo $ECHO_N "(cached) $ECHO_C" >&6
64219 else
64220 if test x$gcc_no_link = xyes; then
64221 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64222 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64223 { (exit 1); exit 1; }; }
64225 cat >conftest.$ac_ext <<_ACEOF
64226 /* confdefs.h. */
64227 _ACEOF
64228 cat confdefs.h >>conftest.$ac_ext
64229 cat >>conftest.$ac_ext <<_ACEOF
64230 /* end confdefs.h. */
64231 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64232 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64233 #define $ac_func innocuous_$ac_func
64235 /* System header to define __stub macros and hopefully few prototypes,
64236 which can conflict with char $ac_func (); below.
64237 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64238 <limits.h> exists even on freestanding compilers. */
64240 #ifdef __STDC__
64241 # include <limits.h>
64242 #else
64243 # include <assert.h>
64244 #endif
64246 #undef $ac_func
64248 /* Override any gcc2 internal prototype to avoid an error. */
64249 #ifdef __cplusplus
64250 extern "C"
64252 #endif
64253 /* We use char because int might match the return type of a gcc2
64254 builtin and then its argument prototype would still apply. */
64255 char $ac_func ();
64256 /* The GNU C library defines this for functions which it implements
64257 to always fail with ENOSYS. Some functions are actually named
64258 something starting with __ and the normal name is an alias. */
64259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64260 choke me
64261 #else
64262 char (*f) () = $ac_func;
64263 #endif
64264 #ifdef __cplusplus
64266 #endif
64269 main ()
64271 return f != $ac_func;
64273 return 0;
64275 _ACEOF
64276 rm -f conftest.$ac_objext conftest$ac_exeext
64277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64278 (eval $ac_link) 2>conftest.er1
64279 ac_status=$?
64280 grep -v '^ *+' conftest.er1 >conftest.err
64281 rm -f conftest.er1
64282 cat conftest.err >&5
64283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64284 (exit $ac_status); } &&
64285 { ac_try='test -z "$ac_c_werror_flag"
64286 || test ! -s conftest.err'
64287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64288 (eval $ac_try) 2>&5
64289 ac_status=$?
64290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64291 (exit $ac_status); }; } &&
64292 { ac_try='test -s conftest$ac_exeext'
64293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64294 (eval $ac_try) 2>&5
64295 ac_status=$?
64296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64297 (exit $ac_status); }; }; then
64298 eval "$as_ac_var=yes"
64299 else
64300 echo "$as_me: failed program was:" >&5
64301 sed 's/^/| /' conftest.$ac_ext >&5
64303 eval "$as_ac_var=no"
64305 rm -f conftest.err conftest.$ac_objext \
64306 conftest$ac_exeext conftest.$ac_ext
64308 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64309 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64310 if test `eval echo '${'$as_ac_var'}'` = yes; then
64311 cat >>confdefs.h <<_ACEOF
64312 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64313 _ACEOF
64316 done
64318 else
64320 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
64321 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
64322 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
64323 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
64324 echo $ECHO_N "(cached) $ECHO_C" >&6
64325 else
64329 ac_ext=cc
64330 ac_cpp='$CXXCPP $CPPFLAGS'
64331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64335 cat >conftest.$ac_ext <<_ACEOF
64336 /* confdefs.h. */
64337 _ACEOF
64338 cat confdefs.h >>conftest.$ac_ext
64339 cat >>conftest.$ac_ext <<_ACEOF
64340 /* end confdefs.h. */
64341 #include <math.h>
64342 #ifdef HAVE_IEEEFP_H
64343 #include <ieeefp.h>
64344 #endif
64347 main ()
64349 _isinf(0);
64351 return 0;
64353 _ACEOF
64354 rm -f conftest.$ac_objext
64355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64356 (eval $ac_compile) 2>conftest.er1
64357 ac_status=$?
64358 grep -v '^ *+' conftest.er1 >conftest.err
64359 rm -f conftest.er1
64360 cat conftest.err >&5
64361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64362 (exit $ac_status); } &&
64363 { ac_try='test -z "$ac_cxx_werror_flag"
64364 || test ! -s conftest.err'
64365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64366 (eval $ac_try) 2>&5
64367 ac_status=$?
64368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64369 (exit $ac_status); }; } &&
64370 { ac_try='test -s conftest.$ac_objext'
64371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64372 (eval $ac_try) 2>&5
64373 ac_status=$?
64374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64375 (exit $ac_status); }; }; then
64376 glibcxx_cv_func__isinf_use=yes
64377 else
64378 echo "$as_me: failed program was:" >&5
64379 sed 's/^/| /' conftest.$ac_ext >&5
64381 glibcxx_cv_func__isinf_use=no
64383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64384 ac_ext=c
64385 ac_cpp='$CPP $CPPFLAGS'
64386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64394 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
64395 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
64397 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
64399 for ac_func in _isinf
64401 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64402 echo "$as_me:$LINENO: checking for $ac_func" >&5
64403 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64404 if eval "test \"\${$as_ac_var+set}\" = set"; then
64405 echo $ECHO_N "(cached) $ECHO_C" >&6
64406 else
64407 if test x$gcc_no_link = xyes; then
64408 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64409 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64410 { (exit 1); exit 1; }; }
64412 cat >conftest.$ac_ext <<_ACEOF
64413 /* confdefs.h. */
64414 _ACEOF
64415 cat confdefs.h >>conftest.$ac_ext
64416 cat >>conftest.$ac_ext <<_ACEOF
64417 /* end confdefs.h. */
64418 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64419 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64420 #define $ac_func innocuous_$ac_func
64422 /* System header to define __stub macros and hopefully few prototypes,
64423 which can conflict with char $ac_func (); below.
64424 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64425 <limits.h> exists even on freestanding compilers. */
64427 #ifdef __STDC__
64428 # include <limits.h>
64429 #else
64430 # include <assert.h>
64431 #endif
64433 #undef $ac_func
64435 /* Override any gcc2 internal prototype to avoid an error. */
64436 #ifdef __cplusplus
64437 extern "C"
64439 #endif
64440 /* We use char because int might match the return type of a gcc2
64441 builtin and then its argument prototype would still apply. */
64442 char $ac_func ();
64443 /* The GNU C library defines this for functions which it implements
64444 to always fail with ENOSYS. Some functions are actually named
64445 something starting with __ and the normal name is an alias. */
64446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64447 choke me
64448 #else
64449 char (*f) () = $ac_func;
64450 #endif
64451 #ifdef __cplusplus
64453 #endif
64456 main ()
64458 return f != $ac_func;
64460 return 0;
64462 _ACEOF
64463 rm -f conftest.$ac_objext conftest$ac_exeext
64464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64465 (eval $ac_link) 2>conftest.er1
64466 ac_status=$?
64467 grep -v '^ *+' conftest.er1 >conftest.err
64468 rm -f conftest.er1
64469 cat conftest.err >&5
64470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64471 (exit $ac_status); } &&
64472 { ac_try='test -z "$ac_c_werror_flag"
64473 || test ! -s conftest.err'
64474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64475 (eval $ac_try) 2>&5
64476 ac_status=$?
64477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64478 (exit $ac_status); }; } &&
64479 { ac_try='test -s conftest$ac_exeext'
64480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64481 (eval $ac_try) 2>&5
64482 ac_status=$?
64483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64484 (exit $ac_status); }; }; then
64485 eval "$as_ac_var=yes"
64486 else
64487 echo "$as_me: failed program was:" >&5
64488 sed 's/^/| /' conftest.$ac_ext >&5
64490 eval "$as_ac_var=no"
64492 rm -f conftest.err conftest.$ac_objext \
64493 conftest$ac_exeext conftest.$ac_ext
64495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64496 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64497 if test `eval echo '${'$as_ac_var'}'` = yes; then
64498 cat >>confdefs.h <<_ACEOF
64499 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64500 _ACEOF
64503 done
64513 echo "$as_me:$LINENO: checking for isnan declaration" >&5
64514 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
64515 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
64516 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
64517 echo $ECHO_N "(cached) $ECHO_C" >&6
64518 else
64522 ac_ext=cc
64523 ac_cpp='$CXXCPP $CPPFLAGS'
64524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64528 cat >conftest.$ac_ext <<_ACEOF
64529 /* confdefs.h. */
64530 _ACEOF
64531 cat confdefs.h >>conftest.$ac_ext
64532 cat >>conftest.$ac_ext <<_ACEOF
64533 /* end confdefs.h. */
64534 #include <math.h>
64535 #ifdef HAVE_IEEEFP_H
64536 #include <ieeefp.h>
64537 #endif
64540 main ()
64542 isnan(0);
64544 return 0;
64546 _ACEOF
64547 rm -f conftest.$ac_objext
64548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64549 (eval $ac_compile) 2>conftest.er1
64550 ac_status=$?
64551 grep -v '^ *+' conftest.er1 >conftest.err
64552 rm -f conftest.er1
64553 cat conftest.err >&5
64554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64555 (exit $ac_status); } &&
64556 { ac_try='test -z "$ac_cxx_werror_flag"
64557 || test ! -s conftest.err'
64558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64559 (eval $ac_try) 2>&5
64560 ac_status=$?
64561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64562 (exit $ac_status); }; } &&
64563 { ac_try='test -s conftest.$ac_objext'
64564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64565 (eval $ac_try) 2>&5
64566 ac_status=$?
64567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64568 (exit $ac_status); }; }; then
64569 glibcxx_cv_func_isnan_use=yes
64570 else
64571 echo "$as_me: failed program was:" >&5
64572 sed 's/^/| /' conftest.$ac_ext >&5
64574 glibcxx_cv_func_isnan_use=no
64576 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64577 ac_ext=c
64578 ac_cpp='$CPP $CPPFLAGS'
64579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64587 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
64588 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
64590 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
64592 for ac_func in isnan
64594 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64595 echo "$as_me:$LINENO: checking for $ac_func" >&5
64596 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64597 if eval "test \"\${$as_ac_var+set}\" = set"; then
64598 echo $ECHO_N "(cached) $ECHO_C" >&6
64599 else
64600 if test x$gcc_no_link = xyes; then
64601 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64602 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64603 { (exit 1); exit 1; }; }
64605 cat >conftest.$ac_ext <<_ACEOF
64606 /* confdefs.h. */
64607 _ACEOF
64608 cat confdefs.h >>conftest.$ac_ext
64609 cat >>conftest.$ac_ext <<_ACEOF
64610 /* end confdefs.h. */
64611 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64612 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64613 #define $ac_func innocuous_$ac_func
64615 /* System header to define __stub macros and hopefully few prototypes,
64616 which can conflict with char $ac_func (); below.
64617 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64618 <limits.h> exists even on freestanding compilers. */
64620 #ifdef __STDC__
64621 # include <limits.h>
64622 #else
64623 # include <assert.h>
64624 #endif
64626 #undef $ac_func
64628 /* Override any gcc2 internal prototype to avoid an error. */
64629 #ifdef __cplusplus
64630 extern "C"
64632 #endif
64633 /* We use char because int might match the return type of a gcc2
64634 builtin and then its argument prototype would still apply. */
64635 char $ac_func ();
64636 /* The GNU C library defines this for functions which it implements
64637 to always fail with ENOSYS. Some functions are actually named
64638 something starting with __ and the normal name is an alias. */
64639 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64640 choke me
64641 #else
64642 char (*f) () = $ac_func;
64643 #endif
64644 #ifdef __cplusplus
64646 #endif
64649 main ()
64651 return f != $ac_func;
64653 return 0;
64655 _ACEOF
64656 rm -f conftest.$ac_objext conftest$ac_exeext
64657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64658 (eval $ac_link) 2>conftest.er1
64659 ac_status=$?
64660 grep -v '^ *+' conftest.er1 >conftest.err
64661 rm -f conftest.er1
64662 cat conftest.err >&5
64663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64664 (exit $ac_status); } &&
64665 { ac_try='test -z "$ac_c_werror_flag"
64666 || test ! -s conftest.err'
64667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64668 (eval $ac_try) 2>&5
64669 ac_status=$?
64670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64671 (exit $ac_status); }; } &&
64672 { ac_try='test -s conftest$ac_exeext'
64673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64674 (eval $ac_try) 2>&5
64675 ac_status=$?
64676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64677 (exit $ac_status); }; }; then
64678 eval "$as_ac_var=yes"
64679 else
64680 echo "$as_me: failed program was:" >&5
64681 sed 's/^/| /' conftest.$ac_ext >&5
64683 eval "$as_ac_var=no"
64685 rm -f conftest.err conftest.$ac_objext \
64686 conftest$ac_exeext conftest.$ac_ext
64688 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64689 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64690 if test `eval echo '${'$as_ac_var'}'` = yes; then
64691 cat >>confdefs.h <<_ACEOF
64692 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64693 _ACEOF
64696 done
64698 else
64700 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
64701 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
64702 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
64703 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
64704 echo $ECHO_N "(cached) $ECHO_C" >&6
64705 else
64709 ac_ext=cc
64710 ac_cpp='$CXXCPP $CPPFLAGS'
64711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64715 cat >conftest.$ac_ext <<_ACEOF
64716 /* confdefs.h. */
64717 _ACEOF
64718 cat confdefs.h >>conftest.$ac_ext
64719 cat >>conftest.$ac_ext <<_ACEOF
64720 /* end confdefs.h. */
64721 #include <math.h>
64722 #ifdef HAVE_IEEEFP_H
64723 #include <ieeefp.h>
64724 #endif
64727 main ()
64729 _isnan(0);
64731 return 0;
64733 _ACEOF
64734 rm -f conftest.$ac_objext
64735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64736 (eval $ac_compile) 2>conftest.er1
64737 ac_status=$?
64738 grep -v '^ *+' conftest.er1 >conftest.err
64739 rm -f conftest.er1
64740 cat conftest.err >&5
64741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64742 (exit $ac_status); } &&
64743 { ac_try='test -z "$ac_cxx_werror_flag"
64744 || test ! -s conftest.err'
64745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64746 (eval $ac_try) 2>&5
64747 ac_status=$?
64748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64749 (exit $ac_status); }; } &&
64750 { ac_try='test -s conftest.$ac_objext'
64751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64752 (eval $ac_try) 2>&5
64753 ac_status=$?
64754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64755 (exit $ac_status); }; }; then
64756 glibcxx_cv_func__isnan_use=yes
64757 else
64758 echo "$as_me: failed program was:" >&5
64759 sed 's/^/| /' conftest.$ac_ext >&5
64761 glibcxx_cv_func__isnan_use=no
64763 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64764 ac_ext=c
64765 ac_cpp='$CPP $CPPFLAGS'
64766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64774 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
64775 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
64777 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
64779 for ac_func in _isnan
64781 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64782 echo "$as_me:$LINENO: checking for $ac_func" >&5
64783 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64784 if eval "test \"\${$as_ac_var+set}\" = set"; then
64785 echo $ECHO_N "(cached) $ECHO_C" >&6
64786 else
64787 if test x$gcc_no_link = xyes; then
64788 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64789 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64790 { (exit 1); exit 1; }; }
64792 cat >conftest.$ac_ext <<_ACEOF
64793 /* confdefs.h. */
64794 _ACEOF
64795 cat confdefs.h >>conftest.$ac_ext
64796 cat >>conftest.$ac_ext <<_ACEOF
64797 /* end confdefs.h. */
64798 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64799 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64800 #define $ac_func innocuous_$ac_func
64802 /* System header to define __stub macros and hopefully few prototypes,
64803 which can conflict with char $ac_func (); below.
64804 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64805 <limits.h> exists even on freestanding compilers. */
64807 #ifdef __STDC__
64808 # include <limits.h>
64809 #else
64810 # include <assert.h>
64811 #endif
64813 #undef $ac_func
64815 /* Override any gcc2 internal prototype to avoid an error. */
64816 #ifdef __cplusplus
64817 extern "C"
64819 #endif
64820 /* We use char because int might match the return type of a gcc2
64821 builtin and then its argument prototype would still apply. */
64822 char $ac_func ();
64823 /* The GNU C library defines this for functions which it implements
64824 to always fail with ENOSYS. Some functions are actually named
64825 something starting with __ and the normal name is an alias. */
64826 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64827 choke me
64828 #else
64829 char (*f) () = $ac_func;
64830 #endif
64831 #ifdef __cplusplus
64833 #endif
64836 main ()
64838 return f != $ac_func;
64840 return 0;
64842 _ACEOF
64843 rm -f conftest.$ac_objext conftest$ac_exeext
64844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64845 (eval $ac_link) 2>conftest.er1
64846 ac_status=$?
64847 grep -v '^ *+' conftest.er1 >conftest.err
64848 rm -f conftest.er1
64849 cat conftest.err >&5
64850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64851 (exit $ac_status); } &&
64852 { ac_try='test -z "$ac_c_werror_flag"
64853 || test ! -s conftest.err'
64854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64855 (eval $ac_try) 2>&5
64856 ac_status=$?
64857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64858 (exit $ac_status); }; } &&
64859 { ac_try='test -s conftest$ac_exeext'
64860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64861 (eval $ac_try) 2>&5
64862 ac_status=$?
64863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64864 (exit $ac_status); }; }; then
64865 eval "$as_ac_var=yes"
64866 else
64867 echo "$as_me: failed program was:" >&5
64868 sed 's/^/| /' conftest.$ac_ext >&5
64870 eval "$as_ac_var=no"
64872 rm -f conftest.err conftest.$ac_objext \
64873 conftest$ac_exeext conftest.$ac_ext
64875 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64876 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64877 if test `eval echo '${'$as_ac_var'}'` = yes; then
64878 cat >>confdefs.h <<_ACEOF
64879 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64880 _ACEOF
64883 done
64893 echo "$as_me:$LINENO: checking for finite declaration" >&5
64894 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
64895 if test x${glibcxx_cv_func_finite_use+set} != xset; then
64896 if test "${glibcxx_cv_func_finite_use+set}" = set; then
64897 echo $ECHO_N "(cached) $ECHO_C" >&6
64898 else
64902 ac_ext=cc
64903 ac_cpp='$CXXCPP $CPPFLAGS'
64904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64908 cat >conftest.$ac_ext <<_ACEOF
64909 /* confdefs.h. */
64910 _ACEOF
64911 cat confdefs.h >>conftest.$ac_ext
64912 cat >>conftest.$ac_ext <<_ACEOF
64913 /* end confdefs.h. */
64914 #include <math.h>
64915 #ifdef HAVE_IEEEFP_H
64916 #include <ieeefp.h>
64917 #endif
64920 main ()
64922 finite(0);
64924 return 0;
64926 _ACEOF
64927 rm -f conftest.$ac_objext
64928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64929 (eval $ac_compile) 2>conftest.er1
64930 ac_status=$?
64931 grep -v '^ *+' conftest.er1 >conftest.err
64932 rm -f conftest.er1
64933 cat conftest.err >&5
64934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64935 (exit $ac_status); } &&
64936 { ac_try='test -z "$ac_cxx_werror_flag"
64937 || test ! -s conftest.err'
64938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64939 (eval $ac_try) 2>&5
64940 ac_status=$?
64941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64942 (exit $ac_status); }; } &&
64943 { ac_try='test -s conftest.$ac_objext'
64944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64945 (eval $ac_try) 2>&5
64946 ac_status=$?
64947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64948 (exit $ac_status); }; }; then
64949 glibcxx_cv_func_finite_use=yes
64950 else
64951 echo "$as_me: failed program was:" >&5
64952 sed 's/^/| /' conftest.$ac_ext >&5
64954 glibcxx_cv_func_finite_use=no
64956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64957 ac_ext=c
64958 ac_cpp='$CPP $CPPFLAGS'
64959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64967 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
64968 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
64970 if test x$glibcxx_cv_func_finite_use = x"yes"; then
64972 for ac_func in finite
64974 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64975 echo "$as_me:$LINENO: checking for $ac_func" >&5
64976 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64977 if eval "test \"\${$as_ac_var+set}\" = set"; then
64978 echo $ECHO_N "(cached) $ECHO_C" >&6
64979 else
64980 if test x$gcc_no_link = xyes; then
64981 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64982 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64983 { (exit 1); exit 1; }; }
64985 cat >conftest.$ac_ext <<_ACEOF
64986 /* confdefs.h. */
64987 _ACEOF
64988 cat confdefs.h >>conftest.$ac_ext
64989 cat >>conftest.$ac_ext <<_ACEOF
64990 /* end confdefs.h. */
64991 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64992 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64993 #define $ac_func innocuous_$ac_func
64995 /* System header to define __stub macros and hopefully few prototypes,
64996 which can conflict with char $ac_func (); below.
64997 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64998 <limits.h> exists even on freestanding compilers. */
65000 #ifdef __STDC__
65001 # include <limits.h>
65002 #else
65003 # include <assert.h>
65004 #endif
65006 #undef $ac_func
65008 /* Override any gcc2 internal prototype to avoid an error. */
65009 #ifdef __cplusplus
65010 extern "C"
65012 #endif
65013 /* We use char because int might match the return type of a gcc2
65014 builtin and then its argument prototype would still apply. */
65015 char $ac_func ();
65016 /* The GNU C library defines this for functions which it implements
65017 to always fail with ENOSYS. Some functions are actually named
65018 something starting with __ and the normal name is an alias. */
65019 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65020 choke me
65021 #else
65022 char (*f) () = $ac_func;
65023 #endif
65024 #ifdef __cplusplus
65026 #endif
65029 main ()
65031 return f != $ac_func;
65033 return 0;
65035 _ACEOF
65036 rm -f conftest.$ac_objext conftest$ac_exeext
65037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65038 (eval $ac_link) 2>conftest.er1
65039 ac_status=$?
65040 grep -v '^ *+' conftest.er1 >conftest.err
65041 rm -f conftest.er1
65042 cat conftest.err >&5
65043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65044 (exit $ac_status); } &&
65045 { ac_try='test -z "$ac_c_werror_flag"
65046 || test ! -s conftest.err'
65047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65048 (eval $ac_try) 2>&5
65049 ac_status=$?
65050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65051 (exit $ac_status); }; } &&
65052 { ac_try='test -s conftest$ac_exeext'
65053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65054 (eval $ac_try) 2>&5
65055 ac_status=$?
65056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65057 (exit $ac_status); }; }; then
65058 eval "$as_ac_var=yes"
65059 else
65060 echo "$as_me: failed program was:" >&5
65061 sed 's/^/| /' conftest.$ac_ext >&5
65063 eval "$as_ac_var=no"
65065 rm -f conftest.err conftest.$ac_objext \
65066 conftest$ac_exeext conftest.$ac_ext
65068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65069 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65070 if test `eval echo '${'$as_ac_var'}'` = yes; then
65071 cat >>confdefs.h <<_ACEOF
65072 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65073 _ACEOF
65076 done
65078 else
65080 echo "$as_me:$LINENO: checking for _finite declaration" >&5
65081 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
65082 if test x${glibcxx_cv_func__finite_use+set} != xset; then
65083 if test "${glibcxx_cv_func__finite_use+set}" = set; then
65084 echo $ECHO_N "(cached) $ECHO_C" >&6
65085 else
65089 ac_ext=cc
65090 ac_cpp='$CXXCPP $CPPFLAGS'
65091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65095 cat >conftest.$ac_ext <<_ACEOF
65096 /* confdefs.h. */
65097 _ACEOF
65098 cat confdefs.h >>conftest.$ac_ext
65099 cat >>conftest.$ac_ext <<_ACEOF
65100 /* end confdefs.h. */
65101 #include <math.h>
65102 #ifdef HAVE_IEEEFP_H
65103 #include <ieeefp.h>
65104 #endif
65107 main ()
65109 _finite(0);
65111 return 0;
65113 _ACEOF
65114 rm -f conftest.$ac_objext
65115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65116 (eval $ac_compile) 2>conftest.er1
65117 ac_status=$?
65118 grep -v '^ *+' conftest.er1 >conftest.err
65119 rm -f conftest.er1
65120 cat conftest.err >&5
65121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65122 (exit $ac_status); } &&
65123 { ac_try='test -z "$ac_cxx_werror_flag"
65124 || test ! -s conftest.err'
65125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65126 (eval $ac_try) 2>&5
65127 ac_status=$?
65128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65129 (exit $ac_status); }; } &&
65130 { ac_try='test -s conftest.$ac_objext'
65131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65132 (eval $ac_try) 2>&5
65133 ac_status=$?
65134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65135 (exit $ac_status); }; }; then
65136 glibcxx_cv_func__finite_use=yes
65137 else
65138 echo "$as_me: failed program was:" >&5
65139 sed 's/^/| /' conftest.$ac_ext >&5
65141 glibcxx_cv_func__finite_use=no
65143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65144 ac_ext=c
65145 ac_cpp='$CPP $CPPFLAGS'
65146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65154 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
65155 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
65157 if test x$glibcxx_cv_func__finite_use = x"yes"; then
65159 for ac_func in _finite
65161 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65162 echo "$as_me:$LINENO: checking for $ac_func" >&5
65163 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65164 if eval "test \"\${$as_ac_var+set}\" = set"; then
65165 echo $ECHO_N "(cached) $ECHO_C" >&6
65166 else
65167 if test x$gcc_no_link = xyes; then
65168 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65169 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65170 { (exit 1); exit 1; }; }
65172 cat >conftest.$ac_ext <<_ACEOF
65173 /* confdefs.h. */
65174 _ACEOF
65175 cat confdefs.h >>conftest.$ac_ext
65176 cat >>conftest.$ac_ext <<_ACEOF
65177 /* end confdefs.h. */
65178 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65179 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65180 #define $ac_func innocuous_$ac_func
65182 /* System header to define __stub macros and hopefully few prototypes,
65183 which can conflict with char $ac_func (); below.
65184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65185 <limits.h> exists even on freestanding compilers. */
65187 #ifdef __STDC__
65188 # include <limits.h>
65189 #else
65190 # include <assert.h>
65191 #endif
65193 #undef $ac_func
65195 /* Override any gcc2 internal prototype to avoid an error. */
65196 #ifdef __cplusplus
65197 extern "C"
65199 #endif
65200 /* We use char because int might match the return type of a gcc2
65201 builtin and then its argument prototype would still apply. */
65202 char $ac_func ();
65203 /* The GNU C library defines this for functions which it implements
65204 to always fail with ENOSYS. Some functions are actually named
65205 something starting with __ and the normal name is an alias. */
65206 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65207 choke me
65208 #else
65209 char (*f) () = $ac_func;
65210 #endif
65211 #ifdef __cplusplus
65213 #endif
65216 main ()
65218 return f != $ac_func;
65220 return 0;
65222 _ACEOF
65223 rm -f conftest.$ac_objext conftest$ac_exeext
65224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65225 (eval $ac_link) 2>conftest.er1
65226 ac_status=$?
65227 grep -v '^ *+' conftest.er1 >conftest.err
65228 rm -f conftest.er1
65229 cat conftest.err >&5
65230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65231 (exit $ac_status); } &&
65232 { ac_try='test -z "$ac_c_werror_flag"
65233 || test ! -s conftest.err'
65234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65235 (eval $ac_try) 2>&5
65236 ac_status=$?
65237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65238 (exit $ac_status); }; } &&
65239 { ac_try='test -s conftest$ac_exeext'
65240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65241 (eval $ac_try) 2>&5
65242 ac_status=$?
65243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65244 (exit $ac_status); }; }; then
65245 eval "$as_ac_var=yes"
65246 else
65247 echo "$as_me: failed program was:" >&5
65248 sed 's/^/| /' conftest.$ac_ext >&5
65250 eval "$as_ac_var=no"
65252 rm -f conftest.err conftest.$ac_objext \
65253 conftest$ac_exeext conftest.$ac_ext
65255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65256 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65257 if test `eval echo '${'$as_ac_var'}'` = yes; then
65258 cat >>confdefs.h <<_ACEOF
65259 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65260 _ACEOF
65263 done
65273 echo "$as_me:$LINENO: checking for copysign declaration" >&5
65274 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
65275 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
65276 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
65277 echo $ECHO_N "(cached) $ECHO_C" >&6
65278 else
65282 ac_ext=cc
65283 ac_cpp='$CXXCPP $CPPFLAGS'
65284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65288 cat >conftest.$ac_ext <<_ACEOF
65289 /* confdefs.h. */
65290 _ACEOF
65291 cat confdefs.h >>conftest.$ac_ext
65292 cat >>conftest.$ac_ext <<_ACEOF
65293 /* end confdefs.h. */
65294 #include <math.h>
65296 main ()
65298 copysign(0, 0);
65300 return 0;
65302 _ACEOF
65303 rm -f conftest.$ac_objext
65304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65305 (eval $ac_compile) 2>conftest.er1
65306 ac_status=$?
65307 grep -v '^ *+' conftest.er1 >conftest.err
65308 rm -f conftest.er1
65309 cat conftest.err >&5
65310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65311 (exit $ac_status); } &&
65312 { ac_try='test -z "$ac_cxx_werror_flag"
65313 || test ! -s conftest.err'
65314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65315 (eval $ac_try) 2>&5
65316 ac_status=$?
65317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65318 (exit $ac_status); }; } &&
65319 { ac_try='test -s conftest.$ac_objext'
65320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65321 (eval $ac_try) 2>&5
65322 ac_status=$?
65323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65324 (exit $ac_status); }; }; then
65325 glibcxx_cv_func_copysign_use=yes
65326 else
65327 echo "$as_me: failed program was:" >&5
65328 sed 's/^/| /' conftest.$ac_ext >&5
65330 glibcxx_cv_func_copysign_use=no
65332 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65333 ac_ext=c
65334 ac_cpp='$CPP $CPPFLAGS'
65335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65343 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
65344 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
65346 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
65348 for ac_func in copysign
65350 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65351 echo "$as_me:$LINENO: checking for $ac_func" >&5
65352 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65353 if eval "test \"\${$as_ac_var+set}\" = set"; then
65354 echo $ECHO_N "(cached) $ECHO_C" >&6
65355 else
65356 if test x$gcc_no_link = xyes; then
65357 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65358 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65359 { (exit 1); exit 1; }; }
65361 cat >conftest.$ac_ext <<_ACEOF
65362 /* confdefs.h. */
65363 _ACEOF
65364 cat confdefs.h >>conftest.$ac_ext
65365 cat >>conftest.$ac_ext <<_ACEOF
65366 /* end confdefs.h. */
65367 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65368 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65369 #define $ac_func innocuous_$ac_func
65371 /* System header to define __stub macros and hopefully few prototypes,
65372 which can conflict with char $ac_func (); below.
65373 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65374 <limits.h> exists even on freestanding compilers. */
65376 #ifdef __STDC__
65377 # include <limits.h>
65378 #else
65379 # include <assert.h>
65380 #endif
65382 #undef $ac_func
65384 /* Override any gcc2 internal prototype to avoid an error. */
65385 #ifdef __cplusplus
65386 extern "C"
65388 #endif
65389 /* We use char because int might match the return type of a gcc2
65390 builtin and then its argument prototype would still apply. */
65391 char $ac_func ();
65392 /* The GNU C library defines this for functions which it implements
65393 to always fail with ENOSYS. Some functions are actually named
65394 something starting with __ and the normal name is an alias. */
65395 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65396 choke me
65397 #else
65398 char (*f) () = $ac_func;
65399 #endif
65400 #ifdef __cplusplus
65402 #endif
65405 main ()
65407 return f != $ac_func;
65409 return 0;
65411 _ACEOF
65412 rm -f conftest.$ac_objext conftest$ac_exeext
65413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65414 (eval $ac_link) 2>conftest.er1
65415 ac_status=$?
65416 grep -v '^ *+' conftest.er1 >conftest.err
65417 rm -f conftest.er1
65418 cat conftest.err >&5
65419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65420 (exit $ac_status); } &&
65421 { ac_try='test -z "$ac_c_werror_flag"
65422 || test ! -s conftest.err'
65423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65424 (eval $ac_try) 2>&5
65425 ac_status=$?
65426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65427 (exit $ac_status); }; } &&
65428 { ac_try='test -s conftest$ac_exeext'
65429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65430 (eval $ac_try) 2>&5
65431 ac_status=$?
65432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65433 (exit $ac_status); }; }; then
65434 eval "$as_ac_var=yes"
65435 else
65436 echo "$as_me: failed program was:" >&5
65437 sed 's/^/| /' conftest.$ac_ext >&5
65439 eval "$as_ac_var=no"
65441 rm -f conftest.err conftest.$ac_objext \
65442 conftest$ac_exeext conftest.$ac_ext
65444 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65445 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65446 if test `eval echo '${'$as_ac_var'}'` = yes; then
65447 cat >>confdefs.h <<_ACEOF
65448 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65449 _ACEOF
65452 done
65454 else
65456 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
65457 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
65458 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
65459 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
65460 echo $ECHO_N "(cached) $ECHO_C" >&6
65461 else
65465 ac_ext=cc
65466 ac_cpp='$CXXCPP $CPPFLAGS'
65467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65471 cat >conftest.$ac_ext <<_ACEOF
65472 /* confdefs.h. */
65473 _ACEOF
65474 cat confdefs.h >>conftest.$ac_ext
65475 cat >>conftest.$ac_ext <<_ACEOF
65476 /* end confdefs.h. */
65477 #include <math.h>
65479 main ()
65481 _copysign(0, 0);
65483 return 0;
65485 _ACEOF
65486 rm -f conftest.$ac_objext
65487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65488 (eval $ac_compile) 2>conftest.er1
65489 ac_status=$?
65490 grep -v '^ *+' conftest.er1 >conftest.err
65491 rm -f conftest.er1
65492 cat conftest.err >&5
65493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65494 (exit $ac_status); } &&
65495 { ac_try='test -z "$ac_cxx_werror_flag"
65496 || test ! -s conftest.err'
65497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65498 (eval $ac_try) 2>&5
65499 ac_status=$?
65500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65501 (exit $ac_status); }; } &&
65502 { ac_try='test -s conftest.$ac_objext'
65503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65504 (eval $ac_try) 2>&5
65505 ac_status=$?
65506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65507 (exit $ac_status); }; }; then
65508 glibcxx_cv_func__copysign_use=yes
65509 else
65510 echo "$as_me: failed program was:" >&5
65511 sed 's/^/| /' conftest.$ac_ext >&5
65513 glibcxx_cv_func__copysign_use=no
65515 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65516 ac_ext=c
65517 ac_cpp='$CPP $CPPFLAGS'
65518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65526 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
65527 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
65529 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
65531 for ac_func in _copysign
65533 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65534 echo "$as_me:$LINENO: checking for $ac_func" >&5
65535 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65536 if eval "test \"\${$as_ac_var+set}\" = set"; then
65537 echo $ECHO_N "(cached) $ECHO_C" >&6
65538 else
65539 if test x$gcc_no_link = xyes; then
65540 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65541 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65542 { (exit 1); exit 1; }; }
65544 cat >conftest.$ac_ext <<_ACEOF
65545 /* confdefs.h. */
65546 _ACEOF
65547 cat confdefs.h >>conftest.$ac_ext
65548 cat >>conftest.$ac_ext <<_ACEOF
65549 /* end confdefs.h. */
65550 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65551 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65552 #define $ac_func innocuous_$ac_func
65554 /* System header to define __stub macros and hopefully few prototypes,
65555 which can conflict with char $ac_func (); below.
65556 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65557 <limits.h> exists even on freestanding compilers. */
65559 #ifdef __STDC__
65560 # include <limits.h>
65561 #else
65562 # include <assert.h>
65563 #endif
65565 #undef $ac_func
65567 /* Override any gcc2 internal prototype to avoid an error. */
65568 #ifdef __cplusplus
65569 extern "C"
65571 #endif
65572 /* We use char because int might match the return type of a gcc2
65573 builtin and then its argument prototype would still apply. */
65574 char $ac_func ();
65575 /* The GNU C library defines this for functions which it implements
65576 to always fail with ENOSYS. Some functions are actually named
65577 something starting with __ and the normal name is an alias. */
65578 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65579 choke me
65580 #else
65581 char (*f) () = $ac_func;
65582 #endif
65583 #ifdef __cplusplus
65585 #endif
65588 main ()
65590 return f != $ac_func;
65592 return 0;
65594 _ACEOF
65595 rm -f conftest.$ac_objext conftest$ac_exeext
65596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65597 (eval $ac_link) 2>conftest.er1
65598 ac_status=$?
65599 grep -v '^ *+' conftest.er1 >conftest.err
65600 rm -f conftest.er1
65601 cat conftest.err >&5
65602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65603 (exit $ac_status); } &&
65604 { ac_try='test -z "$ac_c_werror_flag"
65605 || test ! -s conftest.err'
65606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65607 (eval $ac_try) 2>&5
65608 ac_status=$?
65609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65610 (exit $ac_status); }; } &&
65611 { ac_try='test -s conftest$ac_exeext'
65612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65613 (eval $ac_try) 2>&5
65614 ac_status=$?
65615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65616 (exit $ac_status); }; }; then
65617 eval "$as_ac_var=yes"
65618 else
65619 echo "$as_me: failed program was:" >&5
65620 sed 's/^/| /' conftest.$ac_ext >&5
65622 eval "$as_ac_var=no"
65624 rm -f conftest.err conftest.$ac_objext \
65625 conftest$ac_exeext conftest.$ac_ext
65627 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65628 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65629 if test `eval echo '${'$as_ac_var'}'` = yes; then
65630 cat >>confdefs.h <<_ACEOF
65631 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65632 _ACEOF
65635 done
65645 echo "$as_me:$LINENO: checking for sincos declaration" >&5
65646 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
65647 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
65648 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
65649 echo $ECHO_N "(cached) $ECHO_C" >&6
65650 else
65654 ac_ext=cc
65655 ac_cpp='$CXXCPP $CPPFLAGS'
65656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65660 cat >conftest.$ac_ext <<_ACEOF
65661 /* confdefs.h. */
65662 _ACEOF
65663 cat confdefs.h >>conftest.$ac_ext
65664 cat >>conftest.$ac_ext <<_ACEOF
65665 /* end confdefs.h. */
65666 #include <math.h>
65668 main ()
65670 sincos(0, 0, 0);
65672 return 0;
65674 _ACEOF
65675 rm -f conftest.$ac_objext
65676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65677 (eval $ac_compile) 2>conftest.er1
65678 ac_status=$?
65679 grep -v '^ *+' conftest.er1 >conftest.err
65680 rm -f conftest.er1
65681 cat conftest.err >&5
65682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65683 (exit $ac_status); } &&
65684 { ac_try='test -z "$ac_cxx_werror_flag"
65685 || test ! -s conftest.err'
65686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65687 (eval $ac_try) 2>&5
65688 ac_status=$?
65689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65690 (exit $ac_status); }; } &&
65691 { ac_try='test -s conftest.$ac_objext'
65692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65693 (eval $ac_try) 2>&5
65694 ac_status=$?
65695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65696 (exit $ac_status); }; }; then
65697 glibcxx_cv_func_sincos_use=yes
65698 else
65699 echo "$as_me: failed program was:" >&5
65700 sed 's/^/| /' conftest.$ac_ext >&5
65702 glibcxx_cv_func_sincos_use=no
65704 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65705 ac_ext=c
65706 ac_cpp='$CPP $CPPFLAGS'
65707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65715 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
65716 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
65718 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
65720 for ac_func in sincos
65722 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65723 echo "$as_me:$LINENO: checking for $ac_func" >&5
65724 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65725 if eval "test \"\${$as_ac_var+set}\" = set"; then
65726 echo $ECHO_N "(cached) $ECHO_C" >&6
65727 else
65728 if test x$gcc_no_link = xyes; then
65729 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65730 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65731 { (exit 1); exit 1; }; }
65733 cat >conftest.$ac_ext <<_ACEOF
65734 /* confdefs.h. */
65735 _ACEOF
65736 cat confdefs.h >>conftest.$ac_ext
65737 cat >>conftest.$ac_ext <<_ACEOF
65738 /* end confdefs.h. */
65739 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65740 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65741 #define $ac_func innocuous_$ac_func
65743 /* System header to define __stub macros and hopefully few prototypes,
65744 which can conflict with char $ac_func (); below.
65745 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65746 <limits.h> exists even on freestanding compilers. */
65748 #ifdef __STDC__
65749 # include <limits.h>
65750 #else
65751 # include <assert.h>
65752 #endif
65754 #undef $ac_func
65756 /* Override any gcc2 internal prototype to avoid an error. */
65757 #ifdef __cplusplus
65758 extern "C"
65760 #endif
65761 /* We use char because int might match the return type of a gcc2
65762 builtin and then its argument prototype would still apply. */
65763 char $ac_func ();
65764 /* The GNU C library defines this for functions which it implements
65765 to always fail with ENOSYS. Some functions are actually named
65766 something starting with __ and the normal name is an alias. */
65767 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65768 choke me
65769 #else
65770 char (*f) () = $ac_func;
65771 #endif
65772 #ifdef __cplusplus
65774 #endif
65777 main ()
65779 return f != $ac_func;
65781 return 0;
65783 _ACEOF
65784 rm -f conftest.$ac_objext conftest$ac_exeext
65785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65786 (eval $ac_link) 2>conftest.er1
65787 ac_status=$?
65788 grep -v '^ *+' conftest.er1 >conftest.err
65789 rm -f conftest.er1
65790 cat conftest.err >&5
65791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65792 (exit $ac_status); } &&
65793 { ac_try='test -z "$ac_c_werror_flag"
65794 || test ! -s conftest.err'
65795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65796 (eval $ac_try) 2>&5
65797 ac_status=$?
65798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65799 (exit $ac_status); }; } &&
65800 { ac_try='test -s conftest$ac_exeext'
65801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65802 (eval $ac_try) 2>&5
65803 ac_status=$?
65804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65805 (exit $ac_status); }; }; then
65806 eval "$as_ac_var=yes"
65807 else
65808 echo "$as_me: failed program was:" >&5
65809 sed 's/^/| /' conftest.$ac_ext >&5
65811 eval "$as_ac_var=no"
65813 rm -f conftest.err conftest.$ac_objext \
65814 conftest$ac_exeext conftest.$ac_ext
65816 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65817 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65818 if test `eval echo '${'$as_ac_var'}'` = yes; then
65819 cat >>confdefs.h <<_ACEOF
65820 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65821 _ACEOF
65824 done
65826 else
65828 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
65829 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
65830 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
65831 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
65832 echo $ECHO_N "(cached) $ECHO_C" >&6
65833 else
65837 ac_ext=cc
65838 ac_cpp='$CXXCPP $CPPFLAGS'
65839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65843 cat >conftest.$ac_ext <<_ACEOF
65844 /* confdefs.h. */
65845 _ACEOF
65846 cat confdefs.h >>conftest.$ac_ext
65847 cat >>conftest.$ac_ext <<_ACEOF
65848 /* end confdefs.h. */
65849 #include <math.h>
65851 main ()
65853 _sincos(0, 0, 0);
65855 return 0;
65857 _ACEOF
65858 rm -f conftest.$ac_objext
65859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65860 (eval $ac_compile) 2>conftest.er1
65861 ac_status=$?
65862 grep -v '^ *+' conftest.er1 >conftest.err
65863 rm -f conftest.er1
65864 cat conftest.err >&5
65865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65866 (exit $ac_status); } &&
65867 { ac_try='test -z "$ac_cxx_werror_flag"
65868 || test ! -s conftest.err'
65869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65870 (eval $ac_try) 2>&5
65871 ac_status=$?
65872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65873 (exit $ac_status); }; } &&
65874 { ac_try='test -s conftest.$ac_objext'
65875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65876 (eval $ac_try) 2>&5
65877 ac_status=$?
65878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65879 (exit $ac_status); }; }; then
65880 glibcxx_cv_func__sincos_use=yes
65881 else
65882 echo "$as_me: failed program was:" >&5
65883 sed 's/^/| /' conftest.$ac_ext >&5
65885 glibcxx_cv_func__sincos_use=no
65887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65888 ac_ext=c
65889 ac_cpp='$CPP $CPPFLAGS'
65890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65898 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
65899 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
65901 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
65903 for ac_func in _sincos
65905 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65906 echo "$as_me:$LINENO: checking for $ac_func" >&5
65907 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65908 if eval "test \"\${$as_ac_var+set}\" = set"; then
65909 echo $ECHO_N "(cached) $ECHO_C" >&6
65910 else
65911 if test x$gcc_no_link = xyes; then
65912 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65913 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65914 { (exit 1); exit 1; }; }
65916 cat >conftest.$ac_ext <<_ACEOF
65917 /* confdefs.h. */
65918 _ACEOF
65919 cat confdefs.h >>conftest.$ac_ext
65920 cat >>conftest.$ac_ext <<_ACEOF
65921 /* end confdefs.h. */
65922 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65923 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65924 #define $ac_func innocuous_$ac_func
65926 /* System header to define __stub macros and hopefully few prototypes,
65927 which can conflict with char $ac_func (); below.
65928 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65929 <limits.h> exists even on freestanding compilers. */
65931 #ifdef __STDC__
65932 # include <limits.h>
65933 #else
65934 # include <assert.h>
65935 #endif
65937 #undef $ac_func
65939 /* Override any gcc2 internal prototype to avoid an error. */
65940 #ifdef __cplusplus
65941 extern "C"
65943 #endif
65944 /* We use char because int might match the return type of a gcc2
65945 builtin and then its argument prototype would still apply. */
65946 char $ac_func ();
65947 /* The GNU C library defines this for functions which it implements
65948 to always fail with ENOSYS. Some functions are actually named
65949 something starting with __ and the normal name is an alias. */
65950 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65951 choke me
65952 #else
65953 char (*f) () = $ac_func;
65954 #endif
65955 #ifdef __cplusplus
65957 #endif
65960 main ()
65962 return f != $ac_func;
65964 return 0;
65966 _ACEOF
65967 rm -f conftest.$ac_objext conftest$ac_exeext
65968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65969 (eval $ac_link) 2>conftest.er1
65970 ac_status=$?
65971 grep -v '^ *+' conftest.er1 >conftest.err
65972 rm -f conftest.er1
65973 cat conftest.err >&5
65974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65975 (exit $ac_status); } &&
65976 { ac_try='test -z "$ac_c_werror_flag"
65977 || test ! -s conftest.err'
65978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65979 (eval $ac_try) 2>&5
65980 ac_status=$?
65981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65982 (exit $ac_status); }; } &&
65983 { ac_try='test -s conftest$ac_exeext'
65984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65985 (eval $ac_try) 2>&5
65986 ac_status=$?
65987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65988 (exit $ac_status); }; }; then
65989 eval "$as_ac_var=yes"
65990 else
65991 echo "$as_me: failed program was:" >&5
65992 sed 's/^/| /' conftest.$ac_ext >&5
65994 eval "$as_ac_var=no"
65996 rm -f conftest.err conftest.$ac_objext \
65997 conftest$ac_exeext conftest.$ac_ext
65999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66000 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66001 if test `eval echo '${'$as_ac_var'}'` = yes; then
66002 cat >>confdefs.h <<_ACEOF
66003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66004 _ACEOF
66007 done
66017 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
66018 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
66019 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
66020 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
66021 echo $ECHO_N "(cached) $ECHO_C" >&6
66022 else
66026 ac_ext=cc
66027 ac_cpp='$CXXCPP $CPPFLAGS'
66028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66032 cat >conftest.$ac_ext <<_ACEOF
66033 /* confdefs.h. */
66034 _ACEOF
66035 cat confdefs.h >>conftest.$ac_ext
66036 cat >>conftest.$ac_ext <<_ACEOF
66037 /* end confdefs.h. */
66038 #include <math.h>
66039 #ifdef HAVE_IEEEFP_H
66040 #include <ieeefp.h>
66041 #endif
66044 main ()
66046 fpclass(0);
66048 return 0;
66050 _ACEOF
66051 rm -f conftest.$ac_objext
66052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66053 (eval $ac_compile) 2>conftest.er1
66054 ac_status=$?
66055 grep -v '^ *+' conftest.er1 >conftest.err
66056 rm -f conftest.er1
66057 cat conftest.err >&5
66058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66059 (exit $ac_status); } &&
66060 { ac_try='test -z "$ac_cxx_werror_flag"
66061 || test ! -s conftest.err'
66062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66063 (eval $ac_try) 2>&5
66064 ac_status=$?
66065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66066 (exit $ac_status); }; } &&
66067 { ac_try='test -s conftest.$ac_objext'
66068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66069 (eval $ac_try) 2>&5
66070 ac_status=$?
66071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66072 (exit $ac_status); }; }; then
66073 glibcxx_cv_func_fpclass_use=yes
66074 else
66075 echo "$as_me: failed program was:" >&5
66076 sed 's/^/| /' conftest.$ac_ext >&5
66078 glibcxx_cv_func_fpclass_use=no
66080 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66081 ac_ext=c
66082 ac_cpp='$CPP $CPPFLAGS'
66083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66091 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
66092 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
66094 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
66096 for ac_func in fpclass
66098 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66099 echo "$as_me:$LINENO: checking for $ac_func" >&5
66100 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66101 if eval "test \"\${$as_ac_var+set}\" = set"; then
66102 echo $ECHO_N "(cached) $ECHO_C" >&6
66103 else
66104 if test x$gcc_no_link = xyes; then
66105 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66106 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66107 { (exit 1); exit 1; }; }
66109 cat >conftest.$ac_ext <<_ACEOF
66110 /* confdefs.h. */
66111 _ACEOF
66112 cat confdefs.h >>conftest.$ac_ext
66113 cat >>conftest.$ac_ext <<_ACEOF
66114 /* end confdefs.h. */
66115 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66116 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66117 #define $ac_func innocuous_$ac_func
66119 /* System header to define __stub macros and hopefully few prototypes,
66120 which can conflict with char $ac_func (); below.
66121 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66122 <limits.h> exists even on freestanding compilers. */
66124 #ifdef __STDC__
66125 # include <limits.h>
66126 #else
66127 # include <assert.h>
66128 #endif
66130 #undef $ac_func
66132 /* Override any gcc2 internal prototype to avoid an error. */
66133 #ifdef __cplusplus
66134 extern "C"
66136 #endif
66137 /* We use char because int might match the return type of a gcc2
66138 builtin and then its argument prototype would still apply. */
66139 char $ac_func ();
66140 /* The GNU C library defines this for functions which it implements
66141 to always fail with ENOSYS. Some functions are actually named
66142 something starting with __ and the normal name is an alias. */
66143 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66144 choke me
66145 #else
66146 char (*f) () = $ac_func;
66147 #endif
66148 #ifdef __cplusplus
66150 #endif
66153 main ()
66155 return f != $ac_func;
66157 return 0;
66159 _ACEOF
66160 rm -f conftest.$ac_objext conftest$ac_exeext
66161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66162 (eval $ac_link) 2>conftest.er1
66163 ac_status=$?
66164 grep -v '^ *+' conftest.er1 >conftest.err
66165 rm -f conftest.er1
66166 cat conftest.err >&5
66167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66168 (exit $ac_status); } &&
66169 { ac_try='test -z "$ac_c_werror_flag"
66170 || test ! -s conftest.err'
66171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66172 (eval $ac_try) 2>&5
66173 ac_status=$?
66174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66175 (exit $ac_status); }; } &&
66176 { ac_try='test -s conftest$ac_exeext'
66177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66178 (eval $ac_try) 2>&5
66179 ac_status=$?
66180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66181 (exit $ac_status); }; }; then
66182 eval "$as_ac_var=yes"
66183 else
66184 echo "$as_me: failed program was:" >&5
66185 sed 's/^/| /' conftest.$ac_ext >&5
66187 eval "$as_ac_var=no"
66189 rm -f conftest.err conftest.$ac_objext \
66190 conftest$ac_exeext conftest.$ac_ext
66192 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66193 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66194 if test `eval echo '${'$as_ac_var'}'` = yes; then
66195 cat >>confdefs.h <<_ACEOF
66196 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66197 _ACEOF
66200 done
66202 else
66204 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
66205 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
66206 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
66207 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
66208 echo $ECHO_N "(cached) $ECHO_C" >&6
66209 else
66213 ac_ext=cc
66214 ac_cpp='$CXXCPP $CPPFLAGS'
66215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66219 cat >conftest.$ac_ext <<_ACEOF
66220 /* confdefs.h. */
66221 _ACEOF
66222 cat confdefs.h >>conftest.$ac_ext
66223 cat >>conftest.$ac_ext <<_ACEOF
66224 /* end confdefs.h. */
66225 #include <math.h>
66226 #ifdef HAVE_IEEEFP_H
66227 #include <ieeefp.h>
66228 #endif
66231 main ()
66233 _fpclass(0);
66235 return 0;
66237 _ACEOF
66238 rm -f conftest.$ac_objext
66239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66240 (eval $ac_compile) 2>conftest.er1
66241 ac_status=$?
66242 grep -v '^ *+' conftest.er1 >conftest.err
66243 rm -f conftest.er1
66244 cat conftest.err >&5
66245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66246 (exit $ac_status); } &&
66247 { ac_try='test -z "$ac_cxx_werror_flag"
66248 || test ! -s conftest.err'
66249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66250 (eval $ac_try) 2>&5
66251 ac_status=$?
66252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66253 (exit $ac_status); }; } &&
66254 { ac_try='test -s conftest.$ac_objext'
66255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66256 (eval $ac_try) 2>&5
66257 ac_status=$?
66258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66259 (exit $ac_status); }; }; then
66260 glibcxx_cv_func__fpclass_use=yes
66261 else
66262 echo "$as_me: failed program was:" >&5
66263 sed 's/^/| /' conftest.$ac_ext >&5
66265 glibcxx_cv_func__fpclass_use=no
66267 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66268 ac_ext=c
66269 ac_cpp='$CPP $CPPFLAGS'
66270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66278 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
66279 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
66281 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
66283 for ac_func in _fpclass
66285 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66286 echo "$as_me:$LINENO: checking for $ac_func" >&5
66287 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66288 if eval "test \"\${$as_ac_var+set}\" = set"; then
66289 echo $ECHO_N "(cached) $ECHO_C" >&6
66290 else
66291 if test x$gcc_no_link = xyes; then
66292 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66293 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66294 { (exit 1); exit 1; }; }
66296 cat >conftest.$ac_ext <<_ACEOF
66297 /* confdefs.h. */
66298 _ACEOF
66299 cat confdefs.h >>conftest.$ac_ext
66300 cat >>conftest.$ac_ext <<_ACEOF
66301 /* end confdefs.h. */
66302 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66303 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66304 #define $ac_func innocuous_$ac_func
66306 /* System header to define __stub macros and hopefully few prototypes,
66307 which can conflict with char $ac_func (); below.
66308 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66309 <limits.h> exists even on freestanding compilers. */
66311 #ifdef __STDC__
66312 # include <limits.h>
66313 #else
66314 # include <assert.h>
66315 #endif
66317 #undef $ac_func
66319 /* Override any gcc2 internal prototype to avoid an error. */
66320 #ifdef __cplusplus
66321 extern "C"
66323 #endif
66324 /* We use char because int might match the return type of a gcc2
66325 builtin and then its argument prototype would still apply. */
66326 char $ac_func ();
66327 /* The GNU C library defines this for functions which it implements
66328 to always fail with ENOSYS. Some functions are actually named
66329 something starting with __ and the normal name is an alias. */
66330 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66331 choke me
66332 #else
66333 char (*f) () = $ac_func;
66334 #endif
66335 #ifdef __cplusplus
66337 #endif
66340 main ()
66342 return f != $ac_func;
66344 return 0;
66346 _ACEOF
66347 rm -f conftest.$ac_objext conftest$ac_exeext
66348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66349 (eval $ac_link) 2>conftest.er1
66350 ac_status=$?
66351 grep -v '^ *+' conftest.er1 >conftest.err
66352 rm -f conftest.er1
66353 cat conftest.err >&5
66354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66355 (exit $ac_status); } &&
66356 { ac_try='test -z "$ac_c_werror_flag"
66357 || test ! -s conftest.err'
66358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66359 (eval $ac_try) 2>&5
66360 ac_status=$?
66361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66362 (exit $ac_status); }; } &&
66363 { ac_try='test -s conftest$ac_exeext'
66364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66365 (eval $ac_try) 2>&5
66366 ac_status=$?
66367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66368 (exit $ac_status); }; }; then
66369 eval "$as_ac_var=yes"
66370 else
66371 echo "$as_me: failed program was:" >&5
66372 sed 's/^/| /' conftest.$ac_ext >&5
66374 eval "$as_ac_var=no"
66376 rm -f conftest.err conftest.$ac_objext \
66377 conftest$ac_exeext conftest.$ac_ext
66379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66380 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66381 if test `eval echo '${'$as_ac_var'}'` = yes; then
66382 cat >>confdefs.h <<_ACEOF
66383 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66384 _ACEOF
66387 done
66397 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
66398 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
66399 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
66400 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
66401 echo $ECHO_N "(cached) $ECHO_C" >&6
66402 else
66406 ac_ext=cc
66407 ac_cpp='$CXXCPP $CPPFLAGS'
66408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66412 cat >conftest.$ac_ext <<_ACEOF
66413 /* confdefs.h. */
66414 _ACEOF
66415 cat confdefs.h >>conftest.$ac_ext
66416 cat >>conftest.$ac_ext <<_ACEOF
66417 /* end confdefs.h. */
66418 #include <math.h>
66419 #ifdef HAVE_IEEEFP_H
66420 #include <ieeefp.h>
66421 #endif
66424 main ()
66426 qfpclass(0);
66428 return 0;
66430 _ACEOF
66431 rm -f conftest.$ac_objext
66432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66433 (eval $ac_compile) 2>conftest.er1
66434 ac_status=$?
66435 grep -v '^ *+' conftest.er1 >conftest.err
66436 rm -f conftest.er1
66437 cat conftest.err >&5
66438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66439 (exit $ac_status); } &&
66440 { ac_try='test -z "$ac_cxx_werror_flag"
66441 || test ! -s conftest.err'
66442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66443 (eval $ac_try) 2>&5
66444 ac_status=$?
66445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66446 (exit $ac_status); }; } &&
66447 { ac_try='test -s conftest.$ac_objext'
66448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66449 (eval $ac_try) 2>&5
66450 ac_status=$?
66451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66452 (exit $ac_status); }; }; then
66453 glibcxx_cv_func_qfpclass_use=yes
66454 else
66455 echo "$as_me: failed program was:" >&5
66456 sed 's/^/| /' conftest.$ac_ext >&5
66458 glibcxx_cv_func_qfpclass_use=no
66460 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66461 ac_ext=c
66462 ac_cpp='$CPP $CPPFLAGS'
66463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66471 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
66472 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
66474 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
66476 for ac_func in qfpclass
66478 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66479 echo "$as_me:$LINENO: checking for $ac_func" >&5
66480 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66481 if eval "test \"\${$as_ac_var+set}\" = set"; then
66482 echo $ECHO_N "(cached) $ECHO_C" >&6
66483 else
66484 if test x$gcc_no_link = xyes; then
66485 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66486 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66487 { (exit 1); exit 1; }; }
66489 cat >conftest.$ac_ext <<_ACEOF
66490 /* confdefs.h. */
66491 _ACEOF
66492 cat confdefs.h >>conftest.$ac_ext
66493 cat >>conftest.$ac_ext <<_ACEOF
66494 /* end confdefs.h. */
66495 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66496 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66497 #define $ac_func innocuous_$ac_func
66499 /* System header to define __stub macros and hopefully few prototypes,
66500 which can conflict with char $ac_func (); below.
66501 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66502 <limits.h> exists even on freestanding compilers. */
66504 #ifdef __STDC__
66505 # include <limits.h>
66506 #else
66507 # include <assert.h>
66508 #endif
66510 #undef $ac_func
66512 /* Override any gcc2 internal prototype to avoid an error. */
66513 #ifdef __cplusplus
66514 extern "C"
66516 #endif
66517 /* We use char because int might match the return type of a gcc2
66518 builtin and then its argument prototype would still apply. */
66519 char $ac_func ();
66520 /* The GNU C library defines this for functions which it implements
66521 to always fail with ENOSYS. Some functions are actually named
66522 something starting with __ and the normal name is an alias. */
66523 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66524 choke me
66525 #else
66526 char (*f) () = $ac_func;
66527 #endif
66528 #ifdef __cplusplus
66530 #endif
66533 main ()
66535 return f != $ac_func;
66537 return 0;
66539 _ACEOF
66540 rm -f conftest.$ac_objext conftest$ac_exeext
66541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66542 (eval $ac_link) 2>conftest.er1
66543 ac_status=$?
66544 grep -v '^ *+' conftest.er1 >conftest.err
66545 rm -f conftest.er1
66546 cat conftest.err >&5
66547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66548 (exit $ac_status); } &&
66549 { ac_try='test -z "$ac_c_werror_flag"
66550 || test ! -s conftest.err'
66551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66552 (eval $ac_try) 2>&5
66553 ac_status=$?
66554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66555 (exit $ac_status); }; } &&
66556 { ac_try='test -s conftest$ac_exeext'
66557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66558 (eval $ac_try) 2>&5
66559 ac_status=$?
66560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66561 (exit $ac_status); }; }; then
66562 eval "$as_ac_var=yes"
66563 else
66564 echo "$as_me: failed program was:" >&5
66565 sed 's/^/| /' conftest.$ac_ext >&5
66567 eval "$as_ac_var=no"
66569 rm -f conftest.err conftest.$ac_objext \
66570 conftest$ac_exeext conftest.$ac_ext
66572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66573 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66574 if test `eval echo '${'$as_ac_var'}'` = yes; then
66575 cat >>confdefs.h <<_ACEOF
66576 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66577 _ACEOF
66580 done
66582 else
66584 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
66585 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
66586 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
66587 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
66588 echo $ECHO_N "(cached) $ECHO_C" >&6
66589 else
66593 ac_ext=cc
66594 ac_cpp='$CXXCPP $CPPFLAGS'
66595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66599 cat >conftest.$ac_ext <<_ACEOF
66600 /* confdefs.h. */
66601 _ACEOF
66602 cat confdefs.h >>conftest.$ac_ext
66603 cat >>conftest.$ac_ext <<_ACEOF
66604 /* end confdefs.h. */
66605 #include <math.h>
66606 #ifdef HAVE_IEEEFP_H
66607 #include <ieeefp.h>
66608 #endif
66611 main ()
66613 _qfpclass(0);
66615 return 0;
66617 _ACEOF
66618 rm -f conftest.$ac_objext
66619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66620 (eval $ac_compile) 2>conftest.er1
66621 ac_status=$?
66622 grep -v '^ *+' conftest.er1 >conftest.err
66623 rm -f conftest.er1
66624 cat conftest.err >&5
66625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66626 (exit $ac_status); } &&
66627 { ac_try='test -z "$ac_cxx_werror_flag"
66628 || test ! -s conftest.err'
66629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66630 (eval $ac_try) 2>&5
66631 ac_status=$?
66632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66633 (exit $ac_status); }; } &&
66634 { ac_try='test -s conftest.$ac_objext'
66635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66636 (eval $ac_try) 2>&5
66637 ac_status=$?
66638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66639 (exit $ac_status); }; }; then
66640 glibcxx_cv_func__qfpclass_use=yes
66641 else
66642 echo "$as_me: failed program was:" >&5
66643 sed 's/^/| /' conftest.$ac_ext >&5
66645 glibcxx_cv_func__qfpclass_use=no
66647 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66648 ac_ext=c
66649 ac_cpp='$CPP $CPPFLAGS'
66650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66658 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
66659 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
66661 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
66663 for ac_func in _qfpclass
66665 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66666 echo "$as_me:$LINENO: checking for $ac_func" >&5
66667 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66668 if eval "test \"\${$as_ac_var+set}\" = set"; then
66669 echo $ECHO_N "(cached) $ECHO_C" >&6
66670 else
66671 if test x$gcc_no_link = xyes; then
66672 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66673 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66674 { (exit 1); exit 1; }; }
66676 cat >conftest.$ac_ext <<_ACEOF
66677 /* confdefs.h. */
66678 _ACEOF
66679 cat confdefs.h >>conftest.$ac_ext
66680 cat >>conftest.$ac_ext <<_ACEOF
66681 /* end confdefs.h. */
66682 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66683 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66684 #define $ac_func innocuous_$ac_func
66686 /* System header to define __stub macros and hopefully few prototypes,
66687 which can conflict with char $ac_func (); below.
66688 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66689 <limits.h> exists even on freestanding compilers. */
66691 #ifdef __STDC__
66692 # include <limits.h>
66693 #else
66694 # include <assert.h>
66695 #endif
66697 #undef $ac_func
66699 /* Override any gcc2 internal prototype to avoid an error. */
66700 #ifdef __cplusplus
66701 extern "C"
66703 #endif
66704 /* We use char because int might match the return type of a gcc2
66705 builtin and then its argument prototype would still apply. */
66706 char $ac_func ();
66707 /* The GNU C library defines this for functions which it implements
66708 to always fail with ENOSYS. Some functions are actually named
66709 something starting with __ and the normal name is an alias. */
66710 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66711 choke me
66712 #else
66713 char (*f) () = $ac_func;
66714 #endif
66715 #ifdef __cplusplus
66717 #endif
66720 main ()
66722 return f != $ac_func;
66724 return 0;
66726 _ACEOF
66727 rm -f conftest.$ac_objext conftest$ac_exeext
66728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66729 (eval $ac_link) 2>conftest.er1
66730 ac_status=$?
66731 grep -v '^ *+' conftest.er1 >conftest.err
66732 rm -f conftest.er1
66733 cat conftest.err >&5
66734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66735 (exit $ac_status); } &&
66736 { ac_try='test -z "$ac_c_werror_flag"
66737 || test ! -s conftest.err'
66738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66739 (eval $ac_try) 2>&5
66740 ac_status=$?
66741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66742 (exit $ac_status); }; } &&
66743 { ac_try='test -s conftest$ac_exeext'
66744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66745 (eval $ac_try) 2>&5
66746 ac_status=$?
66747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66748 (exit $ac_status); }; }; then
66749 eval "$as_ac_var=yes"
66750 else
66751 echo "$as_me: failed program was:" >&5
66752 sed 's/^/| /' conftest.$ac_ext >&5
66754 eval "$as_ac_var=no"
66756 rm -f conftest.err conftest.$ac_objext \
66757 conftest$ac_exeext conftest.$ac_ext
66759 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66760 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66761 if test `eval echo '${'$as_ac_var'}'` = yes; then
66762 cat >>confdefs.h <<_ACEOF
66763 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66764 _ACEOF
66767 done
66777 echo "$as_me:$LINENO: checking for hypot declaration" >&5
66778 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
66779 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
66780 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
66781 echo $ECHO_N "(cached) $ECHO_C" >&6
66782 else
66786 ac_ext=cc
66787 ac_cpp='$CXXCPP $CPPFLAGS'
66788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66792 cat >conftest.$ac_ext <<_ACEOF
66793 /* confdefs.h. */
66794 _ACEOF
66795 cat confdefs.h >>conftest.$ac_ext
66796 cat >>conftest.$ac_ext <<_ACEOF
66797 /* end confdefs.h. */
66798 #include <math.h>
66800 main ()
66802 hypot(0, 0);
66804 return 0;
66806 _ACEOF
66807 rm -f conftest.$ac_objext
66808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66809 (eval $ac_compile) 2>conftest.er1
66810 ac_status=$?
66811 grep -v '^ *+' conftest.er1 >conftest.err
66812 rm -f conftest.er1
66813 cat conftest.err >&5
66814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66815 (exit $ac_status); } &&
66816 { ac_try='test -z "$ac_cxx_werror_flag"
66817 || test ! -s conftest.err'
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); }; } &&
66823 { ac_try='test -s conftest.$ac_objext'
66824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66825 (eval $ac_try) 2>&5
66826 ac_status=$?
66827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66828 (exit $ac_status); }; }; then
66829 glibcxx_cv_func_hypot_use=yes
66830 else
66831 echo "$as_me: failed program was:" >&5
66832 sed 's/^/| /' conftest.$ac_ext >&5
66834 glibcxx_cv_func_hypot_use=no
66836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66837 ac_ext=c
66838 ac_cpp='$CPP $CPPFLAGS'
66839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66847 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
66848 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
66850 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
66852 for ac_func in hypot
66854 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66855 echo "$as_me:$LINENO: checking for $ac_func" >&5
66856 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66857 if eval "test \"\${$as_ac_var+set}\" = set"; then
66858 echo $ECHO_N "(cached) $ECHO_C" >&6
66859 else
66860 if test x$gcc_no_link = xyes; then
66861 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66862 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66863 { (exit 1); exit 1; }; }
66865 cat >conftest.$ac_ext <<_ACEOF
66866 /* confdefs.h. */
66867 _ACEOF
66868 cat confdefs.h >>conftest.$ac_ext
66869 cat >>conftest.$ac_ext <<_ACEOF
66870 /* end confdefs.h. */
66871 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66872 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66873 #define $ac_func innocuous_$ac_func
66875 /* System header to define __stub macros and hopefully few prototypes,
66876 which can conflict with char $ac_func (); below.
66877 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66878 <limits.h> exists even on freestanding compilers. */
66880 #ifdef __STDC__
66881 # include <limits.h>
66882 #else
66883 # include <assert.h>
66884 #endif
66886 #undef $ac_func
66888 /* Override any gcc2 internal prototype to avoid an error. */
66889 #ifdef __cplusplus
66890 extern "C"
66892 #endif
66893 /* We use char because int might match the return type of a gcc2
66894 builtin and then its argument prototype would still apply. */
66895 char $ac_func ();
66896 /* The GNU C library defines this for functions which it implements
66897 to always fail with ENOSYS. Some functions are actually named
66898 something starting with __ and the normal name is an alias. */
66899 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66900 choke me
66901 #else
66902 char (*f) () = $ac_func;
66903 #endif
66904 #ifdef __cplusplus
66906 #endif
66909 main ()
66911 return f != $ac_func;
66913 return 0;
66915 _ACEOF
66916 rm -f conftest.$ac_objext conftest$ac_exeext
66917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66918 (eval $ac_link) 2>conftest.er1
66919 ac_status=$?
66920 grep -v '^ *+' conftest.er1 >conftest.err
66921 rm -f conftest.er1
66922 cat conftest.err >&5
66923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66924 (exit $ac_status); } &&
66925 { ac_try='test -z "$ac_c_werror_flag"
66926 || test ! -s conftest.err'
66927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66928 (eval $ac_try) 2>&5
66929 ac_status=$?
66930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66931 (exit $ac_status); }; } &&
66932 { ac_try='test -s conftest$ac_exeext'
66933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66934 (eval $ac_try) 2>&5
66935 ac_status=$?
66936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66937 (exit $ac_status); }; }; then
66938 eval "$as_ac_var=yes"
66939 else
66940 echo "$as_me: failed program was:" >&5
66941 sed 's/^/| /' conftest.$ac_ext >&5
66943 eval "$as_ac_var=no"
66945 rm -f conftest.err conftest.$ac_objext \
66946 conftest$ac_exeext conftest.$ac_ext
66948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66949 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66950 if test `eval echo '${'$as_ac_var'}'` = yes; then
66951 cat >>confdefs.h <<_ACEOF
66952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66953 _ACEOF
66956 done
66958 else
66960 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
66961 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
66962 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
66963 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
66964 echo $ECHO_N "(cached) $ECHO_C" >&6
66965 else
66969 ac_ext=cc
66970 ac_cpp='$CXXCPP $CPPFLAGS'
66971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66975 cat >conftest.$ac_ext <<_ACEOF
66976 /* confdefs.h. */
66977 _ACEOF
66978 cat confdefs.h >>conftest.$ac_ext
66979 cat >>conftest.$ac_ext <<_ACEOF
66980 /* end confdefs.h. */
66981 #include <math.h>
66983 main ()
66985 _hypot(0, 0);
66987 return 0;
66989 _ACEOF
66990 rm -f conftest.$ac_objext
66991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66992 (eval $ac_compile) 2>conftest.er1
66993 ac_status=$?
66994 grep -v '^ *+' conftest.er1 >conftest.err
66995 rm -f conftest.er1
66996 cat conftest.err >&5
66997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66998 (exit $ac_status); } &&
66999 { ac_try='test -z "$ac_cxx_werror_flag"
67000 || test ! -s conftest.err'
67001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67002 (eval $ac_try) 2>&5
67003 ac_status=$?
67004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67005 (exit $ac_status); }; } &&
67006 { ac_try='test -s conftest.$ac_objext'
67007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67008 (eval $ac_try) 2>&5
67009 ac_status=$?
67010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67011 (exit $ac_status); }; }; then
67012 glibcxx_cv_func__hypot_use=yes
67013 else
67014 echo "$as_me: failed program was:" >&5
67015 sed 's/^/| /' conftest.$ac_ext >&5
67017 glibcxx_cv_func__hypot_use=no
67019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67020 ac_ext=c
67021 ac_cpp='$CPP $CPPFLAGS'
67022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67030 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
67031 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
67033 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
67035 for ac_func in _hypot
67037 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67038 echo "$as_me:$LINENO: checking for $ac_func" >&5
67039 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67040 if eval "test \"\${$as_ac_var+set}\" = set"; then
67041 echo $ECHO_N "(cached) $ECHO_C" >&6
67042 else
67043 if test x$gcc_no_link = xyes; then
67044 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67045 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67046 { (exit 1); exit 1; }; }
67048 cat >conftest.$ac_ext <<_ACEOF
67049 /* confdefs.h. */
67050 _ACEOF
67051 cat confdefs.h >>conftest.$ac_ext
67052 cat >>conftest.$ac_ext <<_ACEOF
67053 /* end confdefs.h. */
67054 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67055 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67056 #define $ac_func innocuous_$ac_func
67058 /* System header to define __stub macros and hopefully few prototypes,
67059 which can conflict with char $ac_func (); below.
67060 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67061 <limits.h> exists even on freestanding compilers. */
67063 #ifdef __STDC__
67064 # include <limits.h>
67065 #else
67066 # include <assert.h>
67067 #endif
67069 #undef $ac_func
67071 /* Override any gcc2 internal prototype to avoid an error. */
67072 #ifdef __cplusplus
67073 extern "C"
67075 #endif
67076 /* We use char because int might match the return type of a gcc2
67077 builtin and then its argument prototype would still apply. */
67078 char $ac_func ();
67079 /* The GNU C library defines this for functions which it implements
67080 to always fail with ENOSYS. Some functions are actually named
67081 something starting with __ and the normal name is an alias. */
67082 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67083 choke me
67084 #else
67085 char (*f) () = $ac_func;
67086 #endif
67087 #ifdef __cplusplus
67089 #endif
67092 main ()
67094 return f != $ac_func;
67096 return 0;
67098 _ACEOF
67099 rm -f conftest.$ac_objext conftest$ac_exeext
67100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67101 (eval $ac_link) 2>conftest.er1
67102 ac_status=$?
67103 grep -v '^ *+' conftest.er1 >conftest.err
67104 rm -f conftest.er1
67105 cat conftest.err >&5
67106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67107 (exit $ac_status); } &&
67108 { ac_try='test -z "$ac_c_werror_flag"
67109 || test ! -s conftest.err'
67110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67111 (eval $ac_try) 2>&5
67112 ac_status=$?
67113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67114 (exit $ac_status); }; } &&
67115 { ac_try='test -s conftest$ac_exeext'
67116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67117 (eval $ac_try) 2>&5
67118 ac_status=$?
67119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67120 (exit $ac_status); }; }; then
67121 eval "$as_ac_var=yes"
67122 else
67123 echo "$as_me: failed program was:" >&5
67124 sed 's/^/| /' conftest.$ac_ext >&5
67126 eval "$as_ac_var=no"
67128 rm -f conftest.err conftest.$ac_objext \
67129 conftest$ac_exeext conftest.$ac_ext
67131 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67132 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67133 if test `eval echo '${'$as_ac_var'}'` = yes; then
67134 cat >>confdefs.h <<_ACEOF
67135 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67136 _ACEOF
67139 done
67149 echo "$as_me:$LINENO: checking for float trig functions" >&5
67150 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
67151 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
67152 echo $ECHO_N "(cached) $ECHO_C" >&6
67153 else
67157 ac_ext=cc
67158 ac_cpp='$CXXCPP $CPPFLAGS'
67159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67163 cat >conftest.$ac_ext <<_ACEOF
67164 /* confdefs.h. */
67165 _ACEOF
67166 cat confdefs.h >>conftest.$ac_ext
67167 cat >>conftest.$ac_ext <<_ACEOF
67168 /* end confdefs.h. */
67169 #include <math.h>
67171 main ()
67173 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
67175 return 0;
67177 _ACEOF
67178 rm -f conftest.$ac_objext
67179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67180 (eval $ac_compile) 2>conftest.er1
67181 ac_status=$?
67182 grep -v '^ *+' conftest.er1 >conftest.err
67183 rm -f conftest.er1
67184 cat conftest.err >&5
67185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67186 (exit $ac_status); } &&
67187 { ac_try='test -z "$ac_cxx_werror_flag"
67188 || test ! -s conftest.err'
67189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67190 (eval $ac_try) 2>&5
67191 ac_status=$?
67192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67193 (exit $ac_status); }; } &&
67194 { ac_try='test -s conftest.$ac_objext'
67195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67196 (eval $ac_try) 2>&5
67197 ac_status=$?
67198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67199 (exit $ac_status); }; }; then
67200 glibcxx_cv_func_float_trig_use=yes
67201 else
67202 echo "$as_me: failed program was:" >&5
67203 sed 's/^/| /' conftest.$ac_ext >&5
67205 glibcxx_cv_func_float_trig_use=no
67207 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67208 ac_ext=c
67209 ac_cpp='$CPP $CPPFLAGS'
67210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67216 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
67217 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
67218 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
67228 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
67230 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67231 echo "$as_me:$LINENO: checking for $ac_func" >&5
67232 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67233 if eval "test \"\${$as_ac_var+set}\" = set"; then
67234 echo $ECHO_N "(cached) $ECHO_C" >&6
67235 else
67236 if test x$gcc_no_link = xyes; then
67237 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67238 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67239 { (exit 1); exit 1; }; }
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67248 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67249 #define $ac_func innocuous_$ac_func
67251 /* System header to define __stub macros and hopefully few prototypes,
67252 which can conflict with char $ac_func (); below.
67253 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67254 <limits.h> exists even on freestanding compilers. */
67256 #ifdef __STDC__
67257 # include <limits.h>
67258 #else
67259 # include <assert.h>
67260 #endif
67262 #undef $ac_func
67264 /* Override any gcc2 internal prototype to avoid an error. */
67265 #ifdef __cplusplus
67266 extern "C"
67268 #endif
67269 /* We use char because int might match the return type of a gcc2
67270 builtin and then its argument prototype would still apply. */
67271 char $ac_func ();
67272 /* The GNU C library defines this for functions which it implements
67273 to always fail with ENOSYS. Some functions are actually named
67274 something starting with __ and the normal name is an alias. */
67275 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67276 choke me
67277 #else
67278 char (*f) () = $ac_func;
67279 #endif
67280 #ifdef __cplusplus
67282 #endif
67285 main ()
67287 return f != $ac_func;
67289 return 0;
67291 _ACEOF
67292 rm -f conftest.$ac_objext conftest$ac_exeext
67293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67294 (eval $ac_link) 2>conftest.er1
67295 ac_status=$?
67296 grep -v '^ *+' conftest.er1 >conftest.err
67297 rm -f conftest.er1
67298 cat conftest.err >&5
67299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67300 (exit $ac_status); } &&
67301 { ac_try='test -z "$ac_c_werror_flag"
67302 || test ! -s conftest.err'
67303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67304 (eval $ac_try) 2>&5
67305 ac_status=$?
67306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67307 (exit $ac_status); }; } &&
67308 { ac_try='test -s conftest$ac_exeext'
67309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67310 (eval $ac_try) 2>&5
67311 ac_status=$?
67312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67313 (exit $ac_status); }; }; then
67314 eval "$as_ac_var=yes"
67315 else
67316 echo "$as_me: failed program was:" >&5
67317 sed 's/^/| /' conftest.$ac_ext >&5
67319 eval "$as_ac_var=no"
67321 rm -f conftest.err conftest.$ac_objext \
67322 conftest$ac_exeext conftest.$ac_ext
67324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67325 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67326 if test `eval echo '${'$as_ac_var'}'` = yes; then
67327 cat >>confdefs.h <<_ACEOF
67328 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67329 _ACEOF
67332 done
67334 else
67335 echo "$as_me:$LINENO: checking for _float trig functions" >&5
67336 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
67337 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
67338 echo $ECHO_N "(cached) $ECHO_C" >&6
67339 else
67343 ac_ext=cc
67344 ac_cpp='$CXXCPP $CPPFLAGS'
67345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67349 cat >conftest.$ac_ext <<_ACEOF
67350 /* confdefs.h. */
67351 _ACEOF
67352 cat confdefs.h >>conftest.$ac_ext
67353 cat >>conftest.$ac_ext <<_ACEOF
67354 /* end confdefs.h. */
67355 #include <math.h>
67357 main ()
67359 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
67361 return 0;
67363 _ACEOF
67364 rm -f conftest.$ac_objext
67365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67366 (eval $ac_compile) 2>conftest.er1
67367 ac_status=$?
67368 grep -v '^ *+' conftest.er1 >conftest.err
67369 rm -f conftest.er1
67370 cat conftest.err >&5
67371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67372 (exit $ac_status); } &&
67373 { ac_try='test -z "$ac_cxx_werror_flag"
67374 || test ! -s conftest.err'
67375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67376 (eval $ac_try) 2>&5
67377 ac_status=$?
67378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67379 (exit $ac_status); }; } &&
67380 { ac_try='test -s conftest.$ac_objext'
67381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67382 (eval $ac_try) 2>&5
67383 ac_status=$?
67384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67385 (exit $ac_status); }; }; then
67386 glibcxx_cv_func__float_trig_use=yes
67387 else
67388 echo "$as_me: failed program was:" >&5
67389 sed 's/^/| /' conftest.$ac_ext >&5
67391 glibcxx_cv_func__float_trig_use=no
67393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67394 ac_ext=c
67395 ac_cpp='$CPP $CPPFLAGS'
67396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67402 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
67403 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
67404 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
67414 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
67416 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67417 echo "$as_me:$LINENO: checking for $ac_func" >&5
67418 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67419 if eval "test \"\${$as_ac_var+set}\" = set"; then
67420 echo $ECHO_N "(cached) $ECHO_C" >&6
67421 else
67422 if test x$gcc_no_link = xyes; then
67423 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67424 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67425 { (exit 1); exit 1; }; }
67427 cat >conftest.$ac_ext <<_ACEOF
67428 /* confdefs.h. */
67429 _ACEOF
67430 cat confdefs.h >>conftest.$ac_ext
67431 cat >>conftest.$ac_ext <<_ACEOF
67432 /* end confdefs.h. */
67433 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67434 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67435 #define $ac_func innocuous_$ac_func
67437 /* System header to define __stub macros and hopefully few prototypes,
67438 which can conflict with char $ac_func (); below.
67439 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67440 <limits.h> exists even on freestanding compilers. */
67442 #ifdef __STDC__
67443 # include <limits.h>
67444 #else
67445 # include <assert.h>
67446 #endif
67448 #undef $ac_func
67450 /* Override any gcc2 internal prototype to avoid an error. */
67451 #ifdef __cplusplus
67452 extern "C"
67454 #endif
67455 /* We use char because int might match the return type of a gcc2
67456 builtin and then its argument prototype would still apply. */
67457 char $ac_func ();
67458 /* The GNU C library defines this for functions which it implements
67459 to always fail with ENOSYS. Some functions are actually named
67460 something starting with __ and the normal name is an alias. */
67461 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67462 choke me
67463 #else
67464 char (*f) () = $ac_func;
67465 #endif
67466 #ifdef __cplusplus
67468 #endif
67471 main ()
67473 return f != $ac_func;
67475 return 0;
67477 _ACEOF
67478 rm -f conftest.$ac_objext conftest$ac_exeext
67479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67480 (eval $ac_link) 2>conftest.er1
67481 ac_status=$?
67482 grep -v '^ *+' conftest.er1 >conftest.err
67483 rm -f conftest.er1
67484 cat conftest.err >&5
67485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67486 (exit $ac_status); } &&
67487 { ac_try='test -z "$ac_c_werror_flag"
67488 || test ! -s conftest.err'
67489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67490 (eval $ac_try) 2>&5
67491 ac_status=$?
67492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67493 (exit $ac_status); }; } &&
67494 { ac_try='test -s conftest$ac_exeext'
67495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67496 (eval $ac_try) 2>&5
67497 ac_status=$?
67498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67499 (exit $ac_status); }; }; then
67500 eval "$as_ac_var=yes"
67501 else
67502 echo "$as_me: failed program was:" >&5
67503 sed 's/^/| /' conftest.$ac_ext >&5
67505 eval "$as_ac_var=no"
67507 rm -f conftest.err conftest.$ac_objext \
67508 conftest$ac_exeext conftest.$ac_ext
67510 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67511 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67512 if test `eval echo '${'$as_ac_var'}'` = yes; then
67513 cat >>confdefs.h <<_ACEOF
67514 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67515 _ACEOF
67518 done
67536 echo "$as_me:$LINENO: checking for float round functions" >&5
67537 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
67538 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
67539 echo $ECHO_N "(cached) $ECHO_C" >&6
67540 else
67544 ac_ext=cc
67545 ac_cpp='$CXXCPP $CPPFLAGS'
67546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67550 cat >conftest.$ac_ext <<_ACEOF
67551 /* confdefs.h. */
67552 _ACEOF
67553 cat confdefs.h >>conftest.$ac_ext
67554 cat >>conftest.$ac_ext <<_ACEOF
67555 /* end confdefs.h. */
67556 #include <math.h>
67558 main ()
67560 ceilf (0); floorf (0);
67562 return 0;
67564 _ACEOF
67565 rm -f conftest.$ac_objext
67566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67567 (eval $ac_compile) 2>conftest.er1
67568 ac_status=$?
67569 grep -v '^ *+' conftest.er1 >conftest.err
67570 rm -f conftest.er1
67571 cat conftest.err >&5
67572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67573 (exit $ac_status); } &&
67574 { ac_try='test -z "$ac_cxx_werror_flag"
67575 || test ! -s conftest.err'
67576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67577 (eval $ac_try) 2>&5
67578 ac_status=$?
67579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67580 (exit $ac_status); }; } &&
67581 { ac_try='test -s conftest.$ac_objext'
67582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67583 (eval $ac_try) 2>&5
67584 ac_status=$?
67585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67586 (exit $ac_status); }; }; then
67587 glibcxx_cv_func_float_round_use=yes
67588 else
67589 echo "$as_me: failed program was:" >&5
67590 sed 's/^/| /' conftest.$ac_ext >&5
67592 glibcxx_cv_func_float_round_use=no
67594 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67595 ac_ext=c
67596 ac_cpp='$CPP $CPPFLAGS'
67597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67603 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
67604 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
67605 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
67608 for ac_func in ceilf floorf
67610 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67611 echo "$as_me:$LINENO: checking for $ac_func" >&5
67612 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67613 if eval "test \"\${$as_ac_var+set}\" = set"; then
67614 echo $ECHO_N "(cached) $ECHO_C" >&6
67615 else
67616 if test x$gcc_no_link = xyes; then
67617 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67618 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67619 { (exit 1); exit 1; }; }
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67628 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67629 #define $ac_func innocuous_$ac_func
67631 /* System header to define __stub macros and hopefully few prototypes,
67632 which can conflict with char $ac_func (); below.
67633 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67634 <limits.h> exists even on freestanding compilers. */
67636 #ifdef __STDC__
67637 # include <limits.h>
67638 #else
67639 # include <assert.h>
67640 #endif
67642 #undef $ac_func
67644 /* Override any gcc2 internal prototype to avoid an error. */
67645 #ifdef __cplusplus
67646 extern "C"
67648 #endif
67649 /* We use char because int might match the return type of a gcc2
67650 builtin and then its argument prototype would still apply. */
67651 char $ac_func ();
67652 /* The GNU C library defines this for functions which it implements
67653 to always fail with ENOSYS. Some functions are actually named
67654 something starting with __ and the normal name is an alias. */
67655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67656 choke me
67657 #else
67658 char (*f) () = $ac_func;
67659 #endif
67660 #ifdef __cplusplus
67662 #endif
67665 main ()
67667 return f != $ac_func;
67669 return 0;
67671 _ACEOF
67672 rm -f conftest.$ac_objext conftest$ac_exeext
67673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67674 (eval $ac_link) 2>conftest.er1
67675 ac_status=$?
67676 grep -v '^ *+' conftest.er1 >conftest.err
67677 rm -f conftest.er1
67678 cat conftest.err >&5
67679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67680 (exit $ac_status); } &&
67681 { ac_try='test -z "$ac_c_werror_flag"
67682 || test ! -s conftest.err'
67683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67684 (eval $ac_try) 2>&5
67685 ac_status=$?
67686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67687 (exit $ac_status); }; } &&
67688 { ac_try='test -s conftest$ac_exeext'
67689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67690 (eval $ac_try) 2>&5
67691 ac_status=$?
67692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67693 (exit $ac_status); }; }; then
67694 eval "$as_ac_var=yes"
67695 else
67696 echo "$as_me: failed program was:" >&5
67697 sed 's/^/| /' conftest.$ac_ext >&5
67699 eval "$as_ac_var=no"
67701 rm -f conftest.err conftest.$ac_objext \
67702 conftest$ac_exeext conftest.$ac_ext
67704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67705 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67706 if test `eval echo '${'$as_ac_var'}'` = yes; then
67707 cat >>confdefs.h <<_ACEOF
67708 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67709 _ACEOF
67712 done
67714 else
67715 echo "$as_me:$LINENO: checking for _float round functions" >&5
67716 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
67717 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
67718 echo $ECHO_N "(cached) $ECHO_C" >&6
67719 else
67723 ac_ext=cc
67724 ac_cpp='$CXXCPP $CPPFLAGS'
67725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67729 cat >conftest.$ac_ext <<_ACEOF
67730 /* confdefs.h. */
67731 _ACEOF
67732 cat confdefs.h >>conftest.$ac_ext
67733 cat >>conftest.$ac_ext <<_ACEOF
67734 /* end confdefs.h. */
67735 #include <math.h>
67737 main ()
67739 _ceilf (0); _floorf (0);
67741 return 0;
67743 _ACEOF
67744 rm -f conftest.$ac_objext
67745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67746 (eval $ac_compile) 2>conftest.er1
67747 ac_status=$?
67748 grep -v '^ *+' conftest.er1 >conftest.err
67749 rm -f conftest.er1
67750 cat conftest.err >&5
67751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67752 (exit $ac_status); } &&
67753 { ac_try='test -z "$ac_cxx_werror_flag"
67754 || test ! -s conftest.err'
67755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67756 (eval $ac_try) 2>&5
67757 ac_status=$?
67758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67759 (exit $ac_status); }; } &&
67760 { ac_try='test -s conftest.$ac_objext'
67761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67762 (eval $ac_try) 2>&5
67763 ac_status=$?
67764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67765 (exit $ac_status); }; }; then
67766 glibcxx_cv_func__float_round_use=yes
67767 else
67768 echo "$as_me: failed program was:" >&5
67769 sed 's/^/| /' conftest.$ac_ext >&5
67771 glibcxx_cv_func__float_round_use=no
67773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67774 ac_ext=c
67775 ac_cpp='$CPP $CPPFLAGS'
67776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67782 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
67783 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
67784 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
67787 for ac_func in _ceilf _floorf
67789 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67790 echo "$as_me:$LINENO: checking for $ac_func" >&5
67791 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67792 if eval "test \"\${$as_ac_var+set}\" = set"; then
67793 echo $ECHO_N "(cached) $ECHO_C" >&6
67794 else
67795 if test x$gcc_no_link = xyes; then
67796 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67797 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67798 { (exit 1); exit 1; }; }
67800 cat >conftest.$ac_ext <<_ACEOF
67801 /* confdefs.h. */
67802 _ACEOF
67803 cat confdefs.h >>conftest.$ac_ext
67804 cat >>conftest.$ac_ext <<_ACEOF
67805 /* end confdefs.h. */
67806 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67807 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67808 #define $ac_func innocuous_$ac_func
67810 /* System header to define __stub macros and hopefully few prototypes,
67811 which can conflict with char $ac_func (); below.
67812 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67813 <limits.h> exists even on freestanding compilers. */
67815 #ifdef __STDC__
67816 # include <limits.h>
67817 #else
67818 # include <assert.h>
67819 #endif
67821 #undef $ac_func
67823 /* Override any gcc2 internal prototype to avoid an error. */
67824 #ifdef __cplusplus
67825 extern "C"
67827 #endif
67828 /* We use char because int might match the return type of a gcc2
67829 builtin and then its argument prototype would still apply. */
67830 char $ac_func ();
67831 /* The GNU C library defines this for functions which it implements
67832 to always fail with ENOSYS. Some functions are actually named
67833 something starting with __ and the normal name is an alias. */
67834 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67835 choke me
67836 #else
67837 char (*f) () = $ac_func;
67838 #endif
67839 #ifdef __cplusplus
67841 #endif
67844 main ()
67846 return f != $ac_func;
67848 return 0;
67850 _ACEOF
67851 rm -f conftest.$ac_objext conftest$ac_exeext
67852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67853 (eval $ac_link) 2>conftest.er1
67854 ac_status=$?
67855 grep -v '^ *+' conftest.er1 >conftest.err
67856 rm -f conftest.er1
67857 cat conftest.err >&5
67858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67859 (exit $ac_status); } &&
67860 { ac_try='test -z "$ac_c_werror_flag"
67861 || test ! -s conftest.err'
67862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67863 (eval $ac_try) 2>&5
67864 ac_status=$?
67865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67866 (exit $ac_status); }; } &&
67867 { ac_try='test -s conftest$ac_exeext'
67868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67869 (eval $ac_try) 2>&5
67870 ac_status=$?
67871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67872 (exit $ac_status); }; }; then
67873 eval "$as_ac_var=yes"
67874 else
67875 echo "$as_me: failed program was:" >&5
67876 sed 's/^/| /' conftest.$ac_ext >&5
67878 eval "$as_ac_var=no"
67880 rm -f conftest.err conftest.$ac_objext \
67881 conftest$ac_exeext conftest.$ac_ext
67883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67884 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67885 if test `eval echo '${'$as_ac_var'}'` = yes; then
67886 cat >>confdefs.h <<_ACEOF
67887 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67888 _ACEOF
67891 done
67903 echo "$as_me:$LINENO: checking for expf declaration" >&5
67904 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
67905 if test x${glibcxx_cv_func_expf_use+set} != xset; then
67906 if test "${glibcxx_cv_func_expf_use+set}" = set; then
67907 echo $ECHO_N "(cached) $ECHO_C" >&6
67908 else
67912 ac_ext=cc
67913 ac_cpp='$CXXCPP $CPPFLAGS'
67914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67918 cat >conftest.$ac_ext <<_ACEOF
67919 /* confdefs.h. */
67920 _ACEOF
67921 cat confdefs.h >>conftest.$ac_ext
67922 cat >>conftest.$ac_ext <<_ACEOF
67923 /* end confdefs.h. */
67924 #include <math.h>
67925 #ifdef HAVE_IEEEFP_H
67926 #include <ieeefp.h>
67927 #endif
67930 main ()
67932 expf(0);
67934 return 0;
67936 _ACEOF
67937 rm -f conftest.$ac_objext
67938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67939 (eval $ac_compile) 2>conftest.er1
67940 ac_status=$?
67941 grep -v '^ *+' conftest.er1 >conftest.err
67942 rm -f conftest.er1
67943 cat conftest.err >&5
67944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67945 (exit $ac_status); } &&
67946 { ac_try='test -z "$ac_cxx_werror_flag"
67947 || test ! -s conftest.err'
67948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67949 (eval $ac_try) 2>&5
67950 ac_status=$?
67951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67952 (exit $ac_status); }; } &&
67953 { ac_try='test -s conftest.$ac_objext'
67954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67955 (eval $ac_try) 2>&5
67956 ac_status=$?
67957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67958 (exit $ac_status); }; }; then
67959 glibcxx_cv_func_expf_use=yes
67960 else
67961 echo "$as_me: failed program was:" >&5
67962 sed 's/^/| /' conftest.$ac_ext >&5
67964 glibcxx_cv_func_expf_use=no
67966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67967 ac_ext=c
67968 ac_cpp='$CPP $CPPFLAGS'
67969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67977 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
67978 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
67980 if test x$glibcxx_cv_func_expf_use = x"yes"; then
67982 for ac_func in expf
67984 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67985 echo "$as_me:$LINENO: checking for $ac_func" >&5
67986 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67987 if eval "test \"\${$as_ac_var+set}\" = set"; then
67988 echo $ECHO_N "(cached) $ECHO_C" >&6
67989 else
67990 if test x$gcc_no_link = xyes; then
67991 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67992 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67993 { (exit 1); exit 1; }; }
67995 cat >conftest.$ac_ext <<_ACEOF
67996 /* confdefs.h. */
67997 _ACEOF
67998 cat confdefs.h >>conftest.$ac_ext
67999 cat >>conftest.$ac_ext <<_ACEOF
68000 /* end confdefs.h. */
68001 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68002 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68003 #define $ac_func innocuous_$ac_func
68005 /* System header to define __stub macros and hopefully few prototypes,
68006 which can conflict with char $ac_func (); below.
68007 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68008 <limits.h> exists even on freestanding compilers. */
68010 #ifdef __STDC__
68011 # include <limits.h>
68012 #else
68013 # include <assert.h>
68014 #endif
68016 #undef $ac_func
68018 /* Override any gcc2 internal prototype to avoid an error. */
68019 #ifdef __cplusplus
68020 extern "C"
68022 #endif
68023 /* We use char because int might match the return type of a gcc2
68024 builtin and then its argument prototype would still apply. */
68025 char $ac_func ();
68026 /* The GNU C library defines this for functions which it implements
68027 to always fail with ENOSYS. Some functions are actually named
68028 something starting with __ and the normal name is an alias. */
68029 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68030 choke me
68031 #else
68032 char (*f) () = $ac_func;
68033 #endif
68034 #ifdef __cplusplus
68036 #endif
68039 main ()
68041 return f != $ac_func;
68043 return 0;
68045 _ACEOF
68046 rm -f conftest.$ac_objext conftest$ac_exeext
68047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68048 (eval $ac_link) 2>conftest.er1
68049 ac_status=$?
68050 grep -v '^ *+' conftest.er1 >conftest.err
68051 rm -f conftest.er1
68052 cat conftest.err >&5
68053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68054 (exit $ac_status); } &&
68055 { ac_try='test -z "$ac_c_werror_flag"
68056 || test ! -s conftest.err'
68057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68058 (eval $ac_try) 2>&5
68059 ac_status=$?
68060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68061 (exit $ac_status); }; } &&
68062 { ac_try='test -s conftest$ac_exeext'
68063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68064 (eval $ac_try) 2>&5
68065 ac_status=$?
68066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68067 (exit $ac_status); }; }; then
68068 eval "$as_ac_var=yes"
68069 else
68070 echo "$as_me: failed program was:" >&5
68071 sed 's/^/| /' conftest.$ac_ext >&5
68073 eval "$as_ac_var=no"
68075 rm -f conftest.err conftest.$ac_objext \
68076 conftest$ac_exeext conftest.$ac_ext
68078 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68079 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68080 if test `eval echo '${'$as_ac_var'}'` = yes; then
68081 cat >>confdefs.h <<_ACEOF
68082 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68083 _ACEOF
68086 done
68088 else
68090 echo "$as_me:$LINENO: checking for _expf declaration" >&5
68091 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
68092 if test x${glibcxx_cv_func__expf_use+set} != xset; then
68093 if test "${glibcxx_cv_func__expf_use+set}" = set; then
68094 echo $ECHO_N "(cached) $ECHO_C" >&6
68095 else
68099 ac_ext=cc
68100 ac_cpp='$CXXCPP $CPPFLAGS'
68101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68105 cat >conftest.$ac_ext <<_ACEOF
68106 /* confdefs.h. */
68107 _ACEOF
68108 cat confdefs.h >>conftest.$ac_ext
68109 cat >>conftest.$ac_ext <<_ACEOF
68110 /* end confdefs.h. */
68111 #include <math.h>
68112 #ifdef HAVE_IEEEFP_H
68113 #include <ieeefp.h>
68114 #endif
68117 main ()
68119 _expf(0);
68121 return 0;
68123 _ACEOF
68124 rm -f conftest.$ac_objext
68125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68126 (eval $ac_compile) 2>conftest.er1
68127 ac_status=$?
68128 grep -v '^ *+' conftest.er1 >conftest.err
68129 rm -f conftest.er1
68130 cat conftest.err >&5
68131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68132 (exit $ac_status); } &&
68133 { ac_try='test -z "$ac_cxx_werror_flag"
68134 || test ! -s conftest.err'
68135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68136 (eval $ac_try) 2>&5
68137 ac_status=$?
68138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68139 (exit $ac_status); }; } &&
68140 { ac_try='test -s conftest.$ac_objext'
68141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68142 (eval $ac_try) 2>&5
68143 ac_status=$?
68144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68145 (exit $ac_status); }; }; then
68146 glibcxx_cv_func__expf_use=yes
68147 else
68148 echo "$as_me: failed program was:" >&5
68149 sed 's/^/| /' conftest.$ac_ext >&5
68151 glibcxx_cv_func__expf_use=no
68153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68154 ac_ext=c
68155 ac_cpp='$CPP $CPPFLAGS'
68156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68164 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
68165 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
68167 if test x$glibcxx_cv_func__expf_use = x"yes"; then
68169 for ac_func in _expf
68171 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68172 echo "$as_me:$LINENO: checking for $ac_func" >&5
68173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68174 if eval "test \"\${$as_ac_var+set}\" = set"; then
68175 echo $ECHO_N "(cached) $ECHO_C" >&6
68176 else
68177 if test x$gcc_no_link = xyes; then
68178 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68180 { (exit 1); exit 1; }; }
68182 cat >conftest.$ac_ext <<_ACEOF
68183 /* confdefs.h. */
68184 _ACEOF
68185 cat confdefs.h >>conftest.$ac_ext
68186 cat >>conftest.$ac_ext <<_ACEOF
68187 /* end confdefs.h. */
68188 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68189 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68190 #define $ac_func innocuous_$ac_func
68192 /* System header to define __stub macros and hopefully few prototypes,
68193 which can conflict with char $ac_func (); below.
68194 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68195 <limits.h> exists even on freestanding compilers. */
68197 #ifdef __STDC__
68198 # include <limits.h>
68199 #else
68200 # include <assert.h>
68201 #endif
68203 #undef $ac_func
68205 /* Override any gcc2 internal prototype to avoid an error. */
68206 #ifdef __cplusplus
68207 extern "C"
68209 #endif
68210 /* We use char because int might match the return type of a gcc2
68211 builtin and then its argument prototype would still apply. */
68212 char $ac_func ();
68213 /* The GNU C library defines this for functions which it implements
68214 to always fail with ENOSYS. Some functions are actually named
68215 something starting with __ and the normal name is an alias. */
68216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68217 choke me
68218 #else
68219 char (*f) () = $ac_func;
68220 #endif
68221 #ifdef __cplusplus
68223 #endif
68226 main ()
68228 return f != $ac_func;
68230 return 0;
68232 _ACEOF
68233 rm -f conftest.$ac_objext conftest$ac_exeext
68234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68235 (eval $ac_link) 2>conftest.er1
68236 ac_status=$?
68237 grep -v '^ *+' conftest.er1 >conftest.err
68238 rm -f conftest.er1
68239 cat conftest.err >&5
68240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68241 (exit $ac_status); } &&
68242 { ac_try='test -z "$ac_c_werror_flag"
68243 || test ! -s conftest.err'
68244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68245 (eval $ac_try) 2>&5
68246 ac_status=$?
68247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68248 (exit $ac_status); }; } &&
68249 { ac_try='test -s conftest$ac_exeext'
68250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68251 (eval $ac_try) 2>&5
68252 ac_status=$?
68253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68254 (exit $ac_status); }; }; then
68255 eval "$as_ac_var=yes"
68256 else
68257 echo "$as_me: failed program was:" >&5
68258 sed 's/^/| /' conftest.$ac_ext >&5
68260 eval "$as_ac_var=no"
68262 rm -f conftest.err conftest.$ac_objext \
68263 conftest$ac_exeext conftest.$ac_ext
68265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68266 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68267 if test `eval echo '${'$as_ac_var'}'` = yes; then
68268 cat >>confdefs.h <<_ACEOF
68269 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68270 _ACEOF
68273 done
68283 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
68284 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
68285 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
68286 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
68287 echo $ECHO_N "(cached) $ECHO_C" >&6
68288 else
68292 ac_ext=cc
68293 ac_cpp='$CXXCPP $CPPFLAGS'
68294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68298 cat >conftest.$ac_ext <<_ACEOF
68299 /* confdefs.h. */
68300 _ACEOF
68301 cat confdefs.h >>conftest.$ac_ext
68302 cat >>conftest.$ac_ext <<_ACEOF
68303 /* end confdefs.h. */
68304 #include <math.h>
68305 #ifdef HAVE_IEEEFP_H
68306 #include <ieeefp.h>
68307 #endif
68310 main ()
68312 isnanf(0);
68314 return 0;
68316 _ACEOF
68317 rm -f conftest.$ac_objext
68318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68319 (eval $ac_compile) 2>conftest.er1
68320 ac_status=$?
68321 grep -v '^ *+' conftest.er1 >conftest.err
68322 rm -f conftest.er1
68323 cat conftest.err >&5
68324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68325 (exit $ac_status); } &&
68326 { ac_try='test -z "$ac_cxx_werror_flag"
68327 || test ! -s conftest.err'
68328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68329 (eval $ac_try) 2>&5
68330 ac_status=$?
68331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68332 (exit $ac_status); }; } &&
68333 { ac_try='test -s conftest.$ac_objext'
68334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68335 (eval $ac_try) 2>&5
68336 ac_status=$?
68337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68338 (exit $ac_status); }; }; then
68339 glibcxx_cv_func_isnanf_use=yes
68340 else
68341 echo "$as_me: failed program was:" >&5
68342 sed 's/^/| /' conftest.$ac_ext >&5
68344 glibcxx_cv_func_isnanf_use=no
68346 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68347 ac_ext=c
68348 ac_cpp='$CPP $CPPFLAGS'
68349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68357 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
68358 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
68360 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
68362 for ac_func in isnanf
68364 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68365 echo "$as_me:$LINENO: checking for $ac_func" >&5
68366 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68367 if eval "test \"\${$as_ac_var+set}\" = set"; then
68368 echo $ECHO_N "(cached) $ECHO_C" >&6
68369 else
68370 if test x$gcc_no_link = xyes; then
68371 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68372 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68373 { (exit 1); exit 1; }; }
68375 cat >conftest.$ac_ext <<_ACEOF
68376 /* confdefs.h. */
68377 _ACEOF
68378 cat confdefs.h >>conftest.$ac_ext
68379 cat >>conftest.$ac_ext <<_ACEOF
68380 /* end confdefs.h. */
68381 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68382 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68383 #define $ac_func innocuous_$ac_func
68385 /* System header to define __stub macros and hopefully few prototypes,
68386 which can conflict with char $ac_func (); below.
68387 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68388 <limits.h> exists even on freestanding compilers. */
68390 #ifdef __STDC__
68391 # include <limits.h>
68392 #else
68393 # include <assert.h>
68394 #endif
68396 #undef $ac_func
68398 /* Override any gcc2 internal prototype to avoid an error. */
68399 #ifdef __cplusplus
68400 extern "C"
68402 #endif
68403 /* We use char because int might match the return type of a gcc2
68404 builtin and then its argument prototype would still apply. */
68405 char $ac_func ();
68406 /* The GNU C library defines this for functions which it implements
68407 to always fail with ENOSYS. Some functions are actually named
68408 something starting with __ and the normal name is an alias. */
68409 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68410 choke me
68411 #else
68412 char (*f) () = $ac_func;
68413 #endif
68414 #ifdef __cplusplus
68416 #endif
68419 main ()
68421 return f != $ac_func;
68423 return 0;
68425 _ACEOF
68426 rm -f conftest.$ac_objext conftest$ac_exeext
68427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68428 (eval $ac_link) 2>conftest.er1
68429 ac_status=$?
68430 grep -v '^ *+' conftest.er1 >conftest.err
68431 rm -f conftest.er1
68432 cat conftest.err >&5
68433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68434 (exit $ac_status); } &&
68435 { ac_try='test -z "$ac_c_werror_flag"
68436 || test ! -s conftest.err'
68437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68438 (eval $ac_try) 2>&5
68439 ac_status=$?
68440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68441 (exit $ac_status); }; } &&
68442 { ac_try='test -s conftest$ac_exeext'
68443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68444 (eval $ac_try) 2>&5
68445 ac_status=$?
68446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68447 (exit $ac_status); }; }; then
68448 eval "$as_ac_var=yes"
68449 else
68450 echo "$as_me: failed program was:" >&5
68451 sed 's/^/| /' conftest.$ac_ext >&5
68453 eval "$as_ac_var=no"
68455 rm -f conftest.err conftest.$ac_objext \
68456 conftest$ac_exeext conftest.$ac_ext
68458 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68459 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68460 if test `eval echo '${'$as_ac_var'}'` = yes; then
68461 cat >>confdefs.h <<_ACEOF
68462 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68463 _ACEOF
68466 done
68468 else
68470 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
68471 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
68472 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
68473 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
68474 echo $ECHO_N "(cached) $ECHO_C" >&6
68475 else
68479 ac_ext=cc
68480 ac_cpp='$CXXCPP $CPPFLAGS'
68481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68485 cat >conftest.$ac_ext <<_ACEOF
68486 /* confdefs.h. */
68487 _ACEOF
68488 cat confdefs.h >>conftest.$ac_ext
68489 cat >>conftest.$ac_ext <<_ACEOF
68490 /* end confdefs.h. */
68491 #include <math.h>
68492 #ifdef HAVE_IEEEFP_H
68493 #include <ieeefp.h>
68494 #endif
68497 main ()
68499 _isnanf(0);
68501 return 0;
68503 _ACEOF
68504 rm -f conftest.$ac_objext
68505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68506 (eval $ac_compile) 2>conftest.er1
68507 ac_status=$?
68508 grep -v '^ *+' conftest.er1 >conftest.err
68509 rm -f conftest.er1
68510 cat conftest.err >&5
68511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68512 (exit $ac_status); } &&
68513 { ac_try='test -z "$ac_cxx_werror_flag"
68514 || test ! -s conftest.err'
68515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68516 (eval $ac_try) 2>&5
68517 ac_status=$?
68518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68519 (exit $ac_status); }; } &&
68520 { ac_try='test -s conftest.$ac_objext'
68521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68522 (eval $ac_try) 2>&5
68523 ac_status=$?
68524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68525 (exit $ac_status); }; }; then
68526 glibcxx_cv_func__isnanf_use=yes
68527 else
68528 echo "$as_me: failed program was:" >&5
68529 sed 's/^/| /' conftest.$ac_ext >&5
68531 glibcxx_cv_func__isnanf_use=no
68533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68534 ac_ext=c
68535 ac_cpp='$CPP $CPPFLAGS'
68536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68544 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
68545 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
68547 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
68549 for ac_func in _isnanf
68551 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68552 echo "$as_me:$LINENO: checking for $ac_func" >&5
68553 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68554 if eval "test \"\${$as_ac_var+set}\" = set"; then
68555 echo $ECHO_N "(cached) $ECHO_C" >&6
68556 else
68557 if test x$gcc_no_link = xyes; then
68558 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68559 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68560 { (exit 1); exit 1; }; }
68562 cat >conftest.$ac_ext <<_ACEOF
68563 /* confdefs.h. */
68564 _ACEOF
68565 cat confdefs.h >>conftest.$ac_ext
68566 cat >>conftest.$ac_ext <<_ACEOF
68567 /* end confdefs.h. */
68568 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68569 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68570 #define $ac_func innocuous_$ac_func
68572 /* System header to define __stub macros and hopefully few prototypes,
68573 which can conflict with char $ac_func (); below.
68574 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68575 <limits.h> exists even on freestanding compilers. */
68577 #ifdef __STDC__
68578 # include <limits.h>
68579 #else
68580 # include <assert.h>
68581 #endif
68583 #undef $ac_func
68585 /* Override any gcc2 internal prototype to avoid an error. */
68586 #ifdef __cplusplus
68587 extern "C"
68589 #endif
68590 /* We use char because int might match the return type of a gcc2
68591 builtin and then its argument prototype would still apply. */
68592 char $ac_func ();
68593 /* The GNU C library defines this for functions which it implements
68594 to always fail with ENOSYS. Some functions are actually named
68595 something starting with __ and the normal name is an alias. */
68596 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68597 choke me
68598 #else
68599 char (*f) () = $ac_func;
68600 #endif
68601 #ifdef __cplusplus
68603 #endif
68606 main ()
68608 return f != $ac_func;
68610 return 0;
68612 _ACEOF
68613 rm -f conftest.$ac_objext conftest$ac_exeext
68614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68615 (eval $ac_link) 2>conftest.er1
68616 ac_status=$?
68617 grep -v '^ *+' conftest.er1 >conftest.err
68618 rm -f conftest.er1
68619 cat conftest.err >&5
68620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68621 (exit $ac_status); } &&
68622 { ac_try='test -z "$ac_c_werror_flag"
68623 || test ! -s conftest.err'
68624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68625 (eval $ac_try) 2>&5
68626 ac_status=$?
68627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68628 (exit $ac_status); }; } &&
68629 { ac_try='test -s conftest$ac_exeext'
68630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68631 (eval $ac_try) 2>&5
68632 ac_status=$?
68633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68634 (exit $ac_status); }; }; then
68635 eval "$as_ac_var=yes"
68636 else
68637 echo "$as_me: failed program was:" >&5
68638 sed 's/^/| /' conftest.$ac_ext >&5
68640 eval "$as_ac_var=no"
68642 rm -f conftest.err conftest.$ac_objext \
68643 conftest$ac_exeext conftest.$ac_ext
68645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68646 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68647 if test `eval echo '${'$as_ac_var'}'` = yes; then
68648 cat >>confdefs.h <<_ACEOF
68649 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68650 _ACEOF
68653 done
68663 echo "$as_me:$LINENO: checking for isinff declaration" >&5
68664 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
68665 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
68666 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
68667 echo $ECHO_N "(cached) $ECHO_C" >&6
68668 else
68672 ac_ext=cc
68673 ac_cpp='$CXXCPP $CPPFLAGS'
68674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68678 cat >conftest.$ac_ext <<_ACEOF
68679 /* confdefs.h. */
68680 _ACEOF
68681 cat confdefs.h >>conftest.$ac_ext
68682 cat >>conftest.$ac_ext <<_ACEOF
68683 /* end confdefs.h. */
68684 #include <math.h>
68685 #ifdef HAVE_IEEEFP_H
68686 #include <ieeefp.h>
68687 #endif
68690 main ()
68692 isinff(0);
68694 return 0;
68696 _ACEOF
68697 rm -f conftest.$ac_objext
68698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68699 (eval $ac_compile) 2>conftest.er1
68700 ac_status=$?
68701 grep -v '^ *+' conftest.er1 >conftest.err
68702 rm -f conftest.er1
68703 cat conftest.err >&5
68704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68705 (exit $ac_status); } &&
68706 { ac_try='test -z "$ac_cxx_werror_flag"
68707 || test ! -s conftest.err'
68708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68709 (eval $ac_try) 2>&5
68710 ac_status=$?
68711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68712 (exit $ac_status); }; } &&
68713 { ac_try='test -s conftest.$ac_objext'
68714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68715 (eval $ac_try) 2>&5
68716 ac_status=$?
68717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68718 (exit $ac_status); }; }; then
68719 glibcxx_cv_func_isinff_use=yes
68720 else
68721 echo "$as_me: failed program was:" >&5
68722 sed 's/^/| /' conftest.$ac_ext >&5
68724 glibcxx_cv_func_isinff_use=no
68726 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68727 ac_ext=c
68728 ac_cpp='$CPP $CPPFLAGS'
68729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68737 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
68738 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
68740 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
68742 for ac_func in isinff
68744 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68745 echo "$as_me:$LINENO: checking for $ac_func" >&5
68746 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68747 if eval "test \"\${$as_ac_var+set}\" = set"; then
68748 echo $ECHO_N "(cached) $ECHO_C" >&6
68749 else
68750 if test x$gcc_no_link = xyes; then
68751 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68752 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68753 { (exit 1); exit 1; }; }
68755 cat >conftest.$ac_ext <<_ACEOF
68756 /* confdefs.h. */
68757 _ACEOF
68758 cat confdefs.h >>conftest.$ac_ext
68759 cat >>conftest.$ac_ext <<_ACEOF
68760 /* end confdefs.h. */
68761 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68762 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68763 #define $ac_func innocuous_$ac_func
68765 /* System header to define __stub macros and hopefully few prototypes,
68766 which can conflict with char $ac_func (); below.
68767 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68768 <limits.h> exists even on freestanding compilers. */
68770 #ifdef __STDC__
68771 # include <limits.h>
68772 #else
68773 # include <assert.h>
68774 #endif
68776 #undef $ac_func
68778 /* Override any gcc2 internal prototype to avoid an error. */
68779 #ifdef __cplusplus
68780 extern "C"
68782 #endif
68783 /* We use char because int might match the return type of a gcc2
68784 builtin and then its argument prototype would still apply. */
68785 char $ac_func ();
68786 /* The GNU C library defines this for functions which it implements
68787 to always fail with ENOSYS. Some functions are actually named
68788 something starting with __ and the normal name is an alias. */
68789 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68790 choke me
68791 #else
68792 char (*f) () = $ac_func;
68793 #endif
68794 #ifdef __cplusplus
68796 #endif
68799 main ()
68801 return f != $ac_func;
68803 return 0;
68805 _ACEOF
68806 rm -f conftest.$ac_objext conftest$ac_exeext
68807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68808 (eval $ac_link) 2>conftest.er1
68809 ac_status=$?
68810 grep -v '^ *+' conftest.er1 >conftest.err
68811 rm -f conftest.er1
68812 cat conftest.err >&5
68813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68814 (exit $ac_status); } &&
68815 { ac_try='test -z "$ac_c_werror_flag"
68816 || test ! -s conftest.err'
68817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68818 (eval $ac_try) 2>&5
68819 ac_status=$?
68820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68821 (exit $ac_status); }; } &&
68822 { ac_try='test -s conftest$ac_exeext'
68823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68824 (eval $ac_try) 2>&5
68825 ac_status=$?
68826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68827 (exit $ac_status); }; }; then
68828 eval "$as_ac_var=yes"
68829 else
68830 echo "$as_me: failed program was:" >&5
68831 sed 's/^/| /' conftest.$ac_ext >&5
68833 eval "$as_ac_var=no"
68835 rm -f conftest.err conftest.$ac_objext \
68836 conftest$ac_exeext conftest.$ac_ext
68838 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68839 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68840 if test `eval echo '${'$as_ac_var'}'` = yes; then
68841 cat >>confdefs.h <<_ACEOF
68842 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68843 _ACEOF
68846 done
68848 else
68850 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
68851 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
68852 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
68853 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
68854 echo $ECHO_N "(cached) $ECHO_C" >&6
68855 else
68859 ac_ext=cc
68860 ac_cpp='$CXXCPP $CPPFLAGS'
68861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68865 cat >conftest.$ac_ext <<_ACEOF
68866 /* confdefs.h. */
68867 _ACEOF
68868 cat confdefs.h >>conftest.$ac_ext
68869 cat >>conftest.$ac_ext <<_ACEOF
68870 /* end confdefs.h. */
68871 #include <math.h>
68872 #ifdef HAVE_IEEEFP_H
68873 #include <ieeefp.h>
68874 #endif
68877 main ()
68879 _isinff(0);
68881 return 0;
68883 _ACEOF
68884 rm -f conftest.$ac_objext
68885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68886 (eval $ac_compile) 2>conftest.er1
68887 ac_status=$?
68888 grep -v '^ *+' conftest.er1 >conftest.err
68889 rm -f conftest.er1
68890 cat conftest.err >&5
68891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68892 (exit $ac_status); } &&
68893 { ac_try='test -z "$ac_cxx_werror_flag"
68894 || test ! -s conftest.err'
68895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68896 (eval $ac_try) 2>&5
68897 ac_status=$?
68898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68899 (exit $ac_status); }; } &&
68900 { ac_try='test -s conftest.$ac_objext'
68901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68902 (eval $ac_try) 2>&5
68903 ac_status=$?
68904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68905 (exit $ac_status); }; }; then
68906 glibcxx_cv_func__isinff_use=yes
68907 else
68908 echo "$as_me: failed program was:" >&5
68909 sed 's/^/| /' conftest.$ac_ext >&5
68911 glibcxx_cv_func__isinff_use=no
68913 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68914 ac_ext=c
68915 ac_cpp='$CPP $CPPFLAGS'
68916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68924 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
68925 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
68927 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
68929 for ac_func in _isinff
68931 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68932 echo "$as_me:$LINENO: checking for $ac_func" >&5
68933 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68934 if eval "test \"\${$as_ac_var+set}\" = set"; then
68935 echo $ECHO_N "(cached) $ECHO_C" >&6
68936 else
68937 if test x$gcc_no_link = xyes; then
68938 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68939 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68940 { (exit 1); exit 1; }; }
68942 cat >conftest.$ac_ext <<_ACEOF
68943 /* confdefs.h. */
68944 _ACEOF
68945 cat confdefs.h >>conftest.$ac_ext
68946 cat >>conftest.$ac_ext <<_ACEOF
68947 /* end confdefs.h. */
68948 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68949 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68950 #define $ac_func innocuous_$ac_func
68952 /* System header to define __stub macros and hopefully few prototypes,
68953 which can conflict with char $ac_func (); below.
68954 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68955 <limits.h> exists even on freestanding compilers. */
68957 #ifdef __STDC__
68958 # include <limits.h>
68959 #else
68960 # include <assert.h>
68961 #endif
68963 #undef $ac_func
68965 /* Override any gcc2 internal prototype to avoid an error. */
68966 #ifdef __cplusplus
68967 extern "C"
68969 #endif
68970 /* We use char because int might match the return type of a gcc2
68971 builtin and then its argument prototype would still apply. */
68972 char $ac_func ();
68973 /* The GNU C library defines this for functions which it implements
68974 to always fail with ENOSYS. Some functions are actually named
68975 something starting with __ and the normal name is an alias. */
68976 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68977 choke me
68978 #else
68979 char (*f) () = $ac_func;
68980 #endif
68981 #ifdef __cplusplus
68983 #endif
68986 main ()
68988 return f != $ac_func;
68990 return 0;
68992 _ACEOF
68993 rm -f conftest.$ac_objext conftest$ac_exeext
68994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68995 (eval $ac_link) 2>conftest.er1
68996 ac_status=$?
68997 grep -v '^ *+' conftest.er1 >conftest.err
68998 rm -f conftest.er1
68999 cat conftest.err >&5
69000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69001 (exit $ac_status); } &&
69002 { ac_try='test -z "$ac_c_werror_flag"
69003 || test ! -s conftest.err'
69004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69005 (eval $ac_try) 2>&5
69006 ac_status=$?
69007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69008 (exit $ac_status); }; } &&
69009 { ac_try='test -s conftest$ac_exeext'
69010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69011 (eval $ac_try) 2>&5
69012 ac_status=$?
69013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69014 (exit $ac_status); }; }; then
69015 eval "$as_ac_var=yes"
69016 else
69017 echo "$as_me: failed program was:" >&5
69018 sed 's/^/| /' conftest.$ac_ext >&5
69020 eval "$as_ac_var=no"
69022 rm -f conftest.err conftest.$ac_objext \
69023 conftest$ac_exeext conftest.$ac_ext
69025 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69026 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69027 if test `eval echo '${'$as_ac_var'}'` = yes; then
69028 cat >>confdefs.h <<_ACEOF
69029 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69030 _ACEOF
69033 done
69043 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
69044 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
69045 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
69046 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
69047 echo $ECHO_N "(cached) $ECHO_C" >&6
69048 else
69052 ac_ext=cc
69053 ac_cpp='$CXXCPP $CPPFLAGS'
69054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69058 cat >conftest.$ac_ext <<_ACEOF
69059 /* confdefs.h. */
69060 _ACEOF
69061 cat confdefs.h >>conftest.$ac_ext
69062 cat >>conftest.$ac_ext <<_ACEOF
69063 /* end confdefs.h. */
69064 #include <math.h>
69066 main ()
69068 atan2f(0, 0);
69070 return 0;
69072 _ACEOF
69073 rm -f conftest.$ac_objext
69074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69075 (eval $ac_compile) 2>conftest.er1
69076 ac_status=$?
69077 grep -v '^ *+' conftest.er1 >conftest.err
69078 rm -f conftest.er1
69079 cat conftest.err >&5
69080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69081 (exit $ac_status); } &&
69082 { ac_try='test -z "$ac_cxx_werror_flag"
69083 || test ! -s conftest.err'
69084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69085 (eval $ac_try) 2>&5
69086 ac_status=$?
69087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69088 (exit $ac_status); }; } &&
69089 { ac_try='test -s conftest.$ac_objext'
69090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69091 (eval $ac_try) 2>&5
69092 ac_status=$?
69093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69094 (exit $ac_status); }; }; then
69095 glibcxx_cv_func_atan2f_use=yes
69096 else
69097 echo "$as_me: failed program was:" >&5
69098 sed 's/^/| /' conftest.$ac_ext >&5
69100 glibcxx_cv_func_atan2f_use=no
69102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69103 ac_ext=c
69104 ac_cpp='$CPP $CPPFLAGS'
69105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69113 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
69114 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
69116 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
69118 for ac_func in atan2f
69120 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69121 echo "$as_me:$LINENO: checking for $ac_func" >&5
69122 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69123 if eval "test \"\${$as_ac_var+set}\" = set"; then
69124 echo $ECHO_N "(cached) $ECHO_C" >&6
69125 else
69126 if test x$gcc_no_link = xyes; then
69127 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69128 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69129 { (exit 1); exit 1; }; }
69131 cat >conftest.$ac_ext <<_ACEOF
69132 /* confdefs.h. */
69133 _ACEOF
69134 cat confdefs.h >>conftest.$ac_ext
69135 cat >>conftest.$ac_ext <<_ACEOF
69136 /* end confdefs.h. */
69137 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69138 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69139 #define $ac_func innocuous_$ac_func
69141 /* System header to define __stub macros and hopefully few prototypes,
69142 which can conflict with char $ac_func (); below.
69143 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69144 <limits.h> exists even on freestanding compilers. */
69146 #ifdef __STDC__
69147 # include <limits.h>
69148 #else
69149 # include <assert.h>
69150 #endif
69152 #undef $ac_func
69154 /* Override any gcc2 internal prototype to avoid an error. */
69155 #ifdef __cplusplus
69156 extern "C"
69158 #endif
69159 /* We use char because int might match the return type of a gcc2
69160 builtin and then its argument prototype would still apply. */
69161 char $ac_func ();
69162 /* The GNU C library defines this for functions which it implements
69163 to always fail with ENOSYS. Some functions are actually named
69164 something starting with __ and the normal name is an alias. */
69165 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69166 choke me
69167 #else
69168 char (*f) () = $ac_func;
69169 #endif
69170 #ifdef __cplusplus
69172 #endif
69175 main ()
69177 return f != $ac_func;
69179 return 0;
69181 _ACEOF
69182 rm -f conftest.$ac_objext conftest$ac_exeext
69183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69184 (eval $ac_link) 2>conftest.er1
69185 ac_status=$?
69186 grep -v '^ *+' conftest.er1 >conftest.err
69187 rm -f conftest.er1
69188 cat conftest.err >&5
69189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69190 (exit $ac_status); } &&
69191 { ac_try='test -z "$ac_c_werror_flag"
69192 || test ! -s conftest.err'
69193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69194 (eval $ac_try) 2>&5
69195 ac_status=$?
69196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69197 (exit $ac_status); }; } &&
69198 { ac_try='test -s conftest$ac_exeext'
69199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69200 (eval $ac_try) 2>&5
69201 ac_status=$?
69202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69203 (exit $ac_status); }; }; then
69204 eval "$as_ac_var=yes"
69205 else
69206 echo "$as_me: failed program was:" >&5
69207 sed 's/^/| /' conftest.$ac_ext >&5
69209 eval "$as_ac_var=no"
69211 rm -f conftest.err conftest.$ac_objext \
69212 conftest$ac_exeext conftest.$ac_ext
69214 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69215 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69216 if test `eval echo '${'$as_ac_var'}'` = yes; then
69217 cat >>confdefs.h <<_ACEOF
69218 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69219 _ACEOF
69222 done
69224 else
69226 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
69227 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
69228 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
69229 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
69230 echo $ECHO_N "(cached) $ECHO_C" >&6
69231 else
69235 ac_ext=cc
69236 ac_cpp='$CXXCPP $CPPFLAGS'
69237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69241 cat >conftest.$ac_ext <<_ACEOF
69242 /* confdefs.h. */
69243 _ACEOF
69244 cat confdefs.h >>conftest.$ac_ext
69245 cat >>conftest.$ac_ext <<_ACEOF
69246 /* end confdefs.h. */
69247 #include <math.h>
69249 main ()
69251 _atan2f(0, 0);
69253 return 0;
69255 _ACEOF
69256 rm -f conftest.$ac_objext
69257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69258 (eval $ac_compile) 2>conftest.er1
69259 ac_status=$?
69260 grep -v '^ *+' conftest.er1 >conftest.err
69261 rm -f conftest.er1
69262 cat conftest.err >&5
69263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69264 (exit $ac_status); } &&
69265 { ac_try='test -z "$ac_cxx_werror_flag"
69266 || test ! -s conftest.err'
69267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69268 (eval $ac_try) 2>&5
69269 ac_status=$?
69270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69271 (exit $ac_status); }; } &&
69272 { ac_try='test -s conftest.$ac_objext'
69273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69274 (eval $ac_try) 2>&5
69275 ac_status=$?
69276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69277 (exit $ac_status); }; }; then
69278 glibcxx_cv_func__atan2f_use=yes
69279 else
69280 echo "$as_me: failed program was:" >&5
69281 sed 's/^/| /' conftest.$ac_ext >&5
69283 glibcxx_cv_func__atan2f_use=no
69285 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69286 ac_ext=c
69287 ac_cpp='$CPP $CPPFLAGS'
69288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69296 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
69297 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
69299 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
69301 for ac_func in _atan2f
69303 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69304 echo "$as_me:$LINENO: checking for $ac_func" >&5
69305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69306 if eval "test \"\${$as_ac_var+set}\" = set"; then
69307 echo $ECHO_N "(cached) $ECHO_C" >&6
69308 else
69309 if test x$gcc_no_link = xyes; then
69310 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69311 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69312 { (exit 1); exit 1; }; }
69314 cat >conftest.$ac_ext <<_ACEOF
69315 /* confdefs.h. */
69316 _ACEOF
69317 cat confdefs.h >>conftest.$ac_ext
69318 cat >>conftest.$ac_ext <<_ACEOF
69319 /* end confdefs.h. */
69320 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69321 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69322 #define $ac_func innocuous_$ac_func
69324 /* System header to define __stub macros and hopefully few prototypes,
69325 which can conflict with char $ac_func (); below.
69326 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69327 <limits.h> exists even on freestanding compilers. */
69329 #ifdef __STDC__
69330 # include <limits.h>
69331 #else
69332 # include <assert.h>
69333 #endif
69335 #undef $ac_func
69337 /* Override any gcc2 internal prototype to avoid an error. */
69338 #ifdef __cplusplus
69339 extern "C"
69341 #endif
69342 /* We use char because int might match the return type of a gcc2
69343 builtin and then its argument prototype would still apply. */
69344 char $ac_func ();
69345 /* The GNU C library defines this for functions which it implements
69346 to always fail with ENOSYS. Some functions are actually named
69347 something starting with __ and the normal name is an alias. */
69348 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69349 choke me
69350 #else
69351 char (*f) () = $ac_func;
69352 #endif
69353 #ifdef __cplusplus
69355 #endif
69358 main ()
69360 return f != $ac_func;
69362 return 0;
69364 _ACEOF
69365 rm -f conftest.$ac_objext conftest$ac_exeext
69366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69367 (eval $ac_link) 2>conftest.er1
69368 ac_status=$?
69369 grep -v '^ *+' conftest.er1 >conftest.err
69370 rm -f conftest.er1
69371 cat conftest.err >&5
69372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69373 (exit $ac_status); } &&
69374 { ac_try='test -z "$ac_c_werror_flag"
69375 || test ! -s conftest.err'
69376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69377 (eval $ac_try) 2>&5
69378 ac_status=$?
69379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69380 (exit $ac_status); }; } &&
69381 { ac_try='test -s conftest$ac_exeext'
69382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69383 (eval $ac_try) 2>&5
69384 ac_status=$?
69385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69386 (exit $ac_status); }; }; then
69387 eval "$as_ac_var=yes"
69388 else
69389 echo "$as_me: failed program was:" >&5
69390 sed 's/^/| /' conftest.$ac_ext >&5
69392 eval "$as_ac_var=no"
69394 rm -f conftest.err conftest.$ac_objext \
69395 conftest$ac_exeext conftest.$ac_ext
69397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69398 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69399 if test `eval echo '${'$as_ac_var'}'` = yes; then
69400 cat >>confdefs.h <<_ACEOF
69401 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69402 _ACEOF
69405 done
69415 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
69416 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
69417 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
69418 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
69419 echo $ECHO_N "(cached) $ECHO_C" >&6
69420 else
69424 ac_ext=cc
69425 ac_cpp='$CXXCPP $CPPFLAGS'
69426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69430 cat >conftest.$ac_ext <<_ACEOF
69431 /* confdefs.h. */
69432 _ACEOF
69433 cat confdefs.h >>conftest.$ac_ext
69434 cat >>conftest.$ac_ext <<_ACEOF
69435 /* end confdefs.h. */
69436 #include <math.h>
69437 #ifdef HAVE_IEEEFP_H
69438 #include <ieeefp.h>
69439 #endif
69442 main ()
69444 fabsf(0);
69446 return 0;
69448 _ACEOF
69449 rm -f conftest.$ac_objext
69450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69451 (eval $ac_compile) 2>conftest.er1
69452 ac_status=$?
69453 grep -v '^ *+' conftest.er1 >conftest.err
69454 rm -f conftest.er1
69455 cat conftest.err >&5
69456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69457 (exit $ac_status); } &&
69458 { ac_try='test -z "$ac_cxx_werror_flag"
69459 || test ! -s conftest.err'
69460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69461 (eval $ac_try) 2>&5
69462 ac_status=$?
69463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69464 (exit $ac_status); }; } &&
69465 { ac_try='test -s conftest.$ac_objext'
69466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69467 (eval $ac_try) 2>&5
69468 ac_status=$?
69469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69470 (exit $ac_status); }; }; then
69471 glibcxx_cv_func_fabsf_use=yes
69472 else
69473 echo "$as_me: failed program was:" >&5
69474 sed 's/^/| /' conftest.$ac_ext >&5
69476 glibcxx_cv_func_fabsf_use=no
69478 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69479 ac_ext=c
69480 ac_cpp='$CPP $CPPFLAGS'
69481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69489 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
69490 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
69492 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
69494 for ac_func in fabsf
69496 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69497 echo "$as_me:$LINENO: checking for $ac_func" >&5
69498 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69499 if eval "test \"\${$as_ac_var+set}\" = set"; then
69500 echo $ECHO_N "(cached) $ECHO_C" >&6
69501 else
69502 if test x$gcc_no_link = xyes; then
69503 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69504 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69505 { (exit 1); exit 1; }; }
69507 cat >conftest.$ac_ext <<_ACEOF
69508 /* confdefs.h. */
69509 _ACEOF
69510 cat confdefs.h >>conftest.$ac_ext
69511 cat >>conftest.$ac_ext <<_ACEOF
69512 /* end confdefs.h. */
69513 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69514 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69515 #define $ac_func innocuous_$ac_func
69517 /* System header to define __stub macros and hopefully few prototypes,
69518 which can conflict with char $ac_func (); below.
69519 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69520 <limits.h> exists even on freestanding compilers. */
69522 #ifdef __STDC__
69523 # include <limits.h>
69524 #else
69525 # include <assert.h>
69526 #endif
69528 #undef $ac_func
69530 /* Override any gcc2 internal prototype to avoid an error. */
69531 #ifdef __cplusplus
69532 extern "C"
69534 #endif
69535 /* We use char because int might match the return type of a gcc2
69536 builtin and then its argument prototype would still apply. */
69537 char $ac_func ();
69538 /* The GNU C library defines this for functions which it implements
69539 to always fail with ENOSYS. Some functions are actually named
69540 something starting with __ and the normal name is an alias. */
69541 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69542 choke me
69543 #else
69544 char (*f) () = $ac_func;
69545 #endif
69546 #ifdef __cplusplus
69548 #endif
69551 main ()
69553 return f != $ac_func;
69555 return 0;
69557 _ACEOF
69558 rm -f conftest.$ac_objext conftest$ac_exeext
69559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69560 (eval $ac_link) 2>conftest.er1
69561 ac_status=$?
69562 grep -v '^ *+' conftest.er1 >conftest.err
69563 rm -f conftest.er1
69564 cat conftest.err >&5
69565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69566 (exit $ac_status); } &&
69567 { ac_try='test -z "$ac_c_werror_flag"
69568 || test ! -s conftest.err'
69569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69570 (eval $ac_try) 2>&5
69571 ac_status=$?
69572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69573 (exit $ac_status); }; } &&
69574 { ac_try='test -s conftest$ac_exeext'
69575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69576 (eval $ac_try) 2>&5
69577 ac_status=$?
69578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69579 (exit $ac_status); }; }; then
69580 eval "$as_ac_var=yes"
69581 else
69582 echo "$as_me: failed program was:" >&5
69583 sed 's/^/| /' conftest.$ac_ext >&5
69585 eval "$as_ac_var=no"
69587 rm -f conftest.err conftest.$ac_objext \
69588 conftest$ac_exeext conftest.$ac_ext
69590 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69591 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69592 if test `eval echo '${'$as_ac_var'}'` = yes; then
69593 cat >>confdefs.h <<_ACEOF
69594 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69595 _ACEOF
69598 done
69600 else
69602 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
69603 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
69604 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
69605 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
69606 echo $ECHO_N "(cached) $ECHO_C" >&6
69607 else
69611 ac_ext=cc
69612 ac_cpp='$CXXCPP $CPPFLAGS'
69613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69617 cat >conftest.$ac_ext <<_ACEOF
69618 /* confdefs.h. */
69619 _ACEOF
69620 cat confdefs.h >>conftest.$ac_ext
69621 cat >>conftest.$ac_ext <<_ACEOF
69622 /* end confdefs.h. */
69623 #include <math.h>
69624 #ifdef HAVE_IEEEFP_H
69625 #include <ieeefp.h>
69626 #endif
69629 main ()
69631 _fabsf(0);
69633 return 0;
69635 _ACEOF
69636 rm -f conftest.$ac_objext
69637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69638 (eval $ac_compile) 2>conftest.er1
69639 ac_status=$?
69640 grep -v '^ *+' conftest.er1 >conftest.err
69641 rm -f conftest.er1
69642 cat conftest.err >&5
69643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69644 (exit $ac_status); } &&
69645 { ac_try='test -z "$ac_cxx_werror_flag"
69646 || test ! -s conftest.err'
69647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69648 (eval $ac_try) 2>&5
69649 ac_status=$?
69650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69651 (exit $ac_status); }; } &&
69652 { ac_try='test -s conftest.$ac_objext'
69653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69654 (eval $ac_try) 2>&5
69655 ac_status=$?
69656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69657 (exit $ac_status); }; }; then
69658 glibcxx_cv_func__fabsf_use=yes
69659 else
69660 echo "$as_me: failed program was:" >&5
69661 sed 's/^/| /' conftest.$ac_ext >&5
69663 glibcxx_cv_func__fabsf_use=no
69665 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69666 ac_ext=c
69667 ac_cpp='$CPP $CPPFLAGS'
69668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69676 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
69677 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
69679 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
69681 for ac_func in _fabsf
69683 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69684 echo "$as_me:$LINENO: checking for $ac_func" >&5
69685 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69686 if eval "test \"\${$as_ac_var+set}\" = set"; then
69687 echo $ECHO_N "(cached) $ECHO_C" >&6
69688 else
69689 if test x$gcc_no_link = xyes; then
69690 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69691 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69692 { (exit 1); exit 1; }; }
69694 cat >conftest.$ac_ext <<_ACEOF
69695 /* confdefs.h. */
69696 _ACEOF
69697 cat confdefs.h >>conftest.$ac_ext
69698 cat >>conftest.$ac_ext <<_ACEOF
69699 /* end confdefs.h. */
69700 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69701 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69702 #define $ac_func innocuous_$ac_func
69704 /* System header to define __stub macros and hopefully few prototypes,
69705 which can conflict with char $ac_func (); below.
69706 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69707 <limits.h> exists even on freestanding compilers. */
69709 #ifdef __STDC__
69710 # include <limits.h>
69711 #else
69712 # include <assert.h>
69713 #endif
69715 #undef $ac_func
69717 /* Override any gcc2 internal prototype to avoid an error. */
69718 #ifdef __cplusplus
69719 extern "C"
69721 #endif
69722 /* We use char because int might match the return type of a gcc2
69723 builtin and then its argument prototype would still apply. */
69724 char $ac_func ();
69725 /* The GNU C library defines this for functions which it implements
69726 to always fail with ENOSYS. Some functions are actually named
69727 something starting with __ and the normal name is an alias. */
69728 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69729 choke me
69730 #else
69731 char (*f) () = $ac_func;
69732 #endif
69733 #ifdef __cplusplus
69735 #endif
69738 main ()
69740 return f != $ac_func;
69742 return 0;
69744 _ACEOF
69745 rm -f conftest.$ac_objext conftest$ac_exeext
69746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69747 (eval $ac_link) 2>conftest.er1
69748 ac_status=$?
69749 grep -v '^ *+' conftest.er1 >conftest.err
69750 rm -f conftest.er1
69751 cat conftest.err >&5
69752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69753 (exit $ac_status); } &&
69754 { ac_try='test -z "$ac_c_werror_flag"
69755 || test ! -s conftest.err'
69756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69757 (eval $ac_try) 2>&5
69758 ac_status=$?
69759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69760 (exit $ac_status); }; } &&
69761 { ac_try='test -s conftest$ac_exeext'
69762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69763 (eval $ac_try) 2>&5
69764 ac_status=$?
69765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69766 (exit $ac_status); }; }; then
69767 eval "$as_ac_var=yes"
69768 else
69769 echo "$as_me: failed program was:" >&5
69770 sed 's/^/| /' conftest.$ac_ext >&5
69772 eval "$as_ac_var=no"
69774 rm -f conftest.err conftest.$ac_objext \
69775 conftest$ac_exeext conftest.$ac_ext
69777 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69778 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69779 if test `eval echo '${'$as_ac_var'}'` = yes; then
69780 cat >>confdefs.h <<_ACEOF
69781 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69782 _ACEOF
69785 done
69795 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
69796 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
69797 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
69798 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
69799 echo $ECHO_N "(cached) $ECHO_C" >&6
69800 else
69804 ac_ext=cc
69805 ac_cpp='$CXXCPP $CPPFLAGS'
69806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69810 cat >conftest.$ac_ext <<_ACEOF
69811 /* confdefs.h. */
69812 _ACEOF
69813 cat confdefs.h >>conftest.$ac_ext
69814 cat >>conftest.$ac_ext <<_ACEOF
69815 /* end confdefs.h. */
69816 #include <math.h>
69818 main ()
69820 fmodf(0, 0);
69822 return 0;
69824 _ACEOF
69825 rm -f conftest.$ac_objext
69826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69827 (eval $ac_compile) 2>conftest.er1
69828 ac_status=$?
69829 grep -v '^ *+' conftest.er1 >conftest.err
69830 rm -f conftest.er1
69831 cat conftest.err >&5
69832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69833 (exit $ac_status); } &&
69834 { ac_try='test -z "$ac_cxx_werror_flag"
69835 || test ! -s conftest.err'
69836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69837 (eval $ac_try) 2>&5
69838 ac_status=$?
69839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69840 (exit $ac_status); }; } &&
69841 { ac_try='test -s conftest.$ac_objext'
69842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69843 (eval $ac_try) 2>&5
69844 ac_status=$?
69845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69846 (exit $ac_status); }; }; then
69847 glibcxx_cv_func_fmodf_use=yes
69848 else
69849 echo "$as_me: failed program was:" >&5
69850 sed 's/^/| /' conftest.$ac_ext >&5
69852 glibcxx_cv_func_fmodf_use=no
69854 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69855 ac_ext=c
69856 ac_cpp='$CPP $CPPFLAGS'
69857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69865 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
69866 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
69868 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
69870 for ac_func in fmodf
69872 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69873 echo "$as_me:$LINENO: checking for $ac_func" >&5
69874 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69875 if eval "test \"\${$as_ac_var+set}\" = set"; then
69876 echo $ECHO_N "(cached) $ECHO_C" >&6
69877 else
69878 if test x$gcc_no_link = xyes; then
69879 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69880 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69881 { (exit 1); exit 1; }; }
69883 cat >conftest.$ac_ext <<_ACEOF
69884 /* confdefs.h. */
69885 _ACEOF
69886 cat confdefs.h >>conftest.$ac_ext
69887 cat >>conftest.$ac_ext <<_ACEOF
69888 /* end confdefs.h. */
69889 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69890 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69891 #define $ac_func innocuous_$ac_func
69893 /* System header to define __stub macros and hopefully few prototypes,
69894 which can conflict with char $ac_func (); below.
69895 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69896 <limits.h> exists even on freestanding compilers. */
69898 #ifdef __STDC__
69899 # include <limits.h>
69900 #else
69901 # include <assert.h>
69902 #endif
69904 #undef $ac_func
69906 /* Override any gcc2 internal prototype to avoid an error. */
69907 #ifdef __cplusplus
69908 extern "C"
69910 #endif
69911 /* We use char because int might match the return type of a gcc2
69912 builtin and then its argument prototype would still apply. */
69913 char $ac_func ();
69914 /* The GNU C library defines this for functions which it implements
69915 to always fail with ENOSYS. Some functions are actually named
69916 something starting with __ and the normal name is an alias. */
69917 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69918 choke me
69919 #else
69920 char (*f) () = $ac_func;
69921 #endif
69922 #ifdef __cplusplus
69924 #endif
69927 main ()
69929 return f != $ac_func;
69931 return 0;
69933 _ACEOF
69934 rm -f conftest.$ac_objext conftest$ac_exeext
69935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69936 (eval $ac_link) 2>conftest.er1
69937 ac_status=$?
69938 grep -v '^ *+' conftest.er1 >conftest.err
69939 rm -f conftest.er1
69940 cat conftest.err >&5
69941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69942 (exit $ac_status); } &&
69943 { ac_try='test -z "$ac_c_werror_flag"
69944 || test ! -s conftest.err'
69945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69946 (eval $ac_try) 2>&5
69947 ac_status=$?
69948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69949 (exit $ac_status); }; } &&
69950 { ac_try='test -s conftest$ac_exeext'
69951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69952 (eval $ac_try) 2>&5
69953 ac_status=$?
69954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69955 (exit $ac_status); }; }; then
69956 eval "$as_ac_var=yes"
69957 else
69958 echo "$as_me: failed program was:" >&5
69959 sed 's/^/| /' conftest.$ac_ext >&5
69961 eval "$as_ac_var=no"
69963 rm -f conftest.err conftest.$ac_objext \
69964 conftest$ac_exeext conftest.$ac_ext
69966 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69967 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69968 if test `eval echo '${'$as_ac_var'}'` = yes; then
69969 cat >>confdefs.h <<_ACEOF
69970 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69971 _ACEOF
69974 done
69976 else
69978 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
69979 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
69980 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
69981 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
69982 echo $ECHO_N "(cached) $ECHO_C" >&6
69983 else
69987 ac_ext=cc
69988 ac_cpp='$CXXCPP $CPPFLAGS'
69989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69993 cat >conftest.$ac_ext <<_ACEOF
69994 /* confdefs.h. */
69995 _ACEOF
69996 cat confdefs.h >>conftest.$ac_ext
69997 cat >>conftest.$ac_ext <<_ACEOF
69998 /* end confdefs.h. */
69999 #include <math.h>
70001 main ()
70003 _fmodf(0, 0);
70005 return 0;
70007 _ACEOF
70008 rm -f conftest.$ac_objext
70009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70010 (eval $ac_compile) 2>conftest.er1
70011 ac_status=$?
70012 grep -v '^ *+' conftest.er1 >conftest.err
70013 rm -f conftest.er1
70014 cat conftest.err >&5
70015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70016 (exit $ac_status); } &&
70017 { ac_try='test -z "$ac_cxx_werror_flag"
70018 || test ! -s conftest.err'
70019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70020 (eval $ac_try) 2>&5
70021 ac_status=$?
70022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70023 (exit $ac_status); }; } &&
70024 { ac_try='test -s conftest.$ac_objext'
70025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70026 (eval $ac_try) 2>&5
70027 ac_status=$?
70028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70029 (exit $ac_status); }; }; then
70030 glibcxx_cv_func__fmodf_use=yes
70031 else
70032 echo "$as_me: failed program was:" >&5
70033 sed 's/^/| /' conftest.$ac_ext >&5
70035 glibcxx_cv_func__fmodf_use=no
70037 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70038 ac_ext=c
70039 ac_cpp='$CPP $CPPFLAGS'
70040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70048 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
70049 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
70051 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
70053 for ac_func in _fmodf
70055 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70056 echo "$as_me:$LINENO: checking for $ac_func" >&5
70057 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70058 if eval "test \"\${$as_ac_var+set}\" = set"; then
70059 echo $ECHO_N "(cached) $ECHO_C" >&6
70060 else
70061 if test x$gcc_no_link = xyes; then
70062 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70063 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70064 { (exit 1); exit 1; }; }
70066 cat >conftest.$ac_ext <<_ACEOF
70067 /* confdefs.h. */
70068 _ACEOF
70069 cat confdefs.h >>conftest.$ac_ext
70070 cat >>conftest.$ac_ext <<_ACEOF
70071 /* end confdefs.h. */
70072 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70073 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70074 #define $ac_func innocuous_$ac_func
70076 /* System header to define __stub macros and hopefully few prototypes,
70077 which can conflict with char $ac_func (); below.
70078 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70079 <limits.h> exists even on freestanding compilers. */
70081 #ifdef __STDC__
70082 # include <limits.h>
70083 #else
70084 # include <assert.h>
70085 #endif
70087 #undef $ac_func
70089 /* Override any gcc2 internal prototype to avoid an error. */
70090 #ifdef __cplusplus
70091 extern "C"
70093 #endif
70094 /* We use char because int might match the return type of a gcc2
70095 builtin and then its argument prototype would still apply. */
70096 char $ac_func ();
70097 /* The GNU C library defines this for functions which it implements
70098 to always fail with ENOSYS. Some functions are actually named
70099 something starting with __ and the normal name is an alias. */
70100 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70101 choke me
70102 #else
70103 char (*f) () = $ac_func;
70104 #endif
70105 #ifdef __cplusplus
70107 #endif
70110 main ()
70112 return f != $ac_func;
70114 return 0;
70116 _ACEOF
70117 rm -f conftest.$ac_objext conftest$ac_exeext
70118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70119 (eval $ac_link) 2>conftest.er1
70120 ac_status=$?
70121 grep -v '^ *+' conftest.er1 >conftest.err
70122 rm -f conftest.er1
70123 cat conftest.err >&5
70124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70125 (exit $ac_status); } &&
70126 { ac_try='test -z "$ac_c_werror_flag"
70127 || test ! -s conftest.err'
70128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70129 (eval $ac_try) 2>&5
70130 ac_status=$?
70131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70132 (exit $ac_status); }; } &&
70133 { ac_try='test -s conftest$ac_exeext'
70134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70135 (eval $ac_try) 2>&5
70136 ac_status=$?
70137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70138 (exit $ac_status); }; }; then
70139 eval "$as_ac_var=yes"
70140 else
70141 echo "$as_me: failed program was:" >&5
70142 sed 's/^/| /' conftest.$ac_ext >&5
70144 eval "$as_ac_var=no"
70146 rm -f conftest.err conftest.$ac_objext \
70147 conftest$ac_exeext conftest.$ac_ext
70149 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70150 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70151 if test `eval echo '${'$as_ac_var'}'` = yes; then
70152 cat >>confdefs.h <<_ACEOF
70153 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70154 _ACEOF
70157 done
70167 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
70168 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
70169 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
70170 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
70171 echo $ECHO_N "(cached) $ECHO_C" >&6
70172 else
70176 ac_ext=cc
70177 ac_cpp='$CXXCPP $CPPFLAGS'
70178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70182 cat >conftest.$ac_ext <<_ACEOF
70183 /* confdefs.h. */
70184 _ACEOF
70185 cat confdefs.h >>conftest.$ac_ext
70186 cat >>conftest.$ac_ext <<_ACEOF
70187 /* end confdefs.h. */
70188 #include <math.h>
70190 main ()
70192 frexpf(0, 0);
70194 return 0;
70196 _ACEOF
70197 rm -f conftest.$ac_objext
70198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70199 (eval $ac_compile) 2>conftest.er1
70200 ac_status=$?
70201 grep -v '^ *+' conftest.er1 >conftest.err
70202 rm -f conftest.er1
70203 cat conftest.err >&5
70204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70205 (exit $ac_status); } &&
70206 { ac_try='test -z "$ac_cxx_werror_flag"
70207 || test ! -s conftest.err'
70208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70209 (eval $ac_try) 2>&5
70210 ac_status=$?
70211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70212 (exit $ac_status); }; } &&
70213 { ac_try='test -s conftest.$ac_objext'
70214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70215 (eval $ac_try) 2>&5
70216 ac_status=$?
70217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70218 (exit $ac_status); }; }; then
70219 glibcxx_cv_func_frexpf_use=yes
70220 else
70221 echo "$as_me: failed program was:" >&5
70222 sed 's/^/| /' conftest.$ac_ext >&5
70224 glibcxx_cv_func_frexpf_use=no
70226 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70227 ac_ext=c
70228 ac_cpp='$CPP $CPPFLAGS'
70229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70237 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
70238 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
70240 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
70242 for ac_func in frexpf
70244 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70245 echo "$as_me:$LINENO: checking for $ac_func" >&5
70246 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70247 if eval "test \"\${$as_ac_var+set}\" = set"; then
70248 echo $ECHO_N "(cached) $ECHO_C" >&6
70249 else
70250 if test x$gcc_no_link = xyes; then
70251 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70252 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70253 { (exit 1); exit 1; }; }
70255 cat >conftest.$ac_ext <<_ACEOF
70256 /* confdefs.h. */
70257 _ACEOF
70258 cat confdefs.h >>conftest.$ac_ext
70259 cat >>conftest.$ac_ext <<_ACEOF
70260 /* end confdefs.h. */
70261 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70262 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70263 #define $ac_func innocuous_$ac_func
70265 /* System header to define __stub macros and hopefully few prototypes,
70266 which can conflict with char $ac_func (); below.
70267 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70268 <limits.h> exists even on freestanding compilers. */
70270 #ifdef __STDC__
70271 # include <limits.h>
70272 #else
70273 # include <assert.h>
70274 #endif
70276 #undef $ac_func
70278 /* Override any gcc2 internal prototype to avoid an error. */
70279 #ifdef __cplusplus
70280 extern "C"
70282 #endif
70283 /* We use char because int might match the return type of a gcc2
70284 builtin and then its argument prototype would still apply. */
70285 char $ac_func ();
70286 /* The GNU C library defines this for functions which it implements
70287 to always fail with ENOSYS. Some functions are actually named
70288 something starting with __ and the normal name is an alias. */
70289 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70290 choke me
70291 #else
70292 char (*f) () = $ac_func;
70293 #endif
70294 #ifdef __cplusplus
70296 #endif
70299 main ()
70301 return f != $ac_func;
70303 return 0;
70305 _ACEOF
70306 rm -f conftest.$ac_objext conftest$ac_exeext
70307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70308 (eval $ac_link) 2>conftest.er1
70309 ac_status=$?
70310 grep -v '^ *+' conftest.er1 >conftest.err
70311 rm -f conftest.er1
70312 cat conftest.err >&5
70313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70314 (exit $ac_status); } &&
70315 { ac_try='test -z "$ac_c_werror_flag"
70316 || test ! -s conftest.err'
70317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70318 (eval $ac_try) 2>&5
70319 ac_status=$?
70320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70321 (exit $ac_status); }; } &&
70322 { ac_try='test -s conftest$ac_exeext'
70323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70324 (eval $ac_try) 2>&5
70325 ac_status=$?
70326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70327 (exit $ac_status); }; }; then
70328 eval "$as_ac_var=yes"
70329 else
70330 echo "$as_me: failed program was:" >&5
70331 sed 's/^/| /' conftest.$ac_ext >&5
70333 eval "$as_ac_var=no"
70335 rm -f conftest.err conftest.$ac_objext \
70336 conftest$ac_exeext conftest.$ac_ext
70338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70339 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70340 if test `eval echo '${'$as_ac_var'}'` = yes; then
70341 cat >>confdefs.h <<_ACEOF
70342 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70343 _ACEOF
70346 done
70348 else
70350 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
70351 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
70352 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
70353 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
70354 echo $ECHO_N "(cached) $ECHO_C" >&6
70355 else
70359 ac_ext=cc
70360 ac_cpp='$CXXCPP $CPPFLAGS'
70361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70365 cat >conftest.$ac_ext <<_ACEOF
70366 /* confdefs.h. */
70367 _ACEOF
70368 cat confdefs.h >>conftest.$ac_ext
70369 cat >>conftest.$ac_ext <<_ACEOF
70370 /* end confdefs.h. */
70371 #include <math.h>
70373 main ()
70375 _frexpf(0, 0);
70377 return 0;
70379 _ACEOF
70380 rm -f conftest.$ac_objext
70381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70382 (eval $ac_compile) 2>conftest.er1
70383 ac_status=$?
70384 grep -v '^ *+' conftest.er1 >conftest.err
70385 rm -f conftest.er1
70386 cat conftest.err >&5
70387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70388 (exit $ac_status); } &&
70389 { ac_try='test -z "$ac_cxx_werror_flag"
70390 || test ! -s conftest.err'
70391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70392 (eval $ac_try) 2>&5
70393 ac_status=$?
70394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70395 (exit $ac_status); }; } &&
70396 { ac_try='test -s conftest.$ac_objext'
70397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70398 (eval $ac_try) 2>&5
70399 ac_status=$?
70400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70401 (exit $ac_status); }; }; then
70402 glibcxx_cv_func__frexpf_use=yes
70403 else
70404 echo "$as_me: failed program was:" >&5
70405 sed 's/^/| /' conftest.$ac_ext >&5
70407 glibcxx_cv_func__frexpf_use=no
70409 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70410 ac_ext=c
70411 ac_cpp='$CPP $CPPFLAGS'
70412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70420 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
70421 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
70423 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
70425 for ac_func in _frexpf
70427 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70428 echo "$as_me:$LINENO: checking for $ac_func" >&5
70429 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70430 if eval "test \"\${$as_ac_var+set}\" = set"; then
70431 echo $ECHO_N "(cached) $ECHO_C" >&6
70432 else
70433 if test x$gcc_no_link = xyes; then
70434 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70435 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70436 { (exit 1); exit 1; }; }
70438 cat >conftest.$ac_ext <<_ACEOF
70439 /* confdefs.h. */
70440 _ACEOF
70441 cat confdefs.h >>conftest.$ac_ext
70442 cat >>conftest.$ac_ext <<_ACEOF
70443 /* end confdefs.h. */
70444 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70445 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70446 #define $ac_func innocuous_$ac_func
70448 /* System header to define __stub macros and hopefully few prototypes,
70449 which can conflict with char $ac_func (); below.
70450 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70451 <limits.h> exists even on freestanding compilers. */
70453 #ifdef __STDC__
70454 # include <limits.h>
70455 #else
70456 # include <assert.h>
70457 #endif
70459 #undef $ac_func
70461 /* Override any gcc2 internal prototype to avoid an error. */
70462 #ifdef __cplusplus
70463 extern "C"
70465 #endif
70466 /* We use char because int might match the return type of a gcc2
70467 builtin and then its argument prototype would still apply. */
70468 char $ac_func ();
70469 /* The GNU C library defines this for functions which it implements
70470 to always fail with ENOSYS. Some functions are actually named
70471 something starting with __ and the normal name is an alias. */
70472 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70473 choke me
70474 #else
70475 char (*f) () = $ac_func;
70476 #endif
70477 #ifdef __cplusplus
70479 #endif
70482 main ()
70484 return f != $ac_func;
70486 return 0;
70488 _ACEOF
70489 rm -f conftest.$ac_objext conftest$ac_exeext
70490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70491 (eval $ac_link) 2>conftest.er1
70492 ac_status=$?
70493 grep -v '^ *+' conftest.er1 >conftest.err
70494 rm -f conftest.er1
70495 cat conftest.err >&5
70496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70497 (exit $ac_status); } &&
70498 { ac_try='test -z "$ac_c_werror_flag"
70499 || test ! -s conftest.err'
70500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70501 (eval $ac_try) 2>&5
70502 ac_status=$?
70503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70504 (exit $ac_status); }; } &&
70505 { ac_try='test -s conftest$ac_exeext'
70506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70507 (eval $ac_try) 2>&5
70508 ac_status=$?
70509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70510 (exit $ac_status); }; }; then
70511 eval "$as_ac_var=yes"
70512 else
70513 echo "$as_me: failed program was:" >&5
70514 sed 's/^/| /' conftest.$ac_ext >&5
70516 eval "$as_ac_var=no"
70518 rm -f conftest.err conftest.$ac_objext \
70519 conftest$ac_exeext conftest.$ac_ext
70521 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70522 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70523 if test `eval echo '${'$as_ac_var'}'` = yes; then
70524 cat >>confdefs.h <<_ACEOF
70525 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70526 _ACEOF
70529 done
70539 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
70540 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
70541 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
70542 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
70543 echo $ECHO_N "(cached) $ECHO_C" >&6
70544 else
70548 ac_ext=cc
70549 ac_cpp='$CXXCPP $CPPFLAGS'
70550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70554 cat >conftest.$ac_ext <<_ACEOF
70555 /* confdefs.h. */
70556 _ACEOF
70557 cat confdefs.h >>conftest.$ac_ext
70558 cat >>conftest.$ac_ext <<_ACEOF
70559 /* end confdefs.h. */
70560 #include <math.h>
70562 main ()
70564 hypotf(0, 0);
70566 return 0;
70568 _ACEOF
70569 rm -f conftest.$ac_objext
70570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70571 (eval $ac_compile) 2>conftest.er1
70572 ac_status=$?
70573 grep -v '^ *+' conftest.er1 >conftest.err
70574 rm -f conftest.er1
70575 cat conftest.err >&5
70576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70577 (exit $ac_status); } &&
70578 { ac_try='test -z "$ac_cxx_werror_flag"
70579 || test ! -s conftest.err'
70580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70581 (eval $ac_try) 2>&5
70582 ac_status=$?
70583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70584 (exit $ac_status); }; } &&
70585 { ac_try='test -s conftest.$ac_objext'
70586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70587 (eval $ac_try) 2>&5
70588 ac_status=$?
70589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70590 (exit $ac_status); }; }; then
70591 glibcxx_cv_func_hypotf_use=yes
70592 else
70593 echo "$as_me: failed program was:" >&5
70594 sed 's/^/| /' conftest.$ac_ext >&5
70596 glibcxx_cv_func_hypotf_use=no
70598 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70599 ac_ext=c
70600 ac_cpp='$CPP $CPPFLAGS'
70601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70609 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
70610 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
70612 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
70614 for ac_func in hypotf
70616 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70617 echo "$as_me:$LINENO: checking for $ac_func" >&5
70618 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70619 if eval "test \"\${$as_ac_var+set}\" = set"; then
70620 echo $ECHO_N "(cached) $ECHO_C" >&6
70621 else
70622 if test x$gcc_no_link = xyes; then
70623 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70624 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70625 { (exit 1); exit 1; }; }
70627 cat >conftest.$ac_ext <<_ACEOF
70628 /* confdefs.h. */
70629 _ACEOF
70630 cat confdefs.h >>conftest.$ac_ext
70631 cat >>conftest.$ac_ext <<_ACEOF
70632 /* end confdefs.h. */
70633 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70634 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70635 #define $ac_func innocuous_$ac_func
70637 /* System header to define __stub macros and hopefully few prototypes,
70638 which can conflict with char $ac_func (); below.
70639 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70640 <limits.h> exists even on freestanding compilers. */
70642 #ifdef __STDC__
70643 # include <limits.h>
70644 #else
70645 # include <assert.h>
70646 #endif
70648 #undef $ac_func
70650 /* Override any gcc2 internal prototype to avoid an error. */
70651 #ifdef __cplusplus
70652 extern "C"
70654 #endif
70655 /* We use char because int might match the return type of a gcc2
70656 builtin and then its argument prototype would still apply. */
70657 char $ac_func ();
70658 /* The GNU C library defines this for functions which it implements
70659 to always fail with ENOSYS. Some functions are actually named
70660 something starting with __ and the normal name is an alias. */
70661 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70662 choke me
70663 #else
70664 char (*f) () = $ac_func;
70665 #endif
70666 #ifdef __cplusplus
70668 #endif
70671 main ()
70673 return f != $ac_func;
70675 return 0;
70677 _ACEOF
70678 rm -f conftest.$ac_objext conftest$ac_exeext
70679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70680 (eval $ac_link) 2>conftest.er1
70681 ac_status=$?
70682 grep -v '^ *+' conftest.er1 >conftest.err
70683 rm -f conftest.er1
70684 cat conftest.err >&5
70685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70686 (exit $ac_status); } &&
70687 { ac_try='test -z "$ac_c_werror_flag"
70688 || test ! -s conftest.err'
70689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70690 (eval $ac_try) 2>&5
70691 ac_status=$?
70692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70693 (exit $ac_status); }; } &&
70694 { ac_try='test -s conftest$ac_exeext'
70695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70696 (eval $ac_try) 2>&5
70697 ac_status=$?
70698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70699 (exit $ac_status); }; }; then
70700 eval "$as_ac_var=yes"
70701 else
70702 echo "$as_me: failed program was:" >&5
70703 sed 's/^/| /' conftest.$ac_ext >&5
70705 eval "$as_ac_var=no"
70707 rm -f conftest.err conftest.$ac_objext \
70708 conftest$ac_exeext conftest.$ac_ext
70710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70711 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70712 if test `eval echo '${'$as_ac_var'}'` = yes; then
70713 cat >>confdefs.h <<_ACEOF
70714 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70715 _ACEOF
70718 done
70720 else
70722 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
70723 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
70724 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
70725 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
70726 echo $ECHO_N "(cached) $ECHO_C" >&6
70727 else
70731 ac_ext=cc
70732 ac_cpp='$CXXCPP $CPPFLAGS'
70733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70737 cat >conftest.$ac_ext <<_ACEOF
70738 /* confdefs.h. */
70739 _ACEOF
70740 cat confdefs.h >>conftest.$ac_ext
70741 cat >>conftest.$ac_ext <<_ACEOF
70742 /* end confdefs.h. */
70743 #include <math.h>
70745 main ()
70747 _hypotf(0, 0);
70749 return 0;
70751 _ACEOF
70752 rm -f conftest.$ac_objext
70753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70754 (eval $ac_compile) 2>conftest.er1
70755 ac_status=$?
70756 grep -v '^ *+' conftest.er1 >conftest.err
70757 rm -f conftest.er1
70758 cat conftest.err >&5
70759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70760 (exit $ac_status); } &&
70761 { ac_try='test -z "$ac_cxx_werror_flag"
70762 || test ! -s conftest.err'
70763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70764 (eval $ac_try) 2>&5
70765 ac_status=$?
70766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70767 (exit $ac_status); }; } &&
70768 { ac_try='test -s conftest.$ac_objext'
70769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70770 (eval $ac_try) 2>&5
70771 ac_status=$?
70772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70773 (exit $ac_status); }; }; then
70774 glibcxx_cv_func__hypotf_use=yes
70775 else
70776 echo "$as_me: failed program was:" >&5
70777 sed 's/^/| /' conftest.$ac_ext >&5
70779 glibcxx_cv_func__hypotf_use=no
70781 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70782 ac_ext=c
70783 ac_cpp='$CPP $CPPFLAGS'
70784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70792 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
70793 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
70795 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
70797 for ac_func in _hypotf
70799 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70800 echo "$as_me:$LINENO: checking for $ac_func" >&5
70801 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70802 if eval "test \"\${$as_ac_var+set}\" = set"; then
70803 echo $ECHO_N "(cached) $ECHO_C" >&6
70804 else
70805 if test x$gcc_no_link = xyes; then
70806 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70807 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70808 { (exit 1); exit 1; }; }
70810 cat >conftest.$ac_ext <<_ACEOF
70811 /* confdefs.h. */
70812 _ACEOF
70813 cat confdefs.h >>conftest.$ac_ext
70814 cat >>conftest.$ac_ext <<_ACEOF
70815 /* end confdefs.h. */
70816 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70817 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70818 #define $ac_func innocuous_$ac_func
70820 /* System header to define __stub macros and hopefully few prototypes,
70821 which can conflict with char $ac_func (); below.
70822 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70823 <limits.h> exists even on freestanding compilers. */
70825 #ifdef __STDC__
70826 # include <limits.h>
70827 #else
70828 # include <assert.h>
70829 #endif
70831 #undef $ac_func
70833 /* Override any gcc2 internal prototype to avoid an error. */
70834 #ifdef __cplusplus
70835 extern "C"
70837 #endif
70838 /* We use char because int might match the return type of a gcc2
70839 builtin and then its argument prototype would still apply. */
70840 char $ac_func ();
70841 /* The GNU C library defines this for functions which it implements
70842 to always fail with ENOSYS. Some functions are actually named
70843 something starting with __ and the normal name is an alias. */
70844 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70845 choke me
70846 #else
70847 char (*f) () = $ac_func;
70848 #endif
70849 #ifdef __cplusplus
70851 #endif
70854 main ()
70856 return f != $ac_func;
70858 return 0;
70860 _ACEOF
70861 rm -f conftest.$ac_objext conftest$ac_exeext
70862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70863 (eval $ac_link) 2>conftest.er1
70864 ac_status=$?
70865 grep -v '^ *+' conftest.er1 >conftest.err
70866 rm -f conftest.er1
70867 cat conftest.err >&5
70868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70869 (exit $ac_status); } &&
70870 { ac_try='test -z "$ac_c_werror_flag"
70871 || test ! -s conftest.err'
70872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70873 (eval $ac_try) 2>&5
70874 ac_status=$?
70875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70876 (exit $ac_status); }; } &&
70877 { ac_try='test -s conftest$ac_exeext'
70878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70879 (eval $ac_try) 2>&5
70880 ac_status=$?
70881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70882 (exit $ac_status); }; }; then
70883 eval "$as_ac_var=yes"
70884 else
70885 echo "$as_me: failed program was:" >&5
70886 sed 's/^/| /' conftest.$ac_ext >&5
70888 eval "$as_ac_var=no"
70890 rm -f conftest.err conftest.$ac_objext \
70891 conftest$ac_exeext conftest.$ac_ext
70893 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70894 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70895 if test `eval echo '${'$as_ac_var'}'` = yes; then
70896 cat >>confdefs.h <<_ACEOF
70897 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70898 _ACEOF
70901 done
70911 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
70912 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
70913 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
70914 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
70915 echo $ECHO_N "(cached) $ECHO_C" >&6
70916 else
70920 ac_ext=cc
70921 ac_cpp='$CXXCPP $CPPFLAGS'
70922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70926 cat >conftest.$ac_ext <<_ACEOF
70927 /* confdefs.h. */
70928 _ACEOF
70929 cat confdefs.h >>conftest.$ac_ext
70930 cat >>conftest.$ac_ext <<_ACEOF
70931 /* end confdefs.h. */
70932 #include <math.h>
70934 main ()
70936 ldexpf(0, 0);
70938 return 0;
70940 _ACEOF
70941 rm -f conftest.$ac_objext
70942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70943 (eval $ac_compile) 2>conftest.er1
70944 ac_status=$?
70945 grep -v '^ *+' conftest.er1 >conftest.err
70946 rm -f conftest.er1
70947 cat conftest.err >&5
70948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70949 (exit $ac_status); } &&
70950 { ac_try='test -z "$ac_cxx_werror_flag"
70951 || test ! -s conftest.err'
70952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70953 (eval $ac_try) 2>&5
70954 ac_status=$?
70955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70956 (exit $ac_status); }; } &&
70957 { ac_try='test -s conftest.$ac_objext'
70958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70959 (eval $ac_try) 2>&5
70960 ac_status=$?
70961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70962 (exit $ac_status); }; }; then
70963 glibcxx_cv_func_ldexpf_use=yes
70964 else
70965 echo "$as_me: failed program was:" >&5
70966 sed 's/^/| /' conftest.$ac_ext >&5
70968 glibcxx_cv_func_ldexpf_use=no
70970 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70971 ac_ext=c
70972 ac_cpp='$CPP $CPPFLAGS'
70973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70981 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
70982 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
70984 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
70986 for ac_func in ldexpf
70988 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70989 echo "$as_me:$LINENO: checking for $ac_func" >&5
70990 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70991 if eval "test \"\${$as_ac_var+set}\" = set"; then
70992 echo $ECHO_N "(cached) $ECHO_C" >&6
70993 else
70994 if test x$gcc_no_link = xyes; then
70995 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70996 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70997 { (exit 1); exit 1; }; }
70999 cat >conftest.$ac_ext <<_ACEOF
71000 /* confdefs.h. */
71001 _ACEOF
71002 cat confdefs.h >>conftest.$ac_ext
71003 cat >>conftest.$ac_ext <<_ACEOF
71004 /* end confdefs.h. */
71005 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71006 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71007 #define $ac_func innocuous_$ac_func
71009 /* System header to define __stub macros and hopefully few prototypes,
71010 which can conflict with char $ac_func (); below.
71011 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71012 <limits.h> exists even on freestanding compilers. */
71014 #ifdef __STDC__
71015 # include <limits.h>
71016 #else
71017 # include <assert.h>
71018 #endif
71020 #undef $ac_func
71022 /* Override any gcc2 internal prototype to avoid an error. */
71023 #ifdef __cplusplus
71024 extern "C"
71026 #endif
71027 /* We use char because int might match the return type of a gcc2
71028 builtin and then its argument prototype would still apply. */
71029 char $ac_func ();
71030 /* The GNU C library defines this for functions which it implements
71031 to always fail with ENOSYS. Some functions are actually named
71032 something starting with __ and the normal name is an alias. */
71033 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71034 choke me
71035 #else
71036 char (*f) () = $ac_func;
71037 #endif
71038 #ifdef __cplusplus
71040 #endif
71043 main ()
71045 return f != $ac_func;
71047 return 0;
71049 _ACEOF
71050 rm -f conftest.$ac_objext conftest$ac_exeext
71051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71052 (eval $ac_link) 2>conftest.er1
71053 ac_status=$?
71054 grep -v '^ *+' conftest.er1 >conftest.err
71055 rm -f conftest.er1
71056 cat conftest.err >&5
71057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71058 (exit $ac_status); } &&
71059 { ac_try='test -z "$ac_c_werror_flag"
71060 || test ! -s conftest.err'
71061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71062 (eval $ac_try) 2>&5
71063 ac_status=$?
71064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71065 (exit $ac_status); }; } &&
71066 { ac_try='test -s conftest$ac_exeext'
71067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71068 (eval $ac_try) 2>&5
71069 ac_status=$?
71070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71071 (exit $ac_status); }; }; then
71072 eval "$as_ac_var=yes"
71073 else
71074 echo "$as_me: failed program was:" >&5
71075 sed 's/^/| /' conftest.$ac_ext >&5
71077 eval "$as_ac_var=no"
71079 rm -f conftest.err conftest.$ac_objext \
71080 conftest$ac_exeext conftest.$ac_ext
71082 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71083 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71084 if test `eval echo '${'$as_ac_var'}'` = yes; then
71085 cat >>confdefs.h <<_ACEOF
71086 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71087 _ACEOF
71090 done
71092 else
71094 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
71095 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
71096 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
71097 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
71098 echo $ECHO_N "(cached) $ECHO_C" >&6
71099 else
71103 ac_ext=cc
71104 ac_cpp='$CXXCPP $CPPFLAGS'
71105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71109 cat >conftest.$ac_ext <<_ACEOF
71110 /* confdefs.h. */
71111 _ACEOF
71112 cat confdefs.h >>conftest.$ac_ext
71113 cat >>conftest.$ac_ext <<_ACEOF
71114 /* end confdefs.h. */
71115 #include <math.h>
71117 main ()
71119 _ldexpf(0, 0);
71121 return 0;
71123 _ACEOF
71124 rm -f conftest.$ac_objext
71125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71126 (eval $ac_compile) 2>conftest.er1
71127 ac_status=$?
71128 grep -v '^ *+' conftest.er1 >conftest.err
71129 rm -f conftest.er1
71130 cat conftest.err >&5
71131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71132 (exit $ac_status); } &&
71133 { ac_try='test -z "$ac_cxx_werror_flag"
71134 || test ! -s conftest.err'
71135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71136 (eval $ac_try) 2>&5
71137 ac_status=$?
71138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71139 (exit $ac_status); }; } &&
71140 { ac_try='test -s conftest.$ac_objext'
71141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71142 (eval $ac_try) 2>&5
71143 ac_status=$?
71144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71145 (exit $ac_status); }; }; then
71146 glibcxx_cv_func__ldexpf_use=yes
71147 else
71148 echo "$as_me: failed program was:" >&5
71149 sed 's/^/| /' conftest.$ac_ext >&5
71151 glibcxx_cv_func__ldexpf_use=no
71153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71154 ac_ext=c
71155 ac_cpp='$CPP $CPPFLAGS'
71156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71164 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
71165 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
71167 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
71169 for ac_func in _ldexpf
71171 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71172 echo "$as_me:$LINENO: checking for $ac_func" >&5
71173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71174 if eval "test \"\${$as_ac_var+set}\" = set"; then
71175 echo $ECHO_N "(cached) $ECHO_C" >&6
71176 else
71177 if test x$gcc_no_link = xyes; then
71178 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71180 { (exit 1); exit 1; }; }
71182 cat >conftest.$ac_ext <<_ACEOF
71183 /* confdefs.h. */
71184 _ACEOF
71185 cat confdefs.h >>conftest.$ac_ext
71186 cat >>conftest.$ac_ext <<_ACEOF
71187 /* end confdefs.h. */
71188 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71189 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71190 #define $ac_func innocuous_$ac_func
71192 /* System header to define __stub macros and hopefully few prototypes,
71193 which can conflict with char $ac_func (); below.
71194 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71195 <limits.h> exists even on freestanding compilers. */
71197 #ifdef __STDC__
71198 # include <limits.h>
71199 #else
71200 # include <assert.h>
71201 #endif
71203 #undef $ac_func
71205 /* Override any gcc2 internal prototype to avoid an error. */
71206 #ifdef __cplusplus
71207 extern "C"
71209 #endif
71210 /* We use char because int might match the return type of a gcc2
71211 builtin and then its argument prototype would still apply. */
71212 char $ac_func ();
71213 /* The GNU C library defines this for functions which it implements
71214 to always fail with ENOSYS. Some functions are actually named
71215 something starting with __ and the normal name is an alias. */
71216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71217 choke me
71218 #else
71219 char (*f) () = $ac_func;
71220 #endif
71221 #ifdef __cplusplus
71223 #endif
71226 main ()
71228 return f != $ac_func;
71230 return 0;
71232 _ACEOF
71233 rm -f conftest.$ac_objext conftest$ac_exeext
71234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71235 (eval $ac_link) 2>conftest.er1
71236 ac_status=$?
71237 grep -v '^ *+' conftest.er1 >conftest.err
71238 rm -f conftest.er1
71239 cat conftest.err >&5
71240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71241 (exit $ac_status); } &&
71242 { ac_try='test -z "$ac_c_werror_flag"
71243 || test ! -s conftest.err'
71244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71245 (eval $ac_try) 2>&5
71246 ac_status=$?
71247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71248 (exit $ac_status); }; } &&
71249 { ac_try='test -s conftest$ac_exeext'
71250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71251 (eval $ac_try) 2>&5
71252 ac_status=$?
71253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71254 (exit $ac_status); }; }; then
71255 eval "$as_ac_var=yes"
71256 else
71257 echo "$as_me: failed program was:" >&5
71258 sed 's/^/| /' conftest.$ac_ext >&5
71260 eval "$as_ac_var=no"
71262 rm -f conftest.err conftest.$ac_objext \
71263 conftest$ac_exeext conftest.$ac_ext
71265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71266 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71267 if test `eval echo '${'$as_ac_var'}'` = yes; then
71268 cat >>confdefs.h <<_ACEOF
71269 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71270 _ACEOF
71273 done
71283 echo "$as_me:$LINENO: checking for logf declaration" >&5
71284 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
71285 if test x${glibcxx_cv_func_logf_use+set} != xset; then
71286 if test "${glibcxx_cv_func_logf_use+set}" = set; then
71287 echo $ECHO_N "(cached) $ECHO_C" >&6
71288 else
71292 ac_ext=cc
71293 ac_cpp='$CXXCPP $CPPFLAGS'
71294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71298 cat >conftest.$ac_ext <<_ACEOF
71299 /* confdefs.h. */
71300 _ACEOF
71301 cat confdefs.h >>conftest.$ac_ext
71302 cat >>conftest.$ac_ext <<_ACEOF
71303 /* end confdefs.h. */
71304 #include <math.h>
71305 #ifdef HAVE_IEEEFP_H
71306 #include <ieeefp.h>
71307 #endif
71310 main ()
71312 logf(0);
71314 return 0;
71316 _ACEOF
71317 rm -f conftest.$ac_objext
71318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71319 (eval $ac_compile) 2>conftest.er1
71320 ac_status=$?
71321 grep -v '^ *+' conftest.er1 >conftest.err
71322 rm -f conftest.er1
71323 cat conftest.err >&5
71324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71325 (exit $ac_status); } &&
71326 { ac_try='test -z "$ac_cxx_werror_flag"
71327 || test ! -s conftest.err'
71328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71329 (eval $ac_try) 2>&5
71330 ac_status=$?
71331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71332 (exit $ac_status); }; } &&
71333 { ac_try='test -s conftest.$ac_objext'
71334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71335 (eval $ac_try) 2>&5
71336 ac_status=$?
71337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71338 (exit $ac_status); }; }; then
71339 glibcxx_cv_func_logf_use=yes
71340 else
71341 echo "$as_me: failed program was:" >&5
71342 sed 's/^/| /' conftest.$ac_ext >&5
71344 glibcxx_cv_func_logf_use=no
71346 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71347 ac_ext=c
71348 ac_cpp='$CPP $CPPFLAGS'
71349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71357 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
71358 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
71360 if test x$glibcxx_cv_func_logf_use = x"yes"; then
71362 for ac_func in logf
71364 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71365 echo "$as_me:$LINENO: checking for $ac_func" >&5
71366 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71367 if eval "test \"\${$as_ac_var+set}\" = set"; then
71368 echo $ECHO_N "(cached) $ECHO_C" >&6
71369 else
71370 if test x$gcc_no_link = xyes; then
71371 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71372 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71373 { (exit 1); exit 1; }; }
71375 cat >conftest.$ac_ext <<_ACEOF
71376 /* confdefs.h. */
71377 _ACEOF
71378 cat confdefs.h >>conftest.$ac_ext
71379 cat >>conftest.$ac_ext <<_ACEOF
71380 /* end confdefs.h. */
71381 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71382 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71383 #define $ac_func innocuous_$ac_func
71385 /* System header to define __stub macros and hopefully few prototypes,
71386 which can conflict with char $ac_func (); below.
71387 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71388 <limits.h> exists even on freestanding compilers. */
71390 #ifdef __STDC__
71391 # include <limits.h>
71392 #else
71393 # include <assert.h>
71394 #endif
71396 #undef $ac_func
71398 /* Override any gcc2 internal prototype to avoid an error. */
71399 #ifdef __cplusplus
71400 extern "C"
71402 #endif
71403 /* We use char because int might match the return type of a gcc2
71404 builtin and then its argument prototype would still apply. */
71405 char $ac_func ();
71406 /* The GNU C library defines this for functions which it implements
71407 to always fail with ENOSYS. Some functions are actually named
71408 something starting with __ and the normal name is an alias. */
71409 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71410 choke me
71411 #else
71412 char (*f) () = $ac_func;
71413 #endif
71414 #ifdef __cplusplus
71416 #endif
71419 main ()
71421 return f != $ac_func;
71423 return 0;
71425 _ACEOF
71426 rm -f conftest.$ac_objext conftest$ac_exeext
71427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71428 (eval $ac_link) 2>conftest.er1
71429 ac_status=$?
71430 grep -v '^ *+' conftest.er1 >conftest.err
71431 rm -f conftest.er1
71432 cat conftest.err >&5
71433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71434 (exit $ac_status); } &&
71435 { ac_try='test -z "$ac_c_werror_flag"
71436 || test ! -s conftest.err'
71437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71438 (eval $ac_try) 2>&5
71439 ac_status=$?
71440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71441 (exit $ac_status); }; } &&
71442 { ac_try='test -s conftest$ac_exeext'
71443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71444 (eval $ac_try) 2>&5
71445 ac_status=$?
71446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71447 (exit $ac_status); }; }; then
71448 eval "$as_ac_var=yes"
71449 else
71450 echo "$as_me: failed program was:" >&5
71451 sed 's/^/| /' conftest.$ac_ext >&5
71453 eval "$as_ac_var=no"
71455 rm -f conftest.err conftest.$ac_objext \
71456 conftest$ac_exeext conftest.$ac_ext
71458 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71459 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71460 if test `eval echo '${'$as_ac_var'}'` = yes; then
71461 cat >>confdefs.h <<_ACEOF
71462 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71463 _ACEOF
71466 done
71468 else
71470 echo "$as_me:$LINENO: checking for _logf declaration" >&5
71471 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
71472 if test x${glibcxx_cv_func__logf_use+set} != xset; then
71473 if test "${glibcxx_cv_func__logf_use+set}" = set; then
71474 echo $ECHO_N "(cached) $ECHO_C" >&6
71475 else
71479 ac_ext=cc
71480 ac_cpp='$CXXCPP $CPPFLAGS'
71481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71485 cat >conftest.$ac_ext <<_ACEOF
71486 /* confdefs.h. */
71487 _ACEOF
71488 cat confdefs.h >>conftest.$ac_ext
71489 cat >>conftest.$ac_ext <<_ACEOF
71490 /* end confdefs.h. */
71491 #include <math.h>
71492 #ifdef HAVE_IEEEFP_H
71493 #include <ieeefp.h>
71494 #endif
71497 main ()
71499 _logf(0);
71501 return 0;
71503 _ACEOF
71504 rm -f conftest.$ac_objext
71505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71506 (eval $ac_compile) 2>conftest.er1
71507 ac_status=$?
71508 grep -v '^ *+' conftest.er1 >conftest.err
71509 rm -f conftest.er1
71510 cat conftest.err >&5
71511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71512 (exit $ac_status); } &&
71513 { ac_try='test -z "$ac_cxx_werror_flag"
71514 || test ! -s conftest.err'
71515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71516 (eval $ac_try) 2>&5
71517 ac_status=$?
71518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71519 (exit $ac_status); }; } &&
71520 { ac_try='test -s conftest.$ac_objext'
71521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71522 (eval $ac_try) 2>&5
71523 ac_status=$?
71524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71525 (exit $ac_status); }; }; then
71526 glibcxx_cv_func__logf_use=yes
71527 else
71528 echo "$as_me: failed program was:" >&5
71529 sed 's/^/| /' conftest.$ac_ext >&5
71531 glibcxx_cv_func__logf_use=no
71533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71534 ac_ext=c
71535 ac_cpp='$CPP $CPPFLAGS'
71536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71544 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
71545 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
71547 if test x$glibcxx_cv_func__logf_use = x"yes"; then
71549 for ac_func in _logf
71551 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71552 echo "$as_me:$LINENO: checking for $ac_func" >&5
71553 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71554 if eval "test \"\${$as_ac_var+set}\" = set"; then
71555 echo $ECHO_N "(cached) $ECHO_C" >&6
71556 else
71557 if test x$gcc_no_link = xyes; then
71558 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71559 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71560 { (exit 1); exit 1; }; }
71562 cat >conftest.$ac_ext <<_ACEOF
71563 /* confdefs.h. */
71564 _ACEOF
71565 cat confdefs.h >>conftest.$ac_ext
71566 cat >>conftest.$ac_ext <<_ACEOF
71567 /* end confdefs.h. */
71568 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71569 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71570 #define $ac_func innocuous_$ac_func
71572 /* System header to define __stub macros and hopefully few prototypes,
71573 which can conflict with char $ac_func (); below.
71574 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71575 <limits.h> exists even on freestanding compilers. */
71577 #ifdef __STDC__
71578 # include <limits.h>
71579 #else
71580 # include <assert.h>
71581 #endif
71583 #undef $ac_func
71585 /* Override any gcc2 internal prototype to avoid an error. */
71586 #ifdef __cplusplus
71587 extern "C"
71589 #endif
71590 /* We use char because int might match the return type of a gcc2
71591 builtin and then its argument prototype would still apply. */
71592 char $ac_func ();
71593 /* The GNU C library defines this for functions which it implements
71594 to always fail with ENOSYS. Some functions are actually named
71595 something starting with __ and the normal name is an alias. */
71596 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71597 choke me
71598 #else
71599 char (*f) () = $ac_func;
71600 #endif
71601 #ifdef __cplusplus
71603 #endif
71606 main ()
71608 return f != $ac_func;
71610 return 0;
71612 _ACEOF
71613 rm -f conftest.$ac_objext conftest$ac_exeext
71614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71615 (eval $ac_link) 2>conftest.er1
71616 ac_status=$?
71617 grep -v '^ *+' conftest.er1 >conftest.err
71618 rm -f conftest.er1
71619 cat conftest.err >&5
71620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71621 (exit $ac_status); } &&
71622 { ac_try='test -z "$ac_c_werror_flag"
71623 || test ! -s conftest.err'
71624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71625 (eval $ac_try) 2>&5
71626 ac_status=$?
71627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71628 (exit $ac_status); }; } &&
71629 { ac_try='test -s conftest$ac_exeext'
71630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71631 (eval $ac_try) 2>&5
71632 ac_status=$?
71633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71634 (exit $ac_status); }; }; then
71635 eval "$as_ac_var=yes"
71636 else
71637 echo "$as_me: failed program was:" >&5
71638 sed 's/^/| /' conftest.$ac_ext >&5
71640 eval "$as_ac_var=no"
71642 rm -f conftest.err conftest.$ac_objext \
71643 conftest$ac_exeext conftest.$ac_ext
71645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71646 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71647 if test `eval echo '${'$as_ac_var'}'` = yes; then
71648 cat >>confdefs.h <<_ACEOF
71649 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71650 _ACEOF
71653 done
71663 echo "$as_me:$LINENO: checking for log10f declaration" >&5
71664 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
71665 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
71666 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
71667 echo $ECHO_N "(cached) $ECHO_C" >&6
71668 else
71672 ac_ext=cc
71673 ac_cpp='$CXXCPP $CPPFLAGS'
71674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71678 cat >conftest.$ac_ext <<_ACEOF
71679 /* confdefs.h. */
71680 _ACEOF
71681 cat confdefs.h >>conftest.$ac_ext
71682 cat >>conftest.$ac_ext <<_ACEOF
71683 /* end confdefs.h. */
71684 #include <math.h>
71685 #ifdef HAVE_IEEEFP_H
71686 #include <ieeefp.h>
71687 #endif
71690 main ()
71692 log10f(0);
71694 return 0;
71696 _ACEOF
71697 rm -f conftest.$ac_objext
71698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71699 (eval $ac_compile) 2>conftest.er1
71700 ac_status=$?
71701 grep -v '^ *+' conftest.er1 >conftest.err
71702 rm -f conftest.er1
71703 cat conftest.err >&5
71704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71705 (exit $ac_status); } &&
71706 { ac_try='test -z "$ac_cxx_werror_flag"
71707 || test ! -s conftest.err'
71708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71709 (eval $ac_try) 2>&5
71710 ac_status=$?
71711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71712 (exit $ac_status); }; } &&
71713 { ac_try='test -s conftest.$ac_objext'
71714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71715 (eval $ac_try) 2>&5
71716 ac_status=$?
71717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71718 (exit $ac_status); }; }; then
71719 glibcxx_cv_func_log10f_use=yes
71720 else
71721 echo "$as_me: failed program was:" >&5
71722 sed 's/^/| /' conftest.$ac_ext >&5
71724 glibcxx_cv_func_log10f_use=no
71726 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71727 ac_ext=c
71728 ac_cpp='$CPP $CPPFLAGS'
71729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71737 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
71738 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
71740 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
71742 for ac_func in log10f
71744 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71745 echo "$as_me:$LINENO: checking for $ac_func" >&5
71746 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71747 if eval "test \"\${$as_ac_var+set}\" = set"; then
71748 echo $ECHO_N "(cached) $ECHO_C" >&6
71749 else
71750 if test x$gcc_no_link = xyes; then
71751 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71752 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71753 { (exit 1); exit 1; }; }
71755 cat >conftest.$ac_ext <<_ACEOF
71756 /* confdefs.h. */
71757 _ACEOF
71758 cat confdefs.h >>conftest.$ac_ext
71759 cat >>conftest.$ac_ext <<_ACEOF
71760 /* end confdefs.h. */
71761 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71762 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71763 #define $ac_func innocuous_$ac_func
71765 /* System header to define __stub macros and hopefully few prototypes,
71766 which can conflict with char $ac_func (); below.
71767 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71768 <limits.h> exists even on freestanding compilers. */
71770 #ifdef __STDC__
71771 # include <limits.h>
71772 #else
71773 # include <assert.h>
71774 #endif
71776 #undef $ac_func
71778 /* Override any gcc2 internal prototype to avoid an error. */
71779 #ifdef __cplusplus
71780 extern "C"
71782 #endif
71783 /* We use char because int might match the return type of a gcc2
71784 builtin and then its argument prototype would still apply. */
71785 char $ac_func ();
71786 /* The GNU C library defines this for functions which it implements
71787 to always fail with ENOSYS. Some functions are actually named
71788 something starting with __ and the normal name is an alias. */
71789 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71790 choke me
71791 #else
71792 char (*f) () = $ac_func;
71793 #endif
71794 #ifdef __cplusplus
71796 #endif
71799 main ()
71801 return f != $ac_func;
71803 return 0;
71805 _ACEOF
71806 rm -f conftest.$ac_objext conftest$ac_exeext
71807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71808 (eval $ac_link) 2>conftest.er1
71809 ac_status=$?
71810 grep -v '^ *+' conftest.er1 >conftest.err
71811 rm -f conftest.er1
71812 cat conftest.err >&5
71813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71814 (exit $ac_status); } &&
71815 { ac_try='test -z "$ac_c_werror_flag"
71816 || test ! -s conftest.err'
71817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71818 (eval $ac_try) 2>&5
71819 ac_status=$?
71820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71821 (exit $ac_status); }; } &&
71822 { ac_try='test -s conftest$ac_exeext'
71823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71824 (eval $ac_try) 2>&5
71825 ac_status=$?
71826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71827 (exit $ac_status); }; }; then
71828 eval "$as_ac_var=yes"
71829 else
71830 echo "$as_me: failed program was:" >&5
71831 sed 's/^/| /' conftest.$ac_ext >&5
71833 eval "$as_ac_var=no"
71835 rm -f conftest.err conftest.$ac_objext \
71836 conftest$ac_exeext conftest.$ac_ext
71838 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71839 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71840 if test `eval echo '${'$as_ac_var'}'` = yes; then
71841 cat >>confdefs.h <<_ACEOF
71842 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71843 _ACEOF
71846 done
71848 else
71850 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
71851 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
71852 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
71853 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
71854 echo $ECHO_N "(cached) $ECHO_C" >&6
71855 else
71859 ac_ext=cc
71860 ac_cpp='$CXXCPP $CPPFLAGS'
71861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71865 cat >conftest.$ac_ext <<_ACEOF
71866 /* confdefs.h. */
71867 _ACEOF
71868 cat confdefs.h >>conftest.$ac_ext
71869 cat >>conftest.$ac_ext <<_ACEOF
71870 /* end confdefs.h. */
71871 #include <math.h>
71872 #ifdef HAVE_IEEEFP_H
71873 #include <ieeefp.h>
71874 #endif
71877 main ()
71879 _log10f(0);
71881 return 0;
71883 _ACEOF
71884 rm -f conftest.$ac_objext
71885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71886 (eval $ac_compile) 2>conftest.er1
71887 ac_status=$?
71888 grep -v '^ *+' conftest.er1 >conftest.err
71889 rm -f conftest.er1
71890 cat conftest.err >&5
71891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71892 (exit $ac_status); } &&
71893 { ac_try='test -z "$ac_cxx_werror_flag"
71894 || test ! -s conftest.err'
71895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71896 (eval $ac_try) 2>&5
71897 ac_status=$?
71898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71899 (exit $ac_status); }; } &&
71900 { ac_try='test -s conftest.$ac_objext'
71901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71902 (eval $ac_try) 2>&5
71903 ac_status=$?
71904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71905 (exit $ac_status); }; }; then
71906 glibcxx_cv_func__log10f_use=yes
71907 else
71908 echo "$as_me: failed program was:" >&5
71909 sed 's/^/| /' conftest.$ac_ext >&5
71911 glibcxx_cv_func__log10f_use=no
71913 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71914 ac_ext=c
71915 ac_cpp='$CPP $CPPFLAGS'
71916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71924 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
71925 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
71927 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
71929 for ac_func in _log10f
71931 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71932 echo "$as_me:$LINENO: checking for $ac_func" >&5
71933 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71934 if eval "test \"\${$as_ac_var+set}\" = set"; then
71935 echo $ECHO_N "(cached) $ECHO_C" >&6
71936 else
71937 if test x$gcc_no_link = xyes; then
71938 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71939 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71940 { (exit 1); exit 1; }; }
71942 cat >conftest.$ac_ext <<_ACEOF
71943 /* confdefs.h. */
71944 _ACEOF
71945 cat confdefs.h >>conftest.$ac_ext
71946 cat >>conftest.$ac_ext <<_ACEOF
71947 /* end confdefs.h. */
71948 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71949 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71950 #define $ac_func innocuous_$ac_func
71952 /* System header to define __stub macros and hopefully few prototypes,
71953 which can conflict with char $ac_func (); below.
71954 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71955 <limits.h> exists even on freestanding compilers. */
71957 #ifdef __STDC__
71958 # include <limits.h>
71959 #else
71960 # include <assert.h>
71961 #endif
71963 #undef $ac_func
71965 /* Override any gcc2 internal prototype to avoid an error. */
71966 #ifdef __cplusplus
71967 extern "C"
71969 #endif
71970 /* We use char because int might match the return type of a gcc2
71971 builtin and then its argument prototype would still apply. */
71972 char $ac_func ();
71973 /* The GNU C library defines this for functions which it implements
71974 to always fail with ENOSYS. Some functions are actually named
71975 something starting with __ and the normal name is an alias. */
71976 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71977 choke me
71978 #else
71979 char (*f) () = $ac_func;
71980 #endif
71981 #ifdef __cplusplus
71983 #endif
71986 main ()
71988 return f != $ac_func;
71990 return 0;
71992 _ACEOF
71993 rm -f conftest.$ac_objext conftest$ac_exeext
71994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71995 (eval $ac_link) 2>conftest.er1
71996 ac_status=$?
71997 grep -v '^ *+' conftest.er1 >conftest.err
71998 rm -f conftest.er1
71999 cat conftest.err >&5
72000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72001 (exit $ac_status); } &&
72002 { ac_try='test -z "$ac_c_werror_flag"
72003 || test ! -s conftest.err'
72004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72005 (eval $ac_try) 2>&5
72006 ac_status=$?
72007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72008 (exit $ac_status); }; } &&
72009 { ac_try='test -s conftest$ac_exeext'
72010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72011 (eval $ac_try) 2>&5
72012 ac_status=$?
72013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72014 (exit $ac_status); }; }; then
72015 eval "$as_ac_var=yes"
72016 else
72017 echo "$as_me: failed program was:" >&5
72018 sed 's/^/| /' conftest.$ac_ext >&5
72020 eval "$as_ac_var=no"
72022 rm -f conftest.err conftest.$ac_objext \
72023 conftest$ac_exeext conftest.$ac_ext
72025 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72026 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72027 if test `eval echo '${'$as_ac_var'}'` = yes; then
72028 cat >>confdefs.h <<_ACEOF
72029 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72030 _ACEOF
72033 done
72043 echo "$as_me:$LINENO: checking for modff declaration" >&5
72044 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
72045 if test x${glibcxx_cv_func_modff_use+set} != xset; then
72046 if test "${glibcxx_cv_func_modff_use+set}" = set; then
72047 echo $ECHO_N "(cached) $ECHO_C" >&6
72048 else
72052 ac_ext=cc
72053 ac_cpp='$CXXCPP $CPPFLAGS'
72054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72058 cat >conftest.$ac_ext <<_ACEOF
72059 /* confdefs.h. */
72060 _ACEOF
72061 cat confdefs.h >>conftest.$ac_ext
72062 cat >>conftest.$ac_ext <<_ACEOF
72063 /* end confdefs.h. */
72064 #include <math.h>
72066 main ()
72068 modff(0, 0);
72070 return 0;
72072 _ACEOF
72073 rm -f conftest.$ac_objext
72074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72075 (eval $ac_compile) 2>conftest.er1
72076 ac_status=$?
72077 grep -v '^ *+' conftest.er1 >conftest.err
72078 rm -f conftest.er1
72079 cat conftest.err >&5
72080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72081 (exit $ac_status); } &&
72082 { ac_try='test -z "$ac_cxx_werror_flag"
72083 || test ! -s conftest.err'
72084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72085 (eval $ac_try) 2>&5
72086 ac_status=$?
72087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72088 (exit $ac_status); }; } &&
72089 { ac_try='test -s conftest.$ac_objext'
72090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72091 (eval $ac_try) 2>&5
72092 ac_status=$?
72093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72094 (exit $ac_status); }; }; then
72095 glibcxx_cv_func_modff_use=yes
72096 else
72097 echo "$as_me: failed program was:" >&5
72098 sed 's/^/| /' conftest.$ac_ext >&5
72100 glibcxx_cv_func_modff_use=no
72102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72103 ac_ext=c
72104 ac_cpp='$CPP $CPPFLAGS'
72105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72113 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
72114 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
72116 if test x$glibcxx_cv_func_modff_use = x"yes"; then
72118 for ac_func in modff
72120 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72121 echo "$as_me:$LINENO: checking for $ac_func" >&5
72122 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72123 if eval "test \"\${$as_ac_var+set}\" = set"; then
72124 echo $ECHO_N "(cached) $ECHO_C" >&6
72125 else
72126 if test x$gcc_no_link = xyes; then
72127 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72128 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72129 { (exit 1); exit 1; }; }
72131 cat >conftest.$ac_ext <<_ACEOF
72132 /* confdefs.h. */
72133 _ACEOF
72134 cat confdefs.h >>conftest.$ac_ext
72135 cat >>conftest.$ac_ext <<_ACEOF
72136 /* end confdefs.h. */
72137 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72138 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72139 #define $ac_func innocuous_$ac_func
72141 /* System header to define __stub macros and hopefully few prototypes,
72142 which can conflict with char $ac_func (); below.
72143 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72144 <limits.h> exists even on freestanding compilers. */
72146 #ifdef __STDC__
72147 # include <limits.h>
72148 #else
72149 # include <assert.h>
72150 #endif
72152 #undef $ac_func
72154 /* Override any gcc2 internal prototype to avoid an error. */
72155 #ifdef __cplusplus
72156 extern "C"
72158 #endif
72159 /* We use char because int might match the return type of a gcc2
72160 builtin and then its argument prototype would still apply. */
72161 char $ac_func ();
72162 /* The GNU C library defines this for functions which it implements
72163 to always fail with ENOSYS. Some functions are actually named
72164 something starting with __ and the normal name is an alias. */
72165 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72166 choke me
72167 #else
72168 char (*f) () = $ac_func;
72169 #endif
72170 #ifdef __cplusplus
72172 #endif
72175 main ()
72177 return f != $ac_func;
72179 return 0;
72181 _ACEOF
72182 rm -f conftest.$ac_objext conftest$ac_exeext
72183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72184 (eval $ac_link) 2>conftest.er1
72185 ac_status=$?
72186 grep -v '^ *+' conftest.er1 >conftest.err
72187 rm -f conftest.er1
72188 cat conftest.err >&5
72189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72190 (exit $ac_status); } &&
72191 { ac_try='test -z "$ac_c_werror_flag"
72192 || test ! -s conftest.err'
72193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72194 (eval $ac_try) 2>&5
72195 ac_status=$?
72196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72197 (exit $ac_status); }; } &&
72198 { ac_try='test -s conftest$ac_exeext'
72199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72200 (eval $ac_try) 2>&5
72201 ac_status=$?
72202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72203 (exit $ac_status); }; }; then
72204 eval "$as_ac_var=yes"
72205 else
72206 echo "$as_me: failed program was:" >&5
72207 sed 's/^/| /' conftest.$ac_ext >&5
72209 eval "$as_ac_var=no"
72211 rm -f conftest.err conftest.$ac_objext \
72212 conftest$ac_exeext conftest.$ac_ext
72214 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72215 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72216 if test `eval echo '${'$as_ac_var'}'` = yes; then
72217 cat >>confdefs.h <<_ACEOF
72218 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72219 _ACEOF
72222 done
72224 else
72226 echo "$as_me:$LINENO: checking for _modff declaration" >&5
72227 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
72228 if test x${glibcxx_cv_func__modff_use+set} != xset; then
72229 if test "${glibcxx_cv_func__modff_use+set}" = set; then
72230 echo $ECHO_N "(cached) $ECHO_C" >&6
72231 else
72235 ac_ext=cc
72236 ac_cpp='$CXXCPP $CPPFLAGS'
72237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72241 cat >conftest.$ac_ext <<_ACEOF
72242 /* confdefs.h. */
72243 _ACEOF
72244 cat confdefs.h >>conftest.$ac_ext
72245 cat >>conftest.$ac_ext <<_ACEOF
72246 /* end confdefs.h. */
72247 #include <math.h>
72249 main ()
72251 _modff(0, 0);
72253 return 0;
72255 _ACEOF
72256 rm -f conftest.$ac_objext
72257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72258 (eval $ac_compile) 2>conftest.er1
72259 ac_status=$?
72260 grep -v '^ *+' conftest.er1 >conftest.err
72261 rm -f conftest.er1
72262 cat conftest.err >&5
72263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72264 (exit $ac_status); } &&
72265 { ac_try='test -z "$ac_cxx_werror_flag"
72266 || test ! -s conftest.err'
72267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72268 (eval $ac_try) 2>&5
72269 ac_status=$?
72270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72271 (exit $ac_status); }; } &&
72272 { ac_try='test -s conftest.$ac_objext'
72273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72274 (eval $ac_try) 2>&5
72275 ac_status=$?
72276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72277 (exit $ac_status); }; }; then
72278 glibcxx_cv_func__modff_use=yes
72279 else
72280 echo "$as_me: failed program was:" >&5
72281 sed 's/^/| /' conftest.$ac_ext >&5
72283 glibcxx_cv_func__modff_use=no
72285 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72286 ac_ext=c
72287 ac_cpp='$CPP $CPPFLAGS'
72288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72296 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
72297 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
72299 if test x$glibcxx_cv_func__modff_use = x"yes"; then
72301 for ac_func in _modff
72303 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72304 echo "$as_me:$LINENO: checking for $ac_func" >&5
72305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72306 if eval "test \"\${$as_ac_var+set}\" = set"; then
72307 echo $ECHO_N "(cached) $ECHO_C" >&6
72308 else
72309 if test x$gcc_no_link = xyes; then
72310 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72311 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72312 { (exit 1); exit 1; }; }
72314 cat >conftest.$ac_ext <<_ACEOF
72315 /* confdefs.h. */
72316 _ACEOF
72317 cat confdefs.h >>conftest.$ac_ext
72318 cat >>conftest.$ac_ext <<_ACEOF
72319 /* end confdefs.h. */
72320 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72321 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72322 #define $ac_func innocuous_$ac_func
72324 /* System header to define __stub macros and hopefully few prototypes,
72325 which can conflict with char $ac_func (); below.
72326 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72327 <limits.h> exists even on freestanding compilers. */
72329 #ifdef __STDC__
72330 # include <limits.h>
72331 #else
72332 # include <assert.h>
72333 #endif
72335 #undef $ac_func
72337 /* Override any gcc2 internal prototype to avoid an error. */
72338 #ifdef __cplusplus
72339 extern "C"
72341 #endif
72342 /* We use char because int might match the return type of a gcc2
72343 builtin and then its argument prototype would still apply. */
72344 char $ac_func ();
72345 /* The GNU C library defines this for functions which it implements
72346 to always fail with ENOSYS. Some functions are actually named
72347 something starting with __ and the normal name is an alias. */
72348 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72349 choke me
72350 #else
72351 char (*f) () = $ac_func;
72352 #endif
72353 #ifdef __cplusplus
72355 #endif
72358 main ()
72360 return f != $ac_func;
72362 return 0;
72364 _ACEOF
72365 rm -f conftest.$ac_objext conftest$ac_exeext
72366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72367 (eval $ac_link) 2>conftest.er1
72368 ac_status=$?
72369 grep -v '^ *+' conftest.er1 >conftest.err
72370 rm -f conftest.er1
72371 cat conftest.err >&5
72372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72373 (exit $ac_status); } &&
72374 { ac_try='test -z "$ac_c_werror_flag"
72375 || test ! -s conftest.err'
72376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72377 (eval $ac_try) 2>&5
72378 ac_status=$?
72379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72380 (exit $ac_status); }; } &&
72381 { ac_try='test -s conftest$ac_exeext'
72382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72383 (eval $ac_try) 2>&5
72384 ac_status=$?
72385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72386 (exit $ac_status); }; }; then
72387 eval "$as_ac_var=yes"
72388 else
72389 echo "$as_me: failed program was:" >&5
72390 sed 's/^/| /' conftest.$ac_ext >&5
72392 eval "$as_ac_var=no"
72394 rm -f conftest.err conftest.$ac_objext \
72395 conftest$ac_exeext conftest.$ac_ext
72397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72398 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72399 if test `eval echo '${'$as_ac_var'}'` = yes; then
72400 cat >>confdefs.h <<_ACEOF
72401 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72402 _ACEOF
72405 done
72415 echo "$as_me:$LINENO: checking for modf declaration" >&5
72416 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
72417 if test x${glibcxx_cv_func_modf_use+set} != xset; then
72418 if test "${glibcxx_cv_func_modf_use+set}" = set; then
72419 echo $ECHO_N "(cached) $ECHO_C" >&6
72420 else
72424 ac_ext=cc
72425 ac_cpp='$CXXCPP $CPPFLAGS'
72426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72430 cat >conftest.$ac_ext <<_ACEOF
72431 /* confdefs.h. */
72432 _ACEOF
72433 cat confdefs.h >>conftest.$ac_ext
72434 cat >>conftest.$ac_ext <<_ACEOF
72435 /* end confdefs.h. */
72436 #include <math.h>
72438 main ()
72440 modf(0, 0);
72442 return 0;
72444 _ACEOF
72445 rm -f conftest.$ac_objext
72446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72447 (eval $ac_compile) 2>conftest.er1
72448 ac_status=$?
72449 grep -v '^ *+' conftest.er1 >conftest.err
72450 rm -f conftest.er1
72451 cat conftest.err >&5
72452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72453 (exit $ac_status); } &&
72454 { ac_try='test -z "$ac_cxx_werror_flag"
72455 || test ! -s conftest.err'
72456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72457 (eval $ac_try) 2>&5
72458 ac_status=$?
72459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72460 (exit $ac_status); }; } &&
72461 { ac_try='test -s conftest.$ac_objext'
72462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72463 (eval $ac_try) 2>&5
72464 ac_status=$?
72465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72466 (exit $ac_status); }; }; then
72467 glibcxx_cv_func_modf_use=yes
72468 else
72469 echo "$as_me: failed program was:" >&5
72470 sed 's/^/| /' conftest.$ac_ext >&5
72472 glibcxx_cv_func_modf_use=no
72474 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72475 ac_ext=c
72476 ac_cpp='$CPP $CPPFLAGS'
72477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72485 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
72486 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
72488 if test x$glibcxx_cv_func_modf_use = x"yes"; then
72490 for ac_func in modf
72492 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72493 echo "$as_me:$LINENO: checking for $ac_func" >&5
72494 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72495 if eval "test \"\${$as_ac_var+set}\" = set"; then
72496 echo $ECHO_N "(cached) $ECHO_C" >&6
72497 else
72498 if test x$gcc_no_link = xyes; then
72499 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72500 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72501 { (exit 1); exit 1; }; }
72503 cat >conftest.$ac_ext <<_ACEOF
72504 /* confdefs.h. */
72505 _ACEOF
72506 cat confdefs.h >>conftest.$ac_ext
72507 cat >>conftest.$ac_ext <<_ACEOF
72508 /* end confdefs.h. */
72509 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72510 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72511 #define $ac_func innocuous_$ac_func
72513 /* System header to define __stub macros and hopefully few prototypes,
72514 which can conflict with char $ac_func (); below.
72515 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72516 <limits.h> exists even on freestanding compilers. */
72518 #ifdef __STDC__
72519 # include <limits.h>
72520 #else
72521 # include <assert.h>
72522 #endif
72524 #undef $ac_func
72526 /* Override any gcc2 internal prototype to avoid an error. */
72527 #ifdef __cplusplus
72528 extern "C"
72530 #endif
72531 /* We use char because int might match the return type of a gcc2
72532 builtin and then its argument prototype would still apply. */
72533 char $ac_func ();
72534 /* The GNU C library defines this for functions which it implements
72535 to always fail with ENOSYS. Some functions are actually named
72536 something starting with __ and the normal name is an alias. */
72537 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72538 choke me
72539 #else
72540 char (*f) () = $ac_func;
72541 #endif
72542 #ifdef __cplusplus
72544 #endif
72547 main ()
72549 return f != $ac_func;
72551 return 0;
72553 _ACEOF
72554 rm -f conftest.$ac_objext conftest$ac_exeext
72555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72556 (eval $ac_link) 2>conftest.er1
72557 ac_status=$?
72558 grep -v '^ *+' conftest.er1 >conftest.err
72559 rm -f conftest.er1
72560 cat conftest.err >&5
72561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72562 (exit $ac_status); } &&
72563 { ac_try='test -z "$ac_c_werror_flag"
72564 || test ! -s conftest.err'
72565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72566 (eval $ac_try) 2>&5
72567 ac_status=$?
72568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72569 (exit $ac_status); }; } &&
72570 { ac_try='test -s conftest$ac_exeext'
72571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72572 (eval $ac_try) 2>&5
72573 ac_status=$?
72574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72575 (exit $ac_status); }; }; then
72576 eval "$as_ac_var=yes"
72577 else
72578 echo "$as_me: failed program was:" >&5
72579 sed 's/^/| /' conftest.$ac_ext >&5
72581 eval "$as_ac_var=no"
72583 rm -f conftest.err conftest.$ac_objext \
72584 conftest$ac_exeext conftest.$ac_ext
72586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72587 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72588 if test `eval echo '${'$as_ac_var'}'` = yes; then
72589 cat >>confdefs.h <<_ACEOF
72590 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72591 _ACEOF
72594 done
72596 else
72598 echo "$as_me:$LINENO: checking for _modf declaration" >&5
72599 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
72600 if test x${glibcxx_cv_func__modf_use+set} != xset; then
72601 if test "${glibcxx_cv_func__modf_use+set}" = set; then
72602 echo $ECHO_N "(cached) $ECHO_C" >&6
72603 else
72607 ac_ext=cc
72608 ac_cpp='$CXXCPP $CPPFLAGS'
72609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72613 cat >conftest.$ac_ext <<_ACEOF
72614 /* confdefs.h. */
72615 _ACEOF
72616 cat confdefs.h >>conftest.$ac_ext
72617 cat >>conftest.$ac_ext <<_ACEOF
72618 /* end confdefs.h. */
72619 #include <math.h>
72621 main ()
72623 _modf(0, 0);
72625 return 0;
72627 _ACEOF
72628 rm -f conftest.$ac_objext
72629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72630 (eval $ac_compile) 2>conftest.er1
72631 ac_status=$?
72632 grep -v '^ *+' conftest.er1 >conftest.err
72633 rm -f conftest.er1
72634 cat conftest.err >&5
72635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72636 (exit $ac_status); } &&
72637 { ac_try='test -z "$ac_cxx_werror_flag"
72638 || test ! -s conftest.err'
72639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72640 (eval $ac_try) 2>&5
72641 ac_status=$?
72642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72643 (exit $ac_status); }; } &&
72644 { ac_try='test -s conftest.$ac_objext'
72645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72646 (eval $ac_try) 2>&5
72647 ac_status=$?
72648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72649 (exit $ac_status); }; }; then
72650 glibcxx_cv_func__modf_use=yes
72651 else
72652 echo "$as_me: failed program was:" >&5
72653 sed 's/^/| /' conftest.$ac_ext >&5
72655 glibcxx_cv_func__modf_use=no
72657 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72658 ac_ext=c
72659 ac_cpp='$CPP $CPPFLAGS'
72660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72668 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
72669 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
72671 if test x$glibcxx_cv_func__modf_use = x"yes"; then
72673 for ac_func in _modf
72675 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72676 echo "$as_me:$LINENO: checking for $ac_func" >&5
72677 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72678 if eval "test \"\${$as_ac_var+set}\" = set"; then
72679 echo $ECHO_N "(cached) $ECHO_C" >&6
72680 else
72681 if test x$gcc_no_link = xyes; then
72682 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72683 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72684 { (exit 1); exit 1; }; }
72686 cat >conftest.$ac_ext <<_ACEOF
72687 /* confdefs.h. */
72688 _ACEOF
72689 cat confdefs.h >>conftest.$ac_ext
72690 cat >>conftest.$ac_ext <<_ACEOF
72691 /* end confdefs.h. */
72692 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72693 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72694 #define $ac_func innocuous_$ac_func
72696 /* System header to define __stub macros and hopefully few prototypes,
72697 which can conflict with char $ac_func (); below.
72698 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72699 <limits.h> exists even on freestanding compilers. */
72701 #ifdef __STDC__
72702 # include <limits.h>
72703 #else
72704 # include <assert.h>
72705 #endif
72707 #undef $ac_func
72709 /* Override any gcc2 internal prototype to avoid an error. */
72710 #ifdef __cplusplus
72711 extern "C"
72713 #endif
72714 /* We use char because int might match the return type of a gcc2
72715 builtin and then its argument prototype would still apply. */
72716 char $ac_func ();
72717 /* The GNU C library defines this for functions which it implements
72718 to always fail with ENOSYS. Some functions are actually named
72719 something starting with __ and the normal name is an alias. */
72720 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72721 choke me
72722 #else
72723 char (*f) () = $ac_func;
72724 #endif
72725 #ifdef __cplusplus
72727 #endif
72730 main ()
72732 return f != $ac_func;
72734 return 0;
72736 _ACEOF
72737 rm -f conftest.$ac_objext conftest$ac_exeext
72738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72739 (eval $ac_link) 2>conftest.er1
72740 ac_status=$?
72741 grep -v '^ *+' conftest.er1 >conftest.err
72742 rm -f conftest.er1
72743 cat conftest.err >&5
72744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72745 (exit $ac_status); } &&
72746 { ac_try='test -z "$ac_c_werror_flag"
72747 || test ! -s conftest.err'
72748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72749 (eval $ac_try) 2>&5
72750 ac_status=$?
72751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72752 (exit $ac_status); }; } &&
72753 { ac_try='test -s conftest$ac_exeext'
72754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72755 (eval $ac_try) 2>&5
72756 ac_status=$?
72757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72758 (exit $ac_status); }; }; then
72759 eval "$as_ac_var=yes"
72760 else
72761 echo "$as_me: failed program was:" >&5
72762 sed 's/^/| /' conftest.$ac_ext >&5
72764 eval "$as_ac_var=no"
72766 rm -f conftest.err conftest.$ac_objext \
72767 conftest$ac_exeext conftest.$ac_ext
72769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72770 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72771 if test `eval echo '${'$as_ac_var'}'` = yes; then
72772 cat >>confdefs.h <<_ACEOF
72773 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72774 _ACEOF
72777 done
72787 echo "$as_me:$LINENO: checking for powf declaration" >&5
72788 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
72789 if test x${glibcxx_cv_func_powf_use+set} != xset; then
72790 if test "${glibcxx_cv_func_powf_use+set}" = set; then
72791 echo $ECHO_N "(cached) $ECHO_C" >&6
72792 else
72796 ac_ext=cc
72797 ac_cpp='$CXXCPP $CPPFLAGS'
72798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72802 cat >conftest.$ac_ext <<_ACEOF
72803 /* confdefs.h. */
72804 _ACEOF
72805 cat confdefs.h >>conftest.$ac_ext
72806 cat >>conftest.$ac_ext <<_ACEOF
72807 /* end confdefs.h. */
72808 #include <math.h>
72810 main ()
72812 powf(0, 0);
72814 return 0;
72816 _ACEOF
72817 rm -f conftest.$ac_objext
72818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72819 (eval $ac_compile) 2>conftest.er1
72820 ac_status=$?
72821 grep -v '^ *+' conftest.er1 >conftest.err
72822 rm -f conftest.er1
72823 cat conftest.err >&5
72824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72825 (exit $ac_status); } &&
72826 { ac_try='test -z "$ac_cxx_werror_flag"
72827 || test ! -s conftest.err'
72828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72829 (eval $ac_try) 2>&5
72830 ac_status=$?
72831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72832 (exit $ac_status); }; } &&
72833 { ac_try='test -s conftest.$ac_objext'
72834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72835 (eval $ac_try) 2>&5
72836 ac_status=$?
72837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72838 (exit $ac_status); }; }; then
72839 glibcxx_cv_func_powf_use=yes
72840 else
72841 echo "$as_me: failed program was:" >&5
72842 sed 's/^/| /' conftest.$ac_ext >&5
72844 glibcxx_cv_func_powf_use=no
72846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72847 ac_ext=c
72848 ac_cpp='$CPP $CPPFLAGS'
72849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72857 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
72858 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
72860 if test x$glibcxx_cv_func_powf_use = x"yes"; then
72862 for ac_func in powf
72864 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72865 echo "$as_me:$LINENO: checking for $ac_func" >&5
72866 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72867 if eval "test \"\${$as_ac_var+set}\" = set"; then
72868 echo $ECHO_N "(cached) $ECHO_C" >&6
72869 else
72870 if test x$gcc_no_link = xyes; then
72871 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72872 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72873 { (exit 1); exit 1; }; }
72875 cat >conftest.$ac_ext <<_ACEOF
72876 /* confdefs.h. */
72877 _ACEOF
72878 cat confdefs.h >>conftest.$ac_ext
72879 cat >>conftest.$ac_ext <<_ACEOF
72880 /* end confdefs.h. */
72881 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72882 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72883 #define $ac_func innocuous_$ac_func
72885 /* System header to define __stub macros and hopefully few prototypes,
72886 which can conflict with char $ac_func (); below.
72887 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72888 <limits.h> exists even on freestanding compilers. */
72890 #ifdef __STDC__
72891 # include <limits.h>
72892 #else
72893 # include <assert.h>
72894 #endif
72896 #undef $ac_func
72898 /* Override any gcc2 internal prototype to avoid an error. */
72899 #ifdef __cplusplus
72900 extern "C"
72902 #endif
72903 /* We use char because int might match the return type of a gcc2
72904 builtin and then its argument prototype would still apply. */
72905 char $ac_func ();
72906 /* The GNU C library defines this for functions which it implements
72907 to always fail with ENOSYS. Some functions are actually named
72908 something starting with __ and the normal name is an alias. */
72909 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72910 choke me
72911 #else
72912 char (*f) () = $ac_func;
72913 #endif
72914 #ifdef __cplusplus
72916 #endif
72919 main ()
72921 return f != $ac_func;
72923 return 0;
72925 _ACEOF
72926 rm -f conftest.$ac_objext conftest$ac_exeext
72927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72928 (eval $ac_link) 2>conftest.er1
72929 ac_status=$?
72930 grep -v '^ *+' conftest.er1 >conftest.err
72931 rm -f conftest.er1
72932 cat conftest.err >&5
72933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72934 (exit $ac_status); } &&
72935 { ac_try='test -z "$ac_c_werror_flag"
72936 || test ! -s conftest.err'
72937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72938 (eval $ac_try) 2>&5
72939 ac_status=$?
72940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72941 (exit $ac_status); }; } &&
72942 { ac_try='test -s conftest$ac_exeext'
72943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72944 (eval $ac_try) 2>&5
72945 ac_status=$?
72946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72947 (exit $ac_status); }; }; then
72948 eval "$as_ac_var=yes"
72949 else
72950 echo "$as_me: failed program was:" >&5
72951 sed 's/^/| /' conftest.$ac_ext >&5
72953 eval "$as_ac_var=no"
72955 rm -f conftest.err conftest.$ac_objext \
72956 conftest$ac_exeext conftest.$ac_ext
72958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72959 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72960 if test `eval echo '${'$as_ac_var'}'` = yes; then
72961 cat >>confdefs.h <<_ACEOF
72962 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72963 _ACEOF
72966 done
72968 else
72970 echo "$as_me:$LINENO: checking for _powf declaration" >&5
72971 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
72972 if test x${glibcxx_cv_func__powf_use+set} != xset; then
72973 if test "${glibcxx_cv_func__powf_use+set}" = set; then
72974 echo $ECHO_N "(cached) $ECHO_C" >&6
72975 else
72979 ac_ext=cc
72980 ac_cpp='$CXXCPP $CPPFLAGS'
72981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72985 cat >conftest.$ac_ext <<_ACEOF
72986 /* confdefs.h. */
72987 _ACEOF
72988 cat confdefs.h >>conftest.$ac_ext
72989 cat >>conftest.$ac_ext <<_ACEOF
72990 /* end confdefs.h. */
72991 #include <math.h>
72993 main ()
72995 _powf(0, 0);
72997 return 0;
72999 _ACEOF
73000 rm -f conftest.$ac_objext
73001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73002 (eval $ac_compile) 2>conftest.er1
73003 ac_status=$?
73004 grep -v '^ *+' conftest.er1 >conftest.err
73005 rm -f conftest.er1
73006 cat conftest.err >&5
73007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73008 (exit $ac_status); } &&
73009 { ac_try='test -z "$ac_cxx_werror_flag"
73010 || test ! -s conftest.err'
73011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73012 (eval $ac_try) 2>&5
73013 ac_status=$?
73014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73015 (exit $ac_status); }; } &&
73016 { ac_try='test -s conftest.$ac_objext'
73017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73018 (eval $ac_try) 2>&5
73019 ac_status=$?
73020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73021 (exit $ac_status); }; }; then
73022 glibcxx_cv_func__powf_use=yes
73023 else
73024 echo "$as_me: failed program was:" >&5
73025 sed 's/^/| /' conftest.$ac_ext >&5
73027 glibcxx_cv_func__powf_use=no
73029 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73030 ac_ext=c
73031 ac_cpp='$CPP $CPPFLAGS'
73032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73040 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
73041 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
73043 if test x$glibcxx_cv_func__powf_use = x"yes"; then
73045 for ac_func in _powf
73047 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73048 echo "$as_me:$LINENO: checking for $ac_func" >&5
73049 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73050 if eval "test \"\${$as_ac_var+set}\" = set"; then
73051 echo $ECHO_N "(cached) $ECHO_C" >&6
73052 else
73053 if test x$gcc_no_link = xyes; then
73054 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73055 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73056 { (exit 1); exit 1; }; }
73058 cat >conftest.$ac_ext <<_ACEOF
73059 /* confdefs.h. */
73060 _ACEOF
73061 cat confdefs.h >>conftest.$ac_ext
73062 cat >>conftest.$ac_ext <<_ACEOF
73063 /* end confdefs.h. */
73064 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73065 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73066 #define $ac_func innocuous_$ac_func
73068 /* System header to define __stub macros and hopefully few prototypes,
73069 which can conflict with char $ac_func (); below.
73070 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73071 <limits.h> exists even on freestanding compilers. */
73073 #ifdef __STDC__
73074 # include <limits.h>
73075 #else
73076 # include <assert.h>
73077 #endif
73079 #undef $ac_func
73081 /* Override any gcc2 internal prototype to avoid an error. */
73082 #ifdef __cplusplus
73083 extern "C"
73085 #endif
73086 /* We use char because int might match the return type of a gcc2
73087 builtin and then its argument prototype would still apply. */
73088 char $ac_func ();
73089 /* The GNU C library defines this for functions which it implements
73090 to always fail with ENOSYS. Some functions are actually named
73091 something starting with __ and the normal name is an alias. */
73092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73093 choke me
73094 #else
73095 char (*f) () = $ac_func;
73096 #endif
73097 #ifdef __cplusplus
73099 #endif
73102 main ()
73104 return f != $ac_func;
73106 return 0;
73108 _ACEOF
73109 rm -f conftest.$ac_objext conftest$ac_exeext
73110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73111 (eval $ac_link) 2>conftest.er1
73112 ac_status=$?
73113 grep -v '^ *+' conftest.er1 >conftest.err
73114 rm -f conftest.er1
73115 cat conftest.err >&5
73116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73117 (exit $ac_status); } &&
73118 { ac_try='test -z "$ac_c_werror_flag"
73119 || test ! -s conftest.err'
73120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73121 (eval $ac_try) 2>&5
73122 ac_status=$?
73123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73124 (exit $ac_status); }; } &&
73125 { ac_try='test -s conftest$ac_exeext'
73126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73127 (eval $ac_try) 2>&5
73128 ac_status=$?
73129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73130 (exit $ac_status); }; }; then
73131 eval "$as_ac_var=yes"
73132 else
73133 echo "$as_me: failed program was:" >&5
73134 sed 's/^/| /' conftest.$ac_ext >&5
73136 eval "$as_ac_var=no"
73138 rm -f conftest.err conftest.$ac_objext \
73139 conftest$ac_exeext conftest.$ac_ext
73141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73142 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73143 if test `eval echo '${'$as_ac_var'}'` = yes; then
73144 cat >>confdefs.h <<_ACEOF
73145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73146 _ACEOF
73149 done
73159 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
73160 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
73161 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
73162 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
73163 echo $ECHO_N "(cached) $ECHO_C" >&6
73164 else
73168 ac_ext=cc
73169 ac_cpp='$CXXCPP $CPPFLAGS'
73170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73174 cat >conftest.$ac_ext <<_ACEOF
73175 /* confdefs.h. */
73176 _ACEOF
73177 cat confdefs.h >>conftest.$ac_ext
73178 cat >>conftest.$ac_ext <<_ACEOF
73179 /* end confdefs.h. */
73180 #include <math.h>
73181 #ifdef HAVE_IEEEFP_H
73182 #include <ieeefp.h>
73183 #endif
73186 main ()
73188 sqrtf(0);
73190 return 0;
73192 _ACEOF
73193 rm -f conftest.$ac_objext
73194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73195 (eval $ac_compile) 2>conftest.er1
73196 ac_status=$?
73197 grep -v '^ *+' conftest.er1 >conftest.err
73198 rm -f conftest.er1
73199 cat conftest.err >&5
73200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73201 (exit $ac_status); } &&
73202 { ac_try='test -z "$ac_cxx_werror_flag"
73203 || test ! -s conftest.err'
73204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73205 (eval $ac_try) 2>&5
73206 ac_status=$?
73207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73208 (exit $ac_status); }; } &&
73209 { ac_try='test -s conftest.$ac_objext'
73210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73211 (eval $ac_try) 2>&5
73212 ac_status=$?
73213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73214 (exit $ac_status); }; }; then
73215 glibcxx_cv_func_sqrtf_use=yes
73216 else
73217 echo "$as_me: failed program was:" >&5
73218 sed 's/^/| /' conftest.$ac_ext >&5
73220 glibcxx_cv_func_sqrtf_use=no
73222 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73223 ac_ext=c
73224 ac_cpp='$CPP $CPPFLAGS'
73225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73233 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
73234 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
73236 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
73238 for ac_func in sqrtf
73240 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73241 echo "$as_me:$LINENO: checking for $ac_func" >&5
73242 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73243 if eval "test \"\${$as_ac_var+set}\" = set"; then
73244 echo $ECHO_N "(cached) $ECHO_C" >&6
73245 else
73246 if test x$gcc_no_link = xyes; then
73247 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73248 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73249 { (exit 1); exit 1; }; }
73251 cat >conftest.$ac_ext <<_ACEOF
73252 /* confdefs.h. */
73253 _ACEOF
73254 cat confdefs.h >>conftest.$ac_ext
73255 cat >>conftest.$ac_ext <<_ACEOF
73256 /* end confdefs.h. */
73257 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73258 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73259 #define $ac_func innocuous_$ac_func
73261 /* System header to define __stub macros and hopefully few prototypes,
73262 which can conflict with char $ac_func (); below.
73263 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73264 <limits.h> exists even on freestanding compilers. */
73266 #ifdef __STDC__
73267 # include <limits.h>
73268 #else
73269 # include <assert.h>
73270 #endif
73272 #undef $ac_func
73274 /* Override any gcc2 internal prototype to avoid an error. */
73275 #ifdef __cplusplus
73276 extern "C"
73278 #endif
73279 /* We use char because int might match the return type of a gcc2
73280 builtin and then its argument prototype would still apply. */
73281 char $ac_func ();
73282 /* The GNU C library defines this for functions which it implements
73283 to always fail with ENOSYS. Some functions are actually named
73284 something starting with __ and the normal name is an alias. */
73285 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73286 choke me
73287 #else
73288 char (*f) () = $ac_func;
73289 #endif
73290 #ifdef __cplusplus
73292 #endif
73295 main ()
73297 return f != $ac_func;
73299 return 0;
73301 _ACEOF
73302 rm -f conftest.$ac_objext conftest$ac_exeext
73303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73304 (eval $ac_link) 2>conftest.er1
73305 ac_status=$?
73306 grep -v '^ *+' conftest.er1 >conftest.err
73307 rm -f conftest.er1
73308 cat conftest.err >&5
73309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73310 (exit $ac_status); } &&
73311 { ac_try='test -z "$ac_c_werror_flag"
73312 || test ! -s conftest.err'
73313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73314 (eval $ac_try) 2>&5
73315 ac_status=$?
73316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73317 (exit $ac_status); }; } &&
73318 { ac_try='test -s conftest$ac_exeext'
73319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73320 (eval $ac_try) 2>&5
73321 ac_status=$?
73322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73323 (exit $ac_status); }; }; then
73324 eval "$as_ac_var=yes"
73325 else
73326 echo "$as_me: failed program was:" >&5
73327 sed 's/^/| /' conftest.$ac_ext >&5
73329 eval "$as_ac_var=no"
73331 rm -f conftest.err conftest.$ac_objext \
73332 conftest$ac_exeext conftest.$ac_ext
73334 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73335 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73336 if test `eval echo '${'$as_ac_var'}'` = yes; then
73337 cat >>confdefs.h <<_ACEOF
73338 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73339 _ACEOF
73342 done
73344 else
73346 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
73347 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
73348 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
73349 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
73350 echo $ECHO_N "(cached) $ECHO_C" >&6
73351 else
73355 ac_ext=cc
73356 ac_cpp='$CXXCPP $CPPFLAGS'
73357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73361 cat >conftest.$ac_ext <<_ACEOF
73362 /* confdefs.h. */
73363 _ACEOF
73364 cat confdefs.h >>conftest.$ac_ext
73365 cat >>conftest.$ac_ext <<_ACEOF
73366 /* end confdefs.h. */
73367 #include <math.h>
73368 #ifdef HAVE_IEEEFP_H
73369 #include <ieeefp.h>
73370 #endif
73373 main ()
73375 _sqrtf(0);
73377 return 0;
73379 _ACEOF
73380 rm -f conftest.$ac_objext
73381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73382 (eval $ac_compile) 2>conftest.er1
73383 ac_status=$?
73384 grep -v '^ *+' conftest.er1 >conftest.err
73385 rm -f conftest.er1
73386 cat conftest.err >&5
73387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73388 (exit $ac_status); } &&
73389 { ac_try='test -z "$ac_cxx_werror_flag"
73390 || test ! -s conftest.err'
73391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73392 (eval $ac_try) 2>&5
73393 ac_status=$?
73394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73395 (exit $ac_status); }; } &&
73396 { ac_try='test -s conftest.$ac_objext'
73397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73398 (eval $ac_try) 2>&5
73399 ac_status=$?
73400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73401 (exit $ac_status); }; }; then
73402 glibcxx_cv_func__sqrtf_use=yes
73403 else
73404 echo "$as_me: failed program was:" >&5
73405 sed 's/^/| /' conftest.$ac_ext >&5
73407 glibcxx_cv_func__sqrtf_use=no
73409 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73410 ac_ext=c
73411 ac_cpp='$CPP $CPPFLAGS'
73412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73420 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
73421 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
73423 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
73425 for ac_func in _sqrtf
73427 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73428 echo "$as_me:$LINENO: checking for $ac_func" >&5
73429 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73430 if eval "test \"\${$as_ac_var+set}\" = set"; then
73431 echo $ECHO_N "(cached) $ECHO_C" >&6
73432 else
73433 if test x$gcc_no_link = xyes; then
73434 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73435 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73436 { (exit 1); exit 1; }; }
73438 cat >conftest.$ac_ext <<_ACEOF
73439 /* confdefs.h. */
73440 _ACEOF
73441 cat confdefs.h >>conftest.$ac_ext
73442 cat >>conftest.$ac_ext <<_ACEOF
73443 /* end confdefs.h. */
73444 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73445 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73446 #define $ac_func innocuous_$ac_func
73448 /* System header to define __stub macros and hopefully few prototypes,
73449 which can conflict with char $ac_func (); below.
73450 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73451 <limits.h> exists even on freestanding compilers. */
73453 #ifdef __STDC__
73454 # include <limits.h>
73455 #else
73456 # include <assert.h>
73457 #endif
73459 #undef $ac_func
73461 /* Override any gcc2 internal prototype to avoid an error. */
73462 #ifdef __cplusplus
73463 extern "C"
73465 #endif
73466 /* We use char because int might match the return type of a gcc2
73467 builtin and then its argument prototype would still apply. */
73468 char $ac_func ();
73469 /* The GNU C library defines this for functions which it implements
73470 to always fail with ENOSYS. Some functions are actually named
73471 something starting with __ and the normal name is an alias. */
73472 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73473 choke me
73474 #else
73475 char (*f) () = $ac_func;
73476 #endif
73477 #ifdef __cplusplus
73479 #endif
73482 main ()
73484 return f != $ac_func;
73486 return 0;
73488 _ACEOF
73489 rm -f conftest.$ac_objext conftest$ac_exeext
73490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73491 (eval $ac_link) 2>conftest.er1
73492 ac_status=$?
73493 grep -v '^ *+' conftest.er1 >conftest.err
73494 rm -f conftest.er1
73495 cat conftest.err >&5
73496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73497 (exit $ac_status); } &&
73498 { ac_try='test -z "$ac_c_werror_flag"
73499 || test ! -s conftest.err'
73500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73501 (eval $ac_try) 2>&5
73502 ac_status=$?
73503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73504 (exit $ac_status); }; } &&
73505 { ac_try='test -s conftest$ac_exeext'
73506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73507 (eval $ac_try) 2>&5
73508 ac_status=$?
73509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73510 (exit $ac_status); }; }; then
73511 eval "$as_ac_var=yes"
73512 else
73513 echo "$as_me: failed program was:" >&5
73514 sed 's/^/| /' conftest.$ac_ext >&5
73516 eval "$as_ac_var=no"
73518 rm -f conftest.err conftest.$ac_objext \
73519 conftest$ac_exeext conftest.$ac_ext
73521 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73522 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73523 if test `eval echo '${'$as_ac_var'}'` = yes; then
73524 cat >>confdefs.h <<_ACEOF
73525 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73526 _ACEOF
73529 done
73539 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
73540 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
73541 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
73542 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
73543 echo $ECHO_N "(cached) $ECHO_C" >&6
73544 else
73548 ac_ext=cc
73549 ac_cpp='$CXXCPP $CPPFLAGS'
73550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73554 cat >conftest.$ac_ext <<_ACEOF
73555 /* confdefs.h. */
73556 _ACEOF
73557 cat confdefs.h >>conftest.$ac_ext
73558 cat >>conftest.$ac_ext <<_ACEOF
73559 /* end confdefs.h. */
73560 #include <math.h>
73562 main ()
73564 sincosf(0, 0, 0);
73566 return 0;
73568 _ACEOF
73569 rm -f conftest.$ac_objext
73570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73571 (eval $ac_compile) 2>conftest.er1
73572 ac_status=$?
73573 grep -v '^ *+' conftest.er1 >conftest.err
73574 rm -f conftest.er1
73575 cat conftest.err >&5
73576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73577 (exit $ac_status); } &&
73578 { ac_try='test -z "$ac_cxx_werror_flag"
73579 || test ! -s conftest.err'
73580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73581 (eval $ac_try) 2>&5
73582 ac_status=$?
73583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73584 (exit $ac_status); }; } &&
73585 { ac_try='test -s conftest.$ac_objext'
73586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73587 (eval $ac_try) 2>&5
73588 ac_status=$?
73589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73590 (exit $ac_status); }; }; then
73591 glibcxx_cv_func_sincosf_use=yes
73592 else
73593 echo "$as_me: failed program was:" >&5
73594 sed 's/^/| /' conftest.$ac_ext >&5
73596 glibcxx_cv_func_sincosf_use=no
73598 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73599 ac_ext=c
73600 ac_cpp='$CPP $CPPFLAGS'
73601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73609 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
73610 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
73612 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
73614 for ac_func in sincosf
73616 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73617 echo "$as_me:$LINENO: checking for $ac_func" >&5
73618 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73619 if eval "test \"\${$as_ac_var+set}\" = set"; then
73620 echo $ECHO_N "(cached) $ECHO_C" >&6
73621 else
73622 if test x$gcc_no_link = xyes; then
73623 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73624 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73625 { (exit 1); exit 1; }; }
73627 cat >conftest.$ac_ext <<_ACEOF
73628 /* confdefs.h. */
73629 _ACEOF
73630 cat confdefs.h >>conftest.$ac_ext
73631 cat >>conftest.$ac_ext <<_ACEOF
73632 /* end confdefs.h. */
73633 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73634 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73635 #define $ac_func innocuous_$ac_func
73637 /* System header to define __stub macros and hopefully few prototypes,
73638 which can conflict with char $ac_func (); below.
73639 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73640 <limits.h> exists even on freestanding compilers. */
73642 #ifdef __STDC__
73643 # include <limits.h>
73644 #else
73645 # include <assert.h>
73646 #endif
73648 #undef $ac_func
73650 /* Override any gcc2 internal prototype to avoid an error. */
73651 #ifdef __cplusplus
73652 extern "C"
73654 #endif
73655 /* We use char because int might match the return type of a gcc2
73656 builtin and then its argument prototype would still apply. */
73657 char $ac_func ();
73658 /* The GNU C library defines this for functions which it implements
73659 to always fail with ENOSYS. Some functions are actually named
73660 something starting with __ and the normal name is an alias. */
73661 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73662 choke me
73663 #else
73664 char (*f) () = $ac_func;
73665 #endif
73666 #ifdef __cplusplus
73668 #endif
73671 main ()
73673 return f != $ac_func;
73675 return 0;
73677 _ACEOF
73678 rm -f conftest.$ac_objext conftest$ac_exeext
73679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73680 (eval $ac_link) 2>conftest.er1
73681 ac_status=$?
73682 grep -v '^ *+' conftest.er1 >conftest.err
73683 rm -f conftest.er1
73684 cat conftest.err >&5
73685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73686 (exit $ac_status); } &&
73687 { ac_try='test -z "$ac_c_werror_flag"
73688 || test ! -s conftest.err'
73689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73690 (eval $ac_try) 2>&5
73691 ac_status=$?
73692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73693 (exit $ac_status); }; } &&
73694 { ac_try='test -s conftest$ac_exeext'
73695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73696 (eval $ac_try) 2>&5
73697 ac_status=$?
73698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73699 (exit $ac_status); }; }; then
73700 eval "$as_ac_var=yes"
73701 else
73702 echo "$as_me: failed program was:" >&5
73703 sed 's/^/| /' conftest.$ac_ext >&5
73705 eval "$as_ac_var=no"
73707 rm -f conftest.err conftest.$ac_objext \
73708 conftest$ac_exeext conftest.$ac_ext
73710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73711 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73712 if test `eval echo '${'$as_ac_var'}'` = yes; then
73713 cat >>confdefs.h <<_ACEOF
73714 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73715 _ACEOF
73718 done
73720 else
73722 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
73723 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
73724 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
73725 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
73726 echo $ECHO_N "(cached) $ECHO_C" >&6
73727 else
73731 ac_ext=cc
73732 ac_cpp='$CXXCPP $CPPFLAGS'
73733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73737 cat >conftest.$ac_ext <<_ACEOF
73738 /* confdefs.h. */
73739 _ACEOF
73740 cat confdefs.h >>conftest.$ac_ext
73741 cat >>conftest.$ac_ext <<_ACEOF
73742 /* end confdefs.h. */
73743 #include <math.h>
73745 main ()
73747 _sincosf(0, 0, 0);
73749 return 0;
73751 _ACEOF
73752 rm -f conftest.$ac_objext
73753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73754 (eval $ac_compile) 2>conftest.er1
73755 ac_status=$?
73756 grep -v '^ *+' conftest.er1 >conftest.err
73757 rm -f conftest.er1
73758 cat conftest.err >&5
73759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73760 (exit $ac_status); } &&
73761 { ac_try='test -z "$ac_cxx_werror_flag"
73762 || test ! -s conftest.err'
73763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73764 (eval $ac_try) 2>&5
73765 ac_status=$?
73766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73767 (exit $ac_status); }; } &&
73768 { ac_try='test -s conftest.$ac_objext'
73769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73770 (eval $ac_try) 2>&5
73771 ac_status=$?
73772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73773 (exit $ac_status); }; }; then
73774 glibcxx_cv_func__sincosf_use=yes
73775 else
73776 echo "$as_me: failed program was:" >&5
73777 sed 's/^/| /' conftest.$ac_ext >&5
73779 glibcxx_cv_func__sincosf_use=no
73781 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73782 ac_ext=c
73783 ac_cpp='$CPP $CPPFLAGS'
73784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73792 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
73793 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
73795 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
73797 for ac_func in _sincosf
73799 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73800 echo "$as_me:$LINENO: checking for $ac_func" >&5
73801 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73802 if eval "test \"\${$as_ac_var+set}\" = set"; then
73803 echo $ECHO_N "(cached) $ECHO_C" >&6
73804 else
73805 if test x$gcc_no_link = xyes; then
73806 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73807 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73808 { (exit 1); exit 1; }; }
73810 cat >conftest.$ac_ext <<_ACEOF
73811 /* confdefs.h. */
73812 _ACEOF
73813 cat confdefs.h >>conftest.$ac_ext
73814 cat >>conftest.$ac_ext <<_ACEOF
73815 /* end confdefs.h. */
73816 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73817 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73818 #define $ac_func innocuous_$ac_func
73820 /* System header to define __stub macros and hopefully few prototypes,
73821 which can conflict with char $ac_func (); below.
73822 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73823 <limits.h> exists even on freestanding compilers. */
73825 #ifdef __STDC__
73826 # include <limits.h>
73827 #else
73828 # include <assert.h>
73829 #endif
73831 #undef $ac_func
73833 /* Override any gcc2 internal prototype to avoid an error. */
73834 #ifdef __cplusplus
73835 extern "C"
73837 #endif
73838 /* We use char because int might match the return type of a gcc2
73839 builtin and then its argument prototype would still apply. */
73840 char $ac_func ();
73841 /* The GNU C library defines this for functions which it implements
73842 to always fail with ENOSYS. Some functions are actually named
73843 something starting with __ and the normal name is an alias. */
73844 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73845 choke me
73846 #else
73847 char (*f) () = $ac_func;
73848 #endif
73849 #ifdef __cplusplus
73851 #endif
73854 main ()
73856 return f != $ac_func;
73858 return 0;
73860 _ACEOF
73861 rm -f conftest.$ac_objext conftest$ac_exeext
73862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73863 (eval $ac_link) 2>conftest.er1
73864 ac_status=$?
73865 grep -v '^ *+' conftest.er1 >conftest.err
73866 rm -f conftest.er1
73867 cat conftest.err >&5
73868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73869 (exit $ac_status); } &&
73870 { ac_try='test -z "$ac_c_werror_flag"
73871 || test ! -s conftest.err'
73872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73873 (eval $ac_try) 2>&5
73874 ac_status=$?
73875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73876 (exit $ac_status); }; } &&
73877 { ac_try='test -s conftest$ac_exeext'
73878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73879 (eval $ac_try) 2>&5
73880 ac_status=$?
73881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73882 (exit $ac_status); }; }; then
73883 eval "$as_ac_var=yes"
73884 else
73885 echo "$as_me: failed program was:" >&5
73886 sed 's/^/| /' conftest.$ac_ext >&5
73888 eval "$as_ac_var=no"
73890 rm -f conftest.err conftest.$ac_objext \
73891 conftest$ac_exeext conftest.$ac_ext
73893 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73894 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73895 if test `eval echo '${'$as_ac_var'}'` = yes; then
73896 cat >>confdefs.h <<_ACEOF
73897 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73898 _ACEOF
73901 done
73911 echo "$as_me:$LINENO: checking for finitef declaration" >&5
73912 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
73913 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
73914 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
73915 echo $ECHO_N "(cached) $ECHO_C" >&6
73916 else
73920 ac_ext=cc
73921 ac_cpp='$CXXCPP $CPPFLAGS'
73922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73926 cat >conftest.$ac_ext <<_ACEOF
73927 /* confdefs.h. */
73928 _ACEOF
73929 cat confdefs.h >>conftest.$ac_ext
73930 cat >>conftest.$ac_ext <<_ACEOF
73931 /* end confdefs.h. */
73932 #include <math.h>
73933 #ifdef HAVE_IEEEFP_H
73934 #include <ieeefp.h>
73935 #endif
73938 main ()
73940 finitef(0);
73942 return 0;
73944 _ACEOF
73945 rm -f conftest.$ac_objext
73946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73947 (eval $ac_compile) 2>conftest.er1
73948 ac_status=$?
73949 grep -v '^ *+' conftest.er1 >conftest.err
73950 rm -f conftest.er1
73951 cat conftest.err >&5
73952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73953 (exit $ac_status); } &&
73954 { ac_try='test -z "$ac_cxx_werror_flag"
73955 || test ! -s conftest.err'
73956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73957 (eval $ac_try) 2>&5
73958 ac_status=$?
73959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73960 (exit $ac_status); }; } &&
73961 { ac_try='test -s conftest.$ac_objext'
73962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73963 (eval $ac_try) 2>&5
73964 ac_status=$?
73965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73966 (exit $ac_status); }; }; then
73967 glibcxx_cv_func_finitef_use=yes
73968 else
73969 echo "$as_me: failed program was:" >&5
73970 sed 's/^/| /' conftest.$ac_ext >&5
73972 glibcxx_cv_func_finitef_use=no
73974 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73975 ac_ext=c
73976 ac_cpp='$CPP $CPPFLAGS'
73977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73985 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
73986 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
73988 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
73990 for ac_func in finitef
73992 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73993 echo "$as_me:$LINENO: checking for $ac_func" >&5
73994 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73995 if eval "test \"\${$as_ac_var+set}\" = set"; then
73996 echo $ECHO_N "(cached) $ECHO_C" >&6
73997 else
73998 if test x$gcc_no_link = xyes; then
73999 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74000 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74001 { (exit 1); exit 1; }; }
74003 cat >conftest.$ac_ext <<_ACEOF
74004 /* confdefs.h. */
74005 _ACEOF
74006 cat confdefs.h >>conftest.$ac_ext
74007 cat >>conftest.$ac_ext <<_ACEOF
74008 /* end confdefs.h. */
74009 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74010 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74011 #define $ac_func innocuous_$ac_func
74013 /* System header to define __stub macros and hopefully few prototypes,
74014 which can conflict with char $ac_func (); below.
74015 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74016 <limits.h> exists even on freestanding compilers. */
74018 #ifdef __STDC__
74019 # include <limits.h>
74020 #else
74021 # include <assert.h>
74022 #endif
74024 #undef $ac_func
74026 /* Override any gcc2 internal prototype to avoid an error. */
74027 #ifdef __cplusplus
74028 extern "C"
74030 #endif
74031 /* We use char because int might match the return type of a gcc2
74032 builtin and then its argument prototype would still apply. */
74033 char $ac_func ();
74034 /* The GNU C library defines this for functions which it implements
74035 to always fail with ENOSYS. Some functions are actually named
74036 something starting with __ and the normal name is an alias. */
74037 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74038 choke me
74039 #else
74040 char (*f) () = $ac_func;
74041 #endif
74042 #ifdef __cplusplus
74044 #endif
74047 main ()
74049 return f != $ac_func;
74051 return 0;
74053 _ACEOF
74054 rm -f conftest.$ac_objext conftest$ac_exeext
74055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74056 (eval $ac_link) 2>conftest.er1
74057 ac_status=$?
74058 grep -v '^ *+' conftest.er1 >conftest.err
74059 rm -f conftest.er1
74060 cat conftest.err >&5
74061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74062 (exit $ac_status); } &&
74063 { ac_try='test -z "$ac_c_werror_flag"
74064 || test ! -s conftest.err'
74065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74066 (eval $ac_try) 2>&5
74067 ac_status=$?
74068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74069 (exit $ac_status); }; } &&
74070 { ac_try='test -s conftest$ac_exeext'
74071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74072 (eval $ac_try) 2>&5
74073 ac_status=$?
74074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74075 (exit $ac_status); }; }; then
74076 eval "$as_ac_var=yes"
74077 else
74078 echo "$as_me: failed program was:" >&5
74079 sed 's/^/| /' conftest.$ac_ext >&5
74081 eval "$as_ac_var=no"
74083 rm -f conftest.err conftest.$ac_objext \
74084 conftest$ac_exeext conftest.$ac_ext
74086 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74087 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74088 if test `eval echo '${'$as_ac_var'}'` = yes; then
74089 cat >>confdefs.h <<_ACEOF
74090 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74091 _ACEOF
74094 done
74096 else
74098 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
74099 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
74100 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
74101 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
74102 echo $ECHO_N "(cached) $ECHO_C" >&6
74103 else
74107 ac_ext=cc
74108 ac_cpp='$CXXCPP $CPPFLAGS'
74109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74113 cat >conftest.$ac_ext <<_ACEOF
74114 /* confdefs.h. */
74115 _ACEOF
74116 cat confdefs.h >>conftest.$ac_ext
74117 cat >>conftest.$ac_ext <<_ACEOF
74118 /* end confdefs.h. */
74119 #include <math.h>
74120 #ifdef HAVE_IEEEFP_H
74121 #include <ieeefp.h>
74122 #endif
74125 main ()
74127 _finitef(0);
74129 return 0;
74131 _ACEOF
74132 rm -f conftest.$ac_objext
74133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74134 (eval $ac_compile) 2>conftest.er1
74135 ac_status=$?
74136 grep -v '^ *+' conftest.er1 >conftest.err
74137 rm -f conftest.er1
74138 cat conftest.err >&5
74139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74140 (exit $ac_status); } &&
74141 { ac_try='test -z "$ac_cxx_werror_flag"
74142 || test ! -s conftest.err'
74143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74144 (eval $ac_try) 2>&5
74145 ac_status=$?
74146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74147 (exit $ac_status); }; } &&
74148 { ac_try='test -s conftest.$ac_objext'
74149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74150 (eval $ac_try) 2>&5
74151 ac_status=$?
74152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74153 (exit $ac_status); }; }; then
74154 glibcxx_cv_func__finitef_use=yes
74155 else
74156 echo "$as_me: failed program was:" >&5
74157 sed 's/^/| /' conftest.$ac_ext >&5
74159 glibcxx_cv_func__finitef_use=no
74161 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74162 ac_ext=c
74163 ac_cpp='$CPP $CPPFLAGS'
74164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74172 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
74173 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
74175 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
74177 for ac_func in _finitef
74179 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74180 echo "$as_me:$LINENO: checking for $ac_func" >&5
74181 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74182 if eval "test \"\${$as_ac_var+set}\" = set"; then
74183 echo $ECHO_N "(cached) $ECHO_C" >&6
74184 else
74185 if test x$gcc_no_link = xyes; then
74186 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74187 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74188 { (exit 1); exit 1; }; }
74190 cat >conftest.$ac_ext <<_ACEOF
74191 /* confdefs.h. */
74192 _ACEOF
74193 cat confdefs.h >>conftest.$ac_ext
74194 cat >>conftest.$ac_ext <<_ACEOF
74195 /* end confdefs.h. */
74196 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74197 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74198 #define $ac_func innocuous_$ac_func
74200 /* System header to define __stub macros and hopefully few prototypes,
74201 which can conflict with char $ac_func (); below.
74202 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74203 <limits.h> exists even on freestanding compilers. */
74205 #ifdef __STDC__
74206 # include <limits.h>
74207 #else
74208 # include <assert.h>
74209 #endif
74211 #undef $ac_func
74213 /* Override any gcc2 internal prototype to avoid an error. */
74214 #ifdef __cplusplus
74215 extern "C"
74217 #endif
74218 /* We use char because int might match the return type of a gcc2
74219 builtin and then its argument prototype would still apply. */
74220 char $ac_func ();
74221 /* The GNU C library defines this for functions which it implements
74222 to always fail with ENOSYS. Some functions are actually named
74223 something starting with __ and the normal name is an alias. */
74224 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74225 choke me
74226 #else
74227 char (*f) () = $ac_func;
74228 #endif
74229 #ifdef __cplusplus
74231 #endif
74234 main ()
74236 return f != $ac_func;
74238 return 0;
74240 _ACEOF
74241 rm -f conftest.$ac_objext conftest$ac_exeext
74242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74243 (eval $ac_link) 2>conftest.er1
74244 ac_status=$?
74245 grep -v '^ *+' conftest.er1 >conftest.err
74246 rm -f conftest.er1
74247 cat conftest.err >&5
74248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74249 (exit $ac_status); } &&
74250 { ac_try='test -z "$ac_c_werror_flag"
74251 || test ! -s conftest.err'
74252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74253 (eval $ac_try) 2>&5
74254 ac_status=$?
74255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74256 (exit $ac_status); }; } &&
74257 { ac_try='test -s conftest$ac_exeext'
74258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74259 (eval $ac_try) 2>&5
74260 ac_status=$?
74261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74262 (exit $ac_status); }; }; then
74263 eval "$as_ac_var=yes"
74264 else
74265 echo "$as_me: failed program was:" >&5
74266 sed 's/^/| /' conftest.$ac_ext >&5
74268 eval "$as_ac_var=no"
74270 rm -f conftest.err conftest.$ac_objext \
74271 conftest$ac_exeext conftest.$ac_ext
74273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74274 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74275 if test `eval echo '${'$as_ac_var'}'` = yes; then
74276 cat >>confdefs.h <<_ACEOF
74277 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74278 _ACEOF
74281 done
74291 echo "$as_me:$LINENO: checking for long double trig functions" >&5
74292 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
74293 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
74294 echo $ECHO_N "(cached) $ECHO_C" >&6
74295 else
74299 ac_ext=cc
74300 ac_cpp='$CXXCPP $CPPFLAGS'
74301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74305 cat >conftest.$ac_ext <<_ACEOF
74306 /* confdefs.h. */
74307 _ACEOF
74308 cat confdefs.h >>conftest.$ac_ext
74309 cat >>conftest.$ac_ext <<_ACEOF
74310 /* end confdefs.h. */
74311 #include <math.h>
74313 main ()
74315 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
74317 return 0;
74319 _ACEOF
74320 rm -f conftest.$ac_objext
74321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74322 (eval $ac_compile) 2>conftest.er1
74323 ac_status=$?
74324 grep -v '^ *+' conftest.er1 >conftest.err
74325 rm -f conftest.er1
74326 cat conftest.err >&5
74327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74328 (exit $ac_status); } &&
74329 { ac_try='test -z "$ac_cxx_werror_flag"
74330 || test ! -s conftest.err'
74331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74332 (eval $ac_try) 2>&5
74333 ac_status=$?
74334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74335 (exit $ac_status); }; } &&
74336 { ac_try='test -s conftest.$ac_objext'
74337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74338 (eval $ac_try) 2>&5
74339 ac_status=$?
74340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74341 (exit $ac_status); }; }; then
74342 glibcxx_cv_func_long_double_trig_use=yes
74343 else
74344 echo "$as_me: failed program was:" >&5
74345 sed 's/^/| /' conftest.$ac_ext >&5
74347 glibcxx_cv_func_long_double_trig_use=no
74349 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74350 ac_ext=c
74351 ac_cpp='$CPP $CPPFLAGS'
74352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74358 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
74359 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
74360 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
74370 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
74372 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74373 echo "$as_me:$LINENO: checking for $ac_func" >&5
74374 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74375 if eval "test \"\${$as_ac_var+set}\" = set"; then
74376 echo $ECHO_N "(cached) $ECHO_C" >&6
74377 else
74378 if test x$gcc_no_link = xyes; then
74379 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74380 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74381 { (exit 1); exit 1; }; }
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74390 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74391 #define $ac_func innocuous_$ac_func
74393 /* System header to define __stub macros and hopefully few prototypes,
74394 which can conflict with char $ac_func (); below.
74395 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74396 <limits.h> exists even on freestanding compilers. */
74398 #ifdef __STDC__
74399 # include <limits.h>
74400 #else
74401 # include <assert.h>
74402 #endif
74404 #undef $ac_func
74406 /* Override any gcc2 internal prototype to avoid an error. */
74407 #ifdef __cplusplus
74408 extern "C"
74410 #endif
74411 /* We use char because int might match the return type of a gcc2
74412 builtin and then its argument prototype would still apply. */
74413 char $ac_func ();
74414 /* The GNU C library defines this for functions which it implements
74415 to always fail with ENOSYS. Some functions are actually named
74416 something starting with __ and the normal name is an alias. */
74417 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74418 choke me
74419 #else
74420 char (*f) () = $ac_func;
74421 #endif
74422 #ifdef __cplusplus
74424 #endif
74427 main ()
74429 return f != $ac_func;
74431 return 0;
74433 _ACEOF
74434 rm -f conftest.$ac_objext conftest$ac_exeext
74435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74436 (eval $ac_link) 2>conftest.er1
74437 ac_status=$?
74438 grep -v '^ *+' conftest.er1 >conftest.err
74439 rm -f conftest.er1
74440 cat conftest.err >&5
74441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74442 (exit $ac_status); } &&
74443 { ac_try='test -z "$ac_c_werror_flag"
74444 || test ! -s conftest.err'
74445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74446 (eval $ac_try) 2>&5
74447 ac_status=$?
74448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74449 (exit $ac_status); }; } &&
74450 { ac_try='test -s conftest$ac_exeext'
74451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74452 (eval $ac_try) 2>&5
74453 ac_status=$?
74454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74455 (exit $ac_status); }; }; then
74456 eval "$as_ac_var=yes"
74457 else
74458 echo "$as_me: failed program was:" >&5
74459 sed 's/^/| /' conftest.$ac_ext >&5
74461 eval "$as_ac_var=no"
74463 rm -f conftest.err conftest.$ac_objext \
74464 conftest$ac_exeext conftest.$ac_ext
74466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74467 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74468 if test `eval echo '${'$as_ac_var'}'` = yes; then
74469 cat >>confdefs.h <<_ACEOF
74470 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74471 _ACEOF
74474 done
74476 else
74477 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
74478 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
74479 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
74480 echo $ECHO_N "(cached) $ECHO_C" >&6
74481 else
74485 ac_ext=cc
74486 ac_cpp='$CXXCPP $CPPFLAGS'
74487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74491 cat >conftest.$ac_ext <<_ACEOF
74492 /* confdefs.h. */
74493 _ACEOF
74494 cat confdefs.h >>conftest.$ac_ext
74495 cat >>conftest.$ac_ext <<_ACEOF
74496 /* end confdefs.h. */
74497 #include <math.h>
74499 main ()
74501 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
74503 return 0;
74505 _ACEOF
74506 rm -f conftest.$ac_objext
74507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74508 (eval $ac_compile) 2>conftest.er1
74509 ac_status=$?
74510 grep -v '^ *+' conftest.er1 >conftest.err
74511 rm -f conftest.er1
74512 cat conftest.err >&5
74513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74514 (exit $ac_status); } &&
74515 { ac_try='test -z "$ac_cxx_werror_flag"
74516 || test ! -s conftest.err'
74517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74518 (eval $ac_try) 2>&5
74519 ac_status=$?
74520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74521 (exit $ac_status); }; } &&
74522 { ac_try='test -s conftest.$ac_objext'
74523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74524 (eval $ac_try) 2>&5
74525 ac_status=$?
74526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74527 (exit $ac_status); }; }; then
74528 glibcxx_cv_func__long_double_trig_use=yes
74529 else
74530 echo "$as_me: failed program was:" >&5
74531 sed 's/^/| /' conftest.$ac_ext >&5
74533 glibcxx_cv_func__long_double_trig_use=no
74535 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74536 ac_ext=c
74537 ac_cpp='$CPP $CPPFLAGS'
74538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74544 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
74545 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
74546 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
74556 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
74558 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74559 echo "$as_me:$LINENO: checking for $ac_func" >&5
74560 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74561 if eval "test \"\${$as_ac_var+set}\" = set"; then
74562 echo $ECHO_N "(cached) $ECHO_C" >&6
74563 else
74564 if test x$gcc_no_link = xyes; then
74565 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74566 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74567 { (exit 1); exit 1; }; }
74569 cat >conftest.$ac_ext <<_ACEOF
74570 /* confdefs.h. */
74571 _ACEOF
74572 cat confdefs.h >>conftest.$ac_ext
74573 cat >>conftest.$ac_ext <<_ACEOF
74574 /* end confdefs.h. */
74575 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74576 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74577 #define $ac_func innocuous_$ac_func
74579 /* System header to define __stub macros and hopefully few prototypes,
74580 which can conflict with char $ac_func (); below.
74581 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74582 <limits.h> exists even on freestanding compilers. */
74584 #ifdef __STDC__
74585 # include <limits.h>
74586 #else
74587 # include <assert.h>
74588 #endif
74590 #undef $ac_func
74592 /* Override any gcc2 internal prototype to avoid an error. */
74593 #ifdef __cplusplus
74594 extern "C"
74596 #endif
74597 /* We use char because int might match the return type of a gcc2
74598 builtin and then its argument prototype would still apply. */
74599 char $ac_func ();
74600 /* The GNU C library defines this for functions which it implements
74601 to always fail with ENOSYS. Some functions are actually named
74602 something starting with __ and the normal name is an alias. */
74603 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74604 choke me
74605 #else
74606 char (*f) () = $ac_func;
74607 #endif
74608 #ifdef __cplusplus
74610 #endif
74613 main ()
74615 return f != $ac_func;
74617 return 0;
74619 _ACEOF
74620 rm -f conftest.$ac_objext conftest$ac_exeext
74621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74622 (eval $ac_link) 2>conftest.er1
74623 ac_status=$?
74624 grep -v '^ *+' conftest.er1 >conftest.err
74625 rm -f conftest.er1
74626 cat conftest.err >&5
74627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74628 (exit $ac_status); } &&
74629 { ac_try='test -z "$ac_c_werror_flag"
74630 || test ! -s conftest.err'
74631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74632 (eval $ac_try) 2>&5
74633 ac_status=$?
74634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74635 (exit $ac_status); }; } &&
74636 { ac_try='test -s conftest$ac_exeext'
74637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74638 (eval $ac_try) 2>&5
74639 ac_status=$?
74640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74641 (exit $ac_status); }; }; then
74642 eval "$as_ac_var=yes"
74643 else
74644 echo "$as_me: failed program was:" >&5
74645 sed 's/^/| /' conftest.$ac_ext >&5
74647 eval "$as_ac_var=no"
74649 rm -f conftest.err conftest.$ac_objext \
74650 conftest$ac_exeext conftest.$ac_ext
74652 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74653 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74654 if test `eval echo '${'$as_ac_var'}'` = yes; then
74655 cat >>confdefs.h <<_ACEOF
74656 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74657 _ACEOF
74660 done
74678 echo "$as_me:$LINENO: checking for long double round functions" >&5
74679 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
74680 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
74681 echo $ECHO_N "(cached) $ECHO_C" >&6
74682 else
74686 ac_ext=cc
74687 ac_cpp='$CXXCPP $CPPFLAGS'
74688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74692 cat >conftest.$ac_ext <<_ACEOF
74693 /* confdefs.h. */
74694 _ACEOF
74695 cat confdefs.h >>conftest.$ac_ext
74696 cat >>conftest.$ac_ext <<_ACEOF
74697 /* end confdefs.h. */
74698 #include <math.h>
74700 main ()
74702 ceill (0); floorl (0);
74704 return 0;
74706 _ACEOF
74707 rm -f conftest.$ac_objext
74708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74709 (eval $ac_compile) 2>conftest.er1
74710 ac_status=$?
74711 grep -v '^ *+' conftest.er1 >conftest.err
74712 rm -f conftest.er1
74713 cat conftest.err >&5
74714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74715 (exit $ac_status); } &&
74716 { ac_try='test -z "$ac_cxx_werror_flag"
74717 || test ! -s conftest.err'
74718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74719 (eval $ac_try) 2>&5
74720 ac_status=$?
74721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74722 (exit $ac_status); }; } &&
74723 { ac_try='test -s conftest.$ac_objext'
74724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74725 (eval $ac_try) 2>&5
74726 ac_status=$?
74727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74728 (exit $ac_status); }; }; then
74729 glibcxx_cv_func_long_double_round_use=yes
74730 else
74731 echo "$as_me: failed program was:" >&5
74732 sed 's/^/| /' conftest.$ac_ext >&5
74734 glibcxx_cv_func_long_double_round_use=no
74736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74737 ac_ext=c
74738 ac_cpp='$CPP $CPPFLAGS'
74739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74745 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
74746 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
74747 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
74750 for ac_func in ceill floorl
74752 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74753 echo "$as_me:$LINENO: checking for $ac_func" >&5
74754 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74755 if eval "test \"\${$as_ac_var+set}\" = set"; then
74756 echo $ECHO_N "(cached) $ECHO_C" >&6
74757 else
74758 if test x$gcc_no_link = xyes; then
74759 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74760 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74761 { (exit 1); exit 1; }; }
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74770 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74771 #define $ac_func innocuous_$ac_func
74773 /* System header to define __stub macros and hopefully few prototypes,
74774 which can conflict with char $ac_func (); below.
74775 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74776 <limits.h> exists even on freestanding compilers. */
74778 #ifdef __STDC__
74779 # include <limits.h>
74780 #else
74781 # include <assert.h>
74782 #endif
74784 #undef $ac_func
74786 /* Override any gcc2 internal prototype to avoid an error. */
74787 #ifdef __cplusplus
74788 extern "C"
74790 #endif
74791 /* We use char because int might match the return type of a gcc2
74792 builtin and then its argument prototype would still apply. */
74793 char $ac_func ();
74794 /* The GNU C library defines this for functions which it implements
74795 to always fail with ENOSYS. Some functions are actually named
74796 something starting with __ and the normal name is an alias. */
74797 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74798 choke me
74799 #else
74800 char (*f) () = $ac_func;
74801 #endif
74802 #ifdef __cplusplus
74804 #endif
74807 main ()
74809 return f != $ac_func;
74811 return 0;
74813 _ACEOF
74814 rm -f conftest.$ac_objext conftest$ac_exeext
74815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74816 (eval $ac_link) 2>conftest.er1
74817 ac_status=$?
74818 grep -v '^ *+' conftest.er1 >conftest.err
74819 rm -f conftest.er1
74820 cat conftest.err >&5
74821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74822 (exit $ac_status); } &&
74823 { ac_try='test -z "$ac_c_werror_flag"
74824 || test ! -s conftest.err'
74825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74826 (eval $ac_try) 2>&5
74827 ac_status=$?
74828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74829 (exit $ac_status); }; } &&
74830 { ac_try='test -s conftest$ac_exeext'
74831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74832 (eval $ac_try) 2>&5
74833 ac_status=$?
74834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74835 (exit $ac_status); }; }; then
74836 eval "$as_ac_var=yes"
74837 else
74838 echo "$as_me: failed program was:" >&5
74839 sed 's/^/| /' conftest.$ac_ext >&5
74841 eval "$as_ac_var=no"
74843 rm -f conftest.err conftest.$ac_objext \
74844 conftest$ac_exeext conftest.$ac_ext
74846 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74847 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74848 if test `eval echo '${'$as_ac_var'}'` = yes; then
74849 cat >>confdefs.h <<_ACEOF
74850 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74851 _ACEOF
74854 done
74856 else
74857 echo "$as_me:$LINENO: checking for _long double round functions" >&5
74858 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
74859 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
74860 echo $ECHO_N "(cached) $ECHO_C" >&6
74861 else
74865 ac_ext=cc
74866 ac_cpp='$CXXCPP $CPPFLAGS'
74867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74871 cat >conftest.$ac_ext <<_ACEOF
74872 /* confdefs.h. */
74873 _ACEOF
74874 cat confdefs.h >>conftest.$ac_ext
74875 cat >>conftest.$ac_ext <<_ACEOF
74876 /* end confdefs.h. */
74877 #include <math.h>
74879 main ()
74881 _ceill (0); _floorl (0);
74883 return 0;
74885 _ACEOF
74886 rm -f conftest.$ac_objext
74887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74888 (eval $ac_compile) 2>conftest.er1
74889 ac_status=$?
74890 grep -v '^ *+' conftest.er1 >conftest.err
74891 rm -f conftest.er1
74892 cat conftest.err >&5
74893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74894 (exit $ac_status); } &&
74895 { ac_try='test -z "$ac_cxx_werror_flag"
74896 || test ! -s conftest.err'
74897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74898 (eval $ac_try) 2>&5
74899 ac_status=$?
74900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74901 (exit $ac_status); }; } &&
74902 { ac_try='test -s conftest.$ac_objext'
74903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74904 (eval $ac_try) 2>&5
74905 ac_status=$?
74906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74907 (exit $ac_status); }; }; then
74908 glibcxx_cv_func__long_double_round_use=yes
74909 else
74910 echo "$as_me: failed program was:" >&5
74911 sed 's/^/| /' conftest.$ac_ext >&5
74913 glibcxx_cv_func__long_double_round_use=no
74915 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74916 ac_ext=c
74917 ac_cpp='$CPP $CPPFLAGS'
74918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74924 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
74925 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
74926 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
74929 for ac_func in _ceill _floorl
74931 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74932 echo "$as_me:$LINENO: checking for $ac_func" >&5
74933 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74934 if eval "test \"\${$as_ac_var+set}\" = set"; then
74935 echo $ECHO_N "(cached) $ECHO_C" >&6
74936 else
74937 if test x$gcc_no_link = xyes; then
74938 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74939 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74940 { (exit 1); exit 1; }; }
74942 cat >conftest.$ac_ext <<_ACEOF
74943 /* confdefs.h. */
74944 _ACEOF
74945 cat confdefs.h >>conftest.$ac_ext
74946 cat >>conftest.$ac_ext <<_ACEOF
74947 /* end confdefs.h. */
74948 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74949 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74950 #define $ac_func innocuous_$ac_func
74952 /* System header to define __stub macros and hopefully few prototypes,
74953 which can conflict with char $ac_func (); below.
74954 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74955 <limits.h> exists even on freestanding compilers. */
74957 #ifdef __STDC__
74958 # include <limits.h>
74959 #else
74960 # include <assert.h>
74961 #endif
74963 #undef $ac_func
74965 /* Override any gcc2 internal prototype to avoid an error. */
74966 #ifdef __cplusplus
74967 extern "C"
74969 #endif
74970 /* We use char because int might match the return type of a gcc2
74971 builtin and then its argument prototype would still apply. */
74972 char $ac_func ();
74973 /* The GNU C library defines this for functions which it implements
74974 to always fail with ENOSYS. Some functions are actually named
74975 something starting with __ and the normal name is an alias. */
74976 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74977 choke me
74978 #else
74979 char (*f) () = $ac_func;
74980 #endif
74981 #ifdef __cplusplus
74983 #endif
74986 main ()
74988 return f != $ac_func;
74990 return 0;
74992 _ACEOF
74993 rm -f conftest.$ac_objext conftest$ac_exeext
74994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74995 (eval $ac_link) 2>conftest.er1
74996 ac_status=$?
74997 grep -v '^ *+' conftest.er1 >conftest.err
74998 rm -f conftest.er1
74999 cat conftest.err >&5
75000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75001 (exit $ac_status); } &&
75002 { ac_try='test -z "$ac_c_werror_flag"
75003 || test ! -s conftest.err'
75004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75005 (eval $ac_try) 2>&5
75006 ac_status=$?
75007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75008 (exit $ac_status); }; } &&
75009 { ac_try='test -s conftest$ac_exeext'
75010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75011 (eval $ac_try) 2>&5
75012 ac_status=$?
75013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75014 (exit $ac_status); }; }; then
75015 eval "$as_ac_var=yes"
75016 else
75017 echo "$as_me: failed program was:" >&5
75018 sed 's/^/| /' conftest.$ac_ext >&5
75020 eval "$as_ac_var=no"
75022 rm -f conftest.err conftest.$ac_objext \
75023 conftest$ac_exeext conftest.$ac_ext
75025 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75026 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75027 if test `eval echo '${'$as_ac_var'}'` = yes; then
75028 cat >>confdefs.h <<_ACEOF
75029 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75030 _ACEOF
75033 done
75045 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
75046 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
75047 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
75048 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
75049 echo $ECHO_N "(cached) $ECHO_C" >&6
75050 else
75054 ac_ext=cc
75055 ac_cpp='$CXXCPP $CPPFLAGS'
75056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75060 cat >conftest.$ac_ext <<_ACEOF
75061 /* confdefs.h. */
75062 _ACEOF
75063 cat confdefs.h >>conftest.$ac_ext
75064 cat >>conftest.$ac_ext <<_ACEOF
75065 /* end confdefs.h. */
75066 #include <math.h>
75067 #ifdef HAVE_IEEEFP_H
75068 #include <ieeefp.h>
75069 #endif
75072 main ()
75074 isnanl(0);
75076 return 0;
75078 _ACEOF
75079 rm -f conftest.$ac_objext
75080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75081 (eval $ac_compile) 2>conftest.er1
75082 ac_status=$?
75083 grep -v '^ *+' conftest.er1 >conftest.err
75084 rm -f conftest.er1
75085 cat conftest.err >&5
75086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75087 (exit $ac_status); } &&
75088 { ac_try='test -z "$ac_cxx_werror_flag"
75089 || test ! -s conftest.err'
75090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75091 (eval $ac_try) 2>&5
75092 ac_status=$?
75093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75094 (exit $ac_status); }; } &&
75095 { ac_try='test -s conftest.$ac_objext'
75096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75097 (eval $ac_try) 2>&5
75098 ac_status=$?
75099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75100 (exit $ac_status); }; }; then
75101 glibcxx_cv_func_isnanl_use=yes
75102 else
75103 echo "$as_me: failed program was:" >&5
75104 sed 's/^/| /' conftest.$ac_ext >&5
75106 glibcxx_cv_func_isnanl_use=no
75108 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75109 ac_ext=c
75110 ac_cpp='$CPP $CPPFLAGS'
75111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75119 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
75120 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
75122 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
75124 for ac_func in isnanl
75126 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75127 echo "$as_me:$LINENO: checking for $ac_func" >&5
75128 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75129 if eval "test \"\${$as_ac_var+set}\" = set"; then
75130 echo $ECHO_N "(cached) $ECHO_C" >&6
75131 else
75132 if test x$gcc_no_link = xyes; then
75133 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75134 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75135 { (exit 1); exit 1; }; }
75137 cat >conftest.$ac_ext <<_ACEOF
75138 /* confdefs.h. */
75139 _ACEOF
75140 cat confdefs.h >>conftest.$ac_ext
75141 cat >>conftest.$ac_ext <<_ACEOF
75142 /* end confdefs.h. */
75143 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75144 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75145 #define $ac_func innocuous_$ac_func
75147 /* System header to define __stub macros and hopefully few prototypes,
75148 which can conflict with char $ac_func (); below.
75149 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75150 <limits.h> exists even on freestanding compilers. */
75152 #ifdef __STDC__
75153 # include <limits.h>
75154 #else
75155 # include <assert.h>
75156 #endif
75158 #undef $ac_func
75160 /* Override any gcc2 internal prototype to avoid an error. */
75161 #ifdef __cplusplus
75162 extern "C"
75164 #endif
75165 /* We use char because int might match the return type of a gcc2
75166 builtin and then its argument prototype would still apply. */
75167 char $ac_func ();
75168 /* The GNU C library defines this for functions which it implements
75169 to always fail with ENOSYS. Some functions are actually named
75170 something starting with __ and the normal name is an alias. */
75171 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75172 choke me
75173 #else
75174 char (*f) () = $ac_func;
75175 #endif
75176 #ifdef __cplusplus
75178 #endif
75181 main ()
75183 return f != $ac_func;
75185 return 0;
75187 _ACEOF
75188 rm -f conftest.$ac_objext conftest$ac_exeext
75189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75190 (eval $ac_link) 2>conftest.er1
75191 ac_status=$?
75192 grep -v '^ *+' conftest.er1 >conftest.err
75193 rm -f conftest.er1
75194 cat conftest.err >&5
75195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75196 (exit $ac_status); } &&
75197 { ac_try='test -z "$ac_c_werror_flag"
75198 || test ! -s conftest.err'
75199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75200 (eval $ac_try) 2>&5
75201 ac_status=$?
75202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75203 (exit $ac_status); }; } &&
75204 { ac_try='test -s conftest$ac_exeext'
75205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75206 (eval $ac_try) 2>&5
75207 ac_status=$?
75208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75209 (exit $ac_status); }; }; then
75210 eval "$as_ac_var=yes"
75211 else
75212 echo "$as_me: failed program was:" >&5
75213 sed 's/^/| /' conftest.$ac_ext >&5
75215 eval "$as_ac_var=no"
75217 rm -f conftest.err conftest.$ac_objext \
75218 conftest$ac_exeext conftest.$ac_ext
75220 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75221 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75222 if test `eval echo '${'$as_ac_var'}'` = yes; then
75223 cat >>confdefs.h <<_ACEOF
75224 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75225 _ACEOF
75228 done
75230 else
75232 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
75233 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
75234 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
75235 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
75236 echo $ECHO_N "(cached) $ECHO_C" >&6
75237 else
75241 ac_ext=cc
75242 ac_cpp='$CXXCPP $CPPFLAGS'
75243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75247 cat >conftest.$ac_ext <<_ACEOF
75248 /* confdefs.h. */
75249 _ACEOF
75250 cat confdefs.h >>conftest.$ac_ext
75251 cat >>conftest.$ac_ext <<_ACEOF
75252 /* end confdefs.h. */
75253 #include <math.h>
75254 #ifdef HAVE_IEEEFP_H
75255 #include <ieeefp.h>
75256 #endif
75259 main ()
75261 _isnanl(0);
75263 return 0;
75265 _ACEOF
75266 rm -f conftest.$ac_objext
75267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75268 (eval $ac_compile) 2>conftest.er1
75269 ac_status=$?
75270 grep -v '^ *+' conftest.er1 >conftest.err
75271 rm -f conftest.er1
75272 cat conftest.err >&5
75273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75274 (exit $ac_status); } &&
75275 { ac_try='test -z "$ac_cxx_werror_flag"
75276 || test ! -s conftest.err'
75277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75278 (eval $ac_try) 2>&5
75279 ac_status=$?
75280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75281 (exit $ac_status); }; } &&
75282 { ac_try='test -s conftest.$ac_objext'
75283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75284 (eval $ac_try) 2>&5
75285 ac_status=$?
75286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75287 (exit $ac_status); }; }; then
75288 glibcxx_cv_func__isnanl_use=yes
75289 else
75290 echo "$as_me: failed program was:" >&5
75291 sed 's/^/| /' conftest.$ac_ext >&5
75293 glibcxx_cv_func__isnanl_use=no
75295 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75296 ac_ext=c
75297 ac_cpp='$CPP $CPPFLAGS'
75298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75306 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
75307 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
75309 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
75311 for ac_func in _isnanl
75313 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75314 echo "$as_me:$LINENO: checking for $ac_func" >&5
75315 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75316 if eval "test \"\${$as_ac_var+set}\" = set"; then
75317 echo $ECHO_N "(cached) $ECHO_C" >&6
75318 else
75319 if test x$gcc_no_link = xyes; then
75320 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75321 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75322 { (exit 1); exit 1; }; }
75324 cat >conftest.$ac_ext <<_ACEOF
75325 /* confdefs.h. */
75326 _ACEOF
75327 cat confdefs.h >>conftest.$ac_ext
75328 cat >>conftest.$ac_ext <<_ACEOF
75329 /* end confdefs.h. */
75330 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75331 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75332 #define $ac_func innocuous_$ac_func
75334 /* System header to define __stub macros and hopefully few prototypes,
75335 which can conflict with char $ac_func (); below.
75336 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75337 <limits.h> exists even on freestanding compilers. */
75339 #ifdef __STDC__
75340 # include <limits.h>
75341 #else
75342 # include <assert.h>
75343 #endif
75345 #undef $ac_func
75347 /* Override any gcc2 internal prototype to avoid an error. */
75348 #ifdef __cplusplus
75349 extern "C"
75351 #endif
75352 /* We use char because int might match the return type of a gcc2
75353 builtin and then its argument prototype would still apply. */
75354 char $ac_func ();
75355 /* The GNU C library defines this for functions which it implements
75356 to always fail with ENOSYS. Some functions are actually named
75357 something starting with __ and the normal name is an alias. */
75358 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75359 choke me
75360 #else
75361 char (*f) () = $ac_func;
75362 #endif
75363 #ifdef __cplusplus
75365 #endif
75368 main ()
75370 return f != $ac_func;
75372 return 0;
75374 _ACEOF
75375 rm -f conftest.$ac_objext conftest$ac_exeext
75376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75377 (eval $ac_link) 2>conftest.er1
75378 ac_status=$?
75379 grep -v '^ *+' conftest.er1 >conftest.err
75380 rm -f conftest.er1
75381 cat conftest.err >&5
75382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75383 (exit $ac_status); } &&
75384 { ac_try='test -z "$ac_c_werror_flag"
75385 || test ! -s conftest.err'
75386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75387 (eval $ac_try) 2>&5
75388 ac_status=$?
75389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75390 (exit $ac_status); }; } &&
75391 { ac_try='test -s conftest$ac_exeext'
75392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75393 (eval $ac_try) 2>&5
75394 ac_status=$?
75395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75396 (exit $ac_status); }; }; then
75397 eval "$as_ac_var=yes"
75398 else
75399 echo "$as_me: failed program was:" >&5
75400 sed 's/^/| /' conftest.$ac_ext >&5
75402 eval "$as_ac_var=no"
75404 rm -f conftest.err conftest.$ac_objext \
75405 conftest$ac_exeext conftest.$ac_ext
75407 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75408 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75409 if test `eval echo '${'$as_ac_var'}'` = yes; then
75410 cat >>confdefs.h <<_ACEOF
75411 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75412 _ACEOF
75415 done
75425 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
75426 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
75427 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
75428 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
75429 echo $ECHO_N "(cached) $ECHO_C" >&6
75430 else
75434 ac_ext=cc
75435 ac_cpp='$CXXCPP $CPPFLAGS'
75436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75440 cat >conftest.$ac_ext <<_ACEOF
75441 /* confdefs.h. */
75442 _ACEOF
75443 cat confdefs.h >>conftest.$ac_ext
75444 cat >>conftest.$ac_ext <<_ACEOF
75445 /* end confdefs.h. */
75446 #include <math.h>
75447 #ifdef HAVE_IEEEFP_H
75448 #include <ieeefp.h>
75449 #endif
75452 main ()
75454 isinfl(0);
75456 return 0;
75458 _ACEOF
75459 rm -f conftest.$ac_objext
75460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75461 (eval $ac_compile) 2>conftest.er1
75462 ac_status=$?
75463 grep -v '^ *+' conftest.er1 >conftest.err
75464 rm -f conftest.er1
75465 cat conftest.err >&5
75466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75467 (exit $ac_status); } &&
75468 { ac_try='test -z "$ac_cxx_werror_flag"
75469 || test ! -s conftest.err'
75470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75471 (eval $ac_try) 2>&5
75472 ac_status=$?
75473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75474 (exit $ac_status); }; } &&
75475 { ac_try='test -s conftest.$ac_objext'
75476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75477 (eval $ac_try) 2>&5
75478 ac_status=$?
75479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75480 (exit $ac_status); }; }; then
75481 glibcxx_cv_func_isinfl_use=yes
75482 else
75483 echo "$as_me: failed program was:" >&5
75484 sed 's/^/| /' conftest.$ac_ext >&5
75486 glibcxx_cv_func_isinfl_use=no
75488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75489 ac_ext=c
75490 ac_cpp='$CPP $CPPFLAGS'
75491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75499 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
75500 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
75502 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
75504 for ac_func in isinfl
75506 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75507 echo "$as_me:$LINENO: checking for $ac_func" >&5
75508 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75509 if eval "test \"\${$as_ac_var+set}\" = set"; then
75510 echo $ECHO_N "(cached) $ECHO_C" >&6
75511 else
75512 if test x$gcc_no_link = xyes; then
75513 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75514 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75515 { (exit 1); exit 1; }; }
75517 cat >conftest.$ac_ext <<_ACEOF
75518 /* confdefs.h. */
75519 _ACEOF
75520 cat confdefs.h >>conftest.$ac_ext
75521 cat >>conftest.$ac_ext <<_ACEOF
75522 /* end confdefs.h. */
75523 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75524 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75525 #define $ac_func innocuous_$ac_func
75527 /* System header to define __stub macros and hopefully few prototypes,
75528 which can conflict with char $ac_func (); below.
75529 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75530 <limits.h> exists even on freestanding compilers. */
75532 #ifdef __STDC__
75533 # include <limits.h>
75534 #else
75535 # include <assert.h>
75536 #endif
75538 #undef $ac_func
75540 /* Override any gcc2 internal prototype to avoid an error. */
75541 #ifdef __cplusplus
75542 extern "C"
75544 #endif
75545 /* We use char because int might match the return type of a gcc2
75546 builtin and then its argument prototype would still apply. */
75547 char $ac_func ();
75548 /* The GNU C library defines this for functions which it implements
75549 to always fail with ENOSYS. Some functions are actually named
75550 something starting with __ and the normal name is an alias. */
75551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75552 choke me
75553 #else
75554 char (*f) () = $ac_func;
75555 #endif
75556 #ifdef __cplusplus
75558 #endif
75561 main ()
75563 return f != $ac_func;
75565 return 0;
75567 _ACEOF
75568 rm -f conftest.$ac_objext conftest$ac_exeext
75569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75570 (eval $ac_link) 2>conftest.er1
75571 ac_status=$?
75572 grep -v '^ *+' conftest.er1 >conftest.err
75573 rm -f conftest.er1
75574 cat conftest.err >&5
75575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75576 (exit $ac_status); } &&
75577 { ac_try='test -z "$ac_c_werror_flag"
75578 || test ! -s conftest.err'
75579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75580 (eval $ac_try) 2>&5
75581 ac_status=$?
75582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75583 (exit $ac_status); }; } &&
75584 { ac_try='test -s conftest$ac_exeext'
75585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75586 (eval $ac_try) 2>&5
75587 ac_status=$?
75588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75589 (exit $ac_status); }; }; then
75590 eval "$as_ac_var=yes"
75591 else
75592 echo "$as_me: failed program was:" >&5
75593 sed 's/^/| /' conftest.$ac_ext >&5
75595 eval "$as_ac_var=no"
75597 rm -f conftest.err conftest.$ac_objext \
75598 conftest$ac_exeext conftest.$ac_ext
75600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75601 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75602 if test `eval echo '${'$as_ac_var'}'` = yes; then
75603 cat >>confdefs.h <<_ACEOF
75604 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75605 _ACEOF
75608 done
75610 else
75612 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
75613 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
75614 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
75615 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
75616 echo $ECHO_N "(cached) $ECHO_C" >&6
75617 else
75621 ac_ext=cc
75622 ac_cpp='$CXXCPP $CPPFLAGS'
75623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75627 cat >conftest.$ac_ext <<_ACEOF
75628 /* confdefs.h. */
75629 _ACEOF
75630 cat confdefs.h >>conftest.$ac_ext
75631 cat >>conftest.$ac_ext <<_ACEOF
75632 /* end confdefs.h. */
75633 #include <math.h>
75634 #ifdef HAVE_IEEEFP_H
75635 #include <ieeefp.h>
75636 #endif
75639 main ()
75641 _isinfl(0);
75643 return 0;
75645 _ACEOF
75646 rm -f conftest.$ac_objext
75647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75648 (eval $ac_compile) 2>conftest.er1
75649 ac_status=$?
75650 grep -v '^ *+' conftest.er1 >conftest.err
75651 rm -f conftest.er1
75652 cat conftest.err >&5
75653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75654 (exit $ac_status); } &&
75655 { ac_try='test -z "$ac_cxx_werror_flag"
75656 || test ! -s conftest.err'
75657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75658 (eval $ac_try) 2>&5
75659 ac_status=$?
75660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75661 (exit $ac_status); }; } &&
75662 { ac_try='test -s conftest.$ac_objext'
75663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75664 (eval $ac_try) 2>&5
75665 ac_status=$?
75666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75667 (exit $ac_status); }; }; then
75668 glibcxx_cv_func__isinfl_use=yes
75669 else
75670 echo "$as_me: failed program was:" >&5
75671 sed 's/^/| /' conftest.$ac_ext >&5
75673 glibcxx_cv_func__isinfl_use=no
75675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75676 ac_ext=c
75677 ac_cpp='$CPP $CPPFLAGS'
75678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75686 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
75687 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
75689 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
75691 for ac_func in _isinfl
75693 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75694 echo "$as_me:$LINENO: checking for $ac_func" >&5
75695 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75696 if eval "test \"\${$as_ac_var+set}\" = set"; then
75697 echo $ECHO_N "(cached) $ECHO_C" >&6
75698 else
75699 if test x$gcc_no_link = xyes; then
75700 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75701 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75702 { (exit 1); exit 1; }; }
75704 cat >conftest.$ac_ext <<_ACEOF
75705 /* confdefs.h. */
75706 _ACEOF
75707 cat confdefs.h >>conftest.$ac_ext
75708 cat >>conftest.$ac_ext <<_ACEOF
75709 /* end confdefs.h. */
75710 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75711 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75712 #define $ac_func innocuous_$ac_func
75714 /* System header to define __stub macros and hopefully few prototypes,
75715 which can conflict with char $ac_func (); below.
75716 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75717 <limits.h> exists even on freestanding compilers. */
75719 #ifdef __STDC__
75720 # include <limits.h>
75721 #else
75722 # include <assert.h>
75723 #endif
75725 #undef $ac_func
75727 /* Override any gcc2 internal prototype to avoid an error. */
75728 #ifdef __cplusplus
75729 extern "C"
75731 #endif
75732 /* We use char because int might match the return type of a gcc2
75733 builtin and then its argument prototype would still apply. */
75734 char $ac_func ();
75735 /* The GNU C library defines this for functions which it implements
75736 to always fail with ENOSYS. Some functions are actually named
75737 something starting with __ and the normal name is an alias. */
75738 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75739 choke me
75740 #else
75741 char (*f) () = $ac_func;
75742 #endif
75743 #ifdef __cplusplus
75745 #endif
75748 main ()
75750 return f != $ac_func;
75752 return 0;
75754 _ACEOF
75755 rm -f conftest.$ac_objext conftest$ac_exeext
75756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75757 (eval $ac_link) 2>conftest.er1
75758 ac_status=$?
75759 grep -v '^ *+' conftest.er1 >conftest.err
75760 rm -f conftest.er1
75761 cat conftest.err >&5
75762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75763 (exit $ac_status); } &&
75764 { ac_try='test -z "$ac_c_werror_flag"
75765 || test ! -s conftest.err'
75766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75767 (eval $ac_try) 2>&5
75768 ac_status=$?
75769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75770 (exit $ac_status); }; } &&
75771 { ac_try='test -s conftest$ac_exeext'
75772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75773 (eval $ac_try) 2>&5
75774 ac_status=$?
75775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75776 (exit $ac_status); }; }; then
75777 eval "$as_ac_var=yes"
75778 else
75779 echo "$as_me: failed program was:" >&5
75780 sed 's/^/| /' conftest.$ac_ext >&5
75782 eval "$as_ac_var=no"
75784 rm -f conftest.err conftest.$ac_objext \
75785 conftest$ac_exeext conftest.$ac_ext
75787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75788 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75789 if test `eval echo '${'$as_ac_var'}'` = yes; then
75790 cat >>confdefs.h <<_ACEOF
75791 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75792 _ACEOF
75795 done
75805 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
75806 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
75807 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
75808 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
75809 echo $ECHO_N "(cached) $ECHO_C" >&6
75810 else
75814 ac_ext=cc
75815 ac_cpp='$CXXCPP $CPPFLAGS'
75816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75820 cat >conftest.$ac_ext <<_ACEOF
75821 /* confdefs.h. */
75822 _ACEOF
75823 cat confdefs.h >>conftest.$ac_ext
75824 cat >>conftest.$ac_ext <<_ACEOF
75825 /* end confdefs.h. */
75826 #include <math.h>
75828 main ()
75830 copysignl(0, 0);
75832 return 0;
75834 _ACEOF
75835 rm -f conftest.$ac_objext
75836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75837 (eval $ac_compile) 2>conftest.er1
75838 ac_status=$?
75839 grep -v '^ *+' conftest.er1 >conftest.err
75840 rm -f conftest.er1
75841 cat conftest.err >&5
75842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75843 (exit $ac_status); } &&
75844 { ac_try='test -z "$ac_cxx_werror_flag"
75845 || test ! -s conftest.err'
75846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75847 (eval $ac_try) 2>&5
75848 ac_status=$?
75849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75850 (exit $ac_status); }; } &&
75851 { ac_try='test -s conftest.$ac_objext'
75852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75853 (eval $ac_try) 2>&5
75854 ac_status=$?
75855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75856 (exit $ac_status); }; }; then
75857 glibcxx_cv_func_copysignl_use=yes
75858 else
75859 echo "$as_me: failed program was:" >&5
75860 sed 's/^/| /' conftest.$ac_ext >&5
75862 glibcxx_cv_func_copysignl_use=no
75864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75865 ac_ext=c
75866 ac_cpp='$CPP $CPPFLAGS'
75867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75875 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
75876 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
75878 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
75880 for ac_func in copysignl
75882 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75883 echo "$as_me:$LINENO: checking for $ac_func" >&5
75884 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75885 if eval "test \"\${$as_ac_var+set}\" = set"; then
75886 echo $ECHO_N "(cached) $ECHO_C" >&6
75887 else
75888 if test x$gcc_no_link = xyes; then
75889 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75890 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75891 { (exit 1); exit 1; }; }
75893 cat >conftest.$ac_ext <<_ACEOF
75894 /* confdefs.h. */
75895 _ACEOF
75896 cat confdefs.h >>conftest.$ac_ext
75897 cat >>conftest.$ac_ext <<_ACEOF
75898 /* end confdefs.h. */
75899 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75900 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75901 #define $ac_func innocuous_$ac_func
75903 /* System header to define __stub macros and hopefully few prototypes,
75904 which can conflict with char $ac_func (); below.
75905 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75906 <limits.h> exists even on freestanding compilers. */
75908 #ifdef __STDC__
75909 # include <limits.h>
75910 #else
75911 # include <assert.h>
75912 #endif
75914 #undef $ac_func
75916 /* Override any gcc2 internal prototype to avoid an error. */
75917 #ifdef __cplusplus
75918 extern "C"
75920 #endif
75921 /* We use char because int might match the return type of a gcc2
75922 builtin and then its argument prototype would still apply. */
75923 char $ac_func ();
75924 /* The GNU C library defines this for functions which it implements
75925 to always fail with ENOSYS. Some functions are actually named
75926 something starting with __ and the normal name is an alias. */
75927 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75928 choke me
75929 #else
75930 char (*f) () = $ac_func;
75931 #endif
75932 #ifdef __cplusplus
75934 #endif
75937 main ()
75939 return f != $ac_func;
75941 return 0;
75943 _ACEOF
75944 rm -f conftest.$ac_objext conftest$ac_exeext
75945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75946 (eval $ac_link) 2>conftest.er1
75947 ac_status=$?
75948 grep -v '^ *+' conftest.er1 >conftest.err
75949 rm -f conftest.er1
75950 cat conftest.err >&5
75951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75952 (exit $ac_status); } &&
75953 { ac_try='test -z "$ac_c_werror_flag"
75954 || test ! -s conftest.err'
75955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75956 (eval $ac_try) 2>&5
75957 ac_status=$?
75958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75959 (exit $ac_status); }; } &&
75960 { ac_try='test -s conftest$ac_exeext'
75961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75962 (eval $ac_try) 2>&5
75963 ac_status=$?
75964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75965 (exit $ac_status); }; }; then
75966 eval "$as_ac_var=yes"
75967 else
75968 echo "$as_me: failed program was:" >&5
75969 sed 's/^/| /' conftest.$ac_ext >&5
75971 eval "$as_ac_var=no"
75973 rm -f conftest.err conftest.$ac_objext \
75974 conftest$ac_exeext conftest.$ac_ext
75976 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75977 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75978 if test `eval echo '${'$as_ac_var'}'` = yes; then
75979 cat >>confdefs.h <<_ACEOF
75980 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75981 _ACEOF
75984 done
75986 else
75988 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
75989 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
75990 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
75991 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
75992 echo $ECHO_N "(cached) $ECHO_C" >&6
75993 else
75997 ac_ext=cc
75998 ac_cpp='$CXXCPP $CPPFLAGS'
75999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76003 cat >conftest.$ac_ext <<_ACEOF
76004 /* confdefs.h. */
76005 _ACEOF
76006 cat confdefs.h >>conftest.$ac_ext
76007 cat >>conftest.$ac_ext <<_ACEOF
76008 /* end confdefs.h. */
76009 #include <math.h>
76011 main ()
76013 _copysignl(0, 0);
76015 return 0;
76017 _ACEOF
76018 rm -f conftest.$ac_objext
76019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76020 (eval $ac_compile) 2>conftest.er1
76021 ac_status=$?
76022 grep -v '^ *+' conftest.er1 >conftest.err
76023 rm -f conftest.er1
76024 cat conftest.err >&5
76025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76026 (exit $ac_status); } &&
76027 { ac_try='test -z "$ac_cxx_werror_flag"
76028 || test ! -s conftest.err'
76029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76030 (eval $ac_try) 2>&5
76031 ac_status=$?
76032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76033 (exit $ac_status); }; } &&
76034 { ac_try='test -s conftest.$ac_objext'
76035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76036 (eval $ac_try) 2>&5
76037 ac_status=$?
76038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76039 (exit $ac_status); }; }; then
76040 glibcxx_cv_func__copysignl_use=yes
76041 else
76042 echo "$as_me: failed program was:" >&5
76043 sed 's/^/| /' conftest.$ac_ext >&5
76045 glibcxx_cv_func__copysignl_use=no
76047 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76048 ac_ext=c
76049 ac_cpp='$CPP $CPPFLAGS'
76050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76058 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
76059 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
76061 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
76063 for ac_func in _copysignl
76065 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76066 echo "$as_me:$LINENO: checking for $ac_func" >&5
76067 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76068 if eval "test \"\${$as_ac_var+set}\" = set"; then
76069 echo $ECHO_N "(cached) $ECHO_C" >&6
76070 else
76071 if test x$gcc_no_link = xyes; then
76072 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76073 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76074 { (exit 1); exit 1; }; }
76076 cat >conftest.$ac_ext <<_ACEOF
76077 /* confdefs.h. */
76078 _ACEOF
76079 cat confdefs.h >>conftest.$ac_ext
76080 cat >>conftest.$ac_ext <<_ACEOF
76081 /* end confdefs.h. */
76082 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76083 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76084 #define $ac_func innocuous_$ac_func
76086 /* System header to define __stub macros and hopefully few prototypes,
76087 which can conflict with char $ac_func (); below.
76088 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76089 <limits.h> exists even on freestanding compilers. */
76091 #ifdef __STDC__
76092 # include <limits.h>
76093 #else
76094 # include <assert.h>
76095 #endif
76097 #undef $ac_func
76099 /* Override any gcc2 internal prototype to avoid an error. */
76100 #ifdef __cplusplus
76101 extern "C"
76103 #endif
76104 /* We use char because int might match the return type of a gcc2
76105 builtin and then its argument prototype would still apply. */
76106 char $ac_func ();
76107 /* The GNU C library defines this for functions which it implements
76108 to always fail with ENOSYS. Some functions are actually named
76109 something starting with __ and the normal name is an alias. */
76110 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76111 choke me
76112 #else
76113 char (*f) () = $ac_func;
76114 #endif
76115 #ifdef __cplusplus
76117 #endif
76120 main ()
76122 return f != $ac_func;
76124 return 0;
76126 _ACEOF
76127 rm -f conftest.$ac_objext conftest$ac_exeext
76128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76129 (eval $ac_link) 2>conftest.er1
76130 ac_status=$?
76131 grep -v '^ *+' conftest.er1 >conftest.err
76132 rm -f conftest.er1
76133 cat conftest.err >&5
76134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76135 (exit $ac_status); } &&
76136 { ac_try='test -z "$ac_c_werror_flag"
76137 || test ! -s conftest.err'
76138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76139 (eval $ac_try) 2>&5
76140 ac_status=$?
76141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76142 (exit $ac_status); }; } &&
76143 { ac_try='test -s conftest$ac_exeext'
76144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76145 (eval $ac_try) 2>&5
76146 ac_status=$?
76147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76148 (exit $ac_status); }; }; then
76149 eval "$as_ac_var=yes"
76150 else
76151 echo "$as_me: failed program was:" >&5
76152 sed 's/^/| /' conftest.$ac_ext >&5
76154 eval "$as_ac_var=no"
76156 rm -f conftest.err conftest.$ac_objext \
76157 conftest$ac_exeext conftest.$ac_ext
76159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76160 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76161 if test `eval echo '${'$as_ac_var'}'` = yes; then
76162 cat >>confdefs.h <<_ACEOF
76163 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76164 _ACEOF
76167 done
76177 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
76178 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
76179 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
76180 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
76181 echo $ECHO_N "(cached) $ECHO_C" >&6
76182 else
76186 ac_ext=cc
76187 ac_cpp='$CXXCPP $CPPFLAGS'
76188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76192 cat >conftest.$ac_ext <<_ACEOF
76193 /* confdefs.h. */
76194 _ACEOF
76195 cat confdefs.h >>conftest.$ac_ext
76196 cat >>conftest.$ac_ext <<_ACEOF
76197 /* end confdefs.h. */
76198 #include <math.h>
76200 main ()
76202 atan2l(0, 0);
76204 return 0;
76206 _ACEOF
76207 rm -f conftest.$ac_objext
76208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76209 (eval $ac_compile) 2>conftest.er1
76210 ac_status=$?
76211 grep -v '^ *+' conftest.er1 >conftest.err
76212 rm -f conftest.er1
76213 cat conftest.err >&5
76214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76215 (exit $ac_status); } &&
76216 { ac_try='test -z "$ac_cxx_werror_flag"
76217 || test ! -s conftest.err'
76218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76219 (eval $ac_try) 2>&5
76220 ac_status=$?
76221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76222 (exit $ac_status); }; } &&
76223 { ac_try='test -s conftest.$ac_objext'
76224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76225 (eval $ac_try) 2>&5
76226 ac_status=$?
76227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76228 (exit $ac_status); }; }; then
76229 glibcxx_cv_func_atan2l_use=yes
76230 else
76231 echo "$as_me: failed program was:" >&5
76232 sed 's/^/| /' conftest.$ac_ext >&5
76234 glibcxx_cv_func_atan2l_use=no
76236 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76237 ac_ext=c
76238 ac_cpp='$CPP $CPPFLAGS'
76239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76247 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
76248 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
76250 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
76252 for ac_func in atan2l
76254 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76255 echo "$as_me:$LINENO: checking for $ac_func" >&5
76256 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76257 if eval "test \"\${$as_ac_var+set}\" = set"; then
76258 echo $ECHO_N "(cached) $ECHO_C" >&6
76259 else
76260 if test x$gcc_no_link = xyes; then
76261 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76262 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76263 { (exit 1); exit 1; }; }
76265 cat >conftest.$ac_ext <<_ACEOF
76266 /* confdefs.h. */
76267 _ACEOF
76268 cat confdefs.h >>conftest.$ac_ext
76269 cat >>conftest.$ac_ext <<_ACEOF
76270 /* end confdefs.h. */
76271 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76272 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76273 #define $ac_func innocuous_$ac_func
76275 /* System header to define __stub macros and hopefully few prototypes,
76276 which can conflict with char $ac_func (); below.
76277 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76278 <limits.h> exists even on freestanding compilers. */
76280 #ifdef __STDC__
76281 # include <limits.h>
76282 #else
76283 # include <assert.h>
76284 #endif
76286 #undef $ac_func
76288 /* Override any gcc2 internal prototype to avoid an error. */
76289 #ifdef __cplusplus
76290 extern "C"
76292 #endif
76293 /* We use char because int might match the return type of a gcc2
76294 builtin and then its argument prototype would still apply. */
76295 char $ac_func ();
76296 /* The GNU C library defines this for functions which it implements
76297 to always fail with ENOSYS. Some functions are actually named
76298 something starting with __ and the normal name is an alias. */
76299 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76300 choke me
76301 #else
76302 char (*f) () = $ac_func;
76303 #endif
76304 #ifdef __cplusplus
76306 #endif
76309 main ()
76311 return f != $ac_func;
76313 return 0;
76315 _ACEOF
76316 rm -f conftest.$ac_objext conftest$ac_exeext
76317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76318 (eval $ac_link) 2>conftest.er1
76319 ac_status=$?
76320 grep -v '^ *+' conftest.er1 >conftest.err
76321 rm -f conftest.er1
76322 cat conftest.err >&5
76323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76324 (exit $ac_status); } &&
76325 { ac_try='test -z "$ac_c_werror_flag"
76326 || test ! -s conftest.err'
76327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76328 (eval $ac_try) 2>&5
76329 ac_status=$?
76330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76331 (exit $ac_status); }; } &&
76332 { ac_try='test -s conftest$ac_exeext'
76333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76334 (eval $ac_try) 2>&5
76335 ac_status=$?
76336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76337 (exit $ac_status); }; }; then
76338 eval "$as_ac_var=yes"
76339 else
76340 echo "$as_me: failed program was:" >&5
76341 sed 's/^/| /' conftest.$ac_ext >&5
76343 eval "$as_ac_var=no"
76345 rm -f conftest.err conftest.$ac_objext \
76346 conftest$ac_exeext conftest.$ac_ext
76348 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76349 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76350 if test `eval echo '${'$as_ac_var'}'` = yes; then
76351 cat >>confdefs.h <<_ACEOF
76352 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76353 _ACEOF
76356 done
76358 else
76360 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
76361 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
76362 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
76363 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
76364 echo $ECHO_N "(cached) $ECHO_C" >&6
76365 else
76369 ac_ext=cc
76370 ac_cpp='$CXXCPP $CPPFLAGS'
76371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76375 cat >conftest.$ac_ext <<_ACEOF
76376 /* confdefs.h. */
76377 _ACEOF
76378 cat confdefs.h >>conftest.$ac_ext
76379 cat >>conftest.$ac_ext <<_ACEOF
76380 /* end confdefs.h. */
76381 #include <math.h>
76383 main ()
76385 _atan2l(0, 0);
76387 return 0;
76389 _ACEOF
76390 rm -f conftest.$ac_objext
76391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76392 (eval $ac_compile) 2>conftest.er1
76393 ac_status=$?
76394 grep -v '^ *+' conftest.er1 >conftest.err
76395 rm -f conftest.er1
76396 cat conftest.err >&5
76397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76398 (exit $ac_status); } &&
76399 { ac_try='test -z "$ac_cxx_werror_flag"
76400 || test ! -s conftest.err'
76401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76402 (eval $ac_try) 2>&5
76403 ac_status=$?
76404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76405 (exit $ac_status); }; } &&
76406 { ac_try='test -s conftest.$ac_objext'
76407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76408 (eval $ac_try) 2>&5
76409 ac_status=$?
76410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76411 (exit $ac_status); }; }; then
76412 glibcxx_cv_func__atan2l_use=yes
76413 else
76414 echo "$as_me: failed program was:" >&5
76415 sed 's/^/| /' conftest.$ac_ext >&5
76417 glibcxx_cv_func__atan2l_use=no
76419 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76420 ac_ext=c
76421 ac_cpp='$CPP $CPPFLAGS'
76422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76430 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
76431 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
76433 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
76435 for ac_func in _atan2l
76437 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76438 echo "$as_me:$LINENO: checking for $ac_func" >&5
76439 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76440 if eval "test \"\${$as_ac_var+set}\" = set"; then
76441 echo $ECHO_N "(cached) $ECHO_C" >&6
76442 else
76443 if test x$gcc_no_link = xyes; then
76444 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76445 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76446 { (exit 1); exit 1; }; }
76448 cat >conftest.$ac_ext <<_ACEOF
76449 /* confdefs.h. */
76450 _ACEOF
76451 cat confdefs.h >>conftest.$ac_ext
76452 cat >>conftest.$ac_ext <<_ACEOF
76453 /* end confdefs.h. */
76454 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76455 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76456 #define $ac_func innocuous_$ac_func
76458 /* System header to define __stub macros and hopefully few prototypes,
76459 which can conflict with char $ac_func (); below.
76460 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76461 <limits.h> exists even on freestanding compilers. */
76463 #ifdef __STDC__
76464 # include <limits.h>
76465 #else
76466 # include <assert.h>
76467 #endif
76469 #undef $ac_func
76471 /* Override any gcc2 internal prototype to avoid an error. */
76472 #ifdef __cplusplus
76473 extern "C"
76475 #endif
76476 /* We use char because int might match the return type of a gcc2
76477 builtin and then its argument prototype would still apply. */
76478 char $ac_func ();
76479 /* The GNU C library defines this for functions which it implements
76480 to always fail with ENOSYS. Some functions are actually named
76481 something starting with __ and the normal name is an alias. */
76482 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76483 choke me
76484 #else
76485 char (*f) () = $ac_func;
76486 #endif
76487 #ifdef __cplusplus
76489 #endif
76492 main ()
76494 return f != $ac_func;
76496 return 0;
76498 _ACEOF
76499 rm -f conftest.$ac_objext conftest$ac_exeext
76500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76501 (eval $ac_link) 2>conftest.er1
76502 ac_status=$?
76503 grep -v '^ *+' conftest.er1 >conftest.err
76504 rm -f conftest.er1
76505 cat conftest.err >&5
76506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76507 (exit $ac_status); } &&
76508 { ac_try='test -z "$ac_c_werror_flag"
76509 || test ! -s conftest.err'
76510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76511 (eval $ac_try) 2>&5
76512 ac_status=$?
76513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76514 (exit $ac_status); }; } &&
76515 { ac_try='test -s conftest$ac_exeext'
76516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76517 (eval $ac_try) 2>&5
76518 ac_status=$?
76519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76520 (exit $ac_status); }; }; then
76521 eval "$as_ac_var=yes"
76522 else
76523 echo "$as_me: failed program was:" >&5
76524 sed 's/^/| /' conftest.$ac_ext >&5
76526 eval "$as_ac_var=no"
76528 rm -f conftest.err conftest.$ac_objext \
76529 conftest$ac_exeext conftest.$ac_ext
76531 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76532 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76533 if test `eval echo '${'$as_ac_var'}'` = yes; then
76534 cat >>confdefs.h <<_ACEOF
76535 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76536 _ACEOF
76539 done
76549 echo "$as_me:$LINENO: checking for expl declaration" >&5
76550 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
76551 if test x${glibcxx_cv_func_expl_use+set} != xset; then
76552 if test "${glibcxx_cv_func_expl_use+set}" = set; then
76553 echo $ECHO_N "(cached) $ECHO_C" >&6
76554 else
76558 ac_ext=cc
76559 ac_cpp='$CXXCPP $CPPFLAGS'
76560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76564 cat >conftest.$ac_ext <<_ACEOF
76565 /* confdefs.h. */
76566 _ACEOF
76567 cat confdefs.h >>conftest.$ac_ext
76568 cat >>conftest.$ac_ext <<_ACEOF
76569 /* end confdefs.h. */
76570 #include <math.h>
76571 #ifdef HAVE_IEEEFP_H
76572 #include <ieeefp.h>
76573 #endif
76576 main ()
76578 expl(0);
76580 return 0;
76582 _ACEOF
76583 rm -f conftest.$ac_objext
76584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76585 (eval $ac_compile) 2>conftest.er1
76586 ac_status=$?
76587 grep -v '^ *+' conftest.er1 >conftest.err
76588 rm -f conftest.er1
76589 cat conftest.err >&5
76590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76591 (exit $ac_status); } &&
76592 { ac_try='test -z "$ac_cxx_werror_flag"
76593 || test ! -s conftest.err'
76594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76595 (eval $ac_try) 2>&5
76596 ac_status=$?
76597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76598 (exit $ac_status); }; } &&
76599 { ac_try='test -s conftest.$ac_objext'
76600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76601 (eval $ac_try) 2>&5
76602 ac_status=$?
76603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76604 (exit $ac_status); }; }; then
76605 glibcxx_cv_func_expl_use=yes
76606 else
76607 echo "$as_me: failed program was:" >&5
76608 sed 's/^/| /' conftest.$ac_ext >&5
76610 glibcxx_cv_func_expl_use=no
76612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76613 ac_ext=c
76614 ac_cpp='$CPP $CPPFLAGS'
76615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76623 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
76624 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
76626 if test x$glibcxx_cv_func_expl_use = x"yes"; then
76628 for ac_func in expl
76630 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76631 echo "$as_me:$LINENO: checking for $ac_func" >&5
76632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76633 if eval "test \"\${$as_ac_var+set}\" = set"; then
76634 echo $ECHO_N "(cached) $ECHO_C" >&6
76635 else
76636 if test x$gcc_no_link = xyes; then
76637 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76639 { (exit 1); exit 1; }; }
76641 cat >conftest.$ac_ext <<_ACEOF
76642 /* confdefs.h. */
76643 _ACEOF
76644 cat confdefs.h >>conftest.$ac_ext
76645 cat >>conftest.$ac_ext <<_ACEOF
76646 /* end confdefs.h. */
76647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76649 #define $ac_func innocuous_$ac_func
76651 /* System header to define __stub macros and hopefully few prototypes,
76652 which can conflict with char $ac_func (); below.
76653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76654 <limits.h> exists even on freestanding compilers. */
76656 #ifdef __STDC__
76657 # include <limits.h>
76658 #else
76659 # include <assert.h>
76660 #endif
76662 #undef $ac_func
76664 /* Override any gcc2 internal prototype to avoid an error. */
76665 #ifdef __cplusplus
76666 extern "C"
76668 #endif
76669 /* We use char because int might match the return type of a gcc2
76670 builtin and then its argument prototype would still apply. */
76671 char $ac_func ();
76672 /* The GNU C library defines this for functions which it implements
76673 to always fail with ENOSYS. Some functions are actually named
76674 something starting with __ and the normal name is an alias. */
76675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76676 choke me
76677 #else
76678 char (*f) () = $ac_func;
76679 #endif
76680 #ifdef __cplusplus
76682 #endif
76685 main ()
76687 return f != $ac_func;
76689 return 0;
76691 _ACEOF
76692 rm -f conftest.$ac_objext conftest$ac_exeext
76693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76694 (eval $ac_link) 2>conftest.er1
76695 ac_status=$?
76696 grep -v '^ *+' conftest.er1 >conftest.err
76697 rm -f conftest.er1
76698 cat conftest.err >&5
76699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76700 (exit $ac_status); } &&
76701 { ac_try='test -z "$ac_c_werror_flag"
76702 || test ! -s conftest.err'
76703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76704 (eval $ac_try) 2>&5
76705 ac_status=$?
76706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76707 (exit $ac_status); }; } &&
76708 { ac_try='test -s conftest$ac_exeext'
76709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76710 (eval $ac_try) 2>&5
76711 ac_status=$?
76712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76713 (exit $ac_status); }; }; then
76714 eval "$as_ac_var=yes"
76715 else
76716 echo "$as_me: failed program was:" >&5
76717 sed 's/^/| /' conftest.$ac_ext >&5
76719 eval "$as_ac_var=no"
76721 rm -f conftest.err conftest.$ac_objext \
76722 conftest$ac_exeext conftest.$ac_ext
76724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76725 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76726 if test `eval echo '${'$as_ac_var'}'` = yes; then
76727 cat >>confdefs.h <<_ACEOF
76728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76729 _ACEOF
76732 done
76734 else
76736 echo "$as_me:$LINENO: checking for _expl declaration" >&5
76737 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
76738 if test x${glibcxx_cv_func__expl_use+set} != xset; then
76739 if test "${glibcxx_cv_func__expl_use+set}" = set; then
76740 echo $ECHO_N "(cached) $ECHO_C" >&6
76741 else
76745 ac_ext=cc
76746 ac_cpp='$CXXCPP $CPPFLAGS'
76747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76751 cat >conftest.$ac_ext <<_ACEOF
76752 /* confdefs.h. */
76753 _ACEOF
76754 cat confdefs.h >>conftest.$ac_ext
76755 cat >>conftest.$ac_ext <<_ACEOF
76756 /* end confdefs.h. */
76757 #include <math.h>
76758 #ifdef HAVE_IEEEFP_H
76759 #include <ieeefp.h>
76760 #endif
76763 main ()
76765 _expl(0);
76767 return 0;
76769 _ACEOF
76770 rm -f conftest.$ac_objext
76771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76772 (eval $ac_compile) 2>conftest.er1
76773 ac_status=$?
76774 grep -v '^ *+' conftest.er1 >conftest.err
76775 rm -f conftest.er1
76776 cat conftest.err >&5
76777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76778 (exit $ac_status); } &&
76779 { ac_try='test -z "$ac_cxx_werror_flag"
76780 || test ! -s conftest.err'
76781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76782 (eval $ac_try) 2>&5
76783 ac_status=$?
76784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76785 (exit $ac_status); }; } &&
76786 { ac_try='test -s conftest.$ac_objext'
76787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76788 (eval $ac_try) 2>&5
76789 ac_status=$?
76790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76791 (exit $ac_status); }; }; then
76792 glibcxx_cv_func__expl_use=yes
76793 else
76794 echo "$as_me: failed program was:" >&5
76795 sed 's/^/| /' conftest.$ac_ext >&5
76797 glibcxx_cv_func__expl_use=no
76799 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76800 ac_ext=c
76801 ac_cpp='$CPP $CPPFLAGS'
76802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76810 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
76811 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
76813 if test x$glibcxx_cv_func__expl_use = x"yes"; then
76815 for ac_func in _expl
76817 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76818 echo "$as_me:$LINENO: checking for $ac_func" >&5
76819 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76820 if eval "test \"\${$as_ac_var+set}\" = set"; then
76821 echo $ECHO_N "(cached) $ECHO_C" >&6
76822 else
76823 if test x$gcc_no_link = xyes; then
76824 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76825 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76826 { (exit 1); exit 1; }; }
76828 cat >conftest.$ac_ext <<_ACEOF
76829 /* confdefs.h. */
76830 _ACEOF
76831 cat confdefs.h >>conftest.$ac_ext
76832 cat >>conftest.$ac_ext <<_ACEOF
76833 /* end confdefs.h. */
76834 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76835 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76836 #define $ac_func innocuous_$ac_func
76838 /* System header to define __stub macros and hopefully few prototypes,
76839 which can conflict with char $ac_func (); below.
76840 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76841 <limits.h> exists even on freestanding compilers. */
76843 #ifdef __STDC__
76844 # include <limits.h>
76845 #else
76846 # include <assert.h>
76847 #endif
76849 #undef $ac_func
76851 /* Override any gcc2 internal prototype to avoid an error. */
76852 #ifdef __cplusplus
76853 extern "C"
76855 #endif
76856 /* We use char because int might match the return type of a gcc2
76857 builtin and then its argument prototype would still apply. */
76858 char $ac_func ();
76859 /* The GNU C library defines this for functions which it implements
76860 to always fail with ENOSYS. Some functions are actually named
76861 something starting with __ and the normal name is an alias. */
76862 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76863 choke me
76864 #else
76865 char (*f) () = $ac_func;
76866 #endif
76867 #ifdef __cplusplus
76869 #endif
76872 main ()
76874 return f != $ac_func;
76876 return 0;
76878 _ACEOF
76879 rm -f conftest.$ac_objext conftest$ac_exeext
76880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76881 (eval $ac_link) 2>conftest.er1
76882 ac_status=$?
76883 grep -v '^ *+' conftest.er1 >conftest.err
76884 rm -f conftest.er1
76885 cat conftest.err >&5
76886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76887 (exit $ac_status); } &&
76888 { ac_try='test -z "$ac_c_werror_flag"
76889 || test ! -s conftest.err'
76890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76891 (eval $ac_try) 2>&5
76892 ac_status=$?
76893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76894 (exit $ac_status); }; } &&
76895 { ac_try='test -s conftest$ac_exeext'
76896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76897 (eval $ac_try) 2>&5
76898 ac_status=$?
76899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76900 (exit $ac_status); }; }; then
76901 eval "$as_ac_var=yes"
76902 else
76903 echo "$as_me: failed program was:" >&5
76904 sed 's/^/| /' conftest.$ac_ext >&5
76906 eval "$as_ac_var=no"
76908 rm -f conftest.err conftest.$ac_objext \
76909 conftest$ac_exeext conftest.$ac_ext
76911 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76912 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76913 if test `eval echo '${'$as_ac_var'}'` = yes; then
76914 cat >>confdefs.h <<_ACEOF
76915 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76916 _ACEOF
76919 done
76929 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
76930 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
76931 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
76932 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
76933 echo $ECHO_N "(cached) $ECHO_C" >&6
76934 else
76938 ac_ext=cc
76939 ac_cpp='$CXXCPP $CPPFLAGS'
76940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76944 cat >conftest.$ac_ext <<_ACEOF
76945 /* confdefs.h. */
76946 _ACEOF
76947 cat confdefs.h >>conftest.$ac_ext
76948 cat >>conftest.$ac_ext <<_ACEOF
76949 /* end confdefs.h. */
76950 #include <math.h>
76951 #ifdef HAVE_IEEEFP_H
76952 #include <ieeefp.h>
76953 #endif
76956 main ()
76958 fabsl(0);
76960 return 0;
76962 _ACEOF
76963 rm -f conftest.$ac_objext
76964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76965 (eval $ac_compile) 2>conftest.er1
76966 ac_status=$?
76967 grep -v '^ *+' conftest.er1 >conftest.err
76968 rm -f conftest.er1
76969 cat conftest.err >&5
76970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76971 (exit $ac_status); } &&
76972 { ac_try='test -z "$ac_cxx_werror_flag"
76973 || test ! -s conftest.err'
76974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76975 (eval $ac_try) 2>&5
76976 ac_status=$?
76977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76978 (exit $ac_status); }; } &&
76979 { ac_try='test -s conftest.$ac_objext'
76980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76981 (eval $ac_try) 2>&5
76982 ac_status=$?
76983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76984 (exit $ac_status); }; }; then
76985 glibcxx_cv_func_fabsl_use=yes
76986 else
76987 echo "$as_me: failed program was:" >&5
76988 sed 's/^/| /' conftest.$ac_ext >&5
76990 glibcxx_cv_func_fabsl_use=no
76992 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76993 ac_ext=c
76994 ac_cpp='$CPP $CPPFLAGS'
76995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77003 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
77004 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
77006 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
77008 for ac_func in fabsl
77010 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77011 echo "$as_me:$LINENO: checking for $ac_func" >&5
77012 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77013 if eval "test \"\${$as_ac_var+set}\" = set"; then
77014 echo $ECHO_N "(cached) $ECHO_C" >&6
77015 else
77016 if test x$gcc_no_link = xyes; then
77017 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77018 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77019 { (exit 1); exit 1; }; }
77021 cat >conftest.$ac_ext <<_ACEOF
77022 /* confdefs.h. */
77023 _ACEOF
77024 cat confdefs.h >>conftest.$ac_ext
77025 cat >>conftest.$ac_ext <<_ACEOF
77026 /* end confdefs.h. */
77027 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77028 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77029 #define $ac_func innocuous_$ac_func
77031 /* System header to define __stub macros and hopefully few prototypes,
77032 which can conflict with char $ac_func (); below.
77033 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77034 <limits.h> exists even on freestanding compilers. */
77036 #ifdef __STDC__
77037 # include <limits.h>
77038 #else
77039 # include <assert.h>
77040 #endif
77042 #undef $ac_func
77044 /* Override any gcc2 internal prototype to avoid an error. */
77045 #ifdef __cplusplus
77046 extern "C"
77048 #endif
77049 /* We use char because int might match the return type of a gcc2
77050 builtin and then its argument prototype would still apply. */
77051 char $ac_func ();
77052 /* The GNU C library defines this for functions which it implements
77053 to always fail with ENOSYS. Some functions are actually named
77054 something starting with __ and the normal name is an alias. */
77055 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77056 choke me
77057 #else
77058 char (*f) () = $ac_func;
77059 #endif
77060 #ifdef __cplusplus
77062 #endif
77065 main ()
77067 return f != $ac_func;
77069 return 0;
77071 _ACEOF
77072 rm -f conftest.$ac_objext conftest$ac_exeext
77073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77074 (eval $ac_link) 2>conftest.er1
77075 ac_status=$?
77076 grep -v '^ *+' conftest.er1 >conftest.err
77077 rm -f conftest.er1
77078 cat conftest.err >&5
77079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77080 (exit $ac_status); } &&
77081 { ac_try='test -z "$ac_c_werror_flag"
77082 || test ! -s conftest.err'
77083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77084 (eval $ac_try) 2>&5
77085 ac_status=$?
77086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77087 (exit $ac_status); }; } &&
77088 { ac_try='test -s conftest$ac_exeext'
77089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77090 (eval $ac_try) 2>&5
77091 ac_status=$?
77092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77093 (exit $ac_status); }; }; then
77094 eval "$as_ac_var=yes"
77095 else
77096 echo "$as_me: failed program was:" >&5
77097 sed 's/^/| /' conftest.$ac_ext >&5
77099 eval "$as_ac_var=no"
77101 rm -f conftest.err conftest.$ac_objext \
77102 conftest$ac_exeext conftest.$ac_ext
77104 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77105 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77106 if test `eval echo '${'$as_ac_var'}'` = yes; then
77107 cat >>confdefs.h <<_ACEOF
77108 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77109 _ACEOF
77112 done
77114 else
77116 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
77117 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
77118 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
77119 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
77120 echo $ECHO_N "(cached) $ECHO_C" >&6
77121 else
77125 ac_ext=cc
77126 ac_cpp='$CXXCPP $CPPFLAGS'
77127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77131 cat >conftest.$ac_ext <<_ACEOF
77132 /* confdefs.h. */
77133 _ACEOF
77134 cat confdefs.h >>conftest.$ac_ext
77135 cat >>conftest.$ac_ext <<_ACEOF
77136 /* end confdefs.h. */
77137 #include <math.h>
77138 #ifdef HAVE_IEEEFP_H
77139 #include <ieeefp.h>
77140 #endif
77143 main ()
77145 _fabsl(0);
77147 return 0;
77149 _ACEOF
77150 rm -f conftest.$ac_objext
77151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77152 (eval $ac_compile) 2>conftest.er1
77153 ac_status=$?
77154 grep -v '^ *+' conftest.er1 >conftest.err
77155 rm -f conftest.er1
77156 cat conftest.err >&5
77157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77158 (exit $ac_status); } &&
77159 { ac_try='test -z "$ac_cxx_werror_flag"
77160 || test ! -s conftest.err'
77161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77162 (eval $ac_try) 2>&5
77163 ac_status=$?
77164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77165 (exit $ac_status); }; } &&
77166 { ac_try='test -s conftest.$ac_objext'
77167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77168 (eval $ac_try) 2>&5
77169 ac_status=$?
77170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77171 (exit $ac_status); }; }; then
77172 glibcxx_cv_func__fabsl_use=yes
77173 else
77174 echo "$as_me: failed program was:" >&5
77175 sed 's/^/| /' conftest.$ac_ext >&5
77177 glibcxx_cv_func__fabsl_use=no
77179 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77180 ac_ext=c
77181 ac_cpp='$CPP $CPPFLAGS'
77182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77190 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
77191 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
77193 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
77195 for ac_func in _fabsl
77197 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77198 echo "$as_me:$LINENO: checking for $ac_func" >&5
77199 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77200 if eval "test \"\${$as_ac_var+set}\" = set"; then
77201 echo $ECHO_N "(cached) $ECHO_C" >&6
77202 else
77203 if test x$gcc_no_link = xyes; then
77204 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77205 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77206 { (exit 1); exit 1; }; }
77208 cat >conftest.$ac_ext <<_ACEOF
77209 /* confdefs.h. */
77210 _ACEOF
77211 cat confdefs.h >>conftest.$ac_ext
77212 cat >>conftest.$ac_ext <<_ACEOF
77213 /* end confdefs.h. */
77214 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77215 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77216 #define $ac_func innocuous_$ac_func
77218 /* System header to define __stub macros and hopefully few prototypes,
77219 which can conflict with char $ac_func (); below.
77220 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77221 <limits.h> exists even on freestanding compilers. */
77223 #ifdef __STDC__
77224 # include <limits.h>
77225 #else
77226 # include <assert.h>
77227 #endif
77229 #undef $ac_func
77231 /* Override any gcc2 internal prototype to avoid an error. */
77232 #ifdef __cplusplus
77233 extern "C"
77235 #endif
77236 /* We use char because int might match the return type of a gcc2
77237 builtin and then its argument prototype would still apply. */
77238 char $ac_func ();
77239 /* The GNU C library defines this for functions which it implements
77240 to always fail with ENOSYS. Some functions are actually named
77241 something starting with __ and the normal name is an alias. */
77242 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77243 choke me
77244 #else
77245 char (*f) () = $ac_func;
77246 #endif
77247 #ifdef __cplusplus
77249 #endif
77252 main ()
77254 return f != $ac_func;
77256 return 0;
77258 _ACEOF
77259 rm -f conftest.$ac_objext conftest$ac_exeext
77260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77261 (eval $ac_link) 2>conftest.er1
77262 ac_status=$?
77263 grep -v '^ *+' conftest.er1 >conftest.err
77264 rm -f conftest.er1
77265 cat conftest.err >&5
77266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77267 (exit $ac_status); } &&
77268 { ac_try='test -z "$ac_c_werror_flag"
77269 || test ! -s conftest.err'
77270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77271 (eval $ac_try) 2>&5
77272 ac_status=$?
77273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77274 (exit $ac_status); }; } &&
77275 { ac_try='test -s conftest$ac_exeext'
77276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77277 (eval $ac_try) 2>&5
77278 ac_status=$?
77279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77280 (exit $ac_status); }; }; then
77281 eval "$as_ac_var=yes"
77282 else
77283 echo "$as_me: failed program was:" >&5
77284 sed 's/^/| /' conftest.$ac_ext >&5
77286 eval "$as_ac_var=no"
77288 rm -f conftest.err conftest.$ac_objext \
77289 conftest$ac_exeext conftest.$ac_ext
77291 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77292 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77293 if test `eval echo '${'$as_ac_var'}'` = yes; then
77294 cat >>confdefs.h <<_ACEOF
77295 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77296 _ACEOF
77299 done
77309 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
77310 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
77311 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
77312 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
77313 echo $ECHO_N "(cached) $ECHO_C" >&6
77314 else
77318 ac_ext=cc
77319 ac_cpp='$CXXCPP $CPPFLAGS'
77320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77324 cat >conftest.$ac_ext <<_ACEOF
77325 /* confdefs.h. */
77326 _ACEOF
77327 cat confdefs.h >>conftest.$ac_ext
77328 cat >>conftest.$ac_ext <<_ACEOF
77329 /* end confdefs.h. */
77330 #include <math.h>
77332 main ()
77334 fmodl(0, 0);
77336 return 0;
77338 _ACEOF
77339 rm -f conftest.$ac_objext
77340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77341 (eval $ac_compile) 2>conftest.er1
77342 ac_status=$?
77343 grep -v '^ *+' conftest.er1 >conftest.err
77344 rm -f conftest.er1
77345 cat conftest.err >&5
77346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77347 (exit $ac_status); } &&
77348 { ac_try='test -z "$ac_cxx_werror_flag"
77349 || test ! -s conftest.err'
77350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77351 (eval $ac_try) 2>&5
77352 ac_status=$?
77353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77354 (exit $ac_status); }; } &&
77355 { ac_try='test -s conftest.$ac_objext'
77356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77357 (eval $ac_try) 2>&5
77358 ac_status=$?
77359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77360 (exit $ac_status); }; }; then
77361 glibcxx_cv_func_fmodl_use=yes
77362 else
77363 echo "$as_me: failed program was:" >&5
77364 sed 's/^/| /' conftest.$ac_ext >&5
77366 glibcxx_cv_func_fmodl_use=no
77368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77369 ac_ext=c
77370 ac_cpp='$CPP $CPPFLAGS'
77371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77379 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
77380 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
77382 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
77384 for ac_func in fmodl
77386 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77387 echo "$as_me:$LINENO: checking for $ac_func" >&5
77388 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77389 if eval "test \"\${$as_ac_var+set}\" = set"; then
77390 echo $ECHO_N "(cached) $ECHO_C" >&6
77391 else
77392 if test x$gcc_no_link = xyes; then
77393 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77394 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77395 { (exit 1); exit 1; }; }
77397 cat >conftest.$ac_ext <<_ACEOF
77398 /* confdefs.h. */
77399 _ACEOF
77400 cat confdefs.h >>conftest.$ac_ext
77401 cat >>conftest.$ac_ext <<_ACEOF
77402 /* end confdefs.h. */
77403 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77404 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77405 #define $ac_func innocuous_$ac_func
77407 /* System header to define __stub macros and hopefully few prototypes,
77408 which can conflict with char $ac_func (); below.
77409 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77410 <limits.h> exists even on freestanding compilers. */
77412 #ifdef __STDC__
77413 # include <limits.h>
77414 #else
77415 # include <assert.h>
77416 #endif
77418 #undef $ac_func
77420 /* Override any gcc2 internal prototype to avoid an error. */
77421 #ifdef __cplusplus
77422 extern "C"
77424 #endif
77425 /* We use char because int might match the return type of a gcc2
77426 builtin and then its argument prototype would still apply. */
77427 char $ac_func ();
77428 /* The GNU C library defines this for functions which it implements
77429 to always fail with ENOSYS. Some functions are actually named
77430 something starting with __ and the normal name is an alias. */
77431 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77432 choke me
77433 #else
77434 char (*f) () = $ac_func;
77435 #endif
77436 #ifdef __cplusplus
77438 #endif
77441 main ()
77443 return f != $ac_func;
77445 return 0;
77447 _ACEOF
77448 rm -f conftest.$ac_objext conftest$ac_exeext
77449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77450 (eval $ac_link) 2>conftest.er1
77451 ac_status=$?
77452 grep -v '^ *+' conftest.er1 >conftest.err
77453 rm -f conftest.er1
77454 cat conftest.err >&5
77455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77456 (exit $ac_status); } &&
77457 { ac_try='test -z "$ac_c_werror_flag"
77458 || test ! -s conftest.err'
77459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77460 (eval $ac_try) 2>&5
77461 ac_status=$?
77462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77463 (exit $ac_status); }; } &&
77464 { ac_try='test -s conftest$ac_exeext'
77465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77466 (eval $ac_try) 2>&5
77467 ac_status=$?
77468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77469 (exit $ac_status); }; }; then
77470 eval "$as_ac_var=yes"
77471 else
77472 echo "$as_me: failed program was:" >&5
77473 sed 's/^/| /' conftest.$ac_ext >&5
77475 eval "$as_ac_var=no"
77477 rm -f conftest.err conftest.$ac_objext \
77478 conftest$ac_exeext conftest.$ac_ext
77480 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77481 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77482 if test `eval echo '${'$as_ac_var'}'` = yes; then
77483 cat >>confdefs.h <<_ACEOF
77484 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77485 _ACEOF
77488 done
77490 else
77492 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
77493 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
77494 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
77495 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
77496 echo $ECHO_N "(cached) $ECHO_C" >&6
77497 else
77501 ac_ext=cc
77502 ac_cpp='$CXXCPP $CPPFLAGS'
77503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77507 cat >conftest.$ac_ext <<_ACEOF
77508 /* confdefs.h. */
77509 _ACEOF
77510 cat confdefs.h >>conftest.$ac_ext
77511 cat >>conftest.$ac_ext <<_ACEOF
77512 /* end confdefs.h. */
77513 #include <math.h>
77515 main ()
77517 _fmodl(0, 0);
77519 return 0;
77521 _ACEOF
77522 rm -f conftest.$ac_objext
77523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77524 (eval $ac_compile) 2>conftest.er1
77525 ac_status=$?
77526 grep -v '^ *+' conftest.er1 >conftest.err
77527 rm -f conftest.er1
77528 cat conftest.err >&5
77529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77530 (exit $ac_status); } &&
77531 { ac_try='test -z "$ac_cxx_werror_flag"
77532 || test ! -s conftest.err'
77533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77534 (eval $ac_try) 2>&5
77535 ac_status=$?
77536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77537 (exit $ac_status); }; } &&
77538 { ac_try='test -s conftest.$ac_objext'
77539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77540 (eval $ac_try) 2>&5
77541 ac_status=$?
77542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77543 (exit $ac_status); }; }; then
77544 glibcxx_cv_func__fmodl_use=yes
77545 else
77546 echo "$as_me: failed program was:" >&5
77547 sed 's/^/| /' conftest.$ac_ext >&5
77549 glibcxx_cv_func__fmodl_use=no
77551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77552 ac_ext=c
77553 ac_cpp='$CPP $CPPFLAGS'
77554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77562 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
77563 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
77565 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
77567 for ac_func in _fmodl
77569 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77570 echo "$as_me:$LINENO: checking for $ac_func" >&5
77571 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77572 if eval "test \"\${$as_ac_var+set}\" = set"; then
77573 echo $ECHO_N "(cached) $ECHO_C" >&6
77574 else
77575 if test x$gcc_no_link = xyes; then
77576 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77577 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77578 { (exit 1); exit 1; }; }
77580 cat >conftest.$ac_ext <<_ACEOF
77581 /* confdefs.h. */
77582 _ACEOF
77583 cat confdefs.h >>conftest.$ac_ext
77584 cat >>conftest.$ac_ext <<_ACEOF
77585 /* end confdefs.h. */
77586 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77587 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77588 #define $ac_func innocuous_$ac_func
77590 /* System header to define __stub macros and hopefully few prototypes,
77591 which can conflict with char $ac_func (); below.
77592 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77593 <limits.h> exists even on freestanding compilers. */
77595 #ifdef __STDC__
77596 # include <limits.h>
77597 #else
77598 # include <assert.h>
77599 #endif
77601 #undef $ac_func
77603 /* Override any gcc2 internal prototype to avoid an error. */
77604 #ifdef __cplusplus
77605 extern "C"
77607 #endif
77608 /* We use char because int might match the return type of a gcc2
77609 builtin and then its argument prototype would still apply. */
77610 char $ac_func ();
77611 /* The GNU C library defines this for functions which it implements
77612 to always fail with ENOSYS. Some functions are actually named
77613 something starting with __ and the normal name is an alias. */
77614 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77615 choke me
77616 #else
77617 char (*f) () = $ac_func;
77618 #endif
77619 #ifdef __cplusplus
77621 #endif
77624 main ()
77626 return f != $ac_func;
77628 return 0;
77630 _ACEOF
77631 rm -f conftest.$ac_objext conftest$ac_exeext
77632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77633 (eval $ac_link) 2>conftest.er1
77634 ac_status=$?
77635 grep -v '^ *+' conftest.er1 >conftest.err
77636 rm -f conftest.er1
77637 cat conftest.err >&5
77638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77639 (exit $ac_status); } &&
77640 { ac_try='test -z "$ac_c_werror_flag"
77641 || test ! -s conftest.err'
77642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77643 (eval $ac_try) 2>&5
77644 ac_status=$?
77645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77646 (exit $ac_status); }; } &&
77647 { ac_try='test -s conftest$ac_exeext'
77648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77649 (eval $ac_try) 2>&5
77650 ac_status=$?
77651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77652 (exit $ac_status); }; }; then
77653 eval "$as_ac_var=yes"
77654 else
77655 echo "$as_me: failed program was:" >&5
77656 sed 's/^/| /' conftest.$ac_ext >&5
77658 eval "$as_ac_var=no"
77660 rm -f conftest.err conftest.$ac_objext \
77661 conftest$ac_exeext conftest.$ac_ext
77663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77664 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77665 if test `eval echo '${'$as_ac_var'}'` = yes; then
77666 cat >>confdefs.h <<_ACEOF
77667 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77668 _ACEOF
77671 done
77681 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
77682 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
77683 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
77684 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
77685 echo $ECHO_N "(cached) $ECHO_C" >&6
77686 else
77690 ac_ext=cc
77691 ac_cpp='$CXXCPP $CPPFLAGS'
77692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77696 cat >conftest.$ac_ext <<_ACEOF
77697 /* confdefs.h. */
77698 _ACEOF
77699 cat confdefs.h >>conftest.$ac_ext
77700 cat >>conftest.$ac_ext <<_ACEOF
77701 /* end confdefs.h. */
77702 #include <math.h>
77704 main ()
77706 frexpl(0, 0);
77708 return 0;
77710 _ACEOF
77711 rm -f conftest.$ac_objext
77712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77713 (eval $ac_compile) 2>conftest.er1
77714 ac_status=$?
77715 grep -v '^ *+' conftest.er1 >conftest.err
77716 rm -f conftest.er1
77717 cat conftest.err >&5
77718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77719 (exit $ac_status); } &&
77720 { ac_try='test -z "$ac_cxx_werror_flag"
77721 || test ! -s conftest.err'
77722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77723 (eval $ac_try) 2>&5
77724 ac_status=$?
77725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77726 (exit $ac_status); }; } &&
77727 { ac_try='test -s conftest.$ac_objext'
77728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77729 (eval $ac_try) 2>&5
77730 ac_status=$?
77731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77732 (exit $ac_status); }; }; then
77733 glibcxx_cv_func_frexpl_use=yes
77734 else
77735 echo "$as_me: failed program was:" >&5
77736 sed 's/^/| /' conftest.$ac_ext >&5
77738 glibcxx_cv_func_frexpl_use=no
77740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77741 ac_ext=c
77742 ac_cpp='$CPP $CPPFLAGS'
77743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77751 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
77752 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
77754 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
77756 for ac_func in frexpl
77758 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77759 echo "$as_me:$LINENO: checking for $ac_func" >&5
77760 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77761 if eval "test \"\${$as_ac_var+set}\" = set"; then
77762 echo $ECHO_N "(cached) $ECHO_C" >&6
77763 else
77764 if test x$gcc_no_link = xyes; then
77765 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77766 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77767 { (exit 1); exit 1; }; }
77769 cat >conftest.$ac_ext <<_ACEOF
77770 /* confdefs.h. */
77771 _ACEOF
77772 cat confdefs.h >>conftest.$ac_ext
77773 cat >>conftest.$ac_ext <<_ACEOF
77774 /* end confdefs.h. */
77775 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77776 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77777 #define $ac_func innocuous_$ac_func
77779 /* System header to define __stub macros and hopefully few prototypes,
77780 which can conflict with char $ac_func (); below.
77781 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77782 <limits.h> exists even on freestanding compilers. */
77784 #ifdef __STDC__
77785 # include <limits.h>
77786 #else
77787 # include <assert.h>
77788 #endif
77790 #undef $ac_func
77792 /* Override any gcc2 internal prototype to avoid an error. */
77793 #ifdef __cplusplus
77794 extern "C"
77796 #endif
77797 /* We use char because int might match the return type of a gcc2
77798 builtin and then its argument prototype would still apply. */
77799 char $ac_func ();
77800 /* The GNU C library defines this for functions which it implements
77801 to always fail with ENOSYS. Some functions are actually named
77802 something starting with __ and the normal name is an alias. */
77803 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77804 choke me
77805 #else
77806 char (*f) () = $ac_func;
77807 #endif
77808 #ifdef __cplusplus
77810 #endif
77813 main ()
77815 return f != $ac_func;
77817 return 0;
77819 _ACEOF
77820 rm -f conftest.$ac_objext conftest$ac_exeext
77821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77822 (eval $ac_link) 2>conftest.er1
77823 ac_status=$?
77824 grep -v '^ *+' conftest.er1 >conftest.err
77825 rm -f conftest.er1
77826 cat conftest.err >&5
77827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77828 (exit $ac_status); } &&
77829 { ac_try='test -z "$ac_c_werror_flag"
77830 || test ! -s conftest.err'
77831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77832 (eval $ac_try) 2>&5
77833 ac_status=$?
77834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77835 (exit $ac_status); }; } &&
77836 { ac_try='test -s conftest$ac_exeext'
77837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77838 (eval $ac_try) 2>&5
77839 ac_status=$?
77840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77841 (exit $ac_status); }; }; then
77842 eval "$as_ac_var=yes"
77843 else
77844 echo "$as_me: failed program was:" >&5
77845 sed 's/^/| /' conftest.$ac_ext >&5
77847 eval "$as_ac_var=no"
77849 rm -f conftest.err conftest.$ac_objext \
77850 conftest$ac_exeext conftest.$ac_ext
77852 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77853 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77854 if test `eval echo '${'$as_ac_var'}'` = yes; then
77855 cat >>confdefs.h <<_ACEOF
77856 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77857 _ACEOF
77860 done
77862 else
77864 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
77865 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
77866 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
77867 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
77868 echo $ECHO_N "(cached) $ECHO_C" >&6
77869 else
77873 ac_ext=cc
77874 ac_cpp='$CXXCPP $CPPFLAGS'
77875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77879 cat >conftest.$ac_ext <<_ACEOF
77880 /* confdefs.h. */
77881 _ACEOF
77882 cat confdefs.h >>conftest.$ac_ext
77883 cat >>conftest.$ac_ext <<_ACEOF
77884 /* end confdefs.h. */
77885 #include <math.h>
77887 main ()
77889 _frexpl(0, 0);
77891 return 0;
77893 _ACEOF
77894 rm -f conftest.$ac_objext
77895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77896 (eval $ac_compile) 2>conftest.er1
77897 ac_status=$?
77898 grep -v '^ *+' conftest.er1 >conftest.err
77899 rm -f conftest.er1
77900 cat conftest.err >&5
77901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77902 (exit $ac_status); } &&
77903 { ac_try='test -z "$ac_cxx_werror_flag"
77904 || test ! -s conftest.err'
77905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77906 (eval $ac_try) 2>&5
77907 ac_status=$?
77908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77909 (exit $ac_status); }; } &&
77910 { ac_try='test -s conftest.$ac_objext'
77911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77912 (eval $ac_try) 2>&5
77913 ac_status=$?
77914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77915 (exit $ac_status); }; }; then
77916 glibcxx_cv_func__frexpl_use=yes
77917 else
77918 echo "$as_me: failed program was:" >&5
77919 sed 's/^/| /' conftest.$ac_ext >&5
77921 glibcxx_cv_func__frexpl_use=no
77923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77924 ac_ext=c
77925 ac_cpp='$CPP $CPPFLAGS'
77926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77934 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
77935 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
77937 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
77939 for ac_func in _frexpl
77941 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77942 echo "$as_me:$LINENO: checking for $ac_func" >&5
77943 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77944 if eval "test \"\${$as_ac_var+set}\" = set"; then
77945 echo $ECHO_N "(cached) $ECHO_C" >&6
77946 else
77947 if test x$gcc_no_link = xyes; then
77948 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77949 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77950 { (exit 1); exit 1; }; }
77952 cat >conftest.$ac_ext <<_ACEOF
77953 /* confdefs.h. */
77954 _ACEOF
77955 cat confdefs.h >>conftest.$ac_ext
77956 cat >>conftest.$ac_ext <<_ACEOF
77957 /* end confdefs.h. */
77958 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77959 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77960 #define $ac_func innocuous_$ac_func
77962 /* System header to define __stub macros and hopefully few prototypes,
77963 which can conflict with char $ac_func (); below.
77964 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77965 <limits.h> exists even on freestanding compilers. */
77967 #ifdef __STDC__
77968 # include <limits.h>
77969 #else
77970 # include <assert.h>
77971 #endif
77973 #undef $ac_func
77975 /* Override any gcc2 internal prototype to avoid an error. */
77976 #ifdef __cplusplus
77977 extern "C"
77979 #endif
77980 /* We use char because int might match the return type of a gcc2
77981 builtin and then its argument prototype would still apply. */
77982 char $ac_func ();
77983 /* The GNU C library defines this for functions which it implements
77984 to always fail with ENOSYS. Some functions are actually named
77985 something starting with __ and the normal name is an alias. */
77986 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77987 choke me
77988 #else
77989 char (*f) () = $ac_func;
77990 #endif
77991 #ifdef __cplusplus
77993 #endif
77996 main ()
77998 return f != $ac_func;
78000 return 0;
78002 _ACEOF
78003 rm -f conftest.$ac_objext conftest$ac_exeext
78004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78005 (eval $ac_link) 2>conftest.er1
78006 ac_status=$?
78007 grep -v '^ *+' conftest.er1 >conftest.err
78008 rm -f conftest.er1
78009 cat conftest.err >&5
78010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78011 (exit $ac_status); } &&
78012 { ac_try='test -z "$ac_c_werror_flag"
78013 || test ! -s conftest.err'
78014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78015 (eval $ac_try) 2>&5
78016 ac_status=$?
78017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78018 (exit $ac_status); }; } &&
78019 { ac_try='test -s conftest$ac_exeext'
78020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78021 (eval $ac_try) 2>&5
78022 ac_status=$?
78023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78024 (exit $ac_status); }; }; then
78025 eval "$as_ac_var=yes"
78026 else
78027 echo "$as_me: failed program was:" >&5
78028 sed 's/^/| /' conftest.$ac_ext >&5
78030 eval "$as_ac_var=no"
78032 rm -f conftest.err conftest.$ac_objext \
78033 conftest$ac_exeext conftest.$ac_ext
78035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78036 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78037 if test `eval echo '${'$as_ac_var'}'` = yes; then
78038 cat >>confdefs.h <<_ACEOF
78039 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78040 _ACEOF
78043 done
78053 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
78054 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
78055 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
78056 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
78057 echo $ECHO_N "(cached) $ECHO_C" >&6
78058 else
78062 ac_ext=cc
78063 ac_cpp='$CXXCPP $CPPFLAGS'
78064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78068 cat >conftest.$ac_ext <<_ACEOF
78069 /* confdefs.h. */
78070 _ACEOF
78071 cat confdefs.h >>conftest.$ac_ext
78072 cat >>conftest.$ac_ext <<_ACEOF
78073 /* end confdefs.h. */
78074 #include <math.h>
78076 main ()
78078 hypotl(0, 0);
78080 return 0;
78082 _ACEOF
78083 rm -f conftest.$ac_objext
78084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78085 (eval $ac_compile) 2>conftest.er1
78086 ac_status=$?
78087 grep -v '^ *+' conftest.er1 >conftest.err
78088 rm -f conftest.er1
78089 cat conftest.err >&5
78090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78091 (exit $ac_status); } &&
78092 { ac_try='test -z "$ac_cxx_werror_flag"
78093 || test ! -s conftest.err'
78094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78095 (eval $ac_try) 2>&5
78096 ac_status=$?
78097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78098 (exit $ac_status); }; } &&
78099 { ac_try='test -s conftest.$ac_objext'
78100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78101 (eval $ac_try) 2>&5
78102 ac_status=$?
78103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78104 (exit $ac_status); }; }; then
78105 glibcxx_cv_func_hypotl_use=yes
78106 else
78107 echo "$as_me: failed program was:" >&5
78108 sed 's/^/| /' conftest.$ac_ext >&5
78110 glibcxx_cv_func_hypotl_use=no
78112 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78113 ac_ext=c
78114 ac_cpp='$CPP $CPPFLAGS'
78115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78123 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
78124 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
78126 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
78128 for ac_func in hypotl
78130 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78131 echo "$as_me:$LINENO: checking for $ac_func" >&5
78132 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78133 if eval "test \"\${$as_ac_var+set}\" = set"; then
78134 echo $ECHO_N "(cached) $ECHO_C" >&6
78135 else
78136 if test x$gcc_no_link = xyes; then
78137 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78138 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78139 { (exit 1); exit 1; }; }
78141 cat >conftest.$ac_ext <<_ACEOF
78142 /* confdefs.h. */
78143 _ACEOF
78144 cat confdefs.h >>conftest.$ac_ext
78145 cat >>conftest.$ac_ext <<_ACEOF
78146 /* end confdefs.h. */
78147 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78148 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78149 #define $ac_func innocuous_$ac_func
78151 /* System header to define __stub macros and hopefully few prototypes,
78152 which can conflict with char $ac_func (); below.
78153 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78154 <limits.h> exists even on freestanding compilers. */
78156 #ifdef __STDC__
78157 # include <limits.h>
78158 #else
78159 # include <assert.h>
78160 #endif
78162 #undef $ac_func
78164 /* Override any gcc2 internal prototype to avoid an error. */
78165 #ifdef __cplusplus
78166 extern "C"
78168 #endif
78169 /* We use char because int might match the return type of a gcc2
78170 builtin and then its argument prototype would still apply. */
78171 char $ac_func ();
78172 /* The GNU C library defines this for functions which it implements
78173 to always fail with ENOSYS. Some functions are actually named
78174 something starting with __ and the normal name is an alias. */
78175 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78176 choke me
78177 #else
78178 char (*f) () = $ac_func;
78179 #endif
78180 #ifdef __cplusplus
78182 #endif
78185 main ()
78187 return f != $ac_func;
78189 return 0;
78191 _ACEOF
78192 rm -f conftest.$ac_objext conftest$ac_exeext
78193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78194 (eval $ac_link) 2>conftest.er1
78195 ac_status=$?
78196 grep -v '^ *+' conftest.er1 >conftest.err
78197 rm -f conftest.er1
78198 cat conftest.err >&5
78199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78200 (exit $ac_status); } &&
78201 { ac_try='test -z "$ac_c_werror_flag"
78202 || test ! -s conftest.err'
78203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78204 (eval $ac_try) 2>&5
78205 ac_status=$?
78206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78207 (exit $ac_status); }; } &&
78208 { ac_try='test -s conftest$ac_exeext'
78209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78210 (eval $ac_try) 2>&5
78211 ac_status=$?
78212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78213 (exit $ac_status); }; }; then
78214 eval "$as_ac_var=yes"
78215 else
78216 echo "$as_me: failed program was:" >&5
78217 sed 's/^/| /' conftest.$ac_ext >&5
78219 eval "$as_ac_var=no"
78221 rm -f conftest.err conftest.$ac_objext \
78222 conftest$ac_exeext conftest.$ac_ext
78224 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78225 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78226 if test `eval echo '${'$as_ac_var'}'` = yes; then
78227 cat >>confdefs.h <<_ACEOF
78228 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78229 _ACEOF
78232 done
78234 else
78236 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
78237 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
78238 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
78239 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
78240 echo $ECHO_N "(cached) $ECHO_C" >&6
78241 else
78245 ac_ext=cc
78246 ac_cpp='$CXXCPP $CPPFLAGS'
78247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78251 cat >conftest.$ac_ext <<_ACEOF
78252 /* confdefs.h. */
78253 _ACEOF
78254 cat confdefs.h >>conftest.$ac_ext
78255 cat >>conftest.$ac_ext <<_ACEOF
78256 /* end confdefs.h. */
78257 #include <math.h>
78259 main ()
78261 _hypotl(0, 0);
78263 return 0;
78265 _ACEOF
78266 rm -f conftest.$ac_objext
78267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78268 (eval $ac_compile) 2>conftest.er1
78269 ac_status=$?
78270 grep -v '^ *+' conftest.er1 >conftest.err
78271 rm -f conftest.er1
78272 cat conftest.err >&5
78273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78274 (exit $ac_status); } &&
78275 { ac_try='test -z "$ac_cxx_werror_flag"
78276 || test ! -s conftest.err'
78277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78278 (eval $ac_try) 2>&5
78279 ac_status=$?
78280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78281 (exit $ac_status); }; } &&
78282 { ac_try='test -s conftest.$ac_objext'
78283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78284 (eval $ac_try) 2>&5
78285 ac_status=$?
78286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78287 (exit $ac_status); }; }; then
78288 glibcxx_cv_func__hypotl_use=yes
78289 else
78290 echo "$as_me: failed program was:" >&5
78291 sed 's/^/| /' conftest.$ac_ext >&5
78293 glibcxx_cv_func__hypotl_use=no
78295 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78296 ac_ext=c
78297 ac_cpp='$CPP $CPPFLAGS'
78298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78306 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
78307 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
78309 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
78311 for ac_func in _hypotl
78313 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78314 echo "$as_me:$LINENO: checking for $ac_func" >&5
78315 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78316 if eval "test \"\${$as_ac_var+set}\" = set"; then
78317 echo $ECHO_N "(cached) $ECHO_C" >&6
78318 else
78319 if test x$gcc_no_link = xyes; then
78320 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78321 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78322 { (exit 1); exit 1; }; }
78324 cat >conftest.$ac_ext <<_ACEOF
78325 /* confdefs.h. */
78326 _ACEOF
78327 cat confdefs.h >>conftest.$ac_ext
78328 cat >>conftest.$ac_ext <<_ACEOF
78329 /* end confdefs.h. */
78330 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78331 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78332 #define $ac_func innocuous_$ac_func
78334 /* System header to define __stub macros and hopefully few prototypes,
78335 which can conflict with char $ac_func (); below.
78336 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78337 <limits.h> exists even on freestanding compilers. */
78339 #ifdef __STDC__
78340 # include <limits.h>
78341 #else
78342 # include <assert.h>
78343 #endif
78345 #undef $ac_func
78347 /* Override any gcc2 internal prototype to avoid an error. */
78348 #ifdef __cplusplus
78349 extern "C"
78351 #endif
78352 /* We use char because int might match the return type of a gcc2
78353 builtin and then its argument prototype would still apply. */
78354 char $ac_func ();
78355 /* The GNU C library defines this for functions which it implements
78356 to always fail with ENOSYS. Some functions are actually named
78357 something starting with __ and the normal name is an alias. */
78358 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78359 choke me
78360 #else
78361 char (*f) () = $ac_func;
78362 #endif
78363 #ifdef __cplusplus
78365 #endif
78368 main ()
78370 return f != $ac_func;
78372 return 0;
78374 _ACEOF
78375 rm -f conftest.$ac_objext conftest$ac_exeext
78376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78377 (eval $ac_link) 2>conftest.er1
78378 ac_status=$?
78379 grep -v '^ *+' conftest.er1 >conftest.err
78380 rm -f conftest.er1
78381 cat conftest.err >&5
78382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78383 (exit $ac_status); } &&
78384 { ac_try='test -z "$ac_c_werror_flag"
78385 || test ! -s conftest.err'
78386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78387 (eval $ac_try) 2>&5
78388 ac_status=$?
78389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78390 (exit $ac_status); }; } &&
78391 { ac_try='test -s conftest$ac_exeext'
78392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78393 (eval $ac_try) 2>&5
78394 ac_status=$?
78395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78396 (exit $ac_status); }; }; then
78397 eval "$as_ac_var=yes"
78398 else
78399 echo "$as_me: failed program was:" >&5
78400 sed 's/^/| /' conftest.$ac_ext >&5
78402 eval "$as_ac_var=no"
78404 rm -f conftest.err conftest.$ac_objext \
78405 conftest$ac_exeext conftest.$ac_ext
78407 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78408 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78409 if test `eval echo '${'$as_ac_var'}'` = yes; then
78410 cat >>confdefs.h <<_ACEOF
78411 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78412 _ACEOF
78415 done
78425 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
78426 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
78427 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
78428 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
78429 echo $ECHO_N "(cached) $ECHO_C" >&6
78430 else
78434 ac_ext=cc
78435 ac_cpp='$CXXCPP $CPPFLAGS'
78436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78440 cat >conftest.$ac_ext <<_ACEOF
78441 /* confdefs.h. */
78442 _ACEOF
78443 cat confdefs.h >>conftest.$ac_ext
78444 cat >>conftest.$ac_ext <<_ACEOF
78445 /* end confdefs.h. */
78446 #include <math.h>
78448 main ()
78450 ldexpl(0, 0);
78452 return 0;
78454 _ACEOF
78455 rm -f conftest.$ac_objext
78456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78457 (eval $ac_compile) 2>conftest.er1
78458 ac_status=$?
78459 grep -v '^ *+' conftest.er1 >conftest.err
78460 rm -f conftest.er1
78461 cat conftest.err >&5
78462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78463 (exit $ac_status); } &&
78464 { ac_try='test -z "$ac_cxx_werror_flag"
78465 || test ! -s conftest.err'
78466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78467 (eval $ac_try) 2>&5
78468 ac_status=$?
78469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78470 (exit $ac_status); }; } &&
78471 { ac_try='test -s conftest.$ac_objext'
78472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78473 (eval $ac_try) 2>&5
78474 ac_status=$?
78475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78476 (exit $ac_status); }; }; then
78477 glibcxx_cv_func_ldexpl_use=yes
78478 else
78479 echo "$as_me: failed program was:" >&5
78480 sed 's/^/| /' conftest.$ac_ext >&5
78482 glibcxx_cv_func_ldexpl_use=no
78484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78485 ac_ext=c
78486 ac_cpp='$CPP $CPPFLAGS'
78487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78495 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
78496 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
78498 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
78500 for ac_func in ldexpl
78502 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78503 echo "$as_me:$LINENO: checking for $ac_func" >&5
78504 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78505 if eval "test \"\${$as_ac_var+set}\" = set"; then
78506 echo $ECHO_N "(cached) $ECHO_C" >&6
78507 else
78508 if test x$gcc_no_link = xyes; then
78509 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78510 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78511 { (exit 1); exit 1; }; }
78513 cat >conftest.$ac_ext <<_ACEOF
78514 /* confdefs.h. */
78515 _ACEOF
78516 cat confdefs.h >>conftest.$ac_ext
78517 cat >>conftest.$ac_ext <<_ACEOF
78518 /* end confdefs.h. */
78519 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78520 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78521 #define $ac_func innocuous_$ac_func
78523 /* System header to define __stub macros and hopefully few prototypes,
78524 which can conflict with char $ac_func (); below.
78525 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78526 <limits.h> exists even on freestanding compilers. */
78528 #ifdef __STDC__
78529 # include <limits.h>
78530 #else
78531 # include <assert.h>
78532 #endif
78534 #undef $ac_func
78536 /* Override any gcc2 internal prototype to avoid an error. */
78537 #ifdef __cplusplus
78538 extern "C"
78540 #endif
78541 /* We use char because int might match the return type of a gcc2
78542 builtin and then its argument prototype would still apply. */
78543 char $ac_func ();
78544 /* The GNU C library defines this for functions which it implements
78545 to always fail with ENOSYS. Some functions are actually named
78546 something starting with __ and the normal name is an alias. */
78547 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78548 choke me
78549 #else
78550 char (*f) () = $ac_func;
78551 #endif
78552 #ifdef __cplusplus
78554 #endif
78557 main ()
78559 return f != $ac_func;
78561 return 0;
78563 _ACEOF
78564 rm -f conftest.$ac_objext conftest$ac_exeext
78565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78566 (eval $ac_link) 2>conftest.er1
78567 ac_status=$?
78568 grep -v '^ *+' conftest.er1 >conftest.err
78569 rm -f conftest.er1
78570 cat conftest.err >&5
78571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78572 (exit $ac_status); } &&
78573 { ac_try='test -z "$ac_c_werror_flag"
78574 || test ! -s conftest.err'
78575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78576 (eval $ac_try) 2>&5
78577 ac_status=$?
78578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78579 (exit $ac_status); }; } &&
78580 { ac_try='test -s conftest$ac_exeext'
78581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78582 (eval $ac_try) 2>&5
78583 ac_status=$?
78584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78585 (exit $ac_status); }; }; then
78586 eval "$as_ac_var=yes"
78587 else
78588 echo "$as_me: failed program was:" >&5
78589 sed 's/^/| /' conftest.$ac_ext >&5
78591 eval "$as_ac_var=no"
78593 rm -f conftest.err conftest.$ac_objext \
78594 conftest$ac_exeext conftest.$ac_ext
78596 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78597 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78598 if test `eval echo '${'$as_ac_var'}'` = yes; then
78599 cat >>confdefs.h <<_ACEOF
78600 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78601 _ACEOF
78604 done
78606 else
78608 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
78609 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
78610 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
78611 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
78612 echo $ECHO_N "(cached) $ECHO_C" >&6
78613 else
78617 ac_ext=cc
78618 ac_cpp='$CXXCPP $CPPFLAGS'
78619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78623 cat >conftest.$ac_ext <<_ACEOF
78624 /* confdefs.h. */
78625 _ACEOF
78626 cat confdefs.h >>conftest.$ac_ext
78627 cat >>conftest.$ac_ext <<_ACEOF
78628 /* end confdefs.h. */
78629 #include <math.h>
78631 main ()
78633 _ldexpl(0, 0);
78635 return 0;
78637 _ACEOF
78638 rm -f conftest.$ac_objext
78639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78640 (eval $ac_compile) 2>conftest.er1
78641 ac_status=$?
78642 grep -v '^ *+' conftest.er1 >conftest.err
78643 rm -f conftest.er1
78644 cat conftest.err >&5
78645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78646 (exit $ac_status); } &&
78647 { ac_try='test -z "$ac_cxx_werror_flag"
78648 || test ! -s conftest.err'
78649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78650 (eval $ac_try) 2>&5
78651 ac_status=$?
78652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78653 (exit $ac_status); }; } &&
78654 { ac_try='test -s conftest.$ac_objext'
78655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78656 (eval $ac_try) 2>&5
78657 ac_status=$?
78658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78659 (exit $ac_status); }; }; then
78660 glibcxx_cv_func__ldexpl_use=yes
78661 else
78662 echo "$as_me: failed program was:" >&5
78663 sed 's/^/| /' conftest.$ac_ext >&5
78665 glibcxx_cv_func__ldexpl_use=no
78667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78668 ac_ext=c
78669 ac_cpp='$CPP $CPPFLAGS'
78670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78678 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
78679 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
78681 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
78683 for ac_func in _ldexpl
78685 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78686 echo "$as_me:$LINENO: checking for $ac_func" >&5
78687 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78688 if eval "test \"\${$as_ac_var+set}\" = set"; then
78689 echo $ECHO_N "(cached) $ECHO_C" >&6
78690 else
78691 if test x$gcc_no_link = xyes; then
78692 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78693 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78694 { (exit 1); exit 1; }; }
78696 cat >conftest.$ac_ext <<_ACEOF
78697 /* confdefs.h. */
78698 _ACEOF
78699 cat confdefs.h >>conftest.$ac_ext
78700 cat >>conftest.$ac_ext <<_ACEOF
78701 /* end confdefs.h. */
78702 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78703 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78704 #define $ac_func innocuous_$ac_func
78706 /* System header to define __stub macros and hopefully few prototypes,
78707 which can conflict with char $ac_func (); below.
78708 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78709 <limits.h> exists even on freestanding compilers. */
78711 #ifdef __STDC__
78712 # include <limits.h>
78713 #else
78714 # include <assert.h>
78715 #endif
78717 #undef $ac_func
78719 /* Override any gcc2 internal prototype to avoid an error. */
78720 #ifdef __cplusplus
78721 extern "C"
78723 #endif
78724 /* We use char because int might match the return type of a gcc2
78725 builtin and then its argument prototype would still apply. */
78726 char $ac_func ();
78727 /* The GNU C library defines this for functions which it implements
78728 to always fail with ENOSYS. Some functions are actually named
78729 something starting with __ and the normal name is an alias. */
78730 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78731 choke me
78732 #else
78733 char (*f) () = $ac_func;
78734 #endif
78735 #ifdef __cplusplus
78737 #endif
78740 main ()
78742 return f != $ac_func;
78744 return 0;
78746 _ACEOF
78747 rm -f conftest.$ac_objext conftest$ac_exeext
78748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78749 (eval $ac_link) 2>conftest.er1
78750 ac_status=$?
78751 grep -v '^ *+' conftest.er1 >conftest.err
78752 rm -f conftest.er1
78753 cat conftest.err >&5
78754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78755 (exit $ac_status); } &&
78756 { ac_try='test -z "$ac_c_werror_flag"
78757 || test ! -s conftest.err'
78758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78759 (eval $ac_try) 2>&5
78760 ac_status=$?
78761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78762 (exit $ac_status); }; } &&
78763 { ac_try='test -s conftest$ac_exeext'
78764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78765 (eval $ac_try) 2>&5
78766 ac_status=$?
78767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78768 (exit $ac_status); }; }; then
78769 eval "$as_ac_var=yes"
78770 else
78771 echo "$as_me: failed program was:" >&5
78772 sed 's/^/| /' conftest.$ac_ext >&5
78774 eval "$as_ac_var=no"
78776 rm -f conftest.err conftest.$ac_objext \
78777 conftest$ac_exeext conftest.$ac_ext
78779 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78780 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78781 if test `eval echo '${'$as_ac_var'}'` = yes; then
78782 cat >>confdefs.h <<_ACEOF
78783 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78784 _ACEOF
78787 done
78797 echo "$as_me:$LINENO: checking for logl declaration" >&5
78798 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
78799 if test x${glibcxx_cv_func_logl_use+set} != xset; then
78800 if test "${glibcxx_cv_func_logl_use+set}" = set; then
78801 echo $ECHO_N "(cached) $ECHO_C" >&6
78802 else
78806 ac_ext=cc
78807 ac_cpp='$CXXCPP $CPPFLAGS'
78808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78812 cat >conftest.$ac_ext <<_ACEOF
78813 /* confdefs.h. */
78814 _ACEOF
78815 cat confdefs.h >>conftest.$ac_ext
78816 cat >>conftest.$ac_ext <<_ACEOF
78817 /* end confdefs.h. */
78818 #include <math.h>
78819 #ifdef HAVE_IEEEFP_H
78820 #include <ieeefp.h>
78821 #endif
78824 main ()
78826 logl(0);
78828 return 0;
78830 _ACEOF
78831 rm -f conftest.$ac_objext
78832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78833 (eval $ac_compile) 2>conftest.er1
78834 ac_status=$?
78835 grep -v '^ *+' conftest.er1 >conftest.err
78836 rm -f conftest.er1
78837 cat conftest.err >&5
78838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78839 (exit $ac_status); } &&
78840 { ac_try='test -z "$ac_cxx_werror_flag"
78841 || test ! -s conftest.err'
78842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78843 (eval $ac_try) 2>&5
78844 ac_status=$?
78845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78846 (exit $ac_status); }; } &&
78847 { ac_try='test -s conftest.$ac_objext'
78848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78849 (eval $ac_try) 2>&5
78850 ac_status=$?
78851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78852 (exit $ac_status); }; }; then
78853 glibcxx_cv_func_logl_use=yes
78854 else
78855 echo "$as_me: failed program was:" >&5
78856 sed 's/^/| /' conftest.$ac_ext >&5
78858 glibcxx_cv_func_logl_use=no
78860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78861 ac_ext=c
78862 ac_cpp='$CPP $CPPFLAGS'
78863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78871 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
78872 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
78874 if test x$glibcxx_cv_func_logl_use = x"yes"; then
78876 for ac_func in logl
78878 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78879 echo "$as_me:$LINENO: checking for $ac_func" >&5
78880 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78881 if eval "test \"\${$as_ac_var+set}\" = set"; then
78882 echo $ECHO_N "(cached) $ECHO_C" >&6
78883 else
78884 if test x$gcc_no_link = xyes; then
78885 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78886 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78887 { (exit 1); exit 1; }; }
78889 cat >conftest.$ac_ext <<_ACEOF
78890 /* confdefs.h. */
78891 _ACEOF
78892 cat confdefs.h >>conftest.$ac_ext
78893 cat >>conftest.$ac_ext <<_ACEOF
78894 /* end confdefs.h. */
78895 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78896 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78897 #define $ac_func innocuous_$ac_func
78899 /* System header to define __stub macros and hopefully few prototypes,
78900 which can conflict with char $ac_func (); below.
78901 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78902 <limits.h> exists even on freestanding compilers. */
78904 #ifdef __STDC__
78905 # include <limits.h>
78906 #else
78907 # include <assert.h>
78908 #endif
78910 #undef $ac_func
78912 /* Override any gcc2 internal prototype to avoid an error. */
78913 #ifdef __cplusplus
78914 extern "C"
78916 #endif
78917 /* We use char because int might match the return type of a gcc2
78918 builtin and then its argument prototype would still apply. */
78919 char $ac_func ();
78920 /* The GNU C library defines this for functions which it implements
78921 to always fail with ENOSYS. Some functions are actually named
78922 something starting with __ and the normal name is an alias. */
78923 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78924 choke me
78925 #else
78926 char (*f) () = $ac_func;
78927 #endif
78928 #ifdef __cplusplus
78930 #endif
78933 main ()
78935 return f != $ac_func;
78937 return 0;
78939 _ACEOF
78940 rm -f conftest.$ac_objext conftest$ac_exeext
78941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78942 (eval $ac_link) 2>conftest.er1
78943 ac_status=$?
78944 grep -v '^ *+' conftest.er1 >conftest.err
78945 rm -f conftest.er1
78946 cat conftest.err >&5
78947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78948 (exit $ac_status); } &&
78949 { ac_try='test -z "$ac_c_werror_flag"
78950 || test ! -s conftest.err'
78951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78952 (eval $ac_try) 2>&5
78953 ac_status=$?
78954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78955 (exit $ac_status); }; } &&
78956 { ac_try='test -s conftest$ac_exeext'
78957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78958 (eval $ac_try) 2>&5
78959 ac_status=$?
78960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78961 (exit $ac_status); }; }; then
78962 eval "$as_ac_var=yes"
78963 else
78964 echo "$as_me: failed program was:" >&5
78965 sed 's/^/| /' conftest.$ac_ext >&5
78967 eval "$as_ac_var=no"
78969 rm -f conftest.err conftest.$ac_objext \
78970 conftest$ac_exeext conftest.$ac_ext
78972 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78973 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78974 if test `eval echo '${'$as_ac_var'}'` = yes; then
78975 cat >>confdefs.h <<_ACEOF
78976 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78977 _ACEOF
78980 done
78982 else
78984 echo "$as_me:$LINENO: checking for _logl declaration" >&5
78985 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
78986 if test x${glibcxx_cv_func__logl_use+set} != xset; then
78987 if test "${glibcxx_cv_func__logl_use+set}" = set; then
78988 echo $ECHO_N "(cached) $ECHO_C" >&6
78989 else
78993 ac_ext=cc
78994 ac_cpp='$CXXCPP $CPPFLAGS'
78995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78999 cat >conftest.$ac_ext <<_ACEOF
79000 /* confdefs.h. */
79001 _ACEOF
79002 cat confdefs.h >>conftest.$ac_ext
79003 cat >>conftest.$ac_ext <<_ACEOF
79004 /* end confdefs.h. */
79005 #include <math.h>
79006 #ifdef HAVE_IEEEFP_H
79007 #include <ieeefp.h>
79008 #endif
79011 main ()
79013 _logl(0);
79015 return 0;
79017 _ACEOF
79018 rm -f conftest.$ac_objext
79019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79020 (eval $ac_compile) 2>conftest.er1
79021 ac_status=$?
79022 grep -v '^ *+' conftest.er1 >conftest.err
79023 rm -f conftest.er1
79024 cat conftest.err >&5
79025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79026 (exit $ac_status); } &&
79027 { ac_try='test -z "$ac_cxx_werror_flag"
79028 || test ! -s conftest.err'
79029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79030 (eval $ac_try) 2>&5
79031 ac_status=$?
79032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79033 (exit $ac_status); }; } &&
79034 { ac_try='test -s conftest.$ac_objext'
79035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79036 (eval $ac_try) 2>&5
79037 ac_status=$?
79038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79039 (exit $ac_status); }; }; then
79040 glibcxx_cv_func__logl_use=yes
79041 else
79042 echo "$as_me: failed program was:" >&5
79043 sed 's/^/| /' conftest.$ac_ext >&5
79045 glibcxx_cv_func__logl_use=no
79047 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79048 ac_ext=c
79049 ac_cpp='$CPP $CPPFLAGS'
79050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79058 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
79059 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
79061 if test x$glibcxx_cv_func__logl_use = x"yes"; then
79063 for ac_func in _logl
79065 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79066 echo "$as_me:$LINENO: checking for $ac_func" >&5
79067 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79068 if eval "test \"\${$as_ac_var+set}\" = set"; then
79069 echo $ECHO_N "(cached) $ECHO_C" >&6
79070 else
79071 if test x$gcc_no_link = xyes; then
79072 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79073 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79074 { (exit 1); exit 1; }; }
79076 cat >conftest.$ac_ext <<_ACEOF
79077 /* confdefs.h. */
79078 _ACEOF
79079 cat confdefs.h >>conftest.$ac_ext
79080 cat >>conftest.$ac_ext <<_ACEOF
79081 /* end confdefs.h. */
79082 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79083 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79084 #define $ac_func innocuous_$ac_func
79086 /* System header to define __stub macros and hopefully few prototypes,
79087 which can conflict with char $ac_func (); below.
79088 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79089 <limits.h> exists even on freestanding compilers. */
79091 #ifdef __STDC__
79092 # include <limits.h>
79093 #else
79094 # include <assert.h>
79095 #endif
79097 #undef $ac_func
79099 /* Override any gcc2 internal prototype to avoid an error. */
79100 #ifdef __cplusplus
79101 extern "C"
79103 #endif
79104 /* We use char because int might match the return type of a gcc2
79105 builtin and then its argument prototype would still apply. */
79106 char $ac_func ();
79107 /* The GNU C library defines this for functions which it implements
79108 to always fail with ENOSYS. Some functions are actually named
79109 something starting with __ and the normal name is an alias. */
79110 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79111 choke me
79112 #else
79113 char (*f) () = $ac_func;
79114 #endif
79115 #ifdef __cplusplus
79117 #endif
79120 main ()
79122 return f != $ac_func;
79124 return 0;
79126 _ACEOF
79127 rm -f conftest.$ac_objext conftest$ac_exeext
79128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79129 (eval $ac_link) 2>conftest.er1
79130 ac_status=$?
79131 grep -v '^ *+' conftest.er1 >conftest.err
79132 rm -f conftest.er1
79133 cat conftest.err >&5
79134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79135 (exit $ac_status); } &&
79136 { ac_try='test -z "$ac_c_werror_flag"
79137 || test ! -s conftest.err'
79138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79139 (eval $ac_try) 2>&5
79140 ac_status=$?
79141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79142 (exit $ac_status); }; } &&
79143 { ac_try='test -s conftest$ac_exeext'
79144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79145 (eval $ac_try) 2>&5
79146 ac_status=$?
79147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79148 (exit $ac_status); }; }; then
79149 eval "$as_ac_var=yes"
79150 else
79151 echo "$as_me: failed program was:" >&5
79152 sed 's/^/| /' conftest.$ac_ext >&5
79154 eval "$as_ac_var=no"
79156 rm -f conftest.err conftest.$ac_objext \
79157 conftest$ac_exeext conftest.$ac_ext
79159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79160 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79161 if test `eval echo '${'$as_ac_var'}'` = yes; then
79162 cat >>confdefs.h <<_ACEOF
79163 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79164 _ACEOF
79167 done
79177 echo "$as_me:$LINENO: checking for log10l declaration" >&5
79178 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
79179 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
79180 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
79181 echo $ECHO_N "(cached) $ECHO_C" >&6
79182 else
79186 ac_ext=cc
79187 ac_cpp='$CXXCPP $CPPFLAGS'
79188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79192 cat >conftest.$ac_ext <<_ACEOF
79193 /* confdefs.h. */
79194 _ACEOF
79195 cat confdefs.h >>conftest.$ac_ext
79196 cat >>conftest.$ac_ext <<_ACEOF
79197 /* end confdefs.h. */
79198 #include <math.h>
79199 #ifdef HAVE_IEEEFP_H
79200 #include <ieeefp.h>
79201 #endif
79204 main ()
79206 log10l(0);
79208 return 0;
79210 _ACEOF
79211 rm -f conftest.$ac_objext
79212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79213 (eval $ac_compile) 2>conftest.er1
79214 ac_status=$?
79215 grep -v '^ *+' conftest.er1 >conftest.err
79216 rm -f conftest.er1
79217 cat conftest.err >&5
79218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79219 (exit $ac_status); } &&
79220 { ac_try='test -z "$ac_cxx_werror_flag"
79221 || test ! -s conftest.err'
79222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79223 (eval $ac_try) 2>&5
79224 ac_status=$?
79225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79226 (exit $ac_status); }; } &&
79227 { ac_try='test -s conftest.$ac_objext'
79228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79229 (eval $ac_try) 2>&5
79230 ac_status=$?
79231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79232 (exit $ac_status); }; }; then
79233 glibcxx_cv_func_log10l_use=yes
79234 else
79235 echo "$as_me: failed program was:" >&5
79236 sed 's/^/| /' conftest.$ac_ext >&5
79238 glibcxx_cv_func_log10l_use=no
79240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79241 ac_ext=c
79242 ac_cpp='$CPP $CPPFLAGS'
79243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79251 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
79252 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
79254 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
79256 for ac_func in log10l
79258 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79259 echo "$as_me:$LINENO: checking for $ac_func" >&5
79260 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79261 if eval "test \"\${$as_ac_var+set}\" = set"; then
79262 echo $ECHO_N "(cached) $ECHO_C" >&6
79263 else
79264 if test x$gcc_no_link = xyes; then
79265 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79266 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79267 { (exit 1); exit 1; }; }
79269 cat >conftest.$ac_ext <<_ACEOF
79270 /* confdefs.h. */
79271 _ACEOF
79272 cat confdefs.h >>conftest.$ac_ext
79273 cat >>conftest.$ac_ext <<_ACEOF
79274 /* end confdefs.h. */
79275 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79276 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79277 #define $ac_func innocuous_$ac_func
79279 /* System header to define __stub macros and hopefully few prototypes,
79280 which can conflict with char $ac_func (); below.
79281 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79282 <limits.h> exists even on freestanding compilers. */
79284 #ifdef __STDC__
79285 # include <limits.h>
79286 #else
79287 # include <assert.h>
79288 #endif
79290 #undef $ac_func
79292 /* Override any gcc2 internal prototype to avoid an error. */
79293 #ifdef __cplusplus
79294 extern "C"
79296 #endif
79297 /* We use char because int might match the return type of a gcc2
79298 builtin and then its argument prototype would still apply. */
79299 char $ac_func ();
79300 /* The GNU C library defines this for functions which it implements
79301 to always fail with ENOSYS. Some functions are actually named
79302 something starting with __ and the normal name is an alias. */
79303 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79304 choke me
79305 #else
79306 char (*f) () = $ac_func;
79307 #endif
79308 #ifdef __cplusplus
79310 #endif
79313 main ()
79315 return f != $ac_func;
79317 return 0;
79319 _ACEOF
79320 rm -f conftest.$ac_objext conftest$ac_exeext
79321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79322 (eval $ac_link) 2>conftest.er1
79323 ac_status=$?
79324 grep -v '^ *+' conftest.er1 >conftest.err
79325 rm -f conftest.er1
79326 cat conftest.err >&5
79327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79328 (exit $ac_status); } &&
79329 { ac_try='test -z "$ac_c_werror_flag"
79330 || test ! -s conftest.err'
79331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79332 (eval $ac_try) 2>&5
79333 ac_status=$?
79334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79335 (exit $ac_status); }; } &&
79336 { ac_try='test -s conftest$ac_exeext'
79337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79338 (eval $ac_try) 2>&5
79339 ac_status=$?
79340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79341 (exit $ac_status); }; }; then
79342 eval "$as_ac_var=yes"
79343 else
79344 echo "$as_me: failed program was:" >&5
79345 sed 's/^/| /' conftest.$ac_ext >&5
79347 eval "$as_ac_var=no"
79349 rm -f conftest.err conftest.$ac_objext \
79350 conftest$ac_exeext conftest.$ac_ext
79352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79353 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79354 if test `eval echo '${'$as_ac_var'}'` = yes; then
79355 cat >>confdefs.h <<_ACEOF
79356 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79357 _ACEOF
79360 done
79362 else
79364 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
79365 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
79366 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
79367 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
79368 echo $ECHO_N "(cached) $ECHO_C" >&6
79369 else
79373 ac_ext=cc
79374 ac_cpp='$CXXCPP $CPPFLAGS'
79375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79379 cat >conftest.$ac_ext <<_ACEOF
79380 /* confdefs.h. */
79381 _ACEOF
79382 cat confdefs.h >>conftest.$ac_ext
79383 cat >>conftest.$ac_ext <<_ACEOF
79384 /* end confdefs.h. */
79385 #include <math.h>
79386 #ifdef HAVE_IEEEFP_H
79387 #include <ieeefp.h>
79388 #endif
79391 main ()
79393 _log10l(0);
79395 return 0;
79397 _ACEOF
79398 rm -f conftest.$ac_objext
79399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79400 (eval $ac_compile) 2>conftest.er1
79401 ac_status=$?
79402 grep -v '^ *+' conftest.er1 >conftest.err
79403 rm -f conftest.er1
79404 cat conftest.err >&5
79405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79406 (exit $ac_status); } &&
79407 { ac_try='test -z "$ac_cxx_werror_flag"
79408 || test ! -s conftest.err'
79409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79410 (eval $ac_try) 2>&5
79411 ac_status=$?
79412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79413 (exit $ac_status); }; } &&
79414 { ac_try='test -s conftest.$ac_objext'
79415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79416 (eval $ac_try) 2>&5
79417 ac_status=$?
79418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79419 (exit $ac_status); }; }; then
79420 glibcxx_cv_func__log10l_use=yes
79421 else
79422 echo "$as_me: failed program was:" >&5
79423 sed 's/^/| /' conftest.$ac_ext >&5
79425 glibcxx_cv_func__log10l_use=no
79427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79428 ac_ext=c
79429 ac_cpp='$CPP $CPPFLAGS'
79430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79438 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
79439 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
79441 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
79443 for ac_func in _log10l
79445 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79446 echo "$as_me:$LINENO: checking for $ac_func" >&5
79447 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79448 if eval "test \"\${$as_ac_var+set}\" = set"; then
79449 echo $ECHO_N "(cached) $ECHO_C" >&6
79450 else
79451 if test x$gcc_no_link = xyes; then
79452 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79453 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79454 { (exit 1); exit 1; }; }
79456 cat >conftest.$ac_ext <<_ACEOF
79457 /* confdefs.h. */
79458 _ACEOF
79459 cat confdefs.h >>conftest.$ac_ext
79460 cat >>conftest.$ac_ext <<_ACEOF
79461 /* end confdefs.h. */
79462 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79463 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79464 #define $ac_func innocuous_$ac_func
79466 /* System header to define __stub macros and hopefully few prototypes,
79467 which can conflict with char $ac_func (); below.
79468 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79469 <limits.h> exists even on freestanding compilers. */
79471 #ifdef __STDC__
79472 # include <limits.h>
79473 #else
79474 # include <assert.h>
79475 #endif
79477 #undef $ac_func
79479 /* Override any gcc2 internal prototype to avoid an error. */
79480 #ifdef __cplusplus
79481 extern "C"
79483 #endif
79484 /* We use char because int might match the return type of a gcc2
79485 builtin and then its argument prototype would still apply. */
79486 char $ac_func ();
79487 /* The GNU C library defines this for functions which it implements
79488 to always fail with ENOSYS. Some functions are actually named
79489 something starting with __ and the normal name is an alias. */
79490 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79491 choke me
79492 #else
79493 char (*f) () = $ac_func;
79494 #endif
79495 #ifdef __cplusplus
79497 #endif
79500 main ()
79502 return f != $ac_func;
79504 return 0;
79506 _ACEOF
79507 rm -f conftest.$ac_objext conftest$ac_exeext
79508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79509 (eval $ac_link) 2>conftest.er1
79510 ac_status=$?
79511 grep -v '^ *+' conftest.er1 >conftest.err
79512 rm -f conftest.er1
79513 cat conftest.err >&5
79514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79515 (exit $ac_status); } &&
79516 { ac_try='test -z "$ac_c_werror_flag"
79517 || test ! -s conftest.err'
79518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79519 (eval $ac_try) 2>&5
79520 ac_status=$?
79521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79522 (exit $ac_status); }; } &&
79523 { ac_try='test -s conftest$ac_exeext'
79524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79525 (eval $ac_try) 2>&5
79526 ac_status=$?
79527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79528 (exit $ac_status); }; }; then
79529 eval "$as_ac_var=yes"
79530 else
79531 echo "$as_me: failed program was:" >&5
79532 sed 's/^/| /' conftest.$ac_ext >&5
79534 eval "$as_ac_var=no"
79536 rm -f conftest.err conftest.$ac_objext \
79537 conftest$ac_exeext conftest.$ac_ext
79539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79540 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79541 if test `eval echo '${'$as_ac_var'}'` = yes; then
79542 cat >>confdefs.h <<_ACEOF
79543 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79544 _ACEOF
79547 done
79557 echo "$as_me:$LINENO: checking for modfl declaration" >&5
79558 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
79559 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
79560 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
79561 echo $ECHO_N "(cached) $ECHO_C" >&6
79562 else
79566 ac_ext=cc
79567 ac_cpp='$CXXCPP $CPPFLAGS'
79568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79572 cat >conftest.$ac_ext <<_ACEOF
79573 /* confdefs.h. */
79574 _ACEOF
79575 cat confdefs.h >>conftest.$ac_ext
79576 cat >>conftest.$ac_ext <<_ACEOF
79577 /* end confdefs.h. */
79578 #include <math.h>
79580 main ()
79582 modfl(0, 0);
79584 return 0;
79586 _ACEOF
79587 rm -f conftest.$ac_objext
79588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79589 (eval $ac_compile) 2>conftest.er1
79590 ac_status=$?
79591 grep -v '^ *+' conftest.er1 >conftest.err
79592 rm -f conftest.er1
79593 cat conftest.err >&5
79594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79595 (exit $ac_status); } &&
79596 { ac_try='test -z "$ac_cxx_werror_flag"
79597 || test ! -s conftest.err'
79598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79599 (eval $ac_try) 2>&5
79600 ac_status=$?
79601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79602 (exit $ac_status); }; } &&
79603 { ac_try='test -s conftest.$ac_objext'
79604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79605 (eval $ac_try) 2>&5
79606 ac_status=$?
79607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79608 (exit $ac_status); }; }; then
79609 glibcxx_cv_func_modfl_use=yes
79610 else
79611 echo "$as_me: failed program was:" >&5
79612 sed 's/^/| /' conftest.$ac_ext >&5
79614 glibcxx_cv_func_modfl_use=no
79616 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79617 ac_ext=c
79618 ac_cpp='$CPP $CPPFLAGS'
79619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79627 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
79628 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
79630 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
79632 for ac_func in modfl
79634 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79635 echo "$as_me:$LINENO: checking for $ac_func" >&5
79636 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79637 if eval "test \"\${$as_ac_var+set}\" = set"; then
79638 echo $ECHO_N "(cached) $ECHO_C" >&6
79639 else
79640 if test x$gcc_no_link = xyes; then
79641 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79642 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79643 { (exit 1); exit 1; }; }
79645 cat >conftest.$ac_ext <<_ACEOF
79646 /* confdefs.h. */
79647 _ACEOF
79648 cat confdefs.h >>conftest.$ac_ext
79649 cat >>conftest.$ac_ext <<_ACEOF
79650 /* end confdefs.h. */
79651 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79652 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79653 #define $ac_func innocuous_$ac_func
79655 /* System header to define __stub macros and hopefully few prototypes,
79656 which can conflict with char $ac_func (); below.
79657 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79658 <limits.h> exists even on freestanding compilers. */
79660 #ifdef __STDC__
79661 # include <limits.h>
79662 #else
79663 # include <assert.h>
79664 #endif
79666 #undef $ac_func
79668 /* Override any gcc2 internal prototype to avoid an error. */
79669 #ifdef __cplusplus
79670 extern "C"
79672 #endif
79673 /* We use char because int might match the return type of a gcc2
79674 builtin and then its argument prototype would still apply. */
79675 char $ac_func ();
79676 /* The GNU C library defines this for functions which it implements
79677 to always fail with ENOSYS. Some functions are actually named
79678 something starting with __ and the normal name is an alias. */
79679 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79680 choke me
79681 #else
79682 char (*f) () = $ac_func;
79683 #endif
79684 #ifdef __cplusplus
79686 #endif
79689 main ()
79691 return f != $ac_func;
79693 return 0;
79695 _ACEOF
79696 rm -f conftest.$ac_objext conftest$ac_exeext
79697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79698 (eval $ac_link) 2>conftest.er1
79699 ac_status=$?
79700 grep -v '^ *+' conftest.er1 >conftest.err
79701 rm -f conftest.er1
79702 cat conftest.err >&5
79703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79704 (exit $ac_status); } &&
79705 { ac_try='test -z "$ac_c_werror_flag"
79706 || test ! -s conftest.err'
79707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79708 (eval $ac_try) 2>&5
79709 ac_status=$?
79710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79711 (exit $ac_status); }; } &&
79712 { ac_try='test -s conftest$ac_exeext'
79713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79714 (eval $ac_try) 2>&5
79715 ac_status=$?
79716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79717 (exit $ac_status); }; }; then
79718 eval "$as_ac_var=yes"
79719 else
79720 echo "$as_me: failed program was:" >&5
79721 sed 's/^/| /' conftest.$ac_ext >&5
79723 eval "$as_ac_var=no"
79725 rm -f conftest.err conftest.$ac_objext \
79726 conftest$ac_exeext conftest.$ac_ext
79728 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79729 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79730 if test `eval echo '${'$as_ac_var'}'` = yes; then
79731 cat >>confdefs.h <<_ACEOF
79732 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79733 _ACEOF
79736 done
79738 else
79740 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
79741 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
79742 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
79743 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
79744 echo $ECHO_N "(cached) $ECHO_C" >&6
79745 else
79749 ac_ext=cc
79750 ac_cpp='$CXXCPP $CPPFLAGS'
79751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79755 cat >conftest.$ac_ext <<_ACEOF
79756 /* confdefs.h. */
79757 _ACEOF
79758 cat confdefs.h >>conftest.$ac_ext
79759 cat >>conftest.$ac_ext <<_ACEOF
79760 /* end confdefs.h. */
79761 #include <math.h>
79763 main ()
79765 _modfl(0, 0);
79767 return 0;
79769 _ACEOF
79770 rm -f conftest.$ac_objext
79771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79772 (eval $ac_compile) 2>conftest.er1
79773 ac_status=$?
79774 grep -v '^ *+' conftest.er1 >conftest.err
79775 rm -f conftest.er1
79776 cat conftest.err >&5
79777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79778 (exit $ac_status); } &&
79779 { ac_try='test -z "$ac_cxx_werror_flag"
79780 || test ! -s conftest.err'
79781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79782 (eval $ac_try) 2>&5
79783 ac_status=$?
79784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79785 (exit $ac_status); }; } &&
79786 { ac_try='test -s conftest.$ac_objext'
79787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79788 (eval $ac_try) 2>&5
79789 ac_status=$?
79790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79791 (exit $ac_status); }; }; then
79792 glibcxx_cv_func__modfl_use=yes
79793 else
79794 echo "$as_me: failed program was:" >&5
79795 sed 's/^/| /' conftest.$ac_ext >&5
79797 glibcxx_cv_func__modfl_use=no
79799 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79800 ac_ext=c
79801 ac_cpp='$CPP $CPPFLAGS'
79802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79810 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
79811 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
79813 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
79815 for ac_func in _modfl
79817 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79818 echo "$as_me:$LINENO: checking for $ac_func" >&5
79819 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79820 if eval "test \"\${$as_ac_var+set}\" = set"; then
79821 echo $ECHO_N "(cached) $ECHO_C" >&6
79822 else
79823 if test x$gcc_no_link = xyes; then
79824 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79825 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79826 { (exit 1); exit 1; }; }
79828 cat >conftest.$ac_ext <<_ACEOF
79829 /* confdefs.h. */
79830 _ACEOF
79831 cat confdefs.h >>conftest.$ac_ext
79832 cat >>conftest.$ac_ext <<_ACEOF
79833 /* end confdefs.h. */
79834 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79835 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79836 #define $ac_func innocuous_$ac_func
79838 /* System header to define __stub macros and hopefully few prototypes,
79839 which can conflict with char $ac_func (); below.
79840 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79841 <limits.h> exists even on freestanding compilers. */
79843 #ifdef __STDC__
79844 # include <limits.h>
79845 #else
79846 # include <assert.h>
79847 #endif
79849 #undef $ac_func
79851 /* Override any gcc2 internal prototype to avoid an error. */
79852 #ifdef __cplusplus
79853 extern "C"
79855 #endif
79856 /* We use char because int might match the return type of a gcc2
79857 builtin and then its argument prototype would still apply. */
79858 char $ac_func ();
79859 /* The GNU C library defines this for functions which it implements
79860 to always fail with ENOSYS. Some functions are actually named
79861 something starting with __ and the normal name is an alias. */
79862 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79863 choke me
79864 #else
79865 char (*f) () = $ac_func;
79866 #endif
79867 #ifdef __cplusplus
79869 #endif
79872 main ()
79874 return f != $ac_func;
79876 return 0;
79878 _ACEOF
79879 rm -f conftest.$ac_objext conftest$ac_exeext
79880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79881 (eval $ac_link) 2>conftest.er1
79882 ac_status=$?
79883 grep -v '^ *+' conftest.er1 >conftest.err
79884 rm -f conftest.er1
79885 cat conftest.err >&5
79886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79887 (exit $ac_status); } &&
79888 { ac_try='test -z "$ac_c_werror_flag"
79889 || test ! -s conftest.err'
79890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79891 (eval $ac_try) 2>&5
79892 ac_status=$?
79893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79894 (exit $ac_status); }; } &&
79895 { ac_try='test -s conftest$ac_exeext'
79896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79897 (eval $ac_try) 2>&5
79898 ac_status=$?
79899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79900 (exit $ac_status); }; }; then
79901 eval "$as_ac_var=yes"
79902 else
79903 echo "$as_me: failed program was:" >&5
79904 sed 's/^/| /' conftest.$ac_ext >&5
79906 eval "$as_ac_var=no"
79908 rm -f conftest.err conftest.$ac_objext \
79909 conftest$ac_exeext conftest.$ac_ext
79911 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79912 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79913 if test `eval echo '${'$as_ac_var'}'` = yes; then
79914 cat >>confdefs.h <<_ACEOF
79915 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79916 _ACEOF
79919 done
79929 echo "$as_me:$LINENO: checking for powl declaration" >&5
79930 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
79931 if test x${glibcxx_cv_func_powl_use+set} != xset; then
79932 if test "${glibcxx_cv_func_powl_use+set}" = set; then
79933 echo $ECHO_N "(cached) $ECHO_C" >&6
79934 else
79938 ac_ext=cc
79939 ac_cpp='$CXXCPP $CPPFLAGS'
79940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79944 cat >conftest.$ac_ext <<_ACEOF
79945 /* confdefs.h. */
79946 _ACEOF
79947 cat confdefs.h >>conftest.$ac_ext
79948 cat >>conftest.$ac_ext <<_ACEOF
79949 /* end confdefs.h. */
79950 #include <math.h>
79952 main ()
79954 powl(0, 0);
79956 return 0;
79958 _ACEOF
79959 rm -f conftest.$ac_objext
79960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79961 (eval $ac_compile) 2>conftest.er1
79962 ac_status=$?
79963 grep -v '^ *+' conftest.er1 >conftest.err
79964 rm -f conftest.er1
79965 cat conftest.err >&5
79966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79967 (exit $ac_status); } &&
79968 { ac_try='test -z "$ac_cxx_werror_flag"
79969 || test ! -s conftest.err'
79970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79971 (eval $ac_try) 2>&5
79972 ac_status=$?
79973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79974 (exit $ac_status); }; } &&
79975 { ac_try='test -s conftest.$ac_objext'
79976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79977 (eval $ac_try) 2>&5
79978 ac_status=$?
79979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79980 (exit $ac_status); }; }; then
79981 glibcxx_cv_func_powl_use=yes
79982 else
79983 echo "$as_me: failed program was:" >&5
79984 sed 's/^/| /' conftest.$ac_ext >&5
79986 glibcxx_cv_func_powl_use=no
79988 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79989 ac_ext=c
79990 ac_cpp='$CPP $CPPFLAGS'
79991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79999 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
80000 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
80002 if test x$glibcxx_cv_func_powl_use = x"yes"; then
80004 for ac_func in powl
80006 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80007 echo "$as_me:$LINENO: checking for $ac_func" >&5
80008 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80009 if eval "test \"\${$as_ac_var+set}\" = set"; then
80010 echo $ECHO_N "(cached) $ECHO_C" >&6
80011 else
80012 if test x$gcc_no_link = xyes; then
80013 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80014 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80015 { (exit 1); exit 1; }; }
80017 cat >conftest.$ac_ext <<_ACEOF
80018 /* confdefs.h. */
80019 _ACEOF
80020 cat confdefs.h >>conftest.$ac_ext
80021 cat >>conftest.$ac_ext <<_ACEOF
80022 /* end confdefs.h. */
80023 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80024 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80025 #define $ac_func innocuous_$ac_func
80027 /* System header to define __stub macros and hopefully few prototypes,
80028 which can conflict with char $ac_func (); below.
80029 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80030 <limits.h> exists even on freestanding compilers. */
80032 #ifdef __STDC__
80033 # include <limits.h>
80034 #else
80035 # include <assert.h>
80036 #endif
80038 #undef $ac_func
80040 /* Override any gcc2 internal prototype to avoid an error. */
80041 #ifdef __cplusplus
80042 extern "C"
80044 #endif
80045 /* We use char because int might match the return type of a gcc2
80046 builtin and then its argument prototype would still apply. */
80047 char $ac_func ();
80048 /* The GNU C library defines this for functions which it implements
80049 to always fail with ENOSYS. Some functions are actually named
80050 something starting with __ and the normal name is an alias. */
80051 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80052 choke me
80053 #else
80054 char (*f) () = $ac_func;
80055 #endif
80056 #ifdef __cplusplus
80058 #endif
80061 main ()
80063 return f != $ac_func;
80065 return 0;
80067 _ACEOF
80068 rm -f conftest.$ac_objext conftest$ac_exeext
80069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80070 (eval $ac_link) 2>conftest.er1
80071 ac_status=$?
80072 grep -v '^ *+' conftest.er1 >conftest.err
80073 rm -f conftest.er1
80074 cat conftest.err >&5
80075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80076 (exit $ac_status); } &&
80077 { ac_try='test -z "$ac_c_werror_flag"
80078 || test ! -s conftest.err'
80079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80080 (eval $ac_try) 2>&5
80081 ac_status=$?
80082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80083 (exit $ac_status); }; } &&
80084 { ac_try='test -s conftest$ac_exeext'
80085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80086 (eval $ac_try) 2>&5
80087 ac_status=$?
80088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80089 (exit $ac_status); }; }; then
80090 eval "$as_ac_var=yes"
80091 else
80092 echo "$as_me: failed program was:" >&5
80093 sed 's/^/| /' conftest.$ac_ext >&5
80095 eval "$as_ac_var=no"
80097 rm -f conftest.err conftest.$ac_objext \
80098 conftest$ac_exeext conftest.$ac_ext
80100 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80101 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80102 if test `eval echo '${'$as_ac_var'}'` = yes; then
80103 cat >>confdefs.h <<_ACEOF
80104 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80105 _ACEOF
80108 done
80110 else
80112 echo "$as_me:$LINENO: checking for _powl declaration" >&5
80113 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
80114 if test x${glibcxx_cv_func__powl_use+set} != xset; then
80115 if test "${glibcxx_cv_func__powl_use+set}" = set; then
80116 echo $ECHO_N "(cached) $ECHO_C" >&6
80117 else
80121 ac_ext=cc
80122 ac_cpp='$CXXCPP $CPPFLAGS'
80123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80127 cat >conftest.$ac_ext <<_ACEOF
80128 /* confdefs.h. */
80129 _ACEOF
80130 cat confdefs.h >>conftest.$ac_ext
80131 cat >>conftest.$ac_ext <<_ACEOF
80132 /* end confdefs.h. */
80133 #include <math.h>
80135 main ()
80137 _powl(0, 0);
80139 return 0;
80141 _ACEOF
80142 rm -f conftest.$ac_objext
80143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80144 (eval $ac_compile) 2>conftest.er1
80145 ac_status=$?
80146 grep -v '^ *+' conftest.er1 >conftest.err
80147 rm -f conftest.er1
80148 cat conftest.err >&5
80149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80150 (exit $ac_status); } &&
80151 { ac_try='test -z "$ac_cxx_werror_flag"
80152 || test ! -s conftest.err'
80153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80154 (eval $ac_try) 2>&5
80155 ac_status=$?
80156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80157 (exit $ac_status); }; } &&
80158 { ac_try='test -s conftest.$ac_objext'
80159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80160 (eval $ac_try) 2>&5
80161 ac_status=$?
80162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80163 (exit $ac_status); }; }; then
80164 glibcxx_cv_func__powl_use=yes
80165 else
80166 echo "$as_me: failed program was:" >&5
80167 sed 's/^/| /' conftest.$ac_ext >&5
80169 glibcxx_cv_func__powl_use=no
80171 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80172 ac_ext=c
80173 ac_cpp='$CPP $CPPFLAGS'
80174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80182 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
80183 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
80185 if test x$glibcxx_cv_func__powl_use = x"yes"; then
80187 for ac_func in _powl
80189 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80190 echo "$as_me:$LINENO: checking for $ac_func" >&5
80191 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80192 if eval "test \"\${$as_ac_var+set}\" = set"; then
80193 echo $ECHO_N "(cached) $ECHO_C" >&6
80194 else
80195 if test x$gcc_no_link = xyes; then
80196 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80197 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80198 { (exit 1); exit 1; }; }
80200 cat >conftest.$ac_ext <<_ACEOF
80201 /* confdefs.h. */
80202 _ACEOF
80203 cat confdefs.h >>conftest.$ac_ext
80204 cat >>conftest.$ac_ext <<_ACEOF
80205 /* end confdefs.h. */
80206 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80207 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80208 #define $ac_func innocuous_$ac_func
80210 /* System header to define __stub macros and hopefully few prototypes,
80211 which can conflict with char $ac_func (); below.
80212 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80213 <limits.h> exists even on freestanding compilers. */
80215 #ifdef __STDC__
80216 # include <limits.h>
80217 #else
80218 # include <assert.h>
80219 #endif
80221 #undef $ac_func
80223 /* Override any gcc2 internal prototype to avoid an error. */
80224 #ifdef __cplusplus
80225 extern "C"
80227 #endif
80228 /* We use char because int might match the return type of a gcc2
80229 builtin and then its argument prototype would still apply. */
80230 char $ac_func ();
80231 /* The GNU C library defines this for functions which it implements
80232 to always fail with ENOSYS. Some functions are actually named
80233 something starting with __ and the normal name is an alias. */
80234 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80235 choke me
80236 #else
80237 char (*f) () = $ac_func;
80238 #endif
80239 #ifdef __cplusplus
80241 #endif
80244 main ()
80246 return f != $ac_func;
80248 return 0;
80250 _ACEOF
80251 rm -f conftest.$ac_objext conftest$ac_exeext
80252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80253 (eval $ac_link) 2>conftest.er1
80254 ac_status=$?
80255 grep -v '^ *+' conftest.er1 >conftest.err
80256 rm -f conftest.er1
80257 cat conftest.err >&5
80258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80259 (exit $ac_status); } &&
80260 { ac_try='test -z "$ac_c_werror_flag"
80261 || test ! -s conftest.err'
80262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80263 (eval $ac_try) 2>&5
80264 ac_status=$?
80265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80266 (exit $ac_status); }; } &&
80267 { ac_try='test -s conftest$ac_exeext'
80268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80269 (eval $ac_try) 2>&5
80270 ac_status=$?
80271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80272 (exit $ac_status); }; }; then
80273 eval "$as_ac_var=yes"
80274 else
80275 echo "$as_me: failed program was:" >&5
80276 sed 's/^/| /' conftest.$ac_ext >&5
80278 eval "$as_ac_var=no"
80280 rm -f conftest.err conftest.$ac_objext \
80281 conftest$ac_exeext conftest.$ac_ext
80283 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80284 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80285 if test `eval echo '${'$as_ac_var'}'` = yes; then
80286 cat >>confdefs.h <<_ACEOF
80287 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80288 _ACEOF
80291 done
80301 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
80302 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
80303 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
80304 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
80305 echo $ECHO_N "(cached) $ECHO_C" >&6
80306 else
80310 ac_ext=cc
80311 ac_cpp='$CXXCPP $CPPFLAGS'
80312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80316 cat >conftest.$ac_ext <<_ACEOF
80317 /* confdefs.h. */
80318 _ACEOF
80319 cat confdefs.h >>conftest.$ac_ext
80320 cat >>conftest.$ac_ext <<_ACEOF
80321 /* end confdefs.h. */
80322 #include <math.h>
80323 #ifdef HAVE_IEEEFP_H
80324 #include <ieeefp.h>
80325 #endif
80328 main ()
80330 sqrtl(0);
80332 return 0;
80334 _ACEOF
80335 rm -f conftest.$ac_objext
80336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80337 (eval $ac_compile) 2>conftest.er1
80338 ac_status=$?
80339 grep -v '^ *+' conftest.er1 >conftest.err
80340 rm -f conftest.er1
80341 cat conftest.err >&5
80342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80343 (exit $ac_status); } &&
80344 { ac_try='test -z "$ac_cxx_werror_flag"
80345 || test ! -s conftest.err'
80346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80347 (eval $ac_try) 2>&5
80348 ac_status=$?
80349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80350 (exit $ac_status); }; } &&
80351 { ac_try='test -s conftest.$ac_objext'
80352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80353 (eval $ac_try) 2>&5
80354 ac_status=$?
80355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80356 (exit $ac_status); }; }; then
80357 glibcxx_cv_func_sqrtl_use=yes
80358 else
80359 echo "$as_me: failed program was:" >&5
80360 sed 's/^/| /' conftest.$ac_ext >&5
80362 glibcxx_cv_func_sqrtl_use=no
80364 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80365 ac_ext=c
80366 ac_cpp='$CPP $CPPFLAGS'
80367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80375 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
80376 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
80378 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
80380 for ac_func in sqrtl
80382 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80383 echo "$as_me:$LINENO: checking for $ac_func" >&5
80384 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80385 if eval "test \"\${$as_ac_var+set}\" = set"; then
80386 echo $ECHO_N "(cached) $ECHO_C" >&6
80387 else
80388 if test x$gcc_no_link = xyes; then
80389 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80390 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80391 { (exit 1); exit 1; }; }
80393 cat >conftest.$ac_ext <<_ACEOF
80394 /* confdefs.h. */
80395 _ACEOF
80396 cat confdefs.h >>conftest.$ac_ext
80397 cat >>conftest.$ac_ext <<_ACEOF
80398 /* end confdefs.h. */
80399 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80400 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80401 #define $ac_func innocuous_$ac_func
80403 /* System header to define __stub macros and hopefully few prototypes,
80404 which can conflict with char $ac_func (); below.
80405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80406 <limits.h> exists even on freestanding compilers. */
80408 #ifdef __STDC__
80409 # include <limits.h>
80410 #else
80411 # include <assert.h>
80412 #endif
80414 #undef $ac_func
80416 /* Override any gcc2 internal prototype to avoid an error. */
80417 #ifdef __cplusplus
80418 extern "C"
80420 #endif
80421 /* We use char because int might match the return type of a gcc2
80422 builtin and then its argument prototype would still apply. */
80423 char $ac_func ();
80424 /* The GNU C library defines this for functions which it implements
80425 to always fail with ENOSYS. Some functions are actually named
80426 something starting with __ and the normal name is an alias. */
80427 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80428 choke me
80429 #else
80430 char (*f) () = $ac_func;
80431 #endif
80432 #ifdef __cplusplus
80434 #endif
80437 main ()
80439 return f != $ac_func;
80441 return 0;
80443 _ACEOF
80444 rm -f conftest.$ac_objext conftest$ac_exeext
80445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80446 (eval $ac_link) 2>conftest.er1
80447 ac_status=$?
80448 grep -v '^ *+' conftest.er1 >conftest.err
80449 rm -f conftest.er1
80450 cat conftest.err >&5
80451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80452 (exit $ac_status); } &&
80453 { ac_try='test -z "$ac_c_werror_flag"
80454 || test ! -s conftest.err'
80455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80456 (eval $ac_try) 2>&5
80457 ac_status=$?
80458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80459 (exit $ac_status); }; } &&
80460 { ac_try='test -s conftest$ac_exeext'
80461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80462 (eval $ac_try) 2>&5
80463 ac_status=$?
80464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80465 (exit $ac_status); }; }; then
80466 eval "$as_ac_var=yes"
80467 else
80468 echo "$as_me: failed program was:" >&5
80469 sed 's/^/| /' conftest.$ac_ext >&5
80471 eval "$as_ac_var=no"
80473 rm -f conftest.err conftest.$ac_objext \
80474 conftest$ac_exeext conftest.$ac_ext
80476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80477 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80478 if test `eval echo '${'$as_ac_var'}'` = yes; then
80479 cat >>confdefs.h <<_ACEOF
80480 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80481 _ACEOF
80484 done
80486 else
80488 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
80489 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
80490 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
80491 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
80492 echo $ECHO_N "(cached) $ECHO_C" >&6
80493 else
80497 ac_ext=cc
80498 ac_cpp='$CXXCPP $CPPFLAGS'
80499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80503 cat >conftest.$ac_ext <<_ACEOF
80504 /* confdefs.h. */
80505 _ACEOF
80506 cat confdefs.h >>conftest.$ac_ext
80507 cat >>conftest.$ac_ext <<_ACEOF
80508 /* end confdefs.h. */
80509 #include <math.h>
80510 #ifdef HAVE_IEEEFP_H
80511 #include <ieeefp.h>
80512 #endif
80515 main ()
80517 _sqrtl(0);
80519 return 0;
80521 _ACEOF
80522 rm -f conftest.$ac_objext
80523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80524 (eval $ac_compile) 2>conftest.er1
80525 ac_status=$?
80526 grep -v '^ *+' conftest.er1 >conftest.err
80527 rm -f conftest.er1
80528 cat conftest.err >&5
80529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80530 (exit $ac_status); } &&
80531 { ac_try='test -z "$ac_cxx_werror_flag"
80532 || test ! -s conftest.err'
80533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80534 (eval $ac_try) 2>&5
80535 ac_status=$?
80536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80537 (exit $ac_status); }; } &&
80538 { ac_try='test -s conftest.$ac_objext'
80539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80540 (eval $ac_try) 2>&5
80541 ac_status=$?
80542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80543 (exit $ac_status); }; }; then
80544 glibcxx_cv_func__sqrtl_use=yes
80545 else
80546 echo "$as_me: failed program was:" >&5
80547 sed 's/^/| /' conftest.$ac_ext >&5
80549 glibcxx_cv_func__sqrtl_use=no
80551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80552 ac_ext=c
80553 ac_cpp='$CPP $CPPFLAGS'
80554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80562 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
80563 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
80565 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
80567 for ac_func in _sqrtl
80569 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80570 echo "$as_me:$LINENO: checking for $ac_func" >&5
80571 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80572 if eval "test \"\${$as_ac_var+set}\" = set"; then
80573 echo $ECHO_N "(cached) $ECHO_C" >&6
80574 else
80575 if test x$gcc_no_link = xyes; then
80576 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80577 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80578 { (exit 1); exit 1; }; }
80580 cat >conftest.$ac_ext <<_ACEOF
80581 /* confdefs.h. */
80582 _ACEOF
80583 cat confdefs.h >>conftest.$ac_ext
80584 cat >>conftest.$ac_ext <<_ACEOF
80585 /* end confdefs.h. */
80586 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80587 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80588 #define $ac_func innocuous_$ac_func
80590 /* System header to define __stub macros and hopefully few prototypes,
80591 which can conflict with char $ac_func (); below.
80592 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80593 <limits.h> exists even on freestanding compilers. */
80595 #ifdef __STDC__
80596 # include <limits.h>
80597 #else
80598 # include <assert.h>
80599 #endif
80601 #undef $ac_func
80603 /* Override any gcc2 internal prototype to avoid an error. */
80604 #ifdef __cplusplus
80605 extern "C"
80607 #endif
80608 /* We use char because int might match the return type of a gcc2
80609 builtin and then its argument prototype would still apply. */
80610 char $ac_func ();
80611 /* The GNU C library defines this for functions which it implements
80612 to always fail with ENOSYS. Some functions are actually named
80613 something starting with __ and the normal name is an alias. */
80614 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80615 choke me
80616 #else
80617 char (*f) () = $ac_func;
80618 #endif
80619 #ifdef __cplusplus
80621 #endif
80624 main ()
80626 return f != $ac_func;
80628 return 0;
80630 _ACEOF
80631 rm -f conftest.$ac_objext conftest$ac_exeext
80632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80633 (eval $ac_link) 2>conftest.er1
80634 ac_status=$?
80635 grep -v '^ *+' conftest.er1 >conftest.err
80636 rm -f conftest.er1
80637 cat conftest.err >&5
80638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80639 (exit $ac_status); } &&
80640 { ac_try='test -z "$ac_c_werror_flag"
80641 || test ! -s conftest.err'
80642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80643 (eval $ac_try) 2>&5
80644 ac_status=$?
80645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80646 (exit $ac_status); }; } &&
80647 { ac_try='test -s conftest$ac_exeext'
80648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80649 (eval $ac_try) 2>&5
80650 ac_status=$?
80651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80652 (exit $ac_status); }; }; then
80653 eval "$as_ac_var=yes"
80654 else
80655 echo "$as_me: failed program was:" >&5
80656 sed 's/^/| /' conftest.$ac_ext >&5
80658 eval "$as_ac_var=no"
80660 rm -f conftest.err conftest.$ac_objext \
80661 conftest$ac_exeext conftest.$ac_ext
80663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80664 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80665 if test `eval echo '${'$as_ac_var'}'` = yes; then
80666 cat >>confdefs.h <<_ACEOF
80667 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80668 _ACEOF
80671 done
80681 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
80682 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
80683 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
80684 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
80685 echo $ECHO_N "(cached) $ECHO_C" >&6
80686 else
80690 ac_ext=cc
80691 ac_cpp='$CXXCPP $CPPFLAGS'
80692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80696 cat >conftest.$ac_ext <<_ACEOF
80697 /* confdefs.h. */
80698 _ACEOF
80699 cat confdefs.h >>conftest.$ac_ext
80700 cat >>conftest.$ac_ext <<_ACEOF
80701 /* end confdefs.h. */
80702 #include <math.h>
80704 main ()
80706 sincosl(0, 0, 0);
80708 return 0;
80710 _ACEOF
80711 rm -f conftest.$ac_objext
80712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80713 (eval $ac_compile) 2>conftest.er1
80714 ac_status=$?
80715 grep -v '^ *+' conftest.er1 >conftest.err
80716 rm -f conftest.er1
80717 cat conftest.err >&5
80718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80719 (exit $ac_status); } &&
80720 { ac_try='test -z "$ac_cxx_werror_flag"
80721 || test ! -s conftest.err'
80722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80723 (eval $ac_try) 2>&5
80724 ac_status=$?
80725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80726 (exit $ac_status); }; } &&
80727 { ac_try='test -s conftest.$ac_objext'
80728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80729 (eval $ac_try) 2>&5
80730 ac_status=$?
80731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80732 (exit $ac_status); }; }; then
80733 glibcxx_cv_func_sincosl_use=yes
80734 else
80735 echo "$as_me: failed program was:" >&5
80736 sed 's/^/| /' conftest.$ac_ext >&5
80738 glibcxx_cv_func_sincosl_use=no
80740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80741 ac_ext=c
80742 ac_cpp='$CPP $CPPFLAGS'
80743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80751 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
80752 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
80754 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
80756 for ac_func in sincosl
80758 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80759 echo "$as_me:$LINENO: checking for $ac_func" >&5
80760 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80761 if eval "test \"\${$as_ac_var+set}\" = set"; then
80762 echo $ECHO_N "(cached) $ECHO_C" >&6
80763 else
80764 if test x$gcc_no_link = xyes; then
80765 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80766 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80767 { (exit 1); exit 1; }; }
80769 cat >conftest.$ac_ext <<_ACEOF
80770 /* confdefs.h. */
80771 _ACEOF
80772 cat confdefs.h >>conftest.$ac_ext
80773 cat >>conftest.$ac_ext <<_ACEOF
80774 /* end confdefs.h. */
80775 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80776 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80777 #define $ac_func innocuous_$ac_func
80779 /* System header to define __stub macros and hopefully few prototypes,
80780 which can conflict with char $ac_func (); below.
80781 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80782 <limits.h> exists even on freestanding compilers. */
80784 #ifdef __STDC__
80785 # include <limits.h>
80786 #else
80787 # include <assert.h>
80788 #endif
80790 #undef $ac_func
80792 /* Override any gcc2 internal prototype to avoid an error. */
80793 #ifdef __cplusplus
80794 extern "C"
80796 #endif
80797 /* We use char because int might match the return type of a gcc2
80798 builtin and then its argument prototype would still apply. */
80799 char $ac_func ();
80800 /* The GNU C library defines this for functions which it implements
80801 to always fail with ENOSYS. Some functions are actually named
80802 something starting with __ and the normal name is an alias. */
80803 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80804 choke me
80805 #else
80806 char (*f) () = $ac_func;
80807 #endif
80808 #ifdef __cplusplus
80810 #endif
80813 main ()
80815 return f != $ac_func;
80817 return 0;
80819 _ACEOF
80820 rm -f conftest.$ac_objext conftest$ac_exeext
80821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80822 (eval $ac_link) 2>conftest.er1
80823 ac_status=$?
80824 grep -v '^ *+' conftest.er1 >conftest.err
80825 rm -f conftest.er1
80826 cat conftest.err >&5
80827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80828 (exit $ac_status); } &&
80829 { ac_try='test -z "$ac_c_werror_flag"
80830 || test ! -s conftest.err'
80831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80832 (eval $ac_try) 2>&5
80833 ac_status=$?
80834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80835 (exit $ac_status); }; } &&
80836 { ac_try='test -s conftest$ac_exeext'
80837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80838 (eval $ac_try) 2>&5
80839 ac_status=$?
80840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80841 (exit $ac_status); }; }; then
80842 eval "$as_ac_var=yes"
80843 else
80844 echo "$as_me: failed program was:" >&5
80845 sed 's/^/| /' conftest.$ac_ext >&5
80847 eval "$as_ac_var=no"
80849 rm -f conftest.err conftest.$ac_objext \
80850 conftest$ac_exeext conftest.$ac_ext
80852 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80853 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80854 if test `eval echo '${'$as_ac_var'}'` = yes; then
80855 cat >>confdefs.h <<_ACEOF
80856 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80857 _ACEOF
80860 done
80862 else
80864 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
80865 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
80866 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
80867 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
80868 echo $ECHO_N "(cached) $ECHO_C" >&6
80869 else
80873 ac_ext=cc
80874 ac_cpp='$CXXCPP $CPPFLAGS'
80875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80879 cat >conftest.$ac_ext <<_ACEOF
80880 /* confdefs.h. */
80881 _ACEOF
80882 cat confdefs.h >>conftest.$ac_ext
80883 cat >>conftest.$ac_ext <<_ACEOF
80884 /* end confdefs.h. */
80885 #include <math.h>
80887 main ()
80889 _sincosl(0, 0, 0);
80891 return 0;
80893 _ACEOF
80894 rm -f conftest.$ac_objext
80895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80896 (eval $ac_compile) 2>conftest.er1
80897 ac_status=$?
80898 grep -v '^ *+' conftest.er1 >conftest.err
80899 rm -f conftest.er1
80900 cat conftest.err >&5
80901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80902 (exit $ac_status); } &&
80903 { ac_try='test -z "$ac_cxx_werror_flag"
80904 || test ! -s conftest.err'
80905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80906 (eval $ac_try) 2>&5
80907 ac_status=$?
80908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80909 (exit $ac_status); }; } &&
80910 { ac_try='test -s conftest.$ac_objext'
80911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80912 (eval $ac_try) 2>&5
80913 ac_status=$?
80914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80915 (exit $ac_status); }; }; then
80916 glibcxx_cv_func__sincosl_use=yes
80917 else
80918 echo "$as_me: failed program was:" >&5
80919 sed 's/^/| /' conftest.$ac_ext >&5
80921 glibcxx_cv_func__sincosl_use=no
80923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80924 ac_ext=c
80925 ac_cpp='$CPP $CPPFLAGS'
80926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80934 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
80935 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
80937 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
80939 for ac_func in _sincosl
80941 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80942 echo "$as_me:$LINENO: checking for $ac_func" >&5
80943 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80944 if eval "test \"\${$as_ac_var+set}\" = set"; then
80945 echo $ECHO_N "(cached) $ECHO_C" >&6
80946 else
80947 if test x$gcc_no_link = xyes; then
80948 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80949 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80950 { (exit 1); exit 1; }; }
80952 cat >conftest.$ac_ext <<_ACEOF
80953 /* confdefs.h. */
80954 _ACEOF
80955 cat confdefs.h >>conftest.$ac_ext
80956 cat >>conftest.$ac_ext <<_ACEOF
80957 /* end confdefs.h. */
80958 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80959 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80960 #define $ac_func innocuous_$ac_func
80962 /* System header to define __stub macros and hopefully few prototypes,
80963 which can conflict with char $ac_func (); below.
80964 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80965 <limits.h> exists even on freestanding compilers. */
80967 #ifdef __STDC__
80968 # include <limits.h>
80969 #else
80970 # include <assert.h>
80971 #endif
80973 #undef $ac_func
80975 /* Override any gcc2 internal prototype to avoid an error. */
80976 #ifdef __cplusplus
80977 extern "C"
80979 #endif
80980 /* We use char because int might match the return type of a gcc2
80981 builtin and then its argument prototype would still apply. */
80982 char $ac_func ();
80983 /* The GNU C library defines this for functions which it implements
80984 to always fail with ENOSYS. Some functions are actually named
80985 something starting with __ and the normal name is an alias. */
80986 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80987 choke me
80988 #else
80989 char (*f) () = $ac_func;
80990 #endif
80991 #ifdef __cplusplus
80993 #endif
80996 main ()
80998 return f != $ac_func;
81000 return 0;
81002 _ACEOF
81003 rm -f conftest.$ac_objext conftest$ac_exeext
81004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81005 (eval $ac_link) 2>conftest.er1
81006 ac_status=$?
81007 grep -v '^ *+' conftest.er1 >conftest.err
81008 rm -f conftest.er1
81009 cat conftest.err >&5
81010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81011 (exit $ac_status); } &&
81012 { ac_try='test -z "$ac_c_werror_flag"
81013 || test ! -s conftest.err'
81014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81015 (eval $ac_try) 2>&5
81016 ac_status=$?
81017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81018 (exit $ac_status); }; } &&
81019 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
81025 eval "$as_ac_var=yes"
81026 else
81027 echo "$as_me: failed program was:" >&5
81028 sed 's/^/| /' conftest.$ac_ext >&5
81030 eval "$as_ac_var=no"
81032 rm -f conftest.err conftest.$ac_objext \
81033 conftest$ac_exeext conftest.$ac_ext
81035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81036 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81037 if test `eval echo '${'$as_ac_var'}'` = yes; then
81038 cat >>confdefs.h <<_ACEOF
81039 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81040 _ACEOF
81043 done
81053 echo "$as_me:$LINENO: checking for finitel declaration" >&5
81054 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
81055 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
81056 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
81057 echo $ECHO_N "(cached) $ECHO_C" >&6
81058 else
81062 ac_ext=cc
81063 ac_cpp='$CXXCPP $CPPFLAGS'
81064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81068 cat >conftest.$ac_ext <<_ACEOF
81069 /* confdefs.h. */
81070 _ACEOF
81071 cat confdefs.h >>conftest.$ac_ext
81072 cat >>conftest.$ac_ext <<_ACEOF
81073 /* end confdefs.h. */
81074 #include <math.h>
81075 #ifdef HAVE_IEEEFP_H
81076 #include <ieeefp.h>
81077 #endif
81080 main ()
81082 finitel(0);
81084 return 0;
81086 _ACEOF
81087 rm -f conftest.$ac_objext
81088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81089 (eval $ac_compile) 2>conftest.er1
81090 ac_status=$?
81091 grep -v '^ *+' conftest.er1 >conftest.err
81092 rm -f conftest.er1
81093 cat conftest.err >&5
81094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81095 (exit $ac_status); } &&
81096 { ac_try='test -z "$ac_cxx_werror_flag"
81097 || test ! -s conftest.err'
81098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81099 (eval $ac_try) 2>&5
81100 ac_status=$?
81101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81102 (exit $ac_status); }; } &&
81103 { ac_try='test -s conftest.$ac_objext'
81104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81105 (eval $ac_try) 2>&5
81106 ac_status=$?
81107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81108 (exit $ac_status); }; }; then
81109 glibcxx_cv_func_finitel_use=yes
81110 else
81111 echo "$as_me: failed program was:" >&5
81112 sed 's/^/| /' conftest.$ac_ext >&5
81114 glibcxx_cv_func_finitel_use=no
81116 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81117 ac_ext=c
81118 ac_cpp='$CPP $CPPFLAGS'
81119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81127 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
81128 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
81130 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
81132 for ac_func in finitel
81134 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81135 echo "$as_me:$LINENO: checking for $ac_func" >&5
81136 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81137 if eval "test \"\${$as_ac_var+set}\" = set"; then
81138 echo $ECHO_N "(cached) $ECHO_C" >&6
81139 else
81140 if test x$gcc_no_link = xyes; then
81141 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81142 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81143 { (exit 1); exit 1; }; }
81145 cat >conftest.$ac_ext <<_ACEOF
81146 /* confdefs.h. */
81147 _ACEOF
81148 cat confdefs.h >>conftest.$ac_ext
81149 cat >>conftest.$ac_ext <<_ACEOF
81150 /* end confdefs.h. */
81151 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81152 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81153 #define $ac_func innocuous_$ac_func
81155 /* System header to define __stub macros and hopefully few prototypes,
81156 which can conflict with char $ac_func (); below.
81157 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81158 <limits.h> exists even on freestanding compilers. */
81160 #ifdef __STDC__
81161 # include <limits.h>
81162 #else
81163 # include <assert.h>
81164 #endif
81166 #undef $ac_func
81168 /* Override any gcc2 internal prototype to avoid an error. */
81169 #ifdef __cplusplus
81170 extern "C"
81172 #endif
81173 /* We use char because int might match the return type of a gcc2
81174 builtin and then its argument prototype would still apply. */
81175 char $ac_func ();
81176 /* The GNU C library defines this for functions which it implements
81177 to always fail with ENOSYS. Some functions are actually named
81178 something starting with __ and the normal name is an alias. */
81179 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81180 choke me
81181 #else
81182 char (*f) () = $ac_func;
81183 #endif
81184 #ifdef __cplusplus
81186 #endif
81189 main ()
81191 return f != $ac_func;
81193 return 0;
81195 _ACEOF
81196 rm -f conftest.$ac_objext conftest$ac_exeext
81197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81198 (eval $ac_link) 2>conftest.er1
81199 ac_status=$?
81200 grep -v '^ *+' conftest.er1 >conftest.err
81201 rm -f conftest.er1
81202 cat conftest.err >&5
81203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81204 (exit $ac_status); } &&
81205 { ac_try='test -z "$ac_c_werror_flag"
81206 || test ! -s conftest.err'
81207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81208 (eval $ac_try) 2>&5
81209 ac_status=$?
81210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81211 (exit $ac_status); }; } &&
81212 { ac_try='test -s conftest$ac_exeext'
81213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81214 (eval $ac_try) 2>&5
81215 ac_status=$?
81216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81217 (exit $ac_status); }; }; then
81218 eval "$as_ac_var=yes"
81219 else
81220 echo "$as_me: failed program was:" >&5
81221 sed 's/^/| /' conftest.$ac_ext >&5
81223 eval "$as_ac_var=no"
81225 rm -f conftest.err conftest.$ac_objext \
81226 conftest$ac_exeext conftest.$ac_ext
81228 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81229 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81230 if test `eval echo '${'$as_ac_var'}'` = yes; then
81231 cat >>confdefs.h <<_ACEOF
81232 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81233 _ACEOF
81236 done
81238 else
81240 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
81241 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
81242 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
81243 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
81244 echo $ECHO_N "(cached) $ECHO_C" >&6
81245 else
81249 ac_ext=cc
81250 ac_cpp='$CXXCPP $CPPFLAGS'
81251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81255 cat >conftest.$ac_ext <<_ACEOF
81256 /* confdefs.h. */
81257 _ACEOF
81258 cat confdefs.h >>conftest.$ac_ext
81259 cat >>conftest.$ac_ext <<_ACEOF
81260 /* end confdefs.h. */
81261 #include <math.h>
81262 #ifdef HAVE_IEEEFP_H
81263 #include <ieeefp.h>
81264 #endif
81267 main ()
81269 _finitel(0);
81271 return 0;
81273 _ACEOF
81274 rm -f conftest.$ac_objext
81275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81276 (eval $ac_compile) 2>conftest.er1
81277 ac_status=$?
81278 grep -v '^ *+' conftest.er1 >conftest.err
81279 rm -f conftest.er1
81280 cat conftest.err >&5
81281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81282 (exit $ac_status); } &&
81283 { ac_try='test -z "$ac_cxx_werror_flag"
81284 || test ! -s conftest.err'
81285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81286 (eval $ac_try) 2>&5
81287 ac_status=$?
81288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81289 (exit $ac_status); }; } &&
81290 { ac_try='test -s conftest.$ac_objext'
81291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81292 (eval $ac_try) 2>&5
81293 ac_status=$?
81294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81295 (exit $ac_status); }; }; then
81296 glibcxx_cv_func__finitel_use=yes
81297 else
81298 echo "$as_me: failed program was:" >&5
81299 sed 's/^/| /' conftest.$ac_ext >&5
81301 glibcxx_cv_func__finitel_use=no
81303 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81304 ac_ext=c
81305 ac_cpp='$CPP $CPPFLAGS'
81306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81314 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
81315 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
81317 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
81319 for ac_func in _finitel
81321 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81322 echo "$as_me:$LINENO: checking for $ac_func" >&5
81323 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81324 if eval "test \"\${$as_ac_var+set}\" = set"; then
81325 echo $ECHO_N "(cached) $ECHO_C" >&6
81326 else
81327 if test x$gcc_no_link = xyes; then
81328 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81329 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81330 { (exit 1); exit 1; }; }
81332 cat >conftest.$ac_ext <<_ACEOF
81333 /* confdefs.h. */
81334 _ACEOF
81335 cat confdefs.h >>conftest.$ac_ext
81336 cat >>conftest.$ac_ext <<_ACEOF
81337 /* end confdefs.h. */
81338 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81339 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81340 #define $ac_func innocuous_$ac_func
81342 /* System header to define __stub macros and hopefully few prototypes,
81343 which can conflict with char $ac_func (); below.
81344 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81345 <limits.h> exists even on freestanding compilers. */
81347 #ifdef __STDC__
81348 # include <limits.h>
81349 #else
81350 # include <assert.h>
81351 #endif
81353 #undef $ac_func
81355 /* Override any gcc2 internal prototype to avoid an error. */
81356 #ifdef __cplusplus
81357 extern "C"
81359 #endif
81360 /* We use char because int might match the return type of a gcc2
81361 builtin and then its argument prototype would still apply. */
81362 char $ac_func ();
81363 /* The GNU C library defines this for functions which it implements
81364 to always fail with ENOSYS. Some functions are actually named
81365 something starting with __ and the normal name is an alias. */
81366 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81367 choke me
81368 #else
81369 char (*f) () = $ac_func;
81370 #endif
81371 #ifdef __cplusplus
81373 #endif
81376 main ()
81378 return f != $ac_func;
81380 return 0;
81382 _ACEOF
81383 rm -f conftest.$ac_objext conftest$ac_exeext
81384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81385 (eval $ac_link) 2>conftest.er1
81386 ac_status=$?
81387 grep -v '^ *+' conftest.er1 >conftest.err
81388 rm -f conftest.er1
81389 cat conftest.err >&5
81390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81391 (exit $ac_status); } &&
81392 { ac_try='test -z "$ac_c_werror_flag"
81393 || test ! -s conftest.err'
81394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81395 (eval $ac_try) 2>&5
81396 ac_status=$?
81397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81398 (exit $ac_status); }; } &&
81399 { ac_try='test -s conftest$ac_exeext'
81400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81401 (eval $ac_try) 2>&5
81402 ac_status=$?
81403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81404 (exit $ac_status); }; }; then
81405 eval "$as_ac_var=yes"
81406 else
81407 echo "$as_me: failed program was:" >&5
81408 sed 's/^/| /' conftest.$ac_ext >&5
81410 eval "$as_ac_var=no"
81412 rm -f conftest.err conftest.$ac_objext \
81413 conftest$ac_exeext conftest.$ac_ext
81415 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81416 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81417 if test `eval echo '${'$as_ac_var'}'` = yes; then
81418 cat >>confdefs.h <<_ACEOF
81419 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81420 _ACEOF
81423 done
81432 LIBS="$ac_save_LIBS"
81433 CXXFLAGS="$ac_save_CXXFLAGS"
81437 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
81438 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
81439 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
81440 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
81441 echo $ECHO_N "(cached) $ECHO_C" >&6
81442 else
81446 ac_ext=cc
81447 ac_cpp='$CXXCPP $CPPFLAGS'
81448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81452 cat >conftest.$ac_ext <<_ACEOF
81453 /* confdefs.h. */
81454 _ACEOF
81455 cat confdefs.h >>conftest.$ac_ext
81456 cat >>conftest.$ac_ext <<_ACEOF
81457 /* end confdefs.h. */
81458 #include <math.h>
81460 main ()
81462 __builtin_abs(0);
81464 return 0;
81466 _ACEOF
81467 rm -f conftest.$ac_objext
81468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81469 (eval $ac_compile) 2>conftest.er1
81470 ac_status=$?
81471 grep -v '^ *+' conftest.er1 >conftest.err
81472 rm -f conftest.er1
81473 cat conftest.err >&5
81474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81475 (exit $ac_status); } &&
81476 { ac_try='test -z "$ac_cxx_werror_flag"
81477 || test ! -s conftest.err'
81478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81479 (eval $ac_try) 2>&5
81480 ac_status=$?
81481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81482 (exit $ac_status); }; } &&
81483 { ac_try='test -s conftest.$ac_objext'
81484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81485 (eval $ac_try) 2>&5
81486 ac_status=$?
81487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81488 (exit $ac_status); }; }; then
81489 glibcxx_cv_func___builtin_abs_use=yes
81490 else
81491 echo "$as_me: failed program was:" >&5
81492 sed 's/^/| /' conftest.$ac_ext >&5
81494 glibcxx_cv_func___builtin_abs_use=no
81496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81497 ac_ext=c
81498 ac_cpp='$CPP $CPPFLAGS'
81499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81507 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
81508 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
81509 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
81510 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
81511 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
81512 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
81513 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
81514 echo $ECHO_N "(cached) $ECHO_C" >&6
81515 else
81517 if test x$gcc_no_link = xyes; then
81518 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81519 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81520 { (exit 1); exit 1; }; }
81522 cat >conftest.$ac_ext <<_ACEOF
81523 /* confdefs.h. */
81524 _ACEOF
81525 cat confdefs.h >>conftest.$ac_ext
81526 cat >>conftest.$ac_ext <<_ACEOF
81527 /* end confdefs.h. */
81528 #include <math.h>
81530 main ()
81532 __builtin_abs(0);
81534 return 0;
81536 _ACEOF
81537 rm -f conftest.$ac_objext conftest$ac_exeext
81538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81539 (eval $ac_link) 2>conftest.er1
81540 ac_status=$?
81541 grep -v '^ *+' conftest.er1 >conftest.err
81542 rm -f conftest.er1
81543 cat conftest.err >&5
81544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81545 (exit $ac_status); } &&
81546 { ac_try='test -z "$ac_c_werror_flag"
81547 || test ! -s conftest.err'
81548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81549 (eval $ac_try) 2>&5
81550 ac_status=$?
81551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81552 (exit $ac_status); }; } &&
81553 { ac_try='test -s conftest$ac_exeext'
81554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81555 (eval $ac_try) 2>&5
81556 ac_status=$?
81557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81558 (exit $ac_status); }; }; then
81559 glibcxx_cv_func___builtin_abs_link=yes
81560 else
81561 echo "$as_me: failed program was:" >&5
81562 sed 's/^/| /' conftest.$ac_ext >&5
81564 glibcxx_cv_func___builtin_abs_link=no
81566 rm -f conftest.err conftest.$ac_objext \
81567 conftest$ac_exeext conftest.$ac_ext
81572 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
81573 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
81575 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
81577 cat >>confdefs.h <<\_ACEOF
81578 #define HAVE___BUILTIN_ABS 1
81579 _ACEOF
81586 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
81587 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
81588 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
81589 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
81590 echo $ECHO_N "(cached) $ECHO_C" >&6
81591 else
81595 ac_ext=cc
81596 ac_cpp='$CXXCPP $CPPFLAGS'
81597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81601 cat >conftest.$ac_ext <<_ACEOF
81602 /* confdefs.h. */
81603 _ACEOF
81604 cat confdefs.h >>conftest.$ac_ext
81605 cat >>conftest.$ac_ext <<_ACEOF
81606 /* end confdefs.h. */
81607 #include <math.h>
81609 main ()
81611 __builtin_fabsf(0);
81613 return 0;
81615 _ACEOF
81616 rm -f conftest.$ac_objext
81617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81618 (eval $ac_compile) 2>conftest.er1
81619 ac_status=$?
81620 grep -v '^ *+' conftest.er1 >conftest.err
81621 rm -f conftest.er1
81622 cat conftest.err >&5
81623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81624 (exit $ac_status); } &&
81625 { ac_try='test -z "$ac_cxx_werror_flag"
81626 || test ! -s conftest.err'
81627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81628 (eval $ac_try) 2>&5
81629 ac_status=$?
81630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81631 (exit $ac_status); }; } &&
81632 { ac_try='test -s conftest.$ac_objext'
81633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81634 (eval $ac_try) 2>&5
81635 ac_status=$?
81636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81637 (exit $ac_status); }; }; then
81638 glibcxx_cv_func___builtin_fabsf_use=yes
81639 else
81640 echo "$as_me: failed program was:" >&5
81641 sed 's/^/| /' conftest.$ac_ext >&5
81643 glibcxx_cv_func___builtin_fabsf_use=no
81645 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81646 ac_ext=c
81647 ac_cpp='$CPP $CPPFLAGS'
81648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81656 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
81657 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
81658 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
81659 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
81660 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
81661 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
81662 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
81663 echo $ECHO_N "(cached) $ECHO_C" >&6
81664 else
81666 if test x$gcc_no_link = xyes; then
81667 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81668 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81669 { (exit 1); exit 1; }; }
81671 cat >conftest.$ac_ext <<_ACEOF
81672 /* confdefs.h. */
81673 _ACEOF
81674 cat confdefs.h >>conftest.$ac_ext
81675 cat >>conftest.$ac_ext <<_ACEOF
81676 /* end confdefs.h. */
81677 #include <math.h>
81679 main ()
81681 __builtin_fabsf(0);
81683 return 0;
81685 _ACEOF
81686 rm -f conftest.$ac_objext conftest$ac_exeext
81687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81688 (eval $ac_link) 2>conftest.er1
81689 ac_status=$?
81690 grep -v '^ *+' conftest.er1 >conftest.err
81691 rm -f conftest.er1
81692 cat conftest.err >&5
81693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81694 (exit $ac_status); } &&
81695 { ac_try='test -z "$ac_c_werror_flag"
81696 || test ! -s conftest.err'
81697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81698 (eval $ac_try) 2>&5
81699 ac_status=$?
81700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81701 (exit $ac_status); }; } &&
81702 { ac_try='test -s conftest$ac_exeext'
81703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81704 (eval $ac_try) 2>&5
81705 ac_status=$?
81706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81707 (exit $ac_status); }; }; then
81708 glibcxx_cv_func___builtin_fabsf_link=yes
81709 else
81710 echo "$as_me: failed program was:" >&5
81711 sed 's/^/| /' conftest.$ac_ext >&5
81713 glibcxx_cv_func___builtin_fabsf_link=no
81715 rm -f conftest.err conftest.$ac_objext \
81716 conftest$ac_exeext conftest.$ac_ext
81721 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
81722 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
81724 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
81726 cat >>confdefs.h <<\_ACEOF
81727 #define HAVE___BUILTIN_FABSF 1
81728 _ACEOF
81735 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
81736 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
81737 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
81738 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
81739 echo $ECHO_N "(cached) $ECHO_C" >&6
81740 else
81744 ac_ext=cc
81745 ac_cpp='$CXXCPP $CPPFLAGS'
81746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81750 cat >conftest.$ac_ext <<_ACEOF
81751 /* confdefs.h. */
81752 _ACEOF
81753 cat confdefs.h >>conftest.$ac_ext
81754 cat >>conftest.$ac_ext <<_ACEOF
81755 /* end confdefs.h. */
81756 #include <math.h>
81758 main ()
81760 __builtin_fabs(0);
81762 return 0;
81764 _ACEOF
81765 rm -f conftest.$ac_objext
81766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81767 (eval $ac_compile) 2>conftest.er1
81768 ac_status=$?
81769 grep -v '^ *+' conftest.er1 >conftest.err
81770 rm -f conftest.er1
81771 cat conftest.err >&5
81772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81773 (exit $ac_status); } &&
81774 { ac_try='test -z "$ac_cxx_werror_flag"
81775 || test ! -s conftest.err'
81776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81777 (eval $ac_try) 2>&5
81778 ac_status=$?
81779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81780 (exit $ac_status); }; } &&
81781 { ac_try='test -s conftest.$ac_objext'
81782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81783 (eval $ac_try) 2>&5
81784 ac_status=$?
81785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81786 (exit $ac_status); }; }; then
81787 glibcxx_cv_func___builtin_fabs_use=yes
81788 else
81789 echo "$as_me: failed program was:" >&5
81790 sed 's/^/| /' conftest.$ac_ext >&5
81792 glibcxx_cv_func___builtin_fabs_use=no
81794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81795 ac_ext=c
81796 ac_cpp='$CPP $CPPFLAGS'
81797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81805 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
81806 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
81807 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
81808 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
81809 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
81810 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
81811 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
81812 echo $ECHO_N "(cached) $ECHO_C" >&6
81813 else
81815 if test x$gcc_no_link = xyes; then
81816 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81817 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81818 { (exit 1); exit 1; }; }
81820 cat >conftest.$ac_ext <<_ACEOF
81821 /* confdefs.h. */
81822 _ACEOF
81823 cat confdefs.h >>conftest.$ac_ext
81824 cat >>conftest.$ac_ext <<_ACEOF
81825 /* end confdefs.h. */
81826 #include <math.h>
81828 main ()
81830 __builtin_fabs(0);
81832 return 0;
81834 _ACEOF
81835 rm -f conftest.$ac_objext conftest$ac_exeext
81836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81837 (eval $ac_link) 2>conftest.er1
81838 ac_status=$?
81839 grep -v '^ *+' conftest.er1 >conftest.err
81840 rm -f conftest.er1
81841 cat conftest.err >&5
81842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81843 (exit $ac_status); } &&
81844 { ac_try='test -z "$ac_c_werror_flag"
81845 || test ! -s conftest.err'
81846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81847 (eval $ac_try) 2>&5
81848 ac_status=$?
81849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81850 (exit $ac_status); }; } &&
81851 { ac_try='test -s conftest$ac_exeext'
81852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81853 (eval $ac_try) 2>&5
81854 ac_status=$?
81855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81856 (exit $ac_status); }; }; then
81857 glibcxx_cv_func___builtin_fabs_link=yes
81858 else
81859 echo "$as_me: failed program was:" >&5
81860 sed 's/^/| /' conftest.$ac_ext >&5
81862 glibcxx_cv_func___builtin_fabs_link=no
81864 rm -f conftest.err conftest.$ac_objext \
81865 conftest$ac_exeext conftest.$ac_ext
81870 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
81871 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
81873 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
81875 cat >>confdefs.h <<\_ACEOF
81876 #define HAVE___BUILTIN_FABS 1
81877 _ACEOF
81884 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
81885 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
81886 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
81887 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
81888 echo $ECHO_N "(cached) $ECHO_C" >&6
81889 else
81893 ac_ext=cc
81894 ac_cpp='$CXXCPP $CPPFLAGS'
81895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81899 cat >conftest.$ac_ext <<_ACEOF
81900 /* confdefs.h. */
81901 _ACEOF
81902 cat confdefs.h >>conftest.$ac_ext
81903 cat >>conftest.$ac_ext <<_ACEOF
81904 /* end confdefs.h. */
81905 #include <math.h>
81907 main ()
81909 __builtin_fabsl(0);
81911 return 0;
81913 _ACEOF
81914 rm -f conftest.$ac_objext
81915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81916 (eval $ac_compile) 2>conftest.er1
81917 ac_status=$?
81918 grep -v '^ *+' conftest.er1 >conftest.err
81919 rm -f conftest.er1
81920 cat conftest.err >&5
81921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81922 (exit $ac_status); } &&
81923 { ac_try='test -z "$ac_cxx_werror_flag"
81924 || test ! -s conftest.err'
81925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81926 (eval $ac_try) 2>&5
81927 ac_status=$?
81928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81929 (exit $ac_status); }; } &&
81930 { ac_try='test -s conftest.$ac_objext'
81931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81932 (eval $ac_try) 2>&5
81933 ac_status=$?
81934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81935 (exit $ac_status); }; }; then
81936 glibcxx_cv_func___builtin_fabsl_use=yes
81937 else
81938 echo "$as_me: failed program was:" >&5
81939 sed 's/^/| /' conftest.$ac_ext >&5
81941 glibcxx_cv_func___builtin_fabsl_use=no
81943 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81944 ac_ext=c
81945 ac_cpp='$CPP $CPPFLAGS'
81946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81954 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
81955 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
81956 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
81957 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
81958 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
81959 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
81960 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
81961 echo $ECHO_N "(cached) $ECHO_C" >&6
81962 else
81964 if test x$gcc_no_link = xyes; then
81965 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81966 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81967 { (exit 1); exit 1; }; }
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_fabsl(0);
81981 return 0;
81983 _ACEOF
81984 rm -f conftest.$ac_objext conftest$ac_exeext
81985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81986 (eval $ac_link) 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_c_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_exeext'
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_fabsl_link=yes
82007 else
82008 echo "$as_me: failed program was:" >&5
82009 sed 's/^/| /' conftest.$ac_ext >&5
82011 glibcxx_cv_func___builtin_fabsl_link=no
82013 rm -f conftest.err conftest.$ac_objext \
82014 conftest$ac_exeext conftest.$ac_ext
82019 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
82020 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
82022 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
82024 cat >>confdefs.h <<\_ACEOF
82025 #define HAVE___BUILTIN_FABSL 1
82026 _ACEOF
82033 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
82034 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
82035 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
82036 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
82037 echo $ECHO_N "(cached) $ECHO_C" >&6
82038 else
82042 ac_ext=cc
82043 ac_cpp='$CXXCPP $CPPFLAGS'
82044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82048 cat >conftest.$ac_ext <<_ACEOF
82049 /* confdefs.h. */
82050 _ACEOF
82051 cat confdefs.h >>conftest.$ac_ext
82052 cat >>conftest.$ac_ext <<_ACEOF
82053 /* end confdefs.h. */
82054 #include <math.h>
82056 main ()
82058 __builtin_labs(0);
82060 return 0;
82062 _ACEOF
82063 rm -f conftest.$ac_objext
82064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82065 (eval $ac_compile) 2>conftest.er1
82066 ac_status=$?
82067 grep -v '^ *+' conftest.er1 >conftest.err
82068 rm -f conftest.er1
82069 cat conftest.err >&5
82070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82071 (exit $ac_status); } &&
82072 { ac_try='test -z "$ac_cxx_werror_flag"
82073 || test ! -s conftest.err'
82074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82075 (eval $ac_try) 2>&5
82076 ac_status=$?
82077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82078 (exit $ac_status); }; } &&
82079 { ac_try='test -s conftest.$ac_objext'
82080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82081 (eval $ac_try) 2>&5
82082 ac_status=$?
82083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82084 (exit $ac_status); }; }; then
82085 glibcxx_cv_func___builtin_labs_use=yes
82086 else
82087 echo "$as_me: failed program was:" >&5
82088 sed 's/^/| /' conftest.$ac_ext >&5
82090 glibcxx_cv_func___builtin_labs_use=no
82092 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82093 ac_ext=c
82094 ac_cpp='$CPP $CPPFLAGS'
82095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82103 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
82104 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
82105 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
82106 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
82107 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
82108 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
82109 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
82110 echo $ECHO_N "(cached) $ECHO_C" >&6
82111 else
82113 if test x$gcc_no_link = xyes; then
82114 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82115 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82116 { (exit 1); exit 1; }; }
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_labs(0);
82130 return 0;
82132 _ACEOF
82133 rm -f conftest.$ac_objext conftest$ac_exeext
82134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82135 (eval $ac_link) 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_c_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_exeext'
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_labs_link=yes
82156 else
82157 echo "$as_me: failed program was:" >&5
82158 sed 's/^/| /' conftest.$ac_ext >&5
82160 glibcxx_cv_func___builtin_labs_link=no
82162 rm -f conftest.err conftest.$ac_objext \
82163 conftest$ac_exeext conftest.$ac_ext
82168 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
82169 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
82171 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
82173 cat >>confdefs.h <<\_ACEOF
82174 #define HAVE___BUILTIN_LABS 1
82175 _ACEOF
82183 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
82184 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
82185 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
82186 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
82187 echo $ECHO_N "(cached) $ECHO_C" >&6
82188 else
82192 ac_ext=cc
82193 ac_cpp='$CXXCPP $CPPFLAGS'
82194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82198 cat >conftest.$ac_ext <<_ACEOF
82199 /* confdefs.h. */
82200 _ACEOF
82201 cat confdefs.h >>conftest.$ac_ext
82202 cat >>conftest.$ac_ext <<_ACEOF
82203 /* end confdefs.h. */
82204 #include <math.h>
82206 main ()
82208 __builtin_sqrtf(0);
82210 return 0;
82212 _ACEOF
82213 rm -f conftest.$ac_objext
82214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82215 (eval $ac_compile) 2>conftest.er1
82216 ac_status=$?
82217 grep -v '^ *+' conftest.er1 >conftest.err
82218 rm -f conftest.er1
82219 cat conftest.err >&5
82220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82221 (exit $ac_status); } &&
82222 { ac_try='test -z "$ac_cxx_werror_flag"
82223 || test ! -s conftest.err'
82224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82225 (eval $ac_try) 2>&5
82226 ac_status=$?
82227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82228 (exit $ac_status); }; } &&
82229 { ac_try='test -s conftest.$ac_objext'
82230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82231 (eval $ac_try) 2>&5
82232 ac_status=$?
82233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82234 (exit $ac_status); }; }; then
82235 glibcxx_cv_func___builtin_sqrtf_use=yes
82236 else
82237 echo "$as_me: failed program was:" >&5
82238 sed 's/^/| /' conftest.$ac_ext >&5
82240 glibcxx_cv_func___builtin_sqrtf_use=no
82242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82243 ac_ext=c
82244 ac_cpp='$CPP $CPPFLAGS'
82245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82253 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
82254 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
82255 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
82256 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
82257 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
82258 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
82259 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
82260 echo $ECHO_N "(cached) $ECHO_C" >&6
82261 else
82263 if test x$gcc_no_link = xyes; then
82264 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82265 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82266 { (exit 1); exit 1; }; }
82268 cat >conftest.$ac_ext <<_ACEOF
82269 /* confdefs.h. */
82270 _ACEOF
82271 cat confdefs.h >>conftest.$ac_ext
82272 cat >>conftest.$ac_ext <<_ACEOF
82273 /* end confdefs.h. */
82274 #include <math.h>
82276 main ()
82278 __builtin_sqrtf(0);
82280 return 0;
82282 _ACEOF
82283 rm -f conftest.$ac_objext conftest$ac_exeext
82284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82285 (eval $ac_link) 2>conftest.er1
82286 ac_status=$?
82287 grep -v '^ *+' conftest.er1 >conftest.err
82288 rm -f conftest.er1
82289 cat conftest.err >&5
82290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82291 (exit $ac_status); } &&
82292 { ac_try='test -z "$ac_c_werror_flag"
82293 || test ! -s conftest.err'
82294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82295 (eval $ac_try) 2>&5
82296 ac_status=$?
82297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82298 (exit $ac_status); }; } &&
82299 { ac_try='test -s conftest$ac_exeext'
82300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82301 (eval $ac_try) 2>&5
82302 ac_status=$?
82303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82304 (exit $ac_status); }; }; then
82305 glibcxx_cv_func___builtin_sqrtf_link=yes
82306 else
82307 echo "$as_me: failed program was:" >&5
82308 sed 's/^/| /' conftest.$ac_ext >&5
82310 glibcxx_cv_func___builtin_sqrtf_link=no
82312 rm -f conftest.err conftest.$ac_objext \
82313 conftest$ac_exeext conftest.$ac_ext
82318 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
82319 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
82321 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
82323 cat >>confdefs.h <<\_ACEOF
82324 #define HAVE___BUILTIN_SQRTF 1
82325 _ACEOF
82332 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
82333 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
82334 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
82335 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
82336 echo $ECHO_N "(cached) $ECHO_C" >&6
82337 else
82341 ac_ext=cc
82342 ac_cpp='$CXXCPP $CPPFLAGS'
82343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82347 cat >conftest.$ac_ext <<_ACEOF
82348 /* confdefs.h. */
82349 _ACEOF
82350 cat confdefs.h >>conftest.$ac_ext
82351 cat >>conftest.$ac_ext <<_ACEOF
82352 /* end confdefs.h. */
82353 #include <math.h>
82355 main ()
82357 __builtin_sqrt(0);
82359 return 0;
82361 _ACEOF
82362 rm -f conftest.$ac_objext
82363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82364 (eval $ac_compile) 2>conftest.er1
82365 ac_status=$?
82366 grep -v '^ *+' conftest.er1 >conftest.err
82367 rm -f conftest.er1
82368 cat conftest.err >&5
82369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82370 (exit $ac_status); } &&
82371 { ac_try='test -z "$ac_cxx_werror_flag"
82372 || test ! -s conftest.err'
82373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82374 (eval $ac_try) 2>&5
82375 ac_status=$?
82376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82377 (exit $ac_status); }; } &&
82378 { ac_try='test -s conftest.$ac_objext'
82379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82380 (eval $ac_try) 2>&5
82381 ac_status=$?
82382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82383 (exit $ac_status); }; }; then
82384 glibcxx_cv_func___builtin_sqrt_use=yes
82385 else
82386 echo "$as_me: failed program was:" >&5
82387 sed 's/^/| /' conftest.$ac_ext >&5
82389 glibcxx_cv_func___builtin_sqrt_use=no
82391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82392 ac_ext=c
82393 ac_cpp='$CPP $CPPFLAGS'
82394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82402 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
82403 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
82404 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
82405 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
82406 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
82407 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
82408 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
82409 echo $ECHO_N "(cached) $ECHO_C" >&6
82410 else
82412 if test x$gcc_no_link = xyes; then
82413 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82414 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82415 { (exit 1); exit 1; }; }
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_sqrt(0);
82429 return 0;
82431 _ACEOF
82432 rm -f conftest.$ac_objext conftest$ac_exeext
82433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82434 (eval $ac_link) 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_c_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_exeext'
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_sqrt_link=yes
82455 else
82456 echo "$as_me: failed program was:" >&5
82457 sed 's/^/| /' conftest.$ac_ext >&5
82459 glibcxx_cv_func___builtin_sqrt_link=no
82461 rm -f conftest.err conftest.$ac_objext \
82462 conftest$ac_exeext conftest.$ac_ext
82467 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
82468 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
82470 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
82472 cat >>confdefs.h <<\_ACEOF
82473 #define HAVE___BUILTIN_SQRT 1
82474 _ACEOF
82481 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
82482 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
82483 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
82484 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
82485 echo $ECHO_N "(cached) $ECHO_C" >&6
82486 else
82490 ac_ext=cc
82491 ac_cpp='$CXXCPP $CPPFLAGS'
82492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82496 cat >conftest.$ac_ext <<_ACEOF
82497 /* confdefs.h. */
82498 _ACEOF
82499 cat confdefs.h >>conftest.$ac_ext
82500 cat >>conftest.$ac_ext <<_ACEOF
82501 /* end confdefs.h. */
82502 #include <math.h>
82504 main ()
82506 __builtin_sqrtl(0);
82508 return 0;
82510 _ACEOF
82511 rm -f conftest.$ac_objext
82512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82513 (eval $ac_compile) 2>conftest.er1
82514 ac_status=$?
82515 grep -v '^ *+' conftest.er1 >conftest.err
82516 rm -f conftest.er1
82517 cat conftest.err >&5
82518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82519 (exit $ac_status); } &&
82520 { ac_try='test -z "$ac_cxx_werror_flag"
82521 || test ! -s conftest.err'
82522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82523 (eval $ac_try) 2>&5
82524 ac_status=$?
82525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82526 (exit $ac_status); }; } &&
82527 { ac_try='test -s conftest.$ac_objext'
82528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82529 (eval $ac_try) 2>&5
82530 ac_status=$?
82531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82532 (exit $ac_status); }; }; then
82533 glibcxx_cv_func___builtin_sqrtl_use=yes
82534 else
82535 echo "$as_me: failed program was:" >&5
82536 sed 's/^/| /' conftest.$ac_ext >&5
82538 glibcxx_cv_func___builtin_sqrtl_use=no
82540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82541 ac_ext=c
82542 ac_cpp='$CPP $CPPFLAGS'
82543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82551 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
82552 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
82553 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
82554 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
82555 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
82556 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
82557 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
82558 echo $ECHO_N "(cached) $ECHO_C" >&6
82559 else
82561 if test x$gcc_no_link = xyes; then
82562 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82563 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82564 { (exit 1); exit 1; }; }
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_sqrtl(0);
82578 return 0;
82580 _ACEOF
82581 rm -f conftest.$ac_objext conftest$ac_exeext
82582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82583 (eval $ac_link) 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_c_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_exeext'
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_sqrtl_link=yes
82604 else
82605 echo "$as_me: failed program was:" >&5
82606 sed 's/^/| /' conftest.$ac_ext >&5
82608 glibcxx_cv_func___builtin_sqrtl_link=no
82610 rm -f conftest.err conftest.$ac_objext \
82611 conftest$ac_exeext conftest.$ac_ext
82616 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
82617 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
82619 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
82621 cat >>confdefs.h <<\_ACEOF
82622 #define HAVE___BUILTIN_SQRTL 1
82623 _ACEOF
82631 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
82632 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
82633 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
82634 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
82635 echo $ECHO_N "(cached) $ECHO_C" >&6
82636 else
82640 ac_ext=cc
82641 ac_cpp='$CXXCPP $CPPFLAGS'
82642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82646 cat >conftest.$ac_ext <<_ACEOF
82647 /* confdefs.h. */
82648 _ACEOF
82649 cat confdefs.h >>conftest.$ac_ext
82650 cat >>conftest.$ac_ext <<_ACEOF
82651 /* end confdefs.h. */
82652 #include <math.h>
82654 main ()
82656 __builtin_sinf(0);
82658 return 0;
82660 _ACEOF
82661 rm -f conftest.$ac_objext
82662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82663 (eval $ac_compile) 2>conftest.er1
82664 ac_status=$?
82665 grep -v '^ *+' conftest.er1 >conftest.err
82666 rm -f conftest.er1
82667 cat conftest.err >&5
82668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82669 (exit $ac_status); } &&
82670 { ac_try='test -z "$ac_cxx_werror_flag"
82671 || test ! -s conftest.err'
82672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82673 (eval $ac_try) 2>&5
82674 ac_status=$?
82675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82676 (exit $ac_status); }; } &&
82677 { ac_try='test -s conftest.$ac_objext'
82678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82679 (eval $ac_try) 2>&5
82680 ac_status=$?
82681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82682 (exit $ac_status); }; }; then
82683 glibcxx_cv_func___builtin_sinf_use=yes
82684 else
82685 echo "$as_me: failed program was:" >&5
82686 sed 's/^/| /' conftest.$ac_ext >&5
82688 glibcxx_cv_func___builtin_sinf_use=no
82690 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82691 ac_ext=c
82692 ac_cpp='$CPP $CPPFLAGS'
82693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82701 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
82702 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
82703 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
82704 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
82705 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
82706 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
82707 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
82708 echo $ECHO_N "(cached) $ECHO_C" >&6
82709 else
82711 if test x$gcc_no_link = xyes; then
82712 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82713 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82714 { (exit 1); exit 1; }; }
82716 cat >conftest.$ac_ext <<_ACEOF
82717 /* confdefs.h. */
82718 _ACEOF
82719 cat confdefs.h >>conftest.$ac_ext
82720 cat >>conftest.$ac_ext <<_ACEOF
82721 /* end confdefs.h. */
82722 #include <math.h>
82724 main ()
82726 __builtin_sinf(0);
82728 return 0;
82730 _ACEOF
82731 rm -f conftest.$ac_objext conftest$ac_exeext
82732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82733 (eval $ac_link) 2>conftest.er1
82734 ac_status=$?
82735 grep -v '^ *+' conftest.er1 >conftest.err
82736 rm -f conftest.er1
82737 cat conftest.err >&5
82738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82739 (exit $ac_status); } &&
82740 { ac_try='test -z "$ac_c_werror_flag"
82741 || test ! -s conftest.err'
82742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82743 (eval $ac_try) 2>&5
82744 ac_status=$?
82745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82746 (exit $ac_status); }; } &&
82747 { ac_try='test -s conftest$ac_exeext'
82748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82749 (eval $ac_try) 2>&5
82750 ac_status=$?
82751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82752 (exit $ac_status); }; }; then
82753 glibcxx_cv_func___builtin_sinf_link=yes
82754 else
82755 echo "$as_me: failed program was:" >&5
82756 sed 's/^/| /' conftest.$ac_ext >&5
82758 glibcxx_cv_func___builtin_sinf_link=no
82760 rm -f conftest.err conftest.$ac_objext \
82761 conftest$ac_exeext conftest.$ac_ext
82766 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
82767 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
82769 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
82771 cat >>confdefs.h <<\_ACEOF
82772 #define HAVE___BUILTIN_SINF 1
82773 _ACEOF
82780 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
82781 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
82782 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
82783 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
82784 echo $ECHO_N "(cached) $ECHO_C" >&6
82785 else
82789 ac_ext=cc
82790 ac_cpp='$CXXCPP $CPPFLAGS'
82791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82795 cat >conftest.$ac_ext <<_ACEOF
82796 /* confdefs.h. */
82797 _ACEOF
82798 cat confdefs.h >>conftest.$ac_ext
82799 cat >>conftest.$ac_ext <<_ACEOF
82800 /* end confdefs.h. */
82801 #include <math.h>
82803 main ()
82805 __builtin_sin(0);
82807 return 0;
82809 _ACEOF
82810 rm -f conftest.$ac_objext
82811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82812 (eval $ac_compile) 2>conftest.er1
82813 ac_status=$?
82814 grep -v '^ *+' conftest.er1 >conftest.err
82815 rm -f conftest.er1
82816 cat conftest.err >&5
82817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82818 (exit $ac_status); } &&
82819 { ac_try='test -z "$ac_cxx_werror_flag"
82820 || test ! -s conftest.err'
82821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82822 (eval $ac_try) 2>&5
82823 ac_status=$?
82824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82825 (exit $ac_status); }; } &&
82826 { ac_try='test -s conftest.$ac_objext'
82827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82828 (eval $ac_try) 2>&5
82829 ac_status=$?
82830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82831 (exit $ac_status); }; }; then
82832 glibcxx_cv_func___builtin_sin_use=yes
82833 else
82834 echo "$as_me: failed program was:" >&5
82835 sed 's/^/| /' conftest.$ac_ext >&5
82837 glibcxx_cv_func___builtin_sin_use=no
82839 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82840 ac_ext=c
82841 ac_cpp='$CPP $CPPFLAGS'
82842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82850 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
82851 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
82852 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
82853 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
82854 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
82855 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
82856 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
82857 echo $ECHO_N "(cached) $ECHO_C" >&6
82858 else
82860 if test x$gcc_no_link = xyes; then
82861 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82862 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82863 { (exit 1); exit 1; }; }
82865 cat >conftest.$ac_ext <<_ACEOF
82866 /* confdefs.h. */
82867 _ACEOF
82868 cat confdefs.h >>conftest.$ac_ext
82869 cat >>conftest.$ac_ext <<_ACEOF
82870 /* end confdefs.h. */
82871 #include <math.h>
82873 main ()
82875 __builtin_sin(0);
82877 return 0;
82879 _ACEOF
82880 rm -f conftest.$ac_objext conftest$ac_exeext
82881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82882 (eval $ac_link) 2>conftest.er1
82883 ac_status=$?
82884 grep -v '^ *+' conftest.er1 >conftest.err
82885 rm -f conftest.er1
82886 cat conftest.err >&5
82887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82888 (exit $ac_status); } &&
82889 { ac_try='test -z "$ac_c_werror_flag"
82890 || test ! -s conftest.err'
82891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82892 (eval $ac_try) 2>&5
82893 ac_status=$?
82894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82895 (exit $ac_status); }; } &&
82896 { ac_try='test -s conftest$ac_exeext'
82897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82898 (eval $ac_try) 2>&5
82899 ac_status=$?
82900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82901 (exit $ac_status); }; }; then
82902 glibcxx_cv_func___builtin_sin_link=yes
82903 else
82904 echo "$as_me: failed program was:" >&5
82905 sed 's/^/| /' conftest.$ac_ext >&5
82907 glibcxx_cv_func___builtin_sin_link=no
82909 rm -f conftest.err conftest.$ac_objext \
82910 conftest$ac_exeext conftest.$ac_ext
82915 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
82916 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
82918 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
82920 cat >>confdefs.h <<\_ACEOF
82921 #define HAVE___BUILTIN_SIN 1
82922 _ACEOF
82929 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
82930 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
82931 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
82932 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
82933 echo $ECHO_N "(cached) $ECHO_C" >&6
82934 else
82938 ac_ext=cc
82939 ac_cpp='$CXXCPP $CPPFLAGS'
82940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82944 cat >conftest.$ac_ext <<_ACEOF
82945 /* confdefs.h. */
82946 _ACEOF
82947 cat confdefs.h >>conftest.$ac_ext
82948 cat >>conftest.$ac_ext <<_ACEOF
82949 /* end confdefs.h. */
82950 #include <math.h>
82952 main ()
82954 __builtin_sinl(0);
82956 return 0;
82958 _ACEOF
82959 rm -f conftest.$ac_objext
82960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82961 (eval $ac_compile) 2>conftest.er1
82962 ac_status=$?
82963 grep -v '^ *+' conftest.er1 >conftest.err
82964 rm -f conftest.er1
82965 cat conftest.err >&5
82966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82967 (exit $ac_status); } &&
82968 { ac_try='test -z "$ac_cxx_werror_flag"
82969 || test ! -s conftest.err'
82970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82971 (eval $ac_try) 2>&5
82972 ac_status=$?
82973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82974 (exit $ac_status); }; } &&
82975 { ac_try='test -s conftest.$ac_objext'
82976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82977 (eval $ac_try) 2>&5
82978 ac_status=$?
82979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82980 (exit $ac_status); }; }; then
82981 glibcxx_cv_func___builtin_sinl_use=yes
82982 else
82983 echo "$as_me: failed program was:" >&5
82984 sed 's/^/| /' conftest.$ac_ext >&5
82986 glibcxx_cv_func___builtin_sinl_use=no
82988 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82989 ac_ext=c
82990 ac_cpp='$CPP $CPPFLAGS'
82991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82999 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
83000 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
83001 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
83002 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
83003 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
83004 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
83005 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
83006 echo $ECHO_N "(cached) $ECHO_C" >&6
83007 else
83009 if test x$gcc_no_link = xyes; then
83010 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83011 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83012 { (exit 1); exit 1; }; }
83014 cat >conftest.$ac_ext <<_ACEOF
83015 /* confdefs.h. */
83016 _ACEOF
83017 cat confdefs.h >>conftest.$ac_ext
83018 cat >>conftest.$ac_ext <<_ACEOF
83019 /* end confdefs.h. */
83020 #include <math.h>
83022 main ()
83024 __builtin_sinl(0);
83026 return 0;
83028 _ACEOF
83029 rm -f conftest.$ac_objext conftest$ac_exeext
83030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83031 (eval $ac_link) 2>conftest.er1
83032 ac_status=$?
83033 grep -v '^ *+' conftest.er1 >conftest.err
83034 rm -f conftest.er1
83035 cat conftest.err >&5
83036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83037 (exit $ac_status); } &&
83038 { ac_try='test -z "$ac_c_werror_flag"
83039 || test ! -s conftest.err'
83040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83041 (eval $ac_try) 2>&5
83042 ac_status=$?
83043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83044 (exit $ac_status); }; } &&
83045 { ac_try='test -s conftest$ac_exeext'
83046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83047 (eval $ac_try) 2>&5
83048 ac_status=$?
83049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83050 (exit $ac_status); }; }; then
83051 glibcxx_cv_func___builtin_sinl_link=yes
83052 else
83053 echo "$as_me: failed program was:" >&5
83054 sed 's/^/| /' conftest.$ac_ext >&5
83056 glibcxx_cv_func___builtin_sinl_link=no
83058 rm -f conftest.err conftest.$ac_objext \
83059 conftest$ac_exeext conftest.$ac_ext
83064 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
83065 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
83067 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
83069 cat >>confdefs.h <<\_ACEOF
83070 #define HAVE___BUILTIN_SINL 1
83071 _ACEOF
83079 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
83080 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
83081 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
83082 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
83083 echo $ECHO_N "(cached) $ECHO_C" >&6
83084 else
83088 ac_ext=cc
83089 ac_cpp='$CXXCPP $CPPFLAGS'
83090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83094 cat >conftest.$ac_ext <<_ACEOF
83095 /* confdefs.h. */
83096 _ACEOF
83097 cat confdefs.h >>conftest.$ac_ext
83098 cat >>conftest.$ac_ext <<_ACEOF
83099 /* end confdefs.h. */
83100 #include <math.h>
83102 main ()
83104 __builtin_cosf(0);
83106 return 0;
83108 _ACEOF
83109 rm -f conftest.$ac_objext
83110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83111 (eval $ac_compile) 2>conftest.er1
83112 ac_status=$?
83113 grep -v '^ *+' conftest.er1 >conftest.err
83114 rm -f conftest.er1
83115 cat conftest.err >&5
83116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83117 (exit $ac_status); } &&
83118 { ac_try='test -z "$ac_cxx_werror_flag"
83119 || test ! -s conftest.err'
83120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83121 (eval $ac_try) 2>&5
83122 ac_status=$?
83123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83124 (exit $ac_status); }; } &&
83125 { ac_try='test -s conftest.$ac_objext'
83126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83127 (eval $ac_try) 2>&5
83128 ac_status=$?
83129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83130 (exit $ac_status); }; }; then
83131 glibcxx_cv_func___builtin_cosf_use=yes
83132 else
83133 echo "$as_me: failed program was:" >&5
83134 sed 's/^/| /' conftest.$ac_ext >&5
83136 glibcxx_cv_func___builtin_cosf_use=no
83138 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83139 ac_ext=c
83140 ac_cpp='$CPP $CPPFLAGS'
83141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83149 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
83150 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
83151 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
83152 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
83153 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
83154 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
83155 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
83156 echo $ECHO_N "(cached) $ECHO_C" >&6
83157 else
83159 if test x$gcc_no_link = xyes; then
83160 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83161 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83162 { (exit 1); exit 1; }; }
83164 cat >conftest.$ac_ext <<_ACEOF
83165 /* confdefs.h. */
83166 _ACEOF
83167 cat confdefs.h >>conftest.$ac_ext
83168 cat >>conftest.$ac_ext <<_ACEOF
83169 /* end confdefs.h. */
83170 #include <math.h>
83172 main ()
83174 __builtin_cosf(0);
83176 return 0;
83178 _ACEOF
83179 rm -f conftest.$ac_objext conftest$ac_exeext
83180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83181 (eval $ac_link) 2>conftest.er1
83182 ac_status=$?
83183 grep -v '^ *+' conftest.er1 >conftest.err
83184 rm -f conftest.er1
83185 cat conftest.err >&5
83186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83187 (exit $ac_status); } &&
83188 { ac_try='test -z "$ac_c_werror_flag"
83189 || test ! -s conftest.err'
83190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83191 (eval $ac_try) 2>&5
83192 ac_status=$?
83193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83194 (exit $ac_status); }; } &&
83195 { ac_try='test -s conftest$ac_exeext'
83196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83197 (eval $ac_try) 2>&5
83198 ac_status=$?
83199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83200 (exit $ac_status); }; }; then
83201 glibcxx_cv_func___builtin_cosf_link=yes
83202 else
83203 echo "$as_me: failed program was:" >&5
83204 sed 's/^/| /' conftest.$ac_ext >&5
83206 glibcxx_cv_func___builtin_cosf_link=no
83208 rm -f conftest.err conftest.$ac_objext \
83209 conftest$ac_exeext conftest.$ac_ext
83214 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
83215 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
83217 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
83219 cat >>confdefs.h <<\_ACEOF
83220 #define HAVE___BUILTIN_COSF 1
83221 _ACEOF
83228 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
83229 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
83230 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
83231 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
83232 echo $ECHO_N "(cached) $ECHO_C" >&6
83233 else
83237 ac_ext=cc
83238 ac_cpp='$CXXCPP $CPPFLAGS'
83239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83243 cat >conftest.$ac_ext <<_ACEOF
83244 /* confdefs.h. */
83245 _ACEOF
83246 cat confdefs.h >>conftest.$ac_ext
83247 cat >>conftest.$ac_ext <<_ACEOF
83248 /* end confdefs.h. */
83249 #include <math.h>
83251 main ()
83253 __builtin_cos(0);
83255 return 0;
83257 _ACEOF
83258 rm -f conftest.$ac_objext
83259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83260 (eval $ac_compile) 2>conftest.er1
83261 ac_status=$?
83262 grep -v '^ *+' conftest.er1 >conftest.err
83263 rm -f conftest.er1
83264 cat conftest.err >&5
83265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83266 (exit $ac_status); } &&
83267 { ac_try='test -z "$ac_cxx_werror_flag"
83268 || test ! -s conftest.err'
83269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83270 (eval $ac_try) 2>&5
83271 ac_status=$?
83272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83273 (exit $ac_status); }; } &&
83274 { ac_try='test -s conftest.$ac_objext'
83275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83276 (eval $ac_try) 2>&5
83277 ac_status=$?
83278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83279 (exit $ac_status); }; }; then
83280 glibcxx_cv_func___builtin_cos_use=yes
83281 else
83282 echo "$as_me: failed program was:" >&5
83283 sed 's/^/| /' conftest.$ac_ext >&5
83285 glibcxx_cv_func___builtin_cos_use=no
83287 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83288 ac_ext=c
83289 ac_cpp='$CPP $CPPFLAGS'
83290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83298 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
83299 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
83300 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
83301 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
83302 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
83303 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
83304 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
83305 echo $ECHO_N "(cached) $ECHO_C" >&6
83306 else
83308 if test x$gcc_no_link = xyes; then
83309 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83310 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83311 { (exit 1); exit 1; }; }
83313 cat >conftest.$ac_ext <<_ACEOF
83314 /* confdefs.h. */
83315 _ACEOF
83316 cat confdefs.h >>conftest.$ac_ext
83317 cat >>conftest.$ac_ext <<_ACEOF
83318 /* end confdefs.h. */
83319 #include <math.h>
83321 main ()
83323 __builtin_cos(0);
83325 return 0;
83327 _ACEOF
83328 rm -f conftest.$ac_objext conftest$ac_exeext
83329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83330 (eval $ac_link) 2>conftest.er1
83331 ac_status=$?
83332 grep -v '^ *+' conftest.er1 >conftest.err
83333 rm -f conftest.er1
83334 cat conftest.err >&5
83335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83336 (exit $ac_status); } &&
83337 { ac_try='test -z "$ac_c_werror_flag"
83338 || test ! -s conftest.err'
83339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83340 (eval $ac_try) 2>&5
83341 ac_status=$?
83342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83343 (exit $ac_status); }; } &&
83344 { ac_try='test -s conftest$ac_exeext'
83345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83346 (eval $ac_try) 2>&5
83347 ac_status=$?
83348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83349 (exit $ac_status); }; }; then
83350 glibcxx_cv_func___builtin_cos_link=yes
83351 else
83352 echo "$as_me: failed program was:" >&5
83353 sed 's/^/| /' conftest.$ac_ext >&5
83355 glibcxx_cv_func___builtin_cos_link=no
83357 rm -f conftest.err conftest.$ac_objext \
83358 conftest$ac_exeext conftest.$ac_ext
83363 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
83364 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
83366 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
83368 cat >>confdefs.h <<\_ACEOF
83369 #define HAVE___BUILTIN_COS 1
83370 _ACEOF
83377 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
83378 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
83379 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
83380 if test "${glibcxx_cv_func___builtin_cosl_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 <math.h>
83400 main ()
83402 __builtin_cosl(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___builtin_cosl_use=yes
83430 else
83431 echo "$as_me: failed program was:" >&5
83432 sed 's/^/| /' conftest.$ac_ext >&5
83434 glibcxx_cv_func___builtin_cosl_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___builtin_cosl_use" >&5
83448 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
83449 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
83450 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
83451 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
83452 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
83453 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
83454 echo $ECHO_N "(cached) $ECHO_C" >&6
83455 else
83457 if test x$gcc_no_link = xyes; then
83458 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83459 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83460 { (exit 1); exit 1; }; }
83462 cat >conftest.$ac_ext <<_ACEOF
83463 /* confdefs.h. */
83464 _ACEOF
83465 cat confdefs.h >>conftest.$ac_ext
83466 cat >>conftest.$ac_ext <<_ACEOF
83467 /* end confdefs.h. */
83468 #include <math.h>
83470 main ()
83472 __builtin_cosl(0);
83474 return 0;
83476 _ACEOF
83477 rm -f conftest.$ac_objext conftest$ac_exeext
83478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83479 (eval $ac_link) 2>conftest.er1
83480 ac_status=$?
83481 grep -v '^ *+' conftest.er1 >conftest.err
83482 rm -f conftest.er1
83483 cat conftest.err >&5
83484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83485 (exit $ac_status); } &&
83486 { ac_try='test -z "$ac_c_werror_flag"
83487 || test ! -s conftest.err'
83488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83489 (eval $ac_try) 2>&5
83490 ac_status=$?
83491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83492 (exit $ac_status); }; } &&
83493 { ac_try='test -s conftest$ac_exeext'
83494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83495 (eval $ac_try) 2>&5
83496 ac_status=$?
83497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83498 (exit $ac_status); }; }; then
83499 glibcxx_cv_func___builtin_cosl_link=yes
83500 else
83501 echo "$as_me: failed program was:" >&5
83502 sed 's/^/| /' conftest.$ac_ext >&5
83504 glibcxx_cv_func___builtin_cosl_link=no
83506 rm -f conftest.err conftest.$ac_objext \
83507 conftest$ac_exeext conftest.$ac_ext
83512 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
83513 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
83515 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
83517 cat >>confdefs.h <<\_ACEOF
83518 #define HAVE___BUILTIN_COSL 1
83519 _ACEOF
83528 echo "$as_me:$LINENO: checking for main in -lm" >&5
83529 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
83530 if test "${ac_cv_lib_m_main+set}" = set; then
83531 echo $ECHO_N "(cached) $ECHO_C" >&6
83532 else
83533 ac_check_lib_save_LIBS=$LIBS
83534 LIBS="-lm $LIBS"
83535 if test x$gcc_no_link = xyes; then
83536 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83537 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83538 { (exit 1); exit 1; }; }
83540 cat >conftest.$ac_ext <<_ACEOF
83541 /* confdefs.h. */
83542 _ACEOF
83543 cat confdefs.h >>conftest.$ac_ext
83544 cat >>conftest.$ac_ext <<_ACEOF
83545 /* end confdefs.h. */
83549 main ()
83551 main ();
83553 return 0;
83555 _ACEOF
83556 rm -f conftest.$ac_objext conftest$ac_exeext
83557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83558 (eval $ac_link) 2>conftest.er1
83559 ac_status=$?
83560 grep -v '^ *+' conftest.er1 >conftest.err
83561 rm -f conftest.er1
83562 cat conftest.err >&5
83563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83564 (exit $ac_status); } &&
83565 { ac_try='test -z "$ac_c_werror_flag"
83566 || test ! -s conftest.err'
83567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83568 (eval $ac_try) 2>&5
83569 ac_status=$?
83570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83571 (exit $ac_status); }; } &&
83572 { ac_try='test -s conftest$ac_exeext'
83573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83574 (eval $ac_try) 2>&5
83575 ac_status=$?
83576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83577 (exit $ac_status); }; }; then
83578 ac_cv_lib_m_main=yes
83579 else
83580 echo "$as_me: failed program was:" >&5
83581 sed 's/^/| /' conftest.$ac_ext >&5
83583 ac_cv_lib_m_main=no
83585 rm -f conftest.err conftest.$ac_objext \
83586 conftest$ac_exeext conftest.$ac_ext
83587 LIBS=$ac_check_lib_save_LIBS
83589 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
83590 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
83591 if test $ac_cv_lib_m_main = yes; then
83592 cat >>confdefs.h <<_ACEOF
83593 #define HAVE_LIBM 1
83594 _ACEOF
83596 LIBS="-lm $LIBS"
83601 for ac_func in copysignf
83603 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83604 echo "$as_me:$LINENO: checking for $ac_func" >&5
83605 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83606 if eval "test \"\${$as_ac_var+set}\" = set"; then
83607 echo $ECHO_N "(cached) $ECHO_C" >&6
83608 else
83609 if test x$gcc_no_link = xyes; then
83610 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83611 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83612 { (exit 1); exit 1; }; }
83614 cat >conftest.$ac_ext <<_ACEOF
83615 /* confdefs.h. */
83616 _ACEOF
83617 cat confdefs.h >>conftest.$ac_ext
83618 cat >>conftest.$ac_ext <<_ACEOF
83619 /* end confdefs.h. */
83620 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83621 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83622 #define $ac_func innocuous_$ac_func
83624 /* System header to define __stub macros and hopefully few prototypes,
83625 which can conflict with char $ac_func (); below.
83626 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83627 <limits.h> exists even on freestanding compilers. */
83629 #ifdef __STDC__
83630 # include <limits.h>
83631 #else
83632 # include <assert.h>
83633 #endif
83635 #undef $ac_func
83637 /* Override any gcc2 internal prototype to avoid an error. */
83638 #ifdef __cplusplus
83639 extern "C"
83641 #endif
83642 /* We use char because int might match the return type of a gcc2
83643 builtin and then its argument prototype would still apply. */
83644 char $ac_func ();
83645 /* The GNU C library defines this for functions which it implements
83646 to always fail with ENOSYS. Some functions are actually named
83647 something starting with __ and the normal name is an alias. */
83648 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83649 choke me
83650 #else
83651 char (*f) () = $ac_func;
83652 #endif
83653 #ifdef __cplusplus
83655 #endif
83658 main ()
83660 return f != $ac_func;
83662 return 0;
83664 _ACEOF
83665 rm -f conftest.$ac_objext conftest$ac_exeext
83666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83667 (eval $ac_link) 2>conftest.er1
83668 ac_status=$?
83669 grep -v '^ *+' conftest.er1 >conftest.err
83670 rm -f conftest.er1
83671 cat conftest.err >&5
83672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83673 (exit $ac_status); } &&
83674 { ac_try='test -z "$ac_c_werror_flag"
83675 || test ! -s conftest.err'
83676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83677 (eval $ac_try) 2>&5
83678 ac_status=$?
83679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83680 (exit $ac_status); }; } &&
83681 { ac_try='test -s conftest$ac_exeext'
83682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83683 (eval $ac_try) 2>&5
83684 ac_status=$?
83685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83686 (exit $ac_status); }; }; then
83687 eval "$as_ac_var=yes"
83688 else
83689 echo "$as_me: failed program was:" >&5
83690 sed 's/^/| /' conftest.$ac_ext >&5
83692 eval "$as_ac_var=no"
83694 rm -f conftest.err conftest.$ac_objext \
83695 conftest$ac_exeext conftest.$ac_ext
83697 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83698 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83699 if test `eval echo '${'$as_ac_var'}'` = yes; then
83700 cat >>confdefs.h <<_ACEOF
83701 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83702 _ACEOF
83704 else
83705 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
83707 done
83711 for ac_func in __signbit
83713 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83714 echo "$as_me:$LINENO: checking for $ac_func" >&5
83715 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83716 if eval "test \"\${$as_ac_var+set}\" = set"; then
83717 echo $ECHO_N "(cached) $ECHO_C" >&6
83718 else
83719 if test x$gcc_no_link = xyes; then
83720 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83721 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83722 { (exit 1); exit 1; }; }
83724 cat >conftest.$ac_ext <<_ACEOF
83725 /* confdefs.h. */
83726 _ACEOF
83727 cat confdefs.h >>conftest.$ac_ext
83728 cat >>conftest.$ac_ext <<_ACEOF
83729 /* end confdefs.h. */
83730 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83731 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83732 #define $ac_func innocuous_$ac_func
83734 /* System header to define __stub macros and hopefully few prototypes,
83735 which can conflict with char $ac_func (); below.
83736 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83737 <limits.h> exists even on freestanding compilers. */
83739 #ifdef __STDC__
83740 # include <limits.h>
83741 #else
83742 # include <assert.h>
83743 #endif
83745 #undef $ac_func
83747 /* Override any gcc2 internal prototype to avoid an error. */
83748 #ifdef __cplusplus
83749 extern "C"
83751 #endif
83752 /* We use char because int might match the return type of a gcc2
83753 builtin and then its argument prototype would still apply. */
83754 char $ac_func ();
83755 /* The GNU C library defines this for functions which it implements
83756 to always fail with ENOSYS. Some functions are actually named
83757 something starting with __ and the normal name is an alias. */
83758 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83759 choke me
83760 #else
83761 char (*f) () = $ac_func;
83762 #endif
83763 #ifdef __cplusplus
83765 #endif
83768 main ()
83770 return f != $ac_func;
83772 return 0;
83774 _ACEOF
83775 rm -f conftest.$ac_objext conftest$ac_exeext
83776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83777 (eval $ac_link) 2>conftest.er1
83778 ac_status=$?
83779 grep -v '^ *+' conftest.er1 >conftest.err
83780 rm -f conftest.er1
83781 cat conftest.err >&5
83782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83783 (exit $ac_status); } &&
83784 { ac_try='test -z "$ac_c_werror_flag"
83785 || test ! -s conftest.err'
83786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83787 (eval $ac_try) 2>&5
83788 ac_status=$?
83789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83790 (exit $ac_status); }; } &&
83791 { ac_try='test -s conftest$ac_exeext'
83792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83793 (eval $ac_try) 2>&5
83794 ac_status=$?
83795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83796 (exit $ac_status); }; }; then
83797 eval "$as_ac_var=yes"
83798 else
83799 echo "$as_me: failed program was:" >&5
83800 sed 's/^/| /' conftest.$ac_ext >&5
83802 eval "$as_ac_var=no"
83804 rm -f conftest.err conftest.$ac_objext \
83805 conftest$ac_exeext conftest.$ac_ext
83807 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83808 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83809 if test `eval echo '${'$as_ac_var'}'` = yes; then
83810 cat >>confdefs.h <<_ACEOF
83811 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83812 _ACEOF
83814 else
83815 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
83817 done
83821 for ac_func in __signbitf
83823 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83824 echo "$as_me:$LINENO: checking for $ac_func" >&5
83825 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83826 if eval "test \"\${$as_ac_var+set}\" = set"; then
83827 echo $ECHO_N "(cached) $ECHO_C" >&6
83828 else
83829 if test x$gcc_no_link = xyes; then
83830 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83831 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83832 { (exit 1); exit 1; }; }
83834 cat >conftest.$ac_ext <<_ACEOF
83835 /* confdefs.h. */
83836 _ACEOF
83837 cat confdefs.h >>conftest.$ac_ext
83838 cat >>conftest.$ac_ext <<_ACEOF
83839 /* end confdefs.h. */
83840 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83841 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83842 #define $ac_func innocuous_$ac_func
83844 /* System header to define __stub macros and hopefully few prototypes,
83845 which can conflict with char $ac_func (); below.
83846 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83847 <limits.h> exists even on freestanding compilers. */
83849 #ifdef __STDC__
83850 # include <limits.h>
83851 #else
83852 # include <assert.h>
83853 #endif
83855 #undef $ac_func
83857 /* Override any gcc2 internal prototype to avoid an error. */
83858 #ifdef __cplusplus
83859 extern "C"
83861 #endif
83862 /* We use char because int might match the return type of a gcc2
83863 builtin and then its argument prototype would still apply. */
83864 char $ac_func ();
83865 /* The GNU C library defines this for functions which it implements
83866 to always fail with ENOSYS. Some functions are actually named
83867 something starting with __ and the normal name is an alias. */
83868 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83869 choke me
83870 #else
83871 char (*f) () = $ac_func;
83872 #endif
83873 #ifdef __cplusplus
83875 #endif
83878 main ()
83880 return f != $ac_func;
83882 return 0;
83884 _ACEOF
83885 rm -f conftest.$ac_objext conftest$ac_exeext
83886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83887 (eval $ac_link) 2>conftest.er1
83888 ac_status=$?
83889 grep -v '^ *+' conftest.er1 >conftest.err
83890 rm -f conftest.er1
83891 cat conftest.err >&5
83892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83893 (exit $ac_status); } &&
83894 { ac_try='test -z "$ac_c_werror_flag"
83895 || test ! -s conftest.err'
83896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83897 (eval $ac_try) 2>&5
83898 ac_status=$?
83899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83900 (exit $ac_status); }; } &&
83901 { ac_try='test -s conftest$ac_exeext'
83902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83903 (eval $ac_try) 2>&5
83904 ac_status=$?
83905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83906 (exit $ac_status); }; }; then
83907 eval "$as_ac_var=yes"
83908 else
83909 echo "$as_me: failed program was:" >&5
83910 sed 's/^/| /' conftest.$ac_ext >&5
83912 eval "$as_ac_var=no"
83914 rm -f conftest.err conftest.$ac_objext \
83915 conftest$ac_exeext conftest.$ac_ext
83917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83918 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83919 if test `eval echo '${'$as_ac_var'}'` = yes; then
83920 cat >>confdefs.h <<_ACEOF
83921 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83922 _ACEOF
83924 else
83925 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
83927 done
83930 if test x$ac_cv_func_copysignl = x"yes"; then
83932 for ac_func in __signbitl
83934 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83935 echo "$as_me:$LINENO: checking for $ac_func" >&5
83936 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83937 if eval "test \"\${$as_ac_var+set}\" = set"; then
83938 echo $ECHO_N "(cached) $ECHO_C" >&6
83939 else
83940 if test x$gcc_no_link = xyes; then
83941 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83942 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83943 { (exit 1); exit 1; }; }
83945 cat >conftest.$ac_ext <<_ACEOF
83946 /* confdefs.h. */
83947 _ACEOF
83948 cat confdefs.h >>conftest.$ac_ext
83949 cat >>conftest.$ac_ext <<_ACEOF
83950 /* end confdefs.h. */
83951 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83952 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83953 #define $ac_func innocuous_$ac_func
83955 /* System header to define __stub macros and hopefully few prototypes,
83956 which can conflict with char $ac_func (); below.
83957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83958 <limits.h> exists even on freestanding compilers. */
83960 #ifdef __STDC__
83961 # include <limits.h>
83962 #else
83963 # include <assert.h>
83964 #endif
83966 #undef $ac_func
83968 /* Override any gcc2 internal prototype to avoid an error. */
83969 #ifdef __cplusplus
83970 extern "C"
83972 #endif
83973 /* We use char because int might match the return type of a gcc2
83974 builtin and then its argument prototype would still apply. */
83975 char $ac_func ();
83976 /* The GNU C library defines this for functions which it implements
83977 to always fail with ENOSYS. Some functions are actually named
83978 something starting with __ and the normal name is an alias. */
83979 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83980 choke me
83981 #else
83982 char (*f) () = $ac_func;
83983 #endif
83984 #ifdef __cplusplus
83986 #endif
83989 main ()
83991 return f != $ac_func;
83993 return 0;
83995 _ACEOF
83996 rm -f conftest.$ac_objext conftest$ac_exeext
83997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83998 (eval $ac_link) 2>conftest.er1
83999 ac_status=$?
84000 grep -v '^ *+' conftest.er1 >conftest.err
84001 rm -f conftest.er1
84002 cat conftest.err >&5
84003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84004 (exit $ac_status); } &&
84005 { ac_try='test -z "$ac_c_werror_flag"
84006 || test ! -s conftest.err'
84007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84008 (eval $ac_try) 2>&5
84009 ac_status=$?
84010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84011 (exit $ac_status); }; } &&
84012 { ac_try='test -s conftest$ac_exeext'
84013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84014 (eval $ac_try) 2>&5
84015 ac_status=$?
84016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84017 (exit $ac_status); }; }; then
84018 eval "$as_ac_var=yes"
84019 else
84020 echo "$as_me: failed program was:" >&5
84021 sed 's/^/| /' conftest.$ac_ext >&5
84023 eval "$as_ac_var=no"
84025 rm -f conftest.err conftest.$ac_objext \
84026 conftest$ac_exeext conftest.$ac_ext
84028 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84029 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84030 if test `eval echo '${'$as_ac_var'}'` = yes; then
84031 cat >>confdefs.h <<_ACEOF
84032 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84033 _ACEOF
84035 else
84036 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
84038 done
84042 # Used in libmath/Makefile.am.
84043 if test -n "$LIBMATHOBJS"; then
84044 need_libmath=yes
84049 ac_test_CXXFLAGS="${CXXFLAGS+set}"
84050 ac_save_CXXFLAGS="$CXXFLAGS"
84051 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
84054 echo "$as_me:$LINENO: checking for strtold declaration" >&5
84055 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
84056 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
84057 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
84058 echo $ECHO_N "(cached) $ECHO_C" >&6
84059 else
84063 ac_ext=cc
84064 ac_cpp='$CXXCPP $CPPFLAGS'
84065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84069 cat >conftest.$ac_ext <<_ACEOF
84070 /* confdefs.h. */
84071 _ACEOF
84072 cat confdefs.h >>conftest.$ac_ext
84073 cat >>conftest.$ac_ext <<_ACEOF
84074 /* end confdefs.h. */
84075 #include <stdlib.h>
84077 main ()
84079 strtold(0, 0);
84081 return 0;
84083 _ACEOF
84084 rm -f conftest.$ac_objext
84085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84086 (eval $ac_compile) 2>conftest.er1
84087 ac_status=$?
84088 grep -v '^ *+' conftest.er1 >conftest.err
84089 rm -f conftest.er1
84090 cat conftest.err >&5
84091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84092 (exit $ac_status); } &&
84093 { ac_try='test -z "$ac_cxx_werror_flag"
84094 || test ! -s conftest.err'
84095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84096 (eval $ac_try) 2>&5
84097 ac_status=$?
84098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84099 (exit $ac_status); }; } &&
84100 { ac_try='test -s conftest.$ac_objext'
84101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84102 (eval $ac_try) 2>&5
84103 ac_status=$?
84104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84105 (exit $ac_status); }; }; then
84106 glibcxx_cv_func_strtold_use=yes
84107 else
84108 echo "$as_me: failed program was:" >&5
84109 sed 's/^/| /' conftest.$ac_ext >&5
84111 glibcxx_cv_func_strtold_use=no
84113 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84114 ac_ext=c
84115 ac_cpp='$CPP $CPPFLAGS'
84116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84124 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
84125 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
84126 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
84128 for ac_func in strtold
84130 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84131 echo "$as_me:$LINENO: checking for $ac_func" >&5
84132 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84133 if eval "test \"\${$as_ac_var+set}\" = set"; then
84134 echo $ECHO_N "(cached) $ECHO_C" >&6
84135 else
84136 if test x$gcc_no_link = xyes; then
84137 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84138 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84139 { (exit 1); exit 1; }; }
84141 cat >conftest.$ac_ext <<_ACEOF
84142 /* confdefs.h. */
84143 _ACEOF
84144 cat confdefs.h >>conftest.$ac_ext
84145 cat >>conftest.$ac_ext <<_ACEOF
84146 /* end confdefs.h. */
84147 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84148 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84149 #define $ac_func innocuous_$ac_func
84151 /* System header to define __stub macros and hopefully few prototypes,
84152 which can conflict with char $ac_func (); below.
84153 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84154 <limits.h> exists even on freestanding compilers. */
84156 #ifdef __STDC__
84157 # include <limits.h>
84158 #else
84159 # include <assert.h>
84160 #endif
84162 #undef $ac_func
84164 /* Override any gcc2 internal prototype to avoid an error. */
84165 #ifdef __cplusplus
84166 extern "C"
84168 #endif
84169 /* We use char because int might match the return type of a gcc2
84170 builtin and then its argument prototype would still apply. */
84171 char $ac_func ();
84172 /* The GNU C library defines this for functions which it implements
84173 to always fail with ENOSYS. Some functions are actually named
84174 something starting with __ and the normal name is an alias. */
84175 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84176 choke me
84177 #else
84178 char (*f) () = $ac_func;
84179 #endif
84180 #ifdef __cplusplus
84182 #endif
84185 main ()
84187 return f != $ac_func;
84189 return 0;
84191 _ACEOF
84192 rm -f conftest.$ac_objext conftest$ac_exeext
84193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84194 (eval $ac_link) 2>conftest.er1
84195 ac_status=$?
84196 grep -v '^ *+' conftest.er1 >conftest.err
84197 rm -f conftest.er1
84198 cat conftest.err >&5
84199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84200 (exit $ac_status); } &&
84201 { ac_try='test -z "$ac_c_werror_flag"
84202 || test ! -s conftest.err'
84203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84204 (eval $ac_try) 2>&5
84205 ac_status=$?
84206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84207 (exit $ac_status); }; } &&
84208 { ac_try='test -s conftest$ac_exeext'
84209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84210 (eval $ac_try) 2>&5
84211 ac_status=$?
84212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84213 (exit $ac_status); }; }; then
84214 eval "$as_ac_var=yes"
84215 else
84216 echo "$as_me: failed program was:" >&5
84217 sed 's/^/| /' conftest.$ac_ext >&5
84219 eval "$as_ac_var=no"
84221 rm -f conftest.err conftest.$ac_objext \
84222 conftest$ac_exeext conftest.$ac_ext
84224 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84225 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84226 if test `eval echo '${'$as_ac_var'}'` = yes; then
84227 cat >>confdefs.h <<_ACEOF
84228 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84229 _ACEOF
84232 done
84240 echo "$as_me:$LINENO: checking for strtof declaration" >&5
84241 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
84242 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
84243 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
84244 echo $ECHO_N "(cached) $ECHO_C" >&6
84245 else
84249 ac_ext=cc
84250 ac_cpp='$CXXCPP $CPPFLAGS'
84251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84255 cat >conftest.$ac_ext <<_ACEOF
84256 /* confdefs.h. */
84257 _ACEOF
84258 cat confdefs.h >>conftest.$ac_ext
84259 cat >>conftest.$ac_ext <<_ACEOF
84260 /* end confdefs.h. */
84261 #include <stdlib.h>
84263 main ()
84265 strtof(0, 0);
84267 return 0;
84269 _ACEOF
84270 rm -f conftest.$ac_objext
84271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84272 (eval $ac_compile) 2>conftest.er1
84273 ac_status=$?
84274 grep -v '^ *+' conftest.er1 >conftest.err
84275 rm -f conftest.er1
84276 cat conftest.err >&5
84277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84278 (exit $ac_status); } &&
84279 { ac_try='test -z "$ac_cxx_werror_flag"
84280 || test ! -s conftest.err'
84281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84282 (eval $ac_try) 2>&5
84283 ac_status=$?
84284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84285 (exit $ac_status); }; } &&
84286 { ac_try='test -s conftest.$ac_objext'
84287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84288 (eval $ac_try) 2>&5
84289 ac_status=$?
84290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84291 (exit $ac_status); }; }; then
84292 glibcxx_cv_func_strtof_use=yes
84293 else
84294 echo "$as_me: failed program was:" >&5
84295 sed 's/^/| /' conftest.$ac_ext >&5
84297 glibcxx_cv_func_strtof_use=no
84299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84300 ac_ext=c
84301 ac_cpp='$CPP $CPPFLAGS'
84302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84310 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
84311 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
84312 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
84314 for ac_func in strtof
84316 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84317 echo "$as_me:$LINENO: checking for $ac_func" >&5
84318 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84319 if eval "test \"\${$as_ac_var+set}\" = set"; then
84320 echo $ECHO_N "(cached) $ECHO_C" >&6
84321 else
84322 if test x$gcc_no_link = xyes; then
84323 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84324 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84325 { (exit 1); exit 1; }; }
84327 cat >conftest.$ac_ext <<_ACEOF
84328 /* confdefs.h. */
84329 _ACEOF
84330 cat confdefs.h >>conftest.$ac_ext
84331 cat >>conftest.$ac_ext <<_ACEOF
84332 /* end confdefs.h. */
84333 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84334 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84335 #define $ac_func innocuous_$ac_func
84337 /* System header to define __stub macros and hopefully few prototypes,
84338 which can conflict with char $ac_func (); below.
84339 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84340 <limits.h> exists even on freestanding compilers. */
84342 #ifdef __STDC__
84343 # include <limits.h>
84344 #else
84345 # include <assert.h>
84346 #endif
84348 #undef $ac_func
84350 /* Override any gcc2 internal prototype to avoid an error. */
84351 #ifdef __cplusplus
84352 extern "C"
84354 #endif
84355 /* We use char because int might match the return type of a gcc2
84356 builtin and then its argument prototype would still apply. */
84357 char $ac_func ();
84358 /* The GNU C library defines this for functions which it implements
84359 to always fail with ENOSYS. Some functions are actually named
84360 something starting with __ and the normal name is an alias. */
84361 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84362 choke me
84363 #else
84364 char (*f) () = $ac_func;
84365 #endif
84366 #ifdef __cplusplus
84368 #endif
84371 main ()
84373 return f != $ac_func;
84375 return 0;
84377 _ACEOF
84378 rm -f conftest.$ac_objext conftest$ac_exeext
84379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84380 (eval $ac_link) 2>conftest.er1
84381 ac_status=$?
84382 grep -v '^ *+' conftest.er1 >conftest.err
84383 rm -f conftest.er1
84384 cat conftest.err >&5
84385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84386 (exit $ac_status); } &&
84387 { ac_try='test -z "$ac_c_werror_flag"
84388 || test ! -s conftest.err'
84389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84390 (eval $ac_try) 2>&5
84391 ac_status=$?
84392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84393 (exit $ac_status); }; } &&
84394 { ac_try='test -s conftest$ac_exeext'
84395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84396 (eval $ac_try) 2>&5
84397 ac_status=$?
84398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84399 (exit $ac_status); }; }; then
84400 eval "$as_ac_var=yes"
84401 else
84402 echo "$as_me: failed program was:" >&5
84403 sed 's/^/| /' conftest.$ac_ext >&5
84405 eval "$as_ac_var=no"
84407 rm -f conftest.err conftest.$ac_objext \
84408 conftest$ac_exeext conftest.$ac_ext
84410 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84411 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84412 if test `eval echo '${'$as_ac_var'}'` = yes; then
84413 cat >>confdefs.h <<_ACEOF
84414 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84415 _ACEOF
84418 done
84426 CXXFLAGS="$ac_save_CXXFLAGS"
84429 # For showmanyc_helper().
84432 for ac_header in sys/ioctl.h sys/filio.h
84434 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
84435 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84436 echo "$as_me:$LINENO: checking for $ac_header" >&5
84437 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84438 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84439 echo $ECHO_N "(cached) $ECHO_C" >&6
84441 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84442 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84443 else
84444 # Is the header compilable?
84445 echo "$as_me:$LINENO: checking $ac_header usability" >&5
84446 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
84447 cat >conftest.$ac_ext <<_ACEOF
84448 /* confdefs.h. */
84449 _ACEOF
84450 cat confdefs.h >>conftest.$ac_ext
84451 cat >>conftest.$ac_ext <<_ACEOF
84452 /* end confdefs.h. */
84453 $ac_includes_default
84454 #include <$ac_header>
84455 _ACEOF
84456 rm -f conftest.$ac_objext
84457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84458 (eval $ac_compile) 2>conftest.er1
84459 ac_status=$?
84460 grep -v '^ *+' conftest.er1 >conftest.err
84461 rm -f conftest.er1
84462 cat conftest.err >&5
84463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84464 (exit $ac_status); } &&
84465 { ac_try='test -z "$ac_c_werror_flag"
84466 || test ! -s conftest.err'
84467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84468 (eval $ac_try) 2>&5
84469 ac_status=$?
84470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84471 (exit $ac_status); }; } &&
84472 { ac_try='test -s conftest.$ac_objext'
84473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84474 (eval $ac_try) 2>&5
84475 ac_status=$?
84476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84477 (exit $ac_status); }; }; then
84478 ac_header_compiler=yes
84479 else
84480 echo "$as_me: failed program was:" >&5
84481 sed 's/^/| /' conftest.$ac_ext >&5
84483 ac_header_compiler=no
84485 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84486 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84487 echo "${ECHO_T}$ac_header_compiler" >&6
84489 # Is the header present?
84490 echo "$as_me:$LINENO: checking $ac_header presence" >&5
84491 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
84492 cat >conftest.$ac_ext <<_ACEOF
84493 /* confdefs.h. */
84494 _ACEOF
84495 cat confdefs.h >>conftest.$ac_ext
84496 cat >>conftest.$ac_ext <<_ACEOF
84497 /* end confdefs.h. */
84498 #include <$ac_header>
84499 _ACEOF
84500 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84501 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84502 ac_status=$?
84503 grep -v '^ *+' conftest.er1 >conftest.err
84504 rm -f conftest.er1
84505 cat conftest.err >&5
84506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84507 (exit $ac_status); } >/dev/null; then
84508 if test -s conftest.err; then
84509 ac_cpp_err=$ac_c_preproc_warn_flag
84510 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84511 else
84512 ac_cpp_err=
84514 else
84515 ac_cpp_err=yes
84517 if test -z "$ac_cpp_err"; then
84518 ac_header_preproc=yes
84519 else
84520 echo "$as_me: failed program was:" >&5
84521 sed 's/^/| /' conftest.$ac_ext >&5
84523 ac_header_preproc=no
84525 rm -f conftest.err conftest.$ac_ext
84526 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84527 echo "${ECHO_T}$ac_header_preproc" >&6
84529 # So? What about this header?
84530 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84531 yes:no: )
84532 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
84533 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
84534 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
84535 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
84536 ac_header_preproc=yes
84538 no:yes:* )
84539 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
84540 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
84541 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
84542 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
84543 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
84544 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
84545 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
84546 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
84547 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
84548 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
84549 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
84550 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
84552 cat <<\_ASBOX
84553 ## ----------------------------------------- ##
84554 ## Report this to the package-unused lists. ##
84555 ## ----------------------------------------- ##
84556 _ASBOX
84558 sed "s/^/$as_me: WARNING: /" >&2
84560 esac
84561 echo "$as_me:$LINENO: checking for $ac_header" >&5
84562 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84563 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84564 echo $ECHO_N "(cached) $ECHO_C" >&6
84565 else
84566 eval "$as_ac_Header=\$ac_header_preproc"
84568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84569 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84572 if test `eval echo '${'$as_ac_Header'}'` = yes; then
84573 cat >>confdefs.h <<_ACEOF
84574 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
84575 _ACEOF
84579 done
84582 echo "$as_me:$LINENO: checking for poll" >&5
84583 echo $ECHO_N "checking for poll... $ECHO_C" >&6
84584 if test "${glibcxx_cv_POLL+set}" = set; then
84585 echo $ECHO_N "(cached) $ECHO_C" >&6
84586 else
84588 if test x$gcc_no_link = xyes; then
84589 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84590 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84591 { (exit 1); exit 1; }; }
84593 cat >conftest.$ac_ext <<_ACEOF
84594 /* confdefs.h. */
84595 _ACEOF
84596 cat confdefs.h >>conftest.$ac_ext
84597 cat >>conftest.$ac_ext <<_ACEOF
84598 /* end confdefs.h. */
84599 #include <poll.h>
84601 main ()
84603 struct pollfd pfd[1];
84604 pfd[0].events = POLLIN;
84605 poll(pfd, 1, 0);
84607 return 0;
84609 _ACEOF
84610 rm -f conftest.$ac_objext conftest$ac_exeext
84611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84612 (eval $ac_link) 2>conftest.er1
84613 ac_status=$?
84614 grep -v '^ *+' conftest.er1 >conftest.err
84615 rm -f conftest.er1
84616 cat conftest.err >&5
84617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84618 (exit $ac_status); } &&
84619 { ac_try='test -z "$ac_c_werror_flag"
84620 || test ! -s conftest.err'
84621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84622 (eval $ac_try) 2>&5
84623 ac_status=$?
84624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84625 (exit $ac_status); }; } &&
84626 { ac_try='test -s conftest$ac_exeext'
84627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84628 (eval $ac_try) 2>&5
84629 ac_status=$?
84630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84631 (exit $ac_status); }; }; then
84632 glibcxx_cv_POLL=yes
84633 else
84634 echo "$as_me: failed program was:" >&5
84635 sed 's/^/| /' conftest.$ac_ext >&5
84637 glibcxx_cv_POLL=no
84639 rm -f conftest.err conftest.$ac_objext \
84640 conftest$ac_exeext conftest.$ac_ext
84644 if test $glibcxx_cv_POLL = yes; then
84646 cat >>confdefs.h <<\_ACEOF
84647 #define HAVE_POLL 1
84648 _ACEOF
84651 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
84652 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
84655 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
84656 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
84657 if test "${glibcxx_cv_S_ISREG+set}" = set; then
84658 echo $ECHO_N "(cached) $ECHO_C" >&6
84659 else
84661 if test x$gcc_no_link = xyes; then
84662 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84663 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84664 { (exit 1); exit 1; }; }
84666 cat >conftest.$ac_ext <<_ACEOF
84667 /* confdefs.h. */
84668 _ACEOF
84669 cat confdefs.h >>conftest.$ac_ext
84670 cat >>conftest.$ac_ext <<_ACEOF
84671 /* end confdefs.h. */
84672 #include <sys/stat.h>
84674 main ()
84676 struct stat buffer;
84677 fstat(0, &buffer);
84678 S_ISREG(buffer.st_mode);
84680 return 0;
84682 _ACEOF
84683 rm -f conftest.$ac_objext conftest$ac_exeext
84684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84685 (eval $ac_link) 2>conftest.er1
84686 ac_status=$?
84687 grep -v '^ *+' conftest.er1 >conftest.err
84688 rm -f conftest.er1
84689 cat conftest.err >&5
84690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84691 (exit $ac_status); } &&
84692 { ac_try='test -z "$ac_c_werror_flag"
84693 || test ! -s conftest.err'
84694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84695 (eval $ac_try) 2>&5
84696 ac_status=$?
84697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84698 (exit $ac_status); }; } &&
84699 { ac_try='test -s conftest$ac_exeext'
84700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84701 (eval $ac_try) 2>&5
84702 ac_status=$?
84703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84704 (exit $ac_status); }; }; then
84705 glibcxx_cv_S_ISREG=yes
84706 else
84707 echo "$as_me: failed program was:" >&5
84708 sed 's/^/| /' conftest.$ac_ext >&5
84710 glibcxx_cv_S_ISREG=no
84712 rm -f conftest.err conftest.$ac_objext \
84713 conftest$ac_exeext conftest.$ac_ext
84717 if test "${glibcxx_cv_S_IFREG+set}" = set; then
84718 echo $ECHO_N "(cached) $ECHO_C" >&6
84719 else
84721 if test x$gcc_no_link = xyes; then
84722 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84723 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84724 { (exit 1); exit 1; }; }
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 #include <sys/stat.h>
84734 main ()
84736 struct stat buffer;
84737 fstat(0, &buffer);
84738 S_IFREG & buffer.st_mode;
84740 return 0;
84742 _ACEOF
84743 rm -f conftest.$ac_objext conftest$ac_exeext
84744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84745 (eval $ac_link) 2>conftest.er1
84746 ac_status=$?
84747 grep -v '^ *+' conftest.er1 >conftest.err
84748 rm -f conftest.er1
84749 cat conftest.err >&5
84750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84751 (exit $ac_status); } &&
84752 { ac_try='test -z "$ac_c_werror_flag"
84753 || test ! -s conftest.err'
84754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84755 (eval $ac_try) 2>&5
84756 ac_status=$?
84757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84758 (exit $ac_status); }; } &&
84759 { ac_try='test -s conftest$ac_exeext'
84760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84761 (eval $ac_try) 2>&5
84762 ac_status=$?
84763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84764 (exit $ac_status); }; }; then
84765 glibcxx_cv_S_IFREG=yes
84766 else
84767 echo "$as_me: failed program was:" >&5
84768 sed 's/^/| /' conftest.$ac_ext >&5
84770 glibcxx_cv_S_IFREG=no
84772 rm -f conftest.err conftest.$ac_objext \
84773 conftest$ac_exeext conftest.$ac_ext
84777 res=no
84778 if test $glibcxx_cv_S_ISREG = yes; then
84780 cat >>confdefs.h <<\_ACEOF
84781 #define HAVE_S_ISREG 1
84782 _ACEOF
84784 res=S_ISREG
84785 elif test $glibcxx_cv_S_IFREG = yes; then
84787 cat >>confdefs.h <<\_ACEOF
84788 #define HAVE_S_IFREG 1
84789 _ACEOF
84791 res=S_IFREG
84793 echo "$as_me:$LINENO: result: $res" >&5
84794 echo "${ECHO_T}$res" >&6
84797 # For xsputn_2().
84799 for ac_header in sys/uio.h
84801 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
84802 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84803 echo "$as_me:$LINENO: checking for $ac_header" >&5
84804 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84805 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84806 echo $ECHO_N "(cached) $ECHO_C" >&6
84808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84809 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84810 else
84811 # Is the header compilable?
84812 echo "$as_me:$LINENO: checking $ac_header usability" >&5
84813 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
84814 cat >conftest.$ac_ext <<_ACEOF
84815 /* confdefs.h. */
84816 _ACEOF
84817 cat confdefs.h >>conftest.$ac_ext
84818 cat >>conftest.$ac_ext <<_ACEOF
84819 /* end confdefs.h. */
84820 $ac_includes_default
84821 #include <$ac_header>
84822 _ACEOF
84823 rm -f conftest.$ac_objext
84824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84825 (eval $ac_compile) 2>conftest.er1
84826 ac_status=$?
84827 grep -v '^ *+' conftest.er1 >conftest.err
84828 rm -f conftest.er1
84829 cat conftest.err >&5
84830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84831 (exit $ac_status); } &&
84832 { ac_try='test -z "$ac_c_werror_flag"
84833 || test ! -s conftest.err'
84834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84835 (eval $ac_try) 2>&5
84836 ac_status=$?
84837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84838 (exit $ac_status); }; } &&
84839 { ac_try='test -s conftest.$ac_objext'
84840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84841 (eval $ac_try) 2>&5
84842 ac_status=$?
84843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84844 (exit $ac_status); }; }; then
84845 ac_header_compiler=yes
84846 else
84847 echo "$as_me: failed program was:" >&5
84848 sed 's/^/| /' conftest.$ac_ext >&5
84850 ac_header_compiler=no
84852 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84853 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84854 echo "${ECHO_T}$ac_header_compiler" >&6
84856 # Is the header present?
84857 echo "$as_me:$LINENO: checking $ac_header presence" >&5
84858 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
84859 cat >conftest.$ac_ext <<_ACEOF
84860 /* confdefs.h. */
84861 _ACEOF
84862 cat confdefs.h >>conftest.$ac_ext
84863 cat >>conftest.$ac_ext <<_ACEOF
84864 /* end confdefs.h. */
84865 #include <$ac_header>
84866 _ACEOF
84867 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84868 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84869 ac_status=$?
84870 grep -v '^ *+' conftest.er1 >conftest.err
84871 rm -f conftest.er1
84872 cat conftest.err >&5
84873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84874 (exit $ac_status); } >/dev/null; then
84875 if test -s conftest.err; then
84876 ac_cpp_err=$ac_c_preproc_warn_flag
84877 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84878 else
84879 ac_cpp_err=
84881 else
84882 ac_cpp_err=yes
84884 if test -z "$ac_cpp_err"; then
84885 ac_header_preproc=yes
84886 else
84887 echo "$as_me: failed program was:" >&5
84888 sed 's/^/| /' conftest.$ac_ext >&5
84890 ac_header_preproc=no
84892 rm -f conftest.err conftest.$ac_ext
84893 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84894 echo "${ECHO_T}$ac_header_preproc" >&6
84896 # So? What about this header?
84897 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84898 yes:no: )
84899 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
84900 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
84901 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
84902 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
84903 ac_header_preproc=yes
84905 no:yes:* )
84906 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
84907 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
84908 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
84909 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
84910 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
84911 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
84912 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
84913 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
84914 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
84915 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
84916 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
84917 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
84919 cat <<\_ASBOX
84920 ## ----------------------------------------- ##
84921 ## Report this to the package-unused lists. ##
84922 ## ----------------------------------------- ##
84923 _ASBOX
84925 sed "s/^/$as_me: WARNING: /" >&2
84927 esac
84928 echo "$as_me:$LINENO: checking for $ac_header" >&5
84929 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84930 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84931 echo $ECHO_N "(cached) $ECHO_C" >&6
84932 else
84933 eval "$as_ac_Header=\$ac_header_preproc"
84935 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84936 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84939 if test `eval echo '${'$as_ac_Header'}'` = yes; then
84940 cat >>confdefs.h <<_ACEOF
84941 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
84942 _ACEOF
84946 done
84949 echo "$as_me:$LINENO: checking for writev" >&5
84950 echo $ECHO_N "checking for writev... $ECHO_C" >&6
84951 if test "${glibcxx_cv_WRITEV+set}" = set; then
84952 echo $ECHO_N "(cached) $ECHO_C" >&6
84953 else
84955 if test x$gcc_no_link = xyes; then
84956 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84957 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84958 { (exit 1); exit 1; }; }
84960 cat >conftest.$ac_ext <<_ACEOF
84961 /* confdefs.h. */
84962 _ACEOF
84963 cat confdefs.h >>conftest.$ac_ext
84964 cat >>conftest.$ac_ext <<_ACEOF
84965 /* end confdefs.h. */
84966 #include <sys/uio.h>
84968 main ()
84970 struct iovec iov[2];
84971 writev(0, iov, 0);
84973 return 0;
84975 _ACEOF
84976 rm -f conftest.$ac_objext conftest$ac_exeext
84977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84978 (eval $ac_link) 2>conftest.er1
84979 ac_status=$?
84980 grep -v '^ *+' conftest.er1 >conftest.err
84981 rm -f conftest.er1
84982 cat conftest.err >&5
84983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84984 (exit $ac_status); } &&
84985 { ac_try='test -z "$ac_c_werror_flag"
84986 || test ! -s conftest.err'
84987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84988 (eval $ac_try) 2>&5
84989 ac_status=$?
84990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84991 (exit $ac_status); }; } &&
84992 { ac_try='test -s conftest$ac_exeext'
84993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84994 (eval $ac_try) 2>&5
84995 ac_status=$?
84996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84997 (exit $ac_status); }; }; then
84998 glibcxx_cv_WRITEV=yes
84999 else
85000 echo "$as_me: failed program was:" >&5
85001 sed 's/^/| /' conftest.$ac_ext >&5
85003 glibcxx_cv_WRITEV=no
85005 rm -f conftest.err conftest.$ac_objext \
85006 conftest$ac_exeext conftest.$ac_ext
85010 if test $glibcxx_cv_WRITEV = yes; then
85012 cat >>confdefs.h <<\_ACEOF
85013 #define HAVE_WRITEV 1
85014 _ACEOF
85017 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
85018 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
85021 cat >>confdefs.h <<\_ACEOF
85022 #define HAVE_LC_MESSAGES 1
85023 _ACEOF
85026 cat >conftest.$ac_ext <<_ACEOF
85027 /* confdefs.h. */
85028 _ACEOF
85029 cat confdefs.h >>conftest.$ac_ext
85030 cat >>conftest.$ac_ext <<_ACEOF
85031 /* end confdefs.h. */
85032 #include <setjmp.h>
85034 main ()
85036 sigjmp_buf env;
85037 while (! sigsetjmp (env, 1))
85038 siglongjmp (env, 1);
85041 return 0;
85043 _ACEOF
85044 rm -f conftest.$ac_objext
85045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85046 (eval $ac_compile) 2>conftest.er1
85047 ac_status=$?
85048 grep -v '^ *+' conftest.er1 >conftest.err
85049 rm -f conftest.er1
85050 cat conftest.err >&5
85051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85052 (exit $ac_status); } &&
85053 { ac_try='test -z "$ac_c_werror_flag"
85054 || test ! -s conftest.err'
85055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85056 (eval $ac_try) 2>&5
85057 ac_status=$?
85058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85059 (exit $ac_status); }; } &&
85060 { ac_try='test -s conftest.$ac_objext'
85061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85062 (eval $ac_try) 2>&5
85063 ac_status=$?
85064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85065 (exit $ac_status); }; }; then
85067 cat >>confdefs.h <<\_ACEOF
85068 #define HAVE_SIGSETJMP 1
85069 _ACEOF
85071 else
85072 echo "$as_me: failed program was:" >&5
85073 sed 's/^/| /' conftest.$ac_ext >&5
85076 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85078 cat >>confdefs.h <<\_ACEOF
85079 #define HAVE_MMAP 1
85080 _ACEOF
85084 *djgpp)
85105 for ac_header in float.h ieeefp.h inttypes.h locale.h \
85106 memory.h stdint.h stdlib.h strings.h string.h unistd.h \
85107 wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
85108 sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h
85110 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85111 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85112 echo "$as_me:$LINENO: checking for $ac_header" >&5
85113 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85114 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85115 echo $ECHO_N "(cached) $ECHO_C" >&6
85117 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85118 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85119 else
85120 # Is the header compilable?
85121 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85122 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85123 cat >conftest.$ac_ext <<_ACEOF
85124 /* confdefs.h. */
85125 _ACEOF
85126 cat confdefs.h >>conftest.$ac_ext
85127 cat >>conftest.$ac_ext <<_ACEOF
85128 /* end confdefs.h. */
85129 $ac_includes_default
85130 #include <$ac_header>
85131 _ACEOF
85132 rm -f conftest.$ac_objext
85133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85134 (eval $ac_compile) 2>conftest.er1
85135 ac_status=$?
85136 grep -v '^ *+' conftest.er1 >conftest.err
85137 rm -f conftest.er1
85138 cat conftest.err >&5
85139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85140 (exit $ac_status); } &&
85141 { ac_try='test -z "$ac_c_werror_flag"
85142 || test ! -s conftest.err'
85143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85144 (eval $ac_try) 2>&5
85145 ac_status=$?
85146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85147 (exit $ac_status); }; } &&
85148 { ac_try='test -s conftest.$ac_objext'
85149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85150 (eval $ac_try) 2>&5
85151 ac_status=$?
85152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85153 (exit $ac_status); }; }; then
85154 ac_header_compiler=yes
85155 else
85156 echo "$as_me: failed program was:" >&5
85157 sed 's/^/| /' conftest.$ac_ext >&5
85159 ac_header_compiler=no
85161 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85162 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85163 echo "${ECHO_T}$ac_header_compiler" >&6
85165 # Is the header present?
85166 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85167 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85168 cat >conftest.$ac_ext <<_ACEOF
85169 /* confdefs.h. */
85170 _ACEOF
85171 cat confdefs.h >>conftest.$ac_ext
85172 cat >>conftest.$ac_ext <<_ACEOF
85173 /* end confdefs.h. */
85174 #include <$ac_header>
85175 _ACEOF
85176 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85177 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85178 ac_status=$?
85179 grep -v '^ *+' conftest.er1 >conftest.err
85180 rm -f conftest.er1
85181 cat conftest.err >&5
85182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85183 (exit $ac_status); } >/dev/null; then
85184 if test -s conftest.err; then
85185 ac_cpp_err=$ac_c_preproc_warn_flag
85186 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85187 else
85188 ac_cpp_err=
85190 else
85191 ac_cpp_err=yes
85193 if test -z "$ac_cpp_err"; then
85194 ac_header_preproc=yes
85195 else
85196 echo "$as_me: failed program was:" >&5
85197 sed 's/^/| /' conftest.$ac_ext >&5
85199 ac_header_preproc=no
85201 rm -f conftest.err conftest.$ac_ext
85202 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85203 echo "${ECHO_T}$ac_header_preproc" >&6
85205 # So? What about this header?
85206 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85207 yes:no: )
85208 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85209 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85210 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85211 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85212 ac_header_preproc=yes
85214 no:yes:* )
85215 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85216 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85217 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
85218 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
85219 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85220 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85221 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
85222 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
85223 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85224 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85225 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85226 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85228 cat <<\_ASBOX
85229 ## ----------------------------------------- ##
85230 ## Report this to the package-unused lists. ##
85231 ## ----------------------------------------- ##
85232 _ASBOX
85234 sed "s/^/$as_me: WARNING: /" >&2
85236 esac
85237 echo "$as_me:$LINENO: checking for $ac_header" >&5
85238 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85239 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85240 echo $ECHO_N "(cached) $ECHO_C" >&6
85241 else
85242 eval "$as_ac_Header=\$ac_header_preproc"
85244 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85245 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85248 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85249 cat >>confdefs.h <<_ACEOF
85250 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85251 _ACEOF
85255 done
85257 # GLIBCXX_CHECK_MATH_SUPPORT
85258 cat >>confdefs.h <<\_ACEOF
85259 #define HAVE_LIBM 1
85260 _ACEOF
85262 cat >>confdefs.h <<\_ACEOF
85263 #define HAVE_ISINF 1
85264 _ACEOF
85266 cat >>confdefs.h <<\_ACEOF
85267 #define HAVE_ISNAN 1
85268 _ACEOF
85270 cat >>confdefs.h <<\_ACEOF
85271 #define HAVE_FINITE 1
85272 _ACEOF
85274 cat >>confdefs.h <<\_ACEOF
85275 #define HAVE_COPYSIGN 1
85276 _ACEOF
85278 cat >>confdefs.h <<\_ACEOF
85279 #define HAVE_SINCOS 1
85280 _ACEOF
85282 cat >>confdefs.h <<\_ACEOF
85283 #define HAVE_HYPOT 1
85284 _ACEOF
85286 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
85287 cat >>confdefs.h <<\_ACEOF
85288 #define HAVE___BUILTIN_ABS 1
85289 _ACEOF
85291 cat >>confdefs.h <<\_ACEOF
85292 #define HAVE___BUILTIN_FABSF 1
85293 _ACEOF
85295 cat >>confdefs.h <<\_ACEOF
85296 #define HAVE___BUILTIN_FABS 1
85297 _ACEOF
85299 cat >>confdefs.h <<\_ACEOF
85300 #define HAVE___BUILTIN_FABSL 1
85301 _ACEOF
85303 cat >>confdefs.h <<\_ACEOF
85304 #define HAVE___BUILTIN_LABS 1
85305 _ACEOF
85307 cat >>confdefs.h <<\_ACEOF
85308 #define HAVE___BUILTIN_SQRTF 1
85309 _ACEOF
85311 cat >>confdefs.h <<\_ACEOF
85312 #define HAVE___BUILTIN_SQRT 1
85313 _ACEOF
85315 cat >>confdefs.h <<\_ACEOF
85316 #define HAVE___BUILTIN_SQRTL 1
85317 _ACEOF
85319 cat >>confdefs.h <<\_ACEOF
85320 #define HAVE___BUILTIN_SINF 1
85321 _ACEOF
85323 cat >>confdefs.h <<\_ACEOF
85324 #define HAVE___BUILTIN_SIN 1
85325 _ACEOF
85327 cat >>confdefs.h <<\_ACEOF
85328 #define HAVE___BUILTIN_SINL 1
85329 _ACEOF
85331 cat >>confdefs.h <<\_ACEOF
85332 #define HAVE___BUILTIN_COSF 1
85333 _ACEOF
85335 cat >>confdefs.h <<\_ACEOF
85336 #define HAVE___BUILTIN_COS 1
85337 _ACEOF
85339 cat >>confdefs.h <<\_ACEOF
85340 #define HAVE___BUILTIN_COSL 1
85341 _ACEOF
85343 # GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT
85344 # GLIBCXX_CHECK_STDLIB_SUPPORT
85345 cat >>confdefs.h <<\_ACEOF
85346 #define HAVE_COPYSIGN 1
85347 _ACEOF
85349 cat >>confdefs.h <<\_ACEOF
85350 #define HAVE_COPYSIGNF 1
85351 _ACEOF
85353 # GLIBCXX_CHECK_S_ISREG_OR_S_IFREG
85354 cat >>confdefs.h <<\_ACEOF
85355 #define HAVE_S_ISREG 1
85356 _ACEOF
85358 cat >>confdefs.h <<\_ACEOF
85359 #define HAVE_S_IFREG 1
85360 _ACEOF
85362 cat >>confdefs.h <<\_ACEOF
85363 #define HAVE_WRITEV 1
85364 _ACEOF
85368 *-freebsd*)
85385 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
85386 machine/endian.h machine/param.h sys/machine.h sys/types.h \
85387 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
85388 sys/time.h unistd.h
85390 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85391 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85392 echo "$as_me:$LINENO: checking for $ac_header" >&5
85393 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85394 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85395 echo $ECHO_N "(cached) $ECHO_C" >&6
85397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85398 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85399 else
85400 # Is the header compilable?
85401 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85402 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85403 cat >conftest.$ac_ext <<_ACEOF
85404 /* confdefs.h. */
85405 _ACEOF
85406 cat confdefs.h >>conftest.$ac_ext
85407 cat >>conftest.$ac_ext <<_ACEOF
85408 /* end confdefs.h. */
85409 $ac_includes_default
85410 #include <$ac_header>
85411 _ACEOF
85412 rm -f conftest.$ac_objext
85413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85414 (eval $ac_compile) 2>conftest.er1
85415 ac_status=$?
85416 grep -v '^ *+' conftest.er1 >conftest.err
85417 rm -f conftest.er1
85418 cat conftest.err >&5
85419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85420 (exit $ac_status); } &&
85421 { ac_try='test -z "$ac_c_werror_flag"
85422 || test ! -s conftest.err'
85423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85424 (eval $ac_try) 2>&5
85425 ac_status=$?
85426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85427 (exit $ac_status); }; } &&
85428 { ac_try='test -s conftest.$ac_objext'
85429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85430 (eval $ac_try) 2>&5
85431 ac_status=$?
85432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85433 (exit $ac_status); }; }; then
85434 ac_header_compiler=yes
85435 else
85436 echo "$as_me: failed program was:" >&5
85437 sed 's/^/| /' conftest.$ac_ext >&5
85439 ac_header_compiler=no
85441 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85442 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85443 echo "${ECHO_T}$ac_header_compiler" >&6
85445 # Is the header present?
85446 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85447 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85448 cat >conftest.$ac_ext <<_ACEOF
85449 /* confdefs.h. */
85450 _ACEOF
85451 cat confdefs.h >>conftest.$ac_ext
85452 cat >>conftest.$ac_ext <<_ACEOF
85453 /* end confdefs.h. */
85454 #include <$ac_header>
85455 _ACEOF
85456 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85457 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85458 ac_status=$?
85459 grep -v '^ *+' conftest.er1 >conftest.err
85460 rm -f conftest.er1
85461 cat conftest.err >&5
85462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85463 (exit $ac_status); } >/dev/null; then
85464 if test -s conftest.err; then
85465 ac_cpp_err=$ac_c_preproc_warn_flag
85466 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85467 else
85468 ac_cpp_err=
85470 else
85471 ac_cpp_err=yes
85473 if test -z "$ac_cpp_err"; then
85474 ac_header_preproc=yes
85475 else
85476 echo "$as_me: failed program was:" >&5
85477 sed 's/^/| /' conftest.$ac_ext >&5
85479 ac_header_preproc=no
85481 rm -f conftest.err conftest.$ac_ext
85482 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85483 echo "${ECHO_T}$ac_header_preproc" >&6
85485 # So? What about this header?
85486 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85487 yes:no: )
85488 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85489 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85490 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85491 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85492 ac_header_preproc=yes
85494 no:yes:* )
85495 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85496 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85497 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
85498 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
85499 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85500 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85501 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
85502 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
85503 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85504 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85505 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85506 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85508 cat <<\_ASBOX
85509 ## ----------------------------------------- ##
85510 ## Report this to the package-unused lists. ##
85511 ## ----------------------------------------- ##
85512 _ASBOX
85514 sed "s/^/$as_me: WARNING: /" >&2
85516 esac
85517 echo "$as_me:$LINENO: checking for $ac_header" >&5
85518 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85519 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85520 echo $ECHO_N "(cached) $ECHO_C" >&6
85521 else
85522 eval "$as_ac_Header=\$ac_header_preproc"
85524 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85525 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85528 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85529 cat >>confdefs.h <<_ACEOF
85530 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85531 _ACEOF
85535 done
85537 SECTION_FLAGS='-ffunction-sections -fdata-sections'
85540 # If we're not using GNU ld, then there's no point in even trying these
85541 # tests. Check for that first. We should have already tested for gld
85542 # by now (in libtool), but require it now just to be safe...
85543 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
85544 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
85548 # The name set by libtool depends on the version of libtool. Shame on us
85549 # for depending on an impl detail, but c'est la vie. Older versions used
85550 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
85551 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
85552 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
85553 # set (hence we're using an older libtool), then set it.
85554 if test x${with_gnu_ld+set} != xset; then
85555 if test x${ac_cv_prog_gnu_ld+set} != xset; then
85556 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
85557 with_gnu_ld=no
85558 else
85559 with_gnu_ld=$ac_cv_prog_gnu_ld
85563 # Start by getting the version number. I think the libtool test already
85564 # does some of this, but throws away the result.
85565 if test x"$with_gnu_ld" = x"yes"; then
85566 echo "$as_me:$LINENO: checking for ld version" >&5
85567 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
85569 ldver=`$LD --version 2>/dev/null | head -1 | \
85570 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
85572 glibcxx_gnu_ld_version=`echo $ldver | \
85573 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
85574 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
85575 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
85578 # Set --gc-sections.
85579 glibcxx_gcsections_min_ld=21602
85580 if test x"$with_gnu_ld" = x"yes" &&
85581 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
85583 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
85584 # NB: This flag only works reliably after 2.16.1. Configure tests
85585 # for this are difficult, so hard wire a value that should work.
85587 ac_test_CFLAGS="${CFLAGS+set}"
85588 ac_save_CFLAGS="$CFLAGS"
85589 CFLAGS='-Wl,--gc-sections'
85591 # Check for -Wl,--gc-sections
85592 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
85593 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
85594 if test x$gcc_no_link = xyes; then
85595 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85596 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85597 { (exit 1); exit 1; }; }
85599 cat >conftest.$ac_ext <<_ACEOF
85600 /* confdefs.h. */
85601 _ACEOF
85602 cat confdefs.h >>conftest.$ac_ext
85603 cat >>conftest.$ac_ext <<_ACEOF
85604 /* end confdefs.h. */
85605 int one(void) { return 1; }
85606 int two(void) { return 2; }
85609 main ()
85611 two();
85613 return 0;
85615 _ACEOF
85616 rm -f conftest.$ac_objext conftest$ac_exeext
85617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85618 (eval $ac_link) 2>conftest.er1
85619 ac_status=$?
85620 grep -v '^ *+' conftest.er1 >conftest.err
85621 rm -f conftest.er1
85622 cat conftest.err >&5
85623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85624 (exit $ac_status); } &&
85625 { ac_try='test -z "$ac_c_werror_flag"
85626 || test ! -s conftest.err'
85627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85628 (eval $ac_try) 2>&5
85629 ac_status=$?
85630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85631 (exit $ac_status); }; } &&
85632 { ac_try='test -s conftest$ac_exeext'
85633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85634 (eval $ac_try) 2>&5
85635 ac_status=$?
85636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85637 (exit $ac_status); }; }; then
85638 ac_gcsections=yes
85639 else
85640 echo "$as_me: failed program was:" >&5
85641 sed 's/^/| /' conftest.$ac_ext >&5
85643 ac_gcsections=no
85645 rm -f conftest.err conftest.$ac_objext \
85646 conftest$ac_exeext conftest.$ac_ext
85647 if test "$ac_gcsections" = "yes"; then
85648 rm -f conftest.c
85649 touch conftest.c
85650 if $CC -c conftest.c; then
85651 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
85652 grep "Warning: gc-sections option ignored" > /dev/null; then
85653 ac_gcsections=no
85656 rm -f conftest.c conftest.o conftest
85658 if test "$ac_gcsections" = "yes"; then
85659 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
85661 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
85662 echo "${ECHO_T}$ac_gcsections" >&6
85664 if test "$ac_test_CFLAGS" = set; then
85665 CFLAGS="$ac_save_CFLAGS"
85666 else
85667 # this is the suspicious part
85668 CFLAGS=''
85672 # Set -z,relro.
85673 # Note this is only for shared objects.
85674 ac_ld_relro=no
85675 if test x"$with_gnu_ld" = x"yes"; then
85676 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
85677 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
85678 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
85679 if test -n "$cxx_z_relo"; then
85680 OPT_LDFLAGS="-Wl,-z,relro"
85681 ac_ld_relro=yes
85683 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
85684 echo "${ECHO_T}$ac_ld_relro" >&6
85687 # Set linker optimization flags.
85688 if test x"$with_gnu_ld" = x"yes"; then
85689 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
85697 echo "$as_me:$LINENO: checking for main in -lm" >&5
85698 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
85699 if test "${ac_cv_lib_m_main+set}" = set; then
85700 echo $ECHO_N "(cached) $ECHO_C" >&6
85701 else
85702 ac_check_lib_save_LIBS=$LIBS
85703 LIBS="-lm $LIBS"
85704 if test x$gcc_no_link = xyes; then
85705 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85706 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85707 { (exit 1); exit 1; }; }
85709 cat >conftest.$ac_ext <<_ACEOF
85710 /* confdefs.h. */
85711 _ACEOF
85712 cat confdefs.h >>conftest.$ac_ext
85713 cat >>conftest.$ac_ext <<_ACEOF
85714 /* end confdefs.h. */
85718 main ()
85720 main ();
85722 return 0;
85724 _ACEOF
85725 rm -f conftest.$ac_objext conftest$ac_exeext
85726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85727 (eval $ac_link) 2>conftest.er1
85728 ac_status=$?
85729 grep -v '^ *+' conftest.er1 >conftest.err
85730 rm -f conftest.er1
85731 cat conftest.err >&5
85732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85733 (exit $ac_status); } &&
85734 { ac_try='test -z "$ac_c_werror_flag"
85735 || test ! -s conftest.err'
85736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85737 (eval $ac_try) 2>&5
85738 ac_status=$?
85739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85740 (exit $ac_status); }; } &&
85741 { ac_try='test -s conftest$ac_exeext'
85742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85743 (eval $ac_try) 2>&5
85744 ac_status=$?
85745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85746 (exit $ac_status); }; }; then
85747 ac_cv_lib_m_main=yes
85748 else
85749 echo "$as_me: failed program was:" >&5
85750 sed 's/^/| /' conftest.$ac_ext >&5
85752 ac_cv_lib_m_main=no
85754 rm -f conftest.err conftest.$ac_objext \
85755 conftest$ac_exeext conftest.$ac_ext
85756 LIBS=$ac_check_lib_save_LIBS
85758 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
85759 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
85760 if test $ac_cv_lib_m_main = yes; then
85761 cat >>confdefs.h <<_ACEOF
85762 #define HAVE_LIBM 1
85763 _ACEOF
85765 LIBS="-lm $LIBS"
85770 for ac_func in copysignf
85772 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85773 echo "$as_me:$LINENO: checking for $ac_func" >&5
85774 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85775 if eval "test \"\${$as_ac_var+set}\" = set"; then
85776 echo $ECHO_N "(cached) $ECHO_C" >&6
85777 else
85778 if test x$gcc_no_link = xyes; then
85779 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85780 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85781 { (exit 1); exit 1; }; }
85783 cat >conftest.$ac_ext <<_ACEOF
85784 /* confdefs.h. */
85785 _ACEOF
85786 cat confdefs.h >>conftest.$ac_ext
85787 cat >>conftest.$ac_ext <<_ACEOF
85788 /* end confdefs.h. */
85789 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85790 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85791 #define $ac_func innocuous_$ac_func
85793 /* System header to define __stub macros and hopefully few prototypes,
85794 which can conflict with char $ac_func (); below.
85795 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85796 <limits.h> exists even on freestanding compilers. */
85798 #ifdef __STDC__
85799 # include <limits.h>
85800 #else
85801 # include <assert.h>
85802 #endif
85804 #undef $ac_func
85806 /* Override any gcc2 internal prototype to avoid an error. */
85807 #ifdef __cplusplus
85808 extern "C"
85810 #endif
85811 /* We use char because int might match the return type of a gcc2
85812 builtin and then its argument prototype would still apply. */
85813 char $ac_func ();
85814 /* The GNU C library defines this for functions which it implements
85815 to always fail with ENOSYS. Some functions are actually named
85816 something starting with __ and the normal name is an alias. */
85817 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85818 choke me
85819 #else
85820 char (*f) () = $ac_func;
85821 #endif
85822 #ifdef __cplusplus
85824 #endif
85827 main ()
85829 return f != $ac_func;
85831 return 0;
85833 _ACEOF
85834 rm -f conftest.$ac_objext conftest$ac_exeext
85835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85836 (eval $ac_link) 2>conftest.er1
85837 ac_status=$?
85838 grep -v '^ *+' conftest.er1 >conftest.err
85839 rm -f conftest.er1
85840 cat conftest.err >&5
85841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85842 (exit $ac_status); } &&
85843 { ac_try='test -z "$ac_c_werror_flag"
85844 || test ! -s conftest.err'
85845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85846 (eval $ac_try) 2>&5
85847 ac_status=$?
85848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85849 (exit $ac_status); }; } &&
85850 { ac_try='test -s conftest$ac_exeext'
85851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85852 (eval $ac_try) 2>&5
85853 ac_status=$?
85854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85855 (exit $ac_status); }; }; then
85856 eval "$as_ac_var=yes"
85857 else
85858 echo "$as_me: failed program was:" >&5
85859 sed 's/^/| /' conftest.$ac_ext >&5
85861 eval "$as_ac_var=no"
85863 rm -f conftest.err conftest.$ac_objext \
85864 conftest$ac_exeext conftest.$ac_ext
85866 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85867 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85868 if test `eval echo '${'$as_ac_var'}'` = yes; then
85869 cat >>confdefs.h <<_ACEOF
85870 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85871 _ACEOF
85873 else
85874 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
85876 done
85880 for ac_func in __signbit
85882 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85883 echo "$as_me:$LINENO: checking for $ac_func" >&5
85884 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85885 if eval "test \"\${$as_ac_var+set}\" = set"; then
85886 echo $ECHO_N "(cached) $ECHO_C" >&6
85887 else
85888 if test x$gcc_no_link = xyes; then
85889 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85890 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85891 { (exit 1); exit 1; }; }
85893 cat >conftest.$ac_ext <<_ACEOF
85894 /* confdefs.h. */
85895 _ACEOF
85896 cat confdefs.h >>conftest.$ac_ext
85897 cat >>conftest.$ac_ext <<_ACEOF
85898 /* end confdefs.h. */
85899 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85900 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85901 #define $ac_func innocuous_$ac_func
85903 /* System header to define __stub macros and hopefully few prototypes,
85904 which can conflict with char $ac_func (); below.
85905 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85906 <limits.h> exists even on freestanding compilers. */
85908 #ifdef __STDC__
85909 # include <limits.h>
85910 #else
85911 # include <assert.h>
85912 #endif
85914 #undef $ac_func
85916 /* Override any gcc2 internal prototype to avoid an error. */
85917 #ifdef __cplusplus
85918 extern "C"
85920 #endif
85921 /* We use char because int might match the return type of a gcc2
85922 builtin and then its argument prototype would still apply. */
85923 char $ac_func ();
85924 /* The GNU C library defines this for functions which it implements
85925 to always fail with ENOSYS. Some functions are actually named
85926 something starting with __ and the normal name is an alias. */
85927 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85928 choke me
85929 #else
85930 char (*f) () = $ac_func;
85931 #endif
85932 #ifdef __cplusplus
85934 #endif
85937 main ()
85939 return f != $ac_func;
85941 return 0;
85943 _ACEOF
85944 rm -f conftest.$ac_objext conftest$ac_exeext
85945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85946 (eval $ac_link) 2>conftest.er1
85947 ac_status=$?
85948 grep -v '^ *+' conftest.er1 >conftest.err
85949 rm -f conftest.er1
85950 cat conftest.err >&5
85951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85952 (exit $ac_status); } &&
85953 { ac_try='test -z "$ac_c_werror_flag"
85954 || test ! -s conftest.err'
85955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85956 (eval $ac_try) 2>&5
85957 ac_status=$?
85958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85959 (exit $ac_status); }; } &&
85960 { ac_try='test -s conftest$ac_exeext'
85961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85962 (eval $ac_try) 2>&5
85963 ac_status=$?
85964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85965 (exit $ac_status); }; }; then
85966 eval "$as_ac_var=yes"
85967 else
85968 echo "$as_me: failed program was:" >&5
85969 sed 's/^/| /' conftest.$ac_ext >&5
85971 eval "$as_ac_var=no"
85973 rm -f conftest.err conftest.$ac_objext \
85974 conftest$ac_exeext conftest.$ac_ext
85976 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85977 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85978 if test `eval echo '${'$as_ac_var'}'` = yes; then
85979 cat >>confdefs.h <<_ACEOF
85980 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85981 _ACEOF
85983 else
85984 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
85986 done
85990 for ac_func in __signbitf
85992 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85993 echo "$as_me:$LINENO: checking for $ac_func" >&5
85994 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85995 if eval "test \"\${$as_ac_var+set}\" = set"; then
85996 echo $ECHO_N "(cached) $ECHO_C" >&6
85997 else
85998 if test x$gcc_no_link = xyes; then
85999 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86000 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86001 { (exit 1); exit 1; }; }
86003 cat >conftest.$ac_ext <<_ACEOF
86004 /* confdefs.h. */
86005 _ACEOF
86006 cat confdefs.h >>conftest.$ac_ext
86007 cat >>conftest.$ac_ext <<_ACEOF
86008 /* end confdefs.h. */
86009 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86010 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86011 #define $ac_func innocuous_$ac_func
86013 /* System header to define __stub macros and hopefully few prototypes,
86014 which can conflict with char $ac_func (); below.
86015 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86016 <limits.h> exists even on freestanding compilers. */
86018 #ifdef __STDC__
86019 # include <limits.h>
86020 #else
86021 # include <assert.h>
86022 #endif
86024 #undef $ac_func
86026 /* Override any gcc2 internal prototype to avoid an error. */
86027 #ifdef __cplusplus
86028 extern "C"
86030 #endif
86031 /* We use char because int might match the return type of a gcc2
86032 builtin and then its argument prototype would still apply. */
86033 char $ac_func ();
86034 /* The GNU C library defines this for functions which it implements
86035 to always fail with ENOSYS. Some functions are actually named
86036 something starting with __ and the normal name is an alias. */
86037 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86038 choke me
86039 #else
86040 char (*f) () = $ac_func;
86041 #endif
86042 #ifdef __cplusplus
86044 #endif
86047 main ()
86049 return f != $ac_func;
86051 return 0;
86053 _ACEOF
86054 rm -f conftest.$ac_objext conftest$ac_exeext
86055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86056 (eval $ac_link) 2>conftest.er1
86057 ac_status=$?
86058 grep -v '^ *+' conftest.er1 >conftest.err
86059 rm -f conftest.er1
86060 cat conftest.err >&5
86061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86062 (exit $ac_status); } &&
86063 { ac_try='test -z "$ac_c_werror_flag"
86064 || test ! -s conftest.err'
86065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86066 (eval $ac_try) 2>&5
86067 ac_status=$?
86068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86069 (exit $ac_status); }; } &&
86070 { ac_try='test -s conftest$ac_exeext'
86071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86072 (eval $ac_try) 2>&5
86073 ac_status=$?
86074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86075 (exit $ac_status); }; }; then
86076 eval "$as_ac_var=yes"
86077 else
86078 echo "$as_me: failed program was:" >&5
86079 sed 's/^/| /' conftest.$ac_ext >&5
86081 eval "$as_ac_var=no"
86083 rm -f conftest.err conftest.$ac_objext \
86084 conftest$ac_exeext conftest.$ac_ext
86086 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86087 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86088 if test `eval echo '${'$as_ac_var'}'` = yes; then
86089 cat >>confdefs.h <<_ACEOF
86090 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86091 _ACEOF
86093 else
86094 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
86096 done
86099 if test x$ac_cv_func_copysignl = x"yes"; then
86101 for ac_func in __signbitl
86103 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86104 echo "$as_me:$LINENO: checking for $ac_func" >&5
86105 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86106 if eval "test \"\${$as_ac_var+set}\" = set"; then
86107 echo $ECHO_N "(cached) $ECHO_C" >&6
86108 else
86109 if test x$gcc_no_link = xyes; then
86110 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86111 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86112 { (exit 1); exit 1; }; }
86114 cat >conftest.$ac_ext <<_ACEOF
86115 /* confdefs.h. */
86116 _ACEOF
86117 cat confdefs.h >>conftest.$ac_ext
86118 cat >>conftest.$ac_ext <<_ACEOF
86119 /* end confdefs.h. */
86120 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86121 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86122 #define $ac_func innocuous_$ac_func
86124 /* System header to define __stub macros and hopefully few prototypes,
86125 which can conflict with char $ac_func (); below.
86126 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86127 <limits.h> exists even on freestanding compilers. */
86129 #ifdef __STDC__
86130 # include <limits.h>
86131 #else
86132 # include <assert.h>
86133 #endif
86135 #undef $ac_func
86137 /* Override any gcc2 internal prototype to avoid an error. */
86138 #ifdef __cplusplus
86139 extern "C"
86141 #endif
86142 /* We use char because int might match the return type of a gcc2
86143 builtin and then its argument prototype would still apply. */
86144 char $ac_func ();
86145 /* The GNU C library defines this for functions which it implements
86146 to always fail with ENOSYS. Some functions are actually named
86147 something starting with __ and the normal name is an alias. */
86148 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86149 choke me
86150 #else
86151 char (*f) () = $ac_func;
86152 #endif
86153 #ifdef __cplusplus
86155 #endif
86158 main ()
86160 return f != $ac_func;
86162 return 0;
86164 _ACEOF
86165 rm -f conftest.$ac_objext conftest$ac_exeext
86166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86167 (eval $ac_link) 2>conftest.er1
86168 ac_status=$?
86169 grep -v '^ *+' conftest.er1 >conftest.err
86170 rm -f conftest.er1
86171 cat conftest.err >&5
86172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86173 (exit $ac_status); } &&
86174 { ac_try='test -z "$ac_c_werror_flag"
86175 || test ! -s conftest.err'
86176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86177 (eval $ac_try) 2>&5
86178 ac_status=$?
86179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86180 (exit $ac_status); }; } &&
86181 { ac_try='test -s conftest$ac_exeext'
86182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86183 (eval $ac_try) 2>&5
86184 ac_status=$?
86185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86186 (exit $ac_status); }; }; then
86187 eval "$as_ac_var=yes"
86188 else
86189 echo "$as_me: failed program was:" >&5
86190 sed 's/^/| /' conftest.$ac_ext >&5
86192 eval "$as_ac_var=no"
86194 rm -f conftest.err conftest.$ac_objext \
86195 conftest$ac_exeext conftest.$ac_ext
86197 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86198 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86199 if test `eval echo '${'$as_ac_var'}'` = yes; then
86200 cat >>confdefs.h <<_ACEOF
86201 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86202 _ACEOF
86204 else
86205 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
86207 done
86211 # Used in libmath/Makefile.am.
86212 if test -n "$LIBMATHOBJS"; then
86213 need_libmath=yes
86217 cat >>confdefs.h <<\_ACEOF
86218 #define HAVE_LC_MESSAGES 1
86219 _ACEOF
86221 cat >>confdefs.h <<\_ACEOF
86222 #define HAVE_GETPAGESIZE 1
86223 _ACEOF
86225 cat >>confdefs.h <<\_ACEOF
86226 #define HAVE_SETENV 1
86227 _ACEOF
86229 cat >>confdefs.h <<\_ACEOF
86230 #define HAVE_SIGSETJMP 1
86231 _ACEOF
86233 cat >>confdefs.h <<\_ACEOF
86234 #define HAVE_COPYSIGN 1
86235 _ACEOF
86237 cat >>confdefs.h <<\_ACEOF
86238 #define HAVE_COPYSIGNF 1
86239 _ACEOF
86241 cat >>confdefs.h <<\_ACEOF
86242 #define HAVE_FINITEF 1
86243 _ACEOF
86245 cat >>confdefs.h <<\_ACEOF
86246 #define HAVE_FINITE 1
86247 _ACEOF
86249 cat >>confdefs.h <<\_ACEOF
86250 #define HAVE_FREXPF 1
86251 _ACEOF
86253 cat >>confdefs.h <<\_ACEOF
86254 #define HAVE_HYPOT 1
86255 _ACEOF
86257 cat >>confdefs.h <<\_ACEOF
86258 #define HAVE_HYPOTF 1
86259 _ACEOF
86261 cat >>confdefs.h <<\_ACEOF
86262 #define HAVE_ISINF 1
86263 _ACEOF
86265 cat >>confdefs.h <<\_ACEOF
86266 #define HAVE_ISNAN 1
86267 _ACEOF
86269 cat >>confdefs.h <<\_ACEOF
86270 #define HAVE_ISNANF 1
86271 _ACEOF
86274 cat >>confdefs.h <<\_ACEOF
86275 #define HAVE_MMAP 1
86276 _ACEOF
86278 cat >>confdefs.h <<\_ACEOF
86279 #define HAVE_ACOSF 1
86280 _ACEOF
86282 cat >>confdefs.h <<\_ACEOF
86283 #define HAVE_ASINF 1
86284 _ACEOF
86286 cat >>confdefs.h <<\_ACEOF
86287 #define HAVE_ATAN2F 1
86288 _ACEOF
86290 cat >>confdefs.h <<\_ACEOF
86291 #define HAVE_ATANF 1
86292 _ACEOF
86294 cat >>confdefs.h <<\_ACEOF
86295 #define HAVE_CEILF 1
86296 _ACEOF
86298 cat >>confdefs.h <<\_ACEOF
86299 #define HAVE_COPYSIGN 1
86300 _ACEOF
86302 cat >>confdefs.h <<\_ACEOF
86303 #define HAVE_COPYSIGNF 1
86304 _ACEOF
86306 cat >>confdefs.h <<\_ACEOF
86307 #define HAVE_COSF 1
86308 _ACEOF
86310 cat >>confdefs.h <<\_ACEOF
86311 #define HAVE_COSHF 1
86312 _ACEOF
86314 cat >>confdefs.h <<\_ACEOF
86315 #define HAVE_EXPF 1
86316 _ACEOF
86318 cat >>confdefs.h <<\_ACEOF
86319 #define HAVE_FABSF 1
86320 _ACEOF
86322 cat >>confdefs.h <<\_ACEOF
86323 #define HAVE_FLOORF 1
86324 _ACEOF
86326 cat >>confdefs.h <<\_ACEOF
86327 #define HAVE_FMODF 1
86328 _ACEOF
86330 cat >>confdefs.h <<\_ACEOF
86331 #define HAVE_FREXPF 1
86332 _ACEOF
86334 cat >>confdefs.h <<\_ACEOF
86335 #define HAVE_LDEXPF 1
86336 _ACEOF
86338 cat >>confdefs.h <<\_ACEOF
86339 #define HAVE_LOG10F 1
86340 _ACEOF
86342 cat >>confdefs.h <<\_ACEOF
86343 #define HAVE_LOGF 1
86344 _ACEOF
86346 cat >>confdefs.h <<\_ACEOF
86347 #define HAVE_MODFF 1
86348 _ACEOF
86350 cat >>confdefs.h <<\_ACEOF
86351 #define HAVE_POWF 1
86352 _ACEOF
86354 cat >>confdefs.h <<\_ACEOF
86355 #define HAVE_SINF 1
86356 _ACEOF
86358 cat >>confdefs.h <<\_ACEOF
86359 #define HAVE_SINHF 1
86360 _ACEOF
86362 cat >>confdefs.h <<\_ACEOF
86363 #define HAVE_SQRTF 1
86364 _ACEOF
86366 cat >>confdefs.h <<\_ACEOF
86367 #define HAVE_TANF 1
86368 _ACEOF
86370 cat >>confdefs.h <<\_ACEOF
86371 #define HAVE_TANHF 1
86372 _ACEOF
86374 if test x"long_double_math_on_this_cpu" = x"yes"; then
86375 cat >>confdefs.h <<\_ACEOF
86376 #define HAVE_FINITEL 1
86377 _ACEOF
86379 cat >>confdefs.h <<\_ACEOF
86380 #define HAVE_ISINFL 1
86381 _ACEOF
86383 cat >>confdefs.h <<\_ACEOF
86384 #define HAVE_ISNANL 1
86385 _ACEOF
86389 *-hpux*)
86402 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
86403 machine/endian.h machine/param.h sys/machine.h sys/types.h \
86404 fp.h locale.h float.h inttypes.h
86406 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
86407 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86408 echo "$as_me:$LINENO: checking for $ac_header" >&5
86409 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86410 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86411 echo $ECHO_N "(cached) $ECHO_C" >&6
86413 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86414 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86415 else
86416 # Is the header compilable?
86417 echo "$as_me:$LINENO: checking $ac_header usability" >&5
86418 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
86419 cat >conftest.$ac_ext <<_ACEOF
86420 /* confdefs.h. */
86421 _ACEOF
86422 cat confdefs.h >>conftest.$ac_ext
86423 cat >>conftest.$ac_ext <<_ACEOF
86424 /* end confdefs.h. */
86425 $ac_includes_default
86426 #include <$ac_header>
86427 _ACEOF
86428 rm -f conftest.$ac_objext
86429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86430 (eval $ac_compile) 2>conftest.er1
86431 ac_status=$?
86432 grep -v '^ *+' conftest.er1 >conftest.err
86433 rm -f conftest.er1
86434 cat conftest.err >&5
86435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86436 (exit $ac_status); } &&
86437 { ac_try='test -z "$ac_c_werror_flag"
86438 || test ! -s conftest.err'
86439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86440 (eval $ac_try) 2>&5
86441 ac_status=$?
86442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86443 (exit $ac_status); }; } &&
86444 { ac_try='test -s conftest.$ac_objext'
86445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86446 (eval $ac_try) 2>&5
86447 ac_status=$?
86448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86449 (exit $ac_status); }; }; then
86450 ac_header_compiler=yes
86451 else
86452 echo "$as_me: failed program was:" >&5
86453 sed 's/^/| /' conftest.$ac_ext >&5
86455 ac_header_compiler=no
86457 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86458 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86459 echo "${ECHO_T}$ac_header_compiler" >&6
86461 # Is the header present?
86462 echo "$as_me:$LINENO: checking $ac_header presence" >&5
86463 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
86464 cat >conftest.$ac_ext <<_ACEOF
86465 /* confdefs.h. */
86466 _ACEOF
86467 cat confdefs.h >>conftest.$ac_ext
86468 cat >>conftest.$ac_ext <<_ACEOF
86469 /* end confdefs.h. */
86470 #include <$ac_header>
86471 _ACEOF
86472 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86473 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86474 ac_status=$?
86475 grep -v '^ *+' conftest.er1 >conftest.err
86476 rm -f conftest.er1
86477 cat conftest.err >&5
86478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86479 (exit $ac_status); } >/dev/null; then
86480 if test -s conftest.err; then
86481 ac_cpp_err=$ac_c_preproc_warn_flag
86482 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86483 else
86484 ac_cpp_err=
86486 else
86487 ac_cpp_err=yes
86489 if test -z "$ac_cpp_err"; then
86490 ac_header_preproc=yes
86491 else
86492 echo "$as_me: failed program was:" >&5
86493 sed 's/^/| /' conftest.$ac_ext >&5
86495 ac_header_preproc=no
86497 rm -f conftest.err conftest.$ac_ext
86498 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86499 echo "${ECHO_T}$ac_header_preproc" >&6
86501 # So? What about this header?
86502 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86503 yes:no: )
86504 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
86505 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
86506 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
86507 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
86508 ac_header_preproc=yes
86510 no:yes:* )
86511 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
86512 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
86513 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
86514 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
86515 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
86516 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
86517 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
86518 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
86519 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
86520 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
86521 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
86522 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
86524 cat <<\_ASBOX
86525 ## ----------------------------------------- ##
86526 ## Report this to the package-unused lists. ##
86527 ## ----------------------------------------- ##
86528 _ASBOX
86530 sed "s/^/$as_me: WARNING: /" >&2
86532 esac
86533 echo "$as_me:$LINENO: checking for $ac_header" >&5
86534 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86535 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86536 echo $ECHO_N "(cached) $ECHO_C" >&6
86537 else
86538 eval "$as_ac_Header=\$ac_header_preproc"
86540 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86541 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86544 if test `eval echo '${'$as_ac_Header'}'` = yes; then
86545 cat >>confdefs.h <<_ACEOF
86546 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
86547 _ACEOF
86551 done
86553 SECTION_FLAGS='-ffunction-sections -fdata-sections'
86556 # If we're not using GNU ld, then there's no point in even trying these
86557 # tests. Check for that first. We should have already tested for gld
86558 # by now (in libtool), but require it now just to be safe...
86559 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
86560 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
86564 # The name set by libtool depends on the version of libtool. Shame on us
86565 # for depending on an impl detail, but c'est la vie. Older versions used
86566 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
86567 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
86568 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
86569 # set (hence we're using an older libtool), then set it.
86570 if test x${with_gnu_ld+set} != xset; then
86571 if test x${ac_cv_prog_gnu_ld+set} != xset; then
86572 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
86573 with_gnu_ld=no
86574 else
86575 with_gnu_ld=$ac_cv_prog_gnu_ld
86579 # Start by getting the version number. I think the libtool test already
86580 # does some of this, but throws away the result.
86581 if test x"$with_gnu_ld" = x"yes"; then
86582 echo "$as_me:$LINENO: checking for ld version" >&5
86583 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
86585 ldver=`$LD --version 2>/dev/null | head -1 | \
86586 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
86588 glibcxx_gnu_ld_version=`echo $ldver | \
86589 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
86590 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
86591 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
86594 # Set --gc-sections.
86595 glibcxx_gcsections_min_ld=21602
86596 if test x"$with_gnu_ld" = x"yes" &&
86597 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
86599 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
86600 # NB: This flag only works reliably after 2.16.1. Configure tests
86601 # for this are difficult, so hard wire a value that should work.
86603 ac_test_CFLAGS="${CFLAGS+set}"
86604 ac_save_CFLAGS="$CFLAGS"
86605 CFLAGS='-Wl,--gc-sections'
86607 # Check for -Wl,--gc-sections
86608 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
86609 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
86610 if test x$gcc_no_link = xyes; then
86611 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86612 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86613 { (exit 1); exit 1; }; }
86615 cat >conftest.$ac_ext <<_ACEOF
86616 /* confdefs.h. */
86617 _ACEOF
86618 cat confdefs.h >>conftest.$ac_ext
86619 cat >>conftest.$ac_ext <<_ACEOF
86620 /* end confdefs.h. */
86621 int one(void) { return 1; }
86622 int two(void) { return 2; }
86625 main ()
86627 two();
86629 return 0;
86631 _ACEOF
86632 rm -f conftest.$ac_objext conftest$ac_exeext
86633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86634 (eval $ac_link) 2>conftest.er1
86635 ac_status=$?
86636 grep -v '^ *+' conftest.er1 >conftest.err
86637 rm -f conftest.er1
86638 cat conftest.err >&5
86639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86640 (exit $ac_status); } &&
86641 { ac_try='test -z "$ac_c_werror_flag"
86642 || test ! -s conftest.err'
86643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86644 (eval $ac_try) 2>&5
86645 ac_status=$?
86646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86647 (exit $ac_status); }; } &&
86648 { ac_try='test -s conftest$ac_exeext'
86649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86650 (eval $ac_try) 2>&5
86651 ac_status=$?
86652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86653 (exit $ac_status); }; }; then
86654 ac_gcsections=yes
86655 else
86656 echo "$as_me: failed program was:" >&5
86657 sed 's/^/| /' conftest.$ac_ext >&5
86659 ac_gcsections=no
86661 rm -f conftest.err conftest.$ac_objext \
86662 conftest$ac_exeext conftest.$ac_ext
86663 if test "$ac_gcsections" = "yes"; then
86664 rm -f conftest.c
86665 touch conftest.c
86666 if $CC -c conftest.c; then
86667 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
86668 grep "Warning: gc-sections option ignored" > /dev/null; then
86669 ac_gcsections=no
86672 rm -f conftest.c conftest.o conftest
86674 if test "$ac_gcsections" = "yes"; then
86675 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
86677 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
86678 echo "${ECHO_T}$ac_gcsections" >&6
86680 if test "$ac_test_CFLAGS" = set; then
86681 CFLAGS="$ac_save_CFLAGS"
86682 else
86683 # this is the suspicious part
86684 CFLAGS=''
86688 # Set -z,relro.
86689 # Note this is only for shared objects.
86690 ac_ld_relro=no
86691 if test x"$with_gnu_ld" = x"yes"; then
86692 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
86693 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
86694 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
86695 if test -n "$cxx_z_relo"; then
86696 OPT_LDFLAGS="-Wl,-z,relro"
86697 ac_ld_relro=yes
86699 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
86700 echo "${ECHO_T}$ac_ld_relro" >&6
86703 # Set linker optimization flags.
86704 if test x"$with_gnu_ld" = x"yes"; then
86705 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
86713 echo "$as_me:$LINENO: checking for main in -lm" >&5
86714 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
86715 if test "${ac_cv_lib_m_main+set}" = set; then
86716 echo $ECHO_N "(cached) $ECHO_C" >&6
86717 else
86718 ac_check_lib_save_LIBS=$LIBS
86719 LIBS="-lm $LIBS"
86720 if test x$gcc_no_link = xyes; then
86721 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86722 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86723 { (exit 1); exit 1; }; }
86725 cat >conftest.$ac_ext <<_ACEOF
86726 /* confdefs.h. */
86727 _ACEOF
86728 cat confdefs.h >>conftest.$ac_ext
86729 cat >>conftest.$ac_ext <<_ACEOF
86730 /* end confdefs.h. */
86734 main ()
86736 main ();
86738 return 0;
86740 _ACEOF
86741 rm -f conftest.$ac_objext conftest$ac_exeext
86742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86743 (eval $ac_link) 2>conftest.er1
86744 ac_status=$?
86745 grep -v '^ *+' conftest.er1 >conftest.err
86746 rm -f conftest.er1
86747 cat conftest.err >&5
86748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86749 (exit $ac_status); } &&
86750 { ac_try='test -z "$ac_c_werror_flag"
86751 || test ! -s conftest.err'
86752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86753 (eval $ac_try) 2>&5
86754 ac_status=$?
86755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86756 (exit $ac_status); }; } &&
86757 { ac_try='test -s conftest$ac_exeext'
86758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86759 (eval $ac_try) 2>&5
86760 ac_status=$?
86761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86762 (exit $ac_status); }; }; then
86763 ac_cv_lib_m_main=yes
86764 else
86765 echo "$as_me: failed program was:" >&5
86766 sed 's/^/| /' conftest.$ac_ext >&5
86768 ac_cv_lib_m_main=no
86770 rm -f conftest.err conftest.$ac_objext \
86771 conftest$ac_exeext conftest.$ac_ext
86772 LIBS=$ac_check_lib_save_LIBS
86774 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
86775 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
86776 if test $ac_cv_lib_m_main = yes; then
86777 cat >>confdefs.h <<_ACEOF
86778 #define HAVE_LIBM 1
86779 _ACEOF
86781 LIBS="-lm $LIBS"
86786 for ac_func in copysignf
86788 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86789 echo "$as_me:$LINENO: checking for $ac_func" >&5
86790 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86791 if eval "test \"\${$as_ac_var+set}\" = set"; then
86792 echo $ECHO_N "(cached) $ECHO_C" >&6
86793 else
86794 if test x$gcc_no_link = xyes; then
86795 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86796 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86797 { (exit 1); exit 1; }; }
86799 cat >conftest.$ac_ext <<_ACEOF
86800 /* confdefs.h. */
86801 _ACEOF
86802 cat confdefs.h >>conftest.$ac_ext
86803 cat >>conftest.$ac_ext <<_ACEOF
86804 /* end confdefs.h. */
86805 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86807 #define $ac_func innocuous_$ac_func
86809 /* System header to define __stub macros and hopefully few prototypes,
86810 which can conflict with char $ac_func (); below.
86811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86812 <limits.h> exists even on freestanding compilers. */
86814 #ifdef __STDC__
86815 # include <limits.h>
86816 #else
86817 # include <assert.h>
86818 #endif
86820 #undef $ac_func
86822 /* Override any gcc2 internal prototype to avoid an error. */
86823 #ifdef __cplusplus
86824 extern "C"
86826 #endif
86827 /* We use char because int might match the return type of a gcc2
86828 builtin and then its argument prototype would still apply. */
86829 char $ac_func ();
86830 /* The GNU C library defines this for functions which it implements
86831 to always fail with ENOSYS. Some functions are actually named
86832 something starting with __ and the normal name is an alias. */
86833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86834 choke me
86835 #else
86836 char (*f) () = $ac_func;
86837 #endif
86838 #ifdef __cplusplus
86840 #endif
86843 main ()
86845 return f != $ac_func;
86847 return 0;
86849 _ACEOF
86850 rm -f conftest.$ac_objext conftest$ac_exeext
86851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86852 (eval $ac_link) 2>conftest.er1
86853 ac_status=$?
86854 grep -v '^ *+' conftest.er1 >conftest.err
86855 rm -f conftest.er1
86856 cat conftest.err >&5
86857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86858 (exit $ac_status); } &&
86859 { ac_try='test -z "$ac_c_werror_flag"
86860 || test ! -s conftest.err'
86861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86862 (eval $ac_try) 2>&5
86863 ac_status=$?
86864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86865 (exit $ac_status); }; } &&
86866 { ac_try='test -s conftest$ac_exeext'
86867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86868 (eval $ac_try) 2>&5
86869 ac_status=$?
86870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86871 (exit $ac_status); }; }; then
86872 eval "$as_ac_var=yes"
86873 else
86874 echo "$as_me: failed program was:" >&5
86875 sed 's/^/| /' conftest.$ac_ext >&5
86877 eval "$as_ac_var=no"
86879 rm -f conftest.err conftest.$ac_objext \
86880 conftest$ac_exeext conftest.$ac_ext
86882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86883 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86884 if test `eval echo '${'$as_ac_var'}'` = yes; then
86885 cat >>confdefs.h <<_ACEOF
86886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86887 _ACEOF
86889 else
86890 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
86892 done
86896 for ac_func in __signbit
86898 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86899 echo "$as_me:$LINENO: checking for $ac_func" >&5
86900 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86901 if eval "test \"\${$as_ac_var+set}\" = set"; then
86902 echo $ECHO_N "(cached) $ECHO_C" >&6
86903 else
86904 if test x$gcc_no_link = xyes; then
86905 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86906 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86907 { (exit 1); exit 1; }; }
86909 cat >conftest.$ac_ext <<_ACEOF
86910 /* confdefs.h. */
86911 _ACEOF
86912 cat confdefs.h >>conftest.$ac_ext
86913 cat >>conftest.$ac_ext <<_ACEOF
86914 /* end confdefs.h. */
86915 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86916 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86917 #define $ac_func innocuous_$ac_func
86919 /* System header to define __stub macros and hopefully few prototypes,
86920 which can conflict with char $ac_func (); below.
86921 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86922 <limits.h> exists even on freestanding compilers. */
86924 #ifdef __STDC__
86925 # include <limits.h>
86926 #else
86927 # include <assert.h>
86928 #endif
86930 #undef $ac_func
86932 /* Override any gcc2 internal prototype to avoid an error. */
86933 #ifdef __cplusplus
86934 extern "C"
86936 #endif
86937 /* We use char because int might match the return type of a gcc2
86938 builtin and then its argument prototype would still apply. */
86939 char $ac_func ();
86940 /* The GNU C library defines this for functions which it implements
86941 to always fail with ENOSYS. Some functions are actually named
86942 something starting with __ and the normal name is an alias. */
86943 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86944 choke me
86945 #else
86946 char (*f) () = $ac_func;
86947 #endif
86948 #ifdef __cplusplus
86950 #endif
86953 main ()
86955 return f != $ac_func;
86957 return 0;
86959 _ACEOF
86960 rm -f conftest.$ac_objext conftest$ac_exeext
86961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86962 (eval $ac_link) 2>conftest.er1
86963 ac_status=$?
86964 grep -v '^ *+' conftest.er1 >conftest.err
86965 rm -f conftest.er1
86966 cat conftest.err >&5
86967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86968 (exit $ac_status); } &&
86969 { ac_try='test -z "$ac_c_werror_flag"
86970 || test ! -s conftest.err'
86971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86972 (eval $ac_try) 2>&5
86973 ac_status=$?
86974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86975 (exit $ac_status); }; } &&
86976 { ac_try='test -s conftest$ac_exeext'
86977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86978 (eval $ac_try) 2>&5
86979 ac_status=$?
86980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86981 (exit $ac_status); }; }; then
86982 eval "$as_ac_var=yes"
86983 else
86984 echo "$as_me: failed program was:" >&5
86985 sed 's/^/| /' conftest.$ac_ext >&5
86987 eval "$as_ac_var=no"
86989 rm -f conftest.err conftest.$ac_objext \
86990 conftest$ac_exeext conftest.$ac_ext
86992 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86993 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86994 if test `eval echo '${'$as_ac_var'}'` = yes; then
86995 cat >>confdefs.h <<_ACEOF
86996 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86997 _ACEOF
86999 else
87000 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
87002 done
87006 for ac_func in __signbitf
87008 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87009 echo "$as_me:$LINENO: checking for $ac_func" >&5
87010 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87011 if eval "test \"\${$as_ac_var+set}\" = set"; then
87012 echo $ECHO_N "(cached) $ECHO_C" >&6
87013 else
87014 if test x$gcc_no_link = xyes; then
87015 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87016 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87017 { (exit 1); exit 1; }; }
87019 cat >conftest.$ac_ext <<_ACEOF
87020 /* confdefs.h. */
87021 _ACEOF
87022 cat confdefs.h >>conftest.$ac_ext
87023 cat >>conftest.$ac_ext <<_ACEOF
87024 /* end confdefs.h. */
87025 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87026 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87027 #define $ac_func innocuous_$ac_func
87029 /* System header to define __stub macros and hopefully few prototypes,
87030 which can conflict with char $ac_func (); below.
87031 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87032 <limits.h> exists even on freestanding compilers. */
87034 #ifdef __STDC__
87035 # include <limits.h>
87036 #else
87037 # include <assert.h>
87038 #endif
87040 #undef $ac_func
87042 /* Override any gcc2 internal prototype to avoid an error. */
87043 #ifdef __cplusplus
87044 extern "C"
87046 #endif
87047 /* We use char because int might match the return type of a gcc2
87048 builtin and then its argument prototype would still apply. */
87049 char $ac_func ();
87050 /* The GNU C library defines this for functions which it implements
87051 to always fail with ENOSYS. Some functions are actually named
87052 something starting with __ and the normal name is an alias. */
87053 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87054 choke me
87055 #else
87056 char (*f) () = $ac_func;
87057 #endif
87058 #ifdef __cplusplus
87060 #endif
87063 main ()
87065 return f != $ac_func;
87067 return 0;
87069 _ACEOF
87070 rm -f conftest.$ac_objext conftest$ac_exeext
87071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87072 (eval $ac_link) 2>conftest.er1
87073 ac_status=$?
87074 grep -v '^ *+' conftest.er1 >conftest.err
87075 rm -f conftest.er1
87076 cat conftest.err >&5
87077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87078 (exit $ac_status); } &&
87079 { ac_try='test -z "$ac_c_werror_flag"
87080 || test ! -s conftest.err'
87081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87082 (eval $ac_try) 2>&5
87083 ac_status=$?
87084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87085 (exit $ac_status); }; } &&
87086 { ac_try='test -s conftest$ac_exeext'
87087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87088 (eval $ac_try) 2>&5
87089 ac_status=$?
87090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87091 (exit $ac_status); }; }; then
87092 eval "$as_ac_var=yes"
87093 else
87094 echo "$as_me: failed program was:" >&5
87095 sed 's/^/| /' conftest.$ac_ext >&5
87097 eval "$as_ac_var=no"
87099 rm -f conftest.err conftest.$ac_objext \
87100 conftest$ac_exeext conftest.$ac_ext
87102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87103 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87104 if test `eval echo '${'$as_ac_var'}'` = yes; then
87105 cat >>confdefs.h <<_ACEOF
87106 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87107 _ACEOF
87109 else
87110 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
87112 done
87115 if test x$ac_cv_func_copysignl = x"yes"; then
87117 for ac_func in __signbitl
87119 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87120 echo "$as_me:$LINENO: checking for $ac_func" >&5
87121 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87122 if eval "test \"\${$as_ac_var+set}\" = set"; then
87123 echo $ECHO_N "(cached) $ECHO_C" >&6
87124 else
87125 if test x$gcc_no_link = xyes; then
87126 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87127 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87128 { (exit 1); exit 1; }; }
87130 cat >conftest.$ac_ext <<_ACEOF
87131 /* confdefs.h. */
87132 _ACEOF
87133 cat confdefs.h >>conftest.$ac_ext
87134 cat >>conftest.$ac_ext <<_ACEOF
87135 /* end confdefs.h. */
87136 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87137 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87138 #define $ac_func innocuous_$ac_func
87140 /* System header to define __stub macros and hopefully few prototypes,
87141 which can conflict with char $ac_func (); below.
87142 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87143 <limits.h> exists even on freestanding compilers. */
87145 #ifdef __STDC__
87146 # include <limits.h>
87147 #else
87148 # include <assert.h>
87149 #endif
87151 #undef $ac_func
87153 /* Override any gcc2 internal prototype to avoid an error. */
87154 #ifdef __cplusplus
87155 extern "C"
87157 #endif
87158 /* We use char because int might match the return type of a gcc2
87159 builtin and then its argument prototype would still apply. */
87160 char $ac_func ();
87161 /* The GNU C library defines this for functions which it implements
87162 to always fail with ENOSYS. Some functions are actually named
87163 something starting with __ and the normal name is an alias. */
87164 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87165 choke me
87166 #else
87167 char (*f) () = $ac_func;
87168 #endif
87169 #ifdef __cplusplus
87171 #endif
87174 main ()
87176 return f != $ac_func;
87178 return 0;
87180 _ACEOF
87181 rm -f conftest.$ac_objext conftest$ac_exeext
87182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87183 (eval $ac_link) 2>conftest.er1
87184 ac_status=$?
87185 grep -v '^ *+' conftest.er1 >conftest.err
87186 rm -f conftest.er1
87187 cat conftest.err >&5
87188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87189 (exit $ac_status); } &&
87190 { ac_try='test -z "$ac_c_werror_flag"
87191 || test ! -s conftest.err'
87192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87193 (eval $ac_try) 2>&5
87194 ac_status=$?
87195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87196 (exit $ac_status); }; } &&
87197 { ac_try='test -s conftest$ac_exeext'
87198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87199 (eval $ac_try) 2>&5
87200 ac_status=$?
87201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87202 (exit $ac_status); }; }; then
87203 eval "$as_ac_var=yes"
87204 else
87205 echo "$as_me: failed program was:" >&5
87206 sed 's/^/| /' conftest.$ac_ext >&5
87208 eval "$as_ac_var=no"
87210 rm -f conftest.err conftest.$ac_objext \
87211 conftest$ac_exeext conftest.$ac_ext
87213 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87214 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87215 if test `eval echo '${'$as_ac_var'}'` = yes; then
87216 cat >>confdefs.h <<_ACEOF
87217 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87218 _ACEOF
87220 else
87221 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
87223 done
87227 # Used in libmath/Makefile.am.
87228 if test -n "$LIBMATHOBJS"; then
87229 need_libmath=yes
87233 cat >>confdefs.h <<\_ACEOF
87234 #define HAVE_COPYSIGN 1
87235 _ACEOF
87237 cat >>confdefs.h <<\_ACEOF
87238 #define HAVE_COPYSIGNF 1
87239 _ACEOF
87241 cat >>confdefs.h <<\_ACEOF
87242 #define HAVE_FREXPF 1
87243 _ACEOF
87245 cat >>confdefs.h <<\_ACEOF
87246 #define HAVE_HYPOT 1
87247 _ACEOF
87249 case "$target" in
87250 *-hpux10*)
87251 cat >>confdefs.h <<\_ACEOF
87252 #define HAVE_FINITE 1
87253 _ACEOF
87255 cat >>confdefs.h <<\_ACEOF
87256 #define HAVE_FINITEF 1
87257 _ACEOF
87259 cat >>confdefs.h <<\_ACEOF
87260 #define HAVE_ISINF 1
87261 _ACEOF
87263 cat >>confdefs.h <<\_ACEOF
87264 #define HAVE_ISINFF 1
87265 _ACEOF
87267 cat >>confdefs.h <<\_ACEOF
87268 #define HAVE_ISNAN 1
87269 _ACEOF
87271 cat >>confdefs.h <<\_ACEOF
87272 #define HAVE_ISNANF 1
87273 _ACEOF
87276 esac
87278 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
87297 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
87298 machine/endian.h machine/param.h sys/machine.h sys/types.h \
87299 fp.h float.h endian.h inttypes.h locale.h float.h stdint.h \
87300 sys/ipc.h sys/sem.h gconf.h
87302 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
87303 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87304 echo "$as_me:$LINENO: checking for $ac_header" >&5
87305 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87306 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87307 echo $ECHO_N "(cached) $ECHO_C" >&6
87309 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87310 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87311 else
87312 # Is the header compilable?
87313 echo "$as_me:$LINENO: checking $ac_header usability" >&5
87314 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
87315 cat >conftest.$ac_ext <<_ACEOF
87316 /* confdefs.h. */
87317 _ACEOF
87318 cat confdefs.h >>conftest.$ac_ext
87319 cat >>conftest.$ac_ext <<_ACEOF
87320 /* end confdefs.h. */
87321 $ac_includes_default
87322 #include <$ac_header>
87323 _ACEOF
87324 rm -f conftest.$ac_objext
87325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87326 (eval $ac_compile) 2>conftest.er1
87327 ac_status=$?
87328 grep -v '^ *+' conftest.er1 >conftest.err
87329 rm -f conftest.er1
87330 cat conftest.err >&5
87331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87332 (exit $ac_status); } &&
87333 { ac_try='test -z "$ac_c_werror_flag"
87334 || test ! -s conftest.err'
87335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87336 (eval $ac_try) 2>&5
87337 ac_status=$?
87338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87339 (exit $ac_status); }; } &&
87340 { ac_try='test -s conftest.$ac_objext'
87341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87342 (eval $ac_try) 2>&5
87343 ac_status=$?
87344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87345 (exit $ac_status); }; }; then
87346 ac_header_compiler=yes
87347 else
87348 echo "$as_me: failed program was:" >&5
87349 sed 's/^/| /' conftest.$ac_ext >&5
87351 ac_header_compiler=no
87353 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87354 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
87355 echo "${ECHO_T}$ac_header_compiler" >&6
87357 # Is the header present?
87358 echo "$as_me:$LINENO: checking $ac_header presence" >&5
87359 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
87360 cat >conftest.$ac_ext <<_ACEOF
87361 /* confdefs.h. */
87362 _ACEOF
87363 cat confdefs.h >>conftest.$ac_ext
87364 cat >>conftest.$ac_ext <<_ACEOF
87365 /* end confdefs.h. */
87366 #include <$ac_header>
87367 _ACEOF
87368 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
87369 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
87370 ac_status=$?
87371 grep -v '^ *+' conftest.er1 >conftest.err
87372 rm -f conftest.er1
87373 cat conftest.err >&5
87374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87375 (exit $ac_status); } >/dev/null; then
87376 if test -s conftest.err; then
87377 ac_cpp_err=$ac_c_preproc_warn_flag
87378 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
87379 else
87380 ac_cpp_err=
87382 else
87383 ac_cpp_err=yes
87385 if test -z "$ac_cpp_err"; then
87386 ac_header_preproc=yes
87387 else
87388 echo "$as_me: failed program was:" >&5
87389 sed 's/^/| /' conftest.$ac_ext >&5
87391 ac_header_preproc=no
87393 rm -f conftest.err conftest.$ac_ext
87394 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
87395 echo "${ECHO_T}$ac_header_preproc" >&6
87397 # So? What about this header?
87398 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
87399 yes:no: )
87400 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
87401 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
87402 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
87403 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
87404 ac_header_preproc=yes
87406 no:yes:* )
87407 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
87408 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
87409 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
87410 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
87411 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
87412 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
87413 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
87414 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
87415 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
87416 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
87417 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
87418 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
87420 cat <<\_ASBOX
87421 ## ----------------------------------------- ##
87422 ## Report this to the package-unused lists. ##
87423 ## ----------------------------------------- ##
87424 _ASBOX
87426 sed "s/^/$as_me: WARNING: /" >&2
87428 esac
87429 echo "$as_me:$LINENO: checking for $ac_header" >&5
87430 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87431 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87432 echo $ECHO_N "(cached) $ECHO_C" >&6
87433 else
87434 eval "$as_ac_Header=\$ac_header_preproc"
87436 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87437 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87440 if test `eval echo '${'$as_ac_Header'}'` = yes; then
87441 cat >>confdefs.h <<_ACEOF
87442 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
87443 _ACEOF
87447 done
87449 SECTION_FLAGS='-ffunction-sections -fdata-sections'
87452 # All these tests are for C++; save the language and the compiler flags.
87453 # The CXXFLAGS thing is suspicious, but based on similar bits previously
87454 # found in GLIBCXX_CONFIGURE.
87457 ac_ext=cc
87458 ac_cpp='$CXXCPP $CPPFLAGS'
87459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87463 ac_test_CXXFLAGS="${CXXFLAGS+set}"
87464 ac_save_CXXFLAGS="$CXXFLAGS"
87466 # Check for maintainer-mode bits.
87467 if test x"$USE_MAINTAINER_MODE" = xno; then
87468 WERROR=''
87469 else
87470 WERROR='-Werror'
87473 # Check for -ffunction-sections -fdata-sections
87474 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
87475 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
87476 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
87477 cat >conftest.$ac_ext <<_ACEOF
87478 /* confdefs.h. */
87479 _ACEOF
87480 cat confdefs.h >>conftest.$ac_ext
87481 cat >>conftest.$ac_ext <<_ACEOF
87482 /* end confdefs.h. */
87483 int foo; void bar() { };
87485 main ()
87489 return 0;
87491 _ACEOF
87492 rm -f conftest.$ac_objext
87493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87494 (eval $ac_compile) 2>conftest.er1
87495 ac_status=$?
87496 grep -v '^ *+' conftest.er1 >conftest.err
87497 rm -f conftest.er1
87498 cat conftest.err >&5
87499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87500 (exit $ac_status); } &&
87501 { ac_try='test -z "$ac_cxx_werror_flag"
87502 || test ! -s conftest.err'
87503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87504 (eval $ac_try) 2>&5
87505 ac_status=$?
87506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87507 (exit $ac_status); }; } &&
87508 { ac_try='test -s conftest.$ac_objext'
87509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87510 (eval $ac_try) 2>&5
87511 ac_status=$?
87512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87513 (exit $ac_status); }; }; then
87514 ac_fdsections=yes
87515 else
87516 echo "$as_me: failed program was:" >&5
87517 sed 's/^/| /' conftest.$ac_ext >&5
87519 ac_fdsections=no
87521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87522 if test "$ac_test_CXXFLAGS" = set; then
87523 CXXFLAGS="$ac_save_CXXFLAGS"
87524 else
87525 # this is the suspicious part
87526 CXXFLAGS=''
87528 if test x"$ac_fdsections" = x"yes"; then
87529 SECTION_FLAGS='-ffunction-sections -fdata-sections'
87531 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
87532 echo "${ECHO_T}$ac_fdsections" >&6
87534 ac_ext=c
87535 ac_cpp='$CPP $CPPFLAGS'
87536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87544 # If we're not using GNU ld, then there's no point in even trying these
87545 # tests. Check for that first. We should have already tested for gld
87546 # by now (in libtool), but require it now just to be safe...
87547 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
87548 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
87552 # The name set by libtool depends on the version of libtool. Shame on us
87553 # for depending on an impl detail, but c'est la vie. Older versions used
87554 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
87555 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
87556 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
87557 # set (hence we're using an older libtool), then set it.
87558 if test x${with_gnu_ld+set} != xset; then
87559 if test x${ac_cv_prog_gnu_ld+set} != xset; then
87560 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
87561 with_gnu_ld=no
87562 else
87563 with_gnu_ld=$ac_cv_prog_gnu_ld
87567 # Start by getting the version number. I think the libtool test already
87568 # does some of this, but throws away the result.
87569 if test x"$with_gnu_ld" = x"yes"; then
87570 echo "$as_me:$LINENO: checking for ld version" >&5
87571 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
87573 ldver=`$LD --version 2>/dev/null | head -1 | \
87574 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
87576 glibcxx_gnu_ld_version=`echo $ldver | \
87577 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
87578 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
87579 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
87582 # Set --gc-sections.
87583 glibcxx_gcsections_min_ld=21602
87584 if test x"$with_gnu_ld" = x"yes" &&
87585 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
87587 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
87588 # NB: This flag only works reliably after 2.16.1. Configure tests
87589 # for this are difficult, so hard wire a value that should work.
87591 ac_test_CFLAGS="${CFLAGS+set}"
87592 ac_save_CFLAGS="$CFLAGS"
87593 CFLAGS='-Wl,--gc-sections'
87595 # Check for -Wl,--gc-sections
87596 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
87597 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
87598 if test x$gcc_no_link = xyes; then
87599 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87600 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87601 { (exit 1); exit 1; }; }
87603 cat >conftest.$ac_ext <<_ACEOF
87604 /* confdefs.h. */
87605 _ACEOF
87606 cat confdefs.h >>conftest.$ac_ext
87607 cat >>conftest.$ac_ext <<_ACEOF
87608 /* end confdefs.h. */
87609 int one(void) { return 1; }
87610 int two(void) { return 2; }
87613 main ()
87615 two();
87617 return 0;
87619 _ACEOF
87620 rm -f conftest.$ac_objext conftest$ac_exeext
87621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87622 (eval $ac_link) 2>conftest.er1
87623 ac_status=$?
87624 grep -v '^ *+' conftest.er1 >conftest.err
87625 rm -f conftest.er1
87626 cat conftest.err >&5
87627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87628 (exit $ac_status); } &&
87629 { ac_try='test -z "$ac_c_werror_flag"
87630 || test ! -s conftest.err'
87631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87632 (eval $ac_try) 2>&5
87633 ac_status=$?
87634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87635 (exit $ac_status); }; } &&
87636 { ac_try='test -s conftest$ac_exeext'
87637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87638 (eval $ac_try) 2>&5
87639 ac_status=$?
87640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87641 (exit $ac_status); }; }; then
87642 ac_gcsections=yes
87643 else
87644 echo "$as_me: failed program was:" >&5
87645 sed 's/^/| /' conftest.$ac_ext >&5
87647 ac_gcsections=no
87649 rm -f conftest.err conftest.$ac_objext \
87650 conftest$ac_exeext conftest.$ac_ext
87651 if test "$ac_gcsections" = "yes"; then
87652 rm -f conftest.c
87653 touch conftest.c
87654 if $CC -c conftest.c; then
87655 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
87656 grep "Warning: gc-sections option ignored" > /dev/null; then
87657 ac_gcsections=no
87660 rm -f conftest.c conftest.o conftest
87662 if test "$ac_gcsections" = "yes"; then
87663 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
87665 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
87666 echo "${ECHO_T}$ac_gcsections" >&6
87668 if test "$ac_test_CFLAGS" = set; then
87669 CFLAGS="$ac_save_CFLAGS"
87670 else
87671 # this is the suspicious part
87672 CFLAGS=''
87676 # Set -z,relro.
87677 # Note this is only for shared objects.
87678 ac_ld_relro=no
87679 if test x"$with_gnu_ld" = x"yes"; then
87680 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
87681 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
87682 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
87683 if test -n "$cxx_z_relo"; then
87684 OPT_LDFLAGS="-Wl,-z,relro"
87685 ac_ld_relro=yes
87687 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
87688 echo "${ECHO_T}$ac_ld_relro" >&6
87691 # Set linker optimization flags.
87692 if test x"$with_gnu_ld" = x"yes"; then
87693 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
87700 ac_test_CXXFLAGS="${CXXFLAGS+set}"
87701 ac_save_CXXFLAGS="$CXXFLAGS"
87702 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
87704 echo "$as_me:$LINENO: checking for sin in -lm" >&5
87705 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
87706 if test "${ac_cv_lib_m_sin+set}" = set; then
87707 echo $ECHO_N "(cached) $ECHO_C" >&6
87708 else
87709 ac_check_lib_save_LIBS=$LIBS
87710 LIBS="-lm $LIBS"
87711 if test x$gcc_no_link = xyes; then
87712 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87713 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87714 { (exit 1); exit 1; }; }
87716 cat >conftest.$ac_ext <<_ACEOF
87717 /* confdefs.h. */
87718 _ACEOF
87719 cat confdefs.h >>conftest.$ac_ext
87720 cat >>conftest.$ac_ext <<_ACEOF
87721 /* end confdefs.h. */
87723 /* Override any gcc2 internal prototype to avoid an error. */
87724 #ifdef __cplusplus
87725 extern "C"
87726 #endif
87727 /* We use char because int might match the return type of a gcc2
87728 builtin and then its argument prototype would still apply. */
87729 char sin ();
87731 main ()
87733 sin ();
87735 return 0;
87737 _ACEOF
87738 rm -f conftest.$ac_objext conftest$ac_exeext
87739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87740 (eval $ac_link) 2>conftest.er1
87741 ac_status=$?
87742 grep -v '^ *+' conftest.er1 >conftest.err
87743 rm -f conftest.er1
87744 cat conftest.err >&5
87745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87746 (exit $ac_status); } &&
87747 { ac_try='test -z "$ac_c_werror_flag"
87748 || test ! -s conftest.err'
87749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87750 (eval $ac_try) 2>&5
87751 ac_status=$?
87752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87753 (exit $ac_status); }; } &&
87754 { ac_try='test -s conftest$ac_exeext'
87755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87756 (eval $ac_try) 2>&5
87757 ac_status=$?
87758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87759 (exit $ac_status); }; }; then
87760 ac_cv_lib_m_sin=yes
87761 else
87762 echo "$as_me: failed program was:" >&5
87763 sed 's/^/| /' conftest.$ac_ext >&5
87765 ac_cv_lib_m_sin=no
87767 rm -f conftest.err conftest.$ac_objext \
87768 conftest$ac_exeext conftest.$ac_ext
87769 LIBS=$ac_check_lib_save_LIBS
87771 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
87772 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
87773 if test $ac_cv_lib_m_sin = yes; then
87774 libm="-lm"
87777 ac_save_LIBS="$LIBS"
87778 LIBS="$LIBS $libm"
87782 echo "$as_me:$LINENO: checking for isinf declaration" >&5
87783 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
87784 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
87785 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
87786 echo $ECHO_N "(cached) $ECHO_C" >&6
87787 else
87791 ac_ext=cc
87792 ac_cpp='$CXXCPP $CPPFLAGS'
87793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87797 cat >conftest.$ac_ext <<_ACEOF
87798 /* confdefs.h. */
87799 _ACEOF
87800 cat confdefs.h >>conftest.$ac_ext
87801 cat >>conftest.$ac_ext <<_ACEOF
87802 /* end confdefs.h. */
87803 #include <math.h>
87804 #ifdef HAVE_IEEEFP_H
87805 #include <ieeefp.h>
87806 #endif
87809 main ()
87811 isinf(0);
87813 return 0;
87815 _ACEOF
87816 rm -f conftest.$ac_objext
87817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87818 (eval $ac_compile) 2>conftest.er1
87819 ac_status=$?
87820 grep -v '^ *+' conftest.er1 >conftest.err
87821 rm -f conftest.er1
87822 cat conftest.err >&5
87823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87824 (exit $ac_status); } &&
87825 { ac_try='test -z "$ac_cxx_werror_flag"
87826 || test ! -s conftest.err'
87827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87828 (eval $ac_try) 2>&5
87829 ac_status=$?
87830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87831 (exit $ac_status); }; } &&
87832 { ac_try='test -s conftest.$ac_objext'
87833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87834 (eval $ac_try) 2>&5
87835 ac_status=$?
87836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87837 (exit $ac_status); }; }; then
87838 glibcxx_cv_func_isinf_use=yes
87839 else
87840 echo "$as_me: failed program was:" >&5
87841 sed 's/^/| /' conftest.$ac_ext >&5
87843 glibcxx_cv_func_isinf_use=no
87845 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87846 ac_ext=c
87847 ac_cpp='$CPP $CPPFLAGS'
87848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87856 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
87857 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
87859 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
87861 for ac_func in isinf
87863 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87864 echo "$as_me:$LINENO: checking for $ac_func" >&5
87865 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87866 if eval "test \"\${$as_ac_var+set}\" = set"; then
87867 echo $ECHO_N "(cached) $ECHO_C" >&6
87868 else
87869 if test x$gcc_no_link = xyes; then
87870 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87871 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87872 { (exit 1); exit 1; }; }
87874 cat >conftest.$ac_ext <<_ACEOF
87875 /* confdefs.h. */
87876 _ACEOF
87877 cat confdefs.h >>conftest.$ac_ext
87878 cat >>conftest.$ac_ext <<_ACEOF
87879 /* end confdefs.h. */
87880 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87881 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87882 #define $ac_func innocuous_$ac_func
87884 /* System header to define __stub macros and hopefully few prototypes,
87885 which can conflict with char $ac_func (); below.
87886 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87887 <limits.h> exists even on freestanding compilers. */
87889 #ifdef __STDC__
87890 # include <limits.h>
87891 #else
87892 # include <assert.h>
87893 #endif
87895 #undef $ac_func
87897 /* Override any gcc2 internal prototype to avoid an error. */
87898 #ifdef __cplusplus
87899 extern "C"
87901 #endif
87902 /* We use char because int might match the return type of a gcc2
87903 builtin and then its argument prototype would still apply. */
87904 char $ac_func ();
87905 /* The GNU C library defines this for functions which it implements
87906 to always fail with ENOSYS. Some functions are actually named
87907 something starting with __ and the normal name is an alias. */
87908 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87909 choke me
87910 #else
87911 char (*f) () = $ac_func;
87912 #endif
87913 #ifdef __cplusplus
87915 #endif
87918 main ()
87920 return f != $ac_func;
87922 return 0;
87924 _ACEOF
87925 rm -f conftest.$ac_objext conftest$ac_exeext
87926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87927 (eval $ac_link) 2>conftest.er1
87928 ac_status=$?
87929 grep -v '^ *+' conftest.er1 >conftest.err
87930 rm -f conftest.er1
87931 cat conftest.err >&5
87932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87933 (exit $ac_status); } &&
87934 { ac_try='test -z "$ac_c_werror_flag"
87935 || test ! -s conftest.err'
87936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87937 (eval $ac_try) 2>&5
87938 ac_status=$?
87939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87940 (exit $ac_status); }; } &&
87941 { ac_try='test -s conftest$ac_exeext'
87942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87943 (eval $ac_try) 2>&5
87944 ac_status=$?
87945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87946 (exit $ac_status); }; }; then
87947 eval "$as_ac_var=yes"
87948 else
87949 echo "$as_me: failed program was:" >&5
87950 sed 's/^/| /' conftest.$ac_ext >&5
87952 eval "$as_ac_var=no"
87954 rm -f conftest.err conftest.$ac_objext \
87955 conftest$ac_exeext conftest.$ac_ext
87957 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87958 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87959 if test `eval echo '${'$as_ac_var'}'` = yes; then
87960 cat >>confdefs.h <<_ACEOF
87961 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87962 _ACEOF
87965 done
87967 else
87969 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
87970 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
87971 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
87972 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
87973 echo $ECHO_N "(cached) $ECHO_C" >&6
87974 else
87978 ac_ext=cc
87979 ac_cpp='$CXXCPP $CPPFLAGS'
87980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87984 cat >conftest.$ac_ext <<_ACEOF
87985 /* confdefs.h. */
87986 _ACEOF
87987 cat confdefs.h >>conftest.$ac_ext
87988 cat >>conftest.$ac_ext <<_ACEOF
87989 /* end confdefs.h. */
87990 #include <math.h>
87991 #ifdef HAVE_IEEEFP_H
87992 #include <ieeefp.h>
87993 #endif
87996 main ()
87998 _isinf(0);
88000 return 0;
88002 _ACEOF
88003 rm -f conftest.$ac_objext
88004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88005 (eval $ac_compile) 2>conftest.er1
88006 ac_status=$?
88007 grep -v '^ *+' conftest.er1 >conftest.err
88008 rm -f conftest.er1
88009 cat conftest.err >&5
88010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88011 (exit $ac_status); } &&
88012 { ac_try='test -z "$ac_cxx_werror_flag"
88013 || test ! -s conftest.err'
88014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88015 (eval $ac_try) 2>&5
88016 ac_status=$?
88017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88018 (exit $ac_status); }; } &&
88019 { ac_try='test -s conftest.$ac_objext'
88020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88021 (eval $ac_try) 2>&5
88022 ac_status=$?
88023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88024 (exit $ac_status); }; }; then
88025 glibcxx_cv_func__isinf_use=yes
88026 else
88027 echo "$as_me: failed program was:" >&5
88028 sed 's/^/| /' conftest.$ac_ext >&5
88030 glibcxx_cv_func__isinf_use=no
88032 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88033 ac_ext=c
88034 ac_cpp='$CPP $CPPFLAGS'
88035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88043 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
88044 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
88046 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
88048 for ac_func in _isinf
88050 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88051 echo "$as_me:$LINENO: checking for $ac_func" >&5
88052 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88053 if eval "test \"\${$as_ac_var+set}\" = set"; then
88054 echo $ECHO_N "(cached) $ECHO_C" >&6
88055 else
88056 if test x$gcc_no_link = xyes; then
88057 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88058 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88059 { (exit 1); exit 1; }; }
88061 cat >conftest.$ac_ext <<_ACEOF
88062 /* confdefs.h. */
88063 _ACEOF
88064 cat confdefs.h >>conftest.$ac_ext
88065 cat >>conftest.$ac_ext <<_ACEOF
88066 /* end confdefs.h. */
88067 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88068 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88069 #define $ac_func innocuous_$ac_func
88071 /* System header to define __stub macros and hopefully few prototypes,
88072 which can conflict with char $ac_func (); below.
88073 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88074 <limits.h> exists even on freestanding compilers. */
88076 #ifdef __STDC__
88077 # include <limits.h>
88078 #else
88079 # include <assert.h>
88080 #endif
88082 #undef $ac_func
88084 /* Override any gcc2 internal prototype to avoid an error. */
88085 #ifdef __cplusplus
88086 extern "C"
88088 #endif
88089 /* We use char because int might match the return type of a gcc2
88090 builtin and then its argument prototype would still apply. */
88091 char $ac_func ();
88092 /* The GNU C library defines this for functions which it implements
88093 to always fail with ENOSYS. Some functions are actually named
88094 something starting with __ and the normal name is an alias. */
88095 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88096 choke me
88097 #else
88098 char (*f) () = $ac_func;
88099 #endif
88100 #ifdef __cplusplus
88102 #endif
88105 main ()
88107 return f != $ac_func;
88109 return 0;
88111 _ACEOF
88112 rm -f conftest.$ac_objext conftest$ac_exeext
88113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88114 (eval $ac_link) 2>conftest.er1
88115 ac_status=$?
88116 grep -v '^ *+' conftest.er1 >conftest.err
88117 rm -f conftest.er1
88118 cat conftest.err >&5
88119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88120 (exit $ac_status); } &&
88121 { ac_try='test -z "$ac_c_werror_flag"
88122 || test ! -s conftest.err'
88123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88124 (eval $ac_try) 2>&5
88125 ac_status=$?
88126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88127 (exit $ac_status); }; } &&
88128 { ac_try='test -s conftest$ac_exeext'
88129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88130 (eval $ac_try) 2>&5
88131 ac_status=$?
88132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88133 (exit $ac_status); }; }; then
88134 eval "$as_ac_var=yes"
88135 else
88136 echo "$as_me: failed program was:" >&5
88137 sed 's/^/| /' conftest.$ac_ext >&5
88139 eval "$as_ac_var=no"
88141 rm -f conftest.err conftest.$ac_objext \
88142 conftest$ac_exeext conftest.$ac_ext
88144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88145 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88146 if test `eval echo '${'$as_ac_var'}'` = yes; then
88147 cat >>confdefs.h <<_ACEOF
88148 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88149 _ACEOF
88152 done
88162 echo "$as_me:$LINENO: checking for isnan declaration" >&5
88163 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
88164 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
88165 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
88166 echo $ECHO_N "(cached) $ECHO_C" >&6
88167 else
88171 ac_ext=cc
88172 ac_cpp='$CXXCPP $CPPFLAGS'
88173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88177 cat >conftest.$ac_ext <<_ACEOF
88178 /* confdefs.h. */
88179 _ACEOF
88180 cat confdefs.h >>conftest.$ac_ext
88181 cat >>conftest.$ac_ext <<_ACEOF
88182 /* end confdefs.h. */
88183 #include <math.h>
88184 #ifdef HAVE_IEEEFP_H
88185 #include <ieeefp.h>
88186 #endif
88189 main ()
88191 isnan(0);
88193 return 0;
88195 _ACEOF
88196 rm -f conftest.$ac_objext
88197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88198 (eval $ac_compile) 2>conftest.er1
88199 ac_status=$?
88200 grep -v '^ *+' conftest.er1 >conftest.err
88201 rm -f conftest.er1
88202 cat conftest.err >&5
88203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88204 (exit $ac_status); } &&
88205 { ac_try='test -z "$ac_cxx_werror_flag"
88206 || test ! -s conftest.err'
88207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88208 (eval $ac_try) 2>&5
88209 ac_status=$?
88210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88211 (exit $ac_status); }; } &&
88212 { ac_try='test -s conftest.$ac_objext'
88213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88214 (eval $ac_try) 2>&5
88215 ac_status=$?
88216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88217 (exit $ac_status); }; }; then
88218 glibcxx_cv_func_isnan_use=yes
88219 else
88220 echo "$as_me: failed program was:" >&5
88221 sed 's/^/| /' conftest.$ac_ext >&5
88223 glibcxx_cv_func_isnan_use=no
88225 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88226 ac_ext=c
88227 ac_cpp='$CPP $CPPFLAGS'
88228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88236 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
88237 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
88239 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
88241 for ac_func in isnan
88243 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88244 echo "$as_me:$LINENO: checking for $ac_func" >&5
88245 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88246 if eval "test \"\${$as_ac_var+set}\" = set"; then
88247 echo $ECHO_N "(cached) $ECHO_C" >&6
88248 else
88249 if test x$gcc_no_link = xyes; then
88250 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88251 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88252 { (exit 1); exit 1; }; }
88254 cat >conftest.$ac_ext <<_ACEOF
88255 /* confdefs.h. */
88256 _ACEOF
88257 cat confdefs.h >>conftest.$ac_ext
88258 cat >>conftest.$ac_ext <<_ACEOF
88259 /* end confdefs.h. */
88260 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88261 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88262 #define $ac_func innocuous_$ac_func
88264 /* System header to define __stub macros and hopefully few prototypes,
88265 which can conflict with char $ac_func (); below.
88266 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88267 <limits.h> exists even on freestanding compilers. */
88269 #ifdef __STDC__
88270 # include <limits.h>
88271 #else
88272 # include <assert.h>
88273 #endif
88275 #undef $ac_func
88277 /* Override any gcc2 internal prototype to avoid an error. */
88278 #ifdef __cplusplus
88279 extern "C"
88281 #endif
88282 /* We use char because int might match the return type of a gcc2
88283 builtin and then its argument prototype would still apply. */
88284 char $ac_func ();
88285 /* The GNU C library defines this for functions which it implements
88286 to always fail with ENOSYS. Some functions are actually named
88287 something starting with __ and the normal name is an alias. */
88288 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88289 choke me
88290 #else
88291 char (*f) () = $ac_func;
88292 #endif
88293 #ifdef __cplusplus
88295 #endif
88298 main ()
88300 return f != $ac_func;
88302 return 0;
88304 _ACEOF
88305 rm -f conftest.$ac_objext conftest$ac_exeext
88306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88307 (eval $ac_link) 2>conftest.er1
88308 ac_status=$?
88309 grep -v '^ *+' conftest.er1 >conftest.err
88310 rm -f conftest.er1
88311 cat conftest.err >&5
88312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88313 (exit $ac_status); } &&
88314 { ac_try='test -z "$ac_c_werror_flag"
88315 || test ! -s conftest.err'
88316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88317 (eval $ac_try) 2>&5
88318 ac_status=$?
88319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88320 (exit $ac_status); }; } &&
88321 { ac_try='test -s conftest$ac_exeext'
88322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88323 (eval $ac_try) 2>&5
88324 ac_status=$?
88325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88326 (exit $ac_status); }; }; then
88327 eval "$as_ac_var=yes"
88328 else
88329 echo "$as_me: failed program was:" >&5
88330 sed 's/^/| /' conftest.$ac_ext >&5
88332 eval "$as_ac_var=no"
88334 rm -f conftest.err conftest.$ac_objext \
88335 conftest$ac_exeext conftest.$ac_ext
88337 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88338 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88339 if test `eval echo '${'$as_ac_var'}'` = yes; then
88340 cat >>confdefs.h <<_ACEOF
88341 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88342 _ACEOF
88345 done
88347 else
88349 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
88350 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
88351 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
88352 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
88353 echo $ECHO_N "(cached) $ECHO_C" >&6
88354 else
88358 ac_ext=cc
88359 ac_cpp='$CXXCPP $CPPFLAGS'
88360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88364 cat >conftest.$ac_ext <<_ACEOF
88365 /* confdefs.h. */
88366 _ACEOF
88367 cat confdefs.h >>conftest.$ac_ext
88368 cat >>conftest.$ac_ext <<_ACEOF
88369 /* end confdefs.h. */
88370 #include <math.h>
88371 #ifdef HAVE_IEEEFP_H
88372 #include <ieeefp.h>
88373 #endif
88376 main ()
88378 _isnan(0);
88380 return 0;
88382 _ACEOF
88383 rm -f conftest.$ac_objext
88384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88385 (eval $ac_compile) 2>conftest.er1
88386 ac_status=$?
88387 grep -v '^ *+' conftest.er1 >conftest.err
88388 rm -f conftest.er1
88389 cat conftest.err >&5
88390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88391 (exit $ac_status); } &&
88392 { ac_try='test -z "$ac_cxx_werror_flag"
88393 || test ! -s conftest.err'
88394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88395 (eval $ac_try) 2>&5
88396 ac_status=$?
88397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88398 (exit $ac_status); }; } &&
88399 { ac_try='test -s conftest.$ac_objext'
88400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88401 (eval $ac_try) 2>&5
88402 ac_status=$?
88403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88404 (exit $ac_status); }; }; then
88405 glibcxx_cv_func__isnan_use=yes
88406 else
88407 echo "$as_me: failed program was:" >&5
88408 sed 's/^/| /' conftest.$ac_ext >&5
88410 glibcxx_cv_func__isnan_use=no
88412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88413 ac_ext=c
88414 ac_cpp='$CPP $CPPFLAGS'
88415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88423 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
88424 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
88426 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
88428 for ac_func in _isnan
88430 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88431 echo "$as_me:$LINENO: checking for $ac_func" >&5
88432 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88433 if eval "test \"\${$as_ac_var+set}\" = set"; then
88434 echo $ECHO_N "(cached) $ECHO_C" >&6
88435 else
88436 if test x$gcc_no_link = xyes; then
88437 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88438 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88439 { (exit 1); exit 1; }; }
88441 cat >conftest.$ac_ext <<_ACEOF
88442 /* confdefs.h. */
88443 _ACEOF
88444 cat confdefs.h >>conftest.$ac_ext
88445 cat >>conftest.$ac_ext <<_ACEOF
88446 /* end confdefs.h. */
88447 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88448 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88449 #define $ac_func innocuous_$ac_func
88451 /* System header to define __stub macros and hopefully few prototypes,
88452 which can conflict with char $ac_func (); below.
88453 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88454 <limits.h> exists even on freestanding compilers. */
88456 #ifdef __STDC__
88457 # include <limits.h>
88458 #else
88459 # include <assert.h>
88460 #endif
88462 #undef $ac_func
88464 /* Override any gcc2 internal prototype to avoid an error. */
88465 #ifdef __cplusplus
88466 extern "C"
88468 #endif
88469 /* We use char because int might match the return type of a gcc2
88470 builtin and then its argument prototype would still apply. */
88471 char $ac_func ();
88472 /* The GNU C library defines this for functions which it implements
88473 to always fail with ENOSYS. Some functions are actually named
88474 something starting with __ and the normal name is an alias. */
88475 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88476 choke me
88477 #else
88478 char (*f) () = $ac_func;
88479 #endif
88480 #ifdef __cplusplus
88482 #endif
88485 main ()
88487 return f != $ac_func;
88489 return 0;
88491 _ACEOF
88492 rm -f conftest.$ac_objext conftest$ac_exeext
88493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88494 (eval $ac_link) 2>conftest.er1
88495 ac_status=$?
88496 grep -v '^ *+' conftest.er1 >conftest.err
88497 rm -f conftest.er1
88498 cat conftest.err >&5
88499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88500 (exit $ac_status); } &&
88501 { ac_try='test -z "$ac_c_werror_flag"
88502 || test ! -s conftest.err'
88503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88504 (eval $ac_try) 2>&5
88505 ac_status=$?
88506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88507 (exit $ac_status); }; } &&
88508 { ac_try='test -s conftest$ac_exeext'
88509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88510 (eval $ac_try) 2>&5
88511 ac_status=$?
88512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88513 (exit $ac_status); }; }; then
88514 eval "$as_ac_var=yes"
88515 else
88516 echo "$as_me: failed program was:" >&5
88517 sed 's/^/| /' conftest.$ac_ext >&5
88519 eval "$as_ac_var=no"
88521 rm -f conftest.err conftest.$ac_objext \
88522 conftest$ac_exeext conftest.$ac_ext
88524 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88525 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88526 if test `eval echo '${'$as_ac_var'}'` = yes; then
88527 cat >>confdefs.h <<_ACEOF
88528 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88529 _ACEOF
88532 done
88542 echo "$as_me:$LINENO: checking for finite declaration" >&5
88543 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
88544 if test x${glibcxx_cv_func_finite_use+set} != xset; then
88545 if test "${glibcxx_cv_func_finite_use+set}" = set; then
88546 echo $ECHO_N "(cached) $ECHO_C" >&6
88547 else
88551 ac_ext=cc
88552 ac_cpp='$CXXCPP $CPPFLAGS'
88553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88557 cat >conftest.$ac_ext <<_ACEOF
88558 /* confdefs.h. */
88559 _ACEOF
88560 cat confdefs.h >>conftest.$ac_ext
88561 cat >>conftest.$ac_ext <<_ACEOF
88562 /* end confdefs.h. */
88563 #include <math.h>
88564 #ifdef HAVE_IEEEFP_H
88565 #include <ieeefp.h>
88566 #endif
88569 main ()
88571 finite(0);
88573 return 0;
88575 _ACEOF
88576 rm -f conftest.$ac_objext
88577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88578 (eval $ac_compile) 2>conftest.er1
88579 ac_status=$?
88580 grep -v '^ *+' conftest.er1 >conftest.err
88581 rm -f conftest.er1
88582 cat conftest.err >&5
88583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88584 (exit $ac_status); } &&
88585 { ac_try='test -z "$ac_cxx_werror_flag"
88586 || test ! -s conftest.err'
88587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88588 (eval $ac_try) 2>&5
88589 ac_status=$?
88590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88591 (exit $ac_status); }; } &&
88592 { ac_try='test -s conftest.$ac_objext'
88593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88594 (eval $ac_try) 2>&5
88595 ac_status=$?
88596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88597 (exit $ac_status); }; }; then
88598 glibcxx_cv_func_finite_use=yes
88599 else
88600 echo "$as_me: failed program was:" >&5
88601 sed 's/^/| /' conftest.$ac_ext >&5
88603 glibcxx_cv_func_finite_use=no
88605 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88606 ac_ext=c
88607 ac_cpp='$CPP $CPPFLAGS'
88608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88616 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
88617 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
88619 if test x$glibcxx_cv_func_finite_use = x"yes"; then
88621 for ac_func in finite
88623 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88624 echo "$as_me:$LINENO: checking for $ac_func" >&5
88625 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88626 if eval "test \"\${$as_ac_var+set}\" = set"; then
88627 echo $ECHO_N "(cached) $ECHO_C" >&6
88628 else
88629 if test x$gcc_no_link = xyes; then
88630 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88631 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88632 { (exit 1); exit 1; }; }
88634 cat >conftest.$ac_ext <<_ACEOF
88635 /* confdefs.h. */
88636 _ACEOF
88637 cat confdefs.h >>conftest.$ac_ext
88638 cat >>conftest.$ac_ext <<_ACEOF
88639 /* end confdefs.h. */
88640 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88641 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88642 #define $ac_func innocuous_$ac_func
88644 /* System header to define __stub macros and hopefully few prototypes,
88645 which can conflict with char $ac_func (); below.
88646 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88647 <limits.h> exists even on freestanding compilers. */
88649 #ifdef __STDC__
88650 # include <limits.h>
88651 #else
88652 # include <assert.h>
88653 #endif
88655 #undef $ac_func
88657 /* Override any gcc2 internal prototype to avoid an error. */
88658 #ifdef __cplusplus
88659 extern "C"
88661 #endif
88662 /* We use char because int might match the return type of a gcc2
88663 builtin and then its argument prototype would still apply. */
88664 char $ac_func ();
88665 /* The GNU C library defines this for functions which it implements
88666 to always fail with ENOSYS. Some functions are actually named
88667 something starting with __ and the normal name is an alias. */
88668 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88669 choke me
88670 #else
88671 char (*f) () = $ac_func;
88672 #endif
88673 #ifdef __cplusplus
88675 #endif
88678 main ()
88680 return f != $ac_func;
88682 return 0;
88684 _ACEOF
88685 rm -f conftest.$ac_objext conftest$ac_exeext
88686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88687 (eval $ac_link) 2>conftest.er1
88688 ac_status=$?
88689 grep -v '^ *+' conftest.er1 >conftest.err
88690 rm -f conftest.er1
88691 cat conftest.err >&5
88692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88693 (exit $ac_status); } &&
88694 { ac_try='test -z "$ac_c_werror_flag"
88695 || test ! -s conftest.err'
88696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88697 (eval $ac_try) 2>&5
88698 ac_status=$?
88699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88700 (exit $ac_status); }; } &&
88701 { ac_try='test -s conftest$ac_exeext'
88702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88703 (eval $ac_try) 2>&5
88704 ac_status=$?
88705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88706 (exit $ac_status); }; }; then
88707 eval "$as_ac_var=yes"
88708 else
88709 echo "$as_me: failed program was:" >&5
88710 sed 's/^/| /' conftest.$ac_ext >&5
88712 eval "$as_ac_var=no"
88714 rm -f conftest.err conftest.$ac_objext \
88715 conftest$ac_exeext conftest.$ac_ext
88717 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88718 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88719 if test `eval echo '${'$as_ac_var'}'` = yes; then
88720 cat >>confdefs.h <<_ACEOF
88721 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88722 _ACEOF
88725 done
88727 else
88729 echo "$as_me:$LINENO: checking for _finite declaration" >&5
88730 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
88731 if test x${glibcxx_cv_func__finite_use+set} != xset; then
88732 if test "${glibcxx_cv_func__finite_use+set}" = set; then
88733 echo $ECHO_N "(cached) $ECHO_C" >&6
88734 else
88738 ac_ext=cc
88739 ac_cpp='$CXXCPP $CPPFLAGS'
88740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88744 cat >conftest.$ac_ext <<_ACEOF
88745 /* confdefs.h. */
88746 _ACEOF
88747 cat confdefs.h >>conftest.$ac_ext
88748 cat >>conftest.$ac_ext <<_ACEOF
88749 /* end confdefs.h. */
88750 #include <math.h>
88751 #ifdef HAVE_IEEEFP_H
88752 #include <ieeefp.h>
88753 #endif
88756 main ()
88758 _finite(0);
88760 return 0;
88762 _ACEOF
88763 rm -f conftest.$ac_objext
88764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88765 (eval $ac_compile) 2>conftest.er1
88766 ac_status=$?
88767 grep -v '^ *+' conftest.er1 >conftest.err
88768 rm -f conftest.er1
88769 cat conftest.err >&5
88770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88771 (exit $ac_status); } &&
88772 { ac_try='test -z "$ac_cxx_werror_flag"
88773 || test ! -s conftest.err'
88774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88775 (eval $ac_try) 2>&5
88776 ac_status=$?
88777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88778 (exit $ac_status); }; } &&
88779 { ac_try='test -s conftest.$ac_objext'
88780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88781 (eval $ac_try) 2>&5
88782 ac_status=$?
88783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88784 (exit $ac_status); }; }; then
88785 glibcxx_cv_func__finite_use=yes
88786 else
88787 echo "$as_me: failed program was:" >&5
88788 sed 's/^/| /' conftest.$ac_ext >&5
88790 glibcxx_cv_func__finite_use=no
88792 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88793 ac_ext=c
88794 ac_cpp='$CPP $CPPFLAGS'
88795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88803 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
88804 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
88806 if test x$glibcxx_cv_func__finite_use = x"yes"; then
88808 for ac_func in _finite
88810 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88811 echo "$as_me:$LINENO: checking for $ac_func" >&5
88812 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88813 if eval "test \"\${$as_ac_var+set}\" = set"; then
88814 echo $ECHO_N "(cached) $ECHO_C" >&6
88815 else
88816 if test x$gcc_no_link = xyes; then
88817 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88818 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88819 { (exit 1); exit 1; }; }
88821 cat >conftest.$ac_ext <<_ACEOF
88822 /* confdefs.h. */
88823 _ACEOF
88824 cat confdefs.h >>conftest.$ac_ext
88825 cat >>conftest.$ac_ext <<_ACEOF
88826 /* end confdefs.h. */
88827 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88828 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88829 #define $ac_func innocuous_$ac_func
88831 /* System header to define __stub macros and hopefully few prototypes,
88832 which can conflict with char $ac_func (); below.
88833 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88834 <limits.h> exists even on freestanding compilers. */
88836 #ifdef __STDC__
88837 # include <limits.h>
88838 #else
88839 # include <assert.h>
88840 #endif
88842 #undef $ac_func
88844 /* Override any gcc2 internal prototype to avoid an error. */
88845 #ifdef __cplusplus
88846 extern "C"
88848 #endif
88849 /* We use char because int might match the return type of a gcc2
88850 builtin and then its argument prototype would still apply. */
88851 char $ac_func ();
88852 /* The GNU C library defines this for functions which it implements
88853 to always fail with ENOSYS. Some functions are actually named
88854 something starting with __ and the normal name is an alias. */
88855 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88856 choke me
88857 #else
88858 char (*f) () = $ac_func;
88859 #endif
88860 #ifdef __cplusplus
88862 #endif
88865 main ()
88867 return f != $ac_func;
88869 return 0;
88871 _ACEOF
88872 rm -f conftest.$ac_objext conftest$ac_exeext
88873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88874 (eval $ac_link) 2>conftest.er1
88875 ac_status=$?
88876 grep -v '^ *+' conftest.er1 >conftest.err
88877 rm -f conftest.er1
88878 cat conftest.err >&5
88879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88880 (exit $ac_status); } &&
88881 { ac_try='test -z "$ac_c_werror_flag"
88882 || test ! -s conftest.err'
88883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88884 (eval $ac_try) 2>&5
88885 ac_status=$?
88886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88887 (exit $ac_status); }; } &&
88888 { ac_try='test -s conftest$ac_exeext'
88889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88890 (eval $ac_try) 2>&5
88891 ac_status=$?
88892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88893 (exit $ac_status); }; }; then
88894 eval "$as_ac_var=yes"
88895 else
88896 echo "$as_me: failed program was:" >&5
88897 sed 's/^/| /' conftest.$ac_ext >&5
88899 eval "$as_ac_var=no"
88901 rm -f conftest.err conftest.$ac_objext \
88902 conftest$ac_exeext conftest.$ac_ext
88904 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88905 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88906 if test `eval echo '${'$as_ac_var'}'` = yes; then
88907 cat >>confdefs.h <<_ACEOF
88908 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88909 _ACEOF
88912 done
88922 echo "$as_me:$LINENO: checking for copysign declaration" >&5
88923 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
88924 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
88925 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
88926 echo $ECHO_N "(cached) $ECHO_C" >&6
88927 else
88931 ac_ext=cc
88932 ac_cpp='$CXXCPP $CPPFLAGS'
88933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88937 cat >conftest.$ac_ext <<_ACEOF
88938 /* confdefs.h. */
88939 _ACEOF
88940 cat confdefs.h >>conftest.$ac_ext
88941 cat >>conftest.$ac_ext <<_ACEOF
88942 /* end confdefs.h. */
88943 #include <math.h>
88945 main ()
88947 copysign(0, 0);
88949 return 0;
88951 _ACEOF
88952 rm -f conftest.$ac_objext
88953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88954 (eval $ac_compile) 2>conftest.er1
88955 ac_status=$?
88956 grep -v '^ *+' conftest.er1 >conftest.err
88957 rm -f conftest.er1
88958 cat conftest.err >&5
88959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88960 (exit $ac_status); } &&
88961 { ac_try='test -z "$ac_cxx_werror_flag"
88962 || test ! -s conftest.err'
88963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88964 (eval $ac_try) 2>&5
88965 ac_status=$?
88966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88967 (exit $ac_status); }; } &&
88968 { ac_try='test -s conftest.$ac_objext'
88969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88970 (eval $ac_try) 2>&5
88971 ac_status=$?
88972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88973 (exit $ac_status); }; }; then
88974 glibcxx_cv_func_copysign_use=yes
88975 else
88976 echo "$as_me: failed program was:" >&5
88977 sed 's/^/| /' conftest.$ac_ext >&5
88979 glibcxx_cv_func_copysign_use=no
88981 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88982 ac_ext=c
88983 ac_cpp='$CPP $CPPFLAGS'
88984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88992 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
88993 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
88995 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
88997 for ac_func in copysign
88999 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89000 echo "$as_me:$LINENO: checking for $ac_func" >&5
89001 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89002 if eval "test \"\${$as_ac_var+set}\" = set"; then
89003 echo $ECHO_N "(cached) $ECHO_C" >&6
89004 else
89005 if test x$gcc_no_link = xyes; then
89006 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89007 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89008 { (exit 1); exit 1; }; }
89010 cat >conftest.$ac_ext <<_ACEOF
89011 /* confdefs.h. */
89012 _ACEOF
89013 cat confdefs.h >>conftest.$ac_ext
89014 cat >>conftest.$ac_ext <<_ACEOF
89015 /* end confdefs.h. */
89016 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89017 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89018 #define $ac_func innocuous_$ac_func
89020 /* System header to define __stub macros and hopefully few prototypes,
89021 which can conflict with char $ac_func (); below.
89022 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89023 <limits.h> exists even on freestanding compilers. */
89025 #ifdef __STDC__
89026 # include <limits.h>
89027 #else
89028 # include <assert.h>
89029 #endif
89031 #undef $ac_func
89033 /* Override any gcc2 internal prototype to avoid an error. */
89034 #ifdef __cplusplus
89035 extern "C"
89037 #endif
89038 /* We use char because int might match the return type of a gcc2
89039 builtin and then its argument prototype would still apply. */
89040 char $ac_func ();
89041 /* The GNU C library defines this for functions which it implements
89042 to always fail with ENOSYS. Some functions are actually named
89043 something starting with __ and the normal name is an alias. */
89044 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89045 choke me
89046 #else
89047 char (*f) () = $ac_func;
89048 #endif
89049 #ifdef __cplusplus
89051 #endif
89054 main ()
89056 return f != $ac_func;
89058 return 0;
89060 _ACEOF
89061 rm -f conftest.$ac_objext conftest$ac_exeext
89062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89063 (eval $ac_link) 2>conftest.er1
89064 ac_status=$?
89065 grep -v '^ *+' conftest.er1 >conftest.err
89066 rm -f conftest.er1
89067 cat conftest.err >&5
89068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89069 (exit $ac_status); } &&
89070 { ac_try='test -z "$ac_c_werror_flag"
89071 || test ! -s conftest.err'
89072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89073 (eval $ac_try) 2>&5
89074 ac_status=$?
89075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89076 (exit $ac_status); }; } &&
89077 { ac_try='test -s conftest$ac_exeext'
89078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89079 (eval $ac_try) 2>&5
89080 ac_status=$?
89081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89082 (exit $ac_status); }; }; then
89083 eval "$as_ac_var=yes"
89084 else
89085 echo "$as_me: failed program was:" >&5
89086 sed 's/^/| /' conftest.$ac_ext >&5
89088 eval "$as_ac_var=no"
89090 rm -f conftest.err conftest.$ac_objext \
89091 conftest$ac_exeext conftest.$ac_ext
89093 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89094 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89095 if test `eval echo '${'$as_ac_var'}'` = yes; then
89096 cat >>confdefs.h <<_ACEOF
89097 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89098 _ACEOF
89101 done
89103 else
89105 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
89106 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
89107 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
89108 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
89109 echo $ECHO_N "(cached) $ECHO_C" >&6
89110 else
89114 ac_ext=cc
89115 ac_cpp='$CXXCPP $CPPFLAGS'
89116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89120 cat >conftest.$ac_ext <<_ACEOF
89121 /* confdefs.h. */
89122 _ACEOF
89123 cat confdefs.h >>conftest.$ac_ext
89124 cat >>conftest.$ac_ext <<_ACEOF
89125 /* end confdefs.h. */
89126 #include <math.h>
89128 main ()
89130 _copysign(0, 0);
89132 return 0;
89134 _ACEOF
89135 rm -f conftest.$ac_objext
89136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89137 (eval $ac_compile) 2>conftest.er1
89138 ac_status=$?
89139 grep -v '^ *+' conftest.er1 >conftest.err
89140 rm -f conftest.er1
89141 cat conftest.err >&5
89142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89143 (exit $ac_status); } &&
89144 { ac_try='test -z "$ac_cxx_werror_flag"
89145 || test ! -s conftest.err'
89146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89147 (eval $ac_try) 2>&5
89148 ac_status=$?
89149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89150 (exit $ac_status); }; } &&
89151 { ac_try='test -s conftest.$ac_objext'
89152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89153 (eval $ac_try) 2>&5
89154 ac_status=$?
89155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89156 (exit $ac_status); }; }; then
89157 glibcxx_cv_func__copysign_use=yes
89158 else
89159 echo "$as_me: failed program was:" >&5
89160 sed 's/^/| /' conftest.$ac_ext >&5
89162 glibcxx_cv_func__copysign_use=no
89164 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89165 ac_ext=c
89166 ac_cpp='$CPP $CPPFLAGS'
89167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89175 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
89176 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
89178 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
89180 for ac_func in _copysign
89182 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89183 echo "$as_me:$LINENO: checking for $ac_func" >&5
89184 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89185 if eval "test \"\${$as_ac_var+set}\" = set"; then
89186 echo $ECHO_N "(cached) $ECHO_C" >&6
89187 else
89188 if test x$gcc_no_link = xyes; then
89189 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89190 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89191 { (exit 1); exit 1; }; }
89193 cat >conftest.$ac_ext <<_ACEOF
89194 /* confdefs.h. */
89195 _ACEOF
89196 cat confdefs.h >>conftest.$ac_ext
89197 cat >>conftest.$ac_ext <<_ACEOF
89198 /* end confdefs.h. */
89199 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89200 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89201 #define $ac_func innocuous_$ac_func
89203 /* System header to define __stub macros and hopefully few prototypes,
89204 which can conflict with char $ac_func (); below.
89205 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89206 <limits.h> exists even on freestanding compilers. */
89208 #ifdef __STDC__
89209 # include <limits.h>
89210 #else
89211 # include <assert.h>
89212 #endif
89214 #undef $ac_func
89216 /* Override any gcc2 internal prototype to avoid an error. */
89217 #ifdef __cplusplus
89218 extern "C"
89220 #endif
89221 /* We use char because int might match the return type of a gcc2
89222 builtin and then its argument prototype would still apply. */
89223 char $ac_func ();
89224 /* The GNU C library defines this for functions which it implements
89225 to always fail with ENOSYS. Some functions are actually named
89226 something starting with __ and the normal name is an alias. */
89227 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89228 choke me
89229 #else
89230 char (*f) () = $ac_func;
89231 #endif
89232 #ifdef __cplusplus
89234 #endif
89237 main ()
89239 return f != $ac_func;
89241 return 0;
89243 _ACEOF
89244 rm -f conftest.$ac_objext conftest$ac_exeext
89245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89246 (eval $ac_link) 2>conftest.er1
89247 ac_status=$?
89248 grep -v '^ *+' conftest.er1 >conftest.err
89249 rm -f conftest.er1
89250 cat conftest.err >&5
89251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89252 (exit $ac_status); } &&
89253 { ac_try='test -z "$ac_c_werror_flag"
89254 || test ! -s conftest.err'
89255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89256 (eval $ac_try) 2>&5
89257 ac_status=$?
89258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89259 (exit $ac_status); }; } &&
89260 { ac_try='test -s conftest$ac_exeext'
89261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89262 (eval $ac_try) 2>&5
89263 ac_status=$?
89264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89265 (exit $ac_status); }; }; then
89266 eval "$as_ac_var=yes"
89267 else
89268 echo "$as_me: failed program was:" >&5
89269 sed 's/^/| /' conftest.$ac_ext >&5
89271 eval "$as_ac_var=no"
89273 rm -f conftest.err conftest.$ac_objext \
89274 conftest$ac_exeext conftest.$ac_ext
89276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89277 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89278 if test `eval echo '${'$as_ac_var'}'` = yes; then
89279 cat >>confdefs.h <<_ACEOF
89280 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89281 _ACEOF
89284 done
89294 echo "$as_me:$LINENO: checking for sincos declaration" >&5
89295 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
89296 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
89297 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
89298 echo $ECHO_N "(cached) $ECHO_C" >&6
89299 else
89303 ac_ext=cc
89304 ac_cpp='$CXXCPP $CPPFLAGS'
89305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89309 cat >conftest.$ac_ext <<_ACEOF
89310 /* confdefs.h. */
89311 _ACEOF
89312 cat confdefs.h >>conftest.$ac_ext
89313 cat >>conftest.$ac_ext <<_ACEOF
89314 /* end confdefs.h. */
89315 #include <math.h>
89317 main ()
89319 sincos(0, 0, 0);
89321 return 0;
89323 _ACEOF
89324 rm -f conftest.$ac_objext
89325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89326 (eval $ac_compile) 2>conftest.er1
89327 ac_status=$?
89328 grep -v '^ *+' conftest.er1 >conftest.err
89329 rm -f conftest.er1
89330 cat conftest.err >&5
89331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89332 (exit $ac_status); } &&
89333 { ac_try='test -z "$ac_cxx_werror_flag"
89334 || test ! -s conftest.err'
89335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89336 (eval $ac_try) 2>&5
89337 ac_status=$?
89338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89339 (exit $ac_status); }; } &&
89340 { ac_try='test -s conftest.$ac_objext'
89341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89342 (eval $ac_try) 2>&5
89343 ac_status=$?
89344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89345 (exit $ac_status); }; }; then
89346 glibcxx_cv_func_sincos_use=yes
89347 else
89348 echo "$as_me: failed program was:" >&5
89349 sed 's/^/| /' conftest.$ac_ext >&5
89351 glibcxx_cv_func_sincos_use=no
89353 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89354 ac_ext=c
89355 ac_cpp='$CPP $CPPFLAGS'
89356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89364 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
89365 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
89367 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
89369 for ac_func in sincos
89371 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89372 echo "$as_me:$LINENO: checking for $ac_func" >&5
89373 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89374 if eval "test \"\${$as_ac_var+set}\" = set"; then
89375 echo $ECHO_N "(cached) $ECHO_C" >&6
89376 else
89377 if test x$gcc_no_link = xyes; then
89378 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89379 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89380 { (exit 1); exit 1; }; }
89382 cat >conftest.$ac_ext <<_ACEOF
89383 /* confdefs.h. */
89384 _ACEOF
89385 cat confdefs.h >>conftest.$ac_ext
89386 cat >>conftest.$ac_ext <<_ACEOF
89387 /* end confdefs.h. */
89388 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89389 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89390 #define $ac_func innocuous_$ac_func
89392 /* System header to define __stub macros and hopefully few prototypes,
89393 which can conflict with char $ac_func (); below.
89394 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89395 <limits.h> exists even on freestanding compilers. */
89397 #ifdef __STDC__
89398 # include <limits.h>
89399 #else
89400 # include <assert.h>
89401 #endif
89403 #undef $ac_func
89405 /* Override any gcc2 internal prototype to avoid an error. */
89406 #ifdef __cplusplus
89407 extern "C"
89409 #endif
89410 /* We use char because int might match the return type of a gcc2
89411 builtin and then its argument prototype would still apply. */
89412 char $ac_func ();
89413 /* The GNU C library defines this for functions which it implements
89414 to always fail with ENOSYS. Some functions are actually named
89415 something starting with __ and the normal name is an alias. */
89416 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89417 choke me
89418 #else
89419 char (*f) () = $ac_func;
89420 #endif
89421 #ifdef __cplusplus
89423 #endif
89426 main ()
89428 return f != $ac_func;
89430 return 0;
89432 _ACEOF
89433 rm -f conftest.$ac_objext conftest$ac_exeext
89434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89435 (eval $ac_link) 2>conftest.er1
89436 ac_status=$?
89437 grep -v '^ *+' conftest.er1 >conftest.err
89438 rm -f conftest.er1
89439 cat conftest.err >&5
89440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89441 (exit $ac_status); } &&
89442 { ac_try='test -z "$ac_c_werror_flag"
89443 || test ! -s conftest.err'
89444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89445 (eval $ac_try) 2>&5
89446 ac_status=$?
89447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89448 (exit $ac_status); }; } &&
89449 { ac_try='test -s conftest$ac_exeext'
89450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89451 (eval $ac_try) 2>&5
89452 ac_status=$?
89453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89454 (exit $ac_status); }; }; then
89455 eval "$as_ac_var=yes"
89456 else
89457 echo "$as_me: failed program was:" >&5
89458 sed 's/^/| /' conftest.$ac_ext >&5
89460 eval "$as_ac_var=no"
89462 rm -f conftest.err conftest.$ac_objext \
89463 conftest$ac_exeext conftest.$ac_ext
89465 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89466 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89467 if test `eval echo '${'$as_ac_var'}'` = yes; then
89468 cat >>confdefs.h <<_ACEOF
89469 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89470 _ACEOF
89473 done
89475 else
89477 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
89478 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
89479 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
89480 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
89481 echo $ECHO_N "(cached) $ECHO_C" >&6
89482 else
89486 ac_ext=cc
89487 ac_cpp='$CXXCPP $CPPFLAGS'
89488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89492 cat >conftest.$ac_ext <<_ACEOF
89493 /* confdefs.h. */
89494 _ACEOF
89495 cat confdefs.h >>conftest.$ac_ext
89496 cat >>conftest.$ac_ext <<_ACEOF
89497 /* end confdefs.h. */
89498 #include <math.h>
89500 main ()
89502 _sincos(0, 0, 0);
89504 return 0;
89506 _ACEOF
89507 rm -f conftest.$ac_objext
89508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89509 (eval $ac_compile) 2>conftest.er1
89510 ac_status=$?
89511 grep -v '^ *+' conftest.er1 >conftest.err
89512 rm -f conftest.er1
89513 cat conftest.err >&5
89514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89515 (exit $ac_status); } &&
89516 { ac_try='test -z "$ac_cxx_werror_flag"
89517 || test ! -s conftest.err'
89518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89519 (eval $ac_try) 2>&5
89520 ac_status=$?
89521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89522 (exit $ac_status); }; } &&
89523 { ac_try='test -s conftest.$ac_objext'
89524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89525 (eval $ac_try) 2>&5
89526 ac_status=$?
89527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89528 (exit $ac_status); }; }; then
89529 glibcxx_cv_func__sincos_use=yes
89530 else
89531 echo "$as_me: failed program was:" >&5
89532 sed 's/^/| /' conftest.$ac_ext >&5
89534 glibcxx_cv_func__sincos_use=no
89536 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89537 ac_ext=c
89538 ac_cpp='$CPP $CPPFLAGS'
89539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89547 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
89548 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
89550 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
89552 for ac_func in _sincos
89554 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89555 echo "$as_me:$LINENO: checking for $ac_func" >&5
89556 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89557 if eval "test \"\${$as_ac_var+set}\" = set"; then
89558 echo $ECHO_N "(cached) $ECHO_C" >&6
89559 else
89560 if test x$gcc_no_link = xyes; then
89561 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89562 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89563 { (exit 1); exit 1; }; }
89565 cat >conftest.$ac_ext <<_ACEOF
89566 /* confdefs.h. */
89567 _ACEOF
89568 cat confdefs.h >>conftest.$ac_ext
89569 cat >>conftest.$ac_ext <<_ACEOF
89570 /* end confdefs.h. */
89571 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89572 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89573 #define $ac_func innocuous_$ac_func
89575 /* System header to define __stub macros and hopefully few prototypes,
89576 which can conflict with char $ac_func (); below.
89577 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89578 <limits.h> exists even on freestanding compilers. */
89580 #ifdef __STDC__
89581 # include <limits.h>
89582 #else
89583 # include <assert.h>
89584 #endif
89586 #undef $ac_func
89588 /* Override any gcc2 internal prototype to avoid an error. */
89589 #ifdef __cplusplus
89590 extern "C"
89592 #endif
89593 /* We use char because int might match the return type of a gcc2
89594 builtin and then its argument prototype would still apply. */
89595 char $ac_func ();
89596 /* The GNU C library defines this for functions which it implements
89597 to always fail with ENOSYS. Some functions are actually named
89598 something starting with __ and the normal name is an alias. */
89599 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89600 choke me
89601 #else
89602 char (*f) () = $ac_func;
89603 #endif
89604 #ifdef __cplusplus
89606 #endif
89609 main ()
89611 return f != $ac_func;
89613 return 0;
89615 _ACEOF
89616 rm -f conftest.$ac_objext conftest$ac_exeext
89617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89618 (eval $ac_link) 2>conftest.er1
89619 ac_status=$?
89620 grep -v '^ *+' conftest.er1 >conftest.err
89621 rm -f conftest.er1
89622 cat conftest.err >&5
89623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89624 (exit $ac_status); } &&
89625 { ac_try='test -z "$ac_c_werror_flag"
89626 || test ! -s conftest.err'
89627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89628 (eval $ac_try) 2>&5
89629 ac_status=$?
89630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89631 (exit $ac_status); }; } &&
89632 { ac_try='test -s conftest$ac_exeext'
89633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89634 (eval $ac_try) 2>&5
89635 ac_status=$?
89636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89637 (exit $ac_status); }; }; then
89638 eval "$as_ac_var=yes"
89639 else
89640 echo "$as_me: failed program was:" >&5
89641 sed 's/^/| /' conftest.$ac_ext >&5
89643 eval "$as_ac_var=no"
89645 rm -f conftest.err conftest.$ac_objext \
89646 conftest$ac_exeext conftest.$ac_ext
89648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89649 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89650 if test `eval echo '${'$as_ac_var'}'` = yes; then
89651 cat >>confdefs.h <<_ACEOF
89652 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89653 _ACEOF
89656 done
89666 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
89667 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
89668 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
89669 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
89670 echo $ECHO_N "(cached) $ECHO_C" >&6
89671 else
89675 ac_ext=cc
89676 ac_cpp='$CXXCPP $CPPFLAGS'
89677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89681 cat >conftest.$ac_ext <<_ACEOF
89682 /* confdefs.h. */
89683 _ACEOF
89684 cat confdefs.h >>conftest.$ac_ext
89685 cat >>conftest.$ac_ext <<_ACEOF
89686 /* end confdefs.h. */
89687 #include <math.h>
89688 #ifdef HAVE_IEEEFP_H
89689 #include <ieeefp.h>
89690 #endif
89693 main ()
89695 fpclass(0);
89697 return 0;
89699 _ACEOF
89700 rm -f conftest.$ac_objext
89701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89702 (eval $ac_compile) 2>conftest.er1
89703 ac_status=$?
89704 grep -v '^ *+' conftest.er1 >conftest.err
89705 rm -f conftest.er1
89706 cat conftest.err >&5
89707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89708 (exit $ac_status); } &&
89709 { ac_try='test -z "$ac_cxx_werror_flag"
89710 || test ! -s conftest.err'
89711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89712 (eval $ac_try) 2>&5
89713 ac_status=$?
89714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89715 (exit $ac_status); }; } &&
89716 { ac_try='test -s conftest.$ac_objext'
89717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89718 (eval $ac_try) 2>&5
89719 ac_status=$?
89720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89721 (exit $ac_status); }; }; then
89722 glibcxx_cv_func_fpclass_use=yes
89723 else
89724 echo "$as_me: failed program was:" >&5
89725 sed 's/^/| /' conftest.$ac_ext >&5
89727 glibcxx_cv_func_fpclass_use=no
89729 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89730 ac_ext=c
89731 ac_cpp='$CPP $CPPFLAGS'
89732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89740 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
89741 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
89743 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
89745 for ac_func in fpclass
89747 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89748 echo "$as_me:$LINENO: checking for $ac_func" >&5
89749 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89750 if eval "test \"\${$as_ac_var+set}\" = set"; then
89751 echo $ECHO_N "(cached) $ECHO_C" >&6
89752 else
89753 if test x$gcc_no_link = xyes; then
89754 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89755 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89756 { (exit 1); exit 1; }; }
89758 cat >conftest.$ac_ext <<_ACEOF
89759 /* confdefs.h. */
89760 _ACEOF
89761 cat confdefs.h >>conftest.$ac_ext
89762 cat >>conftest.$ac_ext <<_ACEOF
89763 /* end confdefs.h. */
89764 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89765 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89766 #define $ac_func innocuous_$ac_func
89768 /* System header to define __stub macros and hopefully few prototypes,
89769 which can conflict with char $ac_func (); below.
89770 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89771 <limits.h> exists even on freestanding compilers. */
89773 #ifdef __STDC__
89774 # include <limits.h>
89775 #else
89776 # include <assert.h>
89777 #endif
89779 #undef $ac_func
89781 /* Override any gcc2 internal prototype to avoid an error. */
89782 #ifdef __cplusplus
89783 extern "C"
89785 #endif
89786 /* We use char because int might match the return type of a gcc2
89787 builtin and then its argument prototype would still apply. */
89788 char $ac_func ();
89789 /* The GNU C library defines this for functions which it implements
89790 to always fail with ENOSYS. Some functions are actually named
89791 something starting with __ and the normal name is an alias. */
89792 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89793 choke me
89794 #else
89795 char (*f) () = $ac_func;
89796 #endif
89797 #ifdef __cplusplus
89799 #endif
89802 main ()
89804 return f != $ac_func;
89806 return 0;
89808 _ACEOF
89809 rm -f conftest.$ac_objext conftest$ac_exeext
89810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89811 (eval $ac_link) 2>conftest.er1
89812 ac_status=$?
89813 grep -v '^ *+' conftest.er1 >conftest.err
89814 rm -f conftest.er1
89815 cat conftest.err >&5
89816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89817 (exit $ac_status); } &&
89818 { ac_try='test -z "$ac_c_werror_flag"
89819 || test ! -s conftest.err'
89820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89821 (eval $ac_try) 2>&5
89822 ac_status=$?
89823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89824 (exit $ac_status); }; } &&
89825 { ac_try='test -s conftest$ac_exeext'
89826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89827 (eval $ac_try) 2>&5
89828 ac_status=$?
89829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89830 (exit $ac_status); }; }; then
89831 eval "$as_ac_var=yes"
89832 else
89833 echo "$as_me: failed program was:" >&5
89834 sed 's/^/| /' conftest.$ac_ext >&5
89836 eval "$as_ac_var=no"
89838 rm -f conftest.err conftest.$ac_objext \
89839 conftest$ac_exeext conftest.$ac_ext
89841 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89842 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89843 if test `eval echo '${'$as_ac_var'}'` = yes; then
89844 cat >>confdefs.h <<_ACEOF
89845 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89846 _ACEOF
89849 done
89851 else
89853 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
89854 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
89855 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
89856 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
89857 echo $ECHO_N "(cached) $ECHO_C" >&6
89858 else
89862 ac_ext=cc
89863 ac_cpp='$CXXCPP $CPPFLAGS'
89864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89868 cat >conftest.$ac_ext <<_ACEOF
89869 /* confdefs.h. */
89870 _ACEOF
89871 cat confdefs.h >>conftest.$ac_ext
89872 cat >>conftest.$ac_ext <<_ACEOF
89873 /* end confdefs.h. */
89874 #include <math.h>
89875 #ifdef HAVE_IEEEFP_H
89876 #include <ieeefp.h>
89877 #endif
89880 main ()
89882 _fpclass(0);
89884 return 0;
89886 _ACEOF
89887 rm -f conftest.$ac_objext
89888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89889 (eval $ac_compile) 2>conftest.er1
89890 ac_status=$?
89891 grep -v '^ *+' conftest.er1 >conftest.err
89892 rm -f conftest.er1
89893 cat conftest.err >&5
89894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89895 (exit $ac_status); } &&
89896 { ac_try='test -z "$ac_cxx_werror_flag"
89897 || test ! -s conftest.err'
89898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89899 (eval $ac_try) 2>&5
89900 ac_status=$?
89901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89902 (exit $ac_status); }; } &&
89903 { ac_try='test -s conftest.$ac_objext'
89904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89905 (eval $ac_try) 2>&5
89906 ac_status=$?
89907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89908 (exit $ac_status); }; }; then
89909 glibcxx_cv_func__fpclass_use=yes
89910 else
89911 echo "$as_me: failed program was:" >&5
89912 sed 's/^/| /' conftest.$ac_ext >&5
89914 glibcxx_cv_func__fpclass_use=no
89916 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89917 ac_ext=c
89918 ac_cpp='$CPP $CPPFLAGS'
89919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89927 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
89928 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
89930 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
89932 for ac_func in _fpclass
89934 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89935 echo "$as_me:$LINENO: checking for $ac_func" >&5
89936 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89937 if eval "test \"\${$as_ac_var+set}\" = set"; then
89938 echo $ECHO_N "(cached) $ECHO_C" >&6
89939 else
89940 if test x$gcc_no_link = xyes; then
89941 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89942 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89943 { (exit 1); exit 1; }; }
89945 cat >conftest.$ac_ext <<_ACEOF
89946 /* confdefs.h. */
89947 _ACEOF
89948 cat confdefs.h >>conftest.$ac_ext
89949 cat >>conftest.$ac_ext <<_ACEOF
89950 /* end confdefs.h. */
89951 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89952 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89953 #define $ac_func innocuous_$ac_func
89955 /* System header to define __stub macros and hopefully few prototypes,
89956 which can conflict with char $ac_func (); below.
89957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89958 <limits.h> exists even on freestanding compilers. */
89960 #ifdef __STDC__
89961 # include <limits.h>
89962 #else
89963 # include <assert.h>
89964 #endif
89966 #undef $ac_func
89968 /* Override any gcc2 internal prototype to avoid an error. */
89969 #ifdef __cplusplus
89970 extern "C"
89972 #endif
89973 /* We use char because int might match the return type of a gcc2
89974 builtin and then its argument prototype would still apply. */
89975 char $ac_func ();
89976 /* The GNU C library defines this for functions which it implements
89977 to always fail with ENOSYS. Some functions are actually named
89978 something starting with __ and the normal name is an alias. */
89979 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89980 choke me
89981 #else
89982 char (*f) () = $ac_func;
89983 #endif
89984 #ifdef __cplusplus
89986 #endif
89989 main ()
89991 return f != $ac_func;
89993 return 0;
89995 _ACEOF
89996 rm -f conftest.$ac_objext conftest$ac_exeext
89997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89998 (eval $ac_link) 2>conftest.er1
89999 ac_status=$?
90000 grep -v '^ *+' conftest.er1 >conftest.err
90001 rm -f conftest.er1
90002 cat conftest.err >&5
90003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90004 (exit $ac_status); } &&
90005 { ac_try='test -z "$ac_c_werror_flag"
90006 || test ! -s conftest.err'
90007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90008 (eval $ac_try) 2>&5
90009 ac_status=$?
90010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90011 (exit $ac_status); }; } &&
90012 { ac_try='test -s conftest$ac_exeext'
90013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90014 (eval $ac_try) 2>&5
90015 ac_status=$?
90016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90017 (exit $ac_status); }; }; then
90018 eval "$as_ac_var=yes"
90019 else
90020 echo "$as_me: failed program was:" >&5
90021 sed 's/^/| /' conftest.$ac_ext >&5
90023 eval "$as_ac_var=no"
90025 rm -f conftest.err conftest.$ac_objext \
90026 conftest$ac_exeext conftest.$ac_ext
90028 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90029 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90030 if test `eval echo '${'$as_ac_var'}'` = yes; then
90031 cat >>confdefs.h <<_ACEOF
90032 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90033 _ACEOF
90036 done
90046 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
90047 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
90048 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
90049 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
90050 echo $ECHO_N "(cached) $ECHO_C" >&6
90051 else
90055 ac_ext=cc
90056 ac_cpp='$CXXCPP $CPPFLAGS'
90057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90061 cat >conftest.$ac_ext <<_ACEOF
90062 /* confdefs.h. */
90063 _ACEOF
90064 cat confdefs.h >>conftest.$ac_ext
90065 cat >>conftest.$ac_ext <<_ACEOF
90066 /* end confdefs.h. */
90067 #include <math.h>
90068 #ifdef HAVE_IEEEFP_H
90069 #include <ieeefp.h>
90070 #endif
90073 main ()
90075 qfpclass(0);
90077 return 0;
90079 _ACEOF
90080 rm -f conftest.$ac_objext
90081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90082 (eval $ac_compile) 2>conftest.er1
90083 ac_status=$?
90084 grep -v '^ *+' conftest.er1 >conftest.err
90085 rm -f conftest.er1
90086 cat conftest.err >&5
90087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90088 (exit $ac_status); } &&
90089 { ac_try='test -z "$ac_cxx_werror_flag"
90090 || test ! -s conftest.err'
90091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90092 (eval $ac_try) 2>&5
90093 ac_status=$?
90094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90095 (exit $ac_status); }; } &&
90096 { ac_try='test -s conftest.$ac_objext'
90097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90098 (eval $ac_try) 2>&5
90099 ac_status=$?
90100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90101 (exit $ac_status); }; }; then
90102 glibcxx_cv_func_qfpclass_use=yes
90103 else
90104 echo "$as_me: failed program was:" >&5
90105 sed 's/^/| /' conftest.$ac_ext >&5
90107 glibcxx_cv_func_qfpclass_use=no
90109 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90110 ac_ext=c
90111 ac_cpp='$CPP $CPPFLAGS'
90112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90120 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
90121 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
90123 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
90125 for ac_func in qfpclass
90127 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90128 echo "$as_me:$LINENO: checking for $ac_func" >&5
90129 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90130 if eval "test \"\${$as_ac_var+set}\" = set"; then
90131 echo $ECHO_N "(cached) $ECHO_C" >&6
90132 else
90133 if test x$gcc_no_link = xyes; then
90134 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90135 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90136 { (exit 1); exit 1; }; }
90138 cat >conftest.$ac_ext <<_ACEOF
90139 /* confdefs.h. */
90140 _ACEOF
90141 cat confdefs.h >>conftest.$ac_ext
90142 cat >>conftest.$ac_ext <<_ACEOF
90143 /* end confdefs.h. */
90144 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90145 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90146 #define $ac_func innocuous_$ac_func
90148 /* System header to define __stub macros and hopefully few prototypes,
90149 which can conflict with char $ac_func (); below.
90150 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90151 <limits.h> exists even on freestanding compilers. */
90153 #ifdef __STDC__
90154 # include <limits.h>
90155 #else
90156 # include <assert.h>
90157 #endif
90159 #undef $ac_func
90161 /* Override any gcc2 internal prototype to avoid an error. */
90162 #ifdef __cplusplus
90163 extern "C"
90165 #endif
90166 /* We use char because int might match the return type of a gcc2
90167 builtin and then its argument prototype would still apply. */
90168 char $ac_func ();
90169 /* The GNU C library defines this for functions which it implements
90170 to always fail with ENOSYS. Some functions are actually named
90171 something starting with __ and the normal name is an alias. */
90172 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90173 choke me
90174 #else
90175 char (*f) () = $ac_func;
90176 #endif
90177 #ifdef __cplusplus
90179 #endif
90182 main ()
90184 return f != $ac_func;
90186 return 0;
90188 _ACEOF
90189 rm -f conftest.$ac_objext conftest$ac_exeext
90190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90191 (eval $ac_link) 2>conftest.er1
90192 ac_status=$?
90193 grep -v '^ *+' conftest.er1 >conftest.err
90194 rm -f conftest.er1
90195 cat conftest.err >&5
90196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90197 (exit $ac_status); } &&
90198 { ac_try='test -z "$ac_c_werror_flag"
90199 || test ! -s conftest.err'
90200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90201 (eval $ac_try) 2>&5
90202 ac_status=$?
90203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90204 (exit $ac_status); }; } &&
90205 { ac_try='test -s conftest$ac_exeext'
90206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90207 (eval $ac_try) 2>&5
90208 ac_status=$?
90209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90210 (exit $ac_status); }; }; then
90211 eval "$as_ac_var=yes"
90212 else
90213 echo "$as_me: failed program was:" >&5
90214 sed 's/^/| /' conftest.$ac_ext >&5
90216 eval "$as_ac_var=no"
90218 rm -f conftest.err conftest.$ac_objext \
90219 conftest$ac_exeext conftest.$ac_ext
90221 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90222 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90223 if test `eval echo '${'$as_ac_var'}'` = yes; then
90224 cat >>confdefs.h <<_ACEOF
90225 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90226 _ACEOF
90229 done
90231 else
90233 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
90234 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
90235 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
90236 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
90237 echo $ECHO_N "(cached) $ECHO_C" >&6
90238 else
90242 ac_ext=cc
90243 ac_cpp='$CXXCPP $CPPFLAGS'
90244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90248 cat >conftest.$ac_ext <<_ACEOF
90249 /* confdefs.h. */
90250 _ACEOF
90251 cat confdefs.h >>conftest.$ac_ext
90252 cat >>conftest.$ac_ext <<_ACEOF
90253 /* end confdefs.h. */
90254 #include <math.h>
90255 #ifdef HAVE_IEEEFP_H
90256 #include <ieeefp.h>
90257 #endif
90260 main ()
90262 _qfpclass(0);
90264 return 0;
90266 _ACEOF
90267 rm -f conftest.$ac_objext
90268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90269 (eval $ac_compile) 2>conftest.er1
90270 ac_status=$?
90271 grep -v '^ *+' conftest.er1 >conftest.err
90272 rm -f conftest.er1
90273 cat conftest.err >&5
90274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90275 (exit $ac_status); } &&
90276 { ac_try='test -z "$ac_cxx_werror_flag"
90277 || test ! -s conftest.err'
90278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90279 (eval $ac_try) 2>&5
90280 ac_status=$?
90281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90282 (exit $ac_status); }; } &&
90283 { ac_try='test -s conftest.$ac_objext'
90284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90285 (eval $ac_try) 2>&5
90286 ac_status=$?
90287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90288 (exit $ac_status); }; }; then
90289 glibcxx_cv_func__qfpclass_use=yes
90290 else
90291 echo "$as_me: failed program was:" >&5
90292 sed 's/^/| /' conftest.$ac_ext >&5
90294 glibcxx_cv_func__qfpclass_use=no
90296 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90297 ac_ext=c
90298 ac_cpp='$CPP $CPPFLAGS'
90299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90307 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
90308 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
90310 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
90312 for ac_func in _qfpclass
90314 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90315 echo "$as_me:$LINENO: checking for $ac_func" >&5
90316 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90317 if eval "test \"\${$as_ac_var+set}\" = set"; then
90318 echo $ECHO_N "(cached) $ECHO_C" >&6
90319 else
90320 if test x$gcc_no_link = xyes; then
90321 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90322 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90323 { (exit 1); exit 1; }; }
90325 cat >conftest.$ac_ext <<_ACEOF
90326 /* confdefs.h. */
90327 _ACEOF
90328 cat confdefs.h >>conftest.$ac_ext
90329 cat >>conftest.$ac_ext <<_ACEOF
90330 /* end confdefs.h. */
90331 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90332 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90333 #define $ac_func innocuous_$ac_func
90335 /* System header to define __stub macros and hopefully few prototypes,
90336 which can conflict with char $ac_func (); below.
90337 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90338 <limits.h> exists even on freestanding compilers. */
90340 #ifdef __STDC__
90341 # include <limits.h>
90342 #else
90343 # include <assert.h>
90344 #endif
90346 #undef $ac_func
90348 /* Override any gcc2 internal prototype to avoid an error. */
90349 #ifdef __cplusplus
90350 extern "C"
90352 #endif
90353 /* We use char because int might match the return type of a gcc2
90354 builtin and then its argument prototype would still apply. */
90355 char $ac_func ();
90356 /* The GNU C library defines this for functions which it implements
90357 to always fail with ENOSYS. Some functions are actually named
90358 something starting with __ and the normal name is an alias. */
90359 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90360 choke me
90361 #else
90362 char (*f) () = $ac_func;
90363 #endif
90364 #ifdef __cplusplus
90366 #endif
90369 main ()
90371 return f != $ac_func;
90373 return 0;
90375 _ACEOF
90376 rm -f conftest.$ac_objext conftest$ac_exeext
90377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90378 (eval $ac_link) 2>conftest.er1
90379 ac_status=$?
90380 grep -v '^ *+' conftest.er1 >conftest.err
90381 rm -f conftest.er1
90382 cat conftest.err >&5
90383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90384 (exit $ac_status); } &&
90385 { ac_try='test -z "$ac_c_werror_flag"
90386 || test ! -s conftest.err'
90387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90388 (eval $ac_try) 2>&5
90389 ac_status=$?
90390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90391 (exit $ac_status); }; } &&
90392 { ac_try='test -s conftest$ac_exeext'
90393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90394 (eval $ac_try) 2>&5
90395 ac_status=$?
90396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90397 (exit $ac_status); }; }; then
90398 eval "$as_ac_var=yes"
90399 else
90400 echo "$as_me: failed program was:" >&5
90401 sed 's/^/| /' conftest.$ac_ext >&5
90403 eval "$as_ac_var=no"
90405 rm -f conftest.err conftest.$ac_objext \
90406 conftest$ac_exeext conftest.$ac_ext
90408 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90409 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90410 if test `eval echo '${'$as_ac_var'}'` = yes; then
90411 cat >>confdefs.h <<_ACEOF
90412 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90413 _ACEOF
90416 done
90426 echo "$as_me:$LINENO: checking for hypot declaration" >&5
90427 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
90428 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
90429 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
90430 echo $ECHO_N "(cached) $ECHO_C" >&6
90431 else
90435 ac_ext=cc
90436 ac_cpp='$CXXCPP $CPPFLAGS'
90437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90441 cat >conftest.$ac_ext <<_ACEOF
90442 /* confdefs.h. */
90443 _ACEOF
90444 cat confdefs.h >>conftest.$ac_ext
90445 cat >>conftest.$ac_ext <<_ACEOF
90446 /* end confdefs.h. */
90447 #include <math.h>
90449 main ()
90451 hypot(0, 0);
90453 return 0;
90455 _ACEOF
90456 rm -f conftest.$ac_objext
90457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90458 (eval $ac_compile) 2>conftest.er1
90459 ac_status=$?
90460 grep -v '^ *+' conftest.er1 >conftest.err
90461 rm -f conftest.er1
90462 cat conftest.err >&5
90463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90464 (exit $ac_status); } &&
90465 { ac_try='test -z "$ac_cxx_werror_flag"
90466 || test ! -s conftest.err'
90467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90468 (eval $ac_try) 2>&5
90469 ac_status=$?
90470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90471 (exit $ac_status); }; } &&
90472 { ac_try='test -s conftest.$ac_objext'
90473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90474 (eval $ac_try) 2>&5
90475 ac_status=$?
90476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90477 (exit $ac_status); }; }; then
90478 glibcxx_cv_func_hypot_use=yes
90479 else
90480 echo "$as_me: failed program was:" >&5
90481 sed 's/^/| /' conftest.$ac_ext >&5
90483 glibcxx_cv_func_hypot_use=no
90485 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90486 ac_ext=c
90487 ac_cpp='$CPP $CPPFLAGS'
90488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90496 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
90497 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
90499 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
90501 for ac_func in hypot
90503 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90504 echo "$as_me:$LINENO: checking for $ac_func" >&5
90505 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90506 if eval "test \"\${$as_ac_var+set}\" = set"; then
90507 echo $ECHO_N "(cached) $ECHO_C" >&6
90508 else
90509 if test x$gcc_no_link = xyes; then
90510 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90511 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90512 { (exit 1); exit 1; }; }
90514 cat >conftest.$ac_ext <<_ACEOF
90515 /* confdefs.h. */
90516 _ACEOF
90517 cat confdefs.h >>conftest.$ac_ext
90518 cat >>conftest.$ac_ext <<_ACEOF
90519 /* end confdefs.h. */
90520 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90521 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90522 #define $ac_func innocuous_$ac_func
90524 /* System header to define __stub macros and hopefully few prototypes,
90525 which can conflict with char $ac_func (); below.
90526 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90527 <limits.h> exists even on freestanding compilers. */
90529 #ifdef __STDC__
90530 # include <limits.h>
90531 #else
90532 # include <assert.h>
90533 #endif
90535 #undef $ac_func
90537 /* Override any gcc2 internal prototype to avoid an error. */
90538 #ifdef __cplusplus
90539 extern "C"
90541 #endif
90542 /* We use char because int might match the return type of a gcc2
90543 builtin and then its argument prototype would still apply. */
90544 char $ac_func ();
90545 /* The GNU C library defines this for functions which it implements
90546 to always fail with ENOSYS. Some functions are actually named
90547 something starting with __ and the normal name is an alias. */
90548 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90549 choke me
90550 #else
90551 char (*f) () = $ac_func;
90552 #endif
90553 #ifdef __cplusplus
90555 #endif
90558 main ()
90560 return f != $ac_func;
90562 return 0;
90564 _ACEOF
90565 rm -f conftest.$ac_objext conftest$ac_exeext
90566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90567 (eval $ac_link) 2>conftest.er1
90568 ac_status=$?
90569 grep -v '^ *+' conftest.er1 >conftest.err
90570 rm -f conftest.er1
90571 cat conftest.err >&5
90572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90573 (exit $ac_status); } &&
90574 { ac_try='test -z "$ac_c_werror_flag"
90575 || test ! -s conftest.err'
90576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90577 (eval $ac_try) 2>&5
90578 ac_status=$?
90579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90580 (exit $ac_status); }; } &&
90581 { ac_try='test -s conftest$ac_exeext'
90582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90583 (eval $ac_try) 2>&5
90584 ac_status=$?
90585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90586 (exit $ac_status); }; }; then
90587 eval "$as_ac_var=yes"
90588 else
90589 echo "$as_me: failed program was:" >&5
90590 sed 's/^/| /' conftest.$ac_ext >&5
90592 eval "$as_ac_var=no"
90594 rm -f conftest.err conftest.$ac_objext \
90595 conftest$ac_exeext conftest.$ac_ext
90597 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90598 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90599 if test `eval echo '${'$as_ac_var'}'` = yes; then
90600 cat >>confdefs.h <<_ACEOF
90601 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90602 _ACEOF
90605 done
90607 else
90609 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
90610 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
90611 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
90612 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
90613 echo $ECHO_N "(cached) $ECHO_C" >&6
90614 else
90618 ac_ext=cc
90619 ac_cpp='$CXXCPP $CPPFLAGS'
90620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90624 cat >conftest.$ac_ext <<_ACEOF
90625 /* confdefs.h. */
90626 _ACEOF
90627 cat confdefs.h >>conftest.$ac_ext
90628 cat >>conftest.$ac_ext <<_ACEOF
90629 /* end confdefs.h. */
90630 #include <math.h>
90632 main ()
90634 _hypot(0, 0);
90636 return 0;
90638 _ACEOF
90639 rm -f conftest.$ac_objext
90640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90641 (eval $ac_compile) 2>conftest.er1
90642 ac_status=$?
90643 grep -v '^ *+' conftest.er1 >conftest.err
90644 rm -f conftest.er1
90645 cat conftest.err >&5
90646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90647 (exit $ac_status); } &&
90648 { ac_try='test -z "$ac_cxx_werror_flag"
90649 || test ! -s conftest.err'
90650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90651 (eval $ac_try) 2>&5
90652 ac_status=$?
90653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90654 (exit $ac_status); }; } &&
90655 { ac_try='test -s conftest.$ac_objext'
90656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90657 (eval $ac_try) 2>&5
90658 ac_status=$?
90659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90660 (exit $ac_status); }; }; then
90661 glibcxx_cv_func__hypot_use=yes
90662 else
90663 echo "$as_me: failed program was:" >&5
90664 sed 's/^/| /' conftest.$ac_ext >&5
90666 glibcxx_cv_func__hypot_use=no
90668 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90669 ac_ext=c
90670 ac_cpp='$CPP $CPPFLAGS'
90671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90679 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
90680 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
90682 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
90684 for ac_func in _hypot
90686 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90687 echo "$as_me:$LINENO: checking for $ac_func" >&5
90688 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90689 if eval "test \"\${$as_ac_var+set}\" = set"; then
90690 echo $ECHO_N "(cached) $ECHO_C" >&6
90691 else
90692 if test x$gcc_no_link = xyes; then
90693 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90694 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90695 { (exit 1); exit 1; }; }
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90704 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90705 #define $ac_func innocuous_$ac_func
90707 /* System header to define __stub macros and hopefully few prototypes,
90708 which can conflict with char $ac_func (); below.
90709 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90710 <limits.h> exists even on freestanding compilers. */
90712 #ifdef __STDC__
90713 # include <limits.h>
90714 #else
90715 # include <assert.h>
90716 #endif
90718 #undef $ac_func
90720 /* Override any gcc2 internal prototype to avoid an error. */
90721 #ifdef __cplusplus
90722 extern "C"
90724 #endif
90725 /* We use char because int might match the return type of a gcc2
90726 builtin and then its argument prototype would still apply. */
90727 char $ac_func ();
90728 /* The GNU C library defines this for functions which it implements
90729 to always fail with ENOSYS. Some functions are actually named
90730 something starting with __ and the normal name is an alias. */
90731 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90732 choke me
90733 #else
90734 char (*f) () = $ac_func;
90735 #endif
90736 #ifdef __cplusplus
90738 #endif
90741 main ()
90743 return f != $ac_func;
90745 return 0;
90747 _ACEOF
90748 rm -f conftest.$ac_objext conftest$ac_exeext
90749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90750 (eval $ac_link) 2>conftest.er1
90751 ac_status=$?
90752 grep -v '^ *+' conftest.er1 >conftest.err
90753 rm -f conftest.er1
90754 cat conftest.err >&5
90755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90756 (exit $ac_status); } &&
90757 { ac_try='test -z "$ac_c_werror_flag"
90758 || test ! -s conftest.err'
90759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90760 (eval $ac_try) 2>&5
90761 ac_status=$?
90762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90763 (exit $ac_status); }; } &&
90764 { ac_try='test -s conftest$ac_exeext'
90765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90766 (eval $ac_try) 2>&5
90767 ac_status=$?
90768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90769 (exit $ac_status); }; }; then
90770 eval "$as_ac_var=yes"
90771 else
90772 echo "$as_me: failed program was:" >&5
90773 sed 's/^/| /' conftest.$ac_ext >&5
90775 eval "$as_ac_var=no"
90777 rm -f conftest.err conftest.$ac_objext \
90778 conftest$ac_exeext conftest.$ac_ext
90780 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90781 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90782 if test `eval echo '${'$as_ac_var'}'` = yes; then
90783 cat >>confdefs.h <<_ACEOF
90784 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90785 _ACEOF
90788 done
90798 echo "$as_me:$LINENO: checking for float trig functions" >&5
90799 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
90800 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
90801 echo $ECHO_N "(cached) $ECHO_C" >&6
90802 else
90806 ac_ext=cc
90807 ac_cpp='$CXXCPP $CPPFLAGS'
90808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90812 cat >conftest.$ac_ext <<_ACEOF
90813 /* confdefs.h. */
90814 _ACEOF
90815 cat confdefs.h >>conftest.$ac_ext
90816 cat >>conftest.$ac_ext <<_ACEOF
90817 /* end confdefs.h. */
90818 #include <math.h>
90820 main ()
90822 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
90824 return 0;
90826 _ACEOF
90827 rm -f conftest.$ac_objext
90828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90829 (eval $ac_compile) 2>conftest.er1
90830 ac_status=$?
90831 grep -v '^ *+' conftest.er1 >conftest.err
90832 rm -f conftest.er1
90833 cat conftest.err >&5
90834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90835 (exit $ac_status); } &&
90836 { ac_try='test -z "$ac_cxx_werror_flag"
90837 || test ! -s conftest.err'
90838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90839 (eval $ac_try) 2>&5
90840 ac_status=$?
90841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90842 (exit $ac_status); }; } &&
90843 { ac_try='test -s conftest.$ac_objext'
90844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90845 (eval $ac_try) 2>&5
90846 ac_status=$?
90847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90848 (exit $ac_status); }; }; then
90849 glibcxx_cv_func_float_trig_use=yes
90850 else
90851 echo "$as_me: failed program was:" >&5
90852 sed 's/^/| /' conftest.$ac_ext >&5
90854 glibcxx_cv_func_float_trig_use=no
90856 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90857 ac_ext=c
90858 ac_cpp='$CPP $CPPFLAGS'
90859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90865 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
90866 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
90867 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
90877 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
90879 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90880 echo "$as_me:$LINENO: checking for $ac_func" >&5
90881 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90882 if eval "test \"\${$as_ac_var+set}\" = set"; then
90883 echo $ECHO_N "(cached) $ECHO_C" >&6
90884 else
90885 if test x$gcc_no_link = xyes; then
90886 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90887 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90888 { (exit 1); exit 1; }; }
90890 cat >conftest.$ac_ext <<_ACEOF
90891 /* confdefs.h. */
90892 _ACEOF
90893 cat confdefs.h >>conftest.$ac_ext
90894 cat >>conftest.$ac_ext <<_ACEOF
90895 /* end confdefs.h. */
90896 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90897 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90898 #define $ac_func innocuous_$ac_func
90900 /* System header to define __stub macros and hopefully few prototypes,
90901 which can conflict with char $ac_func (); below.
90902 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90903 <limits.h> exists even on freestanding compilers. */
90905 #ifdef __STDC__
90906 # include <limits.h>
90907 #else
90908 # include <assert.h>
90909 #endif
90911 #undef $ac_func
90913 /* Override any gcc2 internal prototype to avoid an error. */
90914 #ifdef __cplusplus
90915 extern "C"
90917 #endif
90918 /* We use char because int might match the return type of a gcc2
90919 builtin and then its argument prototype would still apply. */
90920 char $ac_func ();
90921 /* The GNU C library defines this for functions which it implements
90922 to always fail with ENOSYS. Some functions are actually named
90923 something starting with __ and the normal name is an alias. */
90924 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90925 choke me
90926 #else
90927 char (*f) () = $ac_func;
90928 #endif
90929 #ifdef __cplusplus
90931 #endif
90934 main ()
90936 return f != $ac_func;
90938 return 0;
90940 _ACEOF
90941 rm -f conftest.$ac_objext conftest$ac_exeext
90942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90943 (eval $ac_link) 2>conftest.er1
90944 ac_status=$?
90945 grep -v '^ *+' conftest.er1 >conftest.err
90946 rm -f conftest.er1
90947 cat conftest.err >&5
90948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90949 (exit $ac_status); } &&
90950 { ac_try='test -z "$ac_c_werror_flag"
90951 || test ! -s conftest.err'
90952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90953 (eval $ac_try) 2>&5
90954 ac_status=$?
90955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90956 (exit $ac_status); }; } &&
90957 { ac_try='test -s conftest$ac_exeext'
90958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90959 (eval $ac_try) 2>&5
90960 ac_status=$?
90961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90962 (exit $ac_status); }; }; then
90963 eval "$as_ac_var=yes"
90964 else
90965 echo "$as_me: failed program was:" >&5
90966 sed 's/^/| /' conftest.$ac_ext >&5
90968 eval "$as_ac_var=no"
90970 rm -f conftest.err conftest.$ac_objext \
90971 conftest$ac_exeext conftest.$ac_ext
90973 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90974 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90975 if test `eval echo '${'$as_ac_var'}'` = yes; then
90976 cat >>confdefs.h <<_ACEOF
90977 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90978 _ACEOF
90981 done
90983 else
90984 echo "$as_me:$LINENO: checking for _float trig functions" >&5
90985 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
90986 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
90987 echo $ECHO_N "(cached) $ECHO_C" >&6
90988 else
90992 ac_ext=cc
90993 ac_cpp='$CXXCPP $CPPFLAGS'
90994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90998 cat >conftest.$ac_ext <<_ACEOF
90999 /* confdefs.h. */
91000 _ACEOF
91001 cat confdefs.h >>conftest.$ac_ext
91002 cat >>conftest.$ac_ext <<_ACEOF
91003 /* end confdefs.h. */
91004 #include <math.h>
91006 main ()
91008 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
91010 return 0;
91012 _ACEOF
91013 rm -f conftest.$ac_objext
91014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91015 (eval $ac_compile) 2>conftest.er1
91016 ac_status=$?
91017 grep -v '^ *+' conftest.er1 >conftest.err
91018 rm -f conftest.er1
91019 cat conftest.err >&5
91020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91021 (exit $ac_status); } &&
91022 { ac_try='test -z "$ac_cxx_werror_flag"
91023 || test ! -s conftest.err'
91024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91025 (eval $ac_try) 2>&5
91026 ac_status=$?
91027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91028 (exit $ac_status); }; } &&
91029 { ac_try='test -s conftest.$ac_objext'
91030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91031 (eval $ac_try) 2>&5
91032 ac_status=$?
91033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91034 (exit $ac_status); }; }; then
91035 glibcxx_cv_func__float_trig_use=yes
91036 else
91037 echo "$as_me: failed program was:" >&5
91038 sed 's/^/| /' conftest.$ac_ext >&5
91040 glibcxx_cv_func__float_trig_use=no
91042 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91043 ac_ext=c
91044 ac_cpp='$CPP $CPPFLAGS'
91045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91051 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
91052 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
91053 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
91063 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
91065 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91066 echo "$as_me:$LINENO: checking for $ac_func" >&5
91067 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91068 if eval "test \"\${$as_ac_var+set}\" = set"; then
91069 echo $ECHO_N "(cached) $ECHO_C" >&6
91070 else
91071 if test x$gcc_no_link = xyes; then
91072 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91073 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91074 { (exit 1); exit 1; }; }
91076 cat >conftest.$ac_ext <<_ACEOF
91077 /* confdefs.h. */
91078 _ACEOF
91079 cat confdefs.h >>conftest.$ac_ext
91080 cat >>conftest.$ac_ext <<_ACEOF
91081 /* end confdefs.h. */
91082 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91083 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91084 #define $ac_func innocuous_$ac_func
91086 /* System header to define __stub macros and hopefully few prototypes,
91087 which can conflict with char $ac_func (); below.
91088 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91089 <limits.h> exists even on freestanding compilers. */
91091 #ifdef __STDC__
91092 # include <limits.h>
91093 #else
91094 # include <assert.h>
91095 #endif
91097 #undef $ac_func
91099 /* Override any gcc2 internal prototype to avoid an error. */
91100 #ifdef __cplusplus
91101 extern "C"
91103 #endif
91104 /* We use char because int might match the return type of a gcc2
91105 builtin and then its argument prototype would still apply. */
91106 char $ac_func ();
91107 /* The GNU C library defines this for functions which it implements
91108 to always fail with ENOSYS. Some functions are actually named
91109 something starting with __ and the normal name is an alias. */
91110 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91111 choke me
91112 #else
91113 char (*f) () = $ac_func;
91114 #endif
91115 #ifdef __cplusplus
91117 #endif
91120 main ()
91122 return f != $ac_func;
91124 return 0;
91126 _ACEOF
91127 rm -f conftest.$ac_objext conftest$ac_exeext
91128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91129 (eval $ac_link) 2>conftest.er1
91130 ac_status=$?
91131 grep -v '^ *+' conftest.er1 >conftest.err
91132 rm -f conftest.er1
91133 cat conftest.err >&5
91134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91135 (exit $ac_status); } &&
91136 { ac_try='test -z "$ac_c_werror_flag"
91137 || test ! -s conftest.err'
91138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91139 (eval $ac_try) 2>&5
91140 ac_status=$?
91141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91142 (exit $ac_status); }; } &&
91143 { ac_try='test -s conftest$ac_exeext'
91144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91145 (eval $ac_try) 2>&5
91146 ac_status=$?
91147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91148 (exit $ac_status); }; }; then
91149 eval "$as_ac_var=yes"
91150 else
91151 echo "$as_me: failed program was:" >&5
91152 sed 's/^/| /' conftest.$ac_ext >&5
91154 eval "$as_ac_var=no"
91156 rm -f conftest.err conftest.$ac_objext \
91157 conftest$ac_exeext conftest.$ac_ext
91159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91160 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91161 if test `eval echo '${'$as_ac_var'}'` = yes; then
91162 cat >>confdefs.h <<_ACEOF
91163 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91164 _ACEOF
91167 done
91185 echo "$as_me:$LINENO: checking for float round functions" >&5
91186 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
91187 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
91188 echo $ECHO_N "(cached) $ECHO_C" >&6
91189 else
91193 ac_ext=cc
91194 ac_cpp='$CXXCPP $CPPFLAGS'
91195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91199 cat >conftest.$ac_ext <<_ACEOF
91200 /* confdefs.h. */
91201 _ACEOF
91202 cat confdefs.h >>conftest.$ac_ext
91203 cat >>conftest.$ac_ext <<_ACEOF
91204 /* end confdefs.h. */
91205 #include <math.h>
91207 main ()
91209 ceilf (0); floorf (0);
91211 return 0;
91213 _ACEOF
91214 rm -f conftest.$ac_objext
91215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91216 (eval $ac_compile) 2>conftest.er1
91217 ac_status=$?
91218 grep -v '^ *+' conftest.er1 >conftest.err
91219 rm -f conftest.er1
91220 cat conftest.err >&5
91221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91222 (exit $ac_status); } &&
91223 { ac_try='test -z "$ac_cxx_werror_flag"
91224 || test ! -s conftest.err'
91225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91226 (eval $ac_try) 2>&5
91227 ac_status=$?
91228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91229 (exit $ac_status); }; } &&
91230 { ac_try='test -s conftest.$ac_objext'
91231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91232 (eval $ac_try) 2>&5
91233 ac_status=$?
91234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91235 (exit $ac_status); }; }; then
91236 glibcxx_cv_func_float_round_use=yes
91237 else
91238 echo "$as_me: failed program was:" >&5
91239 sed 's/^/| /' conftest.$ac_ext >&5
91241 glibcxx_cv_func_float_round_use=no
91243 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91244 ac_ext=c
91245 ac_cpp='$CPP $CPPFLAGS'
91246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91252 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
91253 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
91254 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
91257 for ac_func in ceilf floorf
91259 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91260 echo "$as_me:$LINENO: checking for $ac_func" >&5
91261 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91262 if eval "test \"\${$as_ac_var+set}\" = set"; then
91263 echo $ECHO_N "(cached) $ECHO_C" >&6
91264 else
91265 if test x$gcc_no_link = xyes; then
91266 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91267 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91268 { (exit 1); exit 1; }; }
91270 cat >conftest.$ac_ext <<_ACEOF
91271 /* confdefs.h. */
91272 _ACEOF
91273 cat confdefs.h >>conftest.$ac_ext
91274 cat >>conftest.$ac_ext <<_ACEOF
91275 /* end confdefs.h. */
91276 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91277 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91278 #define $ac_func innocuous_$ac_func
91280 /* System header to define __stub macros and hopefully few prototypes,
91281 which can conflict with char $ac_func (); below.
91282 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91283 <limits.h> exists even on freestanding compilers. */
91285 #ifdef __STDC__
91286 # include <limits.h>
91287 #else
91288 # include <assert.h>
91289 #endif
91291 #undef $ac_func
91293 /* Override any gcc2 internal prototype to avoid an error. */
91294 #ifdef __cplusplus
91295 extern "C"
91297 #endif
91298 /* We use char because int might match the return type of a gcc2
91299 builtin and then its argument prototype would still apply. */
91300 char $ac_func ();
91301 /* The GNU C library defines this for functions which it implements
91302 to always fail with ENOSYS. Some functions are actually named
91303 something starting with __ and the normal name is an alias. */
91304 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91305 choke me
91306 #else
91307 char (*f) () = $ac_func;
91308 #endif
91309 #ifdef __cplusplus
91311 #endif
91314 main ()
91316 return f != $ac_func;
91318 return 0;
91320 _ACEOF
91321 rm -f conftest.$ac_objext conftest$ac_exeext
91322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91323 (eval $ac_link) 2>conftest.er1
91324 ac_status=$?
91325 grep -v '^ *+' conftest.er1 >conftest.err
91326 rm -f conftest.er1
91327 cat conftest.err >&5
91328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91329 (exit $ac_status); } &&
91330 { ac_try='test -z "$ac_c_werror_flag"
91331 || test ! -s conftest.err'
91332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91333 (eval $ac_try) 2>&5
91334 ac_status=$?
91335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91336 (exit $ac_status); }; } &&
91337 { ac_try='test -s conftest$ac_exeext'
91338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91339 (eval $ac_try) 2>&5
91340 ac_status=$?
91341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91342 (exit $ac_status); }; }; then
91343 eval "$as_ac_var=yes"
91344 else
91345 echo "$as_me: failed program was:" >&5
91346 sed 's/^/| /' conftest.$ac_ext >&5
91348 eval "$as_ac_var=no"
91350 rm -f conftest.err conftest.$ac_objext \
91351 conftest$ac_exeext conftest.$ac_ext
91353 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91354 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91355 if test `eval echo '${'$as_ac_var'}'` = yes; then
91356 cat >>confdefs.h <<_ACEOF
91357 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91358 _ACEOF
91361 done
91363 else
91364 echo "$as_me:$LINENO: checking for _float round functions" >&5
91365 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
91366 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
91367 echo $ECHO_N "(cached) $ECHO_C" >&6
91368 else
91372 ac_ext=cc
91373 ac_cpp='$CXXCPP $CPPFLAGS'
91374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91378 cat >conftest.$ac_ext <<_ACEOF
91379 /* confdefs.h. */
91380 _ACEOF
91381 cat confdefs.h >>conftest.$ac_ext
91382 cat >>conftest.$ac_ext <<_ACEOF
91383 /* end confdefs.h. */
91384 #include <math.h>
91386 main ()
91388 _ceilf (0); _floorf (0);
91390 return 0;
91392 _ACEOF
91393 rm -f conftest.$ac_objext
91394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91395 (eval $ac_compile) 2>conftest.er1
91396 ac_status=$?
91397 grep -v '^ *+' conftest.er1 >conftest.err
91398 rm -f conftest.er1
91399 cat conftest.err >&5
91400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91401 (exit $ac_status); } &&
91402 { ac_try='test -z "$ac_cxx_werror_flag"
91403 || test ! -s conftest.err'
91404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91405 (eval $ac_try) 2>&5
91406 ac_status=$?
91407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91408 (exit $ac_status); }; } &&
91409 { ac_try='test -s conftest.$ac_objext'
91410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91411 (eval $ac_try) 2>&5
91412 ac_status=$?
91413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91414 (exit $ac_status); }; }; then
91415 glibcxx_cv_func__float_round_use=yes
91416 else
91417 echo "$as_me: failed program was:" >&5
91418 sed 's/^/| /' conftest.$ac_ext >&5
91420 glibcxx_cv_func__float_round_use=no
91422 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91423 ac_ext=c
91424 ac_cpp='$CPP $CPPFLAGS'
91425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91431 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
91432 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
91433 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
91436 for ac_func in _ceilf _floorf
91438 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91439 echo "$as_me:$LINENO: checking for $ac_func" >&5
91440 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91441 if eval "test \"\${$as_ac_var+set}\" = set"; then
91442 echo $ECHO_N "(cached) $ECHO_C" >&6
91443 else
91444 if test x$gcc_no_link = xyes; then
91445 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91446 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91447 { (exit 1); exit 1; }; }
91449 cat >conftest.$ac_ext <<_ACEOF
91450 /* confdefs.h. */
91451 _ACEOF
91452 cat confdefs.h >>conftest.$ac_ext
91453 cat >>conftest.$ac_ext <<_ACEOF
91454 /* end confdefs.h. */
91455 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91456 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91457 #define $ac_func innocuous_$ac_func
91459 /* System header to define __stub macros and hopefully few prototypes,
91460 which can conflict with char $ac_func (); below.
91461 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91462 <limits.h> exists even on freestanding compilers. */
91464 #ifdef __STDC__
91465 # include <limits.h>
91466 #else
91467 # include <assert.h>
91468 #endif
91470 #undef $ac_func
91472 /* Override any gcc2 internal prototype to avoid an error. */
91473 #ifdef __cplusplus
91474 extern "C"
91476 #endif
91477 /* We use char because int might match the return type of a gcc2
91478 builtin and then its argument prototype would still apply. */
91479 char $ac_func ();
91480 /* The GNU C library defines this for functions which it implements
91481 to always fail with ENOSYS. Some functions are actually named
91482 something starting with __ and the normal name is an alias. */
91483 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91484 choke me
91485 #else
91486 char (*f) () = $ac_func;
91487 #endif
91488 #ifdef __cplusplus
91490 #endif
91493 main ()
91495 return f != $ac_func;
91497 return 0;
91499 _ACEOF
91500 rm -f conftest.$ac_objext conftest$ac_exeext
91501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91502 (eval $ac_link) 2>conftest.er1
91503 ac_status=$?
91504 grep -v '^ *+' conftest.er1 >conftest.err
91505 rm -f conftest.er1
91506 cat conftest.err >&5
91507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91508 (exit $ac_status); } &&
91509 { ac_try='test -z "$ac_c_werror_flag"
91510 || test ! -s conftest.err'
91511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91512 (eval $ac_try) 2>&5
91513 ac_status=$?
91514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91515 (exit $ac_status); }; } &&
91516 { ac_try='test -s conftest$ac_exeext'
91517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91518 (eval $ac_try) 2>&5
91519 ac_status=$?
91520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91521 (exit $ac_status); }; }; then
91522 eval "$as_ac_var=yes"
91523 else
91524 echo "$as_me: failed program was:" >&5
91525 sed 's/^/| /' conftest.$ac_ext >&5
91527 eval "$as_ac_var=no"
91529 rm -f conftest.err conftest.$ac_objext \
91530 conftest$ac_exeext conftest.$ac_ext
91532 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91533 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91534 if test `eval echo '${'$as_ac_var'}'` = yes; then
91535 cat >>confdefs.h <<_ACEOF
91536 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91537 _ACEOF
91540 done
91552 echo "$as_me:$LINENO: checking for expf declaration" >&5
91553 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
91554 if test x${glibcxx_cv_func_expf_use+set} != xset; then
91555 if test "${glibcxx_cv_func_expf_use+set}" = set; then
91556 echo $ECHO_N "(cached) $ECHO_C" >&6
91557 else
91561 ac_ext=cc
91562 ac_cpp='$CXXCPP $CPPFLAGS'
91563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91567 cat >conftest.$ac_ext <<_ACEOF
91568 /* confdefs.h. */
91569 _ACEOF
91570 cat confdefs.h >>conftest.$ac_ext
91571 cat >>conftest.$ac_ext <<_ACEOF
91572 /* end confdefs.h. */
91573 #include <math.h>
91574 #ifdef HAVE_IEEEFP_H
91575 #include <ieeefp.h>
91576 #endif
91579 main ()
91581 expf(0);
91583 return 0;
91585 _ACEOF
91586 rm -f conftest.$ac_objext
91587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91588 (eval $ac_compile) 2>conftest.er1
91589 ac_status=$?
91590 grep -v '^ *+' conftest.er1 >conftest.err
91591 rm -f conftest.er1
91592 cat conftest.err >&5
91593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91594 (exit $ac_status); } &&
91595 { ac_try='test -z "$ac_cxx_werror_flag"
91596 || test ! -s conftest.err'
91597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91598 (eval $ac_try) 2>&5
91599 ac_status=$?
91600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91601 (exit $ac_status); }; } &&
91602 { ac_try='test -s conftest.$ac_objext'
91603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91604 (eval $ac_try) 2>&5
91605 ac_status=$?
91606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91607 (exit $ac_status); }; }; then
91608 glibcxx_cv_func_expf_use=yes
91609 else
91610 echo "$as_me: failed program was:" >&5
91611 sed 's/^/| /' conftest.$ac_ext >&5
91613 glibcxx_cv_func_expf_use=no
91615 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91616 ac_ext=c
91617 ac_cpp='$CPP $CPPFLAGS'
91618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91626 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
91627 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
91629 if test x$glibcxx_cv_func_expf_use = x"yes"; then
91631 for ac_func in expf
91633 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91634 echo "$as_me:$LINENO: checking for $ac_func" >&5
91635 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91636 if eval "test \"\${$as_ac_var+set}\" = set"; then
91637 echo $ECHO_N "(cached) $ECHO_C" >&6
91638 else
91639 if test x$gcc_no_link = xyes; then
91640 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91641 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91642 { (exit 1); exit 1; }; }
91644 cat >conftest.$ac_ext <<_ACEOF
91645 /* confdefs.h. */
91646 _ACEOF
91647 cat confdefs.h >>conftest.$ac_ext
91648 cat >>conftest.$ac_ext <<_ACEOF
91649 /* end confdefs.h. */
91650 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91651 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91652 #define $ac_func innocuous_$ac_func
91654 /* System header to define __stub macros and hopefully few prototypes,
91655 which can conflict with char $ac_func (); below.
91656 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91657 <limits.h> exists even on freestanding compilers. */
91659 #ifdef __STDC__
91660 # include <limits.h>
91661 #else
91662 # include <assert.h>
91663 #endif
91665 #undef $ac_func
91667 /* Override any gcc2 internal prototype to avoid an error. */
91668 #ifdef __cplusplus
91669 extern "C"
91671 #endif
91672 /* We use char because int might match the return type of a gcc2
91673 builtin and then its argument prototype would still apply. */
91674 char $ac_func ();
91675 /* The GNU C library defines this for functions which it implements
91676 to always fail with ENOSYS. Some functions are actually named
91677 something starting with __ and the normal name is an alias. */
91678 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91679 choke me
91680 #else
91681 char (*f) () = $ac_func;
91682 #endif
91683 #ifdef __cplusplus
91685 #endif
91688 main ()
91690 return f != $ac_func;
91692 return 0;
91694 _ACEOF
91695 rm -f conftest.$ac_objext conftest$ac_exeext
91696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91697 (eval $ac_link) 2>conftest.er1
91698 ac_status=$?
91699 grep -v '^ *+' conftest.er1 >conftest.err
91700 rm -f conftest.er1
91701 cat conftest.err >&5
91702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91703 (exit $ac_status); } &&
91704 { ac_try='test -z "$ac_c_werror_flag"
91705 || test ! -s conftest.err'
91706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91707 (eval $ac_try) 2>&5
91708 ac_status=$?
91709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91710 (exit $ac_status); }; } &&
91711 { ac_try='test -s conftest$ac_exeext'
91712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91713 (eval $ac_try) 2>&5
91714 ac_status=$?
91715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91716 (exit $ac_status); }; }; then
91717 eval "$as_ac_var=yes"
91718 else
91719 echo "$as_me: failed program was:" >&5
91720 sed 's/^/| /' conftest.$ac_ext >&5
91722 eval "$as_ac_var=no"
91724 rm -f conftest.err conftest.$ac_objext \
91725 conftest$ac_exeext conftest.$ac_ext
91727 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91728 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91729 if test `eval echo '${'$as_ac_var'}'` = yes; then
91730 cat >>confdefs.h <<_ACEOF
91731 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91732 _ACEOF
91735 done
91737 else
91739 echo "$as_me:$LINENO: checking for _expf declaration" >&5
91740 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
91741 if test x${glibcxx_cv_func__expf_use+set} != xset; then
91742 if test "${glibcxx_cv_func__expf_use+set}" = set; then
91743 echo $ECHO_N "(cached) $ECHO_C" >&6
91744 else
91748 ac_ext=cc
91749 ac_cpp='$CXXCPP $CPPFLAGS'
91750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91754 cat >conftest.$ac_ext <<_ACEOF
91755 /* confdefs.h. */
91756 _ACEOF
91757 cat confdefs.h >>conftest.$ac_ext
91758 cat >>conftest.$ac_ext <<_ACEOF
91759 /* end confdefs.h. */
91760 #include <math.h>
91761 #ifdef HAVE_IEEEFP_H
91762 #include <ieeefp.h>
91763 #endif
91766 main ()
91768 _expf(0);
91770 return 0;
91772 _ACEOF
91773 rm -f conftest.$ac_objext
91774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91775 (eval $ac_compile) 2>conftest.er1
91776 ac_status=$?
91777 grep -v '^ *+' conftest.er1 >conftest.err
91778 rm -f conftest.er1
91779 cat conftest.err >&5
91780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91781 (exit $ac_status); } &&
91782 { ac_try='test -z "$ac_cxx_werror_flag"
91783 || test ! -s conftest.err'
91784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91785 (eval $ac_try) 2>&5
91786 ac_status=$?
91787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91788 (exit $ac_status); }; } &&
91789 { ac_try='test -s conftest.$ac_objext'
91790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91791 (eval $ac_try) 2>&5
91792 ac_status=$?
91793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91794 (exit $ac_status); }; }; then
91795 glibcxx_cv_func__expf_use=yes
91796 else
91797 echo "$as_me: failed program was:" >&5
91798 sed 's/^/| /' conftest.$ac_ext >&5
91800 glibcxx_cv_func__expf_use=no
91802 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91803 ac_ext=c
91804 ac_cpp='$CPP $CPPFLAGS'
91805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91813 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
91814 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
91816 if test x$glibcxx_cv_func__expf_use = x"yes"; then
91818 for ac_func in _expf
91820 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91821 echo "$as_me:$LINENO: checking for $ac_func" >&5
91822 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91823 if eval "test \"\${$as_ac_var+set}\" = set"; then
91824 echo $ECHO_N "(cached) $ECHO_C" >&6
91825 else
91826 if test x$gcc_no_link = xyes; then
91827 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91828 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91829 { (exit 1); exit 1; }; }
91831 cat >conftest.$ac_ext <<_ACEOF
91832 /* confdefs.h. */
91833 _ACEOF
91834 cat confdefs.h >>conftest.$ac_ext
91835 cat >>conftest.$ac_ext <<_ACEOF
91836 /* end confdefs.h. */
91837 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91838 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91839 #define $ac_func innocuous_$ac_func
91841 /* System header to define __stub macros and hopefully few prototypes,
91842 which can conflict with char $ac_func (); below.
91843 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91844 <limits.h> exists even on freestanding compilers. */
91846 #ifdef __STDC__
91847 # include <limits.h>
91848 #else
91849 # include <assert.h>
91850 #endif
91852 #undef $ac_func
91854 /* Override any gcc2 internal prototype to avoid an error. */
91855 #ifdef __cplusplus
91856 extern "C"
91858 #endif
91859 /* We use char because int might match the return type of a gcc2
91860 builtin and then its argument prototype would still apply. */
91861 char $ac_func ();
91862 /* The GNU C library defines this for functions which it implements
91863 to always fail with ENOSYS. Some functions are actually named
91864 something starting with __ and the normal name is an alias. */
91865 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91866 choke me
91867 #else
91868 char (*f) () = $ac_func;
91869 #endif
91870 #ifdef __cplusplus
91872 #endif
91875 main ()
91877 return f != $ac_func;
91879 return 0;
91881 _ACEOF
91882 rm -f conftest.$ac_objext conftest$ac_exeext
91883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91884 (eval $ac_link) 2>conftest.er1
91885 ac_status=$?
91886 grep -v '^ *+' conftest.er1 >conftest.err
91887 rm -f conftest.er1
91888 cat conftest.err >&5
91889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91890 (exit $ac_status); } &&
91891 { ac_try='test -z "$ac_c_werror_flag"
91892 || test ! -s conftest.err'
91893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91894 (eval $ac_try) 2>&5
91895 ac_status=$?
91896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91897 (exit $ac_status); }; } &&
91898 { ac_try='test -s conftest$ac_exeext'
91899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91900 (eval $ac_try) 2>&5
91901 ac_status=$?
91902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91903 (exit $ac_status); }; }; then
91904 eval "$as_ac_var=yes"
91905 else
91906 echo "$as_me: failed program was:" >&5
91907 sed 's/^/| /' conftest.$ac_ext >&5
91909 eval "$as_ac_var=no"
91911 rm -f conftest.err conftest.$ac_objext \
91912 conftest$ac_exeext conftest.$ac_ext
91914 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91915 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91916 if test `eval echo '${'$as_ac_var'}'` = yes; then
91917 cat >>confdefs.h <<_ACEOF
91918 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91919 _ACEOF
91922 done
91932 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
91933 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
91934 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
91935 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
91936 echo $ECHO_N "(cached) $ECHO_C" >&6
91937 else
91941 ac_ext=cc
91942 ac_cpp='$CXXCPP $CPPFLAGS'
91943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91947 cat >conftest.$ac_ext <<_ACEOF
91948 /* confdefs.h. */
91949 _ACEOF
91950 cat confdefs.h >>conftest.$ac_ext
91951 cat >>conftest.$ac_ext <<_ACEOF
91952 /* end confdefs.h. */
91953 #include <math.h>
91954 #ifdef HAVE_IEEEFP_H
91955 #include <ieeefp.h>
91956 #endif
91959 main ()
91961 isnanf(0);
91963 return 0;
91965 _ACEOF
91966 rm -f conftest.$ac_objext
91967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91968 (eval $ac_compile) 2>conftest.er1
91969 ac_status=$?
91970 grep -v '^ *+' conftest.er1 >conftest.err
91971 rm -f conftest.er1
91972 cat conftest.err >&5
91973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91974 (exit $ac_status); } &&
91975 { ac_try='test -z "$ac_cxx_werror_flag"
91976 || test ! -s conftest.err'
91977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91978 (eval $ac_try) 2>&5
91979 ac_status=$?
91980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91981 (exit $ac_status); }; } &&
91982 { ac_try='test -s conftest.$ac_objext'
91983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91984 (eval $ac_try) 2>&5
91985 ac_status=$?
91986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91987 (exit $ac_status); }; }; then
91988 glibcxx_cv_func_isnanf_use=yes
91989 else
91990 echo "$as_me: failed program was:" >&5
91991 sed 's/^/| /' conftest.$ac_ext >&5
91993 glibcxx_cv_func_isnanf_use=no
91995 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91996 ac_ext=c
91997 ac_cpp='$CPP $CPPFLAGS'
91998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92006 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
92007 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
92009 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
92011 for ac_func in isnanf
92013 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92014 echo "$as_me:$LINENO: checking for $ac_func" >&5
92015 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92016 if eval "test \"\${$as_ac_var+set}\" = set"; then
92017 echo $ECHO_N "(cached) $ECHO_C" >&6
92018 else
92019 if test x$gcc_no_link = xyes; then
92020 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92021 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92022 { (exit 1); exit 1; }; }
92024 cat >conftest.$ac_ext <<_ACEOF
92025 /* confdefs.h. */
92026 _ACEOF
92027 cat confdefs.h >>conftest.$ac_ext
92028 cat >>conftest.$ac_ext <<_ACEOF
92029 /* end confdefs.h. */
92030 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92031 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92032 #define $ac_func innocuous_$ac_func
92034 /* System header to define __stub macros and hopefully few prototypes,
92035 which can conflict with char $ac_func (); below.
92036 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92037 <limits.h> exists even on freestanding compilers. */
92039 #ifdef __STDC__
92040 # include <limits.h>
92041 #else
92042 # include <assert.h>
92043 #endif
92045 #undef $ac_func
92047 /* Override any gcc2 internal prototype to avoid an error. */
92048 #ifdef __cplusplus
92049 extern "C"
92051 #endif
92052 /* We use char because int might match the return type of a gcc2
92053 builtin and then its argument prototype would still apply. */
92054 char $ac_func ();
92055 /* The GNU C library defines this for functions which it implements
92056 to always fail with ENOSYS. Some functions are actually named
92057 something starting with __ and the normal name is an alias. */
92058 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92059 choke me
92060 #else
92061 char (*f) () = $ac_func;
92062 #endif
92063 #ifdef __cplusplus
92065 #endif
92068 main ()
92070 return f != $ac_func;
92072 return 0;
92074 _ACEOF
92075 rm -f conftest.$ac_objext conftest$ac_exeext
92076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92077 (eval $ac_link) 2>conftest.er1
92078 ac_status=$?
92079 grep -v '^ *+' conftest.er1 >conftest.err
92080 rm -f conftest.er1
92081 cat conftest.err >&5
92082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92083 (exit $ac_status); } &&
92084 { ac_try='test -z "$ac_c_werror_flag"
92085 || test ! -s conftest.err'
92086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92087 (eval $ac_try) 2>&5
92088 ac_status=$?
92089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92090 (exit $ac_status); }; } &&
92091 { ac_try='test -s conftest$ac_exeext'
92092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92093 (eval $ac_try) 2>&5
92094 ac_status=$?
92095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92096 (exit $ac_status); }; }; then
92097 eval "$as_ac_var=yes"
92098 else
92099 echo "$as_me: failed program was:" >&5
92100 sed 's/^/| /' conftest.$ac_ext >&5
92102 eval "$as_ac_var=no"
92104 rm -f conftest.err conftest.$ac_objext \
92105 conftest$ac_exeext conftest.$ac_ext
92107 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92108 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92109 if test `eval echo '${'$as_ac_var'}'` = yes; then
92110 cat >>confdefs.h <<_ACEOF
92111 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92112 _ACEOF
92115 done
92117 else
92119 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
92120 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
92121 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
92122 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
92123 echo $ECHO_N "(cached) $ECHO_C" >&6
92124 else
92128 ac_ext=cc
92129 ac_cpp='$CXXCPP $CPPFLAGS'
92130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92134 cat >conftest.$ac_ext <<_ACEOF
92135 /* confdefs.h. */
92136 _ACEOF
92137 cat confdefs.h >>conftest.$ac_ext
92138 cat >>conftest.$ac_ext <<_ACEOF
92139 /* end confdefs.h. */
92140 #include <math.h>
92141 #ifdef HAVE_IEEEFP_H
92142 #include <ieeefp.h>
92143 #endif
92146 main ()
92148 _isnanf(0);
92150 return 0;
92152 _ACEOF
92153 rm -f conftest.$ac_objext
92154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92155 (eval $ac_compile) 2>conftest.er1
92156 ac_status=$?
92157 grep -v '^ *+' conftest.er1 >conftest.err
92158 rm -f conftest.er1
92159 cat conftest.err >&5
92160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92161 (exit $ac_status); } &&
92162 { ac_try='test -z "$ac_cxx_werror_flag"
92163 || test ! -s conftest.err'
92164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92165 (eval $ac_try) 2>&5
92166 ac_status=$?
92167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92168 (exit $ac_status); }; } &&
92169 { ac_try='test -s conftest.$ac_objext'
92170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92171 (eval $ac_try) 2>&5
92172 ac_status=$?
92173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92174 (exit $ac_status); }; }; then
92175 glibcxx_cv_func__isnanf_use=yes
92176 else
92177 echo "$as_me: failed program was:" >&5
92178 sed 's/^/| /' conftest.$ac_ext >&5
92180 glibcxx_cv_func__isnanf_use=no
92182 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92183 ac_ext=c
92184 ac_cpp='$CPP $CPPFLAGS'
92185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92193 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
92194 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
92196 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
92198 for ac_func in _isnanf
92200 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92201 echo "$as_me:$LINENO: checking for $ac_func" >&5
92202 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92203 if eval "test \"\${$as_ac_var+set}\" = set"; then
92204 echo $ECHO_N "(cached) $ECHO_C" >&6
92205 else
92206 if test x$gcc_no_link = xyes; then
92207 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92208 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92209 { (exit 1); exit 1; }; }
92211 cat >conftest.$ac_ext <<_ACEOF
92212 /* confdefs.h. */
92213 _ACEOF
92214 cat confdefs.h >>conftest.$ac_ext
92215 cat >>conftest.$ac_ext <<_ACEOF
92216 /* end confdefs.h. */
92217 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92218 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92219 #define $ac_func innocuous_$ac_func
92221 /* System header to define __stub macros and hopefully few prototypes,
92222 which can conflict with char $ac_func (); below.
92223 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92224 <limits.h> exists even on freestanding compilers. */
92226 #ifdef __STDC__
92227 # include <limits.h>
92228 #else
92229 # include <assert.h>
92230 #endif
92232 #undef $ac_func
92234 /* Override any gcc2 internal prototype to avoid an error. */
92235 #ifdef __cplusplus
92236 extern "C"
92238 #endif
92239 /* We use char because int might match the return type of a gcc2
92240 builtin and then its argument prototype would still apply. */
92241 char $ac_func ();
92242 /* The GNU C library defines this for functions which it implements
92243 to always fail with ENOSYS. Some functions are actually named
92244 something starting with __ and the normal name is an alias. */
92245 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92246 choke me
92247 #else
92248 char (*f) () = $ac_func;
92249 #endif
92250 #ifdef __cplusplus
92252 #endif
92255 main ()
92257 return f != $ac_func;
92259 return 0;
92261 _ACEOF
92262 rm -f conftest.$ac_objext conftest$ac_exeext
92263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92264 (eval $ac_link) 2>conftest.er1
92265 ac_status=$?
92266 grep -v '^ *+' conftest.er1 >conftest.err
92267 rm -f conftest.er1
92268 cat conftest.err >&5
92269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92270 (exit $ac_status); } &&
92271 { ac_try='test -z "$ac_c_werror_flag"
92272 || test ! -s conftest.err'
92273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92274 (eval $ac_try) 2>&5
92275 ac_status=$?
92276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92277 (exit $ac_status); }; } &&
92278 { ac_try='test -s conftest$ac_exeext'
92279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92280 (eval $ac_try) 2>&5
92281 ac_status=$?
92282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92283 (exit $ac_status); }; }; then
92284 eval "$as_ac_var=yes"
92285 else
92286 echo "$as_me: failed program was:" >&5
92287 sed 's/^/| /' conftest.$ac_ext >&5
92289 eval "$as_ac_var=no"
92291 rm -f conftest.err conftest.$ac_objext \
92292 conftest$ac_exeext conftest.$ac_ext
92294 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92295 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92296 if test `eval echo '${'$as_ac_var'}'` = yes; then
92297 cat >>confdefs.h <<_ACEOF
92298 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92299 _ACEOF
92302 done
92312 echo "$as_me:$LINENO: checking for isinff declaration" >&5
92313 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
92314 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
92315 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
92316 echo $ECHO_N "(cached) $ECHO_C" >&6
92317 else
92321 ac_ext=cc
92322 ac_cpp='$CXXCPP $CPPFLAGS'
92323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92327 cat >conftest.$ac_ext <<_ACEOF
92328 /* confdefs.h. */
92329 _ACEOF
92330 cat confdefs.h >>conftest.$ac_ext
92331 cat >>conftest.$ac_ext <<_ACEOF
92332 /* end confdefs.h. */
92333 #include <math.h>
92334 #ifdef HAVE_IEEEFP_H
92335 #include <ieeefp.h>
92336 #endif
92339 main ()
92341 isinff(0);
92343 return 0;
92345 _ACEOF
92346 rm -f conftest.$ac_objext
92347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92348 (eval $ac_compile) 2>conftest.er1
92349 ac_status=$?
92350 grep -v '^ *+' conftest.er1 >conftest.err
92351 rm -f conftest.er1
92352 cat conftest.err >&5
92353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92354 (exit $ac_status); } &&
92355 { ac_try='test -z "$ac_cxx_werror_flag"
92356 || test ! -s conftest.err'
92357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92358 (eval $ac_try) 2>&5
92359 ac_status=$?
92360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92361 (exit $ac_status); }; } &&
92362 { ac_try='test -s conftest.$ac_objext'
92363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92364 (eval $ac_try) 2>&5
92365 ac_status=$?
92366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92367 (exit $ac_status); }; }; then
92368 glibcxx_cv_func_isinff_use=yes
92369 else
92370 echo "$as_me: failed program was:" >&5
92371 sed 's/^/| /' conftest.$ac_ext >&5
92373 glibcxx_cv_func_isinff_use=no
92375 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92376 ac_ext=c
92377 ac_cpp='$CPP $CPPFLAGS'
92378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92386 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
92387 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
92389 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
92391 for ac_func in isinff
92393 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92394 echo "$as_me:$LINENO: checking for $ac_func" >&5
92395 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92396 if eval "test \"\${$as_ac_var+set}\" = set"; then
92397 echo $ECHO_N "(cached) $ECHO_C" >&6
92398 else
92399 if test x$gcc_no_link = xyes; then
92400 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92401 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92402 { (exit 1); exit 1; }; }
92404 cat >conftest.$ac_ext <<_ACEOF
92405 /* confdefs.h. */
92406 _ACEOF
92407 cat confdefs.h >>conftest.$ac_ext
92408 cat >>conftest.$ac_ext <<_ACEOF
92409 /* end confdefs.h. */
92410 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92411 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92412 #define $ac_func innocuous_$ac_func
92414 /* System header to define __stub macros and hopefully few prototypes,
92415 which can conflict with char $ac_func (); below.
92416 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92417 <limits.h> exists even on freestanding compilers. */
92419 #ifdef __STDC__
92420 # include <limits.h>
92421 #else
92422 # include <assert.h>
92423 #endif
92425 #undef $ac_func
92427 /* Override any gcc2 internal prototype to avoid an error. */
92428 #ifdef __cplusplus
92429 extern "C"
92431 #endif
92432 /* We use char because int might match the return type of a gcc2
92433 builtin and then its argument prototype would still apply. */
92434 char $ac_func ();
92435 /* The GNU C library defines this for functions which it implements
92436 to always fail with ENOSYS. Some functions are actually named
92437 something starting with __ and the normal name is an alias. */
92438 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92439 choke me
92440 #else
92441 char (*f) () = $ac_func;
92442 #endif
92443 #ifdef __cplusplus
92445 #endif
92448 main ()
92450 return f != $ac_func;
92452 return 0;
92454 _ACEOF
92455 rm -f conftest.$ac_objext conftest$ac_exeext
92456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92457 (eval $ac_link) 2>conftest.er1
92458 ac_status=$?
92459 grep -v '^ *+' conftest.er1 >conftest.err
92460 rm -f conftest.er1
92461 cat conftest.err >&5
92462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92463 (exit $ac_status); } &&
92464 { ac_try='test -z "$ac_c_werror_flag"
92465 || test ! -s conftest.err'
92466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92467 (eval $ac_try) 2>&5
92468 ac_status=$?
92469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92470 (exit $ac_status); }; } &&
92471 { ac_try='test -s conftest$ac_exeext'
92472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92473 (eval $ac_try) 2>&5
92474 ac_status=$?
92475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92476 (exit $ac_status); }; }; then
92477 eval "$as_ac_var=yes"
92478 else
92479 echo "$as_me: failed program was:" >&5
92480 sed 's/^/| /' conftest.$ac_ext >&5
92482 eval "$as_ac_var=no"
92484 rm -f conftest.err conftest.$ac_objext \
92485 conftest$ac_exeext conftest.$ac_ext
92487 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92488 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92489 if test `eval echo '${'$as_ac_var'}'` = yes; then
92490 cat >>confdefs.h <<_ACEOF
92491 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92492 _ACEOF
92495 done
92497 else
92499 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
92500 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
92501 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
92502 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
92503 echo $ECHO_N "(cached) $ECHO_C" >&6
92504 else
92508 ac_ext=cc
92509 ac_cpp='$CXXCPP $CPPFLAGS'
92510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92514 cat >conftest.$ac_ext <<_ACEOF
92515 /* confdefs.h. */
92516 _ACEOF
92517 cat confdefs.h >>conftest.$ac_ext
92518 cat >>conftest.$ac_ext <<_ACEOF
92519 /* end confdefs.h. */
92520 #include <math.h>
92521 #ifdef HAVE_IEEEFP_H
92522 #include <ieeefp.h>
92523 #endif
92526 main ()
92528 _isinff(0);
92530 return 0;
92532 _ACEOF
92533 rm -f conftest.$ac_objext
92534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92535 (eval $ac_compile) 2>conftest.er1
92536 ac_status=$?
92537 grep -v '^ *+' conftest.er1 >conftest.err
92538 rm -f conftest.er1
92539 cat conftest.err >&5
92540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92541 (exit $ac_status); } &&
92542 { ac_try='test -z "$ac_cxx_werror_flag"
92543 || test ! -s conftest.err'
92544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92545 (eval $ac_try) 2>&5
92546 ac_status=$?
92547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92548 (exit $ac_status); }; } &&
92549 { ac_try='test -s conftest.$ac_objext'
92550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92551 (eval $ac_try) 2>&5
92552 ac_status=$?
92553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92554 (exit $ac_status); }; }; then
92555 glibcxx_cv_func__isinff_use=yes
92556 else
92557 echo "$as_me: failed program was:" >&5
92558 sed 's/^/| /' conftest.$ac_ext >&5
92560 glibcxx_cv_func__isinff_use=no
92562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92563 ac_ext=c
92564 ac_cpp='$CPP $CPPFLAGS'
92565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92573 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
92574 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
92576 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
92578 for ac_func in _isinff
92580 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92581 echo "$as_me:$LINENO: checking for $ac_func" >&5
92582 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92583 if eval "test \"\${$as_ac_var+set}\" = set"; then
92584 echo $ECHO_N "(cached) $ECHO_C" >&6
92585 else
92586 if test x$gcc_no_link = xyes; then
92587 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92588 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92589 { (exit 1); exit 1; }; }
92591 cat >conftest.$ac_ext <<_ACEOF
92592 /* confdefs.h. */
92593 _ACEOF
92594 cat confdefs.h >>conftest.$ac_ext
92595 cat >>conftest.$ac_ext <<_ACEOF
92596 /* end confdefs.h. */
92597 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92598 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92599 #define $ac_func innocuous_$ac_func
92601 /* System header to define __stub macros and hopefully few prototypes,
92602 which can conflict with char $ac_func (); below.
92603 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92604 <limits.h> exists even on freestanding compilers. */
92606 #ifdef __STDC__
92607 # include <limits.h>
92608 #else
92609 # include <assert.h>
92610 #endif
92612 #undef $ac_func
92614 /* Override any gcc2 internal prototype to avoid an error. */
92615 #ifdef __cplusplus
92616 extern "C"
92618 #endif
92619 /* We use char because int might match the return type of a gcc2
92620 builtin and then its argument prototype would still apply. */
92621 char $ac_func ();
92622 /* The GNU C library defines this for functions which it implements
92623 to always fail with ENOSYS. Some functions are actually named
92624 something starting with __ and the normal name is an alias. */
92625 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92626 choke me
92627 #else
92628 char (*f) () = $ac_func;
92629 #endif
92630 #ifdef __cplusplus
92632 #endif
92635 main ()
92637 return f != $ac_func;
92639 return 0;
92641 _ACEOF
92642 rm -f conftest.$ac_objext conftest$ac_exeext
92643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92644 (eval $ac_link) 2>conftest.er1
92645 ac_status=$?
92646 grep -v '^ *+' conftest.er1 >conftest.err
92647 rm -f conftest.er1
92648 cat conftest.err >&5
92649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92650 (exit $ac_status); } &&
92651 { ac_try='test -z "$ac_c_werror_flag"
92652 || test ! -s conftest.err'
92653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92654 (eval $ac_try) 2>&5
92655 ac_status=$?
92656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92657 (exit $ac_status); }; } &&
92658 { ac_try='test -s conftest$ac_exeext'
92659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92660 (eval $ac_try) 2>&5
92661 ac_status=$?
92662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92663 (exit $ac_status); }; }; then
92664 eval "$as_ac_var=yes"
92665 else
92666 echo "$as_me: failed program was:" >&5
92667 sed 's/^/| /' conftest.$ac_ext >&5
92669 eval "$as_ac_var=no"
92671 rm -f conftest.err conftest.$ac_objext \
92672 conftest$ac_exeext conftest.$ac_ext
92674 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92675 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92676 if test `eval echo '${'$as_ac_var'}'` = yes; then
92677 cat >>confdefs.h <<_ACEOF
92678 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92679 _ACEOF
92682 done
92692 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
92693 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
92694 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
92695 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
92696 echo $ECHO_N "(cached) $ECHO_C" >&6
92697 else
92701 ac_ext=cc
92702 ac_cpp='$CXXCPP $CPPFLAGS'
92703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92707 cat >conftest.$ac_ext <<_ACEOF
92708 /* confdefs.h. */
92709 _ACEOF
92710 cat confdefs.h >>conftest.$ac_ext
92711 cat >>conftest.$ac_ext <<_ACEOF
92712 /* end confdefs.h. */
92713 #include <math.h>
92715 main ()
92717 atan2f(0, 0);
92719 return 0;
92721 _ACEOF
92722 rm -f conftest.$ac_objext
92723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92724 (eval $ac_compile) 2>conftest.er1
92725 ac_status=$?
92726 grep -v '^ *+' conftest.er1 >conftest.err
92727 rm -f conftest.er1
92728 cat conftest.err >&5
92729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92730 (exit $ac_status); } &&
92731 { ac_try='test -z "$ac_cxx_werror_flag"
92732 || test ! -s conftest.err'
92733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92734 (eval $ac_try) 2>&5
92735 ac_status=$?
92736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92737 (exit $ac_status); }; } &&
92738 { ac_try='test -s conftest.$ac_objext'
92739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92740 (eval $ac_try) 2>&5
92741 ac_status=$?
92742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92743 (exit $ac_status); }; }; then
92744 glibcxx_cv_func_atan2f_use=yes
92745 else
92746 echo "$as_me: failed program was:" >&5
92747 sed 's/^/| /' conftest.$ac_ext >&5
92749 glibcxx_cv_func_atan2f_use=no
92751 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92752 ac_ext=c
92753 ac_cpp='$CPP $CPPFLAGS'
92754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92762 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
92763 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
92765 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
92767 for ac_func in atan2f
92769 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92770 echo "$as_me:$LINENO: checking for $ac_func" >&5
92771 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92772 if eval "test \"\${$as_ac_var+set}\" = set"; then
92773 echo $ECHO_N "(cached) $ECHO_C" >&6
92774 else
92775 if test x$gcc_no_link = xyes; then
92776 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92777 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92778 { (exit 1); exit 1; }; }
92780 cat >conftest.$ac_ext <<_ACEOF
92781 /* confdefs.h. */
92782 _ACEOF
92783 cat confdefs.h >>conftest.$ac_ext
92784 cat >>conftest.$ac_ext <<_ACEOF
92785 /* end confdefs.h. */
92786 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92787 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92788 #define $ac_func innocuous_$ac_func
92790 /* System header to define __stub macros and hopefully few prototypes,
92791 which can conflict with char $ac_func (); below.
92792 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92793 <limits.h> exists even on freestanding compilers. */
92795 #ifdef __STDC__
92796 # include <limits.h>
92797 #else
92798 # include <assert.h>
92799 #endif
92801 #undef $ac_func
92803 /* Override any gcc2 internal prototype to avoid an error. */
92804 #ifdef __cplusplus
92805 extern "C"
92807 #endif
92808 /* We use char because int might match the return type of a gcc2
92809 builtin and then its argument prototype would still apply. */
92810 char $ac_func ();
92811 /* The GNU C library defines this for functions which it implements
92812 to always fail with ENOSYS. Some functions are actually named
92813 something starting with __ and the normal name is an alias. */
92814 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92815 choke me
92816 #else
92817 char (*f) () = $ac_func;
92818 #endif
92819 #ifdef __cplusplus
92821 #endif
92824 main ()
92826 return f != $ac_func;
92828 return 0;
92830 _ACEOF
92831 rm -f conftest.$ac_objext conftest$ac_exeext
92832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92833 (eval $ac_link) 2>conftest.er1
92834 ac_status=$?
92835 grep -v '^ *+' conftest.er1 >conftest.err
92836 rm -f conftest.er1
92837 cat conftest.err >&5
92838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92839 (exit $ac_status); } &&
92840 { ac_try='test -z "$ac_c_werror_flag"
92841 || test ! -s conftest.err'
92842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92843 (eval $ac_try) 2>&5
92844 ac_status=$?
92845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92846 (exit $ac_status); }; } &&
92847 { ac_try='test -s conftest$ac_exeext'
92848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92849 (eval $ac_try) 2>&5
92850 ac_status=$?
92851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92852 (exit $ac_status); }; }; then
92853 eval "$as_ac_var=yes"
92854 else
92855 echo "$as_me: failed program was:" >&5
92856 sed 's/^/| /' conftest.$ac_ext >&5
92858 eval "$as_ac_var=no"
92860 rm -f conftest.err conftest.$ac_objext \
92861 conftest$ac_exeext conftest.$ac_ext
92863 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92864 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92865 if test `eval echo '${'$as_ac_var'}'` = yes; then
92866 cat >>confdefs.h <<_ACEOF
92867 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92868 _ACEOF
92871 done
92873 else
92875 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
92876 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
92877 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
92878 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
92879 echo $ECHO_N "(cached) $ECHO_C" >&6
92880 else
92884 ac_ext=cc
92885 ac_cpp='$CXXCPP $CPPFLAGS'
92886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92890 cat >conftest.$ac_ext <<_ACEOF
92891 /* confdefs.h. */
92892 _ACEOF
92893 cat confdefs.h >>conftest.$ac_ext
92894 cat >>conftest.$ac_ext <<_ACEOF
92895 /* end confdefs.h. */
92896 #include <math.h>
92898 main ()
92900 _atan2f(0, 0);
92902 return 0;
92904 _ACEOF
92905 rm -f conftest.$ac_objext
92906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92907 (eval $ac_compile) 2>conftest.er1
92908 ac_status=$?
92909 grep -v '^ *+' conftest.er1 >conftest.err
92910 rm -f conftest.er1
92911 cat conftest.err >&5
92912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92913 (exit $ac_status); } &&
92914 { ac_try='test -z "$ac_cxx_werror_flag"
92915 || test ! -s conftest.err'
92916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92917 (eval $ac_try) 2>&5
92918 ac_status=$?
92919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92920 (exit $ac_status); }; } &&
92921 { ac_try='test -s conftest.$ac_objext'
92922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92923 (eval $ac_try) 2>&5
92924 ac_status=$?
92925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92926 (exit $ac_status); }; }; then
92927 glibcxx_cv_func__atan2f_use=yes
92928 else
92929 echo "$as_me: failed program was:" >&5
92930 sed 's/^/| /' conftest.$ac_ext >&5
92932 glibcxx_cv_func__atan2f_use=no
92934 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92935 ac_ext=c
92936 ac_cpp='$CPP $CPPFLAGS'
92937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92945 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
92946 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
92948 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
92950 for ac_func in _atan2f
92952 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92953 echo "$as_me:$LINENO: checking for $ac_func" >&5
92954 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92955 if eval "test \"\${$as_ac_var+set}\" = set"; then
92956 echo $ECHO_N "(cached) $ECHO_C" >&6
92957 else
92958 if test x$gcc_no_link = xyes; then
92959 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92960 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92961 { (exit 1); exit 1; }; }
92963 cat >conftest.$ac_ext <<_ACEOF
92964 /* confdefs.h. */
92965 _ACEOF
92966 cat confdefs.h >>conftest.$ac_ext
92967 cat >>conftest.$ac_ext <<_ACEOF
92968 /* end confdefs.h. */
92969 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92970 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92971 #define $ac_func innocuous_$ac_func
92973 /* System header to define __stub macros and hopefully few prototypes,
92974 which can conflict with char $ac_func (); below.
92975 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92976 <limits.h> exists even on freestanding compilers. */
92978 #ifdef __STDC__
92979 # include <limits.h>
92980 #else
92981 # include <assert.h>
92982 #endif
92984 #undef $ac_func
92986 /* Override any gcc2 internal prototype to avoid an error. */
92987 #ifdef __cplusplus
92988 extern "C"
92990 #endif
92991 /* We use char because int might match the return type of a gcc2
92992 builtin and then its argument prototype would still apply. */
92993 char $ac_func ();
92994 /* The GNU C library defines this for functions which it implements
92995 to always fail with ENOSYS. Some functions are actually named
92996 something starting with __ and the normal name is an alias. */
92997 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92998 choke me
92999 #else
93000 char (*f) () = $ac_func;
93001 #endif
93002 #ifdef __cplusplus
93004 #endif
93007 main ()
93009 return f != $ac_func;
93011 return 0;
93013 _ACEOF
93014 rm -f conftest.$ac_objext conftest$ac_exeext
93015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93016 (eval $ac_link) 2>conftest.er1
93017 ac_status=$?
93018 grep -v '^ *+' conftest.er1 >conftest.err
93019 rm -f conftest.er1
93020 cat conftest.err >&5
93021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93022 (exit $ac_status); } &&
93023 { ac_try='test -z "$ac_c_werror_flag"
93024 || test ! -s conftest.err'
93025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93026 (eval $ac_try) 2>&5
93027 ac_status=$?
93028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93029 (exit $ac_status); }; } &&
93030 { ac_try='test -s conftest$ac_exeext'
93031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93032 (eval $ac_try) 2>&5
93033 ac_status=$?
93034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93035 (exit $ac_status); }; }; then
93036 eval "$as_ac_var=yes"
93037 else
93038 echo "$as_me: failed program was:" >&5
93039 sed 's/^/| /' conftest.$ac_ext >&5
93041 eval "$as_ac_var=no"
93043 rm -f conftest.err conftest.$ac_objext \
93044 conftest$ac_exeext conftest.$ac_ext
93046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93047 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93048 if test `eval echo '${'$as_ac_var'}'` = yes; then
93049 cat >>confdefs.h <<_ACEOF
93050 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93051 _ACEOF
93054 done
93064 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
93065 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
93066 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
93067 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
93068 echo $ECHO_N "(cached) $ECHO_C" >&6
93069 else
93073 ac_ext=cc
93074 ac_cpp='$CXXCPP $CPPFLAGS'
93075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93079 cat >conftest.$ac_ext <<_ACEOF
93080 /* confdefs.h. */
93081 _ACEOF
93082 cat confdefs.h >>conftest.$ac_ext
93083 cat >>conftest.$ac_ext <<_ACEOF
93084 /* end confdefs.h. */
93085 #include <math.h>
93086 #ifdef HAVE_IEEEFP_H
93087 #include <ieeefp.h>
93088 #endif
93091 main ()
93093 fabsf(0);
93095 return 0;
93097 _ACEOF
93098 rm -f conftest.$ac_objext
93099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93100 (eval $ac_compile) 2>conftest.er1
93101 ac_status=$?
93102 grep -v '^ *+' conftest.er1 >conftest.err
93103 rm -f conftest.er1
93104 cat conftest.err >&5
93105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93106 (exit $ac_status); } &&
93107 { ac_try='test -z "$ac_cxx_werror_flag"
93108 || test ! -s conftest.err'
93109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93110 (eval $ac_try) 2>&5
93111 ac_status=$?
93112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93113 (exit $ac_status); }; } &&
93114 { ac_try='test -s conftest.$ac_objext'
93115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93116 (eval $ac_try) 2>&5
93117 ac_status=$?
93118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93119 (exit $ac_status); }; }; then
93120 glibcxx_cv_func_fabsf_use=yes
93121 else
93122 echo "$as_me: failed program was:" >&5
93123 sed 's/^/| /' conftest.$ac_ext >&5
93125 glibcxx_cv_func_fabsf_use=no
93127 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93128 ac_ext=c
93129 ac_cpp='$CPP $CPPFLAGS'
93130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93138 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
93139 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
93141 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
93143 for ac_func in fabsf
93145 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93146 echo "$as_me:$LINENO: checking for $ac_func" >&5
93147 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93148 if eval "test \"\${$as_ac_var+set}\" = set"; then
93149 echo $ECHO_N "(cached) $ECHO_C" >&6
93150 else
93151 if test x$gcc_no_link = xyes; then
93152 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93153 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93154 { (exit 1); exit 1; }; }
93156 cat >conftest.$ac_ext <<_ACEOF
93157 /* confdefs.h. */
93158 _ACEOF
93159 cat confdefs.h >>conftest.$ac_ext
93160 cat >>conftest.$ac_ext <<_ACEOF
93161 /* end confdefs.h. */
93162 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93163 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93164 #define $ac_func innocuous_$ac_func
93166 /* System header to define __stub macros and hopefully few prototypes,
93167 which can conflict with char $ac_func (); below.
93168 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93169 <limits.h> exists even on freestanding compilers. */
93171 #ifdef __STDC__
93172 # include <limits.h>
93173 #else
93174 # include <assert.h>
93175 #endif
93177 #undef $ac_func
93179 /* Override any gcc2 internal prototype to avoid an error. */
93180 #ifdef __cplusplus
93181 extern "C"
93183 #endif
93184 /* We use char because int might match the return type of a gcc2
93185 builtin and then its argument prototype would still apply. */
93186 char $ac_func ();
93187 /* The GNU C library defines this for functions which it implements
93188 to always fail with ENOSYS. Some functions are actually named
93189 something starting with __ and the normal name is an alias. */
93190 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93191 choke me
93192 #else
93193 char (*f) () = $ac_func;
93194 #endif
93195 #ifdef __cplusplus
93197 #endif
93200 main ()
93202 return f != $ac_func;
93204 return 0;
93206 _ACEOF
93207 rm -f conftest.$ac_objext conftest$ac_exeext
93208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93209 (eval $ac_link) 2>conftest.er1
93210 ac_status=$?
93211 grep -v '^ *+' conftest.er1 >conftest.err
93212 rm -f conftest.er1
93213 cat conftest.err >&5
93214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93215 (exit $ac_status); } &&
93216 { ac_try='test -z "$ac_c_werror_flag"
93217 || test ! -s conftest.err'
93218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93219 (eval $ac_try) 2>&5
93220 ac_status=$?
93221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93222 (exit $ac_status); }; } &&
93223 { ac_try='test -s conftest$ac_exeext'
93224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93225 (eval $ac_try) 2>&5
93226 ac_status=$?
93227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93228 (exit $ac_status); }; }; then
93229 eval "$as_ac_var=yes"
93230 else
93231 echo "$as_me: failed program was:" >&5
93232 sed 's/^/| /' conftest.$ac_ext >&5
93234 eval "$as_ac_var=no"
93236 rm -f conftest.err conftest.$ac_objext \
93237 conftest$ac_exeext conftest.$ac_ext
93239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93240 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93241 if test `eval echo '${'$as_ac_var'}'` = yes; then
93242 cat >>confdefs.h <<_ACEOF
93243 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93244 _ACEOF
93247 done
93249 else
93251 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
93252 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
93253 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
93254 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
93255 echo $ECHO_N "(cached) $ECHO_C" >&6
93256 else
93260 ac_ext=cc
93261 ac_cpp='$CXXCPP $CPPFLAGS'
93262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93266 cat >conftest.$ac_ext <<_ACEOF
93267 /* confdefs.h. */
93268 _ACEOF
93269 cat confdefs.h >>conftest.$ac_ext
93270 cat >>conftest.$ac_ext <<_ACEOF
93271 /* end confdefs.h. */
93272 #include <math.h>
93273 #ifdef HAVE_IEEEFP_H
93274 #include <ieeefp.h>
93275 #endif
93278 main ()
93280 _fabsf(0);
93282 return 0;
93284 _ACEOF
93285 rm -f conftest.$ac_objext
93286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93287 (eval $ac_compile) 2>conftest.er1
93288 ac_status=$?
93289 grep -v '^ *+' conftest.er1 >conftest.err
93290 rm -f conftest.er1
93291 cat conftest.err >&5
93292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93293 (exit $ac_status); } &&
93294 { ac_try='test -z "$ac_cxx_werror_flag"
93295 || test ! -s conftest.err'
93296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93297 (eval $ac_try) 2>&5
93298 ac_status=$?
93299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93300 (exit $ac_status); }; } &&
93301 { ac_try='test -s conftest.$ac_objext'
93302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93303 (eval $ac_try) 2>&5
93304 ac_status=$?
93305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93306 (exit $ac_status); }; }; then
93307 glibcxx_cv_func__fabsf_use=yes
93308 else
93309 echo "$as_me: failed program was:" >&5
93310 sed 's/^/| /' conftest.$ac_ext >&5
93312 glibcxx_cv_func__fabsf_use=no
93314 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93315 ac_ext=c
93316 ac_cpp='$CPP $CPPFLAGS'
93317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93325 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
93326 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
93328 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
93330 for ac_func in _fabsf
93332 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93333 echo "$as_me:$LINENO: checking for $ac_func" >&5
93334 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93335 if eval "test \"\${$as_ac_var+set}\" = set"; then
93336 echo $ECHO_N "(cached) $ECHO_C" >&6
93337 else
93338 if test x$gcc_no_link = xyes; then
93339 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93340 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93341 { (exit 1); exit 1; }; }
93343 cat >conftest.$ac_ext <<_ACEOF
93344 /* confdefs.h. */
93345 _ACEOF
93346 cat confdefs.h >>conftest.$ac_ext
93347 cat >>conftest.$ac_ext <<_ACEOF
93348 /* end confdefs.h. */
93349 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93350 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93351 #define $ac_func innocuous_$ac_func
93353 /* System header to define __stub macros and hopefully few prototypes,
93354 which can conflict with char $ac_func (); below.
93355 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93356 <limits.h> exists even on freestanding compilers. */
93358 #ifdef __STDC__
93359 # include <limits.h>
93360 #else
93361 # include <assert.h>
93362 #endif
93364 #undef $ac_func
93366 /* Override any gcc2 internal prototype to avoid an error. */
93367 #ifdef __cplusplus
93368 extern "C"
93370 #endif
93371 /* We use char because int might match the return type of a gcc2
93372 builtin and then its argument prototype would still apply. */
93373 char $ac_func ();
93374 /* The GNU C library defines this for functions which it implements
93375 to always fail with ENOSYS. Some functions are actually named
93376 something starting with __ and the normal name is an alias. */
93377 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93378 choke me
93379 #else
93380 char (*f) () = $ac_func;
93381 #endif
93382 #ifdef __cplusplus
93384 #endif
93387 main ()
93389 return f != $ac_func;
93391 return 0;
93393 _ACEOF
93394 rm -f conftest.$ac_objext conftest$ac_exeext
93395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93396 (eval $ac_link) 2>conftest.er1
93397 ac_status=$?
93398 grep -v '^ *+' conftest.er1 >conftest.err
93399 rm -f conftest.er1
93400 cat conftest.err >&5
93401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93402 (exit $ac_status); } &&
93403 { ac_try='test -z "$ac_c_werror_flag"
93404 || test ! -s conftest.err'
93405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93406 (eval $ac_try) 2>&5
93407 ac_status=$?
93408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93409 (exit $ac_status); }; } &&
93410 { ac_try='test -s conftest$ac_exeext'
93411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93412 (eval $ac_try) 2>&5
93413 ac_status=$?
93414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93415 (exit $ac_status); }; }; then
93416 eval "$as_ac_var=yes"
93417 else
93418 echo "$as_me: failed program was:" >&5
93419 sed 's/^/| /' conftest.$ac_ext >&5
93421 eval "$as_ac_var=no"
93423 rm -f conftest.err conftest.$ac_objext \
93424 conftest$ac_exeext conftest.$ac_ext
93426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93427 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93428 if test `eval echo '${'$as_ac_var'}'` = yes; then
93429 cat >>confdefs.h <<_ACEOF
93430 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93431 _ACEOF
93434 done
93444 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
93445 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
93446 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
93447 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
93448 echo $ECHO_N "(cached) $ECHO_C" >&6
93449 else
93453 ac_ext=cc
93454 ac_cpp='$CXXCPP $CPPFLAGS'
93455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93459 cat >conftest.$ac_ext <<_ACEOF
93460 /* confdefs.h. */
93461 _ACEOF
93462 cat confdefs.h >>conftest.$ac_ext
93463 cat >>conftest.$ac_ext <<_ACEOF
93464 /* end confdefs.h. */
93465 #include <math.h>
93467 main ()
93469 fmodf(0, 0);
93471 return 0;
93473 _ACEOF
93474 rm -f conftest.$ac_objext
93475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93476 (eval $ac_compile) 2>conftest.er1
93477 ac_status=$?
93478 grep -v '^ *+' conftest.er1 >conftest.err
93479 rm -f conftest.er1
93480 cat conftest.err >&5
93481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93482 (exit $ac_status); } &&
93483 { ac_try='test -z "$ac_cxx_werror_flag"
93484 || test ! -s conftest.err'
93485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93486 (eval $ac_try) 2>&5
93487 ac_status=$?
93488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93489 (exit $ac_status); }; } &&
93490 { ac_try='test -s conftest.$ac_objext'
93491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93492 (eval $ac_try) 2>&5
93493 ac_status=$?
93494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93495 (exit $ac_status); }; }; then
93496 glibcxx_cv_func_fmodf_use=yes
93497 else
93498 echo "$as_me: failed program was:" >&5
93499 sed 's/^/| /' conftest.$ac_ext >&5
93501 glibcxx_cv_func_fmodf_use=no
93503 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93504 ac_ext=c
93505 ac_cpp='$CPP $CPPFLAGS'
93506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93514 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
93515 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
93517 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
93519 for ac_func in fmodf
93521 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93522 echo "$as_me:$LINENO: checking for $ac_func" >&5
93523 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93524 if eval "test \"\${$as_ac_var+set}\" = set"; then
93525 echo $ECHO_N "(cached) $ECHO_C" >&6
93526 else
93527 if test x$gcc_no_link = xyes; then
93528 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93529 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93530 { (exit 1); exit 1; }; }
93532 cat >conftest.$ac_ext <<_ACEOF
93533 /* confdefs.h. */
93534 _ACEOF
93535 cat confdefs.h >>conftest.$ac_ext
93536 cat >>conftest.$ac_ext <<_ACEOF
93537 /* end confdefs.h. */
93538 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93539 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93540 #define $ac_func innocuous_$ac_func
93542 /* System header to define __stub macros and hopefully few prototypes,
93543 which can conflict with char $ac_func (); below.
93544 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93545 <limits.h> exists even on freestanding compilers. */
93547 #ifdef __STDC__
93548 # include <limits.h>
93549 #else
93550 # include <assert.h>
93551 #endif
93553 #undef $ac_func
93555 /* Override any gcc2 internal prototype to avoid an error. */
93556 #ifdef __cplusplus
93557 extern "C"
93559 #endif
93560 /* We use char because int might match the return type of a gcc2
93561 builtin and then its argument prototype would still apply. */
93562 char $ac_func ();
93563 /* The GNU C library defines this for functions which it implements
93564 to always fail with ENOSYS. Some functions are actually named
93565 something starting with __ and the normal name is an alias. */
93566 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93567 choke me
93568 #else
93569 char (*f) () = $ac_func;
93570 #endif
93571 #ifdef __cplusplus
93573 #endif
93576 main ()
93578 return f != $ac_func;
93580 return 0;
93582 _ACEOF
93583 rm -f conftest.$ac_objext conftest$ac_exeext
93584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93585 (eval $ac_link) 2>conftest.er1
93586 ac_status=$?
93587 grep -v '^ *+' conftest.er1 >conftest.err
93588 rm -f conftest.er1
93589 cat conftest.err >&5
93590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93591 (exit $ac_status); } &&
93592 { ac_try='test -z "$ac_c_werror_flag"
93593 || test ! -s conftest.err'
93594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93595 (eval $ac_try) 2>&5
93596 ac_status=$?
93597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93598 (exit $ac_status); }; } &&
93599 { ac_try='test -s conftest$ac_exeext'
93600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93601 (eval $ac_try) 2>&5
93602 ac_status=$?
93603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93604 (exit $ac_status); }; }; then
93605 eval "$as_ac_var=yes"
93606 else
93607 echo "$as_me: failed program was:" >&5
93608 sed 's/^/| /' conftest.$ac_ext >&5
93610 eval "$as_ac_var=no"
93612 rm -f conftest.err conftest.$ac_objext \
93613 conftest$ac_exeext conftest.$ac_ext
93615 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93616 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93617 if test `eval echo '${'$as_ac_var'}'` = yes; then
93618 cat >>confdefs.h <<_ACEOF
93619 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93620 _ACEOF
93623 done
93625 else
93627 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
93628 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
93629 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
93630 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
93631 echo $ECHO_N "(cached) $ECHO_C" >&6
93632 else
93636 ac_ext=cc
93637 ac_cpp='$CXXCPP $CPPFLAGS'
93638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93642 cat >conftest.$ac_ext <<_ACEOF
93643 /* confdefs.h. */
93644 _ACEOF
93645 cat confdefs.h >>conftest.$ac_ext
93646 cat >>conftest.$ac_ext <<_ACEOF
93647 /* end confdefs.h. */
93648 #include <math.h>
93650 main ()
93652 _fmodf(0, 0);
93654 return 0;
93656 _ACEOF
93657 rm -f conftest.$ac_objext
93658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93659 (eval $ac_compile) 2>conftest.er1
93660 ac_status=$?
93661 grep -v '^ *+' conftest.er1 >conftest.err
93662 rm -f conftest.er1
93663 cat conftest.err >&5
93664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93665 (exit $ac_status); } &&
93666 { ac_try='test -z "$ac_cxx_werror_flag"
93667 || test ! -s conftest.err'
93668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93669 (eval $ac_try) 2>&5
93670 ac_status=$?
93671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93672 (exit $ac_status); }; } &&
93673 { ac_try='test -s conftest.$ac_objext'
93674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93675 (eval $ac_try) 2>&5
93676 ac_status=$?
93677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93678 (exit $ac_status); }; }; then
93679 glibcxx_cv_func__fmodf_use=yes
93680 else
93681 echo "$as_me: failed program was:" >&5
93682 sed 's/^/| /' conftest.$ac_ext >&5
93684 glibcxx_cv_func__fmodf_use=no
93686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93687 ac_ext=c
93688 ac_cpp='$CPP $CPPFLAGS'
93689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93697 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
93698 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
93700 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
93702 for ac_func in _fmodf
93704 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93705 echo "$as_me:$LINENO: checking for $ac_func" >&5
93706 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93707 if eval "test \"\${$as_ac_var+set}\" = set"; then
93708 echo $ECHO_N "(cached) $ECHO_C" >&6
93709 else
93710 if test x$gcc_no_link = xyes; then
93711 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93712 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93713 { (exit 1); exit 1; }; }
93715 cat >conftest.$ac_ext <<_ACEOF
93716 /* confdefs.h. */
93717 _ACEOF
93718 cat confdefs.h >>conftest.$ac_ext
93719 cat >>conftest.$ac_ext <<_ACEOF
93720 /* end confdefs.h. */
93721 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93722 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93723 #define $ac_func innocuous_$ac_func
93725 /* System header to define __stub macros and hopefully few prototypes,
93726 which can conflict with char $ac_func (); below.
93727 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93728 <limits.h> exists even on freestanding compilers. */
93730 #ifdef __STDC__
93731 # include <limits.h>
93732 #else
93733 # include <assert.h>
93734 #endif
93736 #undef $ac_func
93738 /* Override any gcc2 internal prototype to avoid an error. */
93739 #ifdef __cplusplus
93740 extern "C"
93742 #endif
93743 /* We use char because int might match the return type of a gcc2
93744 builtin and then its argument prototype would still apply. */
93745 char $ac_func ();
93746 /* The GNU C library defines this for functions which it implements
93747 to always fail with ENOSYS. Some functions are actually named
93748 something starting with __ and the normal name is an alias. */
93749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93750 choke me
93751 #else
93752 char (*f) () = $ac_func;
93753 #endif
93754 #ifdef __cplusplus
93756 #endif
93759 main ()
93761 return f != $ac_func;
93763 return 0;
93765 _ACEOF
93766 rm -f conftest.$ac_objext conftest$ac_exeext
93767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93768 (eval $ac_link) 2>conftest.er1
93769 ac_status=$?
93770 grep -v '^ *+' conftest.er1 >conftest.err
93771 rm -f conftest.er1
93772 cat conftest.err >&5
93773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93774 (exit $ac_status); } &&
93775 { ac_try='test -z "$ac_c_werror_flag"
93776 || test ! -s conftest.err'
93777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93778 (eval $ac_try) 2>&5
93779 ac_status=$?
93780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93781 (exit $ac_status); }; } &&
93782 { ac_try='test -s conftest$ac_exeext'
93783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93784 (eval $ac_try) 2>&5
93785 ac_status=$?
93786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93787 (exit $ac_status); }; }; then
93788 eval "$as_ac_var=yes"
93789 else
93790 echo "$as_me: failed program was:" >&5
93791 sed 's/^/| /' conftest.$ac_ext >&5
93793 eval "$as_ac_var=no"
93795 rm -f conftest.err conftest.$ac_objext \
93796 conftest$ac_exeext conftest.$ac_ext
93798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93799 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93800 if test `eval echo '${'$as_ac_var'}'` = yes; then
93801 cat >>confdefs.h <<_ACEOF
93802 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93803 _ACEOF
93806 done
93816 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
93817 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
93818 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
93819 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
93820 echo $ECHO_N "(cached) $ECHO_C" >&6
93821 else
93825 ac_ext=cc
93826 ac_cpp='$CXXCPP $CPPFLAGS'
93827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93831 cat >conftest.$ac_ext <<_ACEOF
93832 /* confdefs.h. */
93833 _ACEOF
93834 cat confdefs.h >>conftest.$ac_ext
93835 cat >>conftest.$ac_ext <<_ACEOF
93836 /* end confdefs.h. */
93837 #include <math.h>
93839 main ()
93841 frexpf(0, 0);
93843 return 0;
93845 _ACEOF
93846 rm -f conftest.$ac_objext
93847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93848 (eval $ac_compile) 2>conftest.er1
93849 ac_status=$?
93850 grep -v '^ *+' conftest.er1 >conftest.err
93851 rm -f conftest.er1
93852 cat conftest.err >&5
93853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93854 (exit $ac_status); } &&
93855 { ac_try='test -z "$ac_cxx_werror_flag"
93856 || test ! -s conftest.err'
93857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93858 (eval $ac_try) 2>&5
93859 ac_status=$?
93860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93861 (exit $ac_status); }; } &&
93862 { ac_try='test -s conftest.$ac_objext'
93863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93864 (eval $ac_try) 2>&5
93865 ac_status=$?
93866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93867 (exit $ac_status); }; }; then
93868 glibcxx_cv_func_frexpf_use=yes
93869 else
93870 echo "$as_me: failed program was:" >&5
93871 sed 's/^/| /' conftest.$ac_ext >&5
93873 glibcxx_cv_func_frexpf_use=no
93875 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93876 ac_ext=c
93877 ac_cpp='$CPP $CPPFLAGS'
93878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93886 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
93887 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
93889 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
93891 for ac_func in frexpf
93893 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93894 echo "$as_me:$LINENO: checking for $ac_func" >&5
93895 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93896 if eval "test \"\${$as_ac_var+set}\" = set"; then
93897 echo $ECHO_N "(cached) $ECHO_C" >&6
93898 else
93899 if test x$gcc_no_link = xyes; then
93900 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93901 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93902 { (exit 1); exit 1; }; }
93904 cat >conftest.$ac_ext <<_ACEOF
93905 /* confdefs.h. */
93906 _ACEOF
93907 cat confdefs.h >>conftest.$ac_ext
93908 cat >>conftest.$ac_ext <<_ACEOF
93909 /* end confdefs.h. */
93910 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93911 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93912 #define $ac_func innocuous_$ac_func
93914 /* System header to define __stub macros and hopefully few prototypes,
93915 which can conflict with char $ac_func (); below.
93916 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93917 <limits.h> exists even on freestanding compilers. */
93919 #ifdef __STDC__
93920 # include <limits.h>
93921 #else
93922 # include <assert.h>
93923 #endif
93925 #undef $ac_func
93927 /* Override any gcc2 internal prototype to avoid an error. */
93928 #ifdef __cplusplus
93929 extern "C"
93931 #endif
93932 /* We use char because int might match the return type of a gcc2
93933 builtin and then its argument prototype would still apply. */
93934 char $ac_func ();
93935 /* The GNU C library defines this for functions which it implements
93936 to always fail with ENOSYS. Some functions are actually named
93937 something starting with __ and the normal name is an alias. */
93938 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93939 choke me
93940 #else
93941 char (*f) () = $ac_func;
93942 #endif
93943 #ifdef __cplusplus
93945 #endif
93948 main ()
93950 return f != $ac_func;
93952 return 0;
93954 _ACEOF
93955 rm -f conftest.$ac_objext conftest$ac_exeext
93956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93957 (eval $ac_link) 2>conftest.er1
93958 ac_status=$?
93959 grep -v '^ *+' conftest.er1 >conftest.err
93960 rm -f conftest.er1
93961 cat conftest.err >&5
93962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93963 (exit $ac_status); } &&
93964 { ac_try='test -z "$ac_c_werror_flag"
93965 || test ! -s conftest.err'
93966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93967 (eval $ac_try) 2>&5
93968 ac_status=$?
93969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93970 (exit $ac_status); }; } &&
93971 { ac_try='test -s conftest$ac_exeext'
93972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93973 (eval $ac_try) 2>&5
93974 ac_status=$?
93975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93976 (exit $ac_status); }; }; then
93977 eval "$as_ac_var=yes"
93978 else
93979 echo "$as_me: failed program was:" >&5
93980 sed 's/^/| /' conftest.$ac_ext >&5
93982 eval "$as_ac_var=no"
93984 rm -f conftest.err conftest.$ac_objext \
93985 conftest$ac_exeext conftest.$ac_ext
93987 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93988 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93989 if test `eval echo '${'$as_ac_var'}'` = yes; then
93990 cat >>confdefs.h <<_ACEOF
93991 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93992 _ACEOF
93995 done
93997 else
93999 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
94000 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
94001 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
94002 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
94003 echo $ECHO_N "(cached) $ECHO_C" >&6
94004 else
94008 ac_ext=cc
94009 ac_cpp='$CXXCPP $CPPFLAGS'
94010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94014 cat >conftest.$ac_ext <<_ACEOF
94015 /* confdefs.h. */
94016 _ACEOF
94017 cat confdefs.h >>conftest.$ac_ext
94018 cat >>conftest.$ac_ext <<_ACEOF
94019 /* end confdefs.h. */
94020 #include <math.h>
94022 main ()
94024 _frexpf(0, 0);
94026 return 0;
94028 _ACEOF
94029 rm -f conftest.$ac_objext
94030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94031 (eval $ac_compile) 2>conftest.er1
94032 ac_status=$?
94033 grep -v '^ *+' conftest.er1 >conftest.err
94034 rm -f conftest.er1
94035 cat conftest.err >&5
94036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94037 (exit $ac_status); } &&
94038 { ac_try='test -z "$ac_cxx_werror_flag"
94039 || test ! -s conftest.err'
94040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94041 (eval $ac_try) 2>&5
94042 ac_status=$?
94043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94044 (exit $ac_status); }; } &&
94045 { ac_try='test -s conftest.$ac_objext'
94046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94047 (eval $ac_try) 2>&5
94048 ac_status=$?
94049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94050 (exit $ac_status); }; }; then
94051 glibcxx_cv_func__frexpf_use=yes
94052 else
94053 echo "$as_me: failed program was:" >&5
94054 sed 's/^/| /' conftest.$ac_ext >&5
94056 glibcxx_cv_func__frexpf_use=no
94058 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94059 ac_ext=c
94060 ac_cpp='$CPP $CPPFLAGS'
94061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94069 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
94070 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
94072 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
94074 for ac_func in _frexpf
94076 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94077 echo "$as_me:$LINENO: checking for $ac_func" >&5
94078 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94079 if eval "test \"\${$as_ac_var+set}\" = set"; then
94080 echo $ECHO_N "(cached) $ECHO_C" >&6
94081 else
94082 if test x$gcc_no_link = xyes; then
94083 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94084 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94085 { (exit 1); exit 1; }; }
94087 cat >conftest.$ac_ext <<_ACEOF
94088 /* confdefs.h. */
94089 _ACEOF
94090 cat confdefs.h >>conftest.$ac_ext
94091 cat >>conftest.$ac_ext <<_ACEOF
94092 /* end confdefs.h. */
94093 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94094 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94095 #define $ac_func innocuous_$ac_func
94097 /* System header to define __stub macros and hopefully few prototypes,
94098 which can conflict with char $ac_func (); below.
94099 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94100 <limits.h> exists even on freestanding compilers. */
94102 #ifdef __STDC__
94103 # include <limits.h>
94104 #else
94105 # include <assert.h>
94106 #endif
94108 #undef $ac_func
94110 /* Override any gcc2 internal prototype to avoid an error. */
94111 #ifdef __cplusplus
94112 extern "C"
94114 #endif
94115 /* We use char because int might match the return type of a gcc2
94116 builtin and then its argument prototype would still apply. */
94117 char $ac_func ();
94118 /* The GNU C library defines this for functions which it implements
94119 to always fail with ENOSYS. Some functions are actually named
94120 something starting with __ and the normal name is an alias. */
94121 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94122 choke me
94123 #else
94124 char (*f) () = $ac_func;
94125 #endif
94126 #ifdef __cplusplus
94128 #endif
94131 main ()
94133 return f != $ac_func;
94135 return 0;
94137 _ACEOF
94138 rm -f conftest.$ac_objext conftest$ac_exeext
94139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94140 (eval $ac_link) 2>conftest.er1
94141 ac_status=$?
94142 grep -v '^ *+' conftest.er1 >conftest.err
94143 rm -f conftest.er1
94144 cat conftest.err >&5
94145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94146 (exit $ac_status); } &&
94147 { ac_try='test -z "$ac_c_werror_flag"
94148 || test ! -s conftest.err'
94149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94150 (eval $ac_try) 2>&5
94151 ac_status=$?
94152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94153 (exit $ac_status); }; } &&
94154 { ac_try='test -s conftest$ac_exeext'
94155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94156 (eval $ac_try) 2>&5
94157 ac_status=$?
94158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94159 (exit $ac_status); }; }; then
94160 eval "$as_ac_var=yes"
94161 else
94162 echo "$as_me: failed program was:" >&5
94163 sed 's/^/| /' conftest.$ac_ext >&5
94165 eval "$as_ac_var=no"
94167 rm -f conftest.err conftest.$ac_objext \
94168 conftest$ac_exeext conftest.$ac_ext
94170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94171 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94172 if test `eval echo '${'$as_ac_var'}'` = yes; then
94173 cat >>confdefs.h <<_ACEOF
94174 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94175 _ACEOF
94178 done
94188 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
94189 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
94190 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
94191 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
94192 echo $ECHO_N "(cached) $ECHO_C" >&6
94193 else
94197 ac_ext=cc
94198 ac_cpp='$CXXCPP $CPPFLAGS'
94199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94203 cat >conftest.$ac_ext <<_ACEOF
94204 /* confdefs.h. */
94205 _ACEOF
94206 cat confdefs.h >>conftest.$ac_ext
94207 cat >>conftest.$ac_ext <<_ACEOF
94208 /* end confdefs.h. */
94209 #include <math.h>
94211 main ()
94213 hypotf(0, 0);
94215 return 0;
94217 _ACEOF
94218 rm -f conftest.$ac_objext
94219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94220 (eval $ac_compile) 2>conftest.er1
94221 ac_status=$?
94222 grep -v '^ *+' conftest.er1 >conftest.err
94223 rm -f conftest.er1
94224 cat conftest.err >&5
94225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94226 (exit $ac_status); } &&
94227 { ac_try='test -z "$ac_cxx_werror_flag"
94228 || test ! -s conftest.err'
94229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94230 (eval $ac_try) 2>&5
94231 ac_status=$?
94232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94233 (exit $ac_status); }; } &&
94234 { ac_try='test -s conftest.$ac_objext'
94235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94236 (eval $ac_try) 2>&5
94237 ac_status=$?
94238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94239 (exit $ac_status); }; }; then
94240 glibcxx_cv_func_hypotf_use=yes
94241 else
94242 echo "$as_me: failed program was:" >&5
94243 sed 's/^/| /' conftest.$ac_ext >&5
94245 glibcxx_cv_func_hypotf_use=no
94247 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94248 ac_ext=c
94249 ac_cpp='$CPP $CPPFLAGS'
94250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94258 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
94259 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
94261 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
94263 for ac_func in hypotf
94265 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94266 echo "$as_me:$LINENO: checking for $ac_func" >&5
94267 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94268 if eval "test \"\${$as_ac_var+set}\" = set"; then
94269 echo $ECHO_N "(cached) $ECHO_C" >&6
94270 else
94271 if test x$gcc_no_link = xyes; then
94272 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94273 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94274 { (exit 1); exit 1; }; }
94276 cat >conftest.$ac_ext <<_ACEOF
94277 /* confdefs.h. */
94278 _ACEOF
94279 cat confdefs.h >>conftest.$ac_ext
94280 cat >>conftest.$ac_ext <<_ACEOF
94281 /* end confdefs.h. */
94282 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94283 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94284 #define $ac_func innocuous_$ac_func
94286 /* System header to define __stub macros and hopefully few prototypes,
94287 which can conflict with char $ac_func (); below.
94288 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94289 <limits.h> exists even on freestanding compilers. */
94291 #ifdef __STDC__
94292 # include <limits.h>
94293 #else
94294 # include <assert.h>
94295 #endif
94297 #undef $ac_func
94299 /* Override any gcc2 internal prototype to avoid an error. */
94300 #ifdef __cplusplus
94301 extern "C"
94303 #endif
94304 /* We use char because int might match the return type of a gcc2
94305 builtin and then its argument prototype would still apply. */
94306 char $ac_func ();
94307 /* The GNU C library defines this for functions which it implements
94308 to always fail with ENOSYS. Some functions are actually named
94309 something starting with __ and the normal name is an alias. */
94310 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94311 choke me
94312 #else
94313 char (*f) () = $ac_func;
94314 #endif
94315 #ifdef __cplusplus
94317 #endif
94320 main ()
94322 return f != $ac_func;
94324 return 0;
94326 _ACEOF
94327 rm -f conftest.$ac_objext conftest$ac_exeext
94328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94329 (eval $ac_link) 2>conftest.er1
94330 ac_status=$?
94331 grep -v '^ *+' conftest.er1 >conftest.err
94332 rm -f conftest.er1
94333 cat conftest.err >&5
94334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94335 (exit $ac_status); } &&
94336 { ac_try='test -z "$ac_c_werror_flag"
94337 || test ! -s conftest.err'
94338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94339 (eval $ac_try) 2>&5
94340 ac_status=$?
94341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94342 (exit $ac_status); }; } &&
94343 { ac_try='test -s conftest$ac_exeext'
94344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94345 (eval $ac_try) 2>&5
94346 ac_status=$?
94347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94348 (exit $ac_status); }; }; then
94349 eval "$as_ac_var=yes"
94350 else
94351 echo "$as_me: failed program was:" >&5
94352 sed 's/^/| /' conftest.$ac_ext >&5
94354 eval "$as_ac_var=no"
94356 rm -f conftest.err conftest.$ac_objext \
94357 conftest$ac_exeext conftest.$ac_ext
94359 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94360 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94361 if test `eval echo '${'$as_ac_var'}'` = yes; then
94362 cat >>confdefs.h <<_ACEOF
94363 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94364 _ACEOF
94367 done
94369 else
94371 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
94372 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
94373 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
94374 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
94375 echo $ECHO_N "(cached) $ECHO_C" >&6
94376 else
94380 ac_ext=cc
94381 ac_cpp='$CXXCPP $CPPFLAGS'
94382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94386 cat >conftest.$ac_ext <<_ACEOF
94387 /* confdefs.h. */
94388 _ACEOF
94389 cat confdefs.h >>conftest.$ac_ext
94390 cat >>conftest.$ac_ext <<_ACEOF
94391 /* end confdefs.h. */
94392 #include <math.h>
94394 main ()
94396 _hypotf(0, 0);
94398 return 0;
94400 _ACEOF
94401 rm -f conftest.$ac_objext
94402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94403 (eval $ac_compile) 2>conftest.er1
94404 ac_status=$?
94405 grep -v '^ *+' conftest.er1 >conftest.err
94406 rm -f conftest.er1
94407 cat conftest.err >&5
94408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94409 (exit $ac_status); } &&
94410 { ac_try='test -z "$ac_cxx_werror_flag"
94411 || test ! -s conftest.err'
94412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94413 (eval $ac_try) 2>&5
94414 ac_status=$?
94415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94416 (exit $ac_status); }; } &&
94417 { ac_try='test -s conftest.$ac_objext'
94418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94419 (eval $ac_try) 2>&5
94420 ac_status=$?
94421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94422 (exit $ac_status); }; }; then
94423 glibcxx_cv_func__hypotf_use=yes
94424 else
94425 echo "$as_me: failed program was:" >&5
94426 sed 's/^/| /' conftest.$ac_ext >&5
94428 glibcxx_cv_func__hypotf_use=no
94430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94431 ac_ext=c
94432 ac_cpp='$CPP $CPPFLAGS'
94433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94441 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
94442 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
94444 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
94446 for ac_func in _hypotf
94448 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94449 echo "$as_me:$LINENO: checking for $ac_func" >&5
94450 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94451 if eval "test \"\${$as_ac_var+set}\" = set"; then
94452 echo $ECHO_N "(cached) $ECHO_C" >&6
94453 else
94454 if test x$gcc_no_link = xyes; then
94455 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94456 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94457 { (exit 1); exit 1; }; }
94459 cat >conftest.$ac_ext <<_ACEOF
94460 /* confdefs.h. */
94461 _ACEOF
94462 cat confdefs.h >>conftest.$ac_ext
94463 cat >>conftest.$ac_ext <<_ACEOF
94464 /* end confdefs.h. */
94465 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94466 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94467 #define $ac_func innocuous_$ac_func
94469 /* System header to define __stub macros and hopefully few prototypes,
94470 which can conflict with char $ac_func (); below.
94471 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94472 <limits.h> exists even on freestanding compilers. */
94474 #ifdef __STDC__
94475 # include <limits.h>
94476 #else
94477 # include <assert.h>
94478 #endif
94480 #undef $ac_func
94482 /* Override any gcc2 internal prototype to avoid an error. */
94483 #ifdef __cplusplus
94484 extern "C"
94486 #endif
94487 /* We use char because int might match the return type of a gcc2
94488 builtin and then its argument prototype would still apply. */
94489 char $ac_func ();
94490 /* The GNU C library defines this for functions which it implements
94491 to always fail with ENOSYS. Some functions are actually named
94492 something starting with __ and the normal name is an alias. */
94493 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94494 choke me
94495 #else
94496 char (*f) () = $ac_func;
94497 #endif
94498 #ifdef __cplusplus
94500 #endif
94503 main ()
94505 return f != $ac_func;
94507 return 0;
94509 _ACEOF
94510 rm -f conftest.$ac_objext conftest$ac_exeext
94511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94512 (eval $ac_link) 2>conftest.er1
94513 ac_status=$?
94514 grep -v '^ *+' conftest.er1 >conftest.err
94515 rm -f conftest.er1
94516 cat conftest.err >&5
94517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94518 (exit $ac_status); } &&
94519 { ac_try='test -z "$ac_c_werror_flag"
94520 || test ! -s conftest.err'
94521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94522 (eval $ac_try) 2>&5
94523 ac_status=$?
94524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94525 (exit $ac_status); }; } &&
94526 { ac_try='test -s conftest$ac_exeext'
94527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94528 (eval $ac_try) 2>&5
94529 ac_status=$?
94530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94531 (exit $ac_status); }; }; then
94532 eval "$as_ac_var=yes"
94533 else
94534 echo "$as_me: failed program was:" >&5
94535 sed 's/^/| /' conftest.$ac_ext >&5
94537 eval "$as_ac_var=no"
94539 rm -f conftest.err conftest.$ac_objext \
94540 conftest$ac_exeext conftest.$ac_ext
94542 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94543 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94544 if test `eval echo '${'$as_ac_var'}'` = yes; then
94545 cat >>confdefs.h <<_ACEOF
94546 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94547 _ACEOF
94550 done
94560 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
94561 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
94562 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
94563 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
94564 echo $ECHO_N "(cached) $ECHO_C" >&6
94565 else
94569 ac_ext=cc
94570 ac_cpp='$CXXCPP $CPPFLAGS'
94571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94575 cat >conftest.$ac_ext <<_ACEOF
94576 /* confdefs.h. */
94577 _ACEOF
94578 cat confdefs.h >>conftest.$ac_ext
94579 cat >>conftest.$ac_ext <<_ACEOF
94580 /* end confdefs.h. */
94581 #include <math.h>
94583 main ()
94585 ldexpf(0, 0);
94587 return 0;
94589 _ACEOF
94590 rm -f conftest.$ac_objext
94591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94592 (eval $ac_compile) 2>conftest.er1
94593 ac_status=$?
94594 grep -v '^ *+' conftest.er1 >conftest.err
94595 rm -f conftest.er1
94596 cat conftest.err >&5
94597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94598 (exit $ac_status); } &&
94599 { ac_try='test -z "$ac_cxx_werror_flag"
94600 || test ! -s conftest.err'
94601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94602 (eval $ac_try) 2>&5
94603 ac_status=$?
94604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94605 (exit $ac_status); }; } &&
94606 { ac_try='test -s conftest.$ac_objext'
94607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94608 (eval $ac_try) 2>&5
94609 ac_status=$?
94610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94611 (exit $ac_status); }; }; then
94612 glibcxx_cv_func_ldexpf_use=yes
94613 else
94614 echo "$as_me: failed program was:" >&5
94615 sed 's/^/| /' conftest.$ac_ext >&5
94617 glibcxx_cv_func_ldexpf_use=no
94619 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94620 ac_ext=c
94621 ac_cpp='$CPP $CPPFLAGS'
94622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94630 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
94631 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
94633 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
94635 for ac_func in ldexpf
94637 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94638 echo "$as_me:$LINENO: checking for $ac_func" >&5
94639 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94640 if eval "test \"\${$as_ac_var+set}\" = set"; then
94641 echo $ECHO_N "(cached) $ECHO_C" >&6
94642 else
94643 if test x$gcc_no_link = xyes; then
94644 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94645 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94646 { (exit 1); exit 1; }; }
94648 cat >conftest.$ac_ext <<_ACEOF
94649 /* confdefs.h. */
94650 _ACEOF
94651 cat confdefs.h >>conftest.$ac_ext
94652 cat >>conftest.$ac_ext <<_ACEOF
94653 /* end confdefs.h. */
94654 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94655 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94656 #define $ac_func innocuous_$ac_func
94658 /* System header to define __stub macros and hopefully few prototypes,
94659 which can conflict with char $ac_func (); below.
94660 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94661 <limits.h> exists even on freestanding compilers. */
94663 #ifdef __STDC__
94664 # include <limits.h>
94665 #else
94666 # include <assert.h>
94667 #endif
94669 #undef $ac_func
94671 /* Override any gcc2 internal prototype to avoid an error. */
94672 #ifdef __cplusplus
94673 extern "C"
94675 #endif
94676 /* We use char because int might match the return type of a gcc2
94677 builtin and then its argument prototype would still apply. */
94678 char $ac_func ();
94679 /* The GNU C library defines this for functions which it implements
94680 to always fail with ENOSYS. Some functions are actually named
94681 something starting with __ and the normal name is an alias. */
94682 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94683 choke me
94684 #else
94685 char (*f) () = $ac_func;
94686 #endif
94687 #ifdef __cplusplus
94689 #endif
94692 main ()
94694 return f != $ac_func;
94696 return 0;
94698 _ACEOF
94699 rm -f conftest.$ac_objext conftest$ac_exeext
94700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94701 (eval $ac_link) 2>conftest.er1
94702 ac_status=$?
94703 grep -v '^ *+' conftest.er1 >conftest.err
94704 rm -f conftest.er1
94705 cat conftest.err >&5
94706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94707 (exit $ac_status); } &&
94708 { ac_try='test -z "$ac_c_werror_flag"
94709 || test ! -s conftest.err'
94710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94711 (eval $ac_try) 2>&5
94712 ac_status=$?
94713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94714 (exit $ac_status); }; } &&
94715 { ac_try='test -s conftest$ac_exeext'
94716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94717 (eval $ac_try) 2>&5
94718 ac_status=$?
94719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94720 (exit $ac_status); }; }; then
94721 eval "$as_ac_var=yes"
94722 else
94723 echo "$as_me: failed program was:" >&5
94724 sed 's/^/| /' conftest.$ac_ext >&5
94726 eval "$as_ac_var=no"
94728 rm -f conftest.err conftest.$ac_objext \
94729 conftest$ac_exeext conftest.$ac_ext
94731 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94732 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94733 if test `eval echo '${'$as_ac_var'}'` = yes; then
94734 cat >>confdefs.h <<_ACEOF
94735 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94736 _ACEOF
94739 done
94741 else
94743 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
94744 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
94745 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
94746 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
94747 echo $ECHO_N "(cached) $ECHO_C" >&6
94748 else
94752 ac_ext=cc
94753 ac_cpp='$CXXCPP $CPPFLAGS'
94754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94758 cat >conftest.$ac_ext <<_ACEOF
94759 /* confdefs.h. */
94760 _ACEOF
94761 cat confdefs.h >>conftest.$ac_ext
94762 cat >>conftest.$ac_ext <<_ACEOF
94763 /* end confdefs.h. */
94764 #include <math.h>
94766 main ()
94768 _ldexpf(0, 0);
94770 return 0;
94772 _ACEOF
94773 rm -f conftest.$ac_objext
94774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94775 (eval $ac_compile) 2>conftest.er1
94776 ac_status=$?
94777 grep -v '^ *+' conftest.er1 >conftest.err
94778 rm -f conftest.er1
94779 cat conftest.err >&5
94780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94781 (exit $ac_status); } &&
94782 { ac_try='test -z "$ac_cxx_werror_flag"
94783 || test ! -s conftest.err'
94784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94785 (eval $ac_try) 2>&5
94786 ac_status=$?
94787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94788 (exit $ac_status); }; } &&
94789 { ac_try='test -s conftest.$ac_objext'
94790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94791 (eval $ac_try) 2>&5
94792 ac_status=$?
94793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94794 (exit $ac_status); }; }; then
94795 glibcxx_cv_func__ldexpf_use=yes
94796 else
94797 echo "$as_me: failed program was:" >&5
94798 sed 's/^/| /' conftest.$ac_ext >&5
94800 glibcxx_cv_func__ldexpf_use=no
94802 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94803 ac_ext=c
94804 ac_cpp='$CPP $CPPFLAGS'
94805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94813 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
94814 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
94816 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
94818 for ac_func in _ldexpf
94820 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94821 echo "$as_me:$LINENO: checking for $ac_func" >&5
94822 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94823 if eval "test \"\${$as_ac_var+set}\" = set"; then
94824 echo $ECHO_N "(cached) $ECHO_C" >&6
94825 else
94826 if test x$gcc_no_link = xyes; then
94827 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94828 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94829 { (exit 1); exit 1; }; }
94831 cat >conftest.$ac_ext <<_ACEOF
94832 /* confdefs.h. */
94833 _ACEOF
94834 cat confdefs.h >>conftest.$ac_ext
94835 cat >>conftest.$ac_ext <<_ACEOF
94836 /* end confdefs.h. */
94837 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94838 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94839 #define $ac_func innocuous_$ac_func
94841 /* System header to define __stub macros and hopefully few prototypes,
94842 which can conflict with char $ac_func (); below.
94843 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94844 <limits.h> exists even on freestanding compilers. */
94846 #ifdef __STDC__
94847 # include <limits.h>
94848 #else
94849 # include <assert.h>
94850 #endif
94852 #undef $ac_func
94854 /* Override any gcc2 internal prototype to avoid an error. */
94855 #ifdef __cplusplus
94856 extern "C"
94858 #endif
94859 /* We use char because int might match the return type of a gcc2
94860 builtin and then its argument prototype would still apply. */
94861 char $ac_func ();
94862 /* The GNU C library defines this for functions which it implements
94863 to always fail with ENOSYS. Some functions are actually named
94864 something starting with __ and the normal name is an alias. */
94865 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94866 choke me
94867 #else
94868 char (*f) () = $ac_func;
94869 #endif
94870 #ifdef __cplusplus
94872 #endif
94875 main ()
94877 return f != $ac_func;
94879 return 0;
94881 _ACEOF
94882 rm -f conftest.$ac_objext conftest$ac_exeext
94883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94884 (eval $ac_link) 2>conftest.er1
94885 ac_status=$?
94886 grep -v '^ *+' conftest.er1 >conftest.err
94887 rm -f conftest.er1
94888 cat conftest.err >&5
94889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94890 (exit $ac_status); } &&
94891 { ac_try='test -z "$ac_c_werror_flag"
94892 || test ! -s conftest.err'
94893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94894 (eval $ac_try) 2>&5
94895 ac_status=$?
94896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94897 (exit $ac_status); }; } &&
94898 { ac_try='test -s conftest$ac_exeext'
94899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94900 (eval $ac_try) 2>&5
94901 ac_status=$?
94902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94903 (exit $ac_status); }; }; then
94904 eval "$as_ac_var=yes"
94905 else
94906 echo "$as_me: failed program was:" >&5
94907 sed 's/^/| /' conftest.$ac_ext >&5
94909 eval "$as_ac_var=no"
94911 rm -f conftest.err conftest.$ac_objext \
94912 conftest$ac_exeext conftest.$ac_ext
94914 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94915 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94916 if test `eval echo '${'$as_ac_var'}'` = yes; then
94917 cat >>confdefs.h <<_ACEOF
94918 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94919 _ACEOF
94922 done
94932 echo "$as_me:$LINENO: checking for logf declaration" >&5
94933 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
94934 if test x${glibcxx_cv_func_logf_use+set} != xset; then
94935 if test "${glibcxx_cv_func_logf_use+set}" = set; then
94936 echo $ECHO_N "(cached) $ECHO_C" >&6
94937 else
94941 ac_ext=cc
94942 ac_cpp='$CXXCPP $CPPFLAGS'
94943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94947 cat >conftest.$ac_ext <<_ACEOF
94948 /* confdefs.h. */
94949 _ACEOF
94950 cat confdefs.h >>conftest.$ac_ext
94951 cat >>conftest.$ac_ext <<_ACEOF
94952 /* end confdefs.h. */
94953 #include <math.h>
94954 #ifdef HAVE_IEEEFP_H
94955 #include <ieeefp.h>
94956 #endif
94959 main ()
94961 logf(0);
94963 return 0;
94965 _ACEOF
94966 rm -f conftest.$ac_objext
94967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94968 (eval $ac_compile) 2>conftest.er1
94969 ac_status=$?
94970 grep -v '^ *+' conftest.er1 >conftest.err
94971 rm -f conftest.er1
94972 cat conftest.err >&5
94973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94974 (exit $ac_status); } &&
94975 { ac_try='test -z "$ac_cxx_werror_flag"
94976 || test ! -s conftest.err'
94977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94978 (eval $ac_try) 2>&5
94979 ac_status=$?
94980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94981 (exit $ac_status); }; } &&
94982 { ac_try='test -s conftest.$ac_objext'
94983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94984 (eval $ac_try) 2>&5
94985 ac_status=$?
94986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94987 (exit $ac_status); }; }; then
94988 glibcxx_cv_func_logf_use=yes
94989 else
94990 echo "$as_me: failed program was:" >&5
94991 sed 's/^/| /' conftest.$ac_ext >&5
94993 glibcxx_cv_func_logf_use=no
94995 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94996 ac_ext=c
94997 ac_cpp='$CPP $CPPFLAGS'
94998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95006 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
95007 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
95009 if test x$glibcxx_cv_func_logf_use = x"yes"; then
95011 for ac_func in logf
95013 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95014 echo "$as_me:$LINENO: checking for $ac_func" >&5
95015 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95016 if eval "test \"\${$as_ac_var+set}\" = set"; then
95017 echo $ECHO_N "(cached) $ECHO_C" >&6
95018 else
95019 if test x$gcc_no_link = xyes; then
95020 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95021 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95022 { (exit 1); exit 1; }; }
95024 cat >conftest.$ac_ext <<_ACEOF
95025 /* confdefs.h. */
95026 _ACEOF
95027 cat confdefs.h >>conftest.$ac_ext
95028 cat >>conftest.$ac_ext <<_ACEOF
95029 /* end confdefs.h. */
95030 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95031 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95032 #define $ac_func innocuous_$ac_func
95034 /* System header to define __stub macros and hopefully few prototypes,
95035 which can conflict with char $ac_func (); below.
95036 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95037 <limits.h> exists even on freestanding compilers. */
95039 #ifdef __STDC__
95040 # include <limits.h>
95041 #else
95042 # include <assert.h>
95043 #endif
95045 #undef $ac_func
95047 /* Override any gcc2 internal prototype to avoid an error. */
95048 #ifdef __cplusplus
95049 extern "C"
95051 #endif
95052 /* We use char because int might match the return type of a gcc2
95053 builtin and then its argument prototype would still apply. */
95054 char $ac_func ();
95055 /* The GNU C library defines this for functions which it implements
95056 to always fail with ENOSYS. Some functions are actually named
95057 something starting with __ and the normal name is an alias. */
95058 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95059 choke me
95060 #else
95061 char (*f) () = $ac_func;
95062 #endif
95063 #ifdef __cplusplus
95065 #endif
95068 main ()
95070 return f != $ac_func;
95072 return 0;
95074 _ACEOF
95075 rm -f conftest.$ac_objext conftest$ac_exeext
95076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95077 (eval $ac_link) 2>conftest.er1
95078 ac_status=$?
95079 grep -v '^ *+' conftest.er1 >conftest.err
95080 rm -f conftest.er1
95081 cat conftest.err >&5
95082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95083 (exit $ac_status); } &&
95084 { ac_try='test -z "$ac_c_werror_flag"
95085 || test ! -s conftest.err'
95086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95087 (eval $ac_try) 2>&5
95088 ac_status=$?
95089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95090 (exit $ac_status); }; } &&
95091 { ac_try='test -s conftest$ac_exeext'
95092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95093 (eval $ac_try) 2>&5
95094 ac_status=$?
95095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95096 (exit $ac_status); }; }; then
95097 eval "$as_ac_var=yes"
95098 else
95099 echo "$as_me: failed program was:" >&5
95100 sed 's/^/| /' conftest.$ac_ext >&5
95102 eval "$as_ac_var=no"
95104 rm -f conftest.err conftest.$ac_objext \
95105 conftest$ac_exeext conftest.$ac_ext
95107 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95108 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95109 if test `eval echo '${'$as_ac_var'}'` = yes; then
95110 cat >>confdefs.h <<_ACEOF
95111 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95112 _ACEOF
95115 done
95117 else
95119 echo "$as_me:$LINENO: checking for _logf declaration" >&5
95120 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
95121 if test x${glibcxx_cv_func__logf_use+set} != xset; then
95122 if test "${glibcxx_cv_func__logf_use+set}" = set; then
95123 echo $ECHO_N "(cached) $ECHO_C" >&6
95124 else
95128 ac_ext=cc
95129 ac_cpp='$CXXCPP $CPPFLAGS'
95130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95134 cat >conftest.$ac_ext <<_ACEOF
95135 /* confdefs.h. */
95136 _ACEOF
95137 cat confdefs.h >>conftest.$ac_ext
95138 cat >>conftest.$ac_ext <<_ACEOF
95139 /* end confdefs.h. */
95140 #include <math.h>
95141 #ifdef HAVE_IEEEFP_H
95142 #include <ieeefp.h>
95143 #endif
95146 main ()
95148 _logf(0);
95150 return 0;
95152 _ACEOF
95153 rm -f conftest.$ac_objext
95154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95155 (eval $ac_compile) 2>conftest.er1
95156 ac_status=$?
95157 grep -v '^ *+' conftest.er1 >conftest.err
95158 rm -f conftest.er1
95159 cat conftest.err >&5
95160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95161 (exit $ac_status); } &&
95162 { ac_try='test -z "$ac_cxx_werror_flag"
95163 || test ! -s conftest.err'
95164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95165 (eval $ac_try) 2>&5
95166 ac_status=$?
95167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95168 (exit $ac_status); }; } &&
95169 { ac_try='test -s conftest.$ac_objext'
95170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95171 (eval $ac_try) 2>&5
95172 ac_status=$?
95173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95174 (exit $ac_status); }; }; then
95175 glibcxx_cv_func__logf_use=yes
95176 else
95177 echo "$as_me: failed program was:" >&5
95178 sed 's/^/| /' conftest.$ac_ext >&5
95180 glibcxx_cv_func__logf_use=no
95182 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95183 ac_ext=c
95184 ac_cpp='$CPP $CPPFLAGS'
95185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95193 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
95194 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
95196 if test x$glibcxx_cv_func__logf_use = x"yes"; then
95198 for ac_func in _logf
95200 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95201 echo "$as_me:$LINENO: checking for $ac_func" >&5
95202 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95203 if eval "test \"\${$as_ac_var+set}\" = set"; then
95204 echo $ECHO_N "(cached) $ECHO_C" >&6
95205 else
95206 if test x$gcc_no_link = xyes; then
95207 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95208 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95209 { (exit 1); exit 1; }; }
95211 cat >conftest.$ac_ext <<_ACEOF
95212 /* confdefs.h. */
95213 _ACEOF
95214 cat confdefs.h >>conftest.$ac_ext
95215 cat >>conftest.$ac_ext <<_ACEOF
95216 /* end confdefs.h. */
95217 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95218 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95219 #define $ac_func innocuous_$ac_func
95221 /* System header to define __stub macros and hopefully few prototypes,
95222 which can conflict with char $ac_func (); below.
95223 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95224 <limits.h> exists even on freestanding compilers. */
95226 #ifdef __STDC__
95227 # include <limits.h>
95228 #else
95229 # include <assert.h>
95230 #endif
95232 #undef $ac_func
95234 /* Override any gcc2 internal prototype to avoid an error. */
95235 #ifdef __cplusplus
95236 extern "C"
95238 #endif
95239 /* We use char because int might match the return type of a gcc2
95240 builtin and then its argument prototype would still apply. */
95241 char $ac_func ();
95242 /* The GNU C library defines this for functions which it implements
95243 to always fail with ENOSYS. Some functions are actually named
95244 something starting with __ and the normal name is an alias. */
95245 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95246 choke me
95247 #else
95248 char (*f) () = $ac_func;
95249 #endif
95250 #ifdef __cplusplus
95252 #endif
95255 main ()
95257 return f != $ac_func;
95259 return 0;
95261 _ACEOF
95262 rm -f conftest.$ac_objext conftest$ac_exeext
95263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95264 (eval $ac_link) 2>conftest.er1
95265 ac_status=$?
95266 grep -v '^ *+' conftest.er1 >conftest.err
95267 rm -f conftest.er1
95268 cat conftest.err >&5
95269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95270 (exit $ac_status); } &&
95271 { ac_try='test -z "$ac_c_werror_flag"
95272 || test ! -s conftest.err'
95273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95274 (eval $ac_try) 2>&5
95275 ac_status=$?
95276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95277 (exit $ac_status); }; } &&
95278 { ac_try='test -s conftest$ac_exeext'
95279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95280 (eval $ac_try) 2>&5
95281 ac_status=$?
95282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95283 (exit $ac_status); }; }; then
95284 eval "$as_ac_var=yes"
95285 else
95286 echo "$as_me: failed program was:" >&5
95287 sed 's/^/| /' conftest.$ac_ext >&5
95289 eval "$as_ac_var=no"
95291 rm -f conftest.err conftest.$ac_objext \
95292 conftest$ac_exeext conftest.$ac_ext
95294 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95295 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95296 if test `eval echo '${'$as_ac_var'}'` = yes; then
95297 cat >>confdefs.h <<_ACEOF
95298 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95299 _ACEOF
95302 done
95312 echo "$as_me:$LINENO: checking for log10f declaration" >&5
95313 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
95314 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
95315 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
95316 echo $ECHO_N "(cached) $ECHO_C" >&6
95317 else
95321 ac_ext=cc
95322 ac_cpp='$CXXCPP $CPPFLAGS'
95323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95327 cat >conftest.$ac_ext <<_ACEOF
95328 /* confdefs.h. */
95329 _ACEOF
95330 cat confdefs.h >>conftest.$ac_ext
95331 cat >>conftest.$ac_ext <<_ACEOF
95332 /* end confdefs.h. */
95333 #include <math.h>
95334 #ifdef HAVE_IEEEFP_H
95335 #include <ieeefp.h>
95336 #endif
95339 main ()
95341 log10f(0);
95343 return 0;
95345 _ACEOF
95346 rm -f conftest.$ac_objext
95347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95348 (eval $ac_compile) 2>conftest.er1
95349 ac_status=$?
95350 grep -v '^ *+' conftest.er1 >conftest.err
95351 rm -f conftest.er1
95352 cat conftest.err >&5
95353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95354 (exit $ac_status); } &&
95355 { ac_try='test -z "$ac_cxx_werror_flag"
95356 || test ! -s conftest.err'
95357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95358 (eval $ac_try) 2>&5
95359 ac_status=$?
95360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95361 (exit $ac_status); }; } &&
95362 { ac_try='test -s conftest.$ac_objext'
95363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95364 (eval $ac_try) 2>&5
95365 ac_status=$?
95366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95367 (exit $ac_status); }; }; then
95368 glibcxx_cv_func_log10f_use=yes
95369 else
95370 echo "$as_me: failed program was:" >&5
95371 sed 's/^/| /' conftest.$ac_ext >&5
95373 glibcxx_cv_func_log10f_use=no
95375 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95376 ac_ext=c
95377 ac_cpp='$CPP $CPPFLAGS'
95378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95386 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
95387 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
95389 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
95391 for ac_func in log10f
95393 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95394 echo "$as_me:$LINENO: checking for $ac_func" >&5
95395 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95396 if eval "test \"\${$as_ac_var+set}\" = set"; then
95397 echo $ECHO_N "(cached) $ECHO_C" >&6
95398 else
95399 if test x$gcc_no_link = xyes; then
95400 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95401 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95402 { (exit 1); exit 1; }; }
95404 cat >conftest.$ac_ext <<_ACEOF
95405 /* confdefs.h. */
95406 _ACEOF
95407 cat confdefs.h >>conftest.$ac_ext
95408 cat >>conftest.$ac_ext <<_ACEOF
95409 /* end confdefs.h. */
95410 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95411 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95412 #define $ac_func innocuous_$ac_func
95414 /* System header to define __stub macros and hopefully few prototypes,
95415 which can conflict with char $ac_func (); below.
95416 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95417 <limits.h> exists even on freestanding compilers. */
95419 #ifdef __STDC__
95420 # include <limits.h>
95421 #else
95422 # include <assert.h>
95423 #endif
95425 #undef $ac_func
95427 /* Override any gcc2 internal prototype to avoid an error. */
95428 #ifdef __cplusplus
95429 extern "C"
95431 #endif
95432 /* We use char because int might match the return type of a gcc2
95433 builtin and then its argument prototype would still apply. */
95434 char $ac_func ();
95435 /* The GNU C library defines this for functions which it implements
95436 to always fail with ENOSYS. Some functions are actually named
95437 something starting with __ and the normal name is an alias. */
95438 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95439 choke me
95440 #else
95441 char (*f) () = $ac_func;
95442 #endif
95443 #ifdef __cplusplus
95445 #endif
95448 main ()
95450 return f != $ac_func;
95452 return 0;
95454 _ACEOF
95455 rm -f conftest.$ac_objext conftest$ac_exeext
95456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95457 (eval $ac_link) 2>conftest.er1
95458 ac_status=$?
95459 grep -v '^ *+' conftest.er1 >conftest.err
95460 rm -f conftest.er1
95461 cat conftest.err >&5
95462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95463 (exit $ac_status); } &&
95464 { ac_try='test -z "$ac_c_werror_flag"
95465 || test ! -s conftest.err'
95466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95467 (eval $ac_try) 2>&5
95468 ac_status=$?
95469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95470 (exit $ac_status); }; } &&
95471 { ac_try='test -s conftest$ac_exeext'
95472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95473 (eval $ac_try) 2>&5
95474 ac_status=$?
95475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95476 (exit $ac_status); }; }; then
95477 eval "$as_ac_var=yes"
95478 else
95479 echo "$as_me: failed program was:" >&5
95480 sed 's/^/| /' conftest.$ac_ext >&5
95482 eval "$as_ac_var=no"
95484 rm -f conftest.err conftest.$ac_objext \
95485 conftest$ac_exeext conftest.$ac_ext
95487 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95488 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95489 if test `eval echo '${'$as_ac_var'}'` = yes; then
95490 cat >>confdefs.h <<_ACEOF
95491 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95492 _ACEOF
95495 done
95497 else
95499 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
95500 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
95501 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
95502 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
95503 echo $ECHO_N "(cached) $ECHO_C" >&6
95504 else
95508 ac_ext=cc
95509 ac_cpp='$CXXCPP $CPPFLAGS'
95510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95514 cat >conftest.$ac_ext <<_ACEOF
95515 /* confdefs.h. */
95516 _ACEOF
95517 cat confdefs.h >>conftest.$ac_ext
95518 cat >>conftest.$ac_ext <<_ACEOF
95519 /* end confdefs.h. */
95520 #include <math.h>
95521 #ifdef HAVE_IEEEFP_H
95522 #include <ieeefp.h>
95523 #endif
95526 main ()
95528 _log10f(0);
95530 return 0;
95532 _ACEOF
95533 rm -f conftest.$ac_objext
95534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95535 (eval $ac_compile) 2>conftest.er1
95536 ac_status=$?
95537 grep -v '^ *+' conftest.er1 >conftest.err
95538 rm -f conftest.er1
95539 cat conftest.err >&5
95540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95541 (exit $ac_status); } &&
95542 { ac_try='test -z "$ac_cxx_werror_flag"
95543 || test ! -s conftest.err'
95544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95545 (eval $ac_try) 2>&5
95546 ac_status=$?
95547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95548 (exit $ac_status); }; } &&
95549 { ac_try='test -s conftest.$ac_objext'
95550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95551 (eval $ac_try) 2>&5
95552 ac_status=$?
95553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95554 (exit $ac_status); }; }; then
95555 glibcxx_cv_func__log10f_use=yes
95556 else
95557 echo "$as_me: failed program was:" >&5
95558 sed 's/^/| /' conftest.$ac_ext >&5
95560 glibcxx_cv_func__log10f_use=no
95562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95563 ac_ext=c
95564 ac_cpp='$CPP $CPPFLAGS'
95565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95573 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
95574 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
95576 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
95578 for ac_func in _log10f
95580 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95581 echo "$as_me:$LINENO: checking for $ac_func" >&5
95582 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95583 if eval "test \"\${$as_ac_var+set}\" = set"; then
95584 echo $ECHO_N "(cached) $ECHO_C" >&6
95585 else
95586 if test x$gcc_no_link = xyes; then
95587 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95588 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95589 { (exit 1); exit 1; }; }
95591 cat >conftest.$ac_ext <<_ACEOF
95592 /* confdefs.h. */
95593 _ACEOF
95594 cat confdefs.h >>conftest.$ac_ext
95595 cat >>conftest.$ac_ext <<_ACEOF
95596 /* end confdefs.h. */
95597 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95598 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95599 #define $ac_func innocuous_$ac_func
95601 /* System header to define __stub macros and hopefully few prototypes,
95602 which can conflict with char $ac_func (); below.
95603 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95604 <limits.h> exists even on freestanding compilers. */
95606 #ifdef __STDC__
95607 # include <limits.h>
95608 #else
95609 # include <assert.h>
95610 #endif
95612 #undef $ac_func
95614 /* Override any gcc2 internal prototype to avoid an error. */
95615 #ifdef __cplusplus
95616 extern "C"
95618 #endif
95619 /* We use char because int might match the return type of a gcc2
95620 builtin and then its argument prototype would still apply. */
95621 char $ac_func ();
95622 /* The GNU C library defines this for functions which it implements
95623 to always fail with ENOSYS. Some functions are actually named
95624 something starting with __ and the normal name is an alias. */
95625 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95626 choke me
95627 #else
95628 char (*f) () = $ac_func;
95629 #endif
95630 #ifdef __cplusplus
95632 #endif
95635 main ()
95637 return f != $ac_func;
95639 return 0;
95641 _ACEOF
95642 rm -f conftest.$ac_objext conftest$ac_exeext
95643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95644 (eval $ac_link) 2>conftest.er1
95645 ac_status=$?
95646 grep -v '^ *+' conftest.er1 >conftest.err
95647 rm -f conftest.er1
95648 cat conftest.err >&5
95649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95650 (exit $ac_status); } &&
95651 { ac_try='test -z "$ac_c_werror_flag"
95652 || test ! -s conftest.err'
95653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95654 (eval $ac_try) 2>&5
95655 ac_status=$?
95656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95657 (exit $ac_status); }; } &&
95658 { ac_try='test -s conftest$ac_exeext'
95659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95660 (eval $ac_try) 2>&5
95661 ac_status=$?
95662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95663 (exit $ac_status); }; }; then
95664 eval "$as_ac_var=yes"
95665 else
95666 echo "$as_me: failed program was:" >&5
95667 sed 's/^/| /' conftest.$ac_ext >&5
95669 eval "$as_ac_var=no"
95671 rm -f conftest.err conftest.$ac_objext \
95672 conftest$ac_exeext conftest.$ac_ext
95674 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95675 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95676 if test `eval echo '${'$as_ac_var'}'` = yes; then
95677 cat >>confdefs.h <<_ACEOF
95678 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95679 _ACEOF
95682 done
95692 echo "$as_me:$LINENO: checking for modff declaration" >&5
95693 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
95694 if test x${glibcxx_cv_func_modff_use+set} != xset; then
95695 if test "${glibcxx_cv_func_modff_use+set}" = set; then
95696 echo $ECHO_N "(cached) $ECHO_C" >&6
95697 else
95701 ac_ext=cc
95702 ac_cpp='$CXXCPP $CPPFLAGS'
95703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95707 cat >conftest.$ac_ext <<_ACEOF
95708 /* confdefs.h. */
95709 _ACEOF
95710 cat confdefs.h >>conftest.$ac_ext
95711 cat >>conftest.$ac_ext <<_ACEOF
95712 /* end confdefs.h. */
95713 #include <math.h>
95715 main ()
95717 modff(0, 0);
95719 return 0;
95721 _ACEOF
95722 rm -f conftest.$ac_objext
95723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95724 (eval $ac_compile) 2>conftest.er1
95725 ac_status=$?
95726 grep -v '^ *+' conftest.er1 >conftest.err
95727 rm -f conftest.er1
95728 cat conftest.err >&5
95729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95730 (exit $ac_status); } &&
95731 { ac_try='test -z "$ac_cxx_werror_flag"
95732 || test ! -s conftest.err'
95733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95734 (eval $ac_try) 2>&5
95735 ac_status=$?
95736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95737 (exit $ac_status); }; } &&
95738 { ac_try='test -s conftest.$ac_objext'
95739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95740 (eval $ac_try) 2>&5
95741 ac_status=$?
95742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95743 (exit $ac_status); }; }; then
95744 glibcxx_cv_func_modff_use=yes
95745 else
95746 echo "$as_me: failed program was:" >&5
95747 sed 's/^/| /' conftest.$ac_ext >&5
95749 glibcxx_cv_func_modff_use=no
95751 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95752 ac_ext=c
95753 ac_cpp='$CPP $CPPFLAGS'
95754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95762 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
95763 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
95765 if test x$glibcxx_cv_func_modff_use = x"yes"; then
95767 for ac_func in modff
95769 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95770 echo "$as_me:$LINENO: checking for $ac_func" >&5
95771 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95772 if eval "test \"\${$as_ac_var+set}\" = set"; then
95773 echo $ECHO_N "(cached) $ECHO_C" >&6
95774 else
95775 if test x$gcc_no_link = xyes; then
95776 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95777 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95778 { (exit 1); exit 1; }; }
95780 cat >conftest.$ac_ext <<_ACEOF
95781 /* confdefs.h. */
95782 _ACEOF
95783 cat confdefs.h >>conftest.$ac_ext
95784 cat >>conftest.$ac_ext <<_ACEOF
95785 /* end confdefs.h. */
95786 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95787 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95788 #define $ac_func innocuous_$ac_func
95790 /* System header to define __stub macros and hopefully few prototypes,
95791 which can conflict with char $ac_func (); below.
95792 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95793 <limits.h> exists even on freestanding compilers. */
95795 #ifdef __STDC__
95796 # include <limits.h>
95797 #else
95798 # include <assert.h>
95799 #endif
95801 #undef $ac_func
95803 /* Override any gcc2 internal prototype to avoid an error. */
95804 #ifdef __cplusplus
95805 extern "C"
95807 #endif
95808 /* We use char because int might match the return type of a gcc2
95809 builtin and then its argument prototype would still apply. */
95810 char $ac_func ();
95811 /* The GNU C library defines this for functions which it implements
95812 to always fail with ENOSYS. Some functions are actually named
95813 something starting with __ and the normal name is an alias. */
95814 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95815 choke me
95816 #else
95817 char (*f) () = $ac_func;
95818 #endif
95819 #ifdef __cplusplus
95821 #endif
95824 main ()
95826 return f != $ac_func;
95828 return 0;
95830 _ACEOF
95831 rm -f conftest.$ac_objext conftest$ac_exeext
95832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95833 (eval $ac_link) 2>conftest.er1
95834 ac_status=$?
95835 grep -v '^ *+' conftest.er1 >conftest.err
95836 rm -f conftest.er1
95837 cat conftest.err >&5
95838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95839 (exit $ac_status); } &&
95840 { ac_try='test -z "$ac_c_werror_flag"
95841 || test ! -s conftest.err'
95842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95843 (eval $ac_try) 2>&5
95844 ac_status=$?
95845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95846 (exit $ac_status); }; } &&
95847 { ac_try='test -s conftest$ac_exeext'
95848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95849 (eval $ac_try) 2>&5
95850 ac_status=$?
95851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95852 (exit $ac_status); }; }; then
95853 eval "$as_ac_var=yes"
95854 else
95855 echo "$as_me: failed program was:" >&5
95856 sed 's/^/| /' conftest.$ac_ext >&5
95858 eval "$as_ac_var=no"
95860 rm -f conftest.err conftest.$ac_objext \
95861 conftest$ac_exeext conftest.$ac_ext
95863 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95864 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95865 if test `eval echo '${'$as_ac_var'}'` = yes; then
95866 cat >>confdefs.h <<_ACEOF
95867 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95868 _ACEOF
95871 done
95873 else
95875 echo "$as_me:$LINENO: checking for _modff declaration" >&5
95876 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
95877 if test x${glibcxx_cv_func__modff_use+set} != xset; then
95878 if test "${glibcxx_cv_func__modff_use+set}" = set; then
95879 echo $ECHO_N "(cached) $ECHO_C" >&6
95880 else
95884 ac_ext=cc
95885 ac_cpp='$CXXCPP $CPPFLAGS'
95886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95890 cat >conftest.$ac_ext <<_ACEOF
95891 /* confdefs.h. */
95892 _ACEOF
95893 cat confdefs.h >>conftest.$ac_ext
95894 cat >>conftest.$ac_ext <<_ACEOF
95895 /* end confdefs.h. */
95896 #include <math.h>
95898 main ()
95900 _modff(0, 0);
95902 return 0;
95904 _ACEOF
95905 rm -f conftest.$ac_objext
95906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95907 (eval $ac_compile) 2>conftest.er1
95908 ac_status=$?
95909 grep -v '^ *+' conftest.er1 >conftest.err
95910 rm -f conftest.er1
95911 cat conftest.err >&5
95912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95913 (exit $ac_status); } &&
95914 { ac_try='test -z "$ac_cxx_werror_flag"
95915 || test ! -s conftest.err'
95916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95917 (eval $ac_try) 2>&5
95918 ac_status=$?
95919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95920 (exit $ac_status); }; } &&
95921 { ac_try='test -s conftest.$ac_objext'
95922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95923 (eval $ac_try) 2>&5
95924 ac_status=$?
95925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95926 (exit $ac_status); }; }; then
95927 glibcxx_cv_func__modff_use=yes
95928 else
95929 echo "$as_me: failed program was:" >&5
95930 sed 's/^/| /' conftest.$ac_ext >&5
95932 glibcxx_cv_func__modff_use=no
95934 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95935 ac_ext=c
95936 ac_cpp='$CPP $CPPFLAGS'
95937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95945 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
95946 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
95948 if test x$glibcxx_cv_func__modff_use = x"yes"; then
95950 for ac_func in _modff
95952 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95953 echo "$as_me:$LINENO: checking for $ac_func" >&5
95954 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95955 if eval "test \"\${$as_ac_var+set}\" = set"; then
95956 echo $ECHO_N "(cached) $ECHO_C" >&6
95957 else
95958 if test x$gcc_no_link = xyes; then
95959 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95960 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95961 { (exit 1); exit 1; }; }
95963 cat >conftest.$ac_ext <<_ACEOF
95964 /* confdefs.h. */
95965 _ACEOF
95966 cat confdefs.h >>conftest.$ac_ext
95967 cat >>conftest.$ac_ext <<_ACEOF
95968 /* end confdefs.h. */
95969 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95970 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95971 #define $ac_func innocuous_$ac_func
95973 /* System header to define __stub macros and hopefully few prototypes,
95974 which can conflict with char $ac_func (); below.
95975 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95976 <limits.h> exists even on freestanding compilers. */
95978 #ifdef __STDC__
95979 # include <limits.h>
95980 #else
95981 # include <assert.h>
95982 #endif
95984 #undef $ac_func
95986 /* Override any gcc2 internal prototype to avoid an error. */
95987 #ifdef __cplusplus
95988 extern "C"
95990 #endif
95991 /* We use char because int might match the return type of a gcc2
95992 builtin and then its argument prototype would still apply. */
95993 char $ac_func ();
95994 /* The GNU C library defines this for functions which it implements
95995 to always fail with ENOSYS. Some functions are actually named
95996 something starting with __ and the normal name is an alias. */
95997 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95998 choke me
95999 #else
96000 char (*f) () = $ac_func;
96001 #endif
96002 #ifdef __cplusplus
96004 #endif
96007 main ()
96009 return f != $ac_func;
96011 return 0;
96013 _ACEOF
96014 rm -f conftest.$ac_objext conftest$ac_exeext
96015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96016 (eval $ac_link) 2>conftest.er1
96017 ac_status=$?
96018 grep -v '^ *+' conftest.er1 >conftest.err
96019 rm -f conftest.er1
96020 cat conftest.err >&5
96021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96022 (exit $ac_status); } &&
96023 { ac_try='test -z "$ac_c_werror_flag"
96024 || test ! -s conftest.err'
96025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96026 (eval $ac_try) 2>&5
96027 ac_status=$?
96028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96029 (exit $ac_status); }; } &&
96030 { ac_try='test -s conftest$ac_exeext'
96031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96032 (eval $ac_try) 2>&5
96033 ac_status=$?
96034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96035 (exit $ac_status); }; }; then
96036 eval "$as_ac_var=yes"
96037 else
96038 echo "$as_me: failed program was:" >&5
96039 sed 's/^/| /' conftest.$ac_ext >&5
96041 eval "$as_ac_var=no"
96043 rm -f conftest.err conftest.$ac_objext \
96044 conftest$ac_exeext conftest.$ac_ext
96046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96047 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96048 if test `eval echo '${'$as_ac_var'}'` = yes; then
96049 cat >>confdefs.h <<_ACEOF
96050 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96051 _ACEOF
96054 done
96064 echo "$as_me:$LINENO: checking for modf declaration" >&5
96065 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
96066 if test x${glibcxx_cv_func_modf_use+set} != xset; then
96067 if test "${glibcxx_cv_func_modf_use+set}" = set; then
96068 echo $ECHO_N "(cached) $ECHO_C" >&6
96069 else
96073 ac_ext=cc
96074 ac_cpp='$CXXCPP $CPPFLAGS'
96075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96079 cat >conftest.$ac_ext <<_ACEOF
96080 /* confdefs.h. */
96081 _ACEOF
96082 cat confdefs.h >>conftest.$ac_ext
96083 cat >>conftest.$ac_ext <<_ACEOF
96084 /* end confdefs.h. */
96085 #include <math.h>
96087 main ()
96089 modf(0, 0);
96091 return 0;
96093 _ACEOF
96094 rm -f conftest.$ac_objext
96095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96096 (eval $ac_compile) 2>conftest.er1
96097 ac_status=$?
96098 grep -v '^ *+' conftest.er1 >conftest.err
96099 rm -f conftest.er1
96100 cat conftest.err >&5
96101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96102 (exit $ac_status); } &&
96103 { ac_try='test -z "$ac_cxx_werror_flag"
96104 || test ! -s conftest.err'
96105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96106 (eval $ac_try) 2>&5
96107 ac_status=$?
96108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96109 (exit $ac_status); }; } &&
96110 { ac_try='test -s conftest.$ac_objext'
96111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96112 (eval $ac_try) 2>&5
96113 ac_status=$?
96114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96115 (exit $ac_status); }; }; then
96116 glibcxx_cv_func_modf_use=yes
96117 else
96118 echo "$as_me: failed program was:" >&5
96119 sed 's/^/| /' conftest.$ac_ext >&5
96121 glibcxx_cv_func_modf_use=no
96123 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96124 ac_ext=c
96125 ac_cpp='$CPP $CPPFLAGS'
96126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96134 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
96135 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
96137 if test x$glibcxx_cv_func_modf_use = x"yes"; then
96139 for ac_func in modf
96141 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96142 echo "$as_me:$LINENO: checking for $ac_func" >&5
96143 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96144 if eval "test \"\${$as_ac_var+set}\" = set"; then
96145 echo $ECHO_N "(cached) $ECHO_C" >&6
96146 else
96147 if test x$gcc_no_link = xyes; then
96148 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96149 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96150 { (exit 1); exit 1; }; }
96152 cat >conftest.$ac_ext <<_ACEOF
96153 /* confdefs.h. */
96154 _ACEOF
96155 cat confdefs.h >>conftest.$ac_ext
96156 cat >>conftest.$ac_ext <<_ACEOF
96157 /* end confdefs.h. */
96158 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96159 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96160 #define $ac_func innocuous_$ac_func
96162 /* System header to define __stub macros and hopefully few prototypes,
96163 which can conflict with char $ac_func (); below.
96164 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96165 <limits.h> exists even on freestanding compilers. */
96167 #ifdef __STDC__
96168 # include <limits.h>
96169 #else
96170 # include <assert.h>
96171 #endif
96173 #undef $ac_func
96175 /* Override any gcc2 internal prototype to avoid an error. */
96176 #ifdef __cplusplus
96177 extern "C"
96179 #endif
96180 /* We use char because int might match the return type of a gcc2
96181 builtin and then its argument prototype would still apply. */
96182 char $ac_func ();
96183 /* The GNU C library defines this for functions which it implements
96184 to always fail with ENOSYS. Some functions are actually named
96185 something starting with __ and the normal name is an alias. */
96186 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96187 choke me
96188 #else
96189 char (*f) () = $ac_func;
96190 #endif
96191 #ifdef __cplusplus
96193 #endif
96196 main ()
96198 return f != $ac_func;
96200 return 0;
96202 _ACEOF
96203 rm -f conftest.$ac_objext conftest$ac_exeext
96204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96205 (eval $ac_link) 2>conftest.er1
96206 ac_status=$?
96207 grep -v '^ *+' conftest.er1 >conftest.err
96208 rm -f conftest.er1
96209 cat conftest.err >&5
96210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96211 (exit $ac_status); } &&
96212 { ac_try='test -z "$ac_c_werror_flag"
96213 || test ! -s conftest.err'
96214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96215 (eval $ac_try) 2>&5
96216 ac_status=$?
96217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96218 (exit $ac_status); }; } &&
96219 { ac_try='test -s conftest$ac_exeext'
96220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96221 (eval $ac_try) 2>&5
96222 ac_status=$?
96223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96224 (exit $ac_status); }; }; then
96225 eval "$as_ac_var=yes"
96226 else
96227 echo "$as_me: failed program was:" >&5
96228 sed 's/^/| /' conftest.$ac_ext >&5
96230 eval "$as_ac_var=no"
96232 rm -f conftest.err conftest.$ac_objext \
96233 conftest$ac_exeext conftest.$ac_ext
96235 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96236 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96237 if test `eval echo '${'$as_ac_var'}'` = yes; then
96238 cat >>confdefs.h <<_ACEOF
96239 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96240 _ACEOF
96243 done
96245 else
96247 echo "$as_me:$LINENO: checking for _modf declaration" >&5
96248 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
96249 if test x${glibcxx_cv_func__modf_use+set} != xset; then
96250 if test "${glibcxx_cv_func__modf_use+set}" = set; then
96251 echo $ECHO_N "(cached) $ECHO_C" >&6
96252 else
96256 ac_ext=cc
96257 ac_cpp='$CXXCPP $CPPFLAGS'
96258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96262 cat >conftest.$ac_ext <<_ACEOF
96263 /* confdefs.h. */
96264 _ACEOF
96265 cat confdefs.h >>conftest.$ac_ext
96266 cat >>conftest.$ac_ext <<_ACEOF
96267 /* end confdefs.h. */
96268 #include <math.h>
96270 main ()
96272 _modf(0, 0);
96274 return 0;
96276 _ACEOF
96277 rm -f conftest.$ac_objext
96278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96279 (eval $ac_compile) 2>conftest.er1
96280 ac_status=$?
96281 grep -v '^ *+' conftest.er1 >conftest.err
96282 rm -f conftest.er1
96283 cat conftest.err >&5
96284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96285 (exit $ac_status); } &&
96286 { ac_try='test -z "$ac_cxx_werror_flag"
96287 || test ! -s conftest.err'
96288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96289 (eval $ac_try) 2>&5
96290 ac_status=$?
96291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96292 (exit $ac_status); }; } &&
96293 { ac_try='test -s conftest.$ac_objext'
96294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96295 (eval $ac_try) 2>&5
96296 ac_status=$?
96297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96298 (exit $ac_status); }; }; then
96299 glibcxx_cv_func__modf_use=yes
96300 else
96301 echo "$as_me: failed program was:" >&5
96302 sed 's/^/| /' conftest.$ac_ext >&5
96304 glibcxx_cv_func__modf_use=no
96306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96307 ac_ext=c
96308 ac_cpp='$CPP $CPPFLAGS'
96309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96317 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
96318 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
96320 if test x$glibcxx_cv_func__modf_use = x"yes"; then
96322 for ac_func in _modf
96324 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96325 echo "$as_me:$LINENO: checking for $ac_func" >&5
96326 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96327 if eval "test \"\${$as_ac_var+set}\" = set"; then
96328 echo $ECHO_N "(cached) $ECHO_C" >&6
96329 else
96330 if test x$gcc_no_link = xyes; then
96331 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96332 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96333 { (exit 1); exit 1; }; }
96335 cat >conftest.$ac_ext <<_ACEOF
96336 /* confdefs.h. */
96337 _ACEOF
96338 cat confdefs.h >>conftest.$ac_ext
96339 cat >>conftest.$ac_ext <<_ACEOF
96340 /* end confdefs.h. */
96341 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96342 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96343 #define $ac_func innocuous_$ac_func
96345 /* System header to define __stub macros and hopefully few prototypes,
96346 which can conflict with char $ac_func (); below.
96347 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96348 <limits.h> exists even on freestanding compilers. */
96350 #ifdef __STDC__
96351 # include <limits.h>
96352 #else
96353 # include <assert.h>
96354 #endif
96356 #undef $ac_func
96358 /* Override any gcc2 internal prototype to avoid an error. */
96359 #ifdef __cplusplus
96360 extern "C"
96362 #endif
96363 /* We use char because int might match the return type of a gcc2
96364 builtin and then its argument prototype would still apply. */
96365 char $ac_func ();
96366 /* The GNU C library defines this for functions which it implements
96367 to always fail with ENOSYS. Some functions are actually named
96368 something starting with __ and the normal name is an alias. */
96369 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96370 choke me
96371 #else
96372 char (*f) () = $ac_func;
96373 #endif
96374 #ifdef __cplusplus
96376 #endif
96379 main ()
96381 return f != $ac_func;
96383 return 0;
96385 _ACEOF
96386 rm -f conftest.$ac_objext conftest$ac_exeext
96387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96388 (eval $ac_link) 2>conftest.er1
96389 ac_status=$?
96390 grep -v '^ *+' conftest.er1 >conftest.err
96391 rm -f conftest.er1
96392 cat conftest.err >&5
96393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96394 (exit $ac_status); } &&
96395 { ac_try='test -z "$ac_c_werror_flag"
96396 || test ! -s conftest.err'
96397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96398 (eval $ac_try) 2>&5
96399 ac_status=$?
96400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96401 (exit $ac_status); }; } &&
96402 { ac_try='test -s conftest$ac_exeext'
96403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96404 (eval $ac_try) 2>&5
96405 ac_status=$?
96406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96407 (exit $ac_status); }; }; then
96408 eval "$as_ac_var=yes"
96409 else
96410 echo "$as_me: failed program was:" >&5
96411 sed 's/^/| /' conftest.$ac_ext >&5
96413 eval "$as_ac_var=no"
96415 rm -f conftest.err conftest.$ac_objext \
96416 conftest$ac_exeext conftest.$ac_ext
96418 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96419 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96420 if test `eval echo '${'$as_ac_var'}'` = yes; then
96421 cat >>confdefs.h <<_ACEOF
96422 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96423 _ACEOF
96426 done
96436 echo "$as_me:$LINENO: checking for powf declaration" >&5
96437 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
96438 if test x${glibcxx_cv_func_powf_use+set} != xset; then
96439 if test "${glibcxx_cv_func_powf_use+set}" = set; then
96440 echo $ECHO_N "(cached) $ECHO_C" >&6
96441 else
96445 ac_ext=cc
96446 ac_cpp='$CXXCPP $CPPFLAGS'
96447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96451 cat >conftest.$ac_ext <<_ACEOF
96452 /* confdefs.h. */
96453 _ACEOF
96454 cat confdefs.h >>conftest.$ac_ext
96455 cat >>conftest.$ac_ext <<_ACEOF
96456 /* end confdefs.h. */
96457 #include <math.h>
96459 main ()
96461 powf(0, 0);
96463 return 0;
96465 _ACEOF
96466 rm -f conftest.$ac_objext
96467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96468 (eval $ac_compile) 2>conftest.er1
96469 ac_status=$?
96470 grep -v '^ *+' conftest.er1 >conftest.err
96471 rm -f conftest.er1
96472 cat conftest.err >&5
96473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96474 (exit $ac_status); } &&
96475 { ac_try='test -z "$ac_cxx_werror_flag"
96476 || test ! -s conftest.err'
96477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96478 (eval $ac_try) 2>&5
96479 ac_status=$?
96480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96481 (exit $ac_status); }; } &&
96482 { ac_try='test -s conftest.$ac_objext'
96483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96484 (eval $ac_try) 2>&5
96485 ac_status=$?
96486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96487 (exit $ac_status); }; }; then
96488 glibcxx_cv_func_powf_use=yes
96489 else
96490 echo "$as_me: failed program was:" >&5
96491 sed 's/^/| /' conftest.$ac_ext >&5
96493 glibcxx_cv_func_powf_use=no
96495 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96496 ac_ext=c
96497 ac_cpp='$CPP $CPPFLAGS'
96498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96506 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
96507 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
96509 if test x$glibcxx_cv_func_powf_use = x"yes"; then
96511 for ac_func in powf
96513 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96514 echo "$as_me:$LINENO: checking for $ac_func" >&5
96515 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96516 if eval "test \"\${$as_ac_var+set}\" = set"; then
96517 echo $ECHO_N "(cached) $ECHO_C" >&6
96518 else
96519 if test x$gcc_no_link = xyes; then
96520 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96521 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96522 { (exit 1); exit 1; }; }
96524 cat >conftest.$ac_ext <<_ACEOF
96525 /* confdefs.h. */
96526 _ACEOF
96527 cat confdefs.h >>conftest.$ac_ext
96528 cat >>conftest.$ac_ext <<_ACEOF
96529 /* end confdefs.h. */
96530 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96531 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96532 #define $ac_func innocuous_$ac_func
96534 /* System header to define __stub macros and hopefully few prototypes,
96535 which can conflict with char $ac_func (); below.
96536 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96537 <limits.h> exists even on freestanding compilers. */
96539 #ifdef __STDC__
96540 # include <limits.h>
96541 #else
96542 # include <assert.h>
96543 #endif
96545 #undef $ac_func
96547 /* Override any gcc2 internal prototype to avoid an error. */
96548 #ifdef __cplusplus
96549 extern "C"
96551 #endif
96552 /* We use char because int might match the return type of a gcc2
96553 builtin and then its argument prototype would still apply. */
96554 char $ac_func ();
96555 /* The GNU C library defines this for functions which it implements
96556 to always fail with ENOSYS. Some functions are actually named
96557 something starting with __ and the normal name is an alias. */
96558 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96559 choke me
96560 #else
96561 char (*f) () = $ac_func;
96562 #endif
96563 #ifdef __cplusplus
96565 #endif
96568 main ()
96570 return f != $ac_func;
96572 return 0;
96574 _ACEOF
96575 rm -f conftest.$ac_objext conftest$ac_exeext
96576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96577 (eval $ac_link) 2>conftest.er1
96578 ac_status=$?
96579 grep -v '^ *+' conftest.er1 >conftest.err
96580 rm -f conftest.er1
96581 cat conftest.err >&5
96582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96583 (exit $ac_status); } &&
96584 { ac_try='test -z "$ac_c_werror_flag"
96585 || test ! -s conftest.err'
96586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96587 (eval $ac_try) 2>&5
96588 ac_status=$?
96589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96590 (exit $ac_status); }; } &&
96591 { ac_try='test -s conftest$ac_exeext'
96592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96593 (eval $ac_try) 2>&5
96594 ac_status=$?
96595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96596 (exit $ac_status); }; }; then
96597 eval "$as_ac_var=yes"
96598 else
96599 echo "$as_me: failed program was:" >&5
96600 sed 's/^/| /' conftest.$ac_ext >&5
96602 eval "$as_ac_var=no"
96604 rm -f conftest.err conftest.$ac_objext \
96605 conftest$ac_exeext conftest.$ac_ext
96607 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96608 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96609 if test `eval echo '${'$as_ac_var'}'` = yes; then
96610 cat >>confdefs.h <<_ACEOF
96611 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96612 _ACEOF
96615 done
96617 else
96619 echo "$as_me:$LINENO: checking for _powf declaration" >&5
96620 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
96621 if test x${glibcxx_cv_func__powf_use+set} != xset; then
96622 if test "${glibcxx_cv_func__powf_use+set}" = set; then
96623 echo $ECHO_N "(cached) $ECHO_C" >&6
96624 else
96628 ac_ext=cc
96629 ac_cpp='$CXXCPP $CPPFLAGS'
96630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96634 cat >conftest.$ac_ext <<_ACEOF
96635 /* confdefs.h. */
96636 _ACEOF
96637 cat confdefs.h >>conftest.$ac_ext
96638 cat >>conftest.$ac_ext <<_ACEOF
96639 /* end confdefs.h. */
96640 #include <math.h>
96642 main ()
96644 _powf(0, 0);
96646 return 0;
96648 _ACEOF
96649 rm -f conftest.$ac_objext
96650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96651 (eval $ac_compile) 2>conftest.er1
96652 ac_status=$?
96653 grep -v '^ *+' conftest.er1 >conftest.err
96654 rm -f conftest.er1
96655 cat conftest.err >&5
96656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96657 (exit $ac_status); } &&
96658 { ac_try='test -z "$ac_cxx_werror_flag"
96659 || test ! -s conftest.err'
96660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96661 (eval $ac_try) 2>&5
96662 ac_status=$?
96663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96664 (exit $ac_status); }; } &&
96665 { ac_try='test -s conftest.$ac_objext'
96666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96667 (eval $ac_try) 2>&5
96668 ac_status=$?
96669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96670 (exit $ac_status); }; }; then
96671 glibcxx_cv_func__powf_use=yes
96672 else
96673 echo "$as_me: failed program was:" >&5
96674 sed 's/^/| /' conftest.$ac_ext >&5
96676 glibcxx_cv_func__powf_use=no
96678 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96679 ac_ext=c
96680 ac_cpp='$CPP $CPPFLAGS'
96681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96689 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
96690 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
96692 if test x$glibcxx_cv_func__powf_use = x"yes"; then
96694 for ac_func in _powf
96696 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96697 echo "$as_me:$LINENO: checking for $ac_func" >&5
96698 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96699 if eval "test \"\${$as_ac_var+set}\" = set"; then
96700 echo $ECHO_N "(cached) $ECHO_C" >&6
96701 else
96702 if test x$gcc_no_link = xyes; then
96703 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96704 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96705 { (exit 1); exit 1; }; }
96707 cat >conftest.$ac_ext <<_ACEOF
96708 /* confdefs.h. */
96709 _ACEOF
96710 cat confdefs.h >>conftest.$ac_ext
96711 cat >>conftest.$ac_ext <<_ACEOF
96712 /* end confdefs.h. */
96713 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96714 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96715 #define $ac_func innocuous_$ac_func
96717 /* System header to define __stub macros and hopefully few prototypes,
96718 which can conflict with char $ac_func (); below.
96719 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96720 <limits.h> exists even on freestanding compilers. */
96722 #ifdef __STDC__
96723 # include <limits.h>
96724 #else
96725 # include <assert.h>
96726 #endif
96728 #undef $ac_func
96730 /* Override any gcc2 internal prototype to avoid an error. */
96731 #ifdef __cplusplus
96732 extern "C"
96734 #endif
96735 /* We use char because int might match the return type of a gcc2
96736 builtin and then its argument prototype would still apply. */
96737 char $ac_func ();
96738 /* The GNU C library defines this for functions which it implements
96739 to always fail with ENOSYS. Some functions are actually named
96740 something starting with __ and the normal name is an alias. */
96741 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96742 choke me
96743 #else
96744 char (*f) () = $ac_func;
96745 #endif
96746 #ifdef __cplusplus
96748 #endif
96751 main ()
96753 return f != $ac_func;
96755 return 0;
96757 _ACEOF
96758 rm -f conftest.$ac_objext conftest$ac_exeext
96759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96760 (eval $ac_link) 2>conftest.er1
96761 ac_status=$?
96762 grep -v '^ *+' conftest.er1 >conftest.err
96763 rm -f conftest.er1
96764 cat conftest.err >&5
96765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96766 (exit $ac_status); } &&
96767 { ac_try='test -z "$ac_c_werror_flag"
96768 || test ! -s conftest.err'
96769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96770 (eval $ac_try) 2>&5
96771 ac_status=$?
96772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96773 (exit $ac_status); }; } &&
96774 { ac_try='test -s conftest$ac_exeext'
96775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96776 (eval $ac_try) 2>&5
96777 ac_status=$?
96778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96779 (exit $ac_status); }; }; then
96780 eval "$as_ac_var=yes"
96781 else
96782 echo "$as_me: failed program was:" >&5
96783 sed 's/^/| /' conftest.$ac_ext >&5
96785 eval "$as_ac_var=no"
96787 rm -f conftest.err conftest.$ac_objext \
96788 conftest$ac_exeext conftest.$ac_ext
96790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96791 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96792 if test `eval echo '${'$as_ac_var'}'` = yes; then
96793 cat >>confdefs.h <<_ACEOF
96794 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96795 _ACEOF
96798 done
96808 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
96809 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
96810 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
96811 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
96812 echo $ECHO_N "(cached) $ECHO_C" >&6
96813 else
96817 ac_ext=cc
96818 ac_cpp='$CXXCPP $CPPFLAGS'
96819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96823 cat >conftest.$ac_ext <<_ACEOF
96824 /* confdefs.h. */
96825 _ACEOF
96826 cat confdefs.h >>conftest.$ac_ext
96827 cat >>conftest.$ac_ext <<_ACEOF
96828 /* end confdefs.h. */
96829 #include <math.h>
96830 #ifdef HAVE_IEEEFP_H
96831 #include <ieeefp.h>
96832 #endif
96835 main ()
96837 sqrtf(0);
96839 return 0;
96841 _ACEOF
96842 rm -f conftest.$ac_objext
96843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96844 (eval $ac_compile) 2>conftest.er1
96845 ac_status=$?
96846 grep -v '^ *+' conftest.er1 >conftest.err
96847 rm -f conftest.er1
96848 cat conftest.err >&5
96849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96850 (exit $ac_status); } &&
96851 { ac_try='test -z "$ac_cxx_werror_flag"
96852 || test ! -s conftest.err'
96853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96854 (eval $ac_try) 2>&5
96855 ac_status=$?
96856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96857 (exit $ac_status); }; } &&
96858 { ac_try='test -s conftest.$ac_objext'
96859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96860 (eval $ac_try) 2>&5
96861 ac_status=$?
96862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96863 (exit $ac_status); }; }; then
96864 glibcxx_cv_func_sqrtf_use=yes
96865 else
96866 echo "$as_me: failed program was:" >&5
96867 sed 's/^/| /' conftest.$ac_ext >&5
96869 glibcxx_cv_func_sqrtf_use=no
96871 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96872 ac_ext=c
96873 ac_cpp='$CPP $CPPFLAGS'
96874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96882 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
96883 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
96885 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
96887 for ac_func in sqrtf
96889 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96890 echo "$as_me:$LINENO: checking for $ac_func" >&5
96891 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96892 if eval "test \"\${$as_ac_var+set}\" = set"; then
96893 echo $ECHO_N "(cached) $ECHO_C" >&6
96894 else
96895 if test x$gcc_no_link = xyes; then
96896 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96897 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96898 { (exit 1); exit 1; }; }
96900 cat >conftest.$ac_ext <<_ACEOF
96901 /* confdefs.h. */
96902 _ACEOF
96903 cat confdefs.h >>conftest.$ac_ext
96904 cat >>conftest.$ac_ext <<_ACEOF
96905 /* end confdefs.h. */
96906 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96907 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96908 #define $ac_func innocuous_$ac_func
96910 /* System header to define __stub macros and hopefully few prototypes,
96911 which can conflict with char $ac_func (); below.
96912 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96913 <limits.h> exists even on freestanding compilers. */
96915 #ifdef __STDC__
96916 # include <limits.h>
96917 #else
96918 # include <assert.h>
96919 #endif
96921 #undef $ac_func
96923 /* Override any gcc2 internal prototype to avoid an error. */
96924 #ifdef __cplusplus
96925 extern "C"
96927 #endif
96928 /* We use char because int might match the return type of a gcc2
96929 builtin and then its argument prototype would still apply. */
96930 char $ac_func ();
96931 /* The GNU C library defines this for functions which it implements
96932 to always fail with ENOSYS. Some functions are actually named
96933 something starting with __ and the normal name is an alias. */
96934 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96935 choke me
96936 #else
96937 char (*f) () = $ac_func;
96938 #endif
96939 #ifdef __cplusplus
96941 #endif
96944 main ()
96946 return f != $ac_func;
96948 return 0;
96950 _ACEOF
96951 rm -f conftest.$ac_objext conftest$ac_exeext
96952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96953 (eval $ac_link) 2>conftest.er1
96954 ac_status=$?
96955 grep -v '^ *+' conftest.er1 >conftest.err
96956 rm -f conftest.er1
96957 cat conftest.err >&5
96958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96959 (exit $ac_status); } &&
96960 { ac_try='test -z "$ac_c_werror_flag"
96961 || test ! -s conftest.err'
96962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96963 (eval $ac_try) 2>&5
96964 ac_status=$?
96965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96966 (exit $ac_status); }; } &&
96967 { ac_try='test -s conftest$ac_exeext'
96968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96969 (eval $ac_try) 2>&5
96970 ac_status=$?
96971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96972 (exit $ac_status); }; }; then
96973 eval "$as_ac_var=yes"
96974 else
96975 echo "$as_me: failed program was:" >&5
96976 sed 's/^/| /' conftest.$ac_ext >&5
96978 eval "$as_ac_var=no"
96980 rm -f conftest.err conftest.$ac_objext \
96981 conftest$ac_exeext conftest.$ac_ext
96983 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96984 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96985 if test `eval echo '${'$as_ac_var'}'` = yes; then
96986 cat >>confdefs.h <<_ACEOF
96987 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96988 _ACEOF
96991 done
96993 else
96995 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
96996 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
96997 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
96998 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
96999 echo $ECHO_N "(cached) $ECHO_C" >&6
97000 else
97004 ac_ext=cc
97005 ac_cpp='$CXXCPP $CPPFLAGS'
97006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97010 cat >conftest.$ac_ext <<_ACEOF
97011 /* confdefs.h. */
97012 _ACEOF
97013 cat confdefs.h >>conftest.$ac_ext
97014 cat >>conftest.$ac_ext <<_ACEOF
97015 /* end confdefs.h. */
97016 #include <math.h>
97017 #ifdef HAVE_IEEEFP_H
97018 #include <ieeefp.h>
97019 #endif
97022 main ()
97024 _sqrtf(0);
97026 return 0;
97028 _ACEOF
97029 rm -f conftest.$ac_objext
97030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97031 (eval $ac_compile) 2>conftest.er1
97032 ac_status=$?
97033 grep -v '^ *+' conftest.er1 >conftest.err
97034 rm -f conftest.er1
97035 cat conftest.err >&5
97036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97037 (exit $ac_status); } &&
97038 { ac_try='test -z "$ac_cxx_werror_flag"
97039 || test ! -s conftest.err'
97040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97041 (eval $ac_try) 2>&5
97042 ac_status=$?
97043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97044 (exit $ac_status); }; } &&
97045 { ac_try='test -s conftest.$ac_objext'
97046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97047 (eval $ac_try) 2>&5
97048 ac_status=$?
97049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97050 (exit $ac_status); }; }; then
97051 glibcxx_cv_func__sqrtf_use=yes
97052 else
97053 echo "$as_me: failed program was:" >&5
97054 sed 's/^/| /' conftest.$ac_ext >&5
97056 glibcxx_cv_func__sqrtf_use=no
97058 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97059 ac_ext=c
97060 ac_cpp='$CPP $CPPFLAGS'
97061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97069 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
97070 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
97072 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
97074 for ac_func in _sqrtf
97076 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97077 echo "$as_me:$LINENO: checking for $ac_func" >&5
97078 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97079 if eval "test \"\${$as_ac_var+set}\" = set"; then
97080 echo $ECHO_N "(cached) $ECHO_C" >&6
97081 else
97082 if test x$gcc_no_link = xyes; then
97083 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97084 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97085 { (exit 1); exit 1; }; }
97087 cat >conftest.$ac_ext <<_ACEOF
97088 /* confdefs.h. */
97089 _ACEOF
97090 cat confdefs.h >>conftest.$ac_ext
97091 cat >>conftest.$ac_ext <<_ACEOF
97092 /* end confdefs.h. */
97093 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97094 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97095 #define $ac_func innocuous_$ac_func
97097 /* System header to define __stub macros and hopefully few prototypes,
97098 which can conflict with char $ac_func (); below.
97099 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97100 <limits.h> exists even on freestanding compilers. */
97102 #ifdef __STDC__
97103 # include <limits.h>
97104 #else
97105 # include <assert.h>
97106 #endif
97108 #undef $ac_func
97110 /* Override any gcc2 internal prototype to avoid an error. */
97111 #ifdef __cplusplus
97112 extern "C"
97114 #endif
97115 /* We use char because int might match the return type of a gcc2
97116 builtin and then its argument prototype would still apply. */
97117 char $ac_func ();
97118 /* The GNU C library defines this for functions which it implements
97119 to always fail with ENOSYS. Some functions are actually named
97120 something starting with __ and the normal name is an alias. */
97121 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97122 choke me
97123 #else
97124 char (*f) () = $ac_func;
97125 #endif
97126 #ifdef __cplusplus
97128 #endif
97131 main ()
97133 return f != $ac_func;
97135 return 0;
97137 _ACEOF
97138 rm -f conftest.$ac_objext conftest$ac_exeext
97139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97140 (eval $ac_link) 2>conftest.er1
97141 ac_status=$?
97142 grep -v '^ *+' conftest.er1 >conftest.err
97143 rm -f conftest.er1
97144 cat conftest.err >&5
97145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97146 (exit $ac_status); } &&
97147 { ac_try='test -z "$ac_c_werror_flag"
97148 || test ! -s conftest.err'
97149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97150 (eval $ac_try) 2>&5
97151 ac_status=$?
97152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97153 (exit $ac_status); }; } &&
97154 { ac_try='test -s conftest$ac_exeext'
97155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97156 (eval $ac_try) 2>&5
97157 ac_status=$?
97158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97159 (exit $ac_status); }; }; then
97160 eval "$as_ac_var=yes"
97161 else
97162 echo "$as_me: failed program was:" >&5
97163 sed 's/^/| /' conftest.$ac_ext >&5
97165 eval "$as_ac_var=no"
97167 rm -f conftest.err conftest.$ac_objext \
97168 conftest$ac_exeext conftest.$ac_ext
97170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97171 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97172 if test `eval echo '${'$as_ac_var'}'` = yes; then
97173 cat >>confdefs.h <<_ACEOF
97174 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97175 _ACEOF
97178 done
97188 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
97189 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
97190 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
97191 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
97192 echo $ECHO_N "(cached) $ECHO_C" >&6
97193 else
97197 ac_ext=cc
97198 ac_cpp='$CXXCPP $CPPFLAGS'
97199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97203 cat >conftest.$ac_ext <<_ACEOF
97204 /* confdefs.h. */
97205 _ACEOF
97206 cat confdefs.h >>conftest.$ac_ext
97207 cat >>conftest.$ac_ext <<_ACEOF
97208 /* end confdefs.h. */
97209 #include <math.h>
97211 main ()
97213 sincosf(0, 0, 0);
97215 return 0;
97217 _ACEOF
97218 rm -f conftest.$ac_objext
97219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97220 (eval $ac_compile) 2>conftest.er1
97221 ac_status=$?
97222 grep -v '^ *+' conftest.er1 >conftest.err
97223 rm -f conftest.er1
97224 cat conftest.err >&5
97225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97226 (exit $ac_status); } &&
97227 { ac_try='test -z "$ac_cxx_werror_flag"
97228 || test ! -s conftest.err'
97229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97230 (eval $ac_try) 2>&5
97231 ac_status=$?
97232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97233 (exit $ac_status); }; } &&
97234 { ac_try='test -s conftest.$ac_objext'
97235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97236 (eval $ac_try) 2>&5
97237 ac_status=$?
97238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97239 (exit $ac_status); }; }; then
97240 glibcxx_cv_func_sincosf_use=yes
97241 else
97242 echo "$as_me: failed program was:" >&5
97243 sed 's/^/| /' conftest.$ac_ext >&5
97245 glibcxx_cv_func_sincosf_use=no
97247 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97248 ac_ext=c
97249 ac_cpp='$CPP $CPPFLAGS'
97250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97258 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
97259 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
97261 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
97263 for ac_func in sincosf
97265 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97266 echo "$as_me:$LINENO: checking for $ac_func" >&5
97267 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97268 if eval "test \"\${$as_ac_var+set}\" = set"; then
97269 echo $ECHO_N "(cached) $ECHO_C" >&6
97270 else
97271 if test x$gcc_no_link = xyes; then
97272 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97273 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97274 { (exit 1); exit 1; }; }
97276 cat >conftest.$ac_ext <<_ACEOF
97277 /* confdefs.h. */
97278 _ACEOF
97279 cat confdefs.h >>conftest.$ac_ext
97280 cat >>conftest.$ac_ext <<_ACEOF
97281 /* end confdefs.h. */
97282 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97283 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97284 #define $ac_func innocuous_$ac_func
97286 /* System header to define __stub macros and hopefully few prototypes,
97287 which can conflict with char $ac_func (); below.
97288 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97289 <limits.h> exists even on freestanding compilers. */
97291 #ifdef __STDC__
97292 # include <limits.h>
97293 #else
97294 # include <assert.h>
97295 #endif
97297 #undef $ac_func
97299 /* Override any gcc2 internal prototype to avoid an error. */
97300 #ifdef __cplusplus
97301 extern "C"
97303 #endif
97304 /* We use char because int might match the return type of a gcc2
97305 builtin and then its argument prototype would still apply. */
97306 char $ac_func ();
97307 /* The GNU C library defines this for functions which it implements
97308 to always fail with ENOSYS. Some functions are actually named
97309 something starting with __ and the normal name is an alias. */
97310 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97311 choke me
97312 #else
97313 char (*f) () = $ac_func;
97314 #endif
97315 #ifdef __cplusplus
97317 #endif
97320 main ()
97322 return f != $ac_func;
97324 return 0;
97326 _ACEOF
97327 rm -f conftest.$ac_objext conftest$ac_exeext
97328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97329 (eval $ac_link) 2>conftest.er1
97330 ac_status=$?
97331 grep -v '^ *+' conftest.er1 >conftest.err
97332 rm -f conftest.er1
97333 cat conftest.err >&5
97334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97335 (exit $ac_status); } &&
97336 { ac_try='test -z "$ac_c_werror_flag"
97337 || test ! -s conftest.err'
97338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97339 (eval $ac_try) 2>&5
97340 ac_status=$?
97341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97342 (exit $ac_status); }; } &&
97343 { ac_try='test -s conftest$ac_exeext'
97344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97345 (eval $ac_try) 2>&5
97346 ac_status=$?
97347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97348 (exit $ac_status); }; }; then
97349 eval "$as_ac_var=yes"
97350 else
97351 echo "$as_me: failed program was:" >&5
97352 sed 's/^/| /' conftest.$ac_ext >&5
97354 eval "$as_ac_var=no"
97356 rm -f conftest.err conftest.$ac_objext \
97357 conftest$ac_exeext conftest.$ac_ext
97359 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97360 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97361 if test `eval echo '${'$as_ac_var'}'` = yes; then
97362 cat >>confdefs.h <<_ACEOF
97363 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97364 _ACEOF
97367 done
97369 else
97371 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
97372 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
97373 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
97374 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
97375 echo $ECHO_N "(cached) $ECHO_C" >&6
97376 else
97380 ac_ext=cc
97381 ac_cpp='$CXXCPP $CPPFLAGS'
97382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97386 cat >conftest.$ac_ext <<_ACEOF
97387 /* confdefs.h. */
97388 _ACEOF
97389 cat confdefs.h >>conftest.$ac_ext
97390 cat >>conftest.$ac_ext <<_ACEOF
97391 /* end confdefs.h. */
97392 #include <math.h>
97394 main ()
97396 _sincosf(0, 0, 0);
97398 return 0;
97400 _ACEOF
97401 rm -f conftest.$ac_objext
97402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97403 (eval $ac_compile) 2>conftest.er1
97404 ac_status=$?
97405 grep -v '^ *+' conftest.er1 >conftest.err
97406 rm -f conftest.er1
97407 cat conftest.err >&5
97408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97409 (exit $ac_status); } &&
97410 { ac_try='test -z "$ac_cxx_werror_flag"
97411 || test ! -s conftest.err'
97412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97413 (eval $ac_try) 2>&5
97414 ac_status=$?
97415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97416 (exit $ac_status); }; } &&
97417 { ac_try='test -s conftest.$ac_objext'
97418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97419 (eval $ac_try) 2>&5
97420 ac_status=$?
97421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97422 (exit $ac_status); }; }; then
97423 glibcxx_cv_func__sincosf_use=yes
97424 else
97425 echo "$as_me: failed program was:" >&5
97426 sed 's/^/| /' conftest.$ac_ext >&5
97428 glibcxx_cv_func__sincosf_use=no
97430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97431 ac_ext=c
97432 ac_cpp='$CPP $CPPFLAGS'
97433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97441 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
97442 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
97444 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
97446 for ac_func in _sincosf
97448 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97449 echo "$as_me:$LINENO: checking for $ac_func" >&5
97450 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97451 if eval "test \"\${$as_ac_var+set}\" = set"; then
97452 echo $ECHO_N "(cached) $ECHO_C" >&6
97453 else
97454 if test x$gcc_no_link = xyes; then
97455 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97456 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97457 { (exit 1); exit 1; }; }
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97466 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97467 #define $ac_func innocuous_$ac_func
97469 /* System header to define __stub macros and hopefully few prototypes,
97470 which can conflict with char $ac_func (); below.
97471 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97472 <limits.h> exists even on freestanding compilers. */
97474 #ifdef __STDC__
97475 # include <limits.h>
97476 #else
97477 # include <assert.h>
97478 #endif
97480 #undef $ac_func
97482 /* Override any gcc2 internal prototype to avoid an error. */
97483 #ifdef __cplusplus
97484 extern "C"
97486 #endif
97487 /* We use char because int might match the return type of a gcc2
97488 builtin and then its argument prototype would still apply. */
97489 char $ac_func ();
97490 /* The GNU C library defines this for functions which it implements
97491 to always fail with ENOSYS. Some functions are actually named
97492 something starting with __ and the normal name is an alias. */
97493 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97494 choke me
97495 #else
97496 char (*f) () = $ac_func;
97497 #endif
97498 #ifdef __cplusplus
97500 #endif
97503 main ()
97505 return f != $ac_func;
97507 return 0;
97509 _ACEOF
97510 rm -f conftest.$ac_objext conftest$ac_exeext
97511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97512 (eval $ac_link) 2>conftest.er1
97513 ac_status=$?
97514 grep -v '^ *+' conftest.er1 >conftest.err
97515 rm -f conftest.er1
97516 cat conftest.err >&5
97517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97518 (exit $ac_status); } &&
97519 { ac_try='test -z "$ac_c_werror_flag"
97520 || test ! -s conftest.err'
97521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97522 (eval $ac_try) 2>&5
97523 ac_status=$?
97524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97525 (exit $ac_status); }; } &&
97526 { ac_try='test -s conftest$ac_exeext'
97527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97528 (eval $ac_try) 2>&5
97529 ac_status=$?
97530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97531 (exit $ac_status); }; }; then
97532 eval "$as_ac_var=yes"
97533 else
97534 echo "$as_me: failed program was:" >&5
97535 sed 's/^/| /' conftest.$ac_ext >&5
97537 eval "$as_ac_var=no"
97539 rm -f conftest.err conftest.$ac_objext \
97540 conftest$ac_exeext conftest.$ac_ext
97542 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97543 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97544 if test `eval echo '${'$as_ac_var'}'` = yes; then
97545 cat >>confdefs.h <<_ACEOF
97546 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97547 _ACEOF
97550 done
97560 echo "$as_me:$LINENO: checking for finitef declaration" >&5
97561 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
97562 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
97563 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
97564 echo $ECHO_N "(cached) $ECHO_C" >&6
97565 else
97569 ac_ext=cc
97570 ac_cpp='$CXXCPP $CPPFLAGS'
97571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97575 cat >conftest.$ac_ext <<_ACEOF
97576 /* confdefs.h. */
97577 _ACEOF
97578 cat confdefs.h >>conftest.$ac_ext
97579 cat >>conftest.$ac_ext <<_ACEOF
97580 /* end confdefs.h. */
97581 #include <math.h>
97582 #ifdef HAVE_IEEEFP_H
97583 #include <ieeefp.h>
97584 #endif
97587 main ()
97589 finitef(0);
97591 return 0;
97593 _ACEOF
97594 rm -f conftest.$ac_objext
97595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97596 (eval $ac_compile) 2>conftest.er1
97597 ac_status=$?
97598 grep -v '^ *+' conftest.er1 >conftest.err
97599 rm -f conftest.er1
97600 cat conftest.err >&5
97601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97602 (exit $ac_status); } &&
97603 { ac_try='test -z "$ac_cxx_werror_flag"
97604 || test ! -s conftest.err'
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); }; } &&
97610 { ac_try='test -s conftest.$ac_objext'
97611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97612 (eval $ac_try) 2>&5
97613 ac_status=$?
97614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97615 (exit $ac_status); }; }; then
97616 glibcxx_cv_func_finitef_use=yes
97617 else
97618 echo "$as_me: failed program was:" >&5
97619 sed 's/^/| /' conftest.$ac_ext >&5
97621 glibcxx_cv_func_finitef_use=no
97623 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97624 ac_ext=c
97625 ac_cpp='$CPP $CPPFLAGS'
97626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97634 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
97635 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
97637 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
97639 for ac_func in finitef
97641 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97642 echo "$as_me:$LINENO: checking for $ac_func" >&5
97643 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97644 if eval "test \"\${$as_ac_var+set}\" = set"; then
97645 echo $ECHO_N "(cached) $ECHO_C" >&6
97646 else
97647 if test x$gcc_no_link = xyes; then
97648 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97649 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97650 { (exit 1); exit 1; }; }
97652 cat >conftest.$ac_ext <<_ACEOF
97653 /* confdefs.h. */
97654 _ACEOF
97655 cat confdefs.h >>conftest.$ac_ext
97656 cat >>conftest.$ac_ext <<_ACEOF
97657 /* end confdefs.h. */
97658 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97659 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97660 #define $ac_func innocuous_$ac_func
97662 /* System header to define __stub macros and hopefully few prototypes,
97663 which can conflict with char $ac_func (); below.
97664 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97665 <limits.h> exists even on freestanding compilers. */
97667 #ifdef __STDC__
97668 # include <limits.h>
97669 #else
97670 # include <assert.h>
97671 #endif
97673 #undef $ac_func
97675 /* Override any gcc2 internal prototype to avoid an error. */
97676 #ifdef __cplusplus
97677 extern "C"
97679 #endif
97680 /* We use char because int might match the return type of a gcc2
97681 builtin and then its argument prototype would still apply. */
97682 char $ac_func ();
97683 /* The GNU C library defines this for functions which it implements
97684 to always fail with ENOSYS. Some functions are actually named
97685 something starting with __ and the normal name is an alias. */
97686 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97687 choke me
97688 #else
97689 char (*f) () = $ac_func;
97690 #endif
97691 #ifdef __cplusplus
97693 #endif
97696 main ()
97698 return f != $ac_func;
97700 return 0;
97702 _ACEOF
97703 rm -f conftest.$ac_objext conftest$ac_exeext
97704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97705 (eval $ac_link) 2>conftest.er1
97706 ac_status=$?
97707 grep -v '^ *+' conftest.er1 >conftest.err
97708 rm -f conftest.er1
97709 cat conftest.err >&5
97710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97711 (exit $ac_status); } &&
97712 { ac_try='test -z "$ac_c_werror_flag"
97713 || test ! -s conftest.err'
97714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97715 (eval $ac_try) 2>&5
97716 ac_status=$?
97717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97718 (exit $ac_status); }; } &&
97719 { ac_try='test -s conftest$ac_exeext'
97720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97721 (eval $ac_try) 2>&5
97722 ac_status=$?
97723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97724 (exit $ac_status); }; }; then
97725 eval "$as_ac_var=yes"
97726 else
97727 echo "$as_me: failed program was:" >&5
97728 sed 's/^/| /' conftest.$ac_ext >&5
97730 eval "$as_ac_var=no"
97732 rm -f conftest.err conftest.$ac_objext \
97733 conftest$ac_exeext conftest.$ac_ext
97735 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97736 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97737 if test `eval echo '${'$as_ac_var'}'` = yes; then
97738 cat >>confdefs.h <<_ACEOF
97739 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97740 _ACEOF
97743 done
97745 else
97747 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
97748 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
97749 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
97750 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
97751 echo $ECHO_N "(cached) $ECHO_C" >&6
97752 else
97756 ac_ext=cc
97757 ac_cpp='$CXXCPP $CPPFLAGS'
97758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97762 cat >conftest.$ac_ext <<_ACEOF
97763 /* confdefs.h. */
97764 _ACEOF
97765 cat confdefs.h >>conftest.$ac_ext
97766 cat >>conftest.$ac_ext <<_ACEOF
97767 /* end confdefs.h. */
97768 #include <math.h>
97769 #ifdef HAVE_IEEEFP_H
97770 #include <ieeefp.h>
97771 #endif
97774 main ()
97776 _finitef(0);
97778 return 0;
97780 _ACEOF
97781 rm -f conftest.$ac_objext
97782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97783 (eval $ac_compile) 2>conftest.er1
97784 ac_status=$?
97785 grep -v '^ *+' conftest.er1 >conftest.err
97786 rm -f conftest.er1
97787 cat conftest.err >&5
97788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97789 (exit $ac_status); } &&
97790 { ac_try='test -z "$ac_cxx_werror_flag"
97791 || test ! -s conftest.err'
97792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97793 (eval $ac_try) 2>&5
97794 ac_status=$?
97795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97796 (exit $ac_status); }; } &&
97797 { ac_try='test -s conftest.$ac_objext'
97798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97799 (eval $ac_try) 2>&5
97800 ac_status=$?
97801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97802 (exit $ac_status); }; }; then
97803 glibcxx_cv_func__finitef_use=yes
97804 else
97805 echo "$as_me: failed program was:" >&5
97806 sed 's/^/| /' conftest.$ac_ext >&5
97808 glibcxx_cv_func__finitef_use=no
97810 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97811 ac_ext=c
97812 ac_cpp='$CPP $CPPFLAGS'
97813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97821 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
97822 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
97824 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
97826 for ac_func in _finitef
97828 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97829 echo "$as_me:$LINENO: checking for $ac_func" >&5
97830 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97831 if eval "test \"\${$as_ac_var+set}\" = set"; then
97832 echo $ECHO_N "(cached) $ECHO_C" >&6
97833 else
97834 if test x$gcc_no_link = xyes; then
97835 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97836 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97837 { (exit 1); exit 1; }; }
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97846 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97847 #define $ac_func innocuous_$ac_func
97849 /* System header to define __stub macros and hopefully few prototypes,
97850 which can conflict with char $ac_func (); below.
97851 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97852 <limits.h> exists even on freestanding compilers. */
97854 #ifdef __STDC__
97855 # include <limits.h>
97856 #else
97857 # include <assert.h>
97858 #endif
97860 #undef $ac_func
97862 /* Override any gcc2 internal prototype to avoid an error. */
97863 #ifdef __cplusplus
97864 extern "C"
97866 #endif
97867 /* We use char because int might match the return type of a gcc2
97868 builtin and then its argument prototype would still apply. */
97869 char $ac_func ();
97870 /* The GNU C library defines this for functions which it implements
97871 to always fail with ENOSYS. Some functions are actually named
97872 something starting with __ and the normal name is an alias. */
97873 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97874 choke me
97875 #else
97876 char (*f) () = $ac_func;
97877 #endif
97878 #ifdef __cplusplus
97880 #endif
97883 main ()
97885 return f != $ac_func;
97887 return 0;
97889 _ACEOF
97890 rm -f conftest.$ac_objext conftest$ac_exeext
97891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97892 (eval $ac_link) 2>conftest.er1
97893 ac_status=$?
97894 grep -v '^ *+' conftest.er1 >conftest.err
97895 rm -f conftest.er1
97896 cat conftest.err >&5
97897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97898 (exit $ac_status); } &&
97899 { ac_try='test -z "$ac_c_werror_flag"
97900 || test ! -s conftest.err'
97901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97902 (eval $ac_try) 2>&5
97903 ac_status=$?
97904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97905 (exit $ac_status); }; } &&
97906 { ac_try='test -s conftest$ac_exeext'
97907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97908 (eval $ac_try) 2>&5
97909 ac_status=$?
97910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97911 (exit $ac_status); }; }; then
97912 eval "$as_ac_var=yes"
97913 else
97914 echo "$as_me: failed program was:" >&5
97915 sed 's/^/| /' conftest.$ac_ext >&5
97917 eval "$as_ac_var=no"
97919 rm -f conftest.err conftest.$ac_objext \
97920 conftest$ac_exeext conftest.$ac_ext
97922 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97923 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97924 if test `eval echo '${'$as_ac_var'}'` = yes; then
97925 cat >>confdefs.h <<_ACEOF
97926 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97927 _ACEOF
97930 done
97940 echo "$as_me:$LINENO: checking for long double trig functions" >&5
97941 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
97942 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
97943 echo $ECHO_N "(cached) $ECHO_C" >&6
97944 else
97948 ac_ext=cc
97949 ac_cpp='$CXXCPP $CPPFLAGS'
97950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97954 cat >conftest.$ac_ext <<_ACEOF
97955 /* confdefs.h. */
97956 _ACEOF
97957 cat confdefs.h >>conftest.$ac_ext
97958 cat >>conftest.$ac_ext <<_ACEOF
97959 /* end confdefs.h. */
97960 #include <math.h>
97962 main ()
97964 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
97966 return 0;
97968 _ACEOF
97969 rm -f conftest.$ac_objext
97970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97971 (eval $ac_compile) 2>conftest.er1
97972 ac_status=$?
97973 grep -v '^ *+' conftest.er1 >conftest.err
97974 rm -f conftest.er1
97975 cat conftest.err >&5
97976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97977 (exit $ac_status); } &&
97978 { ac_try='test -z "$ac_cxx_werror_flag"
97979 || test ! -s conftest.err'
97980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97981 (eval $ac_try) 2>&5
97982 ac_status=$?
97983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97984 (exit $ac_status); }; } &&
97985 { ac_try='test -s conftest.$ac_objext'
97986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97987 (eval $ac_try) 2>&5
97988 ac_status=$?
97989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97990 (exit $ac_status); }; }; then
97991 glibcxx_cv_func_long_double_trig_use=yes
97992 else
97993 echo "$as_me: failed program was:" >&5
97994 sed 's/^/| /' conftest.$ac_ext >&5
97996 glibcxx_cv_func_long_double_trig_use=no
97998 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97999 ac_ext=c
98000 ac_cpp='$CPP $CPPFLAGS'
98001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98007 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
98008 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
98009 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
98019 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
98021 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98022 echo "$as_me:$LINENO: checking for $ac_func" >&5
98023 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98024 if eval "test \"\${$as_ac_var+set}\" = set"; then
98025 echo $ECHO_N "(cached) $ECHO_C" >&6
98026 else
98027 if test x$gcc_no_link = xyes; then
98028 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98029 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98030 { (exit 1); exit 1; }; }
98032 cat >conftest.$ac_ext <<_ACEOF
98033 /* confdefs.h. */
98034 _ACEOF
98035 cat confdefs.h >>conftest.$ac_ext
98036 cat >>conftest.$ac_ext <<_ACEOF
98037 /* end confdefs.h. */
98038 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98039 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98040 #define $ac_func innocuous_$ac_func
98042 /* System header to define __stub macros and hopefully few prototypes,
98043 which can conflict with char $ac_func (); below.
98044 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98045 <limits.h> exists even on freestanding compilers. */
98047 #ifdef __STDC__
98048 # include <limits.h>
98049 #else
98050 # include <assert.h>
98051 #endif
98053 #undef $ac_func
98055 /* Override any gcc2 internal prototype to avoid an error. */
98056 #ifdef __cplusplus
98057 extern "C"
98059 #endif
98060 /* We use char because int might match the return type of a gcc2
98061 builtin and then its argument prototype would still apply. */
98062 char $ac_func ();
98063 /* The GNU C library defines this for functions which it implements
98064 to always fail with ENOSYS. Some functions are actually named
98065 something starting with __ and the normal name is an alias. */
98066 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98067 choke me
98068 #else
98069 char (*f) () = $ac_func;
98070 #endif
98071 #ifdef __cplusplus
98073 #endif
98076 main ()
98078 return f != $ac_func;
98080 return 0;
98082 _ACEOF
98083 rm -f conftest.$ac_objext conftest$ac_exeext
98084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98085 (eval $ac_link) 2>conftest.er1
98086 ac_status=$?
98087 grep -v '^ *+' conftest.er1 >conftest.err
98088 rm -f conftest.er1
98089 cat conftest.err >&5
98090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98091 (exit $ac_status); } &&
98092 { ac_try='test -z "$ac_c_werror_flag"
98093 || test ! -s conftest.err'
98094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98095 (eval $ac_try) 2>&5
98096 ac_status=$?
98097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98098 (exit $ac_status); }; } &&
98099 { ac_try='test -s conftest$ac_exeext'
98100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98101 (eval $ac_try) 2>&5
98102 ac_status=$?
98103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98104 (exit $ac_status); }; }; then
98105 eval "$as_ac_var=yes"
98106 else
98107 echo "$as_me: failed program was:" >&5
98108 sed 's/^/| /' conftest.$ac_ext >&5
98110 eval "$as_ac_var=no"
98112 rm -f conftest.err conftest.$ac_objext \
98113 conftest$ac_exeext conftest.$ac_ext
98115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98116 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98117 if test `eval echo '${'$as_ac_var'}'` = yes; then
98118 cat >>confdefs.h <<_ACEOF
98119 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98120 _ACEOF
98123 done
98125 else
98126 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
98127 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
98128 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
98129 echo $ECHO_N "(cached) $ECHO_C" >&6
98130 else
98134 ac_ext=cc
98135 ac_cpp='$CXXCPP $CPPFLAGS'
98136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98140 cat >conftest.$ac_ext <<_ACEOF
98141 /* confdefs.h. */
98142 _ACEOF
98143 cat confdefs.h >>conftest.$ac_ext
98144 cat >>conftest.$ac_ext <<_ACEOF
98145 /* end confdefs.h. */
98146 #include <math.h>
98148 main ()
98150 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
98152 return 0;
98154 _ACEOF
98155 rm -f conftest.$ac_objext
98156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98157 (eval $ac_compile) 2>conftest.er1
98158 ac_status=$?
98159 grep -v '^ *+' conftest.er1 >conftest.err
98160 rm -f conftest.er1
98161 cat conftest.err >&5
98162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98163 (exit $ac_status); } &&
98164 { ac_try='test -z "$ac_cxx_werror_flag"
98165 || test ! -s conftest.err'
98166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98167 (eval $ac_try) 2>&5
98168 ac_status=$?
98169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98170 (exit $ac_status); }; } &&
98171 { ac_try='test -s conftest.$ac_objext'
98172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98173 (eval $ac_try) 2>&5
98174 ac_status=$?
98175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98176 (exit $ac_status); }; }; then
98177 glibcxx_cv_func__long_double_trig_use=yes
98178 else
98179 echo "$as_me: failed program was:" >&5
98180 sed 's/^/| /' conftest.$ac_ext >&5
98182 glibcxx_cv_func__long_double_trig_use=no
98184 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98185 ac_ext=c
98186 ac_cpp='$CPP $CPPFLAGS'
98187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98193 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
98194 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
98195 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
98205 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
98207 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98208 echo "$as_me:$LINENO: checking for $ac_func" >&5
98209 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98210 if eval "test \"\${$as_ac_var+set}\" = set"; then
98211 echo $ECHO_N "(cached) $ECHO_C" >&6
98212 else
98213 if test x$gcc_no_link = xyes; then
98214 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98215 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98216 { (exit 1); exit 1; }; }
98218 cat >conftest.$ac_ext <<_ACEOF
98219 /* confdefs.h. */
98220 _ACEOF
98221 cat confdefs.h >>conftest.$ac_ext
98222 cat >>conftest.$ac_ext <<_ACEOF
98223 /* end confdefs.h. */
98224 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98225 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98226 #define $ac_func innocuous_$ac_func
98228 /* System header to define __stub macros and hopefully few prototypes,
98229 which can conflict with char $ac_func (); below.
98230 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98231 <limits.h> exists even on freestanding compilers. */
98233 #ifdef __STDC__
98234 # include <limits.h>
98235 #else
98236 # include <assert.h>
98237 #endif
98239 #undef $ac_func
98241 /* Override any gcc2 internal prototype to avoid an error. */
98242 #ifdef __cplusplus
98243 extern "C"
98245 #endif
98246 /* We use char because int might match the return type of a gcc2
98247 builtin and then its argument prototype would still apply. */
98248 char $ac_func ();
98249 /* The GNU C library defines this for functions which it implements
98250 to always fail with ENOSYS. Some functions are actually named
98251 something starting with __ and the normal name is an alias. */
98252 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98253 choke me
98254 #else
98255 char (*f) () = $ac_func;
98256 #endif
98257 #ifdef __cplusplus
98259 #endif
98262 main ()
98264 return f != $ac_func;
98266 return 0;
98268 _ACEOF
98269 rm -f conftest.$ac_objext conftest$ac_exeext
98270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98271 (eval $ac_link) 2>conftest.er1
98272 ac_status=$?
98273 grep -v '^ *+' conftest.er1 >conftest.err
98274 rm -f conftest.er1
98275 cat conftest.err >&5
98276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98277 (exit $ac_status); } &&
98278 { ac_try='test -z "$ac_c_werror_flag"
98279 || test ! -s conftest.err'
98280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98281 (eval $ac_try) 2>&5
98282 ac_status=$?
98283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98284 (exit $ac_status); }; } &&
98285 { ac_try='test -s conftest$ac_exeext'
98286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98287 (eval $ac_try) 2>&5
98288 ac_status=$?
98289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98290 (exit $ac_status); }; }; then
98291 eval "$as_ac_var=yes"
98292 else
98293 echo "$as_me: failed program was:" >&5
98294 sed 's/^/| /' conftest.$ac_ext >&5
98296 eval "$as_ac_var=no"
98298 rm -f conftest.err conftest.$ac_objext \
98299 conftest$ac_exeext conftest.$ac_ext
98301 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98302 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98303 if test `eval echo '${'$as_ac_var'}'` = yes; then
98304 cat >>confdefs.h <<_ACEOF
98305 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98306 _ACEOF
98309 done
98327 echo "$as_me:$LINENO: checking for long double round functions" >&5
98328 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
98329 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
98330 echo $ECHO_N "(cached) $ECHO_C" >&6
98331 else
98335 ac_ext=cc
98336 ac_cpp='$CXXCPP $CPPFLAGS'
98337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98341 cat >conftest.$ac_ext <<_ACEOF
98342 /* confdefs.h. */
98343 _ACEOF
98344 cat confdefs.h >>conftest.$ac_ext
98345 cat >>conftest.$ac_ext <<_ACEOF
98346 /* end confdefs.h. */
98347 #include <math.h>
98349 main ()
98351 ceill (0); floorl (0);
98353 return 0;
98355 _ACEOF
98356 rm -f conftest.$ac_objext
98357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98358 (eval $ac_compile) 2>conftest.er1
98359 ac_status=$?
98360 grep -v '^ *+' conftest.er1 >conftest.err
98361 rm -f conftest.er1
98362 cat conftest.err >&5
98363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98364 (exit $ac_status); } &&
98365 { ac_try='test -z "$ac_cxx_werror_flag"
98366 || test ! -s conftest.err'
98367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98368 (eval $ac_try) 2>&5
98369 ac_status=$?
98370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98371 (exit $ac_status); }; } &&
98372 { ac_try='test -s conftest.$ac_objext'
98373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98374 (eval $ac_try) 2>&5
98375 ac_status=$?
98376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98377 (exit $ac_status); }; }; then
98378 glibcxx_cv_func_long_double_round_use=yes
98379 else
98380 echo "$as_me: failed program was:" >&5
98381 sed 's/^/| /' conftest.$ac_ext >&5
98383 glibcxx_cv_func_long_double_round_use=no
98385 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98386 ac_ext=c
98387 ac_cpp='$CPP $CPPFLAGS'
98388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98394 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
98395 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
98396 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
98399 for ac_func in ceill floorl
98401 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98402 echo "$as_me:$LINENO: checking for $ac_func" >&5
98403 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98404 if eval "test \"\${$as_ac_var+set}\" = set"; then
98405 echo $ECHO_N "(cached) $ECHO_C" >&6
98406 else
98407 if test x$gcc_no_link = xyes; then
98408 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98409 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98410 { (exit 1); exit 1; }; }
98412 cat >conftest.$ac_ext <<_ACEOF
98413 /* confdefs.h. */
98414 _ACEOF
98415 cat confdefs.h >>conftest.$ac_ext
98416 cat >>conftest.$ac_ext <<_ACEOF
98417 /* end confdefs.h. */
98418 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98419 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98420 #define $ac_func innocuous_$ac_func
98422 /* System header to define __stub macros and hopefully few prototypes,
98423 which can conflict with char $ac_func (); below.
98424 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98425 <limits.h> exists even on freestanding compilers. */
98427 #ifdef __STDC__
98428 # include <limits.h>
98429 #else
98430 # include <assert.h>
98431 #endif
98433 #undef $ac_func
98435 /* Override any gcc2 internal prototype to avoid an error. */
98436 #ifdef __cplusplus
98437 extern "C"
98439 #endif
98440 /* We use char because int might match the return type of a gcc2
98441 builtin and then its argument prototype would still apply. */
98442 char $ac_func ();
98443 /* The GNU C library defines this for functions which it implements
98444 to always fail with ENOSYS. Some functions are actually named
98445 something starting with __ and the normal name is an alias. */
98446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98447 choke me
98448 #else
98449 char (*f) () = $ac_func;
98450 #endif
98451 #ifdef __cplusplus
98453 #endif
98456 main ()
98458 return f != $ac_func;
98460 return 0;
98462 _ACEOF
98463 rm -f conftest.$ac_objext conftest$ac_exeext
98464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98465 (eval $ac_link) 2>conftest.er1
98466 ac_status=$?
98467 grep -v '^ *+' conftest.er1 >conftest.err
98468 rm -f conftest.er1
98469 cat conftest.err >&5
98470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98471 (exit $ac_status); } &&
98472 { ac_try='test -z "$ac_c_werror_flag"
98473 || test ! -s conftest.err'
98474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98475 (eval $ac_try) 2>&5
98476 ac_status=$?
98477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98478 (exit $ac_status); }; } &&
98479 { ac_try='test -s conftest$ac_exeext'
98480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98481 (eval $ac_try) 2>&5
98482 ac_status=$?
98483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98484 (exit $ac_status); }; }; then
98485 eval "$as_ac_var=yes"
98486 else
98487 echo "$as_me: failed program was:" >&5
98488 sed 's/^/| /' conftest.$ac_ext >&5
98490 eval "$as_ac_var=no"
98492 rm -f conftest.err conftest.$ac_objext \
98493 conftest$ac_exeext conftest.$ac_ext
98495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98496 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98497 if test `eval echo '${'$as_ac_var'}'` = yes; then
98498 cat >>confdefs.h <<_ACEOF
98499 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98500 _ACEOF
98503 done
98505 else
98506 echo "$as_me:$LINENO: checking for _long double round functions" >&5
98507 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
98508 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
98509 echo $ECHO_N "(cached) $ECHO_C" >&6
98510 else
98514 ac_ext=cc
98515 ac_cpp='$CXXCPP $CPPFLAGS'
98516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98520 cat >conftest.$ac_ext <<_ACEOF
98521 /* confdefs.h. */
98522 _ACEOF
98523 cat confdefs.h >>conftest.$ac_ext
98524 cat >>conftest.$ac_ext <<_ACEOF
98525 /* end confdefs.h. */
98526 #include <math.h>
98528 main ()
98530 _ceill (0); _floorl (0);
98532 return 0;
98534 _ACEOF
98535 rm -f conftest.$ac_objext
98536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98537 (eval $ac_compile) 2>conftest.er1
98538 ac_status=$?
98539 grep -v '^ *+' conftest.er1 >conftest.err
98540 rm -f conftest.er1
98541 cat conftest.err >&5
98542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98543 (exit $ac_status); } &&
98544 { ac_try='test -z "$ac_cxx_werror_flag"
98545 || test ! -s conftest.err'
98546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98547 (eval $ac_try) 2>&5
98548 ac_status=$?
98549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98550 (exit $ac_status); }; } &&
98551 { ac_try='test -s conftest.$ac_objext'
98552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98553 (eval $ac_try) 2>&5
98554 ac_status=$?
98555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98556 (exit $ac_status); }; }; then
98557 glibcxx_cv_func__long_double_round_use=yes
98558 else
98559 echo "$as_me: failed program was:" >&5
98560 sed 's/^/| /' conftest.$ac_ext >&5
98562 glibcxx_cv_func__long_double_round_use=no
98564 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98565 ac_ext=c
98566 ac_cpp='$CPP $CPPFLAGS'
98567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98573 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
98574 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
98575 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
98578 for ac_func in _ceill _floorl
98580 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98581 echo "$as_me:$LINENO: checking for $ac_func" >&5
98582 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98583 if eval "test \"\${$as_ac_var+set}\" = set"; then
98584 echo $ECHO_N "(cached) $ECHO_C" >&6
98585 else
98586 if test x$gcc_no_link = xyes; then
98587 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98588 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98589 { (exit 1); exit 1; }; }
98591 cat >conftest.$ac_ext <<_ACEOF
98592 /* confdefs.h. */
98593 _ACEOF
98594 cat confdefs.h >>conftest.$ac_ext
98595 cat >>conftest.$ac_ext <<_ACEOF
98596 /* end confdefs.h. */
98597 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98598 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98599 #define $ac_func innocuous_$ac_func
98601 /* System header to define __stub macros and hopefully few prototypes,
98602 which can conflict with char $ac_func (); below.
98603 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98604 <limits.h> exists even on freestanding compilers. */
98606 #ifdef __STDC__
98607 # include <limits.h>
98608 #else
98609 # include <assert.h>
98610 #endif
98612 #undef $ac_func
98614 /* Override any gcc2 internal prototype to avoid an error. */
98615 #ifdef __cplusplus
98616 extern "C"
98618 #endif
98619 /* We use char because int might match the return type of a gcc2
98620 builtin and then its argument prototype would still apply. */
98621 char $ac_func ();
98622 /* The GNU C library defines this for functions which it implements
98623 to always fail with ENOSYS. Some functions are actually named
98624 something starting with __ and the normal name is an alias. */
98625 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98626 choke me
98627 #else
98628 char (*f) () = $ac_func;
98629 #endif
98630 #ifdef __cplusplus
98632 #endif
98635 main ()
98637 return f != $ac_func;
98639 return 0;
98641 _ACEOF
98642 rm -f conftest.$ac_objext conftest$ac_exeext
98643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98644 (eval $ac_link) 2>conftest.er1
98645 ac_status=$?
98646 grep -v '^ *+' conftest.er1 >conftest.err
98647 rm -f conftest.er1
98648 cat conftest.err >&5
98649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98650 (exit $ac_status); } &&
98651 { ac_try='test -z "$ac_c_werror_flag"
98652 || test ! -s conftest.err'
98653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98654 (eval $ac_try) 2>&5
98655 ac_status=$?
98656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98657 (exit $ac_status); }; } &&
98658 { ac_try='test -s conftest$ac_exeext'
98659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98660 (eval $ac_try) 2>&5
98661 ac_status=$?
98662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98663 (exit $ac_status); }; }; then
98664 eval "$as_ac_var=yes"
98665 else
98666 echo "$as_me: failed program was:" >&5
98667 sed 's/^/| /' conftest.$ac_ext >&5
98669 eval "$as_ac_var=no"
98671 rm -f conftest.err conftest.$ac_objext \
98672 conftest$ac_exeext conftest.$ac_ext
98674 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98675 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98676 if test `eval echo '${'$as_ac_var'}'` = yes; then
98677 cat >>confdefs.h <<_ACEOF
98678 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98679 _ACEOF
98682 done
98694 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
98695 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
98696 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
98697 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
98698 echo $ECHO_N "(cached) $ECHO_C" >&6
98699 else
98703 ac_ext=cc
98704 ac_cpp='$CXXCPP $CPPFLAGS'
98705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98709 cat >conftest.$ac_ext <<_ACEOF
98710 /* confdefs.h. */
98711 _ACEOF
98712 cat confdefs.h >>conftest.$ac_ext
98713 cat >>conftest.$ac_ext <<_ACEOF
98714 /* end confdefs.h. */
98715 #include <math.h>
98716 #ifdef HAVE_IEEEFP_H
98717 #include <ieeefp.h>
98718 #endif
98721 main ()
98723 isnanl(0);
98725 return 0;
98727 _ACEOF
98728 rm -f conftest.$ac_objext
98729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98730 (eval $ac_compile) 2>conftest.er1
98731 ac_status=$?
98732 grep -v '^ *+' conftest.er1 >conftest.err
98733 rm -f conftest.er1
98734 cat conftest.err >&5
98735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98736 (exit $ac_status); } &&
98737 { ac_try='test -z "$ac_cxx_werror_flag"
98738 || test ! -s conftest.err'
98739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98740 (eval $ac_try) 2>&5
98741 ac_status=$?
98742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98743 (exit $ac_status); }; } &&
98744 { ac_try='test -s conftest.$ac_objext'
98745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98746 (eval $ac_try) 2>&5
98747 ac_status=$?
98748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98749 (exit $ac_status); }; }; then
98750 glibcxx_cv_func_isnanl_use=yes
98751 else
98752 echo "$as_me: failed program was:" >&5
98753 sed 's/^/| /' conftest.$ac_ext >&5
98755 glibcxx_cv_func_isnanl_use=no
98757 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98758 ac_ext=c
98759 ac_cpp='$CPP $CPPFLAGS'
98760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98768 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
98769 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
98771 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
98773 for ac_func in isnanl
98775 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98776 echo "$as_me:$LINENO: checking for $ac_func" >&5
98777 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98778 if eval "test \"\${$as_ac_var+set}\" = set"; then
98779 echo $ECHO_N "(cached) $ECHO_C" >&6
98780 else
98781 if test x$gcc_no_link = xyes; then
98782 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98783 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98784 { (exit 1); exit 1; }; }
98786 cat >conftest.$ac_ext <<_ACEOF
98787 /* confdefs.h. */
98788 _ACEOF
98789 cat confdefs.h >>conftest.$ac_ext
98790 cat >>conftest.$ac_ext <<_ACEOF
98791 /* end confdefs.h. */
98792 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98793 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98794 #define $ac_func innocuous_$ac_func
98796 /* System header to define __stub macros and hopefully few prototypes,
98797 which can conflict with char $ac_func (); below.
98798 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98799 <limits.h> exists even on freestanding compilers. */
98801 #ifdef __STDC__
98802 # include <limits.h>
98803 #else
98804 # include <assert.h>
98805 #endif
98807 #undef $ac_func
98809 /* Override any gcc2 internal prototype to avoid an error. */
98810 #ifdef __cplusplus
98811 extern "C"
98813 #endif
98814 /* We use char because int might match the return type of a gcc2
98815 builtin and then its argument prototype would still apply. */
98816 char $ac_func ();
98817 /* The GNU C library defines this for functions which it implements
98818 to always fail with ENOSYS. Some functions are actually named
98819 something starting with __ and the normal name is an alias. */
98820 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98821 choke me
98822 #else
98823 char (*f) () = $ac_func;
98824 #endif
98825 #ifdef __cplusplus
98827 #endif
98830 main ()
98832 return f != $ac_func;
98834 return 0;
98836 _ACEOF
98837 rm -f conftest.$ac_objext conftest$ac_exeext
98838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98839 (eval $ac_link) 2>conftest.er1
98840 ac_status=$?
98841 grep -v '^ *+' conftest.er1 >conftest.err
98842 rm -f conftest.er1
98843 cat conftest.err >&5
98844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98845 (exit $ac_status); } &&
98846 { ac_try='test -z "$ac_c_werror_flag"
98847 || test ! -s conftest.err'
98848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98849 (eval $ac_try) 2>&5
98850 ac_status=$?
98851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98852 (exit $ac_status); }; } &&
98853 { ac_try='test -s conftest$ac_exeext'
98854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98855 (eval $ac_try) 2>&5
98856 ac_status=$?
98857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98858 (exit $ac_status); }; }; then
98859 eval "$as_ac_var=yes"
98860 else
98861 echo "$as_me: failed program was:" >&5
98862 sed 's/^/| /' conftest.$ac_ext >&5
98864 eval "$as_ac_var=no"
98866 rm -f conftest.err conftest.$ac_objext \
98867 conftest$ac_exeext conftest.$ac_ext
98869 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98870 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98871 if test `eval echo '${'$as_ac_var'}'` = yes; then
98872 cat >>confdefs.h <<_ACEOF
98873 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98874 _ACEOF
98877 done
98879 else
98881 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
98882 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
98883 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
98884 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
98885 echo $ECHO_N "(cached) $ECHO_C" >&6
98886 else
98890 ac_ext=cc
98891 ac_cpp='$CXXCPP $CPPFLAGS'
98892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98896 cat >conftest.$ac_ext <<_ACEOF
98897 /* confdefs.h. */
98898 _ACEOF
98899 cat confdefs.h >>conftest.$ac_ext
98900 cat >>conftest.$ac_ext <<_ACEOF
98901 /* end confdefs.h. */
98902 #include <math.h>
98903 #ifdef HAVE_IEEEFP_H
98904 #include <ieeefp.h>
98905 #endif
98908 main ()
98910 _isnanl(0);
98912 return 0;
98914 _ACEOF
98915 rm -f conftest.$ac_objext
98916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98917 (eval $ac_compile) 2>conftest.er1
98918 ac_status=$?
98919 grep -v '^ *+' conftest.er1 >conftest.err
98920 rm -f conftest.er1
98921 cat conftest.err >&5
98922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98923 (exit $ac_status); } &&
98924 { ac_try='test -z "$ac_cxx_werror_flag"
98925 || test ! -s conftest.err'
98926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98927 (eval $ac_try) 2>&5
98928 ac_status=$?
98929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98930 (exit $ac_status); }; } &&
98931 { ac_try='test -s conftest.$ac_objext'
98932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98933 (eval $ac_try) 2>&5
98934 ac_status=$?
98935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98936 (exit $ac_status); }; }; then
98937 glibcxx_cv_func__isnanl_use=yes
98938 else
98939 echo "$as_me: failed program was:" >&5
98940 sed 's/^/| /' conftest.$ac_ext >&5
98942 glibcxx_cv_func__isnanl_use=no
98944 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98945 ac_ext=c
98946 ac_cpp='$CPP $CPPFLAGS'
98947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98955 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
98956 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
98958 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
98960 for ac_func in _isnanl
98962 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98963 echo "$as_me:$LINENO: checking for $ac_func" >&5
98964 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98965 if eval "test \"\${$as_ac_var+set}\" = set"; then
98966 echo $ECHO_N "(cached) $ECHO_C" >&6
98967 else
98968 if test x$gcc_no_link = xyes; then
98969 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98970 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98971 { (exit 1); exit 1; }; }
98973 cat >conftest.$ac_ext <<_ACEOF
98974 /* confdefs.h. */
98975 _ACEOF
98976 cat confdefs.h >>conftest.$ac_ext
98977 cat >>conftest.$ac_ext <<_ACEOF
98978 /* end confdefs.h. */
98979 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98980 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98981 #define $ac_func innocuous_$ac_func
98983 /* System header to define __stub macros and hopefully few prototypes,
98984 which can conflict with char $ac_func (); below.
98985 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98986 <limits.h> exists even on freestanding compilers. */
98988 #ifdef __STDC__
98989 # include <limits.h>
98990 #else
98991 # include <assert.h>
98992 #endif
98994 #undef $ac_func
98996 /* Override any gcc2 internal prototype to avoid an error. */
98997 #ifdef __cplusplus
98998 extern "C"
99000 #endif
99001 /* We use char because int might match the return type of a gcc2
99002 builtin and then its argument prototype would still apply. */
99003 char $ac_func ();
99004 /* The GNU C library defines this for functions which it implements
99005 to always fail with ENOSYS. Some functions are actually named
99006 something starting with __ and the normal name is an alias. */
99007 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99008 choke me
99009 #else
99010 char (*f) () = $ac_func;
99011 #endif
99012 #ifdef __cplusplus
99014 #endif
99017 main ()
99019 return f != $ac_func;
99021 return 0;
99023 _ACEOF
99024 rm -f conftest.$ac_objext conftest$ac_exeext
99025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99026 (eval $ac_link) 2>conftest.er1
99027 ac_status=$?
99028 grep -v '^ *+' conftest.er1 >conftest.err
99029 rm -f conftest.er1
99030 cat conftest.err >&5
99031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99032 (exit $ac_status); } &&
99033 { ac_try='test -z "$ac_c_werror_flag"
99034 || test ! -s conftest.err'
99035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99036 (eval $ac_try) 2>&5
99037 ac_status=$?
99038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99039 (exit $ac_status); }; } &&
99040 { ac_try='test -s conftest$ac_exeext'
99041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99042 (eval $ac_try) 2>&5
99043 ac_status=$?
99044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99045 (exit $ac_status); }; }; then
99046 eval "$as_ac_var=yes"
99047 else
99048 echo "$as_me: failed program was:" >&5
99049 sed 's/^/| /' conftest.$ac_ext >&5
99051 eval "$as_ac_var=no"
99053 rm -f conftest.err conftest.$ac_objext \
99054 conftest$ac_exeext conftest.$ac_ext
99056 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99057 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99058 if test `eval echo '${'$as_ac_var'}'` = yes; then
99059 cat >>confdefs.h <<_ACEOF
99060 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99061 _ACEOF
99064 done
99074 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
99075 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
99076 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
99077 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
99078 echo $ECHO_N "(cached) $ECHO_C" >&6
99079 else
99083 ac_ext=cc
99084 ac_cpp='$CXXCPP $CPPFLAGS'
99085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99089 cat >conftest.$ac_ext <<_ACEOF
99090 /* confdefs.h. */
99091 _ACEOF
99092 cat confdefs.h >>conftest.$ac_ext
99093 cat >>conftest.$ac_ext <<_ACEOF
99094 /* end confdefs.h. */
99095 #include <math.h>
99096 #ifdef HAVE_IEEEFP_H
99097 #include <ieeefp.h>
99098 #endif
99101 main ()
99103 isinfl(0);
99105 return 0;
99107 _ACEOF
99108 rm -f conftest.$ac_objext
99109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99110 (eval $ac_compile) 2>conftest.er1
99111 ac_status=$?
99112 grep -v '^ *+' conftest.er1 >conftest.err
99113 rm -f conftest.er1
99114 cat conftest.err >&5
99115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99116 (exit $ac_status); } &&
99117 { ac_try='test -z "$ac_cxx_werror_flag"
99118 || test ! -s conftest.err'
99119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99120 (eval $ac_try) 2>&5
99121 ac_status=$?
99122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99123 (exit $ac_status); }; } &&
99124 { ac_try='test -s conftest.$ac_objext'
99125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99126 (eval $ac_try) 2>&5
99127 ac_status=$?
99128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99129 (exit $ac_status); }; }; then
99130 glibcxx_cv_func_isinfl_use=yes
99131 else
99132 echo "$as_me: failed program was:" >&5
99133 sed 's/^/| /' conftest.$ac_ext >&5
99135 glibcxx_cv_func_isinfl_use=no
99137 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99138 ac_ext=c
99139 ac_cpp='$CPP $CPPFLAGS'
99140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99148 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
99149 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
99151 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
99153 for ac_func in isinfl
99155 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99156 echo "$as_me:$LINENO: checking for $ac_func" >&5
99157 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99158 if eval "test \"\${$as_ac_var+set}\" = set"; then
99159 echo $ECHO_N "(cached) $ECHO_C" >&6
99160 else
99161 if test x$gcc_no_link = xyes; then
99162 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99163 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99164 { (exit 1); exit 1; }; }
99166 cat >conftest.$ac_ext <<_ACEOF
99167 /* confdefs.h. */
99168 _ACEOF
99169 cat confdefs.h >>conftest.$ac_ext
99170 cat >>conftest.$ac_ext <<_ACEOF
99171 /* end confdefs.h. */
99172 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99173 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99174 #define $ac_func innocuous_$ac_func
99176 /* System header to define __stub macros and hopefully few prototypes,
99177 which can conflict with char $ac_func (); below.
99178 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99179 <limits.h> exists even on freestanding compilers. */
99181 #ifdef __STDC__
99182 # include <limits.h>
99183 #else
99184 # include <assert.h>
99185 #endif
99187 #undef $ac_func
99189 /* Override any gcc2 internal prototype to avoid an error. */
99190 #ifdef __cplusplus
99191 extern "C"
99193 #endif
99194 /* We use char because int might match the return type of a gcc2
99195 builtin and then its argument prototype would still apply. */
99196 char $ac_func ();
99197 /* The GNU C library defines this for functions which it implements
99198 to always fail with ENOSYS. Some functions are actually named
99199 something starting with __ and the normal name is an alias. */
99200 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99201 choke me
99202 #else
99203 char (*f) () = $ac_func;
99204 #endif
99205 #ifdef __cplusplus
99207 #endif
99210 main ()
99212 return f != $ac_func;
99214 return 0;
99216 _ACEOF
99217 rm -f conftest.$ac_objext conftest$ac_exeext
99218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99219 (eval $ac_link) 2>conftest.er1
99220 ac_status=$?
99221 grep -v '^ *+' conftest.er1 >conftest.err
99222 rm -f conftest.er1
99223 cat conftest.err >&5
99224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99225 (exit $ac_status); } &&
99226 { ac_try='test -z "$ac_c_werror_flag"
99227 || test ! -s conftest.err'
99228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99229 (eval $ac_try) 2>&5
99230 ac_status=$?
99231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99232 (exit $ac_status); }; } &&
99233 { ac_try='test -s conftest$ac_exeext'
99234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99235 (eval $ac_try) 2>&5
99236 ac_status=$?
99237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99238 (exit $ac_status); }; }; then
99239 eval "$as_ac_var=yes"
99240 else
99241 echo "$as_me: failed program was:" >&5
99242 sed 's/^/| /' conftest.$ac_ext >&5
99244 eval "$as_ac_var=no"
99246 rm -f conftest.err conftest.$ac_objext \
99247 conftest$ac_exeext conftest.$ac_ext
99249 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99250 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99251 if test `eval echo '${'$as_ac_var'}'` = yes; then
99252 cat >>confdefs.h <<_ACEOF
99253 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99254 _ACEOF
99257 done
99259 else
99261 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
99262 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
99263 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
99264 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
99265 echo $ECHO_N "(cached) $ECHO_C" >&6
99266 else
99270 ac_ext=cc
99271 ac_cpp='$CXXCPP $CPPFLAGS'
99272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99276 cat >conftest.$ac_ext <<_ACEOF
99277 /* confdefs.h. */
99278 _ACEOF
99279 cat confdefs.h >>conftest.$ac_ext
99280 cat >>conftest.$ac_ext <<_ACEOF
99281 /* end confdefs.h. */
99282 #include <math.h>
99283 #ifdef HAVE_IEEEFP_H
99284 #include <ieeefp.h>
99285 #endif
99288 main ()
99290 _isinfl(0);
99292 return 0;
99294 _ACEOF
99295 rm -f conftest.$ac_objext
99296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99297 (eval $ac_compile) 2>conftest.er1
99298 ac_status=$?
99299 grep -v '^ *+' conftest.er1 >conftest.err
99300 rm -f conftest.er1
99301 cat conftest.err >&5
99302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99303 (exit $ac_status); } &&
99304 { ac_try='test -z "$ac_cxx_werror_flag"
99305 || test ! -s conftest.err'
99306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99307 (eval $ac_try) 2>&5
99308 ac_status=$?
99309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99310 (exit $ac_status); }; } &&
99311 { ac_try='test -s conftest.$ac_objext'
99312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99313 (eval $ac_try) 2>&5
99314 ac_status=$?
99315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99316 (exit $ac_status); }; }; then
99317 glibcxx_cv_func__isinfl_use=yes
99318 else
99319 echo "$as_me: failed program was:" >&5
99320 sed 's/^/| /' conftest.$ac_ext >&5
99322 glibcxx_cv_func__isinfl_use=no
99324 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99325 ac_ext=c
99326 ac_cpp='$CPP $CPPFLAGS'
99327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99335 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
99336 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
99338 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
99340 for ac_func in _isinfl
99342 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99343 echo "$as_me:$LINENO: checking for $ac_func" >&5
99344 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99345 if eval "test \"\${$as_ac_var+set}\" = set"; then
99346 echo $ECHO_N "(cached) $ECHO_C" >&6
99347 else
99348 if test x$gcc_no_link = xyes; then
99349 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99350 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99351 { (exit 1); exit 1; }; }
99353 cat >conftest.$ac_ext <<_ACEOF
99354 /* confdefs.h. */
99355 _ACEOF
99356 cat confdefs.h >>conftest.$ac_ext
99357 cat >>conftest.$ac_ext <<_ACEOF
99358 /* end confdefs.h. */
99359 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99360 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99361 #define $ac_func innocuous_$ac_func
99363 /* System header to define __stub macros and hopefully few prototypes,
99364 which can conflict with char $ac_func (); below.
99365 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99366 <limits.h> exists even on freestanding compilers. */
99368 #ifdef __STDC__
99369 # include <limits.h>
99370 #else
99371 # include <assert.h>
99372 #endif
99374 #undef $ac_func
99376 /* Override any gcc2 internal prototype to avoid an error. */
99377 #ifdef __cplusplus
99378 extern "C"
99380 #endif
99381 /* We use char because int might match the return type of a gcc2
99382 builtin and then its argument prototype would still apply. */
99383 char $ac_func ();
99384 /* The GNU C library defines this for functions which it implements
99385 to always fail with ENOSYS. Some functions are actually named
99386 something starting with __ and the normal name is an alias. */
99387 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99388 choke me
99389 #else
99390 char (*f) () = $ac_func;
99391 #endif
99392 #ifdef __cplusplus
99394 #endif
99397 main ()
99399 return f != $ac_func;
99401 return 0;
99403 _ACEOF
99404 rm -f conftest.$ac_objext conftest$ac_exeext
99405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99406 (eval $ac_link) 2>conftest.er1
99407 ac_status=$?
99408 grep -v '^ *+' conftest.er1 >conftest.err
99409 rm -f conftest.er1
99410 cat conftest.err >&5
99411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99412 (exit $ac_status); } &&
99413 { ac_try='test -z "$ac_c_werror_flag"
99414 || test ! -s conftest.err'
99415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99416 (eval $ac_try) 2>&5
99417 ac_status=$?
99418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99419 (exit $ac_status); }; } &&
99420 { ac_try='test -s conftest$ac_exeext'
99421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99422 (eval $ac_try) 2>&5
99423 ac_status=$?
99424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99425 (exit $ac_status); }; }; then
99426 eval "$as_ac_var=yes"
99427 else
99428 echo "$as_me: failed program was:" >&5
99429 sed 's/^/| /' conftest.$ac_ext >&5
99431 eval "$as_ac_var=no"
99433 rm -f conftest.err conftest.$ac_objext \
99434 conftest$ac_exeext conftest.$ac_ext
99436 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99437 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99438 if test `eval echo '${'$as_ac_var'}'` = yes; then
99439 cat >>confdefs.h <<_ACEOF
99440 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99441 _ACEOF
99444 done
99454 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
99455 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
99456 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
99457 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
99458 echo $ECHO_N "(cached) $ECHO_C" >&6
99459 else
99463 ac_ext=cc
99464 ac_cpp='$CXXCPP $CPPFLAGS'
99465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99469 cat >conftest.$ac_ext <<_ACEOF
99470 /* confdefs.h. */
99471 _ACEOF
99472 cat confdefs.h >>conftest.$ac_ext
99473 cat >>conftest.$ac_ext <<_ACEOF
99474 /* end confdefs.h. */
99475 #include <math.h>
99477 main ()
99479 copysignl(0, 0);
99481 return 0;
99483 _ACEOF
99484 rm -f conftest.$ac_objext
99485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99486 (eval $ac_compile) 2>conftest.er1
99487 ac_status=$?
99488 grep -v '^ *+' conftest.er1 >conftest.err
99489 rm -f conftest.er1
99490 cat conftest.err >&5
99491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99492 (exit $ac_status); } &&
99493 { ac_try='test -z "$ac_cxx_werror_flag"
99494 || test ! -s conftest.err'
99495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99496 (eval $ac_try) 2>&5
99497 ac_status=$?
99498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99499 (exit $ac_status); }; } &&
99500 { ac_try='test -s conftest.$ac_objext'
99501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99502 (eval $ac_try) 2>&5
99503 ac_status=$?
99504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99505 (exit $ac_status); }; }; then
99506 glibcxx_cv_func_copysignl_use=yes
99507 else
99508 echo "$as_me: failed program was:" >&5
99509 sed 's/^/| /' conftest.$ac_ext >&5
99511 glibcxx_cv_func_copysignl_use=no
99513 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99514 ac_ext=c
99515 ac_cpp='$CPP $CPPFLAGS'
99516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99524 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
99525 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
99527 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
99529 for ac_func in copysignl
99531 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99532 echo "$as_me:$LINENO: checking for $ac_func" >&5
99533 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99534 if eval "test \"\${$as_ac_var+set}\" = set"; then
99535 echo $ECHO_N "(cached) $ECHO_C" >&6
99536 else
99537 if test x$gcc_no_link = xyes; then
99538 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99539 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99540 { (exit 1); exit 1; }; }
99542 cat >conftest.$ac_ext <<_ACEOF
99543 /* confdefs.h. */
99544 _ACEOF
99545 cat confdefs.h >>conftest.$ac_ext
99546 cat >>conftest.$ac_ext <<_ACEOF
99547 /* end confdefs.h. */
99548 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99549 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99550 #define $ac_func innocuous_$ac_func
99552 /* System header to define __stub macros and hopefully few prototypes,
99553 which can conflict with char $ac_func (); below.
99554 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99555 <limits.h> exists even on freestanding compilers. */
99557 #ifdef __STDC__
99558 # include <limits.h>
99559 #else
99560 # include <assert.h>
99561 #endif
99563 #undef $ac_func
99565 /* Override any gcc2 internal prototype to avoid an error. */
99566 #ifdef __cplusplus
99567 extern "C"
99569 #endif
99570 /* We use char because int might match the return type of a gcc2
99571 builtin and then its argument prototype would still apply. */
99572 char $ac_func ();
99573 /* The GNU C library defines this for functions which it implements
99574 to always fail with ENOSYS. Some functions are actually named
99575 something starting with __ and the normal name is an alias. */
99576 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99577 choke me
99578 #else
99579 char (*f) () = $ac_func;
99580 #endif
99581 #ifdef __cplusplus
99583 #endif
99586 main ()
99588 return f != $ac_func;
99590 return 0;
99592 _ACEOF
99593 rm -f conftest.$ac_objext conftest$ac_exeext
99594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99595 (eval $ac_link) 2>conftest.er1
99596 ac_status=$?
99597 grep -v '^ *+' conftest.er1 >conftest.err
99598 rm -f conftest.er1
99599 cat conftest.err >&5
99600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99601 (exit $ac_status); } &&
99602 { ac_try='test -z "$ac_c_werror_flag"
99603 || test ! -s conftest.err'
99604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99605 (eval $ac_try) 2>&5
99606 ac_status=$?
99607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99608 (exit $ac_status); }; } &&
99609 { ac_try='test -s conftest$ac_exeext'
99610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99611 (eval $ac_try) 2>&5
99612 ac_status=$?
99613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99614 (exit $ac_status); }; }; then
99615 eval "$as_ac_var=yes"
99616 else
99617 echo "$as_me: failed program was:" >&5
99618 sed 's/^/| /' conftest.$ac_ext >&5
99620 eval "$as_ac_var=no"
99622 rm -f conftest.err conftest.$ac_objext \
99623 conftest$ac_exeext conftest.$ac_ext
99625 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99626 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99627 if test `eval echo '${'$as_ac_var'}'` = yes; then
99628 cat >>confdefs.h <<_ACEOF
99629 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99630 _ACEOF
99633 done
99635 else
99637 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
99638 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
99639 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
99640 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
99641 echo $ECHO_N "(cached) $ECHO_C" >&6
99642 else
99646 ac_ext=cc
99647 ac_cpp='$CXXCPP $CPPFLAGS'
99648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99652 cat >conftest.$ac_ext <<_ACEOF
99653 /* confdefs.h. */
99654 _ACEOF
99655 cat confdefs.h >>conftest.$ac_ext
99656 cat >>conftest.$ac_ext <<_ACEOF
99657 /* end confdefs.h. */
99658 #include <math.h>
99660 main ()
99662 _copysignl(0, 0);
99664 return 0;
99666 _ACEOF
99667 rm -f conftest.$ac_objext
99668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99669 (eval $ac_compile) 2>conftest.er1
99670 ac_status=$?
99671 grep -v '^ *+' conftest.er1 >conftest.err
99672 rm -f conftest.er1
99673 cat conftest.err >&5
99674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99675 (exit $ac_status); } &&
99676 { ac_try='test -z "$ac_cxx_werror_flag"
99677 || test ! -s conftest.err'
99678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99679 (eval $ac_try) 2>&5
99680 ac_status=$?
99681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99682 (exit $ac_status); }; } &&
99683 { ac_try='test -s conftest.$ac_objext'
99684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99685 (eval $ac_try) 2>&5
99686 ac_status=$?
99687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99688 (exit $ac_status); }; }; then
99689 glibcxx_cv_func__copysignl_use=yes
99690 else
99691 echo "$as_me: failed program was:" >&5
99692 sed 's/^/| /' conftest.$ac_ext >&5
99694 glibcxx_cv_func__copysignl_use=no
99696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99697 ac_ext=c
99698 ac_cpp='$CPP $CPPFLAGS'
99699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99707 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
99708 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
99710 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
99712 for ac_func in _copysignl
99714 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99715 echo "$as_me:$LINENO: checking for $ac_func" >&5
99716 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99717 if eval "test \"\${$as_ac_var+set}\" = set"; then
99718 echo $ECHO_N "(cached) $ECHO_C" >&6
99719 else
99720 if test x$gcc_no_link = xyes; then
99721 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99722 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99723 { (exit 1); exit 1; }; }
99725 cat >conftest.$ac_ext <<_ACEOF
99726 /* confdefs.h. */
99727 _ACEOF
99728 cat confdefs.h >>conftest.$ac_ext
99729 cat >>conftest.$ac_ext <<_ACEOF
99730 /* end confdefs.h. */
99731 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99732 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99733 #define $ac_func innocuous_$ac_func
99735 /* System header to define __stub macros and hopefully few prototypes,
99736 which can conflict with char $ac_func (); below.
99737 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99738 <limits.h> exists even on freestanding compilers. */
99740 #ifdef __STDC__
99741 # include <limits.h>
99742 #else
99743 # include <assert.h>
99744 #endif
99746 #undef $ac_func
99748 /* Override any gcc2 internal prototype to avoid an error. */
99749 #ifdef __cplusplus
99750 extern "C"
99752 #endif
99753 /* We use char because int might match the return type of a gcc2
99754 builtin and then its argument prototype would still apply. */
99755 char $ac_func ();
99756 /* The GNU C library defines this for functions which it implements
99757 to always fail with ENOSYS. Some functions are actually named
99758 something starting with __ and the normal name is an alias. */
99759 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99760 choke me
99761 #else
99762 char (*f) () = $ac_func;
99763 #endif
99764 #ifdef __cplusplus
99766 #endif
99769 main ()
99771 return f != $ac_func;
99773 return 0;
99775 _ACEOF
99776 rm -f conftest.$ac_objext conftest$ac_exeext
99777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99778 (eval $ac_link) 2>conftest.er1
99779 ac_status=$?
99780 grep -v '^ *+' conftest.er1 >conftest.err
99781 rm -f conftest.er1
99782 cat conftest.err >&5
99783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99784 (exit $ac_status); } &&
99785 { ac_try='test -z "$ac_c_werror_flag"
99786 || test ! -s conftest.err'
99787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99788 (eval $ac_try) 2>&5
99789 ac_status=$?
99790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99791 (exit $ac_status); }; } &&
99792 { ac_try='test -s conftest$ac_exeext'
99793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99794 (eval $ac_try) 2>&5
99795 ac_status=$?
99796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99797 (exit $ac_status); }; }; then
99798 eval "$as_ac_var=yes"
99799 else
99800 echo "$as_me: failed program was:" >&5
99801 sed 's/^/| /' conftest.$ac_ext >&5
99803 eval "$as_ac_var=no"
99805 rm -f conftest.err conftest.$ac_objext \
99806 conftest$ac_exeext conftest.$ac_ext
99808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99809 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99810 if test `eval echo '${'$as_ac_var'}'` = yes; then
99811 cat >>confdefs.h <<_ACEOF
99812 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99813 _ACEOF
99816 done
99826 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
99827 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
99828 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
99829 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
99830 echo $ECHO_N "(cached) $ECHO_C" >&6
99831 else
99835 ac_ext=cc
99836 ac_cpp='$CXXCPP $CPPFLAGS'
99837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99841 cat >conftest.$ac_ext <<_ACEOF
99842 /* confdefs.h. */
99843 _ACEOF
99844 cat confdefs.h >>conftest.$ac_ext
99845 cat >>conftest.$ac_ext <<_ACEOF
99846 /* end confdefs.h. */
99847 #include <math.h>
99849 main ()
99851 atan2l(0, 0);
99853 return 0;
99855 _ACEOF
99856 rm -f conftest.$ac_objext
99857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99858 (eval $ac_compile) 2>conftest.er1
99859 ac_status=$?
99860 grep -v '^ *+' conftest.er1 >conftest.err
99861 rm -f conftest.er1
99862 cat conftest.err >&5
99863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99864 (exit $ac_status); } &&
99865 { ac_try='test -z "$ac_cxx_werror_flag"
99866 || test ! -s conftest.err'
99867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99868 (eval $ac_try) 2>&5
99869 ac_status=$?
99870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99871 (exit $ac_status); }; } &&
99872 { ac_try='test -s conftest.$ac_objext'
99873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99874 (eval $ac_try) 2>&5
99875 ac_status=$?
99876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99877 (exit $ac_status); }; }; then
99878 glibcxx_cv_func_atan2l_use=yes
99879 else
99880 echo "$as_me: failed program was:" >&5
99881 sed 's/^/| /' conftest.$ac_ext >&5
99883 glibcxx_cv_func_atan2l_use=no
99885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99886 ac_ext=c
99887 ac_cpp='$CPP $CPPFLAGS'
99888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99896 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
99897 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
99899 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
99901 for ac_func in atan2l
99903 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99904 echo "$as_me:$LINENO: checking for $ac_func" >&5
99905 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99906 if eval "test \"\${$as_ac_var+set}\" = set"; then
99907 echo $ECHO_N "(cached) $ECHO_C" >&6
99908 else
99909 if test x$gcc_no_link = xyes; then
99910 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99911 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99912 { (exit 1); exit 1; }; }
99914 cat >conftest.$ac_ext <<_ACEOF
99915 /* confdefs.h. */
99916 _ACEOF
99917 cat confdefs.h >>conftest.$ac_ext
99918 cat >>conftest.$ac_ext <<_ACEOF
99919 /* end confdefs.h. */
99920 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99921 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99922 #define $ac_func innocuous_$ac_func
99924 /* System header to define __stub macros and hopefully few prototypes,
99925 which can conflict with char $ac_func (); below.
99926 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99927 <limits.h> exists even on freestanding compilers. */
99929 #ifdef __STDC__
99930 # include <limits.h>
99931 #else
99932 # include <assert.h>
99933 #endif
99935 #undef $ac_func
99937 /* Override any gcc2 internal prototype to avoid an error. */
99938 #ifdef __cplusplus
99939 extern "C"
99941 #endif
99942 /* We use char because int might match the return type of a gcc2
99943 builtin and then its argument prototype would still apply. */
99944 char $ac_func ();
99945 /* The GNU C library defines this for functions which it implements
99946 to always fail with ENOSYS. Some functions are actually named
99947 something starting with __ and the normal name is an alias. */
99948 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99949 choke me
99950 #else
99951 char (*f) () = $ac_func;
99952 #endif
99953 #ifdef __cplusplus
99955 #endif
99958 main ()
99960 return f != $ac_func;
99962 return 0;
99964 _ACEOF
99965 rm -f conftest.$ac_objext conftest$ac_exeext
99966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99967 (eval $ac_link) 2>conftest.er1
99968 ac_status=$?
99969 grep -v '^ *+' conftest.er1 >conftest.err
99970 rm -f conftest.er1
99971 cat conftest.err >&5
99972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99973 (exit $ac_status); } &&
99974 { ac_try='test -z "$ac_c_werror_flag"
99975 || test ! -s conftest.err'
99976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99977 (eval $ac_try) 2>&5
99978 ac_status=$?
99979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99980 (exit $ac_status); }; } &&
99981 { ac_try='test -s conftest$ac_exeext'
99982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99983 (eval $ac_try) 2>&5
99984 ac_status=$?
99985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99986 (exit $ac_status); }; }; then
99987 eval "$as_ac_var=yes"
99988 else
99989 echo "$as_me: failed program was:" >&5
99990 sed 's/^/| /' conftest.$ac_ext >&5
99992 eval "$as_ac_var=no"
99994 rm -f conftest.err conftest.$ac_objext \
99995 conftest$ac_exeext conftest.$ac_ext
99997 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99998 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99999 if test `eval echo '${'$as_ac_var'}'` = yes; then
100000 cat >>confdefs.h <<_ACEOF
100001 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100002 _ACEOF
100009 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
100010 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
100011 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
100012 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
100013 echo $ECHO_N "(cached) $ECHO_C" >&6
100018 ac_ext=cc
100019 ac_cpp='$CXXCPP $CPPFLAGS'
100020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100024 cat >conftest.$ac_ext <<_ACEOF
100025 /* confdefs.h. */
100026 _ACEOF
100027 cat confdefs.h >>conftest.$ac_ext
100028 cat >>conftest.$ac_ext <<_ACEOF
100029 /* end confdefs.h. */
100030 #include <math.h>
100032 main ()
100034 _atan2l(0, 0);
100036 return 0;
100038 _ACEOF
100039 rm -f conftest.$ac_objext
100040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100041 (eval $ac_compile) 2>conftest.er1
100042 ac_status=$?
100043 grep -v '^ *+' conftest.er1 >conftest.err
100044 rm -f conftest.er1
100045 cat conftest.err >&5
100046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100047 (exit $ac_status); } &&
100048 { ac_try='test -z "$ac_cxx_werror_flag"
100049 || test ! -s conftest.err'
100050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100051 (eval $ac_try) 2>&5
100052 ac_status=$?
100053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100054 (exit $ac_status); }; } &&
100055 { ac_try='test -s conftest.$ac_objext'
100056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100057 (eval $ac_try) 2>&5
100058 ac_status=$?
100059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100060 (exit $ac_status); }; }; then
100061 glibcxx_cv_func__atan2l_use=yes
100063 echo "$as_me: failed program was:" >&5
100064 sed 's/^/| /' conftest.$ac_ext >&5
100066 glibcxx_cv_func__atan2l_use=no
100068 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100069 ac_ext=c
100070 ac_cpp='$CPP $CPPFLAGS'
100071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100079 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
100080 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
100082 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
100084 for ac_func in _atan2l
100086 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100087 echo "$as_me:$LINENO: checking for $ac_func" >&5
100088 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100089 if eval "test \"\${$as_ac_var+set}\" = set"; then
100090 echo $ECHO_N "(cached) $ECHO_C" >&6
100092 if test x$gcc_no_link = xyes; then
100093 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100094 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100095 { (exit 1); exit 1; }; }
100097 cat >conftest.$ac_ext <<_ACEOF
100098 /* confdefs.h. */
100099 _ACEOF
100100 cat confdefs.h >>conftest.$ac_ext
100101 cat >>conftest.$ac_ext <<_ACEOF
100102 /* end confdefs.h. */
100103 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100104 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100105 #define $ac_func innocuous_$ac_func
100107 /* System header to define __stub macros and hopefully few prototypes,
100108 which can conflict with char $ac_func (); below.
100109 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100110 <limits.h> exists even on freestanding compilers. */
100112 #ifdef __STDC__
100113 # include <limits.h>
100114 #else
100115 # include <assert.h>
100116 #endif
100118 #undef $ac_func
100120 /* Override any gcc2 internal prototype to avoid an error. */
100121 #ifdef __cplusplus
100122 extern "C"
100124 #endif
100125 /* We use char because int might match the return type of a gcc2
100126 builtin and then its argument prototype would still apply. */
100127 char $ac_func ();
100128 /* The GNU C library defines this for functions which it implements
100129 to always fail with ENOSYS. Some functions are actually named
100130 something starting with __ and the normal name is an alias. */
100131 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100132 choke me
100133 #else
100134 char (*f) () = $ac_func;
100135 #endif
100136 #ifdef __cplusplus
100138 #endif
100141 main ()
100143 return f != $ac_func;
100145 return 0;
100147 _ACEOF
100148 rm -f conftest.$ac_objext conftest$ac_exeext
100149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100150 (eval $ac_link) 2>conftest.er1
100151 ac_status=$?
100152 grep -v '^ *+' conftest.er1 >conftest.err
100153 rm -f conftest.er1
100154 cat conftest.err >&5
100155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100156 (exit $ac_status); } &&
100157 { ac_try='test -z "$ac_c_werror_flag"
100158 || test ! -s conftest.err'
100159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100160 (eval $ac_try) 2>&5
100161 ac_status=$?
100162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100163 (exit $ac_status); }; } &&
100164 { ac_try='test -s conftest$ac_exeext'
100165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100166 (eval $ac_try) 2>&5
100167 ac_status=$?
100168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100169 (exit $ac_status); }; }; then
100170 eval "$as_ac_var=yes"
100172 echo "$as_me: failed program was:" >&5
100173 sed 's/^/| /' conftest.$ac_ext >&5
100175 eval "$as_ac_var=no"
100177 rm -f conftest.err conftest.$ac_objext \
100178 conftest$ac_exeext conftest.$ac_ext
100180 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100181 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100182 if test `eval echo '${'$as_ac_var'}'` = yes; then
100183 cat >>confdefs.h <<_ACEOF
100184 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100185 _ACEOF
100198 echo "$as_me:$LINENO: checking for expl declaration" >&5
100199 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
100200 if test x${glibcxx_cv_func_expl_use+set} != xset; then
100201 if test "${glibcxx_cv_func_expl_use+set}" = set; then
100202 echo $ECHO_N "(cached) $ECHO_C" >&6
100207 ac_ext=cc
100208 ac_cpp='$CXXCPP $CPPFLAGS'
100209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100213 cat >conftest.$ac_ext <<_ACEOF
100214 /* confdefs.h. */
100215 _ACEOF
100216 cat confdefs.h >>conftest.$ac_ext
100217 cat >>conftest.$ac_ext <<_ACEOF
100218 /* end confdefs.h. */
100219 #include <math.h>
100220 #ifdef HAVE_IEEEFP_H
100221 #include <ieeefp.h>
100222 #endif
100225 main ()
100227 expl(0);
100229 return 0;
100231 _ACEOF
100232 rm -f conftest.$ac_objext
100233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100234 (eval $ac_compile) 2>conftest.er1
100235 ac_status=$?
100236 grep -v '^ *+' conftest.er1 >conftest.err
100237 rm -f conftest.er1
100238 cat conftest.err >&5
100239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100240 (exit $ac_status); } &&
100241 { ac_try='test -z "$ac_cxx_werror_flag"
100242 || test ! -s conftest.err'
100243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100244 (eval $ac_try) 2>&5
100245 ac_status=$?
100246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100247 (exit $ac_status); }; } &&
100248 { ac_try='test -s conftest.$ac_objext'
100249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100250 (eval $ac_try) 2>&5
100251 ac_status=$?
100252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100253 (exit $ac_status); }; }; then
100254 glibcxx_cv_func_expl_use=yes
100256 echo "$as_me: failed program was:" >&5
100257 sed 's/^/| /' conftest.$ac_ext >&5
100259 glibcxx_cv_func_expl_use=no
100261 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100262 ac_ext=c
100263 ac_cpp='$CPP $CPPFLAGS'
100264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100272 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
100273 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
100275 if test x$glibcxx_cv_func_expl_use = x"yes"; then
100277 for ac_func in expl
100279 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100280 echo "$as_me:$LINENO: checking for $ac_func" >&5
100281 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100282 if eval "test \"\${$as_ac_var+set}\" = set"; then
100283 echo $ECHO_N "(cached) $ECHO_C" >&6
100285 if test x$gcc_no_link = xyes; then
100286 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100287 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100288 { (exit 1); exit 1; }; }
100290 cat >conftest.$ac_ext <<_ACEOF
100291 /* confdefs.h. */
100292 _ACEOF
100293 cat confdefs.h >>conftest.$ac_ext
100294 cat >>conftest.$ac_ext <<_ACEOF
100295 /* end confdefs.h. */
100296 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100297 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100298 #define $ac_func innocuous_$ac_func
100300 /* System header to define __stub macros and hopefully few prototypes,
100301 which can conflict with char $ac_func (); below.
100302 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100303 <limits.h> exists even on freestanding compilers. */
100305 #ifdef __STDC__
100306 # include <limits.h>
100307 #else
100308 # include <assert.h>
100309 #endif
100311 #undef $ac_func
100313 /* Override any gcc2 internal prototype to avoid an error. */
100314 #ifdef __cplusplus
100315 extern "C"
100317 #endif
100318 /* We use char because int might match the return type of a gcc2
100319 builtin and then its argument prototype would still apply. */
100320 char $ac_func ();
100321 /* The GNU C library defines this for functions which it implements
100322 to always fail with ENOSYS. Some functions are actually named
100323 something starting with __ and the normal name is an alias. */
100324 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100325 choke me
100326 #else
100327 char (*f) () = $ac_func;
100328 #endif
100329 #ifdef __cplusplus
100331 #endif
100334 main ()
100336 return f != $ac_func;
100338 return 0;
100340 _ACEOF
100341 rm -f conftest.$ac_objext conftest$ac_exeext
100342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100343 (eval $ac_link) 2>conftest.er1
100344 ac_status=$?
100345 grep -v '^ *+' conftest.er1 >conftest.err
100346 rm -f conftest.er1
100347 cat conftest.err >&5
100348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100349 (exit $ac_status); } &&
100350 { ac_try='test -z "$ac_c_werror_flag"
100351 || test ! -s conftest.err'
100352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100353 (eval $ac_try) 2>&5
100354 ac_status=$?
100355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100356 (exit $ac_status); }; } &&
100357 { ac_try='test -s conftest$ac_exeext'
100358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100359 (eval $ac_try) 2>&5
100360 ac_status=$?
100361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100362 (exit $ac_status); }; }; then
100363 eval "$as_ac_var=yes"
100365 echo "$as_me: failed program was:" >&5
100366 sed 's/^/| /' conftest.$ac_ext >&5
100368 eval "$as_ac_var=no"
100370 rm -f conftest.err conftest.$ac_objext \
100371 conftest$ac_exeext conftest.$ac_ext
100373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100374 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100375 if test `eval echo '${'$as_ac_var'}'` = yes; then
100376 cat >>confdefs.h <<_ACEOF
100377 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100378 _ACEOF
100385 echo "$as_me:$LINENO: checking for _expl declaration" >&5
100386 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
100387 if test x${glibcxx_cv_func__expl_use+set} != xset; then
100388 if test "${glibcxx_cv_func__expl_use+set}" = set; then
100389 echo $ECHO_N "(cached) $ECHO_C" >&6
100394 ac_ext=cc
100395 ac_cpp='$CXXCPP $CPPFLAGS'
100396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100400 cat >conftest.$ac_ext <<_ACEOF
100401 /* confdefs.h. */
100402 _ACEOF
100403 cat confdefs.h >>conftest.$ac_ext
100404 cat >>conftest.$ac_ext <<_ACEOF
100405 /* end confdefs.h. */
100406 #include <math.h>
100407 #ifdef HAVE_IEEEFP_H
100408 #include <ieeefp.h>
100409 #endif
100412 main ()
100414 _expl(0);
100416 return 0;
100418 _ACEOF
100419 rm -f conftest.$ac_objext
100420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100421 (eval $ac_compile) 2>conftest.er1
100422 ac_status=$?
100423 grep -v '^ *+' conftest.er1 >conftest.err
100424 rm -f conftest.er1
100425 cat conftest.err >&5
100426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100427 (exit $ac_status); } &&
100428 { ac_try='test -z "$ac_cxx_werror_flag"
100429 || test ! -s conftest.err'
100430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100431 (eval $ac_try) 2>&5
100432 ac_status=$?
100433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100434 (exit $ac_status); }; } &&
100435 { ac_try='test -s conftest.$ac_objext'
100436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100437 (eval $ac_try) 2>&5
100438 ac_status=$?
100439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100440 (exit $ac_status); }; }; then
100441 glibcxx_cv_func__expl_use=yes
100443 echo "$as_me: failed program was:" >&5
100444 sed 's/^/| /' conftest.$ac_ext >&5
100446 glibcxx_cv_func__expl_use=no
100448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100449 ac_ext=c
100450 ac_cpp='$CPP $CPPFLAGS'
100451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100459 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
100460 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
100462 if test x$glibcxx_cv_func__expl_use = x"yes"; then
100464 for ac_func in _expl
100466 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100467 echo "$as_me:$LINENO: checking for $ac_func" >&5
100468 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100469 if eval "test \"\${$as_ac_var+set}\" = set"; then
100470 echo $ECHO_N "(cached) $ECHO_C" >&6
100472 if test x$gcc_no_link = xyes; then
100473 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100474 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100475 { (exit 1); exit 1; }; }
100477 cat >conftest.$ac_ext <<_ACEOF
100478 /* confdefs.h. */
100479 _ACEOF
100480 cat confdefs.h >>conftest.$ac_ext
100481 cat >>conftest.$ac_ext <<_ACEOF
100482 /* end confdefs.h. */
100483 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100484 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100485 #define $ac_func innocuous_$ac_func
100487 /* System header to define __stub macros and hopefully few prototypes,
100488 which can conflict with char $ac_func (); below.
100489 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100490 <limits.h> exists even on freestanding compilers. */
100492 #ifdef __STDC__
100493 # include <limits.h>
100494 #else
100495 # include <assert.h>
100496 #endif
100498 #undef $ac_func
100500 /* Override any gcc2 internal prototype to avoid an error. */
100501 #ifdef __cplusplus
100502 extern "C"
100504 #endif
100505 /* We use char because int might match the return type of a gcc2
100506 builtin and then its argument prototype would still apply. */
100507 char $ac_func ();
100508 /* The GNU C library defines this for functions which it implements
100509 to always fail with ENOSYS. Some functions are actually named
100510 something starting with __ and the normal name is an alias. */
100511 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100512 choke me
100513 #else
100514 char (*f) () = $ac_func;
100515 #endif
100516 #ifdef __cplusplus
100518 #endif
100521 main ()
100523 return f != $ac_func;
100525 return 0;
100527 _ACEOF
100528 rm -f conftest.$ac_objext conftest$ac_exeext
100529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100530 (eval $ac_link) 2>conftest.er1
100531 ac_status=$?
100532 grep -v '^ *+' conftest.er1 >conftest.err
100533 rm -f conftest.er1
100534 cat conftest.err >&5
100535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100536 (exit $ac_status); } &&
100537 { ac_try='test -z "$ac_c_werror_flag"
100538 || test ! -s conftest.err'
100539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100540 (eval $ac_try) 2>&5
100541 ac_status=$?
100542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100543 (exit $ac_status); }; } &&
100544 { ac_try='test -s conftest$ac_exeext'
100545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100546 (eval $ac_try) 2>&5
100547 ac_status=$?
100548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100549 (exit $ac_status); }; }; then
100550 eval "$as_ac_var=yes"
100552 echo "$as_me: failed program was:" >&5
100553 sed 's/^/| /' conftest.$ac_ext >&5
100555 eval "$as_ac_var=no"
100557 rm -f conftest.err conftest.$ac_objext \
100558 conftest$ac_exeext conftest.$ac_ext
100560 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100561 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100562 if test `eval echo '${'$as_ac_var'}'` = yes; then
100563 cat >>confdefs.h <<_ACEOF
100564 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100565 _ACEOF
100578 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
100579 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
100580 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
100581 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
100582 echo $ECHO_N "(cached) $ECHO_C" >&6
100587 ac_ext=cc
100588 ac_cpp='$CXXCPP $CPPFLAGS'
100589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100593 cat >conftest.$ac_ext <<_ACEOF
100594 /* confdefs.h. */
100595 _ACEOF
100596 cat confdefs.h >>conftest.$ac_ext
100597 cat >>conftest.$ac_ext <<_ACEOF
100598 /* end confdefs.h. */
100599 #include <math.h>
100600 #ifdef HAVE_IEEEFP_H
100601 #include <ieeefp.h>
100602 #endif
100605 main ()
100607 fabsl(0);
100609 return 0;
100611 _ACEOF
100612 rm -f conftest.$ac_objext
100613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100614 (eval $ac_compile) 2>conftest.er1
100615 ac_status=$?
100616 grep -v '^ *+' conftest.er1 >conftest.err
100617 rm -f conftest.er1
100618 cat conftest.err >&5
100619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100620 (exit $ac_status); } &&
100621 { ac_try='test -z "$ac_cxx_werror_flag"
100622 || test ! -s conftest.err'
100623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100624 (eval $ac_try) 2>&5
100625 ac_status=$?
100626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100627 (exit $ac_status); }; } &&
100628 { ac_try='test -s conftest.$ac_objext'
100629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100630 (eval $ac_try) 2>&5
100631 ac_status=$?
100632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100633 (exit $ac_status); }; }; then
100634 glibcxx_cv_func_fabsl_use=yes
100636 echo "$as_me: failed program was:" >&5
100637 sed 's/^/| /' conftest.$ac_ext >&5
100639 glibcxx_cv_func_fabsl_use=no
100641 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100642 ac_ext=c
100643 ac_cpp='$CPP $CPPFLAGS'
100644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100652 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
100653 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
100655 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
100657 for ac_func in fabsl
100659 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100660 echo "$as_me:$LINENO: checking for $ac_func" >&5
100661 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100662 if eval "test \"\${$as_ac_var+set}\" = set"; then
100663 echo $ECHO_N "(cached) $ECHO_C" >&6
100665 if test x$gcc_no_link = xyes; then
100666 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100667 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100668 { (exit 1); exit 1; }; }
100670 cat >conftest.$ac_ext <<_ACEOF
100671 /* confdefs.h. */
100672 _ACEOF
100673 cat confdefs.h >>conftest.$ac_ext
100674 cat >>conftest.$ac_ext <<_ACEOF
100675 /* end confdefs.h. */
100676 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100677 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100678 #define $ac_func innocuous_$ac_func
100680 /* System header to define __stub macros and hopefully few prototypes,
100681 which can conflict with char $ac_func (); below.
100682 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100683 <limits.h> exists even on freestanding compilers. */
100685 #ifdef __STDC__
100686 # include <limits.h>
100687 #else
100688 # include <assert.h>
100689 #endif
100691 #undef $ac_func
100693 /* Override any gcc2 internal prototype to avoid an error. */
100694 #ifdef __cplusplus
100695 extern "C"
100697 #endif
100698 /* We use char because int might match the return type of a gcc2
100699 builtin and then its argument prototype would still apply. */
100700 char $ac_func ();
100701 /* The GNU C library defines this for functions which it implements
100702 to always fail with ENOSYS. Some functions are actually named
100703 something starting with __ and the normal name is an alias. */
100704 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100705 choke me
100706 #else
100707 char (*f) () = $ac_func;
100708 #endif
100709 #ifdef __cplusplus
100711 #endif
100714 main ()
100716 return f != $ac_func;
100718 return 0;
100720 _ACEOF
100721 rm -f conftest.$ac_objext conftest$ac_exeext
100722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100723 (eval $ac_link) 2>conftest.er1
100724 ac_status=$?
100725 grep -v '^ *+' conftest.er1 >conftest.err
100726 rm -f conftest.er1
100727 cat conftest.err >&5
100728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100729 (exit $ac_status); } &&
100730 { ac_try='test -z "$ac_c_werror_flag"
100731 || test ! -s conftest.err'
100732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100733 (eval $ac_try) 2>&5
100734 ac_status=$?
100735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100736 (exit $ac_status); }; } &&
100737 { ac_try='test -s conftest$ac_exeext'
100738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100739 (eval $ac_try) 2>&5
100740 ac_status=$?
100741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100742 (exit $ac_status); }; }; then
100743 eval "$as_ac_var=yes"
100745 echo "$as_me: failed program was:" >&5
100746 sed 's/^/| /' conftest.$ac_ext >&5
100748 eval "$as_ac_var=no"
100750 rm -f conftest.err conftest.$ac_objext \
100751 conftest$ac_exeext conftest.$ac_ext
100753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100754 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100755 if test `eval echo '${'$as_ac_var'}'` = yes; then
100756 cat >>confdefs.h <<_ACEOF
100757 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100758 _ACEOF
100765 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
100766 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
100767 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
100768 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
100769 echo $ECHO_N "(cached) $ECHO_C" >&6
100774 ac_ext=cc
100775 ac_cpp='$CXXCPP $CPPFLAGS'
100776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100780 cat >conftest.$ac_ext <<_ACEOF
100781 /* confdefs.h. */
100782 _ACEOF
100783 cat confdefs.h >>conftest.$ac_ext
100784 cat >>conftest.$ac_ext <<_ACEOF
100785 /* end confdefs.h. */
100786 #include <math.h>
100787 #ifdef HAVE_IEEEFP_H
100788 #include <ieeefp.h>
100789 #endif
100792 main ()
100794 _fabsl(0);
100796 return 0;
100798 _ACEOF
100799 rm -f conftest.$ac_objext
100800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100801 (eval $ac_compile) 2>conftest.er1
100802 ac_status=$?
100803 grep -v '^ *+' conftest.er1 >conftest.err
100804 rm -f conftest.er1
100805 cat conftest.err >&5
100806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100807 (exit $ac_status); } &&
100808 { ac_try='test -z "$ac_cxx_werror_flag"
100809 || test ! -s conftest.err'
100810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100811 (eval $ac_try) 2>&5
100812 ac_status=$?
100813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100814 (exit $ac_status); }; } &&
100815 { ac_try='test -s conftest.$ac_objext'
100816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100817 (eval $ac_try) 2>&5
100818 ac_status=$?
100819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100820 (exit $ac_status); }; }; then
100821 glibcxx_cv_func__fabsl_use=yes
100823 echo "$as_me: failed program was:" >&5
100824 sed 's/^/| /' conftest.$ac_ext >&5
100826 glibcxx_cv_func__fabsl_use=no
100828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100829 ac_ext=c
100830 ac_cpp='$CPP $CPPFLAGS'
100831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100839 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
100840 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
100842 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
100844 for ac_func in _fabsl
100846 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100847 echo "$as_me:$LINENO: checking for $ac_func" >&5
100848 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100849 if eval "test \"\${$as_ac_var+set}\" = set"; then
100850 echo $ECHO_N "(cached) $ECHO_C" >&6
100852 if test x$gcc_no_link = xyes; then
100853 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100854 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100855 { (exit 1); exit 1; }; }
100857 cat >conftest.$ac_ext <<_ACEOF
100858 /* confdefs.h. */
100859 _ACEOF
100860 cat confdefs.h >>conftest.$ac_ext
100861 cat >>conftest.$ac_ext <<_ACEOF
100862 /* end confdefs.h. */
100863 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100864 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100865 #define $ac_func innocuous_$ac_func
100867 /* System header to define __stub macros and hopefully few prototypes,
100868 which can conflict with char $ac_func (); below.
100869 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100870 <limits.h> exists even on freestanding compilers. */
100872 #ifdef __STDC__
100873 # include <limits.h>
100874 #else
100875 # include <assert.h>
100876 #endif
100878 #undef $ac_func
100880 /* Override any gcc2 internal prototype to avoid an error. */
100881 #ifdef __cplusplus
100882 extern "C"
100884 #endif
100885 /* We use char because int might match the return type of a gcc2
100886 builtin and then its argument prototype would still apply. */
100887 char $ac_func ();
100888 /* The GNU C library defines this for functions which it implements
100889 to always fail with ENOSYS. Some functions are actually named
100890 something starting with __ and the normal name is an alias. */
100891 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100892 choke me
100893 #else
100894 char (*f) () = $ac_func;
100895 #endif
100896 #ifdef __cplusplus
100898 #endif
100901 main ()
100903 return f != $ac_func;
100905 return 0;
100907 _ACEOF
100908 rm -f conftest.$ac_objext conftest$ac_exeext
100909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100910 (eval $ac_link) 2>conftest.er1
100911 ac_status=$?
100912 grep -v '^ *+' conftest.er1 >conftest.err
100913 rm -f conftest.er1
100914 cat conftest.err >&5
100915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100916 (exit $ac_status); } &&
100917 { ac_try='test -z "$ac_c_werror_flag"
100918 || test ! -s conftest.err'
100919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100920 (eval $ac_try) 2>&5
100921 ac_status=$?
100922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100923 (exit $ac_status); }; } &&
100924 { ac_try='test -s conftest$ac_exeext'
100925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100926 (eval $ac_try) 2>&5
100927 ac_status=$?
100928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100929 (exit $ac_status); }; }; then
100930 eval "$as_ac_var=yes"
100932 echo "$as_me: failed program was:" >&5
100933 sed 's/^/| /' conftest.$ac_ext >&5
100935 eval "$as_ac_var=no"
100937 rm -f conftest.err conftest.$ac_objext \
100938 conftest$ac_exeext conftest.$ac_ext
100940 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100941 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100942 if test `eval echo '${'$as_ac_var'}'` = yes; then
100943 cat >>confdefs.h <<_ACEOF
100944 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100945 _ACEOF
100958 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
100959 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
100960 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
100961 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
100962 echo $ECHO_N "(cached) $ECHO_C" >&6
100967 ac_ext=cc
100968 ac_cpp='$CXXCPP $CPPFLAGS'
100969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100973 cat >conftest.$ac_ext <<_ACEOF
100974 /* confdefs.h. */
100975 _ACEOF
100976 cat confdefs.h >>conftest.$ac_ext
100977 cat >>conftest.$ac_ext <<_ACEOF
100978 /* end confdefs.h. */
100979 #include <math.h>
100981 main ()
100983 fmodl(0, 0);
100985 return 0;
100987 _ACEOF
100988 rm -f conftest.$ac_objext
100989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100990 (eval $ac_compile) 2>conftest.er1
100991 ac_status=$?
100992 grep -v '^ *+' conftest.er1 >conftest.err
100993 rm -f conftest.er1
100994 cat conftest.err >&5
100995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100996 (exit $ac_status); } &&
100997 { ac_try='test -z "$ac_cxx_werror_flag"
100998 || test ! -s conftest.err'
100999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101000 (eval $ac_try) 2>&5
101001 ac_status=$?
101002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101003 (exit $ac_status); }; } &&
101004 { ac_try='test -s conftest.$ac_objext'
101005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101006 (eval $ac_try) 2>&5
101007 ac_status=$?
101008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101009 (exit $ac_status); }; }; then
101010 glibcxx_cv_func_fmodl_use=yes
101012 echo "$as_me: failed program was:" >&5
101013 sed 's/^/| /' conftest.$ac_ext >&5
101015 glibcxx_cv_func_fmodl_use=no
101017 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101018 ac_ext=c
101019 ac_cpp='$CPP $CPPFLAGS'
101020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101028 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
101029 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
101031 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
101033 for ac_func in fmodl
101035 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101036 echo "$as_me:$LINENO: checking for $ac_func" >&5
101037 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101038 if eval "test \"\${$as_ac_var+set}\" = set"; then
101039 echo $ECHO_N "(cached) $ECHO_C" >&6
101041 if test x$gcc_no_link = xyes; then
101042 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101043 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101044 { (exit 1); exit 1; }; }
101046 cat >conftest.$ac_ext <<_ACEOF
101047 /* confdefs.h. */
101048 _ACEOF
101049 cat confdefs.h >>conftest.$ac_ext
101050 cat >>conftest.$ac_ext <<_ACEOF
101051 /* end confdefs.h. */
101052 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101053 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101054 #define $ac_func innocuous_$ac_func
101056 /* System header to define __stub macros and hopefully few prototypes,
101057 which can conflict with char $ac_func (); below.
101058 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101059 <limits.h> exists even on freestanding compilers. */
101061 #ifdef __STDC__
101062 # include <limits.h>
101063 #else
101064 # include <assert.h>
101065 #endif
101067 #undef $ac_func
101069 /* Override any gcc2 internal prototype to avoid an error. */
101070 #ifdef __cplusplus
101071 extern "C"
101073 #endif
101074 /* We use char because int might match the return type of a gcc2
101075 builtin and then its argument prototype would still apply. */
101076 char $ac_func ();
101077 /* The GNU C library defines this for functions which it implements
101078 to always fail with ENOSYS. Some functions are actually named
101079 something starting with __ and the normal name is an alias. */
101080 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101081 choke me
101082 #else
101083 char (*f) () = $ac_func;
101084 #endif
101085 #ifdef __cplusplus
101087 #endif
101090 main ()
101092 return f != $ac_func;
101094 return 0;
101096 _ACEOF
101097 rm -f conftest.$ac_objext conftest$ac_exeext
101098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101099 (eval $ac_link) 2>conftest.er1
101100 ac_status=$?
101101 grep -v '^ *+' conftest.er1 >conftest.err
101102 rm -f conftest.er1
101103 cat conftest.err >&5
101104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101105 (exit $ac_status); } &&
101106 { ac_try='test -z "$ac_c_werror_flag"
101107 || test ! -s conftest.err'
101108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101109 (eval $ac_try) 2>&5
101110 ac_status=$?
101111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101112 (exit $ac_status); }; } &&
101113 { ac_try='test -s conftest$ac_exeext'
101114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101115 (eval $ac_try) 2>&5
101116 ac_status=$?
101117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101118 (exit $ac_status); }; }; then
101119 eval "$as_ac_var=yes"
101121 echo "$as_me: failed program was:" >&5
101122 sed 's/^/| /' conftest.$ac_ext >&5
101124 eval "$as_ac_var=no"
101126 rm -f conftest.err conftest.$ac_objext \
101127 conftest$ac_exeext conftest.$ac_ext
101129 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101130 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101131 if test `eval echo '${'$as_ac_var'}'` = yes; then
101132 cat >>confdefs.h <<_ACEOF
101133 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101134 _ACEOF
101141 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
101142 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
101143 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
101144 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
101145 echo $ECHO_N "(cached) $ECHO_C" >&6
101150 ac_ext=cc
101151 ac_cpp='$CXXCPP $CPPFLAGS'
101152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101156 cat >conftest.$ac_ext <<_ACEOF
101157 /* confdefs.h. */
101158 _ACEOF
101159 cat confdefs.h >>conftest.$ac_ext
101160 cat >>conftest.$ac_ext <<_ACEOF
101161 /* end confdefs.h. */
101162 #include <math.h>
101164 main ()
101166 _fmodl(0, 0);
101168 return 0;
101170 _ACEOF
101171 rm -f conftest.$ac_objext
101172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101173 (eval $ac_compile) 2>conftest.er1
101174 ac_status=$?
101175 grep -v '^ *+' conftest.er1 >conftest.err
101176 rm -f conftest.er1
101177 cat conftest.err >&5
101178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101179 (exit $ac_status); } &&
101180 { ac_try='test -z "$ac_cxx_werror_flag"
101181 || test ! -s conftest.err'
101182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101183 (eval $ac_try) 2>&5
101184 ac_status=$?
101185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101186 (exit $ac_status); }; } &&
101187 { ac_try='test -s conftest.$ac_objext'
101188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101189 (eval $ac_try) 2>&5
101190 ac_status=$?
101191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101192 (exit $ac_status); }; }; then
101193 glibcxx_cv_func__fmodl_use=yes
101195 echo "$as_me: failed program was:" >&5
101196 sed 's/^/| /' conftest.$ac_ext >&5
101198 glibcxx_cv_func__fmodl_use=no
101200 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101201 ac_ext=c
101202 ac_cpp='$CPP $CPPFLAGS'
101203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101211 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
101212 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
101214 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
101216 for ac_func in _fmodl
101218 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101219 echo "$as_me:$LINENO: checking for $ac_func" >&5
101220 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101221 if eval "test \"\${$as_ac_var+set}\" = set"; then
101222 echo $ECHO_N "(cached) $ECHO_C" >&6
101224 if test x$gcc_no_link = xyes; then
101225 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101226 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101227 { (exit 1); exit 1; }; }
101229 cat >conftest.$ac_ext <<_ACEOF
101230 /* confdefs.h. */
101231 _ACEOF
101232 cat confdefs.h >>conftest.$ac_ext
101233 cat >>conftest.$ac_ext <<_ACEOF
101234 /* end confdefs.h. */
101235 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101236 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101237 #define $ac_func innocuous_$ac_func
101239 /* System header to define __stub macros and hopefully few prototypes,
101240 which can conflict with char $ac_func (); below.
101241 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101242 <limits.h> exists even on freestanding compilers. */
101244 #ifdef __STDC__
101245 # include <limits.h>
101246 #else
101247 # include <assert.h>
101248 #endif
101250 #undef $ac_func
101252 /* Override any gcc2 internal prototype to avoid an error. */
101253 #ifdef __cplusplus
101254 extern "C"
101256 #endif
101257 /* We use char because int might match the return type of a gcc2
101258 builtin and then its argument prototype would still apply. */
101259 char $ac_func ();
101260 /* The GNU C library defines this for functions which it implements
101261 to always fail with ENOSYS. Some functions are actually named
101262 something starting with __ and the normal name is an alias. */
101263 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101264 choke me
101265 #else
101266 char (*f) () = $ac_func;
101267 #endif
101268 #ifdef __cplusplus
101270 #endif
101273 main ()
101275 return f != $ac_func;
101277 return 0;
101279 _ACEOF
101280 rm -f conftest.$ac_objext conftest$ac_exeext
101281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101282 (eval $ac_link) 2>conftest.er1
101283 ac_status=$?
101284 grep -v '^ *+' conftest.er1 >conftest.err
101285 rm -f conftest.er1
101286 cat conftest.err >&5
101287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101288 (exit $ac_status); } &&
101289 { ac_try='test -z "$ac_c_werror_flag"
101290 || test ! -s conftest.err'
101291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101292 (eval $ac_try) 2>&5
101293 ac_status=$?
101294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101295 (exit $ac_status); }; } &&
101296 { ac_try='test -s conftest$ac_exeext'
101297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101298 (eval $ac_try) 2>&5
101299 ac_status=$?
101300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101301 (exit $ac_status); }; }; then
101302 eval "$as_ac_var=yes"
101304 echo "$as_me: failed program was:" >&5
101305 sed 's/^/| /' conftest.$ac_ext >&5
101307 eval "$as_ac_var=no"
101309 rm -f conftest.err conftest.$ac_objext \
101310 conftest$ac_exeext conftest.$ac_ext
101312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101313 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101314 if test `eval echo '${'$as_ac_var'}'` = yes; then
101315 cat >>confdefs.h <<_ACEOF
101316 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101317 _ACEOF
101330 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
101331 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
101332 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
101333 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
101334 echo $ECHO_N "(cached) $ECHO_C" >&6
101339 ac_ext=cc
101340 ac_cpp='$CXXCPP $CPPFLAGS'
101341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101345 cat >conftest.$ac_ext <<_ACEOF
101346 /* confdefs.h. */
101347 _ACEOF
101348 cat confdefs.h >>conftest.$ac_ext
101349 cat >>conftest.$ac_ext <<_ACEOF
101350 /* end confdefs.h. */
101351 #include <math.h>
101353 main ()
101355 frexpl(0, 0);
101357 return 0;
101359 _ACEOF
101360 rm -f conftest.$ac_objext
101361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101362 (eval $ac_compile) 2>conftest.er1
101363 ac_status=$?
101364 grep -v '^ *+' conftest.er1 >conftest.err
101365 rm -f conftest.er1
101366 cat conftest.err >&5
101367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101368 (exit $ac_status); } &&
101369 { ac_try='test -z "$ac_cxx_werror_flag"
101370 || test ! -s conftest.err'
101371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101372 (eval $ac_try) 2>&5
101373 ac_status=$?
101374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101375 (exit $ac_status); }; } &&
101376 { ac_try='test -s conftest.$ac_objext'
101377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101378 (eval $ac_try) 2>&5
101379 ac_status=$?
101380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101381 (exit $ac_status); }; }; then
101382 glibcxx_cv_func_frexpl_use=yes
101384 echo "$as_me: failed program was:" >&5
101385 sed 's/^/| /' conftest.$ac_ext >&5
101387 glibcxx_cv_func_frexpl_use=no
101389 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101390 ac_ext=c
101391 ac_cpp='$CPP $CPPFLAGS'
101392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101400 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
101401 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
101403 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
101405 for ac_func in frexpl
101407 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101408 echo "$as_me:$LINENO: checking for $ac_func" >&5
101409 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101410 if eval "test \"\${$as_ac_var+set}\" = set"; then
101411 echo $ECHO_N "(cached) $ECHO_C" >&6
101413 if test x$gcc_no_link = xyes; then
101414 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101415 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101416 { (exit 1); exit 1; }; }
101418 cat >conftest.$ac_ext <<_ACEOF
101419 /* confdefs.h. */
101420 _ACEOF
101421 cat confdefs.h >>conftest.$ac_ext
101422 cat >>conftest.$ac_ext <<_ACEOF
101423 /* end confdefs.h. */
101424 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101425 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101426 #define $ac_func innocuous_$ac_func
101428 /* System header to define __stub macros and hopefully few prototypes,
101429 which can conflict with char $ac_func (); below.
101430 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101431 <limits.h> exists even on freestanding compilers. */
101433 #ifdef __STDC__
101434 # include <limits.h>
101435 #else
101436 # include <assert.h>
101437 #endif
101439 #undef $ac_func
101441 /* Override any gcc2 internal prototype to avoid an error. */
101442 #ifdef __cplusplus
101443 extern "C"
101445 #endif
101446 /* We use char because int might match the return type of a gcc2
101447 builtin and then its argument prototype would still apply. */
101448 char $ac_func ();
101449 /* The GNU C library defines this for functions which it implements
101450 to always fail with ENOSYS. Some functions are actually named
101451 something starting with __ and the normal name is an alias. */
101452 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101453 choke me
101454 #else
101455 char (*f) () = $ac_func;
101456 #endif
101457 #ifdef __cplusplus
101459 #endif
101462 main ()
101464 return f != $ac_func;
101466 return 0;
101468 _ACEOF
101469 rm -f conftest.$ac_objext conftest$ac_exeext
101470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101471 (eval $ac_link) 2>conftest.er1
101472 ac_status=$?
101473 grep -v '^ *+' conftest.er1 >conftest.err
101474 rm -f conftest.er1
101475 cat conftest.err >&5
101476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101477 (exit $ac_status); } &&
101478 { ac_try='test -z "$ac_c_werror_flag"
101479 || test ! -s conftest.err'
101480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101481 (eval $ac_try) 2>&5
101482 ac_status=$?
101483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101484 (exit $ac_status); }; } &&
101485 { ac_try='test -s conftest$ac_exeext'
101486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101487 (eval $ac_try) 2>&5
101488 ac_status=$?
101489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101490 (exit $ac_status); }; }; then
101491 eval "$as_ac_var=yes"
101493 echo "$as_me: failed program was:" >&5
101494 sed 's/^/| /' conftest.$ac_ext >&5
101496 eval "$as_ac_var=no"
101498 rm -f conftest.err conftest.$ac_objext \
101499 conftest$ac_exeext conftest.$ac_ext
101501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101502 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101503 if test `eval echo '${'$as_ac_var'}'` = yes; then
101504 cat >>confdefs.h <<_ACEOF
101505 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101506 _ACEOF
101513 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
101514 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
101515 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
101516 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
101517 echo $ECHO_N "(cached) $ECHO_C" >&6
101522 ac_ext=cc
101523 ac_cpp='$CXXCPP $CPPFLAGS'
101524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101528 cat >conftest.$ac_ext <<_ACEOF
101529 /* confdefs.h. */
101530 _ACEOF
101531 cat confdefs.h >>conftest.$ac_ext
101532 cat >>conftest.$ac_ext <<_ACEOF
101533 /* end confdefs.h. */
101534 #include <math.h>
101536 main ()
101538 _frexpl(0, 0);
101540 return 0;
101542 _ACEOF
101543 rm -f conftest.$ac_objext
101544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101545 (eval $ac_compile) 2>conftest.er1
101546 ac_status=$?
101547 grep -v '^ *+' conftest.er1 >conftest.err
101548 rm -f conftest.er1
101549 cat conftest.err >&5
101550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101551 (exit $ac_status); } &&
101552 { ac_try='test -z "$ac_cxx_werror_flag"
101553 || test ! -s conftest.err'
101554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101555 (eval $ac_try) 2>&5
101556 ac_status=$?
101557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101558 (exit $ac_status); }; } &&
101559 { ac_try='test -s conftest.$ac_objext'
101560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101561 (eval $ac_try) 2>&5
101562 ac_status=$?
101563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101564 (exit $ac_status); }; }; then
101565 glibcxx_cv_func__frexpl_use=yes
101567 echo "$as_me: failed program was:" >&5
101568 sed 's/^/| /' conftest.$ac_ext >&5
101570 glibcxx_cv_func__frexpl_use=no
101572 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101573 ac_ext=c
101574 ac_cpp='$CPP $CPPFLAGS'
101575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101583 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
101584 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
101586 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
101588 for ac_func in _frexpl
101590 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101591 echo "$as_me:$LINENO: checking for $ac_func" >&5
101592 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101593 if eval "test \"\${$as_ac_var+set}\" = set"; then
101594 echo $ECHO_N "(cached) $ECHO_C" >&6
101596 if test x$gcc_no_link = xyes; then
101597 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101598 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101599 { (exit 1); exit 1; }; }
101601 cat >conftest.$ac_ext <<_ACEOF
101602 /* confdefs.h. */
101603 _ACEOF
101604 cat confdefs.h >>conftest.$ac_ext
101605 cat >>conftest.$ac_ext <<_ACEOF
101606 /* end confdefs.h. */
101607 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101608 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101609 #define $ac_func innocuous_$ac_func
101611 /* System header to define __stub macros and hopefully few prototypes,
101612 which can conflict with char $ac_func (); below.
101613 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101614 <limits.h> exists even on freestanding compilers. */
101616 #ifdef __STDC__
101617 # include <limits.h>
101618 #else
101619 # include <assert.h>
101620 #endif
101622 #undef $ac_func
101624 /* Override any gcc2 internal prototype to avoid an error. */
101625 #ifdef __cplusplus
101626 extern "C"
101628 #endif
101629 /* We use char because int might match the return type of a gcc2
101630 builtin and then its argument prototype would still apply. */
101631 char $ac_func ();
101632 /* The GNU C library defines this for functions which it implements
101633 to always fail with ENOSYS. Some functions are actually named
101634 something starting with __ and the normal name is an alias. */
101635 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101636 choke me
101637 #else
101638 char (*f) () = $ac_func;
101639 #endif
101640 #ifdef __cplusplus
101642 #endif
101645 main ()
101647 return f != $ac_func;
101649 return 0;
101651 _ACEOF
101652 rm -f conftest.$ac_objext conftest$ac_exeext
101653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101654 (eval $ac_link) 2>conftest.er1
101655 ac_status=$?
101656 grep -v '^ *+' conftest.er1 >conftest.err
101657 rm -f conftest.er1
101658 cat conftest.err >&5
101659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101660 (exit $ac_status); } &&
101661 { ac_try='test -z "$ac_c_werror_flag"
101662 || test ! -s conftest.err'
101663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101664 (eval $ac_try) 2>&5
101665 ac_status=$?
101666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101667 (exit $ac_status); }; } &&
101668 { ac_try='test -s conftest$ac_exeext'
101669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101670 (eval $ac_try) 2>&5
101671 ac_status=$?
101672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101673 (exit $ac_status); }; }; then
101674 eval "$as_ac_var=yes"
101676 echo "$as_me: failed program was:" >&5
101677 sed 's/^/| /' conftest.$ac_ext >&5
101679 eval "$as_ac_var=no"
101681 rm -f conftest.err conftest.$ac_objext \
101682 conftest$ac_exeext conftest.$ac_ext
101684 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101685 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101686 if test `eval echo '${'$as_ac_var'}'` = yes; then
101687 cat >>confdefs.h <<_ACEOF
101688 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101689 _ACEOF
101702 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
101703 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
101704 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
101705 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
101706 echo $ECHO_N "(cached) $ECHO_C" >&6
101711 ac_ext=cc
101712 ac_cpp='$CXXCPP $CPPFLAGS'
101713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101717 cat >conftest.$ac_ext <<_ACEOF
101718 /* confdefs.h. */
101719 _ACEOF
101720 cat confdefs.h >>conftest.$ac_ext
101721 cat >>conftest.$ac_ext <<_ACEOF
101722 /* end confdefs.h. */
101723 #include <math.h>
101725 main ()
101727 hypotl(0, 0);
101729 return 0;
101731 _ACEOF
101732 rm -f conftest.$ac_objext
101733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101734 (eval $ac_compile) 2>conftest.er1
101735 ac_status=$?
101736 grep -v '^ *+' conftest.er1 >conftest.err
101737 rm -f conftest.er1
101738 cat conftest.err >&5
101739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101740 (exit $ac_status); } &&
101741 { ac_try='test -z "$ac_cxx_werror_flag"
101742 || test ! -s conftest.err'
101743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101744 (eval $ac_try) 2>&5
101745 ac_status=$?
101746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101747 (exit $ac_status); }; } &&
101748 { ac_try='test -s conftest.$ac_objext'
101749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101750 (eval $ac_try) 2>&5
101751 ac_status=$?
101752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101753 (exit $ac_status); }; }; then
101754 glibcxx_cv_func_hypotl_use=yes
101756 echo "$as_me: failed program was:" >&5
101757 sed 's/^/| /' conftest.$ac_ext >&5
101759 glibcxx_cv_func_hypotl_use=no
101761 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101762 ac_ext=c
101763 ac_cpp='$CPP $CPPFLAGS'
101764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101772 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
101773 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
101775 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
101777 for ac_func in hypotl
101779 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101780 echo "$as_me:$LINENO: checking for $ac_func" >&5
101781 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101782 if eval "test \"\${$as_ac_var+set}\" = set"; then
101783 echo $ECHO_N "(cached) $ECHO_C" >&6
101785 if test x$gcc_no_link = xyes; then
101786 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101787 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101788 { (exit 1); exit 1; }; }
101790 cat >conftest.$ac_ext <<_ACEOF
101791 /* confdefs.h. */
101792 _ACEOF
101793 cat confdefs.h >>conftest.$ac_ext
101794 cat >>conftest.$ac_ext <<_ACEOF
101795 /* end confdefs.h. */
101796 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101797 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101798 #define $ac_func innocuous_$ac_func
101800 /* System header to define __stub macros and hopefully few prototypes,
101801 which can conflict with char $ac_func (); below.
101802 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101803 <limits.h> exists even on freestanding compilers. */
101805 #ifdef __STDC__
101806 # include <limits.h>
101807 #else
101808 # include <assert.h>
101809 #endif
101811 #undef $ac_func
101813 /* Override any gcc2 internal prototype to avoid an error. */
101814 #ifdef __cplusplus
101815 extern "C"
101817 #endif
101818 /* We use char because int might match the return type of a gcc2
101819 builtin and then its argument prototype would still apply. */
101820 char $ac_func ();
101821 /* The GNU C library defines this for functions which it implements
101822 to always fail with ENOSYS. Some functions are actually named
101823 something starting with __ and the normal name is an alias. */
101824 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101825 choke me
101826 #else
101827 char (*f) () = $ac_func;
101828 #endif
101829 #ifdef __cplusplus
101831 #endif
101834 main ()
101836 return f != $ac_func;
101838 return 0;
101840 _ACEOF
101841 rm -f conftest.$ac_objext conftest$ac_exeext
101842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101843 (eval $ac_link) 2>conftest.er1
101844 ac_status=$?
101845 grep -v '^ *+' conftest.er1 >conftest.err
101846 rm -f conftest.er1
101847 cat conftest.err >&5
101848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101849 (exit $ac_status); } &&
101850 { ac_try='test -z "$ac_c_werror_flag"
101851 || test ! -s conftest.err'
101852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101853 (eval $ac_try) 2>&5
101854 ac_status=$?
101855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101856 (exit $ac_status); }; } &&
101857 { ac_try='test -s conftest$ac_exeext'
101858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101859 (eval $ac_try) 2>&5
101860 ac_status=$?
101861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101862 (exit $ac_status); }; }; then
101863 eval "$as_ac_var=yes"
101865 echo "$as_me: failed program was:" >&5
101866 sed 's/^/| /' conftest.$ac_ext >&5
101868 eval "$as_ac_var=no"
101870 rm -f conftest.err conftest.$ac_objext \
101871 conftest$ac_exeext conftest.$ac_ext
101873 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101874 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101875 if test `eval echo '${'$as_ac_var'}'` = yes; then
101876 cat >>confdefs.h <<_ACEOF
101877 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101878 _ACEOF
101885 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
101886 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
101887 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
101888 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
101889 echo $ECHO_N "(cached) $ECHO_C" >&6
101894 ac_ext=cc
101895 ac_cpp='$CXXCPP $CPPFLAGS'
101896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101900 cat >conftest.$ac_ext <<_ACEOF
101901 /* confdefs.h. */
101902 _ACEOF
101903 cat confdefs.h >>conftest.$ac_ext
101904 cat >>conftest.$ac_ext <<_ACEOF
101905 /* end confdefs.h. */
101906 #include <math.h>
101908 main ()
101910 _hypotl(0, 0);
101912 return 0;
101914 _ACEOF
101915 rm -f conftest.$ac_objext
101916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101917 (eval $ac_compile) 2>conftest.er1
101918 ac_status=$?
101919 grep -v '^ *+' conftest.er1 >conftest.err
101920 rm -f conftest.er1
101921 cat conftest.err >&5
101922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101923 (exit $ac_status); } &&
101924 { ac_try='test -z "$ac_cxx_werror_flag"
101925 || test ! -s conftest.err'
101926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101927 (eval $ac_try) 2>&5
101928 ac_status=$?
101929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101930 (exit $ac_status); }; } &&
101931 { ac_try='test -s conftest.$ac_objext'
101932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101933 (eval $ac_try) 2>&5
101934 ac_status=$?
101935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101936 (exit $ac_status); }; }; then
101937 glibcxx_cv_func__hypotl_use=yes
101939 echo "$as_me: failed program was:" >&5
101940 sed 's/^/| /' conftest.$ac_ext >&5
101942 glibcxx_cv_func__hypotl_use=no
101944 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101945 ac_ext=c
101946 ac_cpp='$CPP $CPPFLAGS'
101947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101955 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
101956 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
101958 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
101960 for ac_func in _hypotl
101962 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101963 echo "$as_me:$LINENO: checking for $ac_func" >&5
101964 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101965 if eval "test \"\${$as_ac_var+set}\" = set"; then
101966 echo $ECHO_N "(cached) $ECHO_C" >&6
101968 if test x$gcc_no_link = xyes; then
101969 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101970 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101971 { (exit 1); exit 1; }; }
101973 cat >conftest.$ac_ext <<_ACEOF
101974 /* confdefs.h. */
101975 _ACEOF
101976 cat confdefs.h >>conftest.$ac_ext
101977 cat >>conftest.$ac_ext <<_ACEOF
101978 /* end confdefs.h. */
101979 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101980 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101981 #define $ac_func innocuous_$ac_func
101983 /* System header to define __stub macros and hopefully few prototypes,
101984 which can conflict with char $ac_func (); below.
101985 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101986 <limits.h> exists even on freestanding compilers. */
101988 #ifdef __STDC__
101989 # include <limits.h>
101990 #else
101991 # include <assert.h>
101992 #endif
101994 #undef $ac_func
101996 /* Override any gcc2 internal prototype to avoid an error. */
101997 #ifdef __cplusplus
101998 extern "C"
102000 #endif
102001 /* We use char because int might match the return type of a gcc2
102002 builtin and then its argument prototype would still apply. */
102003 char $ac_func ();
102004 /* The GNU C library defines this for functions which it implements
102005 to always fail with ENOSYS. Some functions are actually named
102006 something starting with __ and the normal name is an alias. */
102007 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102008 choke me
102009 #else
102010 char (*f) () = $ac_func;
102011 #endif
102012 #ifdef __cplusplus
102014 #endif
102017 main ()
102019 return f != $ac_func;
102021 return 0;
102023 _ACEOF
102024 rm -f conftest.$ac_objext conftest$ac_exeext
102025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102026 (eval $ac_link) 2>conftest.er1
102027 ac_status=$?
102028 grep -v '^ *+' conftest.er1 >conftest.err
102029 rm -f conftest.er1
102030 cat conftest.err >&5
102031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102032 (exit $ac_status); } &&
102033 { ac_try='test -z "$ac_c_werror_flag"
102034 || test ! -s conftest.err'
102035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102036 (eval $ac_try) 2>&5
102037 ac_status=$?
102038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102039 (exit $ac_status); }; } &&
102040 { ac_try='test -s conftest$ac_exeext'
102041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102042 (eval $ac_try) 2>&5
102043 ac_status=$?
102044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102045 (exit $ac_status); }; }; then
102046 eval "$as_ac_var=yes"
102048 echo "$as_me: failed program was:" >&5
102049 sed 's/^/| /' conftest.$ac_ext >&5
102051 eval "$as_ac_var=no"
102053 rm -f conftest.err conftest.$ac_objext \
102054 conftest$ac_exeext conftest.$ac_ext
102056 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102057 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102058 if test `eval echo '${'$as_ac_var'}'` = yes; then
102059 cat >>confdefs.h <<_ACEOF
102060 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102061 _ACEOF
102074 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
102075 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
102076 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
102077 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
102078 echo $ECHO_N "(cached) $ECHO_C" >&6
102083 ac_ext=cc
102084 ac_cpp='$CXXCPP $CPPFLAGS'
102085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102089 cat >conftest.$ac_ext <<_ACEOF
102090 /* confdefs.h. */
102091 _ACEOF
102092 cat confdefs.h >>conftest.$ac_ext
102093 cat >>conftest.$ac_ext <<_ACEOF
102094 /* end confdefs.h. */
102095 #include <math.h>
102097 main ()
102099 ldexpl(0, 0);
102101 return 0;
102103 _ACEOF
102104 rm -f conftest.$ac_objext
102105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102106 (eval $ac_compile) 2>conftest.er1
102107 ac_status=$?
102108 grep -v '^ *+' conftest.er1 >conftest.err
102109 rm -f conftest.er1
102110 cat conftest.err >&5
102111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102112 (exit $ac_status); } &&
102113 { ac_try='test -z "$ac_cxx_werror_flag"
102114 || test ! -s conftest.err'
102115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102116 (eval $ac_try) 2>&5
102117 ac_status=$?
102118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102119 (exit $ac_status); }; } &&
102120 { ac_try='test -s conftest.$ac_objext'
102121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102122 (eval $ac_try) 2>&5
102123 ac_status=$?
102124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102125 (exit $ac_status); }; }; then
102126 glibcxx_cv_func_ldexpl_use=yes
102128 echo "$as_me: failed program was:" >&5
102129 sed 's/^/| /' conftest.$ac_ext >&5
102131 glibcxx_cv_func_ldexpl_use=no
102133 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102134 ac_ext=c
102135 ac_cpp='$CPP $CPPFLAGS'
102136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102144 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
102145 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
102147 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
102149 for ac_func in ldexpl
102151 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102152 echo "$as_me:$LINENO: checking for $ac_func" >&5
102153 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102154 if eval "test \"\${$as_ac_var+set}\" = set"; then
102155 echo $ECHO_N "(cached) $ECHO_C" >&6
102157 if test x$gcc_no_link = xyes; then
102158 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102159 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102160 { (exit 1); exit 1; }; }
102162 cat >conftest.$ac_ext <<_ACEOF
102163 /* confdefs.h. */
102164 _ACEOF
102165 cat confdefs.h >>conftest.$ac_ext
102166 cat >>conftest.$ac_ext <<_ACEOF
102167 /* end confdefs.h. */
102168 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102169 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102170 #define $ac_func innocuous_$ac_func
102172 /* System header to define __stub macros and hopefully few prototypes,
102173 which can conflict with char $ac_func (); below.
102174 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102175 <limits.h> exists even on freestanding compilers. */
102177 #ifdef __STDC__
102178 # include <limits.h>
102179 #else
102180 # include <assert.h>
102181 #endif
102183 #undef $ac_func
102185 /* Override any gcc2 internal prototype to avoid an error. */
102186 #ifdef __cplusplus
102187 extern "C"
102189 #endif
102190 /* We use char because int might match the return type of a gcc2
102191 builtin and then its argument prototype would still apply. */
102192 char $ac_func ();
102193 /* The GNU C library defines this for functions which it implements
102194 to always fail with ENOSYS. Some functions are actually named
102195 something starting with __ and the normal name is an alias. */
102196 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102197 choke me
102198 #else
102199 char (*f) () = $ac_func;
102200 #endif
102201 #ifdef __cplusplus
102203 #endif
102206 main ()
102208 return f != $ac_func;
102210 return 0;
102212 _ACEOF
102213 rm -f conftest.$ac_objext conftest$ac_exeext
102214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102215 (eval $ac_link) 2>conftest.er1
102216 ac_status=$?
102217 grep -v '^ *+' conftest.er1 >conftest.err
102218 rm -f conftest.er1
102219 cat conftest.err >&5
102220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102221 (exit $ac_status); } &&
102222 { ac_try='test -z "$ac_c_werror_flag"
102223 || test ! -s conftest.err'
102224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102225 (eval $ac_try) 2>&5
102226 ac_status=$?
102227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102228 (exit $ac_status); }; } &&
102229 { ac_try='test -s conftest$ac_exeext'
102230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102231 (eval $ac_try) 2>&5
102232 ac_status=$?
102233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102234 (exit $ac_status); }; }; then
102235 eval "$as_ac_var=yes"
102237 echo "$as_me: failed program was:" >&5
102238 sed 's/^/| /' conftest.$ac_ext >&5
102240 eval "$as_ac_var=no"
102242 rm -f conftest.err conftest.$ac_objext \
102243 conftest$ac_exeext conftest.$ac_ext
102245 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102246 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102247 if test `eval echo '${'$as_ac_var'}'` = yes; then
102248 cat >>confdefs.h <<_ACEOF
102249 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102250 _ACEOF
102257 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
102258 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
102259 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
102260 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
102261 echo $ECHO_N "(cached) $ECHO_C" >&6
102266 ac_ext=cc
102267 ac_cpp='$CXXCPP $CPPFLAGS'
102268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102272 cat >conftest.$ac_ext <<_ACEOF
102273 /* confdefs.h. */
102274 _ACEOF
102275 cat confdefs.h >>conftest.$ac_ext
102276 cat >>conftest.$ac_ext <<_ACEOF
102277 /* end confdefs.h. */
102278 #include <math.h>
102280 main ()
102282 _ldexpl(0, 0);
102284 return 0;
102286 _ACEOF
102287 rm -f conftest.$ac_objext
102288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102289 (eval $ac_compile) 2>conftest.er1
102290 ac_status=$?
102291 grep -v '^ *+' conftest.er1 >conftest.err
102292 rm -f conftest.er1
102293 cat conftest.err >&5
102294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102295 (exit $ac_status); } &&
102296 { ac_try='test -z "$ac_cxx_werror_flag"
102297 || test ! -s conftest.err'
102298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102299 (eval $ac_try) 2>&5
102300 ac_status=$?
102301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102302 (exit $ac_status); }; } &&
102303 { ac_try='test -s conftest.$ac_objext'
102304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102305 (eval $ac_try) 2>&5
102306 ac_status=$?
102307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102308 (exit $ac_status); }; }; then
102309 glibcxx_cv_func__ldexpl_use=yes
102311 echo "$as_me: failed program was:" >&5
102312 sed 's/^/| /' conftest.$ac_ext >&5
102314 glibcxx_cv_func__ldexpl_use=no
102316 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102317 ac_ext=c
102318 ac_cpp='$CPP $CPPFLAGS'
102319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102327 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
102328 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
102330 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
102332 for ac_func in _ldexpl
102334 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102335 echo "$as_me:$LINENO: checking for $ac_func" >&5
102336 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102337 if eval "test \"\${$as_ac_var+set}\" = set"; then
102338 echo $ECHO_N "(cached) $ECHO_C" >&6
102340 if test x$gcc_no_link = xyes; then
102341 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102342 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102343 { (exit 1); exit 1; }; }
102345 cat >conftest.$ac_ext <<_ACEOF
102346 /* confdefs.h. */
102347 _ACEOF
102348 cat confdefs.h >>conftest.$ac_ext
102349 cat >>conftest.$ac_ext <<_ACEOF
102350 /* end confdefs.h. */
102351 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102352 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102353 #define $ac_func innocuous_$ac_func
102355 /* System header to define __stub macros and hopefully few prototypes,
102356 which can conflict with char $ac_func (); below.
102357 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102358 <limits.h> exists even on freestanding compilers. */
102360 #ifdef __STDC__
102361 # include <limits.h>
102362 #else
102363 # include <assert.h>
102364 #endif
102366 #undef $ac_func
102368 /* Override any gcc2 internal prototype to avoid an error. */
102369 #ifdef __cplusplus
102370 extern "C"
102372 #endif
102373 /* We use char because int might match the return type of a gcc2
102374 builtin and then its argument prototype would still apply. */
102375 char $ac_func ();
102376 /* The GNU C library defines this for functions which it implements
102377 to always fail with ENOSYS. Some functions are actually named
102378 something starting with __ and the normal name is an alias. */
102379 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102380 choke me
102381 #else
102382 char (*f) () = $ac_func;
102383 #endif
102384 #ifdef __cplusplus
102386 #endif
102389 main ()
102391 return f != $ac_func;
102393 return 0;
102395 _ACEOF
102396 rm -f conftest.$ac_objext conftest$ac_exeext
102397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102398 (eval $ac_link) 2>conftest.er1
102399 ac_status=$?
102400 grep -v '^ *+' conftest.er1 >conftest.err
102401 rm -f conftest.er1
102402 cat conftest.err >&5
102403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102404 (exit $ac_status); } &&
102405 { ac_try='test -z "$ac_c_werror_flag"
102406 || test ! -s conftest.err'
102407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102408 (eval $ac_try) 2>&5
102409 ac_status=$?
102410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102411 (exit $ac_status); }; } &&
102412 { ac_try='test -s conftest$ac_exeext'
102413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102414 (eval $ac_try) 2>&5
102415 ac_status=$?
102416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102417 (exit $ac_status); }; }; then
102418 eval "$as_ac_var=yes"
102420 echo "$as_me: failed program was:" >&5
102421 sed 's/^/| /' conftest.$ac_ext >&5
102423 eval "$as_ac_var=no"
102425 rm -f conftest.err conftest.$ac_objext \
102426 conftest$ac_exeext conftest.$ac_ext
102428 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102429 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102430 if test `eval echo '${'$as_ac_var'}'` = yes; then
102431 cat >>confdefs.h <<_ACEOF
102432 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102433 _ACEOF
102446 echo "$as_me:$LINENO: checking for logl declaration" >&5
102447 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
102448 if test x${glibcxx_cv_func_logl_use+set} != xset; then
102449 if test "${glibcxx_cv_func_logl_use+set}" = set; then
102450 echo $ECHO_N "(cached) $ECHO_C" >&6
102455 ac_ext=cc
102456 ac_cpp='$CXXCPP $CPPFLAGS'
102457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102461 cat >conftest.$ac_ext <<_ACEOF
102462 /* confdefs.h. */
102463 _ACEOF
102464 cat confdefs.h >>conftest.$ac_ext
102465 cat >>conftest.$ac_ext <<_ACEOF
102466 /* end confdefs.h. */
102467 #include <math.h>
102468 #ifdef HAVE_IEEEFP_H
102469 #include <ieeefp.h>
102470 #endif
102473 main ()
102475 logl(0);
102477 return 0;
102479 _ACEOF
102480 rm -f conftest.$ac_objext
102481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102482 (eval $ac_compile) 2>conftest.er1
102483 ac_status=$?
102484 grep -v '^ *+' conftest.er1 >conftest.err
102485 rm -f conftest.er1
102486 cat conftest.err >&5
102487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102488 (exit $ac_status); } &&
102489 { ac_try='test -z "$ac_cxx_werror_flag"
102490 || test ! -s conftest.err'
102491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102492 (eval $ac_try) 2>&5
102493 ac_status=$?
102494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102495 (exit $ac_status); }; } &&
102496 { ac_try='test -s conftest.$ac_objext'
102497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102498 (eval $ac_try) 2>&5
102499 ac_status=$?
102500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102501 (exit $ac_status); }; }; then
102502 glibcxx_cv_func_logl_use=yes
102504 echo "$as_me: failed program was:" >&5
102505 sed 's/^/| /' conftest.$ac_ext >&5
102507 glibcxx_cv_func_logl_use=no
102509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102510 ac_ext=c
102511 ac_cpp='$CPP $CPPFLAGS'
102512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102520 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
102521 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
102523 if test x$glibcxx_cv_func_logl_use = x"yes"; then
102525 for ac_func in logl
102527 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102528 echo "$as_me:$LINENO: checking for $ac_func" >&5
102529 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102530 if eval "test \"\${$as_ac_var+set}\" = set"; then
102531 echo $ECHO_N "(cached) $ECHO_C" >&6
102533 if test x$gcc_no_link = xyes; then
102534 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102535 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102536 { (exit 1); exit 1; }; }
102538 cat >conftest.$ac_ext <<_ACEOF
102539 /* confdefs.h. */
102540 _ACEOF
102541 cat confdefs.h >>conftest.$ac_ext
102542 cat >>conftest.$ac_ext <<_ACEOF
102543 /* end confdefs.h. */
102544 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102545 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102546 #define $ac_func innocuous_$ac_func
102548 /* System header to define __stub macros and hopefully few prototypes,
102549 which can conflict with char $ac_func (); below.
102550 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102551 <limits.h> exists even on freestanding compilers. */
102553 #ifdef __STDC__
102554 # include <limits.h>
102555 #else
102556 # include <assert.h>
102557 #endif
102559 #undef $ac_func
102561 /* Override any gcc2 internal prototype to avoid an error. */
102562 #ifdef __cplusplus
102563 extern "C"
102565 #endif
102566 /* We use char because int might match the return type of a gcc2
102567 builtin and then its argument prototype would still apply. */
102568 char $ac_func ();
102569 /* The GNU C library defines this for functions which it implements
102570 to always fail with ENOSYS. Some functions are actually named
102571 something starting with __ and the normal name is an alias. */
102572 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102573 choke me
102574 #else
102575 char (*f) () = $ac_func;
102576 #endif
102577 #ifdef __cplusplus
102579 #endif
102582 main ()
102584 return f != $ac_func;
102586 return 0;
102588 _ACEOF
102589 rm -f conftest.$ac_objext conftest$ac_exeext
102590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102591 (eval $ac_link) 2>conftest.er1
102592 ac_status=$?
102593 grep -v '^ *+' conftest.er1 >conftest.err
102594 rm -f conftest.er1
102595 cat conftest.err >&5
102596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102597 (exit $ac_status); } &&
102598 { ac_try='test -z "$ac_c_werror_flag"
102599 || test ! -s conftest.err'
102600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102601 (eval $ac_try) 2>&5
102602 ac_status=$?
102603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102604 (exit $ac_status); }; } &&
102605 { ac_try='test -s conftest$ac_exeext'
102606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102607 (eval $ac_try) 2>&5
102608 ac_status=$?
102609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102610 (exit $ac_status); }; }; then
102611 eval "$as_ac_var=yes"
102613 echo "$as_me: failed program was:" >&5
102614 sed 's/^/| /' conftest.$ac_ext >&5
102616 eval "$as_ac_var=no"
102618 rm -f conftest.err conftest.$ac_objext \
102619 conftest$ac_exeext conftest.$ac_ext
102621 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102622 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102623 if test `eval echo '${'$as_ac_var'}'` = yes; then
102624 cat >>confdefs.h <<_ACEOF
102625 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102626 _ACEOF
102633 echo "$as_me:$LINENO: checking for _logl declaration" >&5
102634 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
102635 if test x${glibcxx_cv_func__logl_use+set} != xset; then
102636 if test "${glibcxx_cv_func__logl_use+set}" = set; then
102637 echo $ECHO_N "(cached) $ECHO_C" >&6
102642 ac_ext=cc
102643 ac_cpp='$CXXCPP $CPPFLAGS'
102644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102648 cat >conftest.$ac_ext <<_ACEOF
102649 /* confdefs.h. */
102650 _ACEOF
102651 cat confdefs.h >>conftest.$ac_ext
102652 cat >>conftest.$ac_ext <<_ACEOF
102653 /* end confdefs.h. */
102654 #include <math.h>
102655 #ifdef HAVE_IEEEFP_H
102656 #include <ieeefp.h>
102657 #endif
102660 main ()
102662 _logl(0);
102664 return 0;
102666 _ACEOF
102667 rm -f conftest.$ac_objext
102668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102669 (eval $ac_compile) 2>conftest.er1
102670 ac_status=$?
102671 grep -v '^ *+' conftest.er1 >conftest.err
102672 rm -f conftest.er1
102673 cat conftest.err >&5
102674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102675 (exit $ac_status); } &&
102676 { ac_try='test -z "$ac_cxx_werror_flag"
102677 || test ! -s conftest.err'
102678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102679 (eval $ac_try) 2>&5
102680 ac_status=$?
102681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102682 (exit $ac_status); }; } &&
102683 { ac_try='test -s conftest.$ac_objext'
102684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102685 (eval $ac_try) 2>&5
102686 ac_status=$?
102687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102688 (exit $ac_status); }; }; then
102689 glibcxx_cv_func__logl_use=yes
102691 echo "$as_me: failed program was:" >&5
102692 sed 's/^/| /' conftest.$ac_ext >&5
102694 glibcxx_cv_func__logl_use=no
102696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102697 ac_ext=c
102698 ac_cpp='$CPP $CPPFLAGS'
102699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102707 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
102708 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
102710 if test x$glibcxx_cv_func__logl_use = x"yes"; then
102712 for ac_func in _logl
102714 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102715 echo "$as_me:$LINENO: checking for $ac_func" >&5
102716 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102717 if eval "test \"\${$as_ac_var+set}\" = set"; then
102718 echo $ECHO_N "(cached) $ECHO_C" >&6
102720 if test x$gcc_no_link = xyes; then
102721 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102722 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102723 { (exit 1); exit 1; }; }
102725 cat >conftest.$ac_ext <<_ACEOF
102726 /* confdefs.h. */
102727 _ACEOF
102728 cat confdefs.h >>conftest.$ac_ext
102729 cat >>conftest.$ac_ext <<_ACEOF
102730 /* end confdefs.h. */
102731 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102732 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102733 #define $ac_func innocuous_$ac_func
102735 /* System header to define __stub macros and hopefully few prototypes,
102736 which can conflict with char $ac_func (); below.
102737 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102738 <limits.h> exists even on freestanding compilers. */
102740 #ifdef __STDC__
102741 # include <limits.h>
102742 #else
102743 # include <assert.h>
102744 #endif
102746 #undef $ac_func
102748 /* Override any gcc2 internal prototype to avoid an error. */
102749 #ifdef __cplusplus
102750 extern "C"
102752 #endif
102753 /* We use char because int might match the return type of a gcc2
102754 builtin and then its argument prototype would still apply. */
102755 char $ac_func ();
102756 /* The GNU C library defines this for functions which it implements
102757 to always fail with ENOSYS. Some functions are actually named
102758 something starting with __ and the normal name is an alias. */
102759 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102760 choke me
102761 #else
102762 char (*f) () = $ac_func;
102763 #endif
102764 #ifdef __cplusplus
102766 #endif
102769 main ()
102771 return f != $ac_func;
102773 return 0;
102775 _ACEOF
102776 rm -f conftest.$ac_objext conftest$ac_exeext
102777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102778 (eval $ac_link) 2>conftest.er1
102779 ac_status=$?
102780 grep -v '^ *+' conftest.er1 >conftest.err
102781 rm -f conftest.er1
102782 cat conftest.err >&5
102783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102784 (exit $ac_status); } &&
102785 { ac_try='test -z "$ac_c_werror_flag"
102786 || test ! -s conftest.err'
102787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102788 (eval $ac_try) 2>&5
102789 ac_status=$?
102790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102791 (exit $ac_status); }; } &&
102792 { ac_try='test -s conftest$ac_exeext'
102793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102794 (eval $ac_try) 2>&5
102795 ac_status=$?
102796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102797 (exit $ac_status); }; }; then
102798 eval "$as_ac_var=yes"
102800 echo "$as_me: failed program was:" >&5
102801 sed 's/^/| /' conftest.$ac_ext >&5
102803 eval "$as_ac_var=no"
102805 rm -f conftest.err conftest.$ac_objext \
102806 conftest$ac_exeext conftest.$ac_ext
102808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102809 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102810 if test `eval echo '${'$as_ac_var'}'` = yes; then
102811 cat >>confdefs.h <<_ACEOF
102812 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102813 _ACEOF
102826 echo "$as_me:$LINENO: checking for log10l declaration" >&5
102827 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
102828 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
102829 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
102830 echo $ECHO_N "(cached) $ECHO_C" >&6
102835 ac_ext=cc
102836 ac_cpp='$CXXCPP $CPPFLAGS'
102837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102841 cat >conftest.$ac_ext <<_ACEOF
102842 /* confdefs.h. */
102843 _ACEOF
102844 cat confdefs.h >>conftest.$ac_ext
102845 cat >>conftest.$ac_ext <<_ACEOF
102846 /* end confdefs.h. */
102847 #include <math.h>
102848 #ifdef HAVE_IEEEFP_H
102849 #include <ieeefp.h>
102850 #endif
102853 main ()
102855 log10l(0);
102857 return 0;
102859 _ACEOF
102860 rm -f conftest.$ac_objext
102861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102862 (eval $ac_compile) 2>conftest.er1
102863 ac_status=$?
102864 grep -v '^ *+' conftest.er1 >conftest.err
102865 rm -f conftest.er1
102866 cat conftest.err >&5
102867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102868 (exit $ac_status); } &&
102869 { ac_try='test -z "$ac_cxx_werror_flag"
102870 || test ! -s conftest.err'
102871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102872 (eval $ac_try) 2>&5
102873 ac_status=$?
102874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102875 (exit $ac_status); }; } &&
102876 { ac_try='test -s conftest.$ac_objext'
102877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102878 (eval $ac_try) 2>&5
102879 ac_status=$?
102880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102881 (exit $ac_status); }; }; then
102882 glibcxx_cv_func_log10l_use=yes
102884 echo "$as_me: failed program was:" >&5
102885 sed 's/^/| /' conftest.$ac_ext >&5
102887 glibcxx_cv_func_log10l_use=no
102889 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102890 ac_ext=c
102891 ac_cpp='$CPP $CPPFLAGS'
102892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102900 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
102901 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
102903 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
102905 for ac_func in log10l
102907 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102908 echo "$as_me:$LINENO: checking for $ac_func" >&5
102909 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102910 if eval "test \"\${$as_ac_var+set}\" = set"; then
102911 echo $ECHO_N "(cached) $ECHO_C" >&6
102913 if test x$gcc_no_link = xyes; then
102914 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102915 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102916 { (exit 1); exit 1; }; }
102918 cat >conftest.$ac_ext <<_ACEOF
102919 /* confdefs.h. */
102920 _ACEOF
102921 cat confdefs.h >>conftest.$ac_ext
102922 cat >>conftest.$ac_ext <<_ACEOF
102923 /* end confdefs.h. */
102924 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102925 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102926 #define $ac_func innocuous_$ac_func
102928 /* System header to define __stub macros and hopefully few prototypes,
102929 which can conflict with char $ac_func (); below.
102930 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102931 <limits.h> exists even on freestanding compilers. */
102933 #ifdef __STDC__
102934 # include <limits.h>
102935 #else
102936 # include <assert.h>
102937 #endif
102939 #undef $ac_func
102941 /* Override any gcc2 internal prototype to avoid an error. */
102942 #ifdef __cplusplus
102943 extern "C"
102945 #endif
102946 /* We use char because int might match the return type of a gcc2
102947 builtin and then its argument prototype would still apply. */
102948 char $ac_func ();
102949 /* The GNU C library defines this for functions which it implements
102950 to always fail with ENOSYS. Some functions are actually named
102951 something starting with __ and the normal name is an alias. */
102952 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102953 choke me
102954 #else
102955 char (*f) () = $ac_func;
102956 #endif
102957 #ifdef __cplusplus
102959 #endif
102962 main ()
102964 return f != $ac_func;
102966 return 0;
102968 _ACEOF
102969 rm -f conftest.$ac_objext conftest$ac_exeext
102970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102971 (eval $ac_link) 2>conftest.er1
102972 ac_status=$?
102973 grep -v '^ *+' conftest.er1 >conftest.err
102974 rm -f conftest.er1
102975 cat conftest.err >&5
102976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102977 (exit $ac_status); } &&
102978 { ac_try='test -z "$ac_c_werror_flag"
102979 || test ! -s conftest.err'
102980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102981 (eval $ac_try) 2>&5
102982 ac_status=$?
102983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102984 (exit $ac_status); }; } &&
102985 { ac_try='test -s conftest$ac_exeext'
102986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102987 (eval $ac_try) 2>&5
102988 ac_status=$?
102989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102990 (exit $ac_status); }; }; then
102991 eval "$as_ac_var=yes"
102993 echo "$as_me: failed program was:" >&5
102994 sed 's/^/| /' conftest.$ac_ext >&5
102996 eval "$as_ac_var=no"
102998 rm -f conftest.err conftest.$ac_objext \
102999 conftest$ac_exeext conftest.$ac_ext
103001 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103002 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103003 if test `eval echo '${'$as_ac_var'}'` = yes; then
103004 cat >>confdefs.h <<_ACEOF
103005 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103006 _ACEOF
103013 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
103014 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
103015 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
103016 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
103017 echo $ECHO_N "(cached) $ECHO_C" >&6
103022 ac_ext=cc
103023 ac_cpp='$CXXCPP $CPPFLAGS'
103024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103028 cat >conftest.$ac_ext <<_ACEOF
103029 /* confdefs.h. */
103030 _ACEOF
103031 cat confdefs.h >>conftest.$ac_ext
103032 cat >>conftest.$ac_ext <<_ACEOF
103033 /* end confdefs.h. */
103034 #include <math.h>
103035 #ifdef HAVE_IEEEFP_H
103036 #include <ieeefp.h>
103037 #endif
103040 main ()
103042 _log10l(0);
103044 return 0;
103046 _ACEOF
103047 rm -f conftest.$ac_objext
103048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103049 (eval $ac_compile) 2>conftest.er1
103050 ac_status=$?
103051 grep -v '^ *+' conftest.er1 >conftest.err
103052 rm -f conftest.er1
103053 cat conftest.err >&5
103054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103055 (exit $ac_status); } &&
103056 { ac_try='test -z "$ac_cxx_werror_flag"
103057 || test ! -s conftest.err'
103058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103059 (eval $ac_try) 2>&5
103060 ac_status=$?
103061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103062 (exit $ac_status); }; } &&
103063 { ac_try='test -s conftest.$ac_objext'
103064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103065 (eval $ac_try) 2>&5
103066 ac_status=$?
103067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103068 (exit $ac_status); }; }; then
103069 glibcxx_cv_func__log10l_use=yes
103071 echo "$as_me: failed program was:" >&5
103072 sed 's/^/| /' conftest.$ac_ext >&5
103074 glibcxx_cv_func__log10l_use=no
103076 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103077 ac_ext=c
103078 ac_cpp='$CPP $CPPFLAGS'
103079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103087 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
103088 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
103090 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
103092 for ac_func in _log10l
103094 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103095 echo "$as_me:$LINENO: checking for $ac_func" >&5
103096 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103097 if eval "test \"\${$as_ac_var+set}\" = set"; then
103098 echo $ECHO_N "(cached) $ECHO_C" >&6
103100 if test x$gcc_no_link = xyes; then
103101 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103102 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103103 { (exit 1); exit 1; }; }
103105 cat >conftest.$ac_ext <<_ACEOF
103106 /* confdefs.h. */
103107 _ACEOF
103108 cat confdefs.h >>conftest.$ac_ext
103109 cat >>conftest.$ac_ext <<_ACEOF
103110 /* end confdefs.h. */
103111 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103112 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103113 #define $ac_func innocuous_$ac_func
103115 /* System header to define __stub macros and hopefully few prototypes,
103116 which can conflict with char $ac_func (); below.
103117 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103118 <limits.h> exists even on freestanding compilers. */
103120 #ifdef __STDC__
103121 # include <limits.h>
103122 #else
103123 # include <assert.h>
103124 #endif
103126 #undef $ac_func
103128 /* Override any gcc2 internal prototype to avoid an error. */
103129 #ifdef __cplusplus
103130 extern "C"
103132 #endif
103133 /* We use char because int might match the return type of a gcc2
103134 builtin and then its argument prototype would still apply. */
103135 char $ac_func ();
103136 /* The GNU C library defines this for functions which it implements
103137 to always fail with ENOSYS. Some functions are actually named
103138 something starting with __ and the normal name is an alias. */
103139 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103140 choke me
103141 #else
103142 char (*f) () = $ac_func;
103143 #endif
103144 #ifdef __cplusplus
103146 #endif
103149 main ()
103151 return f != $ac_func;
103153 return 0;
103155 _ACEOF
103156 rm -f conftest.$ac_objext conftest$ac_exeext
103157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103158 (eval $ac_link) 2>conftest.er1
103159 ac_status=$?
103160 grep -v '^ *+' conftest.er1 >conftest.err
103161 rm -f conftest.er1
103162 cat conftest.err >&5
103163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103164 (exit $ac_status); } &&
103165 { ac_try='test -z "$ac_c_werror_flag"
103166 || test ! -s conftest.err'
103167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103168 (eval $ac_try) 2>&5
103169 ac_status=$?
103170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103171 (exit $ac_status); }; } &&
103172 { ac_try='test -s conftest$ac_exeext'
103173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103174 (eval $ac_try) 2>&5
103175 ac_status=$?
103176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103177 (exit $ac_status); }; }; then
103178 eval "$as_ac_var=yes"
103180 echo "$as_me: failed program was:" >&5
103181 sed 's/^/| /' conftest.$ac_ext >&5
103183 eval "$as_ac_var=no"
103185 rm -f conftest.err conftest.$ac_objext \
103186 conftest$ac_exeext conftest.$ac_ext
103188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103189 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103190 if test `eval echo '${'$as_ac_var'}'` = yes; then
103191 cat >>confdefs.h <<_ACEOF
103192 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103193 _ACEOF
103206 echo "$as_me:$LINENO: checking for modfl declaration" >&5
103207 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
103208 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
103209 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
103210 echo $ECHO_N "(cached) $ECHO_C" >&6
103215 ac_ext=cc
103216 ac_cpp='$CXXCPP $CPPFLAGS'
103217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103221 cat >conftest.$ac_ext <<_ACEOF
103222 /* confdefs.h. */
103223 _ACEOF
103224 cat confdefs.h >>conftest.$ac_ext
103225 cat >>conftest.$ac_ext <<_ACEOF
103226 /* end confdefs.h. */
103227 #include <math.h>
103229 main ()
103231 modfl(0, 0);
103233 return 0;
103235 _ACEOF
103236 rm -f conftest.$ac_objext
103237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103238 (eval $ac_compile) 2>conftest.er1
103239 ac_status=$?
103240 grep -v '^ *+' conftest.er1 >conftest.err
103241 rm -f conftest.er1
103242 cat conftest.err >&5
103243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103244 (exit $ac_status); } &&
103245 { ac_try='test -z "$ac_cxx_werror_flag"
103246 || test ! -s conftest.err'
103247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103248 (eval $ac_try) 2>&5
103249 ac_status=$?
103250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103251 (exit $ac_status); }; } &&
103252 { ac_try='test -s conftest.$ac_objext'
103253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103254 (eval $ac_try) 2>&5
103255 ac_status=$?
103256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103257 (exit $ac_status); }; }; then
103258 glibcxx_cv_func_modfl_use=yes
103260 echo "$as_me: failed program was:" >&5
103261 sed 's/^/| /' conftest.$ac_ext >&5
103263 glibcxx_cv_func_modfl_use=no
103265 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103266 ac_ext=c
103267 ac_cpp='$CPP $CPPFLAGS'
103268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103276 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
103277 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
103279 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
103281 for ac_func in modfl
103283 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103284 echo "$as_me:$LINENO: checking for $ac_func" >&5
103285 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103286 if eval "test \"\${$as_ac_var+set}\" = set"; then
103287 echo $ECHO_N "(cached) $ECHO_C" >&6
103289 if test x$gcc_no_link = xyes; then
103290 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103291 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103292 { (exit 1); exit 1; }; }
103294 cat >conftest.$ac_ext <<_ACEOF
103295 /* confdefs.h. */
103296 _ACEOF
103297 cat confdefs.h >>conftest.$ac_ext
103298 cat >>conftest.$ac_ext <<_ACEOF
103299 /* end confdefs.h. */
103300 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103301 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103302 #define $ac_func innocuous_$ac_func
103304 /* System header to define __stub macros and hopefully few prototypes,
103305 which can conflict with char $ac_func (); below.
103306 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103307 <limits.h> exists even on freestanding compilers. */
103309 #ifdef __STDC__
103310 # include <limits.h>
103311 #else
103312 # include <assert.h>
103313 #endif
103315 #undef $ac_func
103317 /* Override any gcc2 internal prototype to avoid an error. */
103318 #ifdef __cplusplus
103319 extern "C"
103321 #endif
103322 /* We use char because int might match the return type of a gcc2
103323 builtin and then its argument prototype would still apply. */
103324 char $ac_func ();
103325 /* The GNU C library defines this for functions which it implements
103326 to always fail with ENOSYS. Some functions are actually named
103327 something starting with __ and the normal name is an alias. */
103328 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103329 choke me
103330 #else
103331 char (*f) () = $ac_func;
103332 #endif
103333 #ifdef __cplusplus
103335 #endif
103338 main ()
103340 return f != $ac_func;
103342 return 0;
103344 _ACEOF
103345 rm -f conftest.$ac_objext conftest$ac_exeext
103346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103347 (eval $ac_link) 2>conftest.er1
103348 ac_status=$?
103349 grep -v '^ *+' conftest.er1 >conftest.err
103350 rm -f conftest.er1
103351 cat conftest.err >&5
103352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103353 (exit $ac_status); } &&
103354 { ac_try='test -z "$ac_c_werror_flag"
103355 || test ! -s conftest.err'
103356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103357 (eval $ac_try) 2>&5
103358 ac_status=$?
103359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103360 (exit $ac_status); }; } &&
103361 { ac_try='test -s conftest$ac_exeext'
103362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103363 (eval $ac_try) 2>&5
103364 ac_status=$?
103365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103366 (exit $ac_status); }; }; then
103367 eval "$as_ac_var=yes"
103369 echo "$as_me: failed program was:" >&5
103370 sed 's/^/| /' conftest.$ac_ext >&5
103372 eval "$as_ac_var=no"
103374 rm -f conftest.err conftest.$ac_objext \
103375 conftest$ac_exeext conftest.$ac_ext
103377 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103378 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103379 if test `eval echo '${'$as_ac_var'}'` = yes; then
103380 cat >>confdefs.h <<_ACEOF
103381 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103382 _ACEOF
103389 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
103390 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
103391 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
103392 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
103393 echo $ECHO_N "(cached) $ECHO_C" >&6
103398 ac_ext=cc
103399 ac_cpp='$CXXCPP $CPPFLAGS'
103400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103404 cat >conftest.$ac_ext <<_ACEOF
103405 /* confdefs.h. */
103406 _ACEOF
103407 cat confdefs.h >>conftest.$ac_ext
103408 cat >>conftest.$ac_ext <<_ACEOF
103409 /* end confdefs.h. */
103410 #include <math.h>
103412 main ()
103414 _modfl(0, 0);
103416 return 0;
103418 _ACEOF
103419 rm -f conftest.$ac_objext
103420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103421 (eval $ac_compile) 2>conftest.er1
103422 ac_status=$?
103423 grep -v '^ *+' conftest.er1 >conftest.err
103424 rm -f conftest.er1
103425 cat conftest.err >&5
103426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103427 (exit $ac_status); } &&
103428 { ac_try='test -z "$ac_cxx_werror_flag"
103429 || test ! -s conftest.err'
103430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103431 (eval $ac_try) 2>&5
103432 ac_status=$?
103433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103434 (exit $ac_status); }; } &&
103435 { ac_try='test -s conftest.$ac_objext'
103436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103437 (eval $ac_try) 2>&5
103438 ac_status=$?
103439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103440 (exit $ac_status); }; }; then
103441 glibcxx_cv_func__modfl_use=yes
103443 echo "$as_me: failed program was:" >&5
103444 sed 's/^/| /' conftest.$ac_ext >&5
103446 glibcxx_cv_func__modfl_use=no
103448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103449 ac_ext=c
103450 ac_cpp='$CPP $CPPFLAGS'
103451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103459 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
103460 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
103462 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
103464 for ac_func in _modfl
103466 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103467 echo "$as_me:$LINENO: checking for $ac_func" >&5
103468 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103469 if eval "test \"\${$as_ac_var+set}\" = set"; then
103470 echo $ECHO_N "(cached) $ECHO_C" >&6
103472 if test x$gcc_no_link = xyes; then
103473 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103474 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103475 { (exit 1); exit 1; }; }
103477 cat >conftest.$ac_ext <<_ACEOF
103478 /* confdefs.h. */
103479 _ACEOF
103480 cat confdefs.h >>conftest.$ac_ext
103481 cat >>conftest.$ac_ext <<_ACEOF
103482 /* end confdefs.h. */
103483 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103484 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103485 #define $ac_func innocuous_$ac_func
103487 /* System header to define __stub macros and hopefully few prototypes,
103488 which can conflict with char $ac_func (); below.
103489 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103490 <limits.h> exists even on freestanding compilers. */
103492 #ifdef __STDC__
103493 # include <limits.h>
103494 #else
103495 # include <assert.h>
103496 #endif
103498 #undef $ac_func
103500 /* Override any gcc2 internal prototype to avoid an error. */
103501 #ifdef __cplusplus
103502 extern "C"
103504 #endif
103505 /* We use char because int might match the return type of a gcc2
103506 builtin and then its argument prototype would still apply. */
103507 char $ac_func ();
103508 /* The GNU C library defines this for functions which it implements
103509 to always fail with ENOSYS. Some functions are actually named
103510 something starting with __ and the normal name is an alias. */
103511 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103512 choke me
103513 #else
103514 char (*f) () = $ac_func;
103515 #endif
103516 #ifdef __cplusplus
103518 #endif
103521 main ()
103523 return f != $ac_func;
103525 return 0;
103527 _ACEOF
103528 rm -f conftest.$ac_objext conftest$ac_exeext
103529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103530 (eval $ac_link) 2>conftest.er1
103531 ac_status=$?
103532 grep -v '^ *+' conftest.er1 >conftest.err
103533 rm -f conftest.er1
103534 cat conftest.err >&5
103535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103536 (exit $ac_status); } &&
103537 { ac_try='test -z "$ac_c_werror_flag"
103538 || test ! -s conftest.err'
103539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103540 (eval $ac_try) 2>&5
103541 ac_status=$?
103542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103543 (exit $ac_status); }; } &&
103544 { ac_try='test -s conftest$ac_exeext'
103545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103546 (eval $ac_try) 2>&5
103547 ac_status=$?
103548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103549 (exit $ac_status); }; }; then
103550 eval "$as_ac_var=yes"
103552 echo "$as_me: failed program was:" >&5
103553 sed 's/^/| /' conftest.$ac_ext >&5
103555 eval "$as_ac_var=no"
103557 rm -f conftest.err conftest.$ac_objext \
103558 conftest$ac_exeext conftest.$ac_ext
103560 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103561 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103562 if test `eval echo '${'$as_ac_var'}'` = yes; then
103563 cat >>confdefs.h <<_ACEOF
103564 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103565 _ACEOF
103578 echo "$as_me:$LINENO: checking for powl declaration" >&5
103579 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
103580 if test x${glibcxx_cv_func_powl_use+set} != xset; then
103581 if test "${glibcxx_cv_func_powl_use+set}" = set; then
103582 echo $ECHO_N "(cached) $ECHO_C" >&6
103587 ac_ext=cc
103588 ac_cpp='$CXXCPP $CPPFLAGS'
103589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103593 cat >conftest.$ac_ext <<_ACEOF
103594 /* confdefs.h. */
103595 _ACEOF
103596 cat confdefs.h >>conftest.$ac_ext
103597 cat >>conftest.$ac_ext <<_ACEOF
103598 /* end confdefs.h. */
103599 #include <math.h>
103601 main ()
103603 powl(0, 0);
103605 return 0;
103607 _ACEOF
103608 rm -f conftest.$ac_objext
103609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103610 (eval $ac_compile) 2>conftest.er1
103611 ac_status=$?
103612 grep -v '^ *+' conftest.er1 >conftest.err
103613 rm -f conftest.er1
103614 cat conftest.err >&5
103615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103616 (exit $ac_status); } &&
103617 { ac_try='test -z "$ac_cxx_werror_flag"
103618 || test ! -s conftest.err'
103619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103620 (eval $ac_try) 2>&5
103621 ac_status=$?
103622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103623 (exit $ac_status); }; } &&
103624 { ac_try='test -s conftest.$ac_objext'
103625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103626 (eval $ac_try) 2>&5
103627 ac_status=$?
103628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103629 (exit $ac_status); }; }; then
103630 glibcxx_cv_func_powl_use=yes
103632 echo "$as_me: failed program was:" >&5
103633 sed 's/^/| /' conftest.$ac_ext >&5
103635 glibcxx_cv_func_powl_use=no
103637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103638 ac_ext=c
103639 ac_cpp='$CPP $CPPFLAGS'
103640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103648 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
103649 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
103651 if test x$glibcxx_cv_func_powl_use = x"yes"; then
103653 for ac_func in powl
103655 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103656 echo "$as_me:$LINENO: checking for $ac_func" >&5
103657 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103658 if eval "test \"\${$as_ac_var+set}\" = set"; then
103659 echo $ECHO_N "(cached) $ECHO_C" >&6
103661 if test x$gcc_no_link = xyes; then
103662 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103663 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103664 { (exit 1); exit 1; }; }
103666 cat >conftest.$ac_ext <<_ACEOF
103667 /* confdefs.h. */
103668 _ACEOF
103669 cat confdefs.h >>conftest.$ac_ext
103670 cat >>conftest.$ac_ext <<_ACEOF
103671 /* end confdefs.h. */
103672 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103673 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103674 #define $ac_func innocuous_$ac_func
103676 /* System header to define __stub macros and hopefully few prototypes,
103677 which can conflict with char $ac_func (); below.
103678 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103679 <limits.h> exists even on freestanding compilers. */
103681 #ifdef __STDC__
103682 # include <limits.h>
103683 #else
103684 # include <assert.h>
103685 #endif
103687 #undef $ac_func
103689 /* Override any gcc2 internal prototype to avoid an error. */
103690 #ifdef __cplusplus
103691 extern "C"
103693 #endif
103694 /* We use char because int might match the return type of a gcc2
103695 builtin and then its argument prototype would still apply. */
103696 char $ac_func ();
103697 /* The GNU C library defines this for functions which it implements
103698 to always fail with ENOSYS. Some functions are actually named
103699 something starting with __ and the normal name is an alias. */
103700 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103701 choke me
103702 #else
103703 char (*f) () = $ac_func;
103704 #endif
103705 #ifdef __cplusplus
103707 #endif
103710 main ()
103712 return f != $ac_func;
103714 return 0;
103716 _ACEOF
103717 rm -f conftest.$ac_objext conftest$ac_exeext
103718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103719 (eval $ac_link) 2>conftest.er1
103720 ac_status=$?
103721 grep -v '^ *+' conftest.er1 >conftest.err
103722 rm -f conftest.er1
103723 cat conftest.err >&5
103724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103725 (exit $ac_status); } &&
103726 { ac_try='test -z "$ac_c_werror_flag"
103727 || test ! -s conftest.err'
103728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103729 (eval $ac_try) 2>&5
103730 ac_status=$?
103731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103732 (exit $ac_status); }; } &&
103733 { ac_try='test -s conftest$ac_exeext'
103734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103735 (eval $ac_try) 2>&5
103736 ac_status=$?
103737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103738 (exit $ac_status); }; }; then
103739 eval "$as_ac_var=yes"
103741 echo "$as_me: failed program was:" >&5
103742 sed 's/^/| /' conftest.$ac_ext >&5
103744 eval "$as_ac_var=no"
103746 rm -f conftest.err conftest.$ac_objext \
103747 conftest$ac_exeext conftest.$ac_ext
103749 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103750 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103751 if test `eval echo '${'$as_ac_var'}'` = yes; then
103752 cat >>confdefs.h <<_ACEOF
103753 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103754 _ACEOF
103761 echo "$as_me:$LINENO: checking for _powl declaration" >&5
103762 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
103763 if test x${glibcxx_cv_func__powl_use+set} != xset; then
103764 if test "${glibcxx_cv_func__powl_use+set}" = set; then
103765 echo $ECHO_N "(cached) $ECHO_C" >&6
103770 ac_ext=cc
103771 ac_cpp='$CXXCPP $CPPFLAGS'
103772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103776 cat >conftest.$ac_ext <<_ACEOF
103777 /* confdefs.h. */
103778 _ACEOF
103779 cat confdefs.h >>conftest.$ac_ext
103780 cat >>conftest.$ac_ext <<_ACEOF
103781 /* end confdefs.h. */
103782 #include <math.h>
103784 main ()
103786 _powl(0, 0);
103788 return 0;
103790 _ACEOF
103791 rm -f conftest.$ac_objext
103792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103793 (eval $ac_compile) 2>conftest.er1
103794 ac_status=$?
103795 grep -v '^ *+' conftest.er1 >conftest.err
103796 rm -f conftest.er1
103797 cat conftest.err >&5
103798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103799 (exit $ac_status); } &&
103800 { ac_try='test -z "$ac_cxx_werror_flag"
103801 || test ! -s conftest.err'
103802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103803 (eval $ac_try) 2>&5
103804 ac_status=$?
103805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103806 (exit $ac_status); }; } &&
103807 { ac_try='test -s conftest.$ac_objext'
103808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103809 (eval $ac_try) 2>&5
103810 ac_status=$?
103811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103812 (exit $ac_status); }; }; then
103813 glibcxx_cv_func__powl_use=yes
103815 echo "$as_me: failed program was:" >&5
103816 sed 's/^/| /' conftest.$ac_ext >&5
103818 glibcxx_cv_func__powl_use=no
103820 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103821 ac_ext=c
103822 ac_cpp='$CPP $CPPFLAGS'
103823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103831 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
103832 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
103834 if test x$glibcxx_cv_func__powl_use = x"yes"; then
103836 for ac_func in _powl
103838 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103839 echo "$as_me:$LINENO: checking for $ac_func" >&5
103840 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103841 if eval "test \"\${$as_ac_var+set}\" = set"; then
103842 echo $ECHO_N "(cached) $ECHO_C" >&6
103844 if test x$gcc_no_link = xyes; then
103845 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103846 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103847 { (exit 1); exit 1; }; }
103849 cat >conftest.$ac_ext <<_ACEOF
103850 /* confdefs.h. */
103851 _ACEOF
103852 cat confdefs.h >>conftest.$ac_ext
103853 cat >>conftest.$ac_ext <<_ACEOF
103854 /* end confdefs.h. */
103855 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103856 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103857 #define $ac_func innocuous_$ac_func
103859 /* System header to define __stub macros and hopefully few prototypes,
103860 which can conflict with char $ac_func (); below.
103861 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103862 <limits.h> exists even on freestanding compilers. */
103864 #ifdef __STDC__
103865 # include <limits.h>
103866 #else
103867 # include <assert.h>
103868 #endif
103870 #undef $ac_func
103872 /* Override any gcc2 internal prototype to avoid an error. */
103873 #ifdef __cplusplus
103874 extern "C"
103876 #endif
103877 /* We use char because int might match the return type of a gcc2
103878 builtin and then its argument prototype would still apply. */
103879 char $ac_func ();
103880 /* The GNU C library defines this for functions which it implements
103881 to always fail with ENOSYS. Some functions are actually named
103882 something starting with __ and the normal name is an alias. */
103883 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103884 choke me
103885 #else
103886 char (*f) () = $ac_func;
103887 #endif
103888 #ifdef __cplusplus
103890 #endif
103893 main ()
103895 return f != $ac_func;
103897 return 0;
103899 _ACEOF
103900 rm -f conftest.$ac_objext conftest$ac_exeext
103901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103902 (eval $ac_link) 2>conftest.er1
103903 ac_status=$?
103904 grep -v '^ *+' conftest.er1 >conftest.err
103905 rm -f conftest.er1
103906 cat conftest.err >&5
103907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103908 (exit $ac_status); } &&
103909 { ac_try='test -z "$ac_c_werror_flag"
103910 || test ! -s conftest.err'
103911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103912 (eval $ac_try) 2>&5
103913 ac_status=$?
103914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103915 (exit $ac_status); }; } &&
103916 { ac_try='test -s conftest$ac_exeext'
103917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103918 (eval $ac_try) 2>&5
103919 ac_status=$?
103920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103921 (exit $ac_status); }; }; then
103922 eval "$as_ac_var=yes"
103924 echo "$as_me: failed program was:" >&5
103925 sed 's/^/| /' conftest.$ac_ext >&5
103927 eval "$as_ac_var=no"
103929 rm -f conftest.err conftest.$ac_objext \
103930 conftest$ac_exeext conftest.$ac_ext
103932 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103933 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103934 if test `eval echo '${'$as_ac_var'}'` = yes; then
103935 cat >>confdefs.h <<_ACEOF
103936 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103937 _ACEOF
103950 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
103951 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
103952 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
103953 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
103954 echo $ECHO_N "(cached) $ECHO_C" >&6
103959 ac_ext=cc
103960 ac_cpp='$CXXCPP $CPPFLAGS'
103961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103965 cat >conftest.$ac_ext <<_ACEOF
103966 /* confdefs.h. */
103967 _ACEOF
103968 cat confdefs.h >>conftest.$ac_ext
103969 cat >>conftest.$ac_ext <<_ACEOF
103970 /* end confdefs.h. */
103971 #include <math.h>
103972 #ifdef HAVE_IEEEFP_H
103973 #include <ieeefp.h>
103974 #endif
103977 main ()
103979 sqrtl(0);
103981 return 0;
103983 _ACEOF
103984 rm -f conftest.$ac_objext
103985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103986 (eval $ac_compile) 2>conftest.er1
103987 ac_status=$?
103988 grep -v '^ *+' conftest.er1 >conftest.err
103989 rm -f conftest.er1
103990 cat conftest.err >&5
103991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103992 (exit $ac_status); } &&
103993 { ac_try='test -z "$ac_cxx_werror_flag"
103994 || test ! -s conftest.err'
103995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103996 (eval $ac_try) 2>&5
103997 ac_status=$?
103998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103999 (exit $ac_status); }; } &&
104000 { ac_try='test -s conftest.$ac_objext'
104001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104002 (eval $ac_try) 2>&5
104003 ac_status=$?
104004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104005 (exit $ac_status); }; }; then
104006 glibcxx_cv_func_sqrtl_use=yes
104008 echo "$as_me: failed program was:" >&5
104009 sed 's/^/| /' conftest.$ac_ext >&5
104011 glibcxx_cv_func_sqrtl_use=no
104013 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104014 ac_ext=c
104015 ac_cpp='$CPP $CPPFLAGS'
104016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104024 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
104025 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
104027 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
104029 for ac_func in sqrtl
104031 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104032 echo "$as_me:$LINENO: checking for $ac_func" >&5
104033 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104034 if eval "test \"\${$as_ac_var+set}\" = set"; then
104035 echo $ECHO_N "(cached) $ECHO_C" >&6
104037 if test x$gcc_no_link = xyes; then
104038 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104039 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104040 { (exit 1); exit 1; }; }
104042 cat >conftest.$ac_ext <<_ACEOF
104043 /* confdefs.h. */
104044 _ACEOF
104045 cat confdefs.h >>conftest.$ac_ext
104046 cat >>conftest.$ac_ext <<_ACEOF
104047 /* end confdefs.h. */
104048 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104049 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104050 #define $ac_func innocuous_$ac_func
104052 /* System header to define __stub macros and hopefully few prototypes,
104053 which can conflict with char $ac_func (); below.
104054 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104055 <limits.h> exists even on freestanding compilers. */
104057 #ifdef __STDC__
104058 # include <limits.h>
104059 #else
104060 # include <assert.h>
104061 #endif
104063 #undef $ac_func
104065 /* Override any gcc2 internal prototype to avoid an error. */
104066 #ifdef __cplusplus
104067 extern "C"
104069 #endif
104070 /* We use char because int might match the return type of a gcc2
104071 builtin and then its argument prototype would still apply. */
104072 char $ac_func ();
104073 /* The GNU C library defines this for functions which it implements
104074 to always fail with ENOSYS. Some functions are actually named
104075 something starting with __ and the normal name is an alias. */
104076 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104077 choke me
104078 #else
104079 char (*f) () = $ac_func;
104080 #endif
104081 #ifdef __cplusplus
104083 #endif
104086 main ()
104088 return f != $ac_func;
104090 return 0;
104092 _ACEOF
104093 rm -f conftest.$ac_objext conftest$ac_exeext
104094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104095 (eval $ac_link) 2>conftest.er1
104096 ac_status=$?
104097 grep -v '^ *+' conftest.er1 >conftest.err
104098 rm -f conftest.er1
104099 cat conftest.err >&5
104100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104101 (exit $ac_status); } &&
104102 { ac_try='test -z "$ac_c_werror_flag"
104103 || test ! -s conftest.err'
104104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104105 (eval $ac_try) 2>&5
104106 ac_status=$?
104107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104108 (exit $ac_status); }; } &&
104109 { ac_try='test -s conftest$ac_exeext'
104110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104111 (eval $ac_try) 2>&5
104112 ac_status=$?
104113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104114 (exit $ac_status); }; }; then
104115 eval "$as_ac_var=yes"
104117 echo "$as_me: failed program was:" >&5
104118 sed 's/^/| /' conftest.$ac_ext >&5
104120 eval "$as_ac_var=no"
104122 rm -f conftest.err conftest.$ac_objext \
104123 conftest$ac_exeext conftest.$ac_ext
104125 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104126 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104127 if test `eval echo '${'$as_ac_var'}'` = yes; then
104128 cat >>confdefs.h <<_ACEOF
104129 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104130 _ACEOF
104137 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
104138 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
104139 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
104140 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
104141 echo $ECHO_N "(cached) $ECHO_C" >&6
104146 ac_ext=cc
104147 ac_cpp='$CXXCPP $CPPFLAGS'
104148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104152 cat >conftest.$ac_ext <<_ACEOF
104153 /* confdefs.h. */
104154 _ACEOF
104155 cat confdefs.h >>conftest.$ac_ext
104156 cat >>conftest.$ac_ext <<_ACEOF
104157 /* end confdefs.h. */
104158 #include <math.h>
104159 #ifdef HAVE_IEEEFP_H
104160 #include <ieeefp.h>
104161 #endif
104164 main ()
104166 _sqrtl(0);
104168 return 0;
104170 _ACEOF
104171 rm -f conftest.$ac_objext
104172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104173 (eval $ac_compile) 2>conftest.er1
104174 ac_status=$?
104175 grep -v '^ *+' conftest.er1 >conftest.err
104176 rm -f conftest.er1
104177 cat conftest.err >&5
104178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104179 (exit $ac_status); } &&
104180 { ac_try='test -z "$ac_cxx_werror_flag"
104181 || test ! -s conftest.err'
104182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104183 (eval $ac_try) 2>&5
104184 ac_status=$?
104185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104186 (exit $ac_status); }; } &&
104187 { ac_try='test -s conftest.$ac_objext'
104188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104189 (eval $ac_try) 2>&5
104190 ac_status=$?
104191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104192 (exit $ac_status); }; }; then
104193 glibcxx_cv_func__sqrtl_use=yes
104195 echo "$as_me: failed program was:" >&5
104196 sed 's/^/| /' conftest.$ac_ext >&5
104198 glibcxx_cv_func__sqrtl_use=no
104200 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104201 ac_ext=c
104202 ac_cpp='$CPP $CPPFLAGS'
104203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104211 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
104212 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
104214 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
104216 for ac_func in _sqrtl
104218 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104219 echo "$as_me:$LINENO: checking for $ac_func" >&5
104220 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104221 if eval "test \"\${$as_ac_var+set}\" = set"; then
104222 echo $ECHO_N "(cached) $ECHO_C" >&6
104224 if test x$gcc_no_link = xyes; then
104225 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104226 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104227 { (exit 1); exit 1; }; }
104229 cat >conftest.$ac_ext <<_ACEOF
104230 /* confdefs.h. */
104231 _ACEOF
104232 cat confdefs.h >>conftest.$ac_ext
104233 cat >>conftest.$ac_ext <<_ACEOF
104234 /* end confdefs.h. */
104235 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104236 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104237 #define $ac_func innocuous_$ac_func
104239 /* System header to define __stub macros and hopefully few prototypes,
104240 which can conflict with char $ac_func (); below.
104241 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104242 <limits.h> exists even on freestanding compilers. */
104244 #ifdef __STDC__
104245 # include <limits.h>
104246 #else
104247 # include <assert.h>
104248 #endif
104250 #undef $ac_func
104252 /* Override any gcc2 internal prototype to avoid an error. */
104253 #ifdef __cplusplus
104254 extern "C"
104256 #endif
104257 /* We use char because int might match the return type of a gcc2
104258 builtin and then its argument prototype would still apply. */
104259 char $ac_func ();
104260 /* The GNU C library defines this for functions which it implements
104261 to always fail with ENOSYS. Some functions are actually named
104262 something starting with __ and the normal name is an alias. */
104263 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104264 choke me
104265 #else
104266 char (*f) () = $ac_func;
104267 #endif
104268 #ifdef __cplusplus
104270 #endif
104273 main ()
104275 return f != $ac_func;
104277 return 0;
104279 _ACEOF
104280 rm -f conftest.$ac_objext conftest$ac_exeext
104281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104282 (eval $ac_link) 2>conftest.er1
104283 ac_status=$?
104284 grep -v '^ *+' conftest.er1 >conftest.err
104285 rm -f conftest.er1
104286 cat conftest.err >&5
104287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104288 (exit $ac_status); } &&
104289 { ac_try='test -z "$ac_c_werror_flag"
104290 || test ! -s conftest.err'
104291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104292 (eval $ac_try) 2>&5
104293 ac_status=$?
104294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104295 (exit $ac_status); }; } &&
104296 { ac_try='test -s conftest$ac_exeext'
104297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104298 (eval $ac_try) 2>&5
104299 ac_status=$?
104300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104301 (exit $ac_status); }; }; then
104302 eval "$as_ac_var=yes"
104304 echo "$as_me: failed program was:" >&5
104305 sed 's/^/| /' conftest.$ac_ext >&5
104307 eval "$as_ac_var=no"
104309 rm -f conftest.err conftest.$ac_objext \
104310 conftest$ac_exeext conftest.$ac_ext
104312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104313 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104314 if test `eval echo '${'$as_ac_var'}'` = yes; then
104315 cat >>confdefs.h <<_ACEOF
104316 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104317 _ACEOF
104330 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
104331 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
104332 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
104333 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
104334 echo $ECHO_N "(cached) $ECHO_C" >&6
104339 ac_ext=cc
104340 ac_cpp='$CXXCPP $CPPFLAGS'
104341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104345 cat >conftest.$ac_ext <<_ACEOF
104346 /* confdefs.h. */
104347 _ACEOF
104348 cat confdefs.h >>conftest.$ac_ext
104349 cat >>conftest.$ac_ext <<_ACEOF
104350 /* end confdefs.h. */
104351 #include <math.h>
104353 main ()
104355 sincosl(0, 0, 0);
104357 return 0;
104359 _ACEOF
104360 rm -f conftest.$ac_objext
104361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104362 (eval $ac_compile) 2>conftest.er1
104363 ac_status=$?
104364 grep -v '^ *+' conftest.er1 >conftest.err
104365 rm -f conftest.er1
104366 cat conftest.err >&5
104367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104368 (exit $ac_status); } &&
104369 { ac_try='test -z "$ac_cxx_werror_flag"
104370 || test ! -s conftest.err'
104371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104372 (eval $ac_try) 2>&5
104373 ac_status=$?
104374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104375 (exit $ac_status); }; } &&
104376 { ac_try='test -s conftest.$ac_objext'
104377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104378 (eval $ac_try) 2>&5
104379 ac_status=$?
104380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104381 (exit $ac_status); }; }; then
104382 glibcxx_cv_func_sincosl_use=yes
104384 echo "$as_me: failed program was:" >&5
104385 sed 's/^/| /' conftest.$ac_ext >&5
104387 glibcxx_cv_func_sincosl_use=no
104389 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104390 ac_ext=c
104391 ac_cpp='$CPP $CPPFLAGS'
104392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104400 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
104401 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
104403 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
104405 for ac_func in sincosl
104407 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104408 echo "$as_me:$LINENO: checking for $ac_func" >&5
104409 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104410 if eval "test \"\${$as_ac_var+set}\" = set"; then
104411 echo $ECHO_N "(cached) $ECHO_C" >&6
104413 if test x$gcc_no_link = xyes; then
104414 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104415 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104416 { (exit 1); exit 1; }; }
104418 cat >conftest.$ac_ext <<_ACEOF
104419 /* confdefs.h. */
104420 _ACEOF
104421 cat confdefs.h >>conftest.$ac_ext
104422 cat >>conftest.$ac_ext <<_ACEOF
104423 /* end confdefs.h. */
104424 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104425 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104426 #define $ac_func innocuous_$ac_func
104428 /* System header to define __stub macros and hopefully few prototypes,
104429 which can conflict with char $ac_func (); below.
104430 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104431 <limits.h> exists even on freestanding compilers. */
104433 #ifdef __STDC__
104434 # include <limits.h>
104435 #else
104436 # include <assert.h>
104437 #endif
104439 #undef $ac_func
104441 /* Override any gcc2 internal prototype to avoid an error. */
104442 #ifdef __cplusplus
104443 extern "C"
104445 #endif
104446 /* We use char because int might match the return type of a gcc2
104447 builtin and then its argument prototype would still apply. */
104448 char $ac_func ();
104449 /* The GNU C library defines this for functions which it implements
104450 to always fail with ENOSYS. Some functions are actually named
104451 something starting with __ and the normal name is an alias. */
104452 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104453 choke me
104454 #else
104455 char (*f) () = $ac_func;
104456 #endif
104457 #ifdef __cplusplus
104459 #endif
104462 main ()
104464 return f != $ac_func;
104466 return 0;
104468 _ACEOF
104469 rm -f conftest.$ac_objext conftest$ac_exeext
104470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104471 (eval $ac_link) 2>conftest.er1
104472 ac_status=$?
104473 grep -v '^ *+' conftest.er1 >conftest.err
104474 rm -f conftest.er1
104475 cat conftest.err >&5
104476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104477 (exit $ac_status); } &&
104478 { ac_try='test -z "$ac_c_werror_flag"
104479 || test ! -s conftest.err'
104480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104481 (eval $ac_try) 2>&5
104482 ac_status=$?
104483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104484 (exit $ac_status); }; } &&
104485 { ac_try='test -s conftest$ac_exeext'
104486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104487 (eval $ac_try) 2>&5
104488 ac_status=$?
104489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104490 (exit $ac_status); }; }; then
104491 eval "$as_ac_var=yes"
104493 echo "$as_me: failed program was:" >&5
104494 sed 's/^/| /' conftest.$ac_ext >&5
104496 eval "$as_ac_var=no"
104498 rm -f conftest.err conftest.$ac_objext \
104499 conftest$ac_exeext conftest.$ac_ext
104501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104502 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104503 if test `eval echo '${'$as_ac_var'}'` = yes; then
104504 cat >>confdefs.h <<_ACEOF
104505 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104506 _ACEOF
104513 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
104514 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
104515 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
104516 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
104517 echo $ECHO_N "(cached) $ECHO_C" >&6
104522 ac_ext=cc
104523 ac_cpp='$CXXCPP $CPPFLAGS'
104524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104528 cat >conftest.$ac_ext <<_ACEOF
104529 /* confdefs.h. */
104530 _ACEOF
104531 cat confdefs.h >>conftest.$ac_ext
104532 cat >>conftest.$ac_ext <<_ACEOF
104533 /* end confdefs.h. */
104534 #include <math.h>
104536 main ()
104538 _sincosl(0, 0, 0);
104540 return 0;
104542 _ACEOF
104543 rm -f conftest.$ac_objext
104544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104545 (eval $ac_compile) 2>conftest.er1
104546 ac_status=$?
104547 grep -v '^ *+' conftest.er1 >conftest.err
104548 rm -f conftest.er1
104549 cat conftest.err >&5
104550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104551 (exit $ac_status); } &&
104552 { ac_try='test -z "$ac_cxx_werror_flag"
104553 || test ! -s conftest.err'
104554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104555 (eval $ac_try) 2>&5
104556 ac_status=$?
104557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104558 (exit $ac_status); }; } &&
104559 { ac_try='test -s conftest.$ac_objext'
104560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104561 (eval $ac_try) 2>&5
104562 ac_status=$?
104563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104564 (exit $ac_status); }; }; then
104565 glibcxx_cv_func__sincosl_use=yes
104567 echo "$as_me: failed program was:" >&5
104568 sed 's/^/| /' conftest.$ac_ext >&5
104570 glibcxx_cv_func__sincosl_use=no
104572 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104573 ac_ext=c
104574 ac_cpp='$CPP $CPPFLAGS'
104575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104583 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
104584 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
104586 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
104588 for ac_func in _sincosl
104590 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104591 echo "$as_me:$LINENO: checking for $ac_func" >&5
104592 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104593 if eval "test \"\${$as_ac_var+set}\" = set"; then
104594 echo $ECHO_N "(cached) $ECHO_C" >&6
104596 if test x$gcc_no_link = xyes; then
104597 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104598 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104599 { (exit 1); exit 1; }; }
104601 cat >conftest.$ac_ext <<_ACEOF
104602 /* confdefs.h. */
104603 _ACEOF
104604 cat confdefs.h >>conftest.$ac_ext
104605 cat >>conftest.$ac_ext <<_ACEOF
104606 /* end confdefs.h. */
104607 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104608 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104609 #define $ac_func innocuous_$ac_func
104611 /* System header to define __stub macros and hopefully few prototypes,
104612 which can conflict with char $ac_func (); below.
104613 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104614 <limits.h> exists even on freestanding compilers. */
104616 #ifdef __STDC__
104617 # include <limits.h>
104618 #else
104619 # include <assert.h>
104620 #endif
104622 #undef $ac_func
104624 /* Override any gcc2 internal prototype to avoid an error. */
104625 #ifdef __cplusplus
104626 extern "C"
104628 #endif
104629 /* We use char because int might match the return type of a gcc2
104630 builtin and then its argument prototype would still apply. */
104631 char $ac_func ();
104632 /* The GNU C library defines this for functions which it implements
104633 to always fail with ENOSYS. Some functions are actually named
104634 something starting with __ and the normal name is an alias. */
104635 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104636 choke me
104637 #else
104638 char (*f) () = $ac_func;
104639 #endif
104640 #ifdef __cplusplus
104642 #endif
104645 main ()
104647 return f != $ac_func;
104649 return 0;
104651 _ACEOF
104652 rm -f conftest.$ac_objext conftest$ac_exeext
104653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104654 (eval $ac_link) 2>conftest.er1
104655 ac_status=$?
104656 grep -v '^ *+' conftest.er1 >conftest.err
104657 rm -f conftest.er1
104658 cat conftest.err >&5
104659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104660 (exit $ac_status); } &&
104661 { ac_try='test -z "$ac_c_werror_flag"
104662 || test ! -s conftest.err'
104663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104664 (eval $ac_try) 2>&5
104665 ac_status=$?
104666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104667 (exit $ac_status); }; } &&
104668 { ac_try='test -s conftest$ac_exeext'
104669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104670 (eval $ac_try) 2>&5
104671 ac_status=$?
104672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104673 (exit $ac_status); }; }; then
104674 eval "$as_ac_var=yes"
104676 echo "$as_me: failed program was:" >&5
104677 sed 's/^/| /' conftest.$ac_ext >&5
104679 eval "$as_ac_var=no"
104681 rm -f conftest.err conftest.$ac_objext \
104682 conftest$ac_exeext conftest.$ac_ext
104684 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104685 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104686 if test `eval echo '${'$as_ac_var'}'` = yes; then
104687 cat >>confdefs.h <<_ACEOF
104688 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104689 _ACEOF
104702 echo "$as_me:$LINENO: checking for finitel declaration" >&5
104703 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
104704 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
104705 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
104706 echo $ECHO_N "(cached) $ECHO_C" >&6
104711 ac_ext=cc
104712 ac_cpp='$CXXCPP $CPPFLAGS'
104713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104717 cat >conftest.$ac_ext <<_ACEOF
104718 /* confdefs.h. */
104719 _ACEOF
104720 cat confdefs.h >>conftest.$ac_ext
104721 cat >>conftest.$ac_ext <<_ACEOF
104722 /* end confdefs.h. */
104723 #include <math.h>
104724 #ifdef HAVE_IEEEFP_H
104725 #include <ieeefp.h>
104726 #endif
104729 main ()
104731 finitel(0);
104733 return 0;
104735 _ACEOF
104736 rm -f conftest.$ac_objext
104737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104738 (eval $ac_compile) 2>conftest.er1
104739 ac_status=$?
104740 grep -v '^ *+' conftest.er1 >conftest.err
104741 rm -f conftest.er1
104742 cat conftest.err >&5
104743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104744 (exit $ac_status); } &&
104745 { ac_try='test -z "$ac_cxx_werror_flag"
104746 || test ! -s conftest.err'
104747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104748 (eval $ac_try) 2>&5
104749 ac_status=$?
104750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104751 (exit $ac_status); }; } &&
104752 { ac_try='test -s conftest.$ac_objext'
104753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104754 (eval $ac_try) 2>&5
104755 ac_status=$?
104756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104757 (exit $ac_status); }; }; then
104758 glibcxx_cv_func_finitel_use=yes
104760 echo "$as_me: failed program was:" >&5
104761 sed 's/^/| /' conftest.$ac_ext >&5
104763 glibcxx_cv_func_finitel_use=no
104765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104766 ac_ext=c
104767 ac_cpp='$CPP $CPPFLAGS'
104768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104776 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
104777 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
104779 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
104781 for ac_func in finitel
104783 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104784 echo "$as_me:$LINENO: checking for $ac_func" >&5
104785 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104786 if eval "test \"\${$as_ac_var+set}\" = set"; then
104787 echo $ECHO_N "(cached) $ECHO_C" >&6
104789 if test x$gcc_no_link = xyes; then
104790 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104791 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104792 { (exit 1); exit 1; }; }
104794 cat >conftest.$ac_ext <<_ACEOF
104795 /* confdefs.h. */
104796 _ACEOF
104797 cat confdefs.h >>conftest.$ac_ext
104798 cat >>conftest.$ac_ext <<_ACEOF
104799 /* end confdefs.h. */
104800 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104801 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104802 #define $ac_func innocuous_$ac_func
104804 /* System header to define __stub macros and hopefully few prototypes,
104805 which can conflict with char $ac_func (); below.
104806 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104807 <limits.h> exists even on freestanding compilers. */
104809 #ifdef __STDC__
104810 # include <limits.h>
104811 #else
104812 # include <assert.h>
104813 #endif
104815 #undef $ac_func
104817 /* Override any gcc2 internal prototype to avoid an error. */
104818 #ifdef __cplusplus
104819 extern "C"
104821 #endif
104822 /* We use char because int might match the return type of a gcc2
104823 builtin and then its argument prototype would still apply. */
104824 char $ac_func ();
104825 /* The GNU C library defines this for functions which it implements
104826 to always fail with ENOSYS. Some functions are actually named
104827 something starting with __ and the normal name is an alias. */
104828 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104829 choke me
104830 #else
104831 char (*f) () = $ac_func;
104832 #endif
104833 #ifdef __cplusplus
104835 #endif
104838 main ()
104840 return f != $ac_func;
104842 return 0;
104844 _ACEOF
104845 rm -f conftest.$ac_objext conftest$ac_exeext
104846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104847 (eval $ac_link) 2>conftest.er1
104848 ac_status=$?
104849 grep -v '^ *+' conftest.er1 >conftest.err
104850 rm -f conftest.er1
104851 cat conftest.err >&5
104852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104853 (exit $ac_status); } &&
104854 { ac_try='test -z "$ac_c_werror_flag"
104855 || test ! -s conftest.err'
104856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104857 (eval $ac_try) 2>&5
104858 ac_status=$?
104859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104860 (exit $ac_status); }; } &&
104861 { ac_try='test -s conftest$ac_exeext'
104862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104863 (eval $ac_try) 2>&5
104864 ac_status=$?
104865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104866 (exit $ac_status); }; }; then
104867 eval "$as_ac_var=yes"
104869 echo "$as_me: failed program was:" >&5
104870 sed 's/^/| /' conftest.$ac_ext >&5
104872 eval "$as_ac_var=no"
104874 rm -f conftest.err conftest.$ac_objext \
104875 conftest$ac_exeext conftest.$ac_ext
104877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104878 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104879 if test `eval echo '${'$as_ac_var'}'` = yes; then
104880 cat >>confdefs.h <<_ACEOF
104881 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104882 _ACEOF
104889 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
104890 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
104891 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
104892 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
104893 echo $ECHO_N "(cached) $ECHO_C" >&6
104898 ac_ext=cc
104899 ac_cpp='$CXXCPP $CPPFLAGS'
104900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104904 cat >conftest.$ac_ext <<_ACEOF
104905 /* confdefs.h. */
104906 _ACEOF
104907 cat confdefs.h >>conftest.$ac_ext
104908 cat >>conftest.$ac_ext <<_ACEOF
104909 /* end confdefs.h. */
104910 #include <math.h>
104911 #ifdef HAVE_IEEEFP_H
104912 #include <ieeefp.h>
104913 #endif
104916 main ()
104918 _finitel(0);
104920 return 0;
104922 _ACEOF
104923 rm -f conftest.$ac_objext
104924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104925 (eval $ac_compile) 2>conftest.er1
104926 ac_status=$?
104927 grep -v '^ *+' conftest.er1 >conftest.err
104928 rm -f conftest.er1
104929 cat conftest.err >&5
104930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104931 (exit $ac_status); } &&
104932 { ac_try='test -z "$ac_cxx_werror_flag"
104933 || test ! -s conftest.err'
104934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104935 (eval $ac_try) 2>&5
104936 ac_status=$?
104937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104938 (exit $ac_status); }; } &&
104939 { ac_try='test -s conftest.$ac_objext'
104940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104941 (eval $ac_try) 2>&5
104942 ac_status=$?
104943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104944 (exit $ac_status); }; }; then
104945 glibcxx_cv_func__finitel_use=yes
104947 echo "$as_me: failed program was:" >&5
104948 sed 's/^/| /' conftest.$ac_ext >&5
104950 glibcxx_cv_func__finitel_use=no
104952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104953 ac_ext=c
104954 ac_cpp='$CPP $CPPFLAGS'
104955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104963 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
104964 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
104966 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
104968 for ac_func in _finitel
104970 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104971 echo "$as_me:$LINENO: checking for $ac_func" >&5
104972 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104973 if eval "test \"\${$as_ac_var+set}\" = set"; then
104974 echo $ECHO_N "(cached) $ECHO_C" >&6
104976 if test x$gcc_no_link = xyes; then
104977 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104978 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104979 { (exit 1); exit 1; }; }
104981 cat >conftest.$ac_ext <<_ACEOF
104982 /* confdefs.h. */
104983 _ACEOF
104984 cat confdefs.h >>conftest.$ac_ext
104985 cat >>conftest.$ac_ext <<_ACEOF
104986 /* end confdefs.h. */
104987 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104988 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104989 #define $ac_func innocuous_$ac_func
104991 /* System header to define __stub macros and hopefully few prototypes,
104992 which can conflict with char $ac_func (); below.
104993 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104994 <limits.h> exists even on freestanding compilers. */
104996 #ifdef __STDC__
104997 # include <limits.h>
104998 #else
104999 # include <assert.h>
105000 #endif
105002 #undef $ac_func
105004 /* Override any gcc2 internal prototype to avoid an error. */
105005 #ifdef __cplusplus
105006 extern "C"
105008 #endif
105009 /* We use char because int might match the return type of a gcc2
105010 builtin and then its argument prototype would still apply. */
105011 char $ac_func ();
105012 /* The GNU C library defines this for functions which it implements
105013 to always fail with ENOSYS. Some functions are actually named
105014 something starting with __ and the normal name is an alias. */
105015 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105016 choke me
105017 #else
105018 char (*f) () = $ac_func;
105019 #endif
105020 #ifdef __cplusplus
105022 #endif
105025 main ()
105027 return f != $ac_func;
105029 return 0;
105031 _ACEOF
105032 rm -f conftest.$ac_objext conftest$ac_exeext
105033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105034 (eval $ac_link) 2>conftest.er1
105035 ac_status=$?
105036 grep -v '^ *+' conftest.er1 >conftest.err
105037 rm -f conftest.er1
105038 cat conftest.err >&5
105039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105040 (exit $ac_status); } &&
105041 { ac_try='test -z "$ac_c_werror_flag"
105042 || test ! -s conftest.err'
105043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105044 (eval $ac_try) 2>&5
105045 ac_status=$?
105046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105047 (exit $ac_status); }; } &&
105048 { ac_try='test -s conftest$ac_exeext'
105049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105050 (eval $ac_try) 2>&5
105051 ac_status=$?
105052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105053 (exit $ac_status); }; }; then
105054 eval "$as_ac_var=yes"
105056 echo "$as_me: failed program was:" >&5
105057 sed 's/^/| /' conftest.$ac_ext >&5
105059 eval "$as_ac_var=no"
105061 rm -f conftest.err conftest.$ac_objext \
105062 conftest$ac_exeext conftest.$ac_ext
105064 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105065 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105066 if test `eval echo '${'$as_ac_var'}'` = yes; then
105067 cat >>confdefs.h <<_ACEOF
105068 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105069 _ACEOF
105081 LIBS="$ac_save_LIBS"
105082 CXXFLAGS="$ac_save_CXXFLAGS"
105086 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
105087 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
105088 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
105089 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
105090 echo $ECHO_N "(cached) $ECHO_C" >&6
105095 ac_ext=cc
105096 ac_cpp='$CXXCPP $CPPFLAGS'
105097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105101 cat >conftest.$ac_ext <<_ACEOF
105102 /* confdefs.h. */
105103 _ACEOF
105104 cat confdefs.h >>conftest.$ac_ext
105105 cat >>conftest.$ac_ext <<_ACEOF
105106 /* end confdefs.h. */
105107 #include <math.h>
105109 main ()
105111 __builtin_abs(0);
105113 return 0;
105115 _ACEOF
105116 rm -f conftest.$ac_objext
105117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105118 (eval $ac_compile) 2>conftest.er1
105119 ac_status=$?
105120 grep -v '^ *+' conftest.er1 >conftest.err
105121 rm -f conftest.er1
105122 cat conftest.err >&5
105123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105124 (exit $ac_status); } &&
105125 { ac_try='test -z "$ac_cxx_werror_flag"
105126 || test ! -s conftest.err'
105127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105128 (eval $ac_try) 2>&5
105129 ac_status=$?
105130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105131 (exit $ac_status); }; } &&
105132 { ac_try='test -s conftest.$ac_objext'
105133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105134 (eval $ac_try) 2>&5
105135 ac_status=$?
105136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105137 (exit $ac_status); }; }; then
105138 glibcxx_cv_func___builtin_abs_use=yes
105140 echo "$as_me: failed program was:" >&5
105141 sed 's/^/| /' conftest.$ac_ext >&5
105143 glibcxx_cv_func___builtin_abs_use=no
105145 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105146 ac_ext=c
105147 ac_cpp='$CPP $CPPFLAGS'
105148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105156 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
105157 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
105158 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
105159 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
105160 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
105161 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
105162 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
105163 echo $ECHO_N "(cached) $ECHO_C" >&6
105166 if test x$gcc_no_link = xyes; then
105167 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105168 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105169 { (exit 1); exit 1; }; }
105171 cat >conftest.$ac_ext <<_ACEOF
105172 /* confdefs.h. */
105173 _ACEOF
105174 cat confdefs.h >>conftest.$ac_ext
105175 cat >>conftest.$ac_ext <<_ACEOF
105176 /* end confdefs.h. */
105177 #include <math.h>
105179 main ()
105181 __builtin_abs(0);
105183 return 0;
105185 _ACEOF
105186 rm -f conftest.$ac_objext conftest$ac_exeext
105187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105188 (eval $ac_link) 2>conftest.er1
105189 ac_status=$?
105190 grep -v '^ *+' conftest.er1 >conftest.err
105191 rm -f conftest.er1
105192 cat conftest.err >&5
105193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105194 (exit $ac_status); } &&
105195 { ac_try='test -z "$ac_c_werror_flag"
105196 || test ! -s conftest.err'
105197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105198 (eval $ac_try) 2>&5
105199 ac_status=$?
105200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105201 (exit $ac_status); }; } &&
105202 { ac_try='test -s conftest$ac_exeext'
105203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105204 (eval $ac_try) 2>&5
105205 ac_status=$?
105206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105207 (exit $ac_status); }; }; then
105208 glibcxx_cv_func___builtin_abs_link=yes
105210 echo "$as_me: failed program was:" >&5
105211 sed 's/^/| /' conftest.$ac_ext >&5
105213 glibcxx_cv_func___builtin_abs_link=no
105215 rm -f conftest.err conftest.$ac_objext \
105216 conftest$ac_exeext conftest.$ac_ext
105221 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
105222 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
105224 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
105226 cat >>confdefs.h <<\_ACEOF
105227 #define HAVE___BUILTIN_ABS 1
105228 _ACEOF
105235 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
105236 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
105237 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
105238 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
105239 echo $ECHO_N "(cached) $ECHO_C" >&6
105244 ac_ext=cc
105245 ac_cpp='$CXXCPP $CPPFLAGS'
105246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105250 cat >conftest.$ac_ext <<_ACEOF
105251 /* confdefs.h. */
105252 _ACEOF
105253 cat confdefs.h >>conftest.$ac_ext
105254 cat >>conftest.$ac_ext <<_ACEOF
105255 /* end confdefs.h. */
105256 #include <math.h>
105258 main ()
105260 __builtin_fabsf(0);
105262 return 0;
105264 _ACEOF
105265 rm -f conftest.$ac_objext
105266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105267 (eval $ac_compile) 2>conftest.er1
105268 ac_status=$?
105269 grep -v '^ *+' conftest.er1 >conftest.err
105270 rm -f conftest.er1
105271 cat conftest.err >&5
105272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105273 (exit $ac_status); } &&
105274 { ac_try='test -z "$ac_cxx_werror_flag"
105275 || test ! -s conftest.err'
105276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105277 (eval $ac_try) 2>&5
105278 ac_status=$?
105279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105280 (exit $ac_status); }; } &&
105281 { ac_try='test -s conftest.$ac_objext'
105282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105283 (eval $ac_try) 2>&5
105284 ac_status=$?
105285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105286 (exit $ac_status); }; }; then
105287 glibcxx_cv_func___builtin_fabsf_use=yes
105289 echo "$as_me: failed program was:" >&5
105290 sed 's/^/| /' conftest.$ac_ext >&5
105292 glibcxx_cv_func___builtin_fabsf_use=no
105294 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105295 ac_ext=c
105296 ac_cpp='$CPP $CPPFLAGS'
105297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105305 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
105306 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
105307 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
105308 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
105309 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
105310 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
105311 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
105312 echo $ECHO_N "(cached) $ECHO_C" >&6
105315 if test x$gcc_no_link = xyes; then
105316 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105317 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105318 { (exit 1); exit 1; }; }
105320 cat >conftest.$ac_ext <<_ACEOF
105321 /* confdefs.h. */
105322 _ACEOF
105323 cat confdefs.h >>conftest.$ac_ext
105324 cat >>conftest.$ac_ext <<_ACEOF
105325 /* end confdefs.h. */
105326 #include <math.h>
105328 main ()
105330 __builtin_fabsf(0);
105332 return 0;
105334 _ACEOF
105335 rm -f conftest.$ac_objext conftest$ac_exeext
105336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105337 (eval $ac_link) 2>conftest.er1
105338 ac_status=$?
105339 grep -v '^ *+' conftest.er1 >conftest.err
105340 rm -f conftest.er1
105341 cat conftest.err >&5
105342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105343 (exit $ac_status); } &&
105344 { ac_try='test -z "$ac_c_werror_flag"
105345 || test ! -s conftest.err'
105346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105347 (eval $ac_try) 2>&5
105348 ac_status=$?
105349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105350 (exit $ac_status); }; } &&
105351 { ac_try='test -s conftest$ac_exeext'
105352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105353 (eval $ac_try) 2>&5
105354 ac_status=$?
105355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105356 (exit $ac_status); }; }; then
105357 glibcxx_cv_func___builtin_fabsf_link=yes
105359 echo "$as_me: failed program was:" >&5
105360 sed 's/^/| /' conftest.$ac_ext >&5
105362 glibcxx_cv_func___builtin_fabsf_link=no
105364 rm -f conftest.err conftest.$ac_objext \
105365 conftest$ac_exeext conftest.$ac_ext
105370 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
105371 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
105373 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
105375 cat >>confdefs.h <<\_ACEOF
105376 #define HAVE___BUILTIN_FABSF 1
105377 _ACEOF
105384 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
105385 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
105386 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
105387 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
105388 echo $ECHO_N "(cached) $ECHO_C" >&6
105393 ac_ext=cc
105394 ac_cpp='$CXXCPP $CPPFLAGS'
105395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105399 cat >conftest.$ac_ext <<_ACEOF
105400 /* confdefs.h. */
105401 _ACEOF
105402 cat confdefs.h >>conftest.$ac_ext
105403 cat >>conftest.$ac_ext <<_ACEOF
105404 /* end confdefs.h. */
105405 #include <math.h>
105407 main ()
105409 __builtin_fabs(0);
105411 return 0;
105413 _ACEOF
105414 rm -f conftest.$ac_objext
105415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105416 (eval $ac_compile) 2>conftest.er1
105417 ac_status=$?
105418 grep -v '^ *+' conftest.er1 >conftest.err
105419 rm -f conftest.er1
105420 cat conftest.err >&5
105421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105422 (exit $ac_status); } &&
105423 { ac_try='test -z "$ac_cxx_werror_flag"
105424 || test ! -s conftest.err'
105425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105426 (eval $ac_try) 2>&5
105427 ac_status=$?
105428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105429 (exit $ac_status); }; } &&
105430 { ac_try='test -s conftest.$ac_objext'
105431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105432 (eval $ac_try) 2>&5
105433 ac_status=$?
105434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105435 (exit $ac_status); }; }; then
105436 glibcxx_cv_func___builtin_fabs_use=yes
105438 echo "$as_me: failed program was:" >&5
105439 sed 's/^/| /' conftest.$ac_ext >&5
105441 glibcxx_cv_func___builtin_fabs_use=no
105443 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105444 ac_ext=c
105445 ac_cpp='$CPP $CPPFLAGS'
105446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105454 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
105455 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
105456 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
105457 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
105458 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
105459 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
105460 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
105461 echo $ECHO_N "(cached) $ECHO_C" >&6
105464 if test x$gcc_no_link = xyes; then
105465 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105466 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105467 { (exit 1); exit 1; }; }
105469 cat >conftest.$ac_ext <<_ACEOF
105470 /* confdefs.h. */
105471 _ACEOF
105472 cat confdefs.h >>conftest.$ac_ext
105473 cat >>conftest.$ac_ext <<_ACEOF
105474 /* end confdefs.h. */
105475 #include <math.h>
105477 main ()
105479 __builtin_fabs(0);
105481 return 0;
105483 _ACEOF
105484 rm -f conftest.$ac_objext conftest$ac_exeext
105485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105486 (eval $ac_link) 2>conftest.er1
105487 ac_status=$?
105488 grep -v '^ *+' conftest.er1 >conftest.err
105489 rm -f conftest.er1
105490 cat conftest.err >&5
105491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105492 (exit $ac_status); } &&
105493 { ac_try='test -z "$ac_c_werror_flag"
105494 || test ! -s conftest.err'
105495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105496 (eval $ac_try) 2>&5
105497 ac_status=$?
105498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105499 (exit $ac_status); }; } &&
105500 { ac_try='test -s conftest$ac_exeext'
105501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105502 (eval $ac_try) 2>&5
105503 ac_status=$?
105504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105505 (exit $ac_status); }; }; then
105506 glibcxx_cv_func___builtin_fabs_link=yes
105508 echo "$as_me: failed program was:" >&5
105509 sed 's/^/| /' conftest.$ac_ext >&5
105511 glibcxx_cv_func___builtin_fabs_link=no
105513 rm -f conftest.err conftest.$ac_objext \
105514 conftest$ac_exeext conftest.$ac_ext
105519 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
105520 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
105522 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
105524 cat >>confdefs.h <<\_ACEOF
105525 #define HAVE___BUILTIN_FABS 1
105526 _ACEOF
105533 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
105534 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
105535 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
105536 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
105537 echo $ECHO_N "(cached) $ECHO_C" >&6
105542 ac_ext=cc
105543 ac_cpp='$CXXCPP $CPPFLAGS'
105544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105548 cat >conftest.$ac_ext <<_ACEOF
105549 /* confdefs.h. */
105550 _ACEOF
105551 cat confdefs.h >>conftest.$ac_ext
105552 cat >>conftest.$ac_ext <<_ACEOF
105553 /* end confdefs.h. */
105554 #include <math.h>
105556 main ()
105558 __builtin_fabsl(0);
105560 return 0;
105562 _ACEOF
105563 rm -f conftest.$ac_objext
105564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105565 (eval $ac_compile) 2>conftest.er1
105566 ac_status=$?
105567 grep -v '^ *+' conftest.er1 >conftest.err
105568 rm -f conftest.er1
105569 cat conftest.err >&5
105570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105571 (exit $ac_status); } &&
105572 { ac_try='test -z "$ac_cxx_werror_flag"
105573 || test ! -s conftest.err'
105574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105575 (eval $ac_try) 2>&5
105576 ac_status=$?
105577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105578 (exit $ac_status); }; } &&
105579 { ac_try='test -s conftest.$ac_objext'
105580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105581 (eval $ac_try) 2>&5
105582 ac_status=$?
105583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105584 (exit $ac_status); }; }; then
105585 glibcxx_cv_func___builtin_fabsl_use=yes
105587 echo "$as_me: failed program was:" >&5
105588 sed 's/^/| /' conftest.$ac_ext >&5
105590 glibcxx_cv_func___builtin_fabsl_use=no
105592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105593 ac_ext=c
105594 ac_cpp='$CPP $CPPFLAGS'
105595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105603 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
105604 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
105605 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
105606 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
105607 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
105608 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
105609 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
105610 echo $ECHO_N "(cached) $ECHO_C" >&6
105613 if test x$gcc_no_link = xyes; then
105614 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105615 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105616 { (exit 1); exit 1; }; }
105618 cat >conftest.$ac_ext <<_ACEOF
105619 /* confdefs.h. */
105620 _ACEOF
105621 cat confdefs.h >>conftest.$ac_ext
105622 cat >>conftest.$ac_ext <<_ACEOF
105623 /* end confdefs.h. */
105624 #include <math.h>
105626 main ()
105628 __builtin_fabsl(0);
105630 return 0;
105632 _ACEOF
105633 rm -f conftest.$ac_objext conftest$ac_exeext
105634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105635 (eval $ac_link) 2>conftest.er1
105636 ac_status=$?
105637 grep -v '^ *+' conftest.er1 >conftest.err
105638 rm -f conftest.er1
105639 cat conftest.err >&5
105640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105641 (exit $ac_status); } &&
105642 { ac_try='test -z "$ac_c_werror_flag"
105643 || test ! -s conftest.err'
105644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105645 (eval $ac_try) 2>&5
105646 ac_status=$?
105647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105648 (exit $ac_status); }; } &&
105649 { ac_try='test -s conftest$ac_exeext'
105650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105651 (eval $ac_try) 2>&5
105652 ac_status=$?
105653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105654 (exit $ac_status); }; }; then
105655 glibcxx_cv_func___builtin_fabsl_link=yes
105657 echo "$as_me: failed program was:" >&5
105658 sed 's/^/| /' conftest.$ac_ext >&5
105660 glibcxx_cv_func___builtin_fabsl_link=no
105662 rm -f conftest.err conftest.$ac_objext \
105663 conftest$ac_exeext conftest.$ac_ext
105668 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
105669 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
105671 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
105673 cat >>confdefs.h <<\_ACEOF
105674 #define HAVE___BUILTIN_FABSL 1
105675 _ACEOF
105682 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
105683 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
105684 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
105685 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
105686 echo $ECHO_N "(cached) $ECHO_C" >&6
105691 ac_ext=cc
105692 ac_cpp='$CXXCPP $CPPFLAGS'
105693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105697 cat >conftest.$ac_ext <<_ACEOF
105698 /* confdefs.h. */
105699 _ACEOF
105700 cat confdefs.h >>conftest.$ac_ext
105701 cat >>conftest.$ac_ext <<_ACEOF
105702 /* end confdefs.h. */
105703 #include <math.h>
105705 main ()
105707 __builtin_labs(0);
105709 return 0;
105711 _ACEOF
105712 rm -f conftest.$ac_objext
105713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105714 (eval $ac_compile) 2>conftest.er1
105715 ac_status=$?
105716 grep -v '^ *+' conftest.er1 >conftest.err
105717 rm -f conftest.er1
105718 cat conftest.err >&5
105719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105720 (exit $ac_status); } &&
105721 { ac_try='test -z "$ac_cxx_werror_flag"
105722 || test ! -s conftest.err'
105723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105724 (eval $ac_try) 2>&5
105725 ac_status=$?
105726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105727 (exit $ac_status); }; } &&
105728 { ac_try='test -s conftest.$ac_objext'
105729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105730 (eval $ac_try) 2>&5
105731 ac_status=$?
105732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105733 (exit $ac_status); }; }; then
105734 glibcxx_cv_func___builtin_labs_use=yes
105736 echo "$as_me: failed program was:" >&5
105737 sed 's/^/| /' conftest.$ac_ext >&5
105739 glibcxx_cv_func___builtin_labs_use=no
105741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105742 ac_ext=c
105743 ac_cpp='$CPP $CPPFLAGS'
105744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105752 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
105753 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
105754 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
105755 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
105756 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
105757 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
105758 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
105759 echo $ECHO_N "(cached) $ECHO_C" >&6
105762 if test x$gcc_no_link = xyes; then
105763 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105764 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105765 { (exit 1); exit 1; }; }
105767 cat >conftest.$ac_ext <<_ACEOF
105768 /* confdefs.h. */
105769 _ACEOF
105770 cat confdefs.h >>conftest.$ac_ext
105771 cat >>conftest.$ac_ext <<_ACEOF
105772 /* end confdefs.h. */
105773 #include <math.h>
105775 main ()
105777 __builtin_labs(0);
105779 return 0;
105781 _ACEOF
105782 rm -f conftest.$ac_objext conftest$ac_exeext
105783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105784 (eval $ac_link) 2>conftest.er1
105785 ac_status=$?
105786 grep -v '^ *+' conftest.er1 >conftest.err
105787 rm -f conftest.er1
105788 cat conftest.err >&5
105789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105790 (exit $ac_status); } &&
105791 { ac_try='test -z "$ac_c_werror_flag"
105792 || test ! -s conftest.err'
105793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105794 (eval $ac_try) 2>&5
105795 ac_status=$?
105796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105797 (exit $ac_status); }; } &&
105798 { ac_try='test -s conftest$ac_exeext'
105799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105800 (eval $ac_try) 2>&5
105801 ac_status=$?
105802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105803 (exit $ac_status); }; }; then
105804 glibcxx_cv_func___builtin_labs_link=yes
105806 echo "$as_me: failed program was:" >&5
105807 sed 's/^/| /' conftest.$ac_ext >&5
105809 glibcxx_cv_func___builtin_labs_link=no
105811 rm -f conftest.err conftest.$ac_objext \
105812 conftest$ac_exeext conftest.$ac_ext
105817 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
105818 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
105820 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
105822 cat >>confdefs.h <<\_ACEOF
105823 #define HAVE___BUILTIN_LABS 1
105824 _ACEOF
105832 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
105833 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
105834 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
105835 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
105836 echo $ECHO_N "(cached) $ECHO_C" >&6
105841 ac_ext=cc
105842 ac_cpp='$CXXCPP $CPPFLAGS'
105843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105847 cat >conftest.$ac_ext <<_ACEOF
105848 /* confdefs.h. */
105849 _ACEOF
105850 cat confdefs.h >>conftest.$ac_ext
105851 cat >>conftest.$ac_ext <<_ACEOF
105852 /* end confdefs.h. */
105853 #include <math.h>
105855 main ()
105857 __builtin_sqrtf(0);
105859 return 0;
105861 _ACEOF
105862 rm -f conftest.$ac_objext
105863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105864 (eval $ac_compile) 2>conftest.er1
105865 ac_status=$?
105866 grep -v '^ *+' conftest.er1 >conftest.err
105867 rm -f conftest.er1
105868 cat conftest.err >&5
105869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105870 (exit $ac_status); } &&
105871 { ac_try='test -z "$ac_cxx_werror_flag"
105872 || test ! -s conftest.err'
105873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105874 (eval $ac_try) 2>&5
105875 ac_status=$?
105876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105877 (exit $ac_status); }; } &&
105878 { ac_try='test -s conftest.$ac_objext'
105879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105880 (eval $ac_try) 2>&5
105881 ac_status=$?
105882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105883 (exit $ac_status); }; }; then
105884 glibcxx_cv_func___builtin_sqrtf_use=yes
105886 echo "$as_me: failed program was:" >&5
105887 sed 's/^/| /' conftest.$ac_ext >&5
105889 glibcxx_cv_func___builtin_sqrtf_use=no
105891 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105892 ac_ext=c
105893 ac_cpp='$CPP $CPPFLAGS'
105894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105902 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
105903 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
105904 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
105905 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
105906 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
105907 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
105908 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
105909 echo $ECHO_N "(cached) $ECHO_C" >&6
105912 if test x$gcc_no_link = xyes; then
105913 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105914 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105915 { (exit 1); exit 1; }; }
105917 cat >conftest.$ac_ext <<_ACEOF
105918 /* confdefs.h. */
105919 _ACEOF
105920 cat confdefs.h >>conftest.$ac_ext
105921 cat >>conftest.$ac_ext <<_ACEOF
105922 /* end confdefs.h. */
105923 #include <math.h>
105925 main ()
105927 __builtin_sqrtf(0);
105929 return 0;
105931 _ACEOF
105932 rm -f conftest.$ac_objext conftest$ac_exeext
105933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105934 (eval $ac_link) 2>conftest.er1
105935 ac_status=$?
105936 grep -v '^ *+' conftest.er1 >conftest.err
105937 rm -f conftest.er1
105938 cat conftest.err >&5
105939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105940 (exit $ac_status); } &&
105941 { ac_try='test -z "$ac_c_werror_flag"
105942 || test ! -s conftest.err'
105943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105944 (eval $ac_try) 2>&5
105945 ac_status=$?
105946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105947 (exit $ac_status); }; } &&
105948 { ac_try='test -s conftest$ac_exeext'
105949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105950 (eval $ac_try) 2>&5
105951 ac_status=$?
105952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105953 (exit $ac_status); }; }; then
105954 glibcxx_cv_func___builtin_sqrtf_link=yes
105956 echo "$as_me: failed program was:" >&5
105957 sed 's/^/| /' conftest.$ac_ext >&5
105959 glibcxx_cv_func___builtin_sqrtf_link=no
105961 rm -f conftest.err conftest.$ac_objext \
105962 conftest$ac_exeext conftest.$ac_ext
105967 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
105968 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
105970 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
105972 cat >>confdefs.h <<\_ACEOF
105973 #define HAVE___BUILTIN_SQRTF 1
105974 _ACEOF
105981 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
105982 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
105983 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
105984 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
105985 echo $ECHO_N "(cached) $ECHO_C" >&6
105990 ac_ext=cc
105991 ac_cpp='$CXXCPP $CPPFLAGS'
105992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105996 cat >conftest.$ac_ext <<_ACEOF
105997 /* confdefs.h. */
105998 _ACEOF
105999 cat confdefs.h >>conftest.$ac_ext
106000 cat >>conftest.$ac_ext <<_ACEOF
106001 /* end confdefs.h. */
106002 #include <math.h>
106004 main ()
106006 __builtin_sqrt(0);
106008 return 0;
106010 _ACEOF
106011 rm -f conftest.$ac_objext
106012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106013 (eval $ac_compile) 2>conftest.er1
106014 ac_status=$?
106015 grep -v '^ *+' conftest.er1 >conftest.err
106016 rm -f conftest.er1
106017 cat conftest.err >&5
106018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106019 (exit $ac_status); } &&
106020 { ac_try='test -z "$ac_cxx_werror_flag"
106021 || test ! -s conftest.err'
106022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106023 (eval $ac_try) 2>&5
106024 ac_status=$?
106025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106026 (exit $ac_status); }; } &&
106027 { ac_try='test -s conftest.$ac_objext'
106028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106029 (eval $ac_try) 2>&5
106030 ac_status=$?
106031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106032 (exit $ac_status); }; }; then
106033 glibcxx_cv_func___builtin_sqrt_use=yes
106035 echo "$as_me: failed program was:" >&5
106036 sed 's/^/| /' conftest.$ac_ext >&5
106038 glibcxx_cv_func___builtin_sqrt_use=no
106040 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106041 ac_ext=c
106042 ac_cpp='$CPP $CPPFLAGS'
106043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106051 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
106052 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
106053 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
106054 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
106055 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
106056 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
106057 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
106058 echo $ECHO_N "(cached) $ECHO_C" >&6
106061 if test x$gcc_no_link = xyes; then
106062 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106063 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106064 { (exit 1); exit 1; }; }
106066 cat >conftest.$ac_ext <<_ACEOF
106067 /* confdefs.h. */
106068 _ACEOF
106069 cat confdefs.h >>conftest.$ac_ext
106070 cat >>conftest.$ac_ext <<_ACEOF
106071 /* end confdefs.h. */
106072 #include <math.h>
106074 main ()
106076 __builtin_sqrt(0);
106078 return 0;
106080 _ACEOF
106081 rm -f conftest.$ac_objext conftest$ac_exeext
106082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106083 (eval $ac_link) 2>conftest.er1
106084 ac_status=$?
106085 grep -v '^ *+' conftest.er1 >conftest.err
106086 rm -f conftest.er1
106087 cat conftest.err >&5
106088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106089 (exit $ac_status); } &&
106090 { ac_try='test -z "$ac_c_werror_flag"
106091 || test ! -s conftest.err'
106092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106093 (eval $ac_try) 2>&5
106094 ac_status=$?
106095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106096 (exit $ac_status); }; } &&
106097 { ac_try='test -s conftest$ac_exeext'
106098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106099 (eval $ac_try) 2>&5
106100 ac_status=$?
106101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106102 (exit $ac_status); }; }; then
106103 glibcxx_cv_func___builtin_sqrt_link=yes
106105 echo "$as_me: failed program was:" >&5
106106 sed 's/^/| /' conftest.$ac_ext >&5
106108 glibcxx_cv_func___builtin_sqrt_link=no
106110 rm -f conftest.err conftest.$ac_objext \
106111 conftest$ac_exeext conftest.$ac_ext
106116 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
106117 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
106119 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
106121 cat >>confdefs.h <<\_ACEOF
106122 #define HAVE___BUILTIN_SQRT 1
106123 _ACEOF
106130 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
106131 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
106132 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
106133 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
106134 echo $ECHO_N "(cached) $ECHO_C" >&6
106139 ac_ext=cc
106140 ac_cpp='$CXXCPP $CPPFLAGS'
106141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106145 cat >conftest.$ac_ext <<_ACEOF
106146 /* confdefs.h. */
106147 _ACEOF
106148 cat confdefs.h >>conftest.$ac_ext
106149 cat >>conftest.$ac_ext <<_ACEOF
106150 /* end confdefs.h. */
106151 #include <math.h>
106153 main ()
106155 __builtin_sqrtl(0);
106157 return 0;
106159 _ACEOF
106160 rm -f conftest.$ac_objext
106161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106162 (eval $ac_compile) 2>conftest.er1
106163 ac_status=$?
106164 grep -v '^ *+' conftest.er1 >conftest.err
106165 rm -f conftest.er1
106166 cat conftest.err >&5
106167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106168 (exit $ac_status); } &&
106169 { ac_try='test -z "$ac_cxx_werror_flag"
106170 || test ! -s conftest.err'
106171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106172 (eval $ac_try) 2>&5
106173 ac_status=$?
106174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106175 (exit $ac_status); }; } &&
106176 { ac_try='test -s conftest.$ac_objext'
106177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106178 (eval $ac_try) 2>&5
106179 ac_status=$?
106180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106181 (exit $ac_status); }; }; then
106182 glibcxx_cv_func___builtin_sqrtl_use=yes
106184 echo "$as_me: failed program was:" >&5
106185 sed 's/^/| /' conftest.$ac_ext >&5
106187 glibcxx_cv_func___builtin_sqrtl_use=no
106189 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106190 ac_ext=c
106191 ac_cpp='$CPP $CPPFLAGS'
106192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106200 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
106201 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
106202 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
106203 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
106204 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
106205 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
106206 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
106207 echo $ECHO_N "(cached) $ECHO_C" >&6
106210 if test x$gcc_no_link = xyes; then
106211 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106212 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106213 { (exit 1); exit 1; }; }
106215 cat >conftest.$ac_ext <<_ACEOF
106216 /* confdefs.h. */
106217 _ACEOF
106218 cat confdefs.h >>conftest.$ac_ext
106219 cat >>conftest.$ac_ext <<_ACEOF
106220 /* end confdefs.h. */
106221 #include <math.h>
106223 main ()
106225 __builtin_sqrtl(0);
106227 return 0;
106229 _ACEOF
106230 rm -f conftest.$ac_objext conftest$ac_exeext
106231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106232 (eval $ac_link) 2>conftest.er1
106233 ac_status=$?
106234 grep -v '^ *+' conftest.er1 >conftest.err
106235 rm -f conftest.er1
106236 cat conftest.err >&5
106237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106238 (exit $ac_status); } &&
106239 { ac_try='test -z "$ac_c_werror_flag"
106240 || test ! -s conftest.err'
106241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106242 (eval $ac_try) 2>&5
106243 ac_status=$?
106244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106245 (exit $ac_status); }; } &&
106246 { ac_try='test -s conftest$ac_exeext'
106247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106248 (eval $ac_try) 2>&5
106249 ac_status=$?
106250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106251 (exit $ac_status); }; }; then
106252 glibcxx_cv_func___builtin_sqrtl_link=yes
106254 echo "$as_me: failed program was:" >&5
106255 sed 's/^/| /' conftest.$ac_ext >&5
106257 glibcxx_cv_func___builtin_sqrtl_link=no
106259 rm -f conftest.err conftest.$ac_objext \
106260 conftest$ac_exeext conftest.$ac_ext
106265 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
106266 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
106268 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
106270 cat >>confdefs.h <<\_ACEOF
106271 #define HAVE___BUILTIN_SQRTL 1
106272 _ACEOF
106280 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
106281 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
106282 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
106283 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
106284 echo $ECHO_N "(cached) $ECHO_C" >&6
106289 ac_ext=cc
106290 ac_cpp='$CXXCPP $CPPFLAGS'
106291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106295 cat >conftest.$ac_ext <<_ACEOF
106296 /* confdefs.h. */
106297 _ACEOF
106298 cat confdefs.h >>conftest.$ac_ext
106299 cat >>conftest.$ac_ext <<_ACEOF
106300 /* end confdefs.h. */
106301 #include <math.h>
106303 main ()
106305 __builtin_sinf(0);
106307 return 0;
106309 _ACEOF
106310 rm -f conftest.$ac_objext
106311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106312 (eval $ac_compile) 2>conftest.er1
106313 ac_status=$?
106314 grep -v '^ *+' conftest.er1 >conftest.err
106315 rm -f conftest.er1
106316 cat conftest.err >&5
106317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106318 (exit $ac_status); } &&
106319 { ac_try='test -z "$ac_cxx_werror_flag"
106320 || test ! -s conftest.err'
106321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106322 (eval $ac_try) 2>&5
106323 ac_status=$?
106324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106325 (exit $ac_status); }; } &&
106326 { ac_try='test -s conftest.$ac_objext'
106327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106328 (eval $ac_try) 2>&5
106329 ac_status=$?
106330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106331 (exit $ac_status); }; }; then
106332 glibcxx_cv_func___builtin_sinf_use=yes
106334 echo "$as_me: failed program was:" >&5
106335 sed 's/^/| /' conftest.$ac_ext >&5
106337 glibcxx_cv_func___builtin_sinf_use=no
106339 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106340 ac_ext=c
106341 ac_cpp='$CPP $CPPFLAGS'
106342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106350 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
106351 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
106352 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
106353 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
106354 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
106355 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
106356 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
106357 echo $ECHO_N "(cached) $ECHO_C" >&6
106360 if test x$gcc_no_link = xyes; then
106361 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106362 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106363 { (exit 1); exit 1; }; }
106365 cat >conftest.$ac_ext <<_ACEOF
106366 /* confdefs.h. */
106367 _ACEOF
106368 cat confdefs.h >>conftest.$ac_ext
106369 cat >>conftest.$ac_ext <<_ACEOF
106370 /* end confdefs.h. */
106371 #include <math.h>
106373 main ()
106375 __builtin_sinf(0);
106377 return 0;
106379 _ACEOF
106380 rm -f conftest.$ac_objext conftest$ac_exeext
106381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106382 (eval $ac_link) 2>conftest.er1
106383 ac_status=$?
106384 grep -v '^ *+' conftest.er1 >conftest.err
106385 rm -f conftest.er1
106386 cat conftest.err >&5
106387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106388 (exit $ac_status); } &&
106389 { ac_try='test -z "$ac_c_werror_flag"
106390 || test ! -s conftest.err'
106391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106392 (eval $ac_try) 2>&5
106393 ac_status=$?
106394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106395 (exit $ac_status); }; } &&
106396 { ac_try='test -s conftest$ac_exeext'
106397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106398 (eval $ac_try) 2>&5
106399 ac_status=$?
106400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106401 (exit $ac_status); }; }; then
106402 glibcxx_cv_func___builtin_sinf_link=yes
106404 echo "$as_me: failed program was:" >&5
106405 sed 's/^/| /' conftest.$ac_ext >&5
106407 glibcxx_cv_func___builtin_sinf_link=no
106409 rm -f conftest.err conftest.$ac_objext \
106410 conftest$ac_exeext conftest.$ac_ext
106415 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
106416 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
106418 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
106420 cat >>confdefs.h <<\_ACEOF
106421 #define HAVE___BUILTIN_SINF 1
106422 _ACEOF
106429 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
106430 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
106431 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
106432 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
106433 echo $ECHO_N "(cached) $ECHO_C" >&6
106438 ac_ext=cc
106439 ac_cpp='$CXXCPP $CPPFLAGS'
106440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106444 cat >conftest.$ac_ext <<_ACEOF
106445 /* confdefs.h. */
106446 _ACEOF
106447 cat confdefs.h >>conftest.$ac_ext
106448 cat >>conftest.$ac_ext <<_ACEOF
106449 /* end confdefs.h. */
106450 #include <math.h>
106452 main ()
106454 __builtin_sin(0);
106456 return 0;
106458 _ACEOF
106459 rm -f conftest.$ac_objext
106460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106461 (eval $ac_compile) 2>conftest.er1
106462 ac_status=$?
106463 grep -v '^ *+' conftest.er1 >conftest.err
106464 rm -f conftest.er1
106465 cat conftest.err >&5
106466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106467 (exit $ac_status); } &&
106468 { ac_try='test -z "$ac_cxx_werror_flag"
106469 || test ! -s conftest.err'
106470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106471 (eval $ac_try) 2>&5
106472 ac_status=$?
106473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106474 (exit $ac_status); }; } &&
106475 { ac_try='test -s conftest.$ac_objext'
106476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106477 (eval $ac_try) 2>&5
106478 ac_status=$?
106479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106480 (exit $ac_status); }; }; then
106481 glibcxx_cv_func___builtin_sin_use=yes
106483 echo "$as_me: failed program was:" >&5
106484 sed 's/^/| /' conftest.$ac_ext >&5
106486 glibcxx_cv_func___builtin_sin_use=no
106488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106489 ac_ext=c
106490 ac_cpp='$CPP $CPPFLAGS'
106491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106499 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
106500 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
106501 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
106502 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
106503 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
106504 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
106505 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
106506 echo $ECHO_N "(cached) $ECHO_C" >&6
106509 if test x$gcc_no_link = xyes; then
106510 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106511 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106512 { (exit 1); exit 1; }; }
106514 cat >conftest.$ac_ext <<_ACEOF
106515 /* confdefs.h. */
106516 _ACEOF
106517 cat confdefs.h >>conftest.$ac_ext
106518 cat >>conftest.$ac_ext <<_ACEOF
106519 /* end confdefs.h. */
106520 #include <math.h>
106522 main ()
106524 __builtin_sin(0);
106526 return 0;
106528 _ACEOF
106529 rm -f conftest.$ac_objext conftest$ac_exeext
106530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106531 (eval $ac_link) 2>conftest.er1
106532 ac_status=$?
106533 grep -v '^ *+' conftest.er1 >conftest.err
106534 rm -f conftest.er1
106535 cat conftest.err >&5
106536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106537 (exit $ac_status); } &&
106538 { ac_try='test -z "$ac_c_werror_flag"
106539 || test ! -s conftest.err'
106540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106541 (eval $ac_try) 2>&5
106542 ac_status=$?
106543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106544 (exit $ac_status); }; } &&
106545 { ac_try='test -s conftest$ac_exeext'
106546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106547 (eval $ac_try) 2>&5
106548 ac_status=$?
106549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106550 (exit $ac_status); }; }; then
106551 glibcxx_cv_func___builtin_sin_link=yes
106553 echo "$as_me: failed program was:" >&5
106554 sed 's/^/| /' conftest.$ac_ext >&5
106556 glibcxx_cv_func___builtin_sin_link=no
106558 rm -f conftest.err conftest.$ac_objext \
106559 conftest$ac_exeext conftest.$ac_ext
106564 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
106565 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
106567 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
106569 cat >>confdefs.h <<\_ACEOF
106570 #define HAVE___BUILTIN_SIN 1
106571 _ACEOF
106578 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
106579 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
106580 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
106581 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
106582 echo $ECHO_N "(cached) $ECHO_C" >&6
106587 ac_ext=cc
106588 ac_cpp='$CXXCPP $CPPFLAGS'
106589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106593 cat >conftest.$ac_ext <<_ACEOF
106594 /* confdefs.h. */
106595 _ACEOF
106596 cat confdefs.h >>conftest.$ac_ext
106597 cat >>conftest.$ac_ext <<_ACEOF
106598 /* end confdefs.h. */
106599 #include <math.h>
106601 main ()
106603 __builtin_sinl(0);
106605 return 0;
106607 _ACEOF
106608 rm -f conftest.$ac_objext
106609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106610 (eval $ac_compile) 2>conftest.er1
106611 ac_status=$?
106612 grep -v '^ *+' conftest.er1 >conftest.err
106613 rm -f conftest.er1
106614 cat conftest.err >&5
106615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106616 (exit $ac_status); } &&
106617 { ac_try='test -z "$ac_cxx_werror_flag"
106618 || test ! -s conftest.err'
106619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106620 (eval $ac_try) 2>&5
106621 ac_status=$?
106622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106623 (exit $ac_status); }; } &&
106624 { ac_try='test -s conftest.$ac_objext'
106625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106626 (eval $ac_try) 2>&5
106627 ac_status=$?
106628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106629 (exit $ac_status); }; }; then
106630 glibcxx_cv_func___builtin_sinl_use=yes
106632 echo "$as_me: failed program was:" >&5
106633 sed 's/^/| /' conftest.$ac_ext >&5
106635 glibcxx_cv_func___builtin_sinl_use=no
106637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106638 ac_ext=c
106639 ac_cpp='$CPP $CPPFLAGS'
106640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106648 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
106649 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
106650 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
106651 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
106652 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
106653 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
106654 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
106655 echo $ECHO_N "(cached) $ECHO_C" >&6
106658 if test x$gcc_no_link = xyes; then
106659 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106660 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106661 { (exit 1); exit 1; }; }
106663 cat >conftest.$ac_ext <<_ACEOF
106664 /* confdefs.h. */
106665 _ACEOF
106666 cat confdefs.h >>conftest.$ac_ext
106667 cat >>conftest.$ac_ext <<_ACEOF
106668 /* end confdefs.h. */
106669 #include <math.h>
106671 main ()
106673 __builtin_sinl(0);
106675 return 0;
106677 _ACEOF
106678 rm -f conftest.$ac_objext conftest$ac_exeext
106679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106680 (eval $ac_link) 2>conftest.er1
106681 ac_status=$?
106682 grep -v '^ *+' conftest.er1 >conftest.err
106683 rm -f conftest.er1
106684 cat conftest.err >&5
106685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106686 (exit $ac_status); } &&
106687 { ac_try='test -z "$ac_c_werror_flag"
106688 || test ! -s conftest.err'
106689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106690 (eval $ac_try) 2>&5
106691 ac_status=$?
106692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106693 (exit $ac_status); }; } &&
106694 { ac_try='test -s conftest$ac_exeext'
106695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106696 (eval $ac_try) 2>&5
106697 ac_status=$?
106698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106699 (exit $ac_status); }; }; then
106700 glibcxx_cv_func___builtin_sinl_link=yes
106702 echo "$as_me: failed program was:" >&5
106703 sed 's/^/| /' conftest.$ac_ext >&5
106705 glibcxx_cv_func___builtin_sinl_link=no
106707 rm -f conftest.err conftest.$ac_objext \
106708 conftest$ac_exeext conftest.$ac_ext
106713 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
106714 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
106716 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
106718 cat >>confdefs.h <<\_ACEOF
106719 #define HAVE___BUILTIN_SINL 1
106720 _ACEOF
106728 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
106729 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
106730 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
106731 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
106732 echo $ECHO_N "(cached) $ECHO_C" >&6
106737 ac_ext=cc
106738 ac_cpp='$CXXCPP $CPPFLAGS'
106739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106743 cat >conftest.$ac_ext <<_ACEOF
106744 /* confdefs.h. */
106745 _ACEOF
106746 cat confdefs.h >>conftest.$ac_ext
106747 cat >>conftest.$ac_ext <<_ACEOF
106748 /* end confdefs.h. */
106749 #include <math.h>
106751 main ()
106753 __builtin_cosf(0);
106755 return 0;
106757 _ACEOF
106758 rm -f conftest.$ac_objext
106759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106760 (eval $ac_compile) 2>conftest.er1
106761 ac_status=$?
106762 grep -v '^ *+' conftest.er1 >conftest.err
106763 rm -f conftest.er1
106764 cat conftest.err >&5
106765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106766 (exit $ac_status); } &&
106767 { ac_try='test -z "$ac_cxx_werror_flag"
106768 || test ! -s conftest.err'
106769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106770 (eval $ac_try) 2>&5
106771 ac_status=$?
106772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106773 (exit $ac_status); }; } &&
106774 { ac_try='test -s conftest.$ac_objext'
106775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106776 (eval $ac_try) 2>&5
106777 ac_status=$?
106778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106779 (exit $ac_status); }; }; then
106780 glibcxx_cv_func___builtin_cosf_use=yes
106782 echo "$as_me: failed program was:" >&5
106783 sed 's/^/| /' conftest.$ac_ext >&5
106785 glibcxx_cv_func___builtin_cosf_use=no
106787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106788 ac_ext=c
106789 ac_cpp='$CPP $CPPFLAGS'
106790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106798 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
106799 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
106800 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
106801 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
106802 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
106803 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
106804 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
106805 echo $ECHO_N "(cached) $ECHO_C" >&6
106808 if test x$gcc_no_link = xyes; then
106809 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106810 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106811 { (exit 1); exit 1; }; }
106813 cat >conftest.$ac_ext <<_ACEOF
106814 /* confdefs.h. */
106815 _ACEOF
106816 cat confdefs.h >>conftest.$ac_ext
106817 cat >>conftest.$ac_ext <<_ACEOF
106818 /* end confdefs.h. */
106819 #include <math.h>
106821 main ()
106823 __builtin_cosf(0);
106825 return 0;
106827 _ACEOF
106828 rm -f conftest.$ac_objext conftest$ac_exeext
106829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106830 (eval $ac_link) 2>conftest.er1
106831 ac_status=$?
106832 grep -v '^ *+' conftest.er1 >conftest.err
106833 rm -f conftest.er1
106834 cat conftest.err >&5
106835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106836 (exit $ac_status); } &&
106837 { ac_try='test -z "$ac_c_werror_flag"
106838 || test ! -s conftest.err'
106839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106840 (eval $ac_try) 2>&5
106841 ac_status=$?
106842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106843 (exit $ac_status); }; } &&
106844 { ac_try='test -s conftest$ac_exeext'
106845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106846 (eval $ac_try) 2>&5
106847 ac_status=$?
106848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106849 (exit $ac_status); }; }; then
106850 glibcxx_cv_func___builtin_cosf_link=yes
106852 echo "$as_me: failed program was:" >&5
106853 sed 's/^/| /' conftest.$ac_ext >&5
106855 glibcxx_cv_func___builtin_cosf_link=no
106857 rm -f conftest.err conftest.$ac_objext \
106858 conftest$ac_exeext conftest.$ac_ext
106863 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
106864 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
106866 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
106868 cat >>confdefs.h <<\_ACEOF
106869 #define HAVE___BUILTIN_COSF 1
106870 _ACEOF
106877 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
106878 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
106879 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
106880 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
106881 echo $ECHO_N "(cached) $ECHO_C" >&6
106886 ac_ext=cc
106887 ac_cpp='$CXXCPP $CPPFLAGS'
106888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106892 cat >conftest.$ac_ext <<_ACEOF
106893 /* confdefs.h. */
106894 _ACEOF
106895 cat confdefs.h >>conftest.$ac_ext
106896 cat >>conftest.$ac_ext <<_ACEOF
106897 /* end confdefs.h. */
106898 #include <math.h>
106900 main ()
106902 __builtin_cos(0);
106904 return 0;
106906 _ACEOF
106907 rm -f conftest.$ac_objext
106908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106909 (eval $ac_compile) 2>conftest.er1
106910 ac_status=$?
106911 grep -v '^ *+' conftest.er1 >conftest.err
106912 rm -f conftest.er1
106913 cat conftest.err >&5
106914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106915 (exit $ac_status); } &&
106916 { ac_try='test -z "$ac_cxx_werror_flag"
106917 || test ! -s conftest.err'
106918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106919 (eval $ac_try) 2>&5
106920 ac_status=$?
106921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106922 (exit $ac_status); }; } &&
106923 { ac_try='test -s conftest.$ac_objext'
106924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106925 (eval $ac_try) 2>&5
106926 ac_status=$?
106927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106928 (exit $ac_status); }; }; then
106929 glibcxx_cv_func___builtin_cos_use=yes
106931 echo "$as_me: failed program was:" >&5
106932 sed 's/^/| /' conftest.$ac_ext >&5
106934 glibcxx_cv_func___builtin_cos_use=no
106936 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106937 ac_ext=c
106938 ac_cpp='$CPP $CPPFLAGS'
106939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106947 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
106948 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
106949 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
106950 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
106951 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
106952 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
106953 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
106954 echo $ECHO_N "(cached) $ECHO_C" >&6
106957 if test x$gcc_no_link = xyes; then
106958 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106959 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106960 { (exit 1); exit 1; }; }
106962 cat >conftest.$ac_ext <<_ACEOF
106963 /* confdefs.h. */
106964 _ACEOF
106965 cat confdefs.h >>conftest.$ac_ext
106966 cat >>conftest.$ac_ext <<_ACEOF
106967 /* end confdefs.h. */
106968 #include <math.h>
106970 main ()
106972 __builtin_cos(0);
106974 return 0;
106976 _ACEOF
106977 rm -f conftest.$ac_objext conftest$ac_exeext
106978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106979 (eval $ac_link) 2>conftest.er1
106980 ac_status=$?
106981 grep -v '^ *+' conftest.er1 >conftest.err
106982 rm -f conftest.er1
106983 cat conftest.err >&5
106984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106985 (exit $ac_status); } &&
106986 { ac_try='test -z "$ac_c_werror_flag"
106987 || test ! -s conftest.err'
106988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106989 (eval $ac_try) 2>&5
106990 ac_status=$?
106991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106992 (exit $ac_status); }; } &&
106993 { ac_try='test -s conftest$ac_exeext'
106994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106995 (eval $ac_try) 2>&5
106996 ac_status=$?
106997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106998 (exit $ac_status); }; }; then
106999 glibcxx_cv_func___builtin_cos_link=yes
107001 echo "$as_me: failed program was:" >&5
107002 sed 's/^/| /' conftest.$ac_ext >&5
107004 glibcxx_cv_func___builtin_cos_link=no
107006 rm -f conftest.err conftest.$ac_objext \
107007 conftest$ac_exeext conftest.$ac_ext
107012 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
107013 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
107015 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
107017 cat >>confdefs.h <<\_ACEOF
107018 #define HAVE___BUILTIN_COS 1
107019 _ACEOF
107026 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
107027 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
107028 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
107029 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
107030 echo $ECHO_N "(cached) $ECHO_C" >&6
107035 ac_ext=cc
107036 ac_cpp='$CXXCPP $CPPFLAGS'
107037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107041 cat >conftest.$ac_ext <<_ACEOF
107042 /* confdefs.h. */
107043 _ACEOF
107044 cat confdefs.h >>conftest.$ac_ext
107045 cat >>conftest.$ac_ext <<_ACEOF
107046 /* end confdefs.h. */
107047 #include <math.h>
107049 main ()
107051 __builtin_cosl(0);
107053 return 0;
107055 _ACEOF
107056 rm -f conftest.$ac_objext
107057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107058 (eval $ac_compile) 2>conftest.er1
107059 ac_status=$?
107060 grep -v '^ *+' conftest.er1 >conftest.err
107061 rm -f conftest.er1
107062 cat conftest.err >&5
107063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107064 (exit $ac_status); } &&
107065 { ac_try='test -z "$ac_cxx_werror_flag"
107066 || test ! -s conftest.err'
107067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107068 (eval $ac_try) 2>&5
107069 ac_status=$?
107070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107071 (exit $ac_status); }; } &&
107072 { ac_try='test -s conftest.$ac_objext'
107073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107074 (eval $ac_try) 2>&5
107075 ac_status=$?
107076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107077 (exit $ac_status); }; }; then
107078 glibcxx_cv_func___builtin_cosl_use=yes
107080 echo "$as_me: failed program was:" >&5
107081 sed 's/^/| /' conftest.$ac_ext >&5
107083 glibcxx_cv_func___builtin_cosl_use=no
107085 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107086 ac_ext=c
107087 ac_cpp='$CPP $CPPFLAGS'
107088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107096 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
107097 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
107098 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
107099 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
107100 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
107101 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
107102 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
107103 echo $ECHO_N "(cached) $ECHO_C" >&6
107106 if test x$gcc_no_link = xyes; then
107107 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107108 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107109 { (exit 1); exit 1; }; }
107111 cat >conftest.$ac_ext <<_ACEOF
107112 /* confdefs.h. */
107113 _ACEOF
107114 cat confdefs.h >>conftest.$ac_ext
107115 cat >>conftest.$ac_ext <<_ACEOF
107116 /* end confdefs.h. */
107117 #include <math.h>
107119 main ()
107121 __builtin_cosl(0);
107123 return 0;
107125 _ACEOF
107126 rm -f conftest.$ac_objext conftest$ac_exeext
107127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107128 (eval $ac_link) 2>conftest.er1
107129 ac_status=$?
107130 grep -v '^ *+' conftest.er1 >conftest.err
107131 rm -f conftest.er1
107132 cat conftest.err >&5
107133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107134 (exit $ac_status); } &&
107135 { ac_try='test -z "$ac_c_werror_flag"
107136 || test ! -s conftest.err'
107137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107138 (eval $ac_try) 2>&5
107139 ac_status=$?
107140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107141 (exit $ac_status); }; } &&
107142 { ac_try='test -s conftest$ac_exeext'
107143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107144 (eval $ac_try) 2>&5
107145 ac_status=$?
107146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107147 (exit $ac_status); }; }; then
107148 glibcxx_cv_func___builtin_cosl_link=yes
107150 echo "$as_me: failed program was:" >&5
107151 sed 's/^/| /' conftest.$ac_ext >&5
107153 glibcxx_cv_func___builtin_cosl_link=no
107155 rm -f conftest.err conftest.$ac_objext \
107156 conftest$ac_exeext conftest.$ac_ext
107161 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
107162 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
107164 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
107166 cat >>confdefs.h <<\_ACEOF
107167 #define HAVE___BUILTIN_COSL 1
107168 _ACEOF
107177 echo "$as_me:$LINENO: checking for main in -lm" >&5
107178 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
107179 if test "${ac_cv_lib_m_main+set}" = set; then
107180 echo $ECHO_N "(cached) $ECHO_C" >&6
107182 ac_check_lib_save_LIBS=$LIBS
107183 LIBS="-lm $LIBS"
107184 if test x$gcc_no_link = xyes; then
107185 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107186 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107187 { (exit 1); exit 1; }; }
107189 cat >conftest.$ac_ext <<_ACEOF
107190 /* confdefs.h. */
107191 _ACEOF
107192 cat confdefs.h >>conftest.$ac_ext
107193 cat >>conftest.$ac_ext <<_ACEOF
107194 /* end confdefs.h. */
107198 main ()
107200 main ();
107202 return 0;
107204 _ACEOF
107205 rm -f conftest.$ac_objext conftest$ac_exeext
107206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107207 (eval $ac_link) 2>conftest.er1
107208 ac_status=$?
107209 grep -v '^ *+' conftest.er1 >conftest.err
107210 rm -f conftest.er1
107211 cat conftest.err >&5
107212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107213 (exit $ac_status); } &&
107214 { ac_try='test -z "$ac_c_werror_flag"
107215 || test ! -s conftest.err'
107216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107217 (eval $ac_try) 2>&5
107218 ac_status=$?
107219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107220 (exit $ac_status); }; } &&
107221 { ac_try='test -s conftest$ac_exeext'
107222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107223 (eval $ac_try) 2>&5
107224 ac_status=$?
107225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107226 (exit $ac_status); }; }; then
107227 ac_cv_lib_m_main=yes
107229 echo "$as_me: failed program was:" >&5
107230 sed 's/^/| /' conftest.$ac_ext >&5
107232 ac_cv_lib_m_main=no
107234 rm -f conftest.err conftest.$ac_objext \
107235 conftest$ac_exeext conftest.$ac_ext
107236 LIBS=$ac_check_lib_save_LIBS
107238 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
107239 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
107240 if test $ac_cv_lib_m_main = yes; then
107241 cat >>confdefs.h <<_ACEOF
107242 #define HAVE_LIBM 1
107243 _ACEOF
107245 LIBS="-lm $LIBS"
107250 for ac_func in copysignf
107252 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107253 echo "$as_me:$LINENO: checking for $ac_func" >&5
107254 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107255 if eval "test \"\${$as_ac_var+set}\" = set"; then
107256 echo $ECHO_N "(cached) $ECHO_C" >&6
107258 if test x$gcc_no_link = xyes; then
107259 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107260 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107261 { (exit 1); exit 1; }; }
107263 cat >conftest.$ac_ext <<_ACEOF
107264 /* confdefs.h. */
107265 _ACEOF
107266 cat confdefs.h >>conftest.$ac_ext
107267 cat >>conftest.$ac_ext <<_ACEOF
107268 /* end confdefs.h. */
107269 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107270 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107271 #define $ac_func innocuous_$ac_func
107273 /* System header to define __stub macros and hopefully few prototypes,
107274 which can conflict with char $ac_func (); below.
107275 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107276 <limits.h> exists even on freestanding compilers. */
107278 #ifdef __STDC__
107279 # include <limits.h>
107280 #else
107281 # include <assert.h>
107282 #endif
107284 #undef $ac_func
107286 /* Override any gcc2 internal prototype to avoid an error. */
107287 #ifdef __cplusplus
107288 extern "C"
107290 #endif
107291 /* We use char because int might match the return type of a gcc2
107292 builtin and then its argument prototype would still apply. */
107293 char $ac_func ();
107294 /* The GNU C library defines this for functions which it implements
107295 to always fail with ENOSYS. Some functions are actually named
107296 something starting with __ and the normal name is an alias. */
107297 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107298 choke me
107299 #else
107300 char (*f) () = $ac_func;
107301 #endif
107302 #ifdef __cplusplus
107304 #endif
107307 main ()
107309 return f != $ac_func;
107311 return 0;
107313 _ACEOF
107314 rm -f conftest.$ac_objext conftest$ac_exeext
107315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107316 (eval $ac_link) 2>conftest.er1
107317 ac_status=$?
107318 grep -v '^ *+' conftest.er1 >conftest.err
107319 rm -f conftest.er1
107320 cat conftest.err >&5
107321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107322 (exit $ac_status); } &&
107323 { ac_try='test -z "$ac_c_werror_flag"
107324 || test ! -s conftest.err'
107325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107326 (eval $ac_try) 2>&5
107327 ac_status=$?
107328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107329 (exit $ac_status); }; } &&
107330 { ac_try='test -s conftest$ac_exeext'
107331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107332 (eval $ac_try) 2>&5
107333 ac_status=$?
107334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107335 (exit $ac_status); }; }; then
107336 eval "$as_ac_var=yes"
107338 echo "$as_me: failed program was:" >&5
107339 sed 's/^/| /' conftest.$ac_ext >&5
107341 eval "$as_ac_var=no"
107343 rm -f conftest.err conftest.$ac_objext \
107344 conftest$ac_exeext conftest.$ac_ext
107346 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107347 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107348 if test `eval echo '${'$as_ac_var'}'` = yes; then
107349 cat >>confdefs.h <<_ACEOF
107350 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107351 _ACEOF
107354 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
107360 for ac_func in __signbit
107362 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107363 echo "$as_me:$LINENO: checking for $ac_func" >&5
107364 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107365 if eval "test \"\${$as_ac_var+set}\" = set"; then
107366 echo $ECHO_N "(cached) $ECHO_C" >&6
107368 if test x$gcc_no_link = xyes; then
107369 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107370 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107371 { (exit 1); exit 1; }; }
107373 cat >conftest.$ac_ext <<_ACEOF
107374 /* confdefs.h. */
107375 _ACEOF
107376 cat confdefs.h >>conftest.$ac_ext
107377 cat >>conftest.$ac_ext <<_ACEOF
107378 /* end confdefs.h. */
107379 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107380 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107381 #define $ac_func innocuous_$ac_func
107383 /* System header to define __stub macros and hopefully few prototypes,
107384 which can conflict with char $ac_func (); below.
107385 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107386 <limits.h> exists even on freestanding compilers. */
107388 #ifdef __STDC__
107389 # include <limits.h>
107390 #else
107391 # include <assert.h>
107392 #endif
107394 #undef $ac_func
107396 /* Override any gcc2 internal prototype to avoid an error. */
107397 #ifdef __cplusplus
107398 extern "C"
107400 #endif
107401 /* We use char because int might match the return type of a gcc2
107402 builtin and then its argument prototype would still apply. */
107403 char $ac_func ();
107404 /* The GNU C library defines this for functions which it implements
107405 to always fail with ENOSYS. Some functions are actually named
107406 something starting with __ and the normal name is an alias. */
107407 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107408 choke me
107409 #else
107410 char (*f) () = $ac_func;
107411 #endif
107412 #ifdef __cplusplus
107414 #endif
107417 main ()
107419 return f != $ac_func;
107421 return 0;
107423 _ACEOF
107424 rm -f conftest.$ac_objext conftest$ac_exeext
107425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107426 (eval $ac_link) 2>conftest.er1
107427 ac_status=$?
107428 grep -v '^ *+' conftest.er1 >conftest.err
107429 rm -f conftest.er1
107430 cat conftest.err >&5
107431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107432 (exit $ac_status); } &&
107433 { ac_try='test -z "$ac_c_werror_flag"
107434 || test ! -s conftest.err'
107435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107436 (eval $ac_try) 2>&5
107437 ac_status=$?
107438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107439 (exit $ac_status); }; } &&
107440 { ac_try='test -s conftest$ac_exeext'
107441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107442 (eval $ac_try) 2>&5
107443 ac_status=$?
107444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107445 (exit $ac_status); }; }; then
107446 eval "$as_ac_var=yes"
107448 echo "$as_me: failed program was:" >&5
107449 sed 's/^/| /' conftest.$ac_ext >&5
107451 eval "$as_ac_var=no"
107453 rm -f conftest.err conftest.$ac_objext \
107454 conftest$ac_exeext conftest.$ac_ext
107456 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107457 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107458 if test `eval echo '${'$as_ac_var'}'` = yes; then
107459 cat >>confdefs.h <<_ACEOF
107460 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107461 _ACEOF
107464 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
107470 for ac_func in __signbitf
107472 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107473 echo "$as_me:$LINENO: checking for $ac_func" >&5
107474 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107475 if eval "test \"\${$as_ac_var+set}\" = set"; then
107476 echo $ECHO_N "(cached) $ECHO_C" >&6
107478 if test x$gcc_no_link = xyes; then
107479 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107480 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107481 { (exit 1); exit 1; }; }
107483 cat >conftest.$ac_ext <<_ACEOF
107484 /* confdefs.h. */
107485 _ACEOF
107486 cat confdefs.h >>conftest.$ac_ext
107487 cat >>conftest.$ac_ext <<_ACEOF
107488 /* end confdefs.h. */
107489 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107490 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107491 #define $ac_func innocuous_$ac_func
107493 /* System header to define __stub macros and hopefully few prototypes,
107494 which can conflict with char $ac_func (); below.
107495 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107496 <limits.h> exists even on freestanding compilers. */
107498 #ifdef __STDC__
107499 # include <limits.h>
107500 #else
107501 # include <assert.h>
107502 #endif
107504 #undef $ac_func
107506 /* Override any gcc2 internal prototype to avoid an error. */
107507 #ifdef __cplusplus
107508 extern "C"
107510 #endif
107511 /* We use char because int might match the return type of a gcc2
107512 builtin and then its argument prototype would still apply. */
107513 char $ac_func ();
107514 /* The GNU C library defines this for functions which it implements
107515 to always fail with ENOSYS. Some functions are actually named
107516 something starting with __ and the normal name is an alias. */
107517 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107518 choke me
107519 #else
107520 char (*f) () = $ac_func;
107521 #endif
107522 #ifdef __cplusplus
107524 #endif
107527 main ()
107529 return f != $ac_func;
107531 return 0;
107533 _ACEOF
107534 rm -f conftest.$ac_objext conftest$ac_exeext
107535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107536 (eval $ac_link) 2>conftest.er1
107537 ac_status=$?
107538 grep -v '^ *+' conftest.er1 >conftest.err
107539 rm -f conftest.er1
107540 cat conftest.err >&5
107541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107542 (exit $ac_status); } &&
107543 { ac_try='test -z "$ac_c_werror_flag"
107544 || test ! -s conftest.err'
107545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107546 (eval $ac_try) 2>&5
107547 ac_status=$?
107548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107549 (exit $ac_status); }; } &&
107550 { ac_try='test -s conftest$ac_exeext'
107551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107552 (eval $ac_try) 2>&5
107553 ac_status=$?
107554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107555 (exit $ac_status); }; }; then
107556 eval "$as_ac_var=yes"
107558 echo "$as_me: failed program was:" >&5
107559 sed 's/^/| /' conftest.$ac_ext >&5
107561 eval "$as_ac_var=no"
107563 rm -f conftest.err conftest.$ac_objext \
107564 conftest$ac_exeext conftest.$ac_ext
107566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107567 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107568 if test `eval echo '${'$as_ac_var'}'` = yes; then
107569 cat >>confdefs.h <<_ACEOF
107570 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107571 _ACEOF
107574 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
107579 if test x$ac_cv_func_copysignl = x"yes"; then
107581 for ac_func in __signbitl
107583 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107584 echo "$as_me:$LINENO: checking for $ac_func" >&5
107585 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107586 if eval "test \"\${$as_ac_var+set}\" = set"; then
107587 echo $ECHO_N "(cached) $ECHO_C" >&6
107589 if test x$gcc_no_link = xyes; then
107590 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107591 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107592 { (exit 1); exit 1; }; }
107594 cat >conftest.$ac_ext <<_ACEOF
107595 /* confdefs.h. */
107596 _ACEOF
107597 cat confdefs.h >>conftest.$ac_ext
107598 cat >>conftest.$ac_ext <<_ACEOF
107599 /* end confdefs.h. */
107600 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107601 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107602 #define $ac_func innocuous_$ac_func
107604 /* System header to define __stub macros and hopefully few prototypes,
107605 which can conflict with char $ac_func (); below.
107606 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107607 <limits.h> exists even on freestanding compilers. */
107609 #ifdef __STDC__
107610 # include <limits.h>
107611 #else
107612 # include <assert.h>
107613 #endif
107615 #undef $ac_func
107617 /* Override any gcc2 internal prototype to avoid an error. */
107618 #ifdef __cplusplus
107619 extern "C"
107621 #endif
107622 /* We use char because int might match the return type of a gcc2
107623 builtin and then its argument prototype would still apply. */
107624 char $ac_func ();
107625 /* The GNU C library defines this for functions which it implements
107626 to always fail with ENOSYS. Some functions are actually named
107627 something starting with __ and the normal name is an alias. */
107628 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107629 choke me
107630 #else
107631 char (*f) () = $ac_func;
107632 #endif
107633 #ifdef __cplusplus
107635 #endif
107638 main ()
107640 return f != $ac_func;
107642 return 0;
107644 _ACEOF
107645 rm -f conftest.$ac_objext conftest$ac_exeext
107646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107647 (eval $ac_link) 2>conftest.er1
107648 ac_status=$?
107649 grep -v '^ *+' conftest.er1 >conftest.err
107650 rm -f conftest.er1
107651 cat conftest.err >&5
107652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107653 (exit $ac_status); } &&
107654 { ac_try='test -z "$ac_c_werror_flag"
107655 || test ! -s conftest.err'
107656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107657 (eval $ac_try) 2>&5
107658 ac_status=$?
107659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107660 (exit $ac_status); }; } &&
107661 { ac_try='test -s conftest$ac_exeext'
107662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107663 (eval $ac_try) 2>&5
107664 ac_status=$?
107665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107666 (exit $ac_status); }; }; then
107667 eval "$as_ac_var=yes"
107669 echo "$as_me: failed program was:" >&5
107670 sed 's/^/| /' conftest.$ac_ext >&5
107672 eval "$as_ac_var=no"
107674 rm -f conftest.err conftest.$ac_objext \
107675 conftest$ac_exeext conftest.$ac_ext
107677 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107678 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107679 if test `eval echo '${'$as_ac_var'}'` = yes; then
107680 cat >>confdefs.h <<_ACEOF
107681 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107682 _ACEOF
107685 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
107691 # Used in libmath/Makefile.am.
107692 if test -n "$LIBMATHOBJS"; then
107693 need_libmath=yes
107698 ac_test_CXXFLAGS="${CXXFLAGS+set}"
107699 ac_save_CXXFLAGS="$CXXFLAGS"
107700 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
107703 echo "$as_me:$LINENO: checking for strtold declaration" >&5
107704 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
107705 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
107706 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
107707 echo $ECHO_N "(cached) $ECHO_C" >&6
107712 ac_ext=cc
107713 ac_cpp='$CXXCPP $CPPFLAGS'
107714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107718 cat >conftest.$ac_ext <<_ACEOF
107719 /* confdefs.h. */
107720 _ACEOF
107721 cat confdefs.h >>conftest.$ac_ext
107722 cat >>conftest.$ac_ext <<_ACEOF
107723 /* end confdefs.h. */
107724 #include <stdlib.h>
107726 main ()
107728 strtold(0, 0);
107730 return 0;
107732 _ACEOF
107733 rm -f conftest.$ac_objext
107734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107735 (eval $ac_compile) 2>conftest.er1
107736 ac_status=$?
107737 grep -v '^ *+' conftest.er1 >conftest.err
107738 rm -f conftest.er1
107739 cat conftest.err >&5
107740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107741 (exit $ac_status); } &&
107742 { ac_try='test -z "$ac_cxx_werror_flag"
107743 || test ! -s conftest.err'
107744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107745 (eval $ac_try) 2>&5
107746 ac_status=$?
107747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107748 (exit $ac_status); }; } &&
107749 { ac_try='test -s conftest.$ac_objext'
107750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107751 (eval $ac_try) 2>&5
107752 ac_status=$?
107753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107754 (exit $ac_status); }; }; then
107755 glibcxx_cv_func_strtold_use=yes
107757 echo "$as_me: failed program was:" >&5
107758 sed 's/^/| /' conftest.$ac_ext >&5
107760 glibcxx_cv_func_strtold_use=no
107762 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107763 ac_ext=c
107764 ac_cpp='$CPP $CPPFLAGS'
107765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107773 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
107774 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
107775 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
107777 for ac_func in strtold
107779 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107780 echo "$as_me:$LINENO: checking for $ac_func" >&5
107781 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107782 if eval "test \"\${$as_ac_var+set}\" = set"; then
107783 echo $ECHO_N "(cached) $ECHO_C" >&6
107785 if test x$gcc_no_link = xyes; then
107786 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107787 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107788 { (exit 1); exit 1; }; }
107790 cat >conftest.$ac_ext <<_ACEOF
107791 /* confdefs.h. */
107792 _ACEOF
107793 cat confdefs.h >>conftest.$ac_ext
107794 cat >>conftest.$ac_ext <<_ACEOF
107795 /* end confdefs.h. */
107796 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107797 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107798 #define $ac_func innocuous_$ac_func
107800 /* System header to define __stub macros and hopefully few prototypes,
107801 which can conflict with char $ac_func (); below.
107802 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107803 <limits.h> exists even on freestanding compilers. */
107805 #ifdef __STDC__
107806 # include <limits.h>
107807 #else
107808 # include <assert.h>
107809 #endif
107811 #undef $ac_func
107813 /* Override any gcc2 internal prototype to avoid an error. */
107814 #ifdef __cplusplus
107815 extern "C"
107817 #endif
107818 /* We use char because int might match the return type of a gcc2
107819 builtin and then its argument prototype would still apply. */
107820 char $ac_func ();
107821 /* The GNU C library defines this for functions which it implements
107822 to always fail with ENOSYS. Some functions are actually named
107823 something starting with __ and the normal name is an alias. */
107824 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107825 choke me
107826 #else
107827 char (*f) () = $ac_func;
107828 #endif
107829 #ifdef __cplusplus
107831 #endif
107834 main ()
107836 return f != $ac_func;
107838 return 0;
107840 _ACEOF
107841 rm -f conftest.$ac_objext conftest$ac_exeext
107842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107843 (eval $ac_link) 2>conftest.er1
107844 ac_status=$?
107845 grep -v '^ *+' conftest.er1 >conftest.err
107846 rm -f conftest.er1
107847 cat conftest.err >&5
107848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107849 (exit $ac_status); } &&
107850 { ac_try='test -z "$ac_c_werror_flag"
107851 || test ! -s conftest.err'
107852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107853 (eval $ac_try) 2>&5
107854 ac_status=$?
107855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107856 (exit $ac_status); }; } &&
107857 { ac_try='test -s conftest$ac_exeext'
107858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107859 (eval $ac_try) 2>&5
107860 ac_status=$?
107861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107862 (exit $ac_status); }; }; then
107863 eval "$as_ac_var=yes"
107865 echo "$as_me: failed program was:" >&5
107866 sed 's/^/| /' conftest.$ac_ext >&5
107868 eval "$as_ac_var=no"
107870 rm -f conftest.err conftest.$ac_objext \
107871 conftest$ac_exeext conftest.$ac_ext
107873 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107874 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107875 if test `eval echo '${'$as_ac_var'}'` = yes; then
107876 cat >>confdefs.h <<_ACEOF
107877 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107878 _ACEOF
107889 echo "$as_me:$LINENO: checking for strtof declaration" >&5
107890 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
107891 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
107892 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
107893 echo $ECHO_N "(cached) $ECHO_C" >&6
107898 ac_ext=cc
107899 ac_cpp='$CXXCPP $CPPFLAGS'
107900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107904 cat >conftest.$ac_ext <<_ACEOF
107905 /* confdefs.h. */
107906 _ACEOF
107907 cat confdefs.h >>conftest.$ac_ext
107908 cat >>conftest.$ac_ext <<_ACEOF
107909 /* end confdefs.h. */
107910 #include <stdlib.h>
107912 main ()
107914 strtof(0, 0);
107916 return 0;
107918 _ACEOF
107919 rm -f conftest.$ac_objext
107920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107921 (eval $ac_compile) 2>conftest.er1
107922 ac_status=$?
107923 grep -v '^ *+' conftest.er1 >conftest.err
107924 rm -f conftest.er1
107925 cat conftest.err >&5
107926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107927 (exit $ac_status); } &&
107928 { ac_try='test -z "$ac_cxx_werror_flag"
107929 || test ! -s conftest.err'
107930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107931 (eval $ac_try) 2>&5
107932 ac_status=$?
107933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107934 (exit $ac_status); }; } &&
107935 { ac_try='test -s conftest.$ac_objext'
107936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107937 (eval $ac_try) 2>&5
107938 ac_status=$?
107939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107940 (exit $ac_status); }; }; then
107941 glibcxx_cv_func_strtof_use=yes
107943 echo "$as_me: failed program was:" >&5
107944 sed 's/^/| /' conftest.$ac_ext >&5
107946 glibcxx_cv_func_strtof_use=no
107948 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107949 ac_ext=c
107950 ac_cpp='$CPP $CPPFLAGS'
107951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107959 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
107960 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
107961 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
107963 for ac_func in strtof
107965 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107966 echo "$as_me:$LINENO: checking for $ac_func" >&5
107967 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107968 if eval "test \"\${$as_ac_var+set}\" = set"; then
107969 echo $ECHO_N "(cached) $ECHO_C" >&6
107971 if test x$gcc_no_link = xyes; then
107972 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107973 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107974 { (exit 1); exit 1; }; }
107976 cat >conftest.$ac_ext <<_ACEOF
107977 /* confdefs.h. */
107978 _ACEOF
107979 cat confdefs.h >>conftest.$ac_ext
107980 cat >>conftest.$ac_ext <<_ACEOF
107981 /* end confdefs.h. */
107982 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107983 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107984 #define $ac_func innocuous_$ac_func
107986 /* System header to define __stub macros and hopefully few prototypes,
107987 which can conflict with char $ac_func (); below.
107988 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107989 <limits.h> exists even on freestanding compilers. */
107991 #ifdef __STDC__
107992 # include <limits.h>
107993 #else
107994 # include <assert.h>
107995 #endif
107997 #undef $ac_func
107999 /* Override any gcc2 internal prototype to avoid an error. */
108000 #ifdef __cplusplus
108001 extern "C"
108003 #endif
108004 /* We use char because int might match the return type of a gcc2
108005 builtin and then its argument prototype would still apply. */
108006 char $ac_func ();
108007 /* The GNU C library defines this for functions which it implements
108008 to always fail with ENOSYS. Some functions are actually named
108009 something starting with __ and the normal name is an alias. */
108010 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
108011 choke me
108012 #else
108013 char (*f) () = $ac_func;
108014 #endif
108015 #ifdef __cplusplus
108017 #endif
108020 main ()
108022 return f != $ac_func;
108024 return 0;
108026 _ACEOF
108027 rm -f conftest.$ac_objext conftest$ac_exeext
108028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108029 (eval $ac_link) 2>conftest.er1
108030 ac_status=$?
108031 grep -v '^ *+' conftest.er1 >conftest.err
108032 rm -f conftest.er1
108033 cat conftest.err >&5
108034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108035 (exit $ac_status); } &&
108036 { ac_try='test -z "$ac_c_werror_flag"
108037 || test ! -s conftest.err'
108038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108039 (eval $ac_try) 2>&5
108040 ac_status=$?
108041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108042 (exit $ac_status); }; } &&
108043 { ac_try='test -s conftest$ac_exeext'
108044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108045 (eval $ac_try) 2>&5
108046 ac_status=$?
108047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108048 (exit $ac_status); }; }; then
108049 eval "$as_ac_var=yes"
108051 echo "$as_me: failed program was:" >&5
108052 sed 's/^/| /' conftest.$ac_ext >&5
108054 eval "$as_ac_var=no"
108056 rm -f conftest.err conftest.$ac_objext \
108057 conftest$ac_exeext conftest.$ac_ext
108059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108060 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108061 if test `eval echo '${'$as_ac_var'}'` = yes; then
108062 cat >>confdefs.h <<_ACEOF
108063 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108064 _ACEOF
108075 CXXFLAGS="$ac_save_CXXFLAGS"
108078 # For LFS.
108079 cat >>confdefs.h <<\_ACEOF
108080 #define HAVE_INT64_T 1
108081 _ACEOF
108086 ac_ext=cc
108087 ac_cpp='$CXXCPP $CPPFLAGS'
108088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
108092 ac_save_CXXFLAGS="$CXXFLAGS"
108093 CXXFLAGS="$CXXFLAGS -fno-exceptions"
108094 echo "$as_me:$LINENO: checking for LFS support" >&5
108095 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
108096 if test "${glibcxx_cv_LFS+set}" = set; then
108097 echo $ECHO_N "(cached) $ECHO_C" >&6
108100 if test x$gcc_no_link = xyes; then
108101 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108102 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108103 { (exit 1); exit 1; }; }
108105 cat >conftest.$ac_ext <<_ACEOF
108106 /* confdefs.h. */
108107 _ACEOF
108108 cat confdefs.h >>conftest.$ac_ext
108109 cat >>conftest.$ac_ext <<_ACEOF
108110 /* end confdefs.h. */
108111 #include <unistd.h>
108112 #include <stdio.h>
108113 #include <sys/stat.h>
108116 main ()
108118 FILE* fp;
108119 fopen64("t", "w");
108120 fseeko64(fp, 0, SEEK_CUR);
108121 ftello64(fp);
108122 lseek64(1, 0, SEEK_CUR);
108123 struct stat64 buf;
108124 fstat64(1, &buf);
108126 return 0;
108128 _ACEOF
108129 rm -f conftest.$ac_objext conftest$ac_exeext
108130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108131 (eval $ac_link) 2>conftest.er1
108132 ac_status=$?
108133 grep -v '^ *+' conftest.er1 >conftest.err
108134 rm -f conftest.er1
108135 cat conftest.err >&5
108136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108137 (exit $ac_status); } &&
108138 { ac_try='test -z "$ac_cxx_werror_flag"
108139 || test ! -s conftest.err'
108140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108141 (eval $ac_try) 2>&5
108142 ac_status=$?
108143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108144 (exit $ac_status); }; } &&
108145 { ac_try='test -s conftest$ac_exeext'
108146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108147 (eval $ac_try) 2>&5
108148 ac_status=$?
108149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108150 (exit $ac_status); }; }; then
108151 glibcxx_cv_LFS=yes
108153 echo "$as_me: failed program was:" >&5
108154 sed 's/^/| /' conftest.$ac_ext >&5
108156 glibcxx_cv_LFS=no
108158 rm -f conftest.err conftest.$ac_objext \
108159 conftest$ac_exeext conftest.$ac_ext
108163 if test $glibcxx_cv_LFS = yes; then
108165 cat >>confdefs.h <<\_ACEOF
108166 #define _GLIBCXX_USE_LFS 1
108167 _ACEOF
108170 echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
108171 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
108172 CXXFLAGS="$ac_save_CXXFLAGS"
108173 ac_ext=c
108174 ac_cpp='$CPP $CPPFLAGS'
108175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
108181 # For showmanyc_helper().
108184 for ac_header in sys/ioctl.h sys/filio.h
108186 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
108187 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108188 echo "$as_me:$LINENO: checking for $ac_header" >&5
108189 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108190 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108191 echo $ECHO_N "(cached) $ECHO_C" >&6
108193 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108194 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108196 # Is the header compilable?
108197 echo "$as_me:$LINENO: checking $ac_header usability" >&5
108198 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
108199 cat >conftest.$ac_ext <<_ACEOF
108200 /* confdefs.h. */
108201 _ACEOF
108202 cat confdefs.h >>conftest.$ac_ext
108203 cat >>conftest.$ac_ext <<_ACEOF
108204 /* end confdefs.h. */
108205 $ac_includes_default
108206 #include <$ac_header>
108207 _ACEOF
108208 rm -f conftest.$ac_objext
108209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108210 (eval $ac_compile) 2>conftest.er1
108211 ac_status=$?
108212 grep -v '^ *+' conftest.er1 >conftest.err
108213 rm -f conftest.er1
108214 cat conftest.err >&5
108215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108216 (exit $ac_status); } &&
108217 { ac_try='test -z "$ac_c_werror_flag"
108218 || test ! -s conftest.err'
108219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108220 (eval $ac_try) 2>&5
108221 ac_status=$?
108222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108223 (exit $ac_status); }; } &&
108224 { ac_try='test -s conftest.$ac_objext'
108225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108226 (eval $ac_try) 2>&5
108227 ac_status=$?
108228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108229 (exit $ac_status); }; }; then
108230 ac_header_compiler=yes
108232 echo "$as_me: failed program was:" >&5
108233 sed 's/^/| /' conftest.$ac_ext >&5
108235 ac_header_compiler=no
108237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108238 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
108239 echo "${ECHO_T}$ac_header_compiler" >&6
108241 # Is the header present?
108242 echo "$as_me:$LINENO: checking $ac_header presence" >&5
108243 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
108244 cat >conftest.$ac_ext <<_ACEOF
108245 /* confdefs.h. */
108246 _ACEOF
108247 cat confdefs.h >>conftest.$ac_ext
108248 cat >>conftest.$ac_ext <<_ACEOF
108249 /* end confdefs.h. */
108250 #include <$ac_header>
108251 _ACEOF
108252 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
108253 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
108254 ac_status=$?
108255 grep -v '^ *+' conftest.er1 >conftest.err
108256 rm -f conftest.er1
108257 cat conftest.err >&5
108258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108259 (exit $ac_status); } >/dev/null; then
108260 if test -s conftest.err; then
108261 ac_cpp_err=$ac_c_preproc_warn_flag
108262 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
108264 ac_cpp_err=
108267 ac_cpp_err=yes
108269 if test -z "$ac_cpp_err"; then
108270 ac_header_preproc=yes
108272 echo "$as_me: failed program was:" >&5
108273 sed 's/^/| /' conftest.$ac_ext >&5
108275 ac_header_preproc=no
108277 rm -f conftest.err conftest.$ac_ext
108278 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
108279 echo "${ECHO_T}$ac_header_preproc" >&6
108281 # So? What about this header?
108282 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
108283 yes:no: )
108284 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
108285 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
108286 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
108287 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
108288 ac_header_preproc=yes
108290 no:yes:* )
108291 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
108292 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
108293 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
108294 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
108295 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
108296 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
108297 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
108298 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
108299 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
108300 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
108301 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
108302 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
108304 cat <<\_ASBOX
108305 ## ----------------------------------------- ##
108306 ## Report this to the package-unused lists. ##
108307 ## ----------------------------------------- ##
108308 _ASBOX
108310 sed "s/^/$as_me: WARNING: /" >&2
108313 echo "$as_me:$LINENO: checking for $ac_header" >&5
108314 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108315 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108316 echo $ECHO_N "(cached) $ECHO_C" >&6
108318 eval "$as_ac_Header=\$ac_header_preproc"
108320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108321 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108324 if test `eval echo '${'$as_ac_Header'}'` = yes; then
108325 cat >>confdefs.h <<_ACEOF
108326 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
108327 _ACEOF
108334 echo "$as_me:$LINENO: checking for poll" >&5
108335 echo $ECHO_N "checking for poll... $ECHO_C" >&6
108336 if test "${glibcxx_cv_POLL+set}" = set; then
108337 echo $ECHO_N "(cached) $ECHO_C" >&6
108340 if test x$gcc_no_link = xyes; then
108341 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108342 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108343 { (exit 1); exit 1; }; }
108345 cat >conftest.$ac_ext <<_ACEOF
108346 /* confdefs.h. */
108347 _ACEOF
108348 cat confdefs.h >>conftest.$ac_ext
108349 cat >>conftest.$ac_ext <<_ACEOF
108350 /* end confdefs.h. */
108351 #include <poll.h>
108353 main ()
108355 struct pollfd pfd[1];
108356 pfd[0].events = POLLIN;
108357 poll(pfd, 1, 0);
108359 return 0;
108361 _ACEOF
108362 rm -f conftest.$ac_objext conftest$ac_exeext
108363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108364 (eval $ac_link) 2>conftest.er1
108365 ac_status=$?
108366 grep -v '^ *+' conftest.er1 >conftest.err
108367 rm -f conftest.er1
108368 cat conftest.err >&5
108369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108370 (exit $ac_status); } &&
108371 { ac_try='test -z "$ac_c_werror_flag"
108372 || test ! -s conftest.err'
108373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108374 (eval $ac_try) 2>&5
108375 ac_status=$?
108376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108377 (exit $ac_status); }; } &&
108378 { ac_try='test -s conftest$ac_exeext'
108379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108380 (eval $ac_try) 2>&5
108381 ac_status=$?
108382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108383 (exit $ac_status); }; }; then
108384 glibcxx_cv_POLL=yes
108386 echo "$as_me: failed program was:" >&5
108387 sed 's/^/| /' conftest.$ac_ext >&5
108389 glibcxx_cv_POLL=no
108391 rm -f conftest.err conftest.$ac_objext \
108392 conftest$ac_exeext conftest.$ac_ext
108396 if test $glibcxx_cv_POLL = yes; then
108398 cat >>confdefs.h <<\_ACEOF
108399 #define HAVE_POLL 1
108400 _ACEOF
108403 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
108404 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
108407 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
108408 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
108409 if test "${glibcxx_cv_S_ISREG+set}" = set; then
108410 echo $ECHO_N "(cached) $ECHO_C" >&6
108413 if test x$gcc_no_link = xyes; then
108414 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108415 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108416 { (exit 1); exit 1; }; }
108418 cat >conftest.$ac_ext <<_ACEOF
108419 /* confdefs.h. */
108420 _ACEOF
108421 cat confdefs.h >>conftest.$ac_ext
108422 cat >>conftest.$ac_ext <<_ACEOF
108423 /* end confdefs.h. */
108424 #include <sys/stat.h>
108426 main ()
108428 struct stat buffer;
108429 fstat(0, &buffer);
108430 S_ISREG(buffer.st_mode);
108432 return 0;
108434 _ACEOF
108435 rm -f conftest.$ac_objext conftest$ac_exeext
108436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108437 (eval $ac_link) 2>conftest.er1
108438 ac_status=$?
108439 grep -v '^ *+' conftest.er1 >conftest.err
108440 rm -f conftest.er1
108441 cat conftest.err >&5
108442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108443 (exit $ac_status); } &&
108444 { ac_try='test -z "$ac_c_werror_flag"
108445 || test ! -s conftest.err'
108446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108447 (eval $ac_try) 2>&5
108448 ac_status=$?
108449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108450 (exit $ac_status); }; } &&
108451 { ac_try='test -s conftest$ac_exeext'
108452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108453 (eval $ac_try) 2>&5
108454 ac_status=$?
108455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108456 (exit $ac_status); }; }; then
108457 glibcxx_cv_S_ISREG=yes
108459 echo "$as_me: failed program was:" >&5
108460 sed 's/^/| /' conftest.$ac_ext >&5
108462 glibcxx_cv_S_ISREG=no
108464 rm -f conftest.err conftest.$ac_objext \
108465 conftest$ac_exeext conftest.$ac_ext
108469 if test "${glibcxx_cv_S_IFREG+set}" = set; then
108470 echo $ECHO_N "(cached) $ECHO_C" >&6
108473 if test x$gcc_no_link = xyes; then
108474 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108475 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108476 { (exit 1); exit 1; }; }
108478 cat >conftest.$ac_ext <<_ACEOF
108479 /* confdefs.h. */
108480 _ACEOF
108481 cat confdefs.h >>conftest.$ac_ext
108482 cat >>conftest.$ac_ext <<_ACEOF
108483 /* end confdefs.h. */
108484 #include <sys/stat.h>
108486 main ()
108488 struct stat buffer;
108489 fstat(0, &buffer);
108490 S_IFREG & buffer.st_mode;
108492 return 0;
108494 _ACEOF
108495 rm -f conftest.$ac_objext conftest$ac_exeext
108496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108497 (eval $ac_link) 2>conftest.er1
108498 ac_status=$?
108499 grep -v '^ *+' conftest.er1 >conftest.err
108500 rm -f conftest.er1
108501 cat conftest.err >&5
108502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108503 (exit $ac_status); } &&
108504 { ac_try='test -z "$ac_c_werror_flag"
108505 || test ! -s conftest.err'
108506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108507 (eval $ac_try) 2>&5
108508 ac_status=$?
108509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108510 (exit $ac_status); }; } &&
108511 { ac_try='test -s conftest$ac_exeext'
108512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108513 (eval $ac_try) 2>&5
108514 ac_status=$?
108515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108516 (exit $ac_status); }; }; then
108517 glibcxx_cv_S_IFREG=yes
108519 echo "$as_me: failed program was:" >&5
108520 sed 's/^/| /' conftest.$ac_ext >&5
108522 glibcxx_cv_S_IFREG=no
108524 rm -f conftest.err conftest.$ac_objext \
108525 conftest$ac_exeext conftest.$ac_ext
108529 res=no
108530 if test $glibcxx_cv_S_ISREG = yes; then
108532 cat >>confdefs.h <<\_ACEOF
108533 #define HAVE_S_ISREG 1
108534 _ACEOF
108536 res=S_ISREG
108537 elif test $glibcxx_cv_S_IFREG = yes; then
108539 cat >>confdefs.h <<\_ACEOF
108540 #define HAVE_S_IFREG 1
108541 _ACEOF
108543 res=S_IFREG
108545 echo "$as_me:$LINENO: result: $res" >&5
108546 echo "${ECHO_T}$res" >&6
108549 # For xsputn_2().
108551 for ac_header in sys/uio.h
108553 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
108554 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108555 echo "$as_me:$LINENO: checking for $ac_header" >&5
108556 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108557 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108558 echo $ECHO_N "(cached) $ECHO_C" >&6
108560 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108561 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108563 # Is the header compilable?
108564 echo "$as_me:$LINENO: checking $ac_header usability" >&5
108565 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
108566 cat >conftest.$ac_ext <<_ACEOF
108567 /* confdefs.h. */
108568 _ACEOF
108569 cat confdefs.h >>conftest.$ac_ext
108570 cat >>conftest.$ac_ext <<_ACEOF
108571 /* end confdefs.h. */
108572 $ac_includes_default
108573 #include <$ac_header>
108574 _ACEOF
108575 rm -f conftest.$ac_objext
108576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108577 (eval $ac_compile) 2>conftest.er1
108578 ac_status=$?
108579 grep -v '^ *+' conftest.er1 >conftest.err
108580 rm -f conftest.er1
108581 cat conftest.err >&5
108582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108583 (exit $ac_status); } &&
108584 { ac_try='test -z "$ac_c_werror_flag"
108585 || test ! -s conftest.err'
108586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108587 (eval $ac_try) 2>&5
108588 ac_status=$?
108589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108590 (exit $ac_status); }; } &&
108591 { ac_try='test -s conftest.$ac_objext'
108592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108593 (eval $ac_try) 2>&5
108594 ac_status=$?
108595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108596 (exit $ac_status); }; }; then
108597 ac_header_compiler=yes
108599 echo "$as_me: failed program was:" >&5
108600 sed 's/^/| /' conftest.$ac_ext >&5
108602 ac_header_compiler=no
108604 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108605 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
108606 echo "${ECHO_T}$ac_header_compiler" >&6
108608 # Is the header present?
108609 echo "$as_me:$LINENO: checking $ac_header presence" >&5
108610 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
108611 cat >conftest.$ac_ext <<_ACEOF
108612 /* confdefs.h. */
108613 _ACEOF
108614 cat confdefs.h >>conftest.$ac_ext
108615 cat >>conftest.$ac_ext <<_ACEOF
108616 /* end confdefs.h. */
108617 #include <$ac_header>
108618 _ACEOF
108619 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
108620 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
108621 ac_status=$?
108622 grep -v '^ *+' conftest.er1 >conftest.err
108623 rm -f conftest.er1
108624 cat conftest.err >&5
108625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108626 (exit $ac_status); } >/dev/null; then
108627 if test -s conftest.err; then
108628 ac_cpp_err=$ac_c_preproc_warn_flag
108629 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
108631 ac_cpp_err=
108634 ac_cpp_err=yes
108636 if test -z "$ac_cpp_err"; then
108637 ac_header_preproc=yes
108639 echo "$as_me: failed program was:" >&5
108640 sed 's/^/| /' conftest.$ac_ext >&5
108642 ac_header_preproc=no
108644 rm -f conftest.err conftest.$ac_ext
108645 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
108646 echo "${ECHO_T}$ac_header_preproc" >&6
108648 # So? What about this header?
108649 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
108650 yes:no: )
108651 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
108652 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
108653 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
108654 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
108655 ac_header_preproc=yes
108657 no:yes:* )
108658 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
108659 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
108660 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
108661 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
108662 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
108663 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
108664 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
108665 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
108666 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
108667 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
108668 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
108669 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
108671 cat <<\_ASBOX
108672 ## ----------------------------------------- ##
108673 ## Report this to the package-unused lists. ##
108674 ## ----------------------------------------- ##
108675 _ASBOX
108677 sed "s/^/$as_me: WARNING: /" >&2
108680 echo "$as_me:$LINENO: checking for $ac_header" >&5
108681 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108682 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108683 echo $ECHO_N "(cached) $ECHO_C" >&6
108685 eval "$as_ac_Header=\$ac_header_preproc"
108687 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108688 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108691 if test `eval echo '${'$as_ac_Header'}'` = yes; then
108692 cat >>confdefs.h <<_ACEOF
108693 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
108694 _ACEOF
108701 echo "$as_me:$LINENO: checking for writev" >&5
108702 echo $ECHO_N "checking for writev... $ECHO_C" >&6
108703 if test "${glibcxx_cv_WRITEV+set}" = set; then
108704 echo $ECHO_N "(cached) $ECHO_C" >&6
108707 if test x$gcc_no_link = xyes; then
108708 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108709 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108710 { (exit 1); exit 1; }; }
108712 cat >conftest.$ac_ext <<_ACEOF
108713 /* confdefs.h. */
108714 _ACEOF
108715 cat confdefs.h >>conftest.$ac_ext
108716 cat >>conftest.$ac_ext <<_ACEOF
108717 /* end confdefs.h. */
108718 #include <sys/uio.h>
108720 main ()
108722 struct iovec iov[2];
108723 writev(0, iov, 0);
108725 return 0;
108727 _ACEOF
108728 rm -f conftest.$ac_objext conftest$ac_exeext
108729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108730 (eval $ac_link) 2>conftest.er1
108731 ac_status=$?
108732 grep -v '^ *+' conftest.er1 >conftest.err
108733 rm -f conftest.er1
108734 cat conftest.err >&5
108735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108736 (exit $ac_status); } &&
108737 { ac_try='test -z "$ac_c_werror_flag"
108738 || test ! -s conftest.err'
108739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108740 (eval $ac_try) 2>&5
108741 ac_status=$?
108742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108743 (exit $ac_status); }; } &&
108744 { ac_try='test -s conftest$ac_exeext'
108745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108746 (eval $ac_try) 2>&5
108747 ac_status=$?
108748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108749 (exit $ac_status); }; }; then
108750 glibcxx_cv_WRITEV=yes
108752 echo "$as_me: failed program was:" >&5
108753 sed 's/^/| /' conftest.$ac_ext >&5
108755 glibcxx_cv_WRITEV=no
108757 rm -f conftest.err conftest.$ac_objext \
108758 conftest$ac_exeext conftest.$ac_ext
108762 if test $glibcxx_cv_WRITEV = yes; then
108764 cat >>confdefs.h <<\_ACEOF
108765 #define HAVE_WRITEV 1
108766 _ACEOF
108769 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
108770 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
108773 # For C99 support to TR1.
108778 ac_ext=cc
108779 ac_cpp='$CXXCPP $CPPFLAGS'
108780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
108785 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
108786 # undefined and fake C99 facilities may be spuriously enabled.
108787 ac_save_CXXFLAGS="$CXXFLAGS"
108788 CXXFLAGS="$CXXFLAGS -std=c++98"
108790 # Check for the existence of <complex.h> complex math functions used
108791 # by tr1/complex.
108793 for ac_header in complex.h
108795 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
108796 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108797 echo "$as_me:$LINENO: checking for $ac_header" >&5
108798 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108799 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108800 echo $ECHO_N "(cached) $ECHO_C" >&6
108802 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108803 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108805 # Is the header compilable?
108806 echo "$as_me:$LINENO: checking $ac_header usability" >&5
108807 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
108808 cat >conftest.$ac_ext <<_ACEOF
108809 /* confdefs.h. */
108810 _ACEOF
108811 cat confdefs.h >>conftest.$ac_ext
108812 cat >>conftest.$ac_ext <<_ACEOF
108813 /* end confdefs.h. */
108814 $ac_includes_default
108815 #include <$ac_header>
108816 _ACEOF
108817 rm -f conftest.$ac_objext
108818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108819 (eval $ac_compile) 2>conftest.er1
108820 ac_status=$?
108821 grep -v '^ *+' conftest.er1 >conftest.err
108822 rm -f conftest.er1
108823 cat conftest.err >&5
108824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108825 (exit $ac_status); } &&
108826 { ac_try='test -z "$ac_cxx_werror_flag"
108827 || test ! -s conftest.err'
108828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108829 (eval $ac_try) 2>&5
108830 ac_status=$?
108831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108832 (exit $ac_status); }; } &&
108833 { ac_try='test -s conftest.$ac_objext'
108834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108835 (eval $ac_try) 2>&5
108836 ac_status=$?
108837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108838 (exit $ac_status); }; }; then
108839 ac_header_compiler=yes
108841 echo "$as_me: failed program was:" >&5
108842 sed 's/^/| /' conftest.$ac_ext >&5
108844 ac_header_compiler=no
108846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108847 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
108848 echo "${ECHO_T}$ac_header_compiler" >&6
108850 # Is the header present?
108851 echo "$as_me:$LINENO: checking $ac_header presence" >&5
108852 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
108853 cat >conftest.$ac_ext <<_ACEOF
108854 /* confdefs.h. */
108855 _ACEOF
108856 cat confdefs.h >>conftest.$ac_ext
108857 cat >>conftest.$ac_ext <<_ACEOF
108858 /* end confdefs.h. */
108859 #include <$ac_header>
108860 _ACEOF
108861 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
108862 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
108863 ac_status=$?
108864 grep -v '^ *+' conftest.er1 >conftest.err
108865 rm -f conftest.er1
108866 cat conftest.err >&5
108867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108868 (exit $ac_status); } >/dev/null; then
108869 if test -s conftest.err; then
108870 ac_cpp_err=$ac_cxx_preproc_warn_flag
108871 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
108873 ac_cpp_err=
108876 ac_cpp_err=yes
108878 if test -z "$ac_cpp_err"; then
108879 ac_header_preproc=yes
108881 echo "$as_me: failed program was:" >&5
108882 sed 's/^/| /' conftest.$ac_ext >&5
108884 ac_header_preproc=no
108886 rm -f conftest.err conftest.$ac_ext
108887 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
108888 echo "${ECHO_T}$ac_header_preproc" >&6
108890 # So? What about this header?
108891 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
108892 yes:no: )
108893 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
108894 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
108895 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
108896 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
108897 ac_header_preproc=yes
108899 no:yes:* )
108900 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
108901 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
108902 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
108903 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
108904 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
108905 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
108906 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
108907 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
108908 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
108909 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
108910 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
108911 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
108913 cat <<\_ASBOX
108914 ## ----------------------------------------- ##
108915 ## Report this to the package-unused lists. ##
108916 ## ----------------------------------------- ##
108917 _ASBOX
108919 sed "s/^/$as_me: WARNING: /" >&2
108922 echo "$as_me:$LINENO: checking for $ac_header" >&5
108923 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108924 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108925 echo $ECHO_N "(cached) $ECHO_C" >&6
108927 eval "$as_ac_Header=\$ac_header_preproc"
108929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108930 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108933 if test `eval echo '${'$as_ac_Header'}'` = yes; then
108934 cat >>confdefs.h <<_ACEOF
108935 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
108936 _ACEOF
108937 ac_has_complex_h=yes
108939 ac_has_complex_h=no
108944 ac_c99_complex_tr1=no;
108945 if test x"$ac_has_complex_h" = x"yes"; then
108946 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <complex.h>" >&5
108947 echo $ECHO_N "checking for ISO C99 support to TR1 in <complex.h>... $ECHO_C" >&6
108948 cat >conftest.$ac_ext <<_ACEOF
108949 /* confdefs.h. */
108950 _ACEOF
108951 cat confdefs.h >>conftest.$ac_ext
108952 cat >>conftest.$ac_ext <<_ACEOF
108953 /* end confdefs.h. */
108954 #include <complex.h>
108956 main ()
108958 typedef __complex__ float float_type; float_type tmpf;
108959 cacosf(tmpf);
108960 casinf(tmpf);
108961 catanf(tmpf);
108962 cacoshf(tmpf);
108963 casinhf(tmpf);
108964 catanhf(tmpf);
108965 typedef __complex__ double double_type; double_type tmpd;
108966 cacos(tmpd);
108967 casin(tmpd);
108968 catan(tmpd);
108969 cacosh(tmpd);
108970 casinh(tmpd);
108971 catanh(tmpd);
108972 typedef __complex__ long double ld_type; ld_type tmpld;
108973 cacosl(tmpld);
108974 casinl(tmpld);
108975 catanl(tmpld);
108976 cacoshl(tmpld);
108977 casinhl(tmpld);
108978 catanhl(tmpld);
108981 return 0;
108983 _ACEOF
108984 rm -f conftest.$ac_objext
108985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108986 (eval $ac_compile) 2>conftest.er1
108987 ac_status=$?
108988 grep -v '^ *+' conftest.er1 >conftest.err
108989 rm -f conftest.er1
108990 cat conftest.err >&5
108991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108992 (exit $ac_status); } &&
108993 { ac_try='test -z "$ac_cxx_werror_flag"
108994 || test ! -s conftest.err'
108995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108996 (eval $ac_try) 2>&5
108997 ac_status=$?
108998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108999 (exit $ac_status); }; } &&
109000 { ac_try='test -s conftest.$ac_objext'
109001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109002 (eval $ac_try) 2>&5
109003 ac_status=$?
109004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109005 (exit $ac_status); }; }; then
109006 ac_c99_complex_tr1=yes
109008 echo "$as_me: failed program was:" >&5
109009 sed 's/^/| /' conftest.$ac_ext >&5
109011 ac_c99_complex_tr1=no
109013 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109015 echo "$as_me:$LINENO: result: $ac_c99_complex_tr1" >&5
109016 echo "${ECHO_T}$ac_c99_complex_tr1" >&6
109017 if test x"$ac_c99_complex_tr1" = x"yes"; then
109019 cat >>confdefs.h <<\_ACEOF
109020 #define _GLIBCXX_USE_C99_COMPLEX_TR1 1
109021 _ACEOF
109025 # Check for the existence of <ctype.h> functions.
109026 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <ctype.h>" >&5
109027 echo $ECHO_N "checking for ISO C99 support to TR1 in <ctype.h>... $ECHO_C" >&6
109028 if test "${ac_c99_ctype_tr1+set}" = set; then
109029 echo $ECHO_N "(cached) $ECHO_C" >&6
109032 cat >conftest.$ac_ext <<_ACEOF
109033 /* confdefs.h. */
109034 _ACEOF
109035 cat confdefs.h >>conftest.$ac_ext
109036 cat >>conftest.$ac_ext <<_ACEOF
109037 /* end confdefs.h. */
109038 #include <ctype.h>
109040 main ()
109042 int ch;
109043 int ret;
109044 ret = isblank(ch);
109047 return 0;
109049 _ACEOF
109050 rm -f conftest.$ac_objext
109051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109052 (eval $ac_compile) 2>conftest.er1
109053 ac_status=$?
109054 grep -v '^ *+' conftest.er1 >conftest.err
109055 rm -f conftest.er1
109056 cat conftest.err >&5
109057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109058 (exit $ac_status); } &&
109059 { ac_try='test -z "$ac_cxx_werror_flag"
109060 || test ! -s conftest.err'
109061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109062 (eval $ac_try) 2>&5
109063 ac_status=$?
109064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109065 (exit $ac_status); }; } &&
109066 { ac_try='test -s conftest.$ac_objext'
109067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109068 (eval $ac_try) 2>&5
109069 ac_status=$?
109070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109071 (exit $ac_status); }; }; then
109072 ac_c99_ctype_tr1=yes
109074 echo "$as_me: failed program was:" >&5
109075 sed 's/^/| /' conftest.$ac_ext >&5
109077 ac_c99_ctype_tr1=no
109079 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109083 echo "$as_me:$LINENO: result: $ac_c99_ctype_tr1" >&5
109084 echo "${ECHO_T}$ac_c99_ctype_tr1" >&6
109085 if test x"$ac_c99_ctype_tr1" = x"yes"; then
109087 cat >>confdefs.h <<\_ACEOF
109088 #define _GLIBCXX_USE_C99_CTYPE_TR1 1
109089 _ACEOF
109093 # Check for the existence of <fenv.h> functions.
109095 for ac_header in fenv.h
109097 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
109098 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109099 echo "$as_me:$LINENO: checking for $ac_header" >&5
109100 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109101 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109102 echo $ECHO_N "(cached) $ECHO_C" >&6
109104 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109105 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109107 # Is the header compilable?
109108 echo "$as_me:$LINENO: checking $ac_header usability" >&5
109109 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
109110 cat >conftest.$ac_ext <<_ACEOF
109111 /* confdefs.h. */
109112 _ACEOF
109113 cat confdefs.h >>conftest.$ac_ext
109114 cat >>conftest.$ac_ext <<_ACEOF
109115 /* end confdefs.h. */
109116 $ac_includes_default
109117 #include <$ac_header>
109118 _ACEOF
109119 rm -f conftest.$ac_objext
109120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109121 (eval $ac_compile) 2>conftest.er1
109122 ac_status=$?
109123 grep -v '^ *+' conftest.er1 >conftest.err
109124 rm -f conftest.er1
109125 cat conftest.err >&5
109126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109127 (exit $ac_status); } &&
109128 { ac_try='test -z "$ac_cxx_werror_flag"
109129 || test ! -s conftest.err'
109130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109131 (eval $ac_try) 2>&5
109132 ac_status=$?
109133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109134 (exit $ac_status); }; } &&
109135 { ac_try='test -s conftest.$ac_objext'
109136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109137 (eval $ac_try) 2>&5
109138 ac_status=$?
109139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109140 (exit $ac_status); }; }; then
109141 ac_header_compiler=yes
109143 echo "$as_me: failed program was:" >&5
109144 sed 's/^/| /' conftest.$ac_ext >&5
109146 ac_header_compiler=no
109148 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109149 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
109150 echo "${ECHO_T}$ac_header_compiler" >&6
109152 # Is the header present?
109153 echo "$as_me:$LINENO: checking $ac_header presence" >&5
109154 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
109155 cat >conftest.$ac_ext <<_ACEOF
109156 /* confdefs.h. */
109157 _ACEOF
109158 cat confdefs.h >>conftest.$ac_ext
109159 cat >>conftest.$ac_ext <<_ACEOF
109160 /* end confdefs.h. */
109161 #include <$ac_header>
109162 _ACEOF
109163 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
109164 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
109165 ac_status=$?
109166 grep -v '^ *+' conftest.er1 >conftest.err
109167 rm -f conftest.er1
109168 cat conftest.err >&5
109169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109170 (exit $ac_status); } >/dev/null; then
109171 if test -s conftest.err; then
109172 ac_cpp_err=$ac_cxx_preproc_warn_flag
109173 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
109175 ac_cpp_err=
109178 ac_cpp_err=yes
109180 if test -z "$ac_cpp_err"; then
109181 ac_header_preproc=yes
109183 echo "$as_me: failed program was:" >&5
109184 sed 's/^/| /' conftest.$ac_ext >&5
109186 ac_header_preproc=no
109188 rm -f conftest.err conftest.$ac_ext
109189 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
109190 echo "${ECHO_T}$ac_header_preproc" >&6
109192 # So? What about this header?
109193 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
109194 yes:no: )
109195 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
109196 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
109197 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
109198 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
109199 ac_header_preproc=yes
109201 no:yes:* )
109202 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
109203 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
109204 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
109205 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
109206 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
109207 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
109208 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
109209 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
109210 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
109211 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
109212 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
109213 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
109215 cat <<\_ASBOX
109216 ## ----------------------------------------- ##
109217 ## Report this to the package-unused lists. ##
109218 ## ----------------------------------------- ##
109219 _ASBOX
109221 sed "s/^/$as_me: WARNING: /" >&2
109224 echo "$as_me:$LINENO: checking for $ac_header" >&5
109225 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109226 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109227 echo $ECHO_N "(cached) $ECHO_C" >&6
109229 eval "$as_ac_Header=\$ac_header_preproc"
109231 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109232 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109235 if test `eval echo '${'$as_ac_Header'}'` = yes; then
109236 cat >>confdefs.h <<_ACEOF
109237 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
109238 _ACEOF
109239 ac_has_fenv_h=yes
109241 ac_has_fenv_h=no
109246 ac_c99_fenv_tr1=no;
109247 if test x"$ac_has_fenv_h" = x"yes"; then
109248 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <fenv.h>" >&5
109249 echo $ECHO_N "checking for ISO C99 support to TR1 in <fenv.h>... $ECHO_C" >&6
109250 cat >conftest.$ac_ext <<_ACEOF
109251 /* confdefs.h. */
109252 _ACEOF
109253 cat confdefs.h >>conftest.$ac_ext
109254 cat >>conftest.$ac_ext <<_ACEOF
109255 /* end confdefs.h. */
109256 #include <fenv.h>
109258 main ()
109260 int except, mode;
109261 fexcept_t* pflag;
109262 fenv_t* penv;
109263 int ret;
109264 ret = feclearexcept(except);
109265 ret = fegetexceptflag(pflag, except);
109266 ret = feraiseexcept(except);
109267 ret = fesetexceptflag(pflag, except);
109268 ret = fetestexcept(except);
109269 ret = fegetround();
109270 ret = fesetround(mode);
109271 ret = fegetenv(penv);
109272 ret = feholdexcept(penv);
109273 ret = fesetenv(penv);
109274 ret = feupdateenv(penv);
109277 return 0;
109279 _ACEOF
109280 rm -f conftest.$ac_objext
109281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109282 (eval $ac_compile) 2>conftest.er1
109283 ac_status=$?
109284 grep -v '^ *+' conftest.er1 >conftest.err
109285 rm -f conftest.er1
109286 cat conftest.err >&5
109287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109288 (exit $ac_status); } &&
109289 { ac_try='test -z "$ac_cxx_werror_flag"
109290 || test ! -s conftest.err'
109291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109292 (eval $ac_try) 2>&5
109293 ac_status=$?
109294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109295 (exit $ac_status); }; } &&
109296 { ac_try='test -s conftest.$ac_objext'
109297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109298 (eval $ac_try) 2>&5
109299 ac_status=$?
109300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109301 (exit $ac_status); }; }; then
109302 ac_c99_fenv_tr1=yes
109304 echo "$as_me: failed program was:" >&5
109305 sed 's/^/| /' conftest.$ac_ext >&5
109307 ac_c99_fenv_tr1=no
109309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109311 echo "$as_me:$LINENO: result: $ac_c99_fenv_tr1" >&5
109312 echo "${ECHO_T}$ac_c99_fenv_tr1" >&6
109313 if test x"$ac_c99_fenv_tr1" = x"yes"; then
109315 cat >>confdefs.h <<\_ACEOF
109316 #define _GLIBCXX_USE_C99_FENV_TR1 1
109317 _ACEOF
109321 # Check for the existence of <stdint.h> types.
109322 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <stdint.h>" >&5
109323 echo $ECHO_N "checking for ISO C99 support to TR1 in <stdint.h>... $ECHO_C" >&6
109324 if test "${ac_c99_stdint_tr1+set}" = set; then
109325 echo $ECHO_N "(cached) $ECHO_C" >&6
109328 cat >conftest.$ac_ext <<_ACEOF
109329 /* confdefs.h. */
109330 _ACEOF
109331 cat confdefs.h >>conftest.$ac_ext
109332 cat >>conftest.$ac_ext <<_ACEOF
109333 /* end confdefs.h. */
109334 #include <stdint.h>
109336 main ()
109338 typedef int8_t my_int8_t;
109339 typedef int16_t my_int16_t;
109340 typedef int32_t my_int32_t;
109341 typedef int64_t my_int64_t;
109342 typedef int_fast8_t my_int_fast8_t;
109343 typedef int_fast16_t my_int_fast16_t;
109344 typedef int_fast32_t my_int_fast32_t;
109345 typedef int_fast64_t my_int_fast64_t;
109346 typedef int_least8_t my_int_least8_t;
109347 typedef int_least16_t my_int_least16_t;
109348 typedef int_least32_t my_int_least32_t;
109349 typedef int_least64_t my_int_least64_t;
109350 typedef intmax_t my_intmax_t;
109351 typedef intptr_t my_intptr_t;
109352 typedef uint8_t my_uint8_t;
109353 typedef uint16_t my_uint16_t;
109354 typedef uint32_t my_uint32_t;
109355 typedef uint64_t my_uint64_t;
109356 typedef uint_fast8_t my_uint_fast8_t;
109357 typedef uint_fast16_t my_uint_fast16_t;
109358 typedef uint_fast32_t my_uint_fast32_t;
109359 typedef uint_fast64_t my_uint_fast64_t;
109360 typedef uint_least8_t my_uint_least8_t;
109361 typedef uint_least16_t my_uint_least16_t;
109362 typedef uint_least32_t my_uint_least32_t;
109363 typedef uint_least64_t my_uint_least64_t;
109364 typedef uintmax_t my_uintmax_t;
109365 typedef uintptr_t my_uintptr_t;
109368 return 0;
109370 _ACEOF
109371 rm -f conftest.$ac_objext
109372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109373 (eval $ac_compile) 2>conftest.er1
109374 ac_status=$?
109375 grep -v '^ *+' conftest.er1 >conftest.err
109376 rm -f conftest.er1
109377 cat conftest.err >&5
109378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109379 (exit $ac_status); } &&
109380 { ac_try='test -z "$ac_cxx_werror_flag"
109381 || test ! -s conftest.err'
109382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109383 (eval $ac_try) 2>&5
109384 ac_status=$?
109385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109386 (exit $ac_status); }; } &&
109387 { ac_try='test -s conftest.$ac_objext'
109388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109389 (eval $ac_try) 2>&5
109390 ac_status=$?
109391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109392 (exit $ac_status); }; }; then
109393 ac_c99_stdint_tr1=yes
109395 echo "$as_me: failed program was:" >&5
109396 sed 's/^/| /' conftest.$ac_ext >&5
109398 ac_c99_stdint_tr1=no
109400 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109404 echo "$as_me:$LINENO: result: $ac_c99_stdint_tr1" >&5
109405 echo "${ECHO_T}$ac_c99_stdint_tr1" >&6
109406 if test x"$ac_c99_stdint_tr1" = x"yes"; then
109408 cat >>confdefs.h <<\_ACEOF
109409 #define _GLIBCXX_USE_C99_STDINT_TR1 1
109410 _ACEOF
109414 # Check for the existence of <math.h> functions.
109415 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <math.h>" >&5
109416 echo $ECHO_N "checking for ISO C99 support to TR1 in <math.h>... $ECHO_C" >&6
109417 if test "${ac_c99_math_tr1+set}" = set; then
109418 echo $ECHO_N "(cached) $ECHO_C" >&6
109421 cat >conftest.$ac_ext <<_ACEOF
109422 /* confdefs.h. */
109423 _ACEOF
109424 cat confdefs.h >>conftest.$ac_ext
109425 cat >>conftest.$ac_ext <<_ACEOF
109426 /* end confdefs.h. */
109427 #include <math.h>
109429 main ()
109431 typedef double_t my_double_t;
109432 typedef float_t my_float_t;
109433 acosh(0.0);
109434 acoshf(0.0f);
109435 acoshl(0.0l);
109436 asinh(0.0);
109437 asinhf(0.0f);
109438 asinhl(0.0l);
109439 atanh(0.0);
109440 atanhf(0.0f);
109441 atanhl(0.0l);
109442 cbrt(0.0);
109443 cbrtf(0.0f);
109444 cbrtl(0.0l);
109445 copysign(0.0, 0.0);
109446 copysignf(0.0f, 0.0f);
109447 copysignl(0.0l, 0.0l);
109448 erf(0.0);
109449 erff(0.0f);
109450 erfl(0.0l);
109451 erfc(0.0);
109452 erfcf(0.0f);
109453 erfcl(0.0l);
109454 exp2(0.0);
109455 exp2f(0.0f);
109456 exp2l(0.0l);
109457 expm1(0.0);
109458 expm1f(0.0f);
109459 expm1l(0.0l);
109460 fdim(0.0, 0.0);
109461 fdimf(0.0f, 0.0f);
109462 fdiml(0.0l, 0.0l);
109463 fma(0.0, 0.0, 0.0);
109464 fmaf(0.0f, 0.0f, 0.0f);
109465 fmal(0.0l, 0.0l, 0.0l);
109466 fmax(0.0, 0.0);
109467 fmaxf(0.0f, 0.0f);
109468 fmaxl(0.0l, 0.0l);
109469 fmin(0.0, 0.0);
109470 fminf(0.0f, 0.0f);
109471 fminl(0.0l, 0.0l);
109472 hypot(0.0, 0.0);
109473 hypotf(0.0f, 0.0f);
109474 hypotl(0.0l, 0.0l);
109475 ilogb(0.0);
109476 ilogbf(0.0f);
109477 ilogbl(0.0l);
109478 lgamma(0.0);
109479 lgammaf(0.0f);
109480 lgammal(0.0l);
109481 llrint(0.0);
109482 llrintf(0.0f);
109483 llrintl(0.0l);
109484 llround(0.0);
109485 llroundf(0.0f);
109486 llroundl(0.0l);
109487 log1p(0.0);
109488 log1pf(0.0f);
109489 log1pl(0.0l);
109490 log2(0.0);
109491 log2f(0.0f);
109492 log2l(0.0l);
109493 logb(0.0);
109494 logbf(0.0f);
109495 logbl(0.0l);
109496 lrint(0.0);
109497 lrintf(0.0f);
109498 lrintl(0.0l);
109499 lround(0.0);
109500 lroundf(0.0f);
109501 lroundl(0.0l);
109502 nan(0);
109503 nanf(0);
109504 nanl(0);
109505 nearbyint(0.0);
109506 nearbyintf(0.0f);
109507 nearbyintl(0.0l);
109508 nextafter(0.0, 0.0);
109509 nextafterf(0.0f, 0.0f);
109510 nextafterl(0.0l, 0.0l);
109511 nexttoward(0.0, 0.0);
109512 nexttowardf(0.0f, 0.0f);
109513 nexttowardl(0.0l, 0.0l);
109514 remainder(0.0, 0.0);
109515 remainderf(0.0f, 0.0f);
109516 remainderl(0.0l, 0.0l);
109517 remquo(0.0, 0.0, 0);
109518 remquo(0.0f, 0.0f, 0);
109519 remquo(0.0l, 0.0l, 0);
109520 rint(0.0);
109521 rintf(0.0f);
109522 rintl(0.0l);
109523 round(0.0);
109524 roundf(0.0f);
109525 roundl(0.0l);
109526 scalbln(0.0, 0l);
109527 scalblnf(0.0f, 0l);
109528 scalblnl(0.0l, 0l);
109529 scalbn(0.0, 0);
109530 scalbnf(0.0f, 0);
109531 scalbnl(0.0l, 0);
109532 tgamma(0.0);
109533 tgammaf(0.0f);
109534 tgammal(0.0l);
109535 trunc(0.0);
109536 truncf(0.0f);
109537 truncl(0.0l);
109540 return 0;
109542 _ACEOF
109543 rm -f conftest.$ac_objext
109544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109545 (eval $ac_compile) 2>conftest.er1
109546 ac_status=$?
109547 grep -v '^ *+' conftest.er1 >conftest.err
109548 rm -f conftest.er1
109549 cat conftest.err >&5
109550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109551 (exit $ac_status); } &&
109552 { ac_try='test -z "$ac_cxx_werror_flag"
109553 || test ! -s conftest.err'
109554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109555 (eval $ac_try) 2>&5
109556 ac_status=$?
109557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109558 (exit $ac_status); }; } &&
109559 { ac_try='test -s conftest.$ac_objext'
109560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109561 (eval $ac_try) 2>&5
109562 ac_status=$?
109563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109564 (exit $ac_status); }; }; then
109565 ac_c99_math_tr1=yes
109567 echo "$as_me: failed program was:" >&5
109568 sed 's/^/| /' conftest.$ac_ext >&5
109570 ac_c99_math_tr1=no
109572 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109576 echo "$as_me:$LINENO: result: $ac_c99_math_tr1" >&5
109577 echo "${ECHO_T}$ac_c99_math_tr1" >&6
109578 if test x"$ac_c99_math_tr1" = x"yes"; then
109580 cat >>confdefs.h <<\_ACEOF
109581 #define _GLIBCXX_USE_C99_MATH_TR1 1
109582 _ACEOF
109586 # Check for the existence of <inttypes.h> functions (NB: doesn't make
109587 # sense if the previous check fails, per C99, 7.8/1).
109588 ac_c99_inttypes_tr1=no;
109589 if test x"$ac_c99_stdint_tr1" = x"yes"; then
109590 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
109591 echo $ECHO_N "checking for ISO C99 support to TR1 in <inttypes.h>... $ECHO_C" >&6
109592 cat >conftest.$ac_ext <<_ACEOF
109593 /* confdefs.h. */
109594 _ACEOF
109595 cat confdefs.h >>conftest.$ac_ext
109596 cat >>conftest.$ac_ext <<_ACEOF
109597 /* end confdefs.h. */
109598 #include <inttypes.h>
109600 main ()
109602 intmax_t i, numer, denom, base;
109603 const char* s;
109604 char** endptr;
109605 intmax_t ret = imaxabs(i);
109606 imaxdiv_t dret = imaxdiv(numer, denom);
109607 ret = strtoimax(s, endptr, base);
109608 uintmax_t uret = strtoumax(s, endptr, base);
109611 return 0;
109613 _ACEOF
109614 rm -f conftest.$ac_objext
109615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109616 (eval $ac_compile) 2>conftest.er1
109617 ac_status=$?
109618 grep -v '^ *+' conftest.er1 >conftest.err
109619 rm -f conftest.er1
109620 cat conftest.err >&5
109621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109622 (exit $ac_status); } &&
109623 { ac_try='test -z "$ac_cxx_werror_flag"
109624 || test ! -s conftest.err'
109625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109626 (eval $ac_try) 2>&5
109627 ac_status=$?
109628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109629 (exit $ac_status); }; } &&
109630 { ac_try='test -s conftest.$ac_objext'
109631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109632 (eval $ac_try) 2>&5
109633 ac_status=$?
109634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109635 (exit $ac_status); }; }; then
109636 ac_c99_inttypes_tr1=yes
109638 echo "$as_me: failed program was:" >&5
109639 sed 's/^/| /' conftest.$ac_ext >&5
109641 ac_c99_inttypes_tr1=no
109643 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109645 echo "$as_me:$LINENO: result: $ac_c99_inttypes_tr1" >&5
109646 echo "${ECHO_T}$ac_c99_inttypes_tr1" >&6
109647 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
109649 cat >>confdefs.h <<\_ACEOF
109650 #define _GLIBCXX_USE_C99_INTTYPES_TR1 1
109651 _ACEOF
109655 # Check for the existence of the <stdbool.h> header.
109657 for ac_header in stdbool.h
109659 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
109660 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109661 echo "$as_me:$LINENO: checking for $ac_header" >&5
109662 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109663 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109664 echo $ECHO_N "(cached) $ECHO_C" >&6
109666 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109667 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109669 # Is the header compilable?
109670 echo "$as_me:$LINENO: checking $ac_header usability" >&5
109671 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
109672 cat >conftest.$ac_ext <<_ACEOF
109673 /* confdefs.h. */
109674 _ACEOF
109675 cat confdefs.h >>conftest.$ac_ext
109676 cat >>conftest.$ac_ext <<_ACEOF
109677 /* end confdefs.h. */
109678 $ac_includes_default
109679 #include <$ac_header>
109680 _ACEOF
109681 rm -f conftest.$ac_objext
109682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109683 (eval $ac_compile) 2>conftest.er1
109684 ac_status=$?
109685 grep -v '^ *+' conftest.er1 >conftest.err
109686 rm -f conftest.er1
109687 cat conftest.err >&5
109688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109689 (exit $ac_status); } &&
109690 { ac_try='test -z "$ac_cxx_werror_flag"
109691 || test ! -s conftest.err'
109692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109693 (eval $ac_try) 2>&5
109694 ac_status=$?
109695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109696 (exit $ac_status); }; } &&
109697 { ac_try='test -s conftest.$ac_objext'
109698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109699 (eval $ac_try) 2>&5
109700 ac_status=$?
109701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109702 (exit $ac_status); }; }; then
109703 ac_header_compiler=yes
109705 echo "$as_me: failed program was:" >&5
109706 sed 's/^/| /' conftest.$ac_ext >&5
109708 ac_header_compiler=no
109710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109711 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
109712 echo "${ECHO_T}$ac_header_compiler" >&6
109714 # Is the header present?
109715 echo "$as_me:$LINENO: checking $ac_header presence" >&5
109716 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
109717 cat >conftest.$ac_ext <<_ACEOF
109718 /* confdefs.h. */
109719 _ACEOF
109720 cat confdefs.h >>conftest.$ac_ext
109721 cat >>conftest.$ac_ext <<_ACEOF
109722 /* end confdefs.h. */
109723 #include <$ac_header>
109724 _ACEOF
109725 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
109726 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
109727 ac_status=$?
109728 grep -v '^ *+' conftest.er1 >conftest.err
109729 rm -f conftest.er1
109730 cat conftest.err >&5
109731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109732 (exit $ac_status); } >/dev/null; then
109733 if test -s conftest.err; then
109734 ac_cpp_err=$ac_cxx_preproc_warn_flag
109735 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
109737 ac_cpp_err=
109740 ac_cpp_err=yes
109742 if test -z "$ac_cpp_err"; then
109743 ac_header_preproc=yes
109745 echo "$as_me: failed program was:" >&5
109746 sed 's/^/| /' conftest.$ac_ext >&5
109748 ac_header_preproc=no
109750 rm -f conftest.err conftest.$ac_ext
109751 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
109752 echo "${ECHO_T}$ac_header_preproc" >&6
109754 # So? What about this header?
109755 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
109756 yes:no: )
109757 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
109758 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
109759 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
109760 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
109761 ac_header_preproc=yes
109763 no:yes:* )
109764 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
109765 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
109766 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
109767 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
109768 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
109769 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
109770 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
109771 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
109772 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
109773 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
109774 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
109775 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
109777 cat <<\_ASBOX
109778 ## ----------------------------------------- ##
109779 ## Report this to the package-unused lists. ##
109780 ## ----------------------------------------- ##
109781 _ASBOX
109783 sed "s/^/$as_me: WARNING: /" >&2
109786 echo "$as_me:$LINENO: checking for $ac_header" >&5
109787 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109788 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109789 echo $ECHO_N "(cached) $ECHO_C" >&6
109791 eval "$as_ac_Header=\$ac_header_preproc"
109793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109794 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109797 if test `eval echo '${'$as_ac_Header'}'` = yes; then
109798 cat >>confdefs.h <<_ACEOF
109799 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
109800 _ACEOF
109807 CXXFLAGS="$ac_save_CXXFLAGS"
109808 ac_ext=c
109809 ac_cpp='$CPP $CPPFLAGS'
109810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
109816 # Check for sigsetjmp
109817 cat >conftest.$ac_ext <<_ACEOF
109818 /* confdefs.h. */
109819 _ACEOF
109820 cat confdefs.h >>conftest.$ac_ext
109821 cat >>conftest.$ac_ext <<_ACEOF
109822 /* end confdefs.h. */
109823 #include <setjmp.h>
109825 main ()
109827 sigjmp_buf env;
109828 while (! sigsetjmp (env, 1))
109829 siglongjmp (env, 1);
109832 return 0;
109834 _ACEOF
109835 rm -f conftest.$ac_objext
109836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109837 (eval $ac_compile) 2>conftest.er1
109838 ac_status=$?
109839 grep -v '^ *+' conftest.er1 >conftest.err
109840 rm -f conftest.er1
109841 cat conftest.err >&5
109842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109843 (exit $ac_status); } &&
109844 { ac_try='test -z "$ac_c_werror_flag"
109845 || test ! -s conftest.err'
109846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109847 (eval $ac_try) 2>&5
109848 ac_status=$?
109849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109850 (exit $ac_status); }; } &&
109851 { ac_try='test -s conftest.$ac_objext'
109852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109853 (eval $ac_try) 2>&5
109854 ac_status=$?
109855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109856 (exit $ac_status); }; }; then
109858 cat >>confdefs.h <<\_ACEOF
109859 #define HAVE_SIGSETJMP 1
109860 _ACEOF
109863 echo "$as_me: failed program was:" >&5
109864 sed 's/^/| /' conftest.$ac_ext >&5
109867 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109869 *-mingw32*)
109873 for ac_header in sys/types.h locale.h float.h
109875 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
109876 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109877 echo "$as_me:$LINENO: checking for $ac_header" >&5
109878 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109879 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109880 echo $ECHO_N "(cached) $ECHO_C" >&6
109882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109883 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109885 # Is the header compilable?
109886 echo "$as_me:$LINENO: checking $ac_header usability" >&5
109887 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
109888 cat >conftest.$ac_ext <<_ACEOF
109889 /* confdefs.h. */
109890 _ACEOF
109891 cat confdefs.h >>conftest.$ac_ext
109892 cat >>conftest.$ac_ext <<_ACEOF
109893 /* end confdefs.h. */
109894 $ac_includes_default
109895 #include <$ac_header>
109896 _ACEOF
109897 rm -f conftest.$ac_objext
109898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109899 (eval $ac_compile) 2>conftest.er1
109900 ac_status=$?
109901 grep -v '^ *+' conftest.er1 >conftest.err
109902 rm -f conftest.er1
109903 cat conftest.err >&5
109904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109905 (exit $ac_status); } &&
109906 { ac_try='test -z "$ac_c_werror_flag"
109907 || test ! -s conftest.err'
109908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109909 (eval $ac_try) 2>&5
109910 ac_status=$?
109911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109912 (exit $ac_status); }; } &&
109913 { ac_try='test -s conftest.$ac_objext'
109914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109915 (eval $ac_try) 2>&5
109916 ac_status=$?
109917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109918 (exit $ac_status); }; }; then
109919 ac_header_compiler=yes
109921 echo "$as_me: failed program was:" >&5
109922 sed 's/^/| /' conftest.$ac_ext >&5
109924 ac_header_compiler=no
109926 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109927 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
109928 echo "${ECHO_T}$ac_header_compiler" >&6
109930 # Is the header present?
109931 echo "$as_me:$LINENO: checking $ac_header presence" >&5
109932 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
109933 cat >conftest.$ac_ext <<_ACEOF
109934 /* confdefs.h. */
109935 _ACEOF
109936 cat confdefs.h >>conftest.$ac_ext
109937 cat >>conftest.$ac_ext <<_ACEOF
109938 /* end confdefs.h. */
109939 #include <$ac_header>
109940 _ACEOF
109941 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
109942 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
109943 ac_status=$?
109944 grep -v '^ *+' conftest.er1 >conftest.err
109945 rm -f conftest.er1
109946 cat conftest.err >&5
109947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109948 (exit $ac_status); } >/dev/null; then
109949 if test -s conftest.err; then
109950 ac_cpp_err=$ac_c_preproc_warn_flag
109951 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
109953 ac_cpp_err=
109956 ac_cpp_err=yes
109958 if test -z "$ac_cpp_err"; then
109959 ac_header_preproc=yes
109961 echo "$as_me: failed program was:" >&5
109962 sed 's/^/| /' conftest.$ac_ext >&5
109964 ac_header_preproc=no
109966 rm -f conftest.err conftest.$ac_ext
109967 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
109968 echo "${ECHO_T}$ac_header_preproc" >&6
109970 # So? What about this header?
109971 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
109972 yes:no: )
109973 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
109974 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
109975 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
109976 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
109977 ac_header_preproc=yes
109979 no:yes:* )
109980 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
109981 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
109982 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
109983 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
109984 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
109985 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
109986 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
109987 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
109988 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
109989 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
109990 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
109991 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
109993 cat <<\_ASBOX
109994 ## ----------------------------------------- ##
109995 ## Report this to the package-unused lists. ##
109996 ## ----------------------------------------- ##
109997 _ASBOX
109999 sed "s/^/$as_me: WARNING: /" >&2
110002 echo "$as_me:$LINENO: checking for $ac_header" >&5
110003 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
110004 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110005 echo $ECHO_N "(cached) $ECHO_C" >&6
110007 eval "$as_ac_Header=\$ac_header_preproc"
110009 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
110010 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
110013 if test `eval echo '${'$as_ac_Header'}'` = yes; then
110014 cat >>confdefs.h <<_ACEOF
110015 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
110016 _ACEOF
110022 cat >>confdefs.h <<\_ACEOF
110023 #define HAVE_STRTOF 1
110024 _ACEOF
110026 cat >>confdefs.h <<\_ACEOF
110027 #define HAVE_STRTOLD 1
110028 _ACEOF
110031 # If we're not using GNU ld, then there's no point in even trying these
110032 # tests. Check for that first. We should have already tested for gld
110033 # by now (in libtool), but require it now just to be safe...
110034 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
110035 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
110039 # The name set by libtool depends on the version of libtool. Shame on us
110040 # for depending on an impl detail, but c'est la vie. Older versions used
110041 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
110042 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
110043 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
110044 # set (hence we're using an older libtool), then set it.
110045 if test x${with_gnu_ld+set} != xset; then
110046 if test x${ac_cv_prog_gnu_ld+set} != xset; then
110047 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
110048 with_gnu_ld=no
110050 with_gnu_ld=$ac_cv_prog_gnu_ld
110054 # Start by getting the version number. I think the libtool test already
110055 # does some of this, but throws away the result.
110056 if test x"$with_gnu_ld" = x"yes"; then
110057 echo "$as_me:$LINENO: checking for ld version" >&5
110058 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
110060 ldver=`$LD --version 2>/dev/null | head -1 | \
110061 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
110063 glibcxx_gnu_ld_version=`echo $ldver | \
110064 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
110065 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
110066 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
110069 # Set --gc-sections.
110070 glibcxx_gcsections_min_ld=21602
110071 if test x"$with_gnu_ld" = x"yes" &&
110072 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
110074 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
110075 # NB: This flag only works reliably after 2.16.1. Configure tests
110076 # for this are difficult, so hard wire a value that should work.
110078 ac_test_CFLAGS="${CFLAGS+set}"
110079 ac_save_CFLAGS="$CFLAGS"
110080 CFLAGS='-Wl,--gc-sections'
110082 # Check for -Wl,--gc-sections
110083 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
110084 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
110085 if test x$gcc_no_link = xyes; then
110086 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110087 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110088 { (exit 1); exit 1; }; }
110090 cat >conftest.$ac_ext <<_ACEOF
110091 /* confdefs.h. */
110092 _ACEOF
110093 cat confdefs.h >>conftest.$ac_ext
110094 cat >>conftest.$ac_ext <<_ACEOF
110095 /* end confdefs.h. */
110096 int one(void) { return 1; }
110097 int two(void) { return 2; }
110100 main ()
110102 two();
110104 return 0;
110106 _ACEOF
110107 rm -f conftest.$ac_objext conftest$ac_exeext
110108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110109 (eval $ac_link) 2>conftest.er1
110110 ac_status=$?
110111 grep -v '^ *+' conftest.er1 >conftest.err
110112 rm -f conftest.er1
110113 cat conftest.err >&5
110114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110115 (exit $ac_status); } &&
110116 { ac_try='test -z "$ac_c_werror_flag"
110117 || test ! -s conftest.err'
110118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110119 (eval $ac_try) 2>&5
110120 ac_status=$?
110121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110122 (exit $ac_status); }; } &&
110123 { ac_try='test -s conftest$ac_exeext'
110124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110125 (eval $ac_try) 2>&5
110126 ac_status=$?
110127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110128 (exit $ac_status); }; }; then
110129 ac_gcsections=yes
110131 echo "$as_me: failed program was:" >&5
110132 sed 's/^/| /' conftest.$ac_ext >&5
110134 ac_gcsections=no
110136 rm -f conftest.err conftest.$ac_objext \
110137 conftest$ac_exeext conftest.$ac_ext
110138 if test "$ac_gcsections" = "yes"; then
110139 rm -f conftest.c
110140 touch conftest.c
110141 if $CC -c conftest.c; then
110142 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
110143 grep "Warning: gc-sections option ignored" > /dev/null; then
110144 ac_gcsections=no
110147 rm -f conftest.c conftest.o conftest
110149 if test "$ac_gcsections" = "yes"; then
110150 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
110152 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
110153 echo "${ECHO_T}$ac_gcsections" >&6
110155 if test "$ac_test_CFLAGS" = set; then
110156 CFLAGS="$ac_save_CFLAGS"
110158 # this is the suspicious part
110159 CFLAGS=''
110163 # Set -z,relro.
110164 # Note this is only for shared objects.
110165 ac_ld_relro=no
110166 if test x"$with_gnu_ld" = x"yes"; then
110167 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
110168 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
110169 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
110170 if test -n "$cxx_z_relo"; then
110171 OPT_LDFLAGS="-Wl,-z,relro"
110172 ac_ld_relro=yes
110174 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
110175 echo "${ECHO_T}$ac_ld_relro" >&6
110178 # Set linker optimization flags.
110179 if test x"$with_gnu_ld" = x"yes"; then
110180 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
110188 echo "$as_me:$LINENO: checking for main in -lm" >&5
110189 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
110190 if test "${ac_cv_lib_m_main+set}" = set; then
110191 echo $ECHO_N "(cached) $ECHO_C" >&6
110193 ac_check_lib_save_LIBS=$LIBS
110194 LIBS="-lm $LIBS"
110195 if test x$gcc_no_link = xyes; then
110196 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110197 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110198 { (exit 1); exit 1; }; }
110200 cat >conftest.$ac_ext <<_ACEOF
110201 /* confdefs.h. */
110202 _ACEOF
110203 cat confdefs.h >>conftest.$ac_ext
110204 cat >>conftest.$ac_ext <<_ACEOF
110205 /* end confdefs.h. */
110209 main ()
110211 main ();
110213 return 0;
110215 _ACEOF
110216 rm -f conftest.$ac_objext conftest$ac_exeext
110217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110218 (eval $ac_link) 2>conftest.er1
110219 ac_status=$?
110220 grep -v '^ *+' conftest.er1 >conftest.err
110221 rm -f conftest.er1
110222 cat conftest.err >&5
110223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110224 (exit $ac_status); } &&
110225 { ac_try='test -z "$ac_c_werror_flag"
110226 || test ! -s conftest.err'
110227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110228 (eval $ac_try) 2>&5
110229 ac_status=$?
110230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110231 (exit $ac_status); }; } &&
110232 { ac_try='test -s conftest$ac_exeext'
110233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110234 (eval $ac_try) 2>&5
110235 ac_status=$?
110236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110237 (exit $ac_status); }; }; then
110238 ac_cv_lib_m_main=yes
110240 echo "$as_me: failed program was:" >&5
110241 sed 's/^/| /' conftest.$ac_ext >&5
110243 ac_cv_lib_m_main=no
110245 rm -f conftest.err conftest.$ac_objext \
110246 conftest$ac_exeext conftest.$ac_ext
110247 LIBS=$ac_check_lib_save_LIBS
110249 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
110250 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
110251 if test $ac_cv_lib_m_main = yes; then
110252 cat >>confdefs.h <<_ACEOF
110253 #define HAVE_LIBM 1
110254 _ACEOF
110256 LIBS="-lm $LIBS"
110261 for ac_func in copysignf
110263 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110264 echo "$as_me:$LINENO: checking for $ac_func" >&5
110265 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110266 if eval "test \"\${$as_ac_var+set}\" = set"; then
110267 echo $ECHO_N "(cached) $ECHO_C" >&6
110269 if test x$gcc_no_link = xyes; then
110270 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110271 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110272 { (exit 1); exit 1; }; }
110274 cat >conftest.$ac_ext <<_ACEOF
110275 /* confdefs.h. */
110276 _ACEOF
110277 cat confdefs.h >>conftest.$ac_ext
110278 cat >>conftest.$ac_ext <<_ACEOF
110279 /* end confdefs.h. */
110280 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110281 For example, HP-UX 11i <limits.h> declares gettimeofday. */
110282 #define $ac_func innocuous_$ac_func
110284 /* System header to define __stub macros and hopefully few prototypes,
110285 which can conflict with char $ac_func (); below.
110286 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110287 <limits.h> exists even on freestanding compilers. */
110289 #ifdef __STDC__
110290 # include <limits.h>
110291 #else
110292 # include <assert.h>
110293 #endif
110295 #undef $ac_func
110297 /* Override any gcc2 internal prototype to avoid an error. */
110298 #ifdef __cplusplus
110299 extern "C"
110301 #endif
110302 /* We use char because int might match the return type of a gcc2
110303 builtin and then its argument prototype would still apply. */
110304 char $ac_func ();
110305 /* The GNU C library defines this for functions which it implements
110306 to always fail with ENOSYS. Some functions are actually named
110307 something starting with __ and the normal name is an alias. */
110308 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110309 choke me
110310 #else
110311 char (*f) () = $ac_func;
110312 #endif
110313 #ifdef __cplusplus
110315 #endif
110318 main ()
110320 return f != $ac_func;
110322 return 0;
110324 _ACEOF
110325 rm -f conftest.$ac_objext conftest$ac_exeext
110326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110327 (eval $ac_link) 2>conftest.er1
110328 ac_status=$?
110329 grep -v '^ *+' conftest.er1 >conftest.err
110330 rm -f conftest.er1
110331 cat conftest.err >&5
110332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110333 (exit $ac_status); } &&
110334 { ac_try='test -z "$ac_c_werror_flag"
110335 || test ! -s conftest.err'
110336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110337 (eval $ac_try) 2>&5
110338 ac_status=$?
110339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110340 (exit $ac_status); }; } &&
110341 { ac_try='test -s conftest$ac_exeext'
110342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110343 (eval $ac_try) 2>&5
110344 ac_status=$?
110345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110346 (exit $ac_status); }; }; then
110347 eval "$as_ac_var=yes"
110349 echo "$as_me: failed program was:" >&5
110350 sed 's/^/| /' conftest.$ac_ext >&5
110352 eval "$as_ac_var=no"
110354 rm -f conftest.err conftest.$ac_objext \
110355 conftest$ac_exeext conftest.$ac_ext
110357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110358 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110359 if test `eval echo '${'$as_ac_var'}'` = yes; then
110360 cat >>confdefs.h <<_ACEOF
110361 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110362 _ACEOF
110365 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
110371 for ac_func in __signbit
110373 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110374 echo "$as_me:$LINENO: checking for $ac_func" >&5
110375 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110376 if eval "test \"\${$as_ac_var+set}\" = set"; then
110377 echo $ECHO_N "(cached) $ECHO_C" >&6
110379 if test x$gcc_no_link = xyes; then
110380 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110381 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110382 { (exit 1); exit 1; }; }
110384 cat >conftest.$ac_ext <<_ACEOF
110385 /* confdefs.h. */
110386 _ACEOF
110387 cat confdefs.h >>conftest.$ac_ext
110388 cat >>conftest.$ac_ext <<_ACEOF
110389 /* end confdefs.h. */
110390 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110391 For example, HP-UX 11i <limits.h> declares gettimeofday. */
110392 #define $ac_func innocuous_$ac_func
110394 /* System header to define __stub macros and hopefully few prototypes,
110395 which can conflict with char $ac_func (); below.
110396 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110397 <limits.h> exists even on freestanding compilers. */
110399 #ifdef __STDC__
110400 # include <limits.h>
110401 #else
110402 # include <assert.h>
110403 #endif
110405 #undef $ac_func
110407 /* Override any gcc2 internal prototype to avoid an error. */
110408 #ifdef __cplusplus
110409 extern "C"
110411 #endif
110412 /* We use char because int might match the return type of a gcc2
110413 builtin and then its argument prototype would still apply. */
110414 char $ac_func ();
110415 /* The GNU C library defines this for functions which it implements
110416 to always fail with ENOSYS. Some functions are actually named
110417 something starting with __ and the normal name is an alias. */
110418 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110419 choke me
110420 #else
110421 char (*f) () = $ac_func;
110422 #endif
110423 #ifdef __cplusplus
110425 #endif
110428 main ()
110430 return f != $ac_func;
110432 return 0;
110434 _ACEOF
110435 rm -f conftest.$ac_objext conftest$ac_exeext
110436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110437 (eval $ac_link) 2>conftest.er1
110438 ac_status=$?
110439 grep -v '^ *+' conftest.er1 >conftest.err
110440 rm -f conftest.er1
110441 cat conftest.err >&5
110442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110443 (exit $ac_status); } &&
110444 { ac_try='test -z "$ac_c_werror_flag"
110445 || test ! -s conftest.err'
110446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110447 (eval $ac_try) 2>&5
110448 ac_status=$?
110449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110450 (exit $ac_status); }; } &&
110451 { ac_try='test -s conftest$ac_exeext'
110452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110453 (eval $ac_try) 2>&5
110454 ac_status=$?
110455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110456 (exit $ac_status); }; }; then
110457 eval "$as_ac_var=yes"
110459 echo "$as_me: failed program was:" >&5
110460 sed 's/^/| /' conftest.$ac_ext >&5
110462 eval "$as_ac_var=no"
110464 rm -f conftest.err conftest.$ac_objext \
110465 conftest$ac_exeext conftest.$ac_ext
110467 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110468 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110469 if test `eval echo '${'$as_ac_var'}'` = yes; then
110470 cat >>confdefs.h <<_ACEOF
110471 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110472 _ACEOF
110475 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
110481 for ac_func in __signbitf
110483 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110484 echo "$as_me:$LINENO: checking for $ac_func" >&5
110485 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110486 if eval "test \"\${$as_ac_var+set}\" = set"; then
110487 echo $ECHO_N "(cached) $ECHO_C" >&6
110489 if test x$gcc_no_link = xyes; then
110490 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110491 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110492 { (exit 1); exit 1; }; }
110494 cat >conftest.$ac_ext <<_ACEOF
110495 /* confdefs.h. */
110496 _ACEOF
110497 cat confdefs.h >>conftest.$ac_ext
110498 cat >>conftest.$ac_ext <<_ACEOF
110499 /* end confdefs.h. */
110500 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110501 For example, HP-UX 11i <limits.h> declares gettimeofday. */
110502 #define $ac_func innocuous_$ac_func
110504 /* System header to define __stub macros and hopefully few prototypes,
110505 which can conflict with char $ac_func (); below.
110506 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110507 <limits.h> exists even on freestanding compilers. */
110509 #ifdef __STDC__
110510 # include <limits.h>
110511 #else
110512 # include <assert.h>
110513 #endif
110515 #undef $ac_func
110517 /* Override any gcc2 internal prototype to avoid an error. */
110518 #ifdef __cplusplus
110519 extern "C"
110521 #endif
110522 /* We use char because int might match the return type of a gcc2
110523 builtin and then its argument prototype would still apply. */
110524 char $ac_func ();
110525 /* The GNU C library defines this for functions which it implements
110526 to always fail with ENOSYS. Some functions are actually named
110527 something starting with __ and the normal name is an alias. */
110528 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110529 choke me
110530 #else
110531 char (*f) () = $ac_func;
110532 #endif
110533 #ifdef __cplusplus
110535 #endif
110538 main ()
110540 return f != $ac_func;
110542 return 0;
110544 _ACEOF
110545 rm -f conftest.$ac_objext conftest$ac_exeext
110546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110547 (eval $ac_link) 2>conftest.er1
110548 ac_status=$?
110549 grep -v '^ *+' conftest.er1 >conftest.err
110550 rm -f conftest.er1
110551 cat conftest.err >&5
110552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110553 (exit $ac_status); } &&
110554 { ac_try='test -z "$ac_c_werror_flag"
110555 || test ! -s conftest.err'
110556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110557 (eval $ac_try) 2>&5
110558 ac_status=$?
110559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110560 (exit $ac_status); }; } &&
110561 { ac_try='test -s conftest$ac_exeext'
110562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110563 (eval $ac_try) 2>&5
110564 ac_status=$?
110565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110566 (exit $ac_status); }; }; then
110567 eval "$as_ac_var=yes"
110569 echo "$as_me: failed program was:" >&5
110570 sed 's/^/| /' conftest.$ac_ext >&5
110572 eval "$as_ac_var=no"
110574 rm -f conftest.err conftest.$ac_objext \
110575 conftest$ac_exeext conftest.$ac_ext
110577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110578 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110579 if test `eval echo '${'$as_ac_var'}'` = yes; then
110580 cat >>confdefs.h <<_ACEOF
110581 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110582 _ACEOF
110585 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
110590 if test x$ac_cv_func_copysignl = x"yes"; then
110592 for ac_func in __signbitl
110594 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110595 echo "$as_me:$LINENO: checking for $ac_func" >&5
110596 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110597 if eval "test \"\${$as_ac_var+set}\" = set"; then
110598 echo $ECHO_N "(cached) $ECHO_C" >&6
110600 if test x$gcc_no_link = xyes; then
110601 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110602 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110603 { (exit 1); exit 1; }; }
110605 cat >conftest.$ac_ext <<_ACEOF
110606 /* confdefs.h. */
110607 _ACEOF
110608 cat confdefs.h >>conftest.$ac_ext
110609 cat >>conftest.$ac_ext <<_ACEOF
110610 /* end confdefs.h. */
110611 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110612 For example, HP-UX 11i <limits.h> declares gettimeofday. */
110613 #define $ac_func innocuous_$ac_func
110615 /* System header to define __stub macros and hopefully few prototypes,
110616 which can conflict with char $ac_func (); below.
110617 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110618 <limits.h> exists even on freestanding compilers. */
110620 #ifdef __STDC__
110621 # include <limits.h>
110622 #else
110623 # include <assert.h>
110624 #endif
110626 #undef $ac_func
110628 /* Override any gcc2 internal prototype to avoid an error. */
110629 #ifdef __cplusplus
110630 extern "C"
110632 #endif
110633 /* We use char because int might match the return type of a gcc2
110634 builtin and then its argument prototype would still apply. */
110635 char $ac_func ();
110636 /* The GNU C library defines this for functions which it implements
110637 to always fail with ENOSYS. Some functions are actually named
110638 something starting with __ and the normal name is an alias. */
110639 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110640 choke me
110641 #else
110642 char (*f) () = $ac_func;
110643 #endif
110644 #ifdef __cplusplus
110646 #endif
110649 main ()
110651 return f != $ac_func;
110653 return 0;
110655 _ACEOF
110656 rm -f conftest.$ac_objext conftest$ac_exeext
110657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110658 (eval $ac_link) 2>conftest.er1
110659 ac_status=$?
110660 grep -v '^ *+' conftest.er1 >conftest.err
110661 rm -f conftest.er1
110662 cat conftest.err >&5
110663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110664 (exit $ac_status); } &&
110665 { ac_try='test -z "$ac_c_werror_flag"
110666 || test ! -s conftest.err'
110667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110668 (eval $ac_try) 2>&5
110669 ac_status=$?
110670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110671 (exit $ac_status); }; } &&
110672 { ac_try='test -s conftest$ac_exeext'
110673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110674 (eval $ac_try) 2>&5
110675 ac_status=$?
110676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110677 (exit $ac_status); }; }; then
110678 eval "$as_ac_var=yes"
110680 echo "$as_me: failed program was:" >&5
110681 sed 's/^/| /' conftest.$ac_ext >&5
110683 eval "$as_ac_var=no"
110685 rm -f conftest.err conftest.$ac_objext \
110686 conftest$ac_exeext conftest.$ac_ext
110688 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110689 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110690 if test `eval echo '${'$as_ac_var'}'` = yes; then
110691 cat >>confdefs.h <<_ACEOF
110692 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110693 _ACEOF
110696 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
110702 # Used in libmath/Makefile.am.
110703 if test -n "$LIBMATHOBJS"; then
110704 need_libmath=yes
110709 *-netbsd*)
110722 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
110723 machine/endian.h machine/param.h sys/machine.h sys/types.h \
110724 fp.h locale.h float.h inttypes.h
110726 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
110727 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110728 echo "$as_me:$LINENO: checking for $ac_header" >&5
110729 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
110730 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110731 echo $ECHO_N "(cached) $ECHO_C" >&6
110733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
110734 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
110736 # Is the header compilable?
110737 echo "$as_me:$LINENO: checking $ac_header usability" >&5
110738 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
110739 cat >conftest.$ac_ext <<_ACEOF
110740 /* confdefs.h. */
110741 _ACEOF
110742 cat confdefs.h >>conftest.$ac_ext
110743 cat >>conftest.$ac_ext <<_ACEOF
110744 /* end confdefs.h. */
110745 $ac_includes_default
110746 #include <$ac_header>
110747 _ACEOF
110748 rm -f conftest.$ac_objext
110749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110750 (eval $ac_compile) 2>conftest.er1
110751 ac_status=$?
110752 grep -v '^ *+' conftest.er1 >conftest.err
110753 rm -f conftest.er1
110754 cat conftest.err >&5
110755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110756 (exit $ac_status); } &&
110757 { ac_try='test -z "$ac_c_werror_flag"
110758 || test ! -s conftest.err'
110759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110760 (eval $ac_try) 2>&5
110761 ac_status=$?
110762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110763 (exit $ac_status); }; } &&
110764 { ac_try='test -s conftest.$ac_objext'
110765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110766 (eval $ac_try) 2>&5
110767 ac_status=$?
110768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110769 (exit $ac_status); }; }; then
110770 ac_header_compiler=yes
110772 echo "$as_me: failed program was:" >&5
110773 sed 's/^/| /' conftest.$ac_ext >&5
110775 ac_header_compiler=no
110777 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110778 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
110779 echo "${ECHO_T}$ac_header_compiler" >&6
110781 # Is the header present?
110782 echo "$as_me:$LINENO: checking $ac_header presence" >&5
110783 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
110784 cat >conftest.$ac_ext <<_ACEOF
110785 /* confdefs.h. */
110786 _ACEOF
110787 cat confdefs.h >>conftest.$ac_ext
110788 cat >>conftest.$ac_ext <<_ACEOF
110789 /* end confdefs.h. */
110790 #include <$ac_header>
110791 _ACEOF
110792 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
110793 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
110794 ac_status=$?
110795 grep -v '^ *+' conftest.er1 >conftest.err
110796 rm -f conftest.er1
110797 cat conftest.err >&5
110798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110799 (exit $ac_status); } >/dev/null; then
110800 if test -s conftest.err; then
110801 ac_cpp_err=$ac_c_preproc_warn_flag
110802 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
110804 ac_cpp_err=
110807 ac_cpp_err=yes
110809 if test -z "$ac_cpp_err"; then
110810 ac_header_preproc=yes
110812 echo "$as_me: failed program was:" >&5
110813 sed 's/^/| /' conftest.$ac_ext >&5
110815 ac_header_preproc=no
110817 rm -f conftest.err conftest.$ac_ext
110818 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
110819 echo "${ECHO_T}$ac_header_preproc" >&6
110821 # So? What about this header?
110822 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
110823 yes:no: )
110824 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
110825 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
110826 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
110827 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
110828 ac_header_preproc=yes
110830 no:yes:* )
110831 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
110832 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
110833 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
110834 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
110835 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
110836 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
110837 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
110838 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
110839 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
110840 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
110841 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
110842 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
110844 cat <<\_ASBOX
110845 ## ----------------------------------------- ##
110846 ## Report this to the package-unused lists. ##
110847 ## ----------------------------------------- ##
110848 _ASBOX
110850 sed "s/^/$as_me: WARNING: /" >&2
110853 echo "$as_me:$LINENO: checking for $ac_header" >&5
110854 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
110855 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110856 echo $ECHO_N "(cached) $ECHO_C" >&6
110858 eval "$as_ac_Header=\$ac_header_preproc"
110860 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
110861 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
110864 if test `eval echo '${'$as_ac_Header'}'` = yes; then
110865 cat >>confdefs.h <<_ACEOF
110866 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
110867 _ACEOF
110873 SECTION_FLAGS='-ffunction-sections -fdata-sections'
110876 # If we're not using GNU ld, then there's no point in even trying these
110877 # tests. Check for that first. We should have already tested for gld
110878 # by now (in libtool), but require it now just to be safe...
110879 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
110880 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
110884 # The name set by libtool depends on the version of libtool. Shame on us
110885 # for depending on an impl detail, but c'est la vie. Older versions used
110886 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
110887 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
110888 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
110889 # set (hence we're using an older libtool), then set it.
110890 if test x${with_gnu_ld+set} != xset; then
110891 if test x${ac_cv_prog_gnu_ld+set} != xset; then
110892 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
110893 with_gnu_ld=no
110895 with_gnu_ld=$ac_cv_prog_gnu_ld
110899 # Start by getting the version number. I think the libtool test already
110900 # does some of this, but throws away the result.
110901 if test x"$with_gnu_ld" = x"yes"; then
110902 echo "$as_me:$LINENO: checking for ld version" >&5
110903 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
110905 ldver=`$LD --version 2>/dev/null | head -1 | \
110906 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
110908 glibcxx_gnu_ld_version=`echo $ldver | \
110909 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
110910 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
110911 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
110914 # Set --gc-sections.
110915 glibcxx_gcsections_min_ld=21602
110916 if test x"$with_gnu_ld" = x"yes" &&
110917 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
110919 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
110920 # NB: This flag only works reliably after 2.16.1. Configure tests
110921 # for this are difficult, so hard wire a value that should work.
110923 ac_test_CFLAGS="${CFLAGS+set}"
110924 ac_save_CFLAGS="$CFLAGS"
110925 CFLAGS='-Wl,--gc-sections'
110927 # Check for -Wl,--gc-sections
110928 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
110929 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
110930 if test x$gcc_no_link = xyes; then
110931 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110932 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110933 { (exit 1); exit 1; }; }
110935 cat >conftest.$ac_ext <<_ACEOF
110936 /* confdefs.h. */
110937 _ACEOF
110938 cat confdefs.h >>conftest.$ac_ext
110939 cat >>conftest.$ac_ext <<_ACEOF
110940 /* end confdefs.h. */
110941 int one(void) { return 1; }
110942 int two(void) { return 2; }
110945 main ()
110947 two();
110949 return 0;
110951 _ACEOF
110952 rm -f conftest.$ac_objext conftest$ac_exeext
110953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110954 (eval $ac_link) 2>conftest.er1
110955 ac_status=$?
110956 grep -v '^ *+' conftest.er1 >conftest.err
110957 rm -f conftest.er1
110958 cat conftest.err >&5
110959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110960 (exit $ac_status); } &&
110961 { ac_try='test -z "$ac_c_werror_flag"
110962 || test ! -s conftest.err'
110963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110964 (eval $ac_try) 2>&5
110965 ac_status=$?
110966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110967 (exit $ac_status); }; } &&
110968 { ac_try='test -s conftest$ac_exeext'
110969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110970 (eval $ac_try) 2>&5
110971 ac_status=$?
110972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110973 (exit $ac_status); }; }; then
110974 ac_gcsections=yes
110976 echo "$as_me: failed program was:" >&5
110977 sed 's/^/| /' conftest.$ac_ext >&5
110979 ac_gcsections=no
110981 rm -f conftest.err conftest.$ac_objext \
110982 conftest$ac_exeext conftest.$ac_ext
110983 if test "$ac_gcsections" = "yes"; then
110984 rm -f conftest.c
110985 touch conftest.c
110986 if $CC -c conftest.c; then
110987 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
110988 grep "Warning: gc-sections option ignored" > /dev/null; then
110989 ac_gcsections=no
110992 rm -f conftest.c conftest.o conftest
110994 if test "$ac_gcsections" = "yes"; then
110995 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
110997 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
110998 echo "${ECHO_T}$ac_gcsections" >&6
111000 if test "$ac_test_CFLAGS" = set; then
111001 CFLAGS="$ac_save_CFLAGS"
111003 # this is the suspicious part
111004 CFLAGS=''
111008 # Set -z,relro.
111009 # Note this is only for shared objects.
111010 ac_ld_relro=no
111011 if test x"$with_gnu_ld" = x"yes"; then
111012 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
111013 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
111014 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
111015 if test -n "$cxx_z_relo"; then
111016 OPT_LDFLAGS="-Wl,-z,relro"
111017 ac_ld_relro=yes
111019 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
111020 echo "${ECHO_T}$ac_ld_relro" >&6
111023 # Set linker optimization flags.
111024 if test x"$with_gnu_ld" = x"yes"; then
111025 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
111033 echo "$as_me:$LINENO: checking for main in -lm" >&5
111034 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
111035 if test "${ac_cv_lib_m_main+set}" = set; then
111036 echo $ECHO_N "(cached) $ECHO_C" >&6
111038 ac_check_lib_save_LIBS=$LIBS
111039 LIBS="-lm $LIBS"
111040 if test x$gcc_no_link = xyes; then
111041 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111042 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111043 { (exit 1); exit 1; }; }
111045 cat >conftest.$ac_ext <<_ACEOF
111046 /* confdefs.h. */
111047 _ACEOF
111048 cat confdefs.h >>conftest.$ac_ext
111049 cat >>conftest.$ac_ext <<_ACEOF
111050 /* end confdefs.h. */
111054 main ()
111056 main ();
111058 return 0;
111060 _ACEOF
111061 rm -f conftest.$ac_objext conftest$ac_exeext
111062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111063 (eval $ac_link) 2>conftest.er1
111064 ac_status=$?
111065 grep -v '^ *+' conftest.er1 >conftest.err
111066 rm -f conftest.er1
111067 cat conftest.err >&5
111068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111069 (exit $ac_status); } &&
111070 { ac_try='test -z "$ac_c_werror_flag"
111071 || test ! -s conftest.err'
111072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111073 (eval $ac_try) 2>&5
111074 ac_status=$?
111075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111076 (exit $ac_status); }; } &&
111077 { ac_try='test -s conftest$ac_exeext'
111078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111079 (eval $ac_try) 2>&5
111080 ac_status=$?
111081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111082 (exit $ac_status); }; }; then
111083 ac_cv_lib_m_main=yes
111085 echo "$as_me: failed program was:" >&5
111086 sed 's/^/| /' conftest.$ac_ext >&5
111088 ac_cv_lib_m_main=no
111090 rm -f conftest.err conftest.$ac_objext \
111091 conftest$ac_exeext conftest.$ac_ext
111092 LIBS=$ac_check_lib_save_LIBS
111094 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
111095 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
111096 if test $ac_cv_lib_m_main = yes; then
111097 cat >>confdefs.h <<_ACEOF
111098 #define HAVE_LIBM 1
111099 _ACEOF
111101 LIBS="-lm $LIBS"
111106 for ac_func in copysignf
111108 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111109 echo "$as_me:$LINENO: checking for $ac_func" >&5
111110 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111111 if eval "test \"\${$as_ac_var+set}\" = set"; then
111112 echo $ECHO_N "(cached) $ECHO_C" >&6
111114 if test x$gcc_no_link = xyes; then
111115 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111116 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111117 { (exit 1); exit 1; }; }
111119 cat >conftest.$ac_ext <<_ACEOF
111120 /* confdefs.h. */
111121 _ACEOF
111122 cat confdefs.h >>conftest.$ac_ext
111123 cat >>conftest.$ac_ext <<_ACEOF
111124 /* end confdefs.h. */
111125 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111126 For example, HP-UX 11i <limits.h> declares gettimeofday. */
111127 #define $ac_func innocuous_$ac_func
111129 /* System header to define __stub macros and hopefully few prototypes,
111130 which can conflict with char $ac_func (); below.
111131 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111132 <limits.h> exists even on freestanding compilers. */
111134 #ifdef __STDC__
111135 # include <limits.h>
111136 #else
111137 # include <assert.h>
111138 #endif
111140 #undef $ac_func
111142 /* Override any gcc2 internal prototype to avoid an error. */
111143 #ifdef __cplusplus
111144 extern "C"
111146 #endif
111147 /* We use char because int might match the return type of a gcc2
111148 builtin and then its argument prototype would still apply. */
111149 char $ac_func ();
111150 /* The GNU C library defines this for functions which it implements
111151 to always fail with ENOSYS. Some functions are actually named
111152 something starting with __ and the normal name is an alias. */
111153 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111154 choke me
111155 #else
111156 char (*f) () = $ac_func;
111157 #endif
111158 #ifdef __cplusplus
111160 #endif
111163 main ()
111165 return f != $ac_func;
111167 return 0;
111169 _ACEOF
111170 rm -f conftest.$ac_objext conftest$ac_exeext
111171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111172 (eval $ac_link) 2>conftest.er1
111173 ac_status=$?
111174 grep -v '^ *+' conftest.er1 >conftest.err
111175 rm -f conftest.er1
111176 cat conftest.err >&5
111177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111178 (exit $ac_status); } &&
111179 { ac_try='test -z "$ac_c_werror_flag"
111180 || test ! -s conftest.err'
111181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111182 (eval $ac_try) 2>&5
111183 ac_status=$?
111184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111185 (exit $ac_status); }; } &&
111186 { ac_try='test -s conftest$ac_exeext'
111187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111188 (eval $ac_try) 2>&5
111189 ac_status=$?
111190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111191 (exit $ac_status); }; }; then
111192 eval "$as_ac_var=yes"
111194 echo "$as_me: failed program was:" >&5
111195 sed 's/^/| /' conftest.$ac_ext >&5
111197 eval "$as_ac_var=no"
111199 rm -f conftest.err conftest.$ac_objext \
111200 conftest$ac_exeext conftest.$ac_ext
111202 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111203 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111204 if test `eval echo '${'$as_ac_var'}'` = yes; then
111205 cat >>confdefs.h <<_ACEOF
111206 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111207 _ACEOF
111210 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
111216 for ac_func in __signbit
111218 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111219 echo "$as_me:$LINENO: checking for $ac_func" >&5
111220 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111221 if eval "test \"\${$as_ac_var+set}\" = set"; then
111222 echo $ECHO_N "(cached) $ECHO_C" >&6
111224 if test x$gcc_no_link = xyes; then
111225 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111226 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111227 { (exit 1); exit 1; }; }
111229 cat >conftest.$ac_ext <<_ACEOF
111230 /* confdefs.h. */
111231 _ACEOF
111232 cat confdefs.h >>conftest.$ac_ext
111233 cat >>conftest.$ac_ext <<_ACEOF
111234 /* end confdefs.h. */
111235 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111236 For example, HP-UX 11i <limits.h> declares gettimeofday. */
111237 #define $ac_func innocuous_$ac_func
111239 /* System header to define __stub macros and hopefully few prototypes,
111240 which can conflict with char $ac_func (); below.
111241 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111242 <limits.h> exists even on freestanding compilers. */
111244 #ifdef __STDC__
111245 # include <limits.h>
111246 #else
111247 # include <assert.h>
111248 #endif
111250 #undef $ac_func
111252 /* Override any gcc2 internal prototype to avoid an error. */
111253 #ifdef __cplusplus
111254 extern "C"
111256 #endif
111257 /* We use char because int might match the return type of a gcc2
111258 builtin and then its argument prototype would still apply. */
111259 char $ac_func ();
111260 /* The GNU C library defines this for functions which it implements
111261 to always fail with ENOSYS. Some functions are actually named
111262 something starting with __ and the normal name is an alias. */
111263 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111264 choke me
111265 #else
111266 char (*f) () = $ac_func;
111267 #endif
111268 #ifdef __cplusplus
111270 #endif
111273 main ()
111275 return f != $ac_func;
111277 return 0;
111279 _ACEOF
111280 rm -f conftest.$ac_objext conftest$ac_exeext
111281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111282 (eval $ac_link) 2>conftest.er1
111283 ac_status=$?
111284 grep -v '^ *+' conftest.er1 >conftest.err
111285 rm -f conftest.er1
111286 cat conftest.err >&5
111287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111288 (exit $ac_status); } &&
111289 { ac_try='test -z "$ac_c_werror_flag"
111290 || test ! -s conftest.err'
111291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111292 (eval $ac_try) 2>&5
111293 ac_status=$?
111294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111295 (exit $ac_status); }; } &&
111296 { ac_try='test -s conftest$ac_exeext'
111297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111298 (eval $ac_try) 2>&5
111299 ac_status=$?
111300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111301 (exit $ac_status); }; }; then
111302 eval "$as_ac_var=yes"
111304 echo "$as_me: failed program was:" >&5
111305 sed 's/^/| /' conftest.$ac_ext >&5
111307 eval "$as_ac_var=no"
111309 rm -f conftest.err conftest.$ac_objext \
111310 conftest$ac_exeext conftest.$ac_ext
111312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111313 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111314 if test `eval echo '${'$as_ac_var'}'` = yes; then
111315 cat >>confdefs.h <<_ACEOF
111316 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111317 _ACEOF
111320 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
111326 for ac_func in __signbitf
111328 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111329 echo "$as_me:$LINENO: checking for $ac_func" >&5
111330 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111331 if eval "test \"\${$as_ac_var+set}\" = set"; then
111332 echo $ECHO_N "(cached) $ECHO_C" >&6
111334 if test x$gcc_no_link = xyes; then
111335 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111336 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111337 { (exit 1); exit 1; }; }
111339 cat >conftest.$ac_ext <<_ACEOF
111340 /* confdefs.h. */
111341 _ACEOF
111342 cat confdefs.h >>conftest.$ac_ext
111343 cat >>conftest.$ac_ext <<_ACEOF
111344 /* end confdefs.h. */
111345 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111346 For example, HP-UX 11i <limits.h> declares gettimeofday. */
111347 #define $ac_func innocuous_$ac_func
111349 /* System header to define __stub macros and hopefully few prototypes,
111350 which can conflict with char $ac_func (); below.
111351 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111352 <limits.h> exists even on freestanding compilers. */
111354 #ifdef __STDC__
111355 # include <limits.h>
111356 #else
111357 # include <assert.h>
111358 #endif
111360 #undef $ac_func
111362 /* Override any gcc2 internal prototype to avoid an error. */
111363 #ifdef __cplusplus
111364 extern "C"
111366 #endif
111367 /* We use char because int might match the return type of a gcc2
111368 builtin and then its argument prototype would still apply. */
111369 char $ac_func ();
111370 /* The GNU C library defines this for functions which it implements
111371 to always fail with ENOSYS. Some functions are actually named
111372 something starting with __ and the normal name is an alias. */
111373 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111374 choke me
111375 #else
111376 char (*f) () = $ac_func;
111377 #endif
111378 #ifdef __cplusplus
111380 #endif
111383 main ()
111385 return f != $ac_func;
111387 return 0;
111389 _ACEOF
111390 rm -f conftest.$ac_objext conftest$ac_exeext
111391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111392 (eval $ac_link) 2>conftest.er1
111393 ac_status=$?
111394 grep -v '^ *+' conftest.er1 >conftest.err
111395 rm -f conftest.er1
111396 cat conftest.err >&5
111397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111398 (exit $ac_status); } &&
111399 { ac_try='test -z "$ac_c_werror_flag"
111400 || test ! -s conftest.err'
111401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111402 (eval $ac_try) 2>&5
111403 ac_status=$?
111404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111405 (exit $ac_status); }; } &&
111406 { ac_try='test -s conftest$ac_exeext'
111407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111408 (eval $ac_try) 2>&5
111409 ac_status=$?
111410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111411 (exit $ac_status); }; }; then
111412 eval "$as_ac_var=yes"
111414 echo "$as_me: failed program was:" >&5
111415 sed 's/^/| /' conftest.$ac_ext >&5
111417 eval "$as_ac_var=no"
111419 rm -f conftest.err conftest.$ac_objext \
111420 conftest$ac_exeext conftest.$ac_ext
111422 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111423 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111424 if test `eval echo '${'$as_ac_var'}'` = yes; then
111425 cat >>confdefs.h <<_ACEOF
111426 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111427 _ACEOF
111430 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
111435 if test x$ac_cv_func_copysignl = x"yes"; then
111437 for ac_func in __signbitl
111439 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111440 echo "$as_me:$LINENO: checking for $ac_func" >&5
111441 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111442 if eval "test \"\${$as_ac_var+set}\" = set"; then
111443 echo $ECHO_N "(cached) $ECHO_C" >&6
111445 if test x$gcc_no_link = xyes; then
111446 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111447 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111448 { (exit 1); exit 1; }; }
111450 cat >conftest.$ac_ext <<_ACEOF
111451 /* confdefs.h. */
111452 _ACEOF
111453 cat confdefs.h >>conftest.$ac_ext
111454 cat >>conftest.$ac_ext <<_ACEOF
111455 /* end confdefs.h. */
111456 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111457 For example, HP-UX 11i <limits.h> declares gettimeofday. */
111458 #define $ac_func innocuous_$ac_func
111460 /* System header to define __stub macros and hopefully few prototypes,
111461 which can conflict with char $ac_func (); below.
111462 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111463 <limits.h> exists even on freestanding compilers. */
111465 #ifdef __STDC__
111466 # include <limits.h>
111467 #else
111468 # include <assert.h>
111469 #endif
111471 #undef $ac_func
111473 /* Override any gcc2 internal prototype to avoid an error. */
111474 #ifdef __cplusplus
111475 extern "C"
111477 #endif
111478 /* We use char because int might match the return type of a gcc2
111479 builtin and then its argument prototype would still apply. */
111480 char $ac_func ();
111481 /* The GNU C library defines this for functions which it implements
111482 to always fail with ENOSYS. Some functions are actually named
111483 something starting with __ and the normal name is an alias. */
111484 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111485 choke me
111486 #else
111487 char (*f) () = $ac_func;
111488 #endif
111489 #ifdef __cplusplus
111491 #endif
111494 main ()
111496 return f != $ac_func;
111498 return 0;
111500 _ACEOF
111501 rm -f conftest.$ac_objext conftest$ac_exeext
111502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111503 (eval $ac_link) 2>conftest.er1
111504 ac_status=$?
111505 grep -v '^ *+' conftest.er1 >conftest.err
111506 rm -f conftest.er1
111507 cat conftest.err >&5
111508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111509 (exit $ac_status); } &&
111510 { ac_try='test -z "$ac_c_werror_flag"
111511 || test ! -s conftest.err'
111512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111513 (eval $ac_try) 2>&5
111514 ac_status=$?
111515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111516 (exit $ac_status); }; } &&
111517 { ac_try='test -s conftest$ac_exeext'
111518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111519 (eval $ac_try) 2>&5
111520 ac_status=$?
111521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111522 (exit $ac_status); }; }; then
111523 eval "$as_ac_var=yes"
111525 echo "$as_me: failed program was:" >&5
111526 sed 's/^/| /' conftest.$ac_ext >&5
111528 eval "$as_ac_var=no"
111530 rm -f conftest.err conftest.$ac_objext \
111531 conftest$ac_exeext conftest.$ac_ext
111533 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111534 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111535 if test `eval echo '${'$as_ac_var'}'` = yes; then
111536 cat >>confdefs.h <<_ACEOF
111537 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111538 _ACEOF
111541 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
111547 # Used in libmath/Makefile.am.
111548 if test -n "$LIBMATHOBJS"; then
111549 need_libmath=yes
111553 cat >>confdefs.h <<\_ACEOF
111554 #define HAVE_COPYSIGN 1
111555 _ACEOF
111557 cat >>confdefs.h <<\_ACEOF
111558 #define HAVE_COPYSIGNF 1
111559 _ACEOF
111561 cat >>confdefs.h <<\_ACEOF
111562 #define HAVE_FINITEF 1
111563 _ACEOF
111565 cat >>confdefs.h <<\_ACEOF
111566 #define HAVE_FINITE 1
111567 _ACEOF
111569 cat >>confdefs.h <<\_ACEOF
111570 #define HAVE_FREXPF 1
111571 _ACEOF
111573 cat >>confdefs.h <<\_ACEOF
111574 #define HAVE_HYPOTF 1
111575 _ACEOF
111577 cat >>confdefs.h <<\_ACEOF
111578 #define HAVE_ISINF 1
111579 _ACEOF
111581 cat >>confdefs.h <<\_ACEOF
111582 #define HAVE_ISINFF 1
111583 _ACEOF
111585 cat >>confdefs.h <<\_ACEOF
111586 #define HAVE_ISNAN 1
111587 _ACEOF
111589 cat >>confdefs.h <<\_ACEOF
111590 #define HAVE_ISNANF 1
111591 _ACEOF
111593 if test x"long_double_math_on_this_cpu" = x"yes"; then
111594 cat >>confdefs.h <<\_ACEOF
111595 #define HAVE_FINITEL 1
111596 _ACEOF
111598 cat >>confdefs.h <<\_ACEOF
111599 #define HAVE_ISINFL 1
111600 _ACEOF
111602 cat >>confdefs.h <<\_ACEOF
111603 #define HAVE_ISNANL 1
111604 _ACEOF
111608 *-netware)
111617 for ac_header in nan.h ieeefp.h sys/isa_defs.h sys/machine.h \
111618 sys/types.h locale.h float.h inttypes.h
111620 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
111621 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111622 echo "$as_me:$LINENO: checking for $ac_header" >&5
111623 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
111624 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111625 echo $ECHO_N "(cached) $ECHO_C" >&6
111627 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
111628 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
111630 # Is the header compilable?
111631 echo "$as_me:$LINENO: checking $ac_header usability" >&5
111632 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
111633 cat >conftest.$ac_ext <<_ACEOF
111634 /* confdefs.h. */
111635 _ACEOF
111636 cat confdefs.h >>conftest.$ac_ext
111637 cat >>conftest.$ac_ext <<_ACEOF
111638 /* end confdefs.h. */
111639 $ac_includes_default
111640 #include <$ac_header>
111641 _ACEOF
111642 rm -f conftest.$ac_objext
111643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
111644 (eval $ac_compile) 2>conftest.er1
111645 ac_status=$?
111646 grep -v '^ *+' conftest.er1 >conftest.err
111647 rm -f conftest.er1
111648 cat conftest.err >&5
111649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111650 (exit $ac_status); } &&
111651 { ac_try='test -z "$ac_c_werror_flag"
111652 || test ! -s conftest.err'
111653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111654 (eval $ac_try) 2>&5
111655 ac_status=$?
111656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111657 (exit $ac_status); }; } &&
111658 { ac_try='test -s conftest.$ac_objext'
111659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111660 (eval $ac_try) 2>&5
111661 ac_status=$?
111662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111663 (exit $ac_status); }; }; then
111664 ac_header_compiler=yes
111666 echo "$as_me: failed program was:" >&5
111667 sed 's/^/| /' conftest.$ac_ext >&5
111669 ac_header_compiler=no
111671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
111672 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
111673 echo "${ECHO_T}$ac_header_compiler" >&6
111675 # Is the header present?
111676 echo "$as_me:$LINENO: checking $ac_header presence" >&5
111677 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
111678 cat >conftest.$ac_ext <<_ACEOF
111679 /* confdefs.h. */
111680 _ACEOF
111681 cat confdefs.h >>conftest.$ac_ext
111682 cat >>conftest.$ac_ext <<_ACEOF
111683 /* end confdefs.h. */
111684 #include <$ac_header>
111685 _ACEOF
111686 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
111687 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
111688 ac_status=$?
111689 grep -v '^ *+' conftest.er1 >conftest.err
111690 rm -f conftest.er1
111691 cat conftest.err >&5
111692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111693 (exit $ac_status); } >/dev/null; then
111694 if test -s conftest.err; then
111695 ac_cpp_err=$ac_c_preproc_warn_flag
111696 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
111698 ac_cpp_err=
111701 ac_cpp_err=yes
111703 if test -z "$ac_cpp_err"; then
111704 ac_header_preproc=yes
111706 echo "$as_me: failed program was:" >&5
111707 sed 's/^/| /' conftest.$ac_ext >&5
111709 ac_header_preproc=no
111711 rm -f conftest.err conftest.$ac_ext
111712 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
111713 echo "${ECHO_T}$ac_header_preproc" >&6
111715 # So? What about this header?
111716 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
111717 yes:no: )
111718 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
111719 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
111720 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
111721 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
111722 ac_header_preproc=yes
111724 no:yes:* )
111725 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
111726 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
111727 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
111728 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
111729 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
111730 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
111731 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
111732 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
111733 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
111734 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
111735 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
111736 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
111738 cat <<\_ASBOX
111739 ## ----------------------------------------- ##
111740 ## Report this to the package-unused lists. ##
111741 ## ----------------------------------------- ##
111742 _ASBOX
111744 sed "s/^/$as_me: WARNING: /" >&2
111747 echo "$as_me:$LINENO: checking for $ac_header" >&5
111748 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
111749 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111750 echo $ECHO_N "(cached) $ECHO_C" >&6
111752 eval "$as_ac_Header=\$ac_header_preproc"
111754 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
111755 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
111758 if test `eval echo '${'$as_ac_Header'}'` = yes; then
111759 cat >>confdefs.h <<_ACEOF
111760 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
111761 _ACEOF
111767 SECTION_FLAGS='-ffunction-sections -fdata-sections'
111770 # If we're not using GNU ld, then there's no point in even trying these
111771 # tests. Check for that first. We should have already tested for gld
111772 # by now (in libtool), but require it now just to be safe...
111773 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
111774 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
111778 # The name set by libtool depends on the version of libtool. Shame on us
111779 # for depending on an impl detail, but c'est la vie. Older versions used
111780 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
111781 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
111782 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
111783 # set (hence we're using an older libtool), then set it.
111784 if test x${with_gnu_ld+set} != xset; then
111785 if test x${ac_cv_prog_gnu_ld+set} != xset; then
111786 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
111787 with_gnu_ld=no
111789 with_gnu_ld=$ac_cv_prog_gnu_ld
111793 # Start by getting the version number. I think the libtool test already
111794 # does some of this, but throws away the result.
111795 if test x"$with_gnu_ld" = x"yes"; then
111796 echo "$as_me:$LINENO: checking for ld version" >&5
111797 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
111799 ldver=`$LD --version 2>/dev/null | head -1 | \
111800 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
111802 glibcxx_gnu_ld_version=`echo $ldver | \
111803 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
111804 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
111805 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
111808 # Set --gc-sections.
111809 glibcxx_gcsections_min_ld=21602
111810 if test x"$with_gnu_ld" = x"yes" &&
111811 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
111813 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
111814 # NB: This flag only works reliably after 2.16.1. Configure tests
111815 # for this are difficult, so hard wire a value that should work.
111817 ac_test_CFLAGS="${CFLAGS+set}"
111818 ac_save_CFLAGS="$CFLAGS"
111819 CFLAGS='-Wl,--gc-sections'
111821 # Check for -Wl,--gc-sections
111822 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
111823 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
111824 if test x$gcc_no_link = xyes; then
111825 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111826 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111827 { (exit 1); exit 1; }; }
111829 cat >conftest.$ac_ext <<_ACEOF
111830 /* confdefs.h. */
111831 _ACEOF
111832 cat confdefs.h >>conftest.$ac_ext
111833 cat >>conftest.$ac_ext <<_ACEOF
111834 /* end confdefs.h. */
111835 int one(void) { return 1; }
111836 int two(void) { return 2; }
111839 main ()
111841 two();
111843 return 0;
111845 _ACEOF
111846 rm -f conftest.$ac_objext conftest$ac_exeext
111847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111848 (eval $ac_link) 2>conftest.er1
111849 ac_status=$?
111850 grep -v '^ *+' conftest.er1 >conftest.err
111851 rm -f conftest.er1
111852 cat conftest.err >&5
111853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111854 (exit $ac_status); } &&
111855 { ac_try='test -z "$ac_c_werror_flag"
111856 || test ! -s conftest.err'
111857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111858 (eval $ac_try) 2>&5
111859 ac_status=$?
111860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111861 (exit $ac_status); }; } &&
111862 { ac_try='test -s conftest$ac_exeext'
111863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111864 (eval $ac_try) 2>&5
111865 ac_status=$?
111866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111867 (exit $ac_status); }; }; then
111868 ac_gcsections=yes
111870 echo "$as_me: failed program was:" >&5
111871 sed 's/^/| /' conftest.$ac_ext >&5
111873 ac_gcsections=no
111875 rm -f conftest.err conftest.$ac_objext \
111876 conftest$ac_exeext conftest.$ac_ext
111877 if test "$ac_gcsections" = "yes"; then
111878 rm -f conftest.c
111879 touch conftest.c
111880 if $CC -c conftest.c; then
111881 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
111882 grep "Warning: gc-sections option ignored" > /dev/null; then
111883 ac_gcsections=no
111886 rm -f conftest.c conftest.o conftest
111888 if test "$ac_gcsections" = "yes"; then
111889 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
111891 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
111892 echo "${ECHO_T}$ac_gcsections" >&6
111894 if test "$ac_test_CFLAGS" = set; then
111895 CFLAGS="$ac_save_CFLAGS"
111897 # this is the suspicious part
111898 CFLAGS=''
111902 # Set -z,relro.
111903 # Note this is only for shared objects.
111904 ac_ld_relro=no
111905 if test x"$with_gnu_ld" = x"yes"; then
111906 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
111907 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
111908 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
111909 if test -n "$cxx_z_relo"; then
111910 OPT_LDFLAGS="-Wl,-z,relro"
111911 ac_ld_relro=yes
111913 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
111914 echo "${ECHO_T}$ac_ld_relro" >&6
111917 # Set linker optimization flags.
111918 if test x"$with_gnu_ld" = x"yes"; then
111919 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
111927 echo "$as_me:$LINENO: checking for main in -lm" >&5
111928 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
111929 if test "${ac_cv_lib_m_main+set}" = set; then
111930 echo $ECHO_N "(cached) $ECHO_C" >&6
111932 ac_check_lib_save_LIBS=$LIBS
111933 LIBS="-lm $LIBS"
111934 if test x$gcc_no_link = xyes; then
111935 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111936 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111937 { (exit 1); exit 1; }; }
111939 cat >conftest.$ac_ext <<_ACEOF
111940 /* confdefs.h. */
111941 _ACEOF
111942 cat confdefs.h >>conftest.$ac_ext
111943 cat >>conftest.$ac_ext <<_ACEOF
111944 /* end confdefs.h. */
111948 main ()
111950 main ();
111952 return 0;
111954 _ACEOF
111955 rm -f conftest.$ac_objext conftest$ac_exeext
111956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111957 (eval $ac_link) 2>conftest.er1
111958 ac_status=$?
111959 grep -v '^ *+' conftest.er1 >conftest.err
111960 rm -f conftest.er1
111961 cat conftest.err >&5
111962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111963 (exit $ac_status); } &&
111964 { ac_try='test -z "$ac_c_werror_flag"
111965 || test ! -s conftest.err'
111966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111967 (eval $ac_try) 2>&5
111968 ac_status=$?
111969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111970 (exit $ac_status); }; } &&
111971 { ac_try='test -s conftest$ac_exeext'
111972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111973 (eval $ac_try) 2>&5
111974 ac_status=$?
111975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111976 (exit $ac_status); }; }; then
111977 ac_cv_lib_m_main=yes
111979 echo "$as_me: failed program was:" >&5
111980 sed 's/^/| /' conftest.$ac_ext >&5
111982 ac_cv_lib_m_main=no
111984 rm -f conftest.err conftest.$ac_objext \
111985 conftest$ac_exeext conftest.$ac_ext
111986 LIBS=$ac_check_lib_save_LIBS
111988 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
111989 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
111990 if test $ac_cv_lib_m_main = yes; then
111991 cat >>confdefs.h <<_ACEOF
111992 #define HAVE_LIBM 1
111993 _ACEOF
111995 LIBS="-lm $LIBS"
112000 for ac_func in copysignf
112002 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112003 echo "$as_me:$LINENO: checking for $ac_func" >&5
112004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112005 if eval "test \"\${$as_ac_var+set}\" = set"; then
112006 echo $ECHO_N "(cached) $ECHO_C" >&6
112008 if test x$gcc_no_link = xyes; then
112009 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112010 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112011 { (exit 1); exit 1; }; }
112013 cat >conftest.$ac_ext <<_ACEOF
112014 /* confdefs.h. */
112015 _ACEOF
112016 cat confdefs.h >>conftest.$ac_ext
112017 cat >>conftest.$ac_ext <<_ACEOF
112018 /* end confdefs.h. */
112019 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112020 For example, HP-UX 11i <limits.h> declares gettimeofday. */
112021 #define $ac_func innocuous_$ac_func
112023 /* System header to define __stub macros and hopefully few prototypes,
112024 which can conflict with char $ac_func (); below.
112025 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112026 <limits.h> exists even on freestanding compilers. */
112028 #ifdef __STDC__
112029 # include <limits.h>
112030 #else
112031 # include <assert.h>
112032 #endif
112034 #undef $ac_func
112036 /* Override any gcc2 internal prototype to avoid an error. */
112037 #ifdef __cplusplus
112038 extern "C"
112040 #endif
112041 /* We use char because int might match the return type of a gcc2
112042 builtin and then its argument prototype would still apply. */
112043 char $ac_func ();
112044 /* The GNU C library defines this for functions which it implements
112045 to always fail with ENOSYS. Some functions are actually named
112046 something starting with __ and the normal name is an alias. */
112047 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112048 choke me
112049 #else
112050 char (*f) () = $ac_func;
112051 #endif
112052 #ifdef __cplusplus
112054 #endif
112057 main ()
112059 return f != $ac_func;
112061 return 0;
112063 _ACEOF
112064 rm -f conftest.$ac_objext conftest$ac_exeext
112065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112066 (eval $ac_link) 2>conftest.er1
112067 ac_status=$?
112068 grep -v '^ *+' conftest.er1 >conftest.err
112069 rm -f conftest.er1
112070 cat conftest.err >&5
112071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112072 (exit $ac_status); } &&
112073 { ac_try='test -z "$ac_c_werror_flag"
112074 || test ! -s conftest.err'
112075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112076 (eval $ac_try) 2>&5
112077 ac_status=$?
112078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112079 (exit $ac_status); }; } &&
112080 { ac_try='test -s conftest$ac_exeext'
112081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112082 (eval $ac_try) 2>&5
112083 ac_status=$?
112084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112085 (exit $ac_status); }; }; then
112086 eval "$as_ac_var=yes"
112088 echo "$as_me: failed program was:" >&5
112089 sed 's/^/| /' conftest.$ac_ext >&5
112091 eval "$as_ac_var=no"
112093 rm -f conftest.err conftest.$ac_objext \
112094 conftest$ac_exeext conftest.$ac_ext
112096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112097 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112098 if test `eval echo '${'$as_ac_var'}'` = yes; then
112099 cat >>confdefs.h <<_ACEOF
112100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112101 _ACEOF
112104 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
112110 for ac_func in __signbit
112112 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112113 echo "$as_me:$LINENO: checking for $ac_func" >&5
112114 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112115 if eval "test \"\${$as_ac_var+set}\" = set"; then
112116 echo $ECHO_N "(cached) $ECHO_C" >&6
112118 if test x$gcc_no_link = xyes; then
112119 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112120 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112121 { (exit 1); exit 1; }; }
112123 cat >conftest.$ac_ext <<_ACEOF
112124 /* confdefs.h. */
112125 _ACEOF
112126 cat confdefs.h >>conftest.$ac_ext
112127 cat >>conftest.$ac_ext <<_ACEOF
112128 /* end confdefs.h. */
112129 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112130 For example, HP-UX 11i <limits.h> declares gettimeofday. */
112131 #define $ac_func innocuous_$ac_func
112133 /* System header to define __stub macros and hopefully few prototypes,
112134 which can conflict with char $ac_func (); below.
112135 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112136 <limits.h> exists even on freestanding compilers. */
112138 #ifdef __STDC__
112139 # include <limits.h>
112140 #else
112141 # include <assert.h>
112142 #endif
112144 #undef $ac_func
112146 /* Override any gcc2 internal prototype to avoid an error. */
112147 #ifdef __cplusplus
112148 extern "C"
112150 #endif
112151 /* We use char because int might match the return type of a gcc2
112152 builtin and then its argument prototype would still apply. */
112153 char $ac_func ();
112154 /* The GNU C library defines this for functions which it implements
112155 to always fail with ENOSYS. Some functions are actually named
112156 something starting with __ and the normal name is an alias. */
112157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112158 choke me
112159 #else
112160 char (*f) () = $ac_func;
112161 #endif
112162 #ifdef __cplusplus
112164 #endif
112167 main ()
112169 return f != $ac_func;
112171 return 0;
112173 _ACEOF
112174 rm -f conftest.$ac_objext conftest$ac_exeext
112175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112176 (eval $ac_link) 2>conftest.er1
112177 ac_status=$?
112178 grep -v '^ *+' conftest.er1 >conftest.err
112179 rm -f conftest.er1
112180 cat conftest.err >&5
112181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112182 (exit $ac_status); } &&
112183 { ac_try='test -z "$ac_c_werror_flag"
112184 || test ! -s conftest.err'
112185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112186 (eval $ac_try) 2>&5
112187 ac_status=$?
112188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112189 (exit $ac_status); }; } &&
112190 { ac_try='test -s conftest$ac_exeext'
112191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112192 (eval $ac_try) 2>&5
112193 ac_status=$?
112194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112195 (exit $ac_status); }; }; then
112196 eval "$as_ac_var=yes"
112198 echo "$as_me: failed program was:" >&5
112199 sed 's/^/| /' conftest.$ac_ext >&5
112201 eval "$as_ac_var=no"
112203 rm -f conftest.err conftest.$ac_objext \
112204 conftest$ac_exeext conftest.$ac_ext
112206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112207 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112208 if test `eval echo '${'$as_ac_var'}'` = yes; then
112209 cat >>confdefs.h <<_ACEOF
112210 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112211 _ACEOF
112214 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
112220 for ac_func in __signbitf
112222 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112223 echo "$as_me:$LINENO: checking for $ac_func" >&5
112224 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112225 if eval "test \"\${$as_ac_var+set}\" = set"; then
112226 echo $ECHO_N "(cached) $ECHO_C" >&6
112228 if test x$gcc_no_link = xyes; then
112229 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112230 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112231 { (exit 1); exit 1; }; }
112233 cat >conftest.$ac_ext <<_ACEOF
112234 /* confdefs.h. */
112235 _ACEOF
112236 cat confdefs.h >>conftest.$ac_ext
112237 cat >>conftest.$ac_ext <<_ACEOF
112238 /* end confdefs.h. */
112239 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112240 For example, HP-UX 11i <limits.h> declares gettimeofday. */
112241 #define $ac_func innocuous_$ac_func
112243 /* System header to define __stub macros and hopefully few prototypes,
112244 which can conflict with char $ac_func (); below.
112245 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112246 <limits.h> exists even on freestanding compilers. */
112248 #ifdef __STDC__
112249 # include <limits.h>
112250 #else
112251 # include <assert.h>
112252 #endif
112254 #undef $ac_func
112256 /* Override any gcc2 internal prototype to avoid an error. */
112257 #ifdef __cplusplus
112258 extern "C"
112260 #endif
112261 /* We use char because int might match the return type of a gcc2
112262 builtin and then its argument prototype would still apply. */
112263 char $ac_func ();
112264 /* The GNU C library defines this for functions which it implements
112265 to always fail with ENOSYS. Some functions are actually named
112266 something starting with __ and the normal name is an alias. */
112267 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112268 choke me
112269 #else
112270 char (*f) () = $ac_func;
112271 #endif
112272 #ifdef __cplusplus
112274 #endif
112277 main ()
112279 return f != $ac_func;
112281 return 0;
112283 _ACEOF
112284 rm -f conftest.$ac_objext conftest$ac_exeext
112285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112286 (eval $ac_link) 2>conftest.er1
112287 ac_status=$?
112288 grep -v '^ *+' conftest.er1 >conftest.err
112289 rm -f conftest.er1
112290 cat conftest.err >&5
112291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112292 (exit $ac_status); } &&
112293 { ac_try='test -z "$ac_c_werror_flag"
112294 || test ! -s conftest.err'
112295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112296 (eval $ac_try) 2>&5
112297 ac_status=$?
112298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112299 (exit $ac_status); }; } &&
112300 { ac_try='test -s conftest$ac_exeext'
112301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112302 (eval $ac_try) 2>&5
112303 ac_status=$?
112304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112305 (exit $ac_status); }; }; then
112306 eval "$as_ac_var=yes"
112308 echo "$as_me: failed program was:" >&5
112309 sed 's/^/| /' conftest.$ac_ext >&5
112311 eval "$as_ac_var=no"
112313 rm -f conftest.err conftest.$ac_objext \
112314 conftest$ac_exeext conftest.$ac_ext
112316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112317 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112318 if test `eval echo '${'$as_ac_var'}'` = yes; then
112319 cat >>confdefs.h <<_ACEOF
112320 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112321 _ACEOF
112324 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
112329 if test x$ac_cv_func_copysignl = x"yes"; then
112331 for ac_func in __signbitl
112333 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112334 echo "$as_me:$LINENO: checking for $ac_func" >&5
112335 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112336 if eval "test \"\${$as_ac_var+set}\" = set"; then
112337 echo $ECHO_N "(cached) $ECHO_C" >&6
112339 if test x$gcc_no_link = xyes; then
112340 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112341 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112342 { (exit 1); exit 1; }; }
112344 cat >conftest.$ac_ext <<_ACEOF
112345 /* confdefs.h. */
112346 _ACEOF
112347 cat confdefs.h >>conftest.$ac_ext
112348 cat >>conftest.$ac_ext <<_ACEOF
112349 /* end confdefs.h. */
112350 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112351 For example, HP-UX 11i <limits.h> declares gettimeofday. */
112352 #define $ac_func innocuous_$ac_func
112354 /* System header to define __stub macros and hopefully few prototypes,
112355 which can conflict with char $ac_func (); below.
112356 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112357 <limits.h> exists even on freestanding compilers. */
112359 #ifdef __STDC__
112360 # include <limits.h>
112361 #else
112362 # include <assert.h>
112363 #endif
112365 #undef $ac_func
112367 /* Override any gcc2 internal prototype to avoid an error. */
112368 #ifdef __cplusplus
112369 extern "C"
112371 #endif
112372 /* We use char because int might match the return type of a gcc2
112373 builtin and then its argument prototype would still apply. */
112374 char $ac_func ();
112375 /* The GNU C library defines this for functions which it implements
112376 to always fail with ENOSYS. Some functions are actually named
112377 something starting with __ and the normal name is an alias. */
112378 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112379 choke me
112380 #else
112381 char (*f) () = $ac_func;
112382 #endif
112383 #ifdef __cplusplus
112385 #endif
112388 main ()
112390 return f != $ac_func;
112392 return 0;
112394 _ACEOF
112395 rm -f conftest.$ac_objext conftest$ac_exeext
112396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112397 (eval $ac_link) 2>conftest.er1
112398 ac_status=$?
112399 grep -v '^ *+' conftest.er1 >conftest.err
112400 rm -f conftest.er1
112401 cat conftest.err >&5
112402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112403 (exit $ac_status); } &&
112404 { ac_try='test -z "$ac_c_werror_flag"
112405 || test ! -s conftest.err'
112406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112407 (eval $ac_try) 2>&5
112408 ac_status=$?
112409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112410 (exit $ac_status); }; } &&
112411 { ac_try='test -s conftest$ac_exeext'
112412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112413 (eval $ac_try) 2>&5
112414 ac_status=$?
112415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112416 (exit $ac_status); }; }; then
112417 eval "$as_ac_var=yes"
112419 echo "$as_me: failed program was:" >&5
112420 sed 's/^/| /' conftest.$ac_ext >&5
112422 eval "$as_ac_var=no"
112424 rm -f conftest.err conftest.$ac_objext \
112425 conftest$ac_exeext conftest.$ac_ext
112427 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112428 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112429 if test `eval echo '${'$as_ac_var'}'` = yes; then
112430 cat >>confdefs.h <<_ACEOF
112431 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112432 _ACEOF
112435 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
112441 # Used in libmath/Makefile.am.
112442 if test -n "$LIBMATHOBJS"; then
112443 need_libmath=yes
112447 cat >>confdefs.h <<\_ACEOF
112448 #define HAVE_HYPOT 1
112449 _ACEOF
112451 cat >>confdefs.h <<\_ACEOF
112452 #define HAVE_ISINF 1
112453 _ACEOF
112455 cat >>confdefs.h <<\_ACEOF
112456 #define HAVE_ISNAN 1
112457 _ACEOF
112460 # For showmanyc_helper().
112463 for ac_header in sys/ioctl.h sys/filio.h
112465 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
112466 if eval "test \"\${$as_ac_Header+set}\" = set"; then
112467 echo "$as_me:$LINENO: checking for $ac_header" >&5
112468 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
112469 if eval "test \"\${$as_ac_Header+set}\" = set"; then
112470 echo $ECHO_N "(cached) $ECHO_C" >&6
112472 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
112473 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
112475 # Is the header compilable?
112476 echo "$as_me:$LINENO: checking $ac_header usability" >&5
112477 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
112478 cat >conftest.$ac_ext <<_ACEOF
112479 /* confdefs.h. */
112480 _ACEOF
112481 cat confdefs.h >>conftest.$ac_ext
112482 cat >>conftest.$ac_ext <<_ACEOF
112483 /* end confdefs.h. */
112484 $ac_includes_default
112485 #include <$ac_header>
112486 _ACEOF
112487 rm -f conftest.$ac_objext
112488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
112489 (eval $ac_compile) 2>conftest.er1
112490 ac_status=$?
112491 grep -v '^ *+' conftest.er1 >conftest.err
112492 rm -f conftest.er1
112493 cat conftest.err >&5
112494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112495 (exit $ac_status); } &&
112496 { ac_try='test -z "$ac_c_werror_flag"
112497 || test ! -s conftest.err'
112498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112499 (eval $ac_try) 2>&5
112500 ac_status=$?
112501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112502 (exit $ac_status); }; } &&
112503 { ac_try='test -s conftest.$ac_objext'
112504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112505 (eval $ac_try) 2>&5
112506 ac_status=$?
112507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112508 (exit $ac_status); }; }; then
112509 ac_header_compiler=yes
112511 echo "$as_me: failed program was:" >&5
112512 sed 's/^/| /' conftest.$ac_ext >&5
112514 ac_header_compiler=no
112516 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
112517 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
112518 echo "${ECHO_T}$ac_header_compiler" >&6
112520 # Is the header present?
112521 echo "$as_me:$LINENO: checking $ac_header presence" >&5
112522 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
112523 cat >conftest.$ac_ext <<_ACEOF
112524 /* confdefs.h. */
112525 _ACEOF
112526 cat confdefs.h >>conftest.$ac_ext
112527 cat >>conftest.$ac_ext <<_ACEOF
112528 /* end confdefs.h. */
112529 #include <$ac_header>
112530 _ACEOF
112531 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
112532 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
112533 ac_status=$?
112534 grep -v '^ *+' conftest.er1 >conftest.err
112535 rm -f conftest.er1
112536 cat conftest.err >&5
112537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112538 (exit $ac_status); } >/dev/null; then
112539 if test -s conftest.err; then
112540 ac_cpp_err=$ac_c_preproc_warn_flag
112541 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
112543 ac_cpp_err=
112546 ac_cpp_err=yes
112548 if test -z "$ac_cpp_err"; then
112549 ac_header_preproc=yes
112551 echo "$as_me: failed program was:" >&5
112552 sed 's/^/| /' conftest.$ac_ext >&5
112554 ac_header_preproc=no
112556 rm -f conftest.err conftest.$ac_ext
112557 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
112558 echo "${ECHO_T}$ac_header_preproc" >&6
112560 # So? What about this header?
112561 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
112562 yes:no: )
112563 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
112564 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
112565 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
112566 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
112567 ac_header_preproc=yes
112569 no:yes:* )
112570 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
112571 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
112572 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
112573 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
112574 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
112575 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
112576 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
112577 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
112578 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
112579 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
112580 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
112581 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
112583 cat <<\_ASBOX
112584 ## ----------------------------------------- ##
112585 ## Report this to the package-unused lists. ##
112586 ## ----------------------------------------- ##
112587 _ASBOX
112589 sed "s/^/$as_me: WARNING: /" >&2
112592 echo "$as_me:$LINENO: checking for $ac_header" >&5
112593 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
112594 if eval "test \"\${$as_ac_Header+set}\" = set"; then
112595 echo $ECHO_N "(cached) $ECHO_C" >&6
112597 eval "$as_ac_Header=\$ac_header_preproc"
112599 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
112600 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
112603 if test `eval echo '${'$as_ac_Header'}'` = yes; then
112604 cat >>confdefs.h <<_ACEOF
112605 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
112606 _ACEOF
112613 echo "$as_me:$LINENO: checking for poll" >&5
112614 echo $ECHO_N "checking for poll... $ECHO_C" >&6
112615 if test "${glibcxx_cv_POLL+set}" = set; then
112616 echo $ECHO_N "(cached) $ECHO_C" >&6
112619 if test x$gcc_no_link = xyes; then
112620 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112621 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112622 { (exit 1); exit 1; }; }
112624 cat >conftest.$ac_ext <<_ACEOF
112625 /* confdefs.h. */
112626 _ACEOF
112627 cat confdefs.h >>conftest.$ac_ext
112628 cat >>conftest.$ac_ext <<_ACEOF
112629 /* end confdefs.h. */
112630 #include <poll.h>
112632 main ()
112634 struct pollfd pfd[1];
112635 pfd[0].events = POLLIN;
112636 poll(pfd, 1, 0);
112638 return 0;
112640 _ACEOF
112641 rm -f conftest.$ac_objext conftest$ac_exeext
112642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112643 (eval $ac_link) 2>conftest.er1
112644 ac_status=$?
112645 grep -v '^ *+' conftest.er1 >conftest.err
112646 rm -f conftest.er1
112647 cat conftest.err >&5
112648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112649 (exit $ac_status); } &&
112650 { ac_try='test -z "$ac_c_werror_flag"
112651 || test ! -s conftest.err'
112652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112653 (eval $ac_try) 2>&5
112654 ac_status=$?
112655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112656 (exit $ac_status); }; } &&
112657 { ac_try='test -s conftest$ac_exeext'
112658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112659 (eval $ac_try) 2>&5
112660 ac_status=$?
112661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112662 (exit $ac_status); }; }; then
112663 glibcxx_cv_POLL=yes
112665 echo "$as_me: failed program was:" >&5
112666 sed 's/^/| /' conftest.$ac_ext >&5
112668 glibcxx_cv_POLL=no
112670 rm -f conftest.err conftest.$ac_objext \
112671 conftest$ac_exeext conftest.$ac_ext
112675 if test $glibcxx_cv_POLL = yes; then
112677 cat >>confdefs.h <<\_ACEOF
112678 #define HAVE_POLL 1
112679 _ACEOF
112682 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
112683 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
112686 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
112687 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
112688 if test "${glibcxx_cv_S_ISREG+set}" = set; then
112689 echo $ECHO_N "(cached) $ECHO_C" >&6
112692 if test x$gcc_no_link = xyes; then
112693 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112694 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112695 { (exit 1); exit 1; }; }
112697 cat >conftest.$ac_ext <<_ACEOF
112698 /* confdefs.h. */
112699 _ACEOF
112700 cat confdefs.h >>conftest.$ac_ext
112701 cat >>conftest.$ac_ext <<_ACEOF
112702 /* end confdefs.h. */
112703 #include <sys/stat.h>
112705 main ()
112707 struct stat buffer;
112708 fstat(0, &buffer);
112709 S_ISREG(buffer.st_mode);
112711 return 0;
112713 _ACEOF
112714 rm -f conftest.$ac_objext conftest$ac_exeext
112715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112716 (eval $ac_link) 2>conftest.er1
112717 ac_status=$?
112718 grep -v '^ *+' conftest.er1 >conftest.err
112719 rm -f conftest.er1
112720 cat conftest.err >&5
112721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112722 (exit $ac_status); } &&
112723 { ac_try='test -z "$ac_c_werror_flag"
112724 || test ! -s conftest.err'
112725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112726 (eval $ac_try) 2>&5
112727 ac_status=$?
112728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112729 (exit $ac_status); }; } &&
112730 { ac_try='test -s conftest$ac_exeext'
112731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112732 (eval $ac_try) 2>&5
112733 ac_status=$?
112734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112735 (exit $ac_status); }; }; then
112736 glibcxx_cv_S_ISREG=yes
112738 echo "$as_me: failed program was:" >&5
112739 sed 's/^/| /' conftest.$ac_ext >&5
112741 glibcxx_cv_S_ISREG=no
112743 rm -f conftest.err conftest.$ac_objext \
112744 conftest$ac_exeext conftest.$ac_ext
112748 if test "${glibcxx_cv_S_IFREG+set}" = set; then
112749 echo $ECHO_N "(cached) $ECHO_C" >&6
112752 if test x$gcc_no_link = xyes; then
112753 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112754 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112755 { (exit 1); exit 1; }; }
112757 cat >conftest.$ac_ext <<_ACEOF
112758 /* confdefs.h. */
112759 _ACEOF
112760 cat confdefs.h >>conftest.$ac_ext
112761 cat >>conftest.$ac_ext <<_ACEOF
112762 /* end confdefs.h. */
112763 #include <sys/stat.h>
112765 main ()
112767 struct stat buffer;
112768 fstat(0, &buffer);
112769 S_IFREG & buffer.st_mode;
112771 return 0;
112773 _ACEOF
112774 rm -f conftest.$ac_objext conftest$ac_exeext
112775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112776 (eval $ac_link) 2>conftest.er1
112777 ac_status=$?
112778 grep -v '^ *+' conftest.er1 >conftest.err
112779 rm -f conftest.er1
112780 cat conftest.err >&5
112781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112782 (exit $ac_status); } &&
112783 { ac_try='test -z "$ac_c_werror_flag"
112784 || test ! -s conftest.err'
112785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112786 (eval $ac_try) 2>&5
112787 ac_status=$?
112788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112789 (exit $ac_status); }; } &&
112790 { ac_try='test -s conftest$ac_exeext'
112791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112792 (eval $ac_try) 2>&5
112793 ac_status=$?
112794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112795 (exit $ac_status); }; }; then
112796 glibcxx_cv_S_IFREG=yes
112798 echo "$as_me: failed program was:" >&5
112799 sed 's/^/| /' conftest.$ac_ext >&5
112801 glibcxx_cv_S_IFREG=no
112803 rm -f conftest.err conftest.$ac_objext \
112804 conftest$ac_exeext conftest.$ac_ext
112808 res=no
112809 if test $glibcxx_cv_S_ISREG = yes; then
112811 cat >>confdefs.h <<\_ACEOF
112812 #define HAVE_S_ISREG 1
112813 _ACEOF
112815 res=S_ISREG
112816 elif test $glibcxx_cv_S_IFREG = yes; then
112818 cat >>confdefs.h <<\_ACEOF
112819 #define HAVE_S_IFREG 1
112820 _ACEOF
112822 res=S_IFREG
112824 echo "$as_me:$LINENO: result: $res" >&5
112825 echo "${ECHO_T}$res" >&6
112828 # For xsputn_2().
112830 for ac_header in sys/uio.h
112832 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
112833 if eval "test \"\${$as_ac_Header+set}\" = set"; then
112834 echo "$as_me:$LINENO: checking for $ac_header" >&5
112835 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
112836 if eval "test \"\${$as_ac_Header+set}\" = set"; then
112837 echo $ECHO_N "(cached) $ECHO_C" >&6
112839 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
112840 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
112842 # Is the header compilable?
112843 echo "$as_me:$LINENO: checking $ac_header usability" >&5
112844 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
112845 cat >conftest.$ac_ext <<_ACEOF
112846 /* confdefs.h. */
112847 _ACEOF
112848 cat confdefs.h >>conftest.$ac_ext
112849 cat >>conftest.$ac_ext <<_ACEOF
112850 /* end confdefs.h. */
112851 $ac_includes_default
112852 #include <$ac_header>
112853 _ACEOF
112854 rm -f conftest.$ac_objext
112855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
112856 (eval $ac_compile) 2>conftest.er1
112857 ac_status=$?
112858 grep -v '^ *+' conftest.er1 >conftest.err
112859 rm -f conftest.er1
112860 cat conftest.err >&5
112861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112862 (exit $ac_status); } &&
112863 { ac_try='test -z "$ac_c_werror_flag"
112864 || test ! -s conftest.err'
112865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112866 (eval $ac_try) 2>&5
112867 ac_status=$?
112868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112869 (exit $ac_status); }; } &&
112870 { ac_try='test -s conftest.$ac_objext'
112871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112872 (eval $ac_try) 2>&5
112873 ac_status=$?
112874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112875 (exit $ac_status); }; }; then
112876 ac_header_compiler=yes
112878 echo "$as_me: failed program was:" >&5
112879 sed 's/^/| /' conftest.$ac_ext >&5
112881 ac_header_compiler=no
112883 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
112884 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
112885 echo "${ECHO_T}$ac_header_compiler" >&6
112887 # Is the header present?
112888 echo "$as_me:$LINENO: checking $ac_header presence" >&5
112889 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
112890 cat >conftest.$ac_ext <<_ACEOF
112891 /* confdefs.h. */
112892 _ACEOF
112893 cat confdefs.h >>conftest.$ac_ext
112894 cat >>conftest.$ac_ext <<_ACEOF
112895 /* end confdefs.h. */
112896 #include <$ac_header>
112897 _ACEOF
112898 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
112899 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
112900 ac_status=$?
112901 grep -v '^ *+' conftest.er1 >conftest.err
112902 rm -f conftest.er1
112903 cat conftest.err >&5
112904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112905 (exit $ac_status); } >/dev/null; then
112906 if test -s conftest.err; then
112907 ac_cpp_err=$ac_c_preproc_warn_flag
112908 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
112910 ac_cpp_err=
112913 ac_cpp_err=yes
112915 if test -z "$ac_cpp_err"; then
112916 ac_header_preproc=yes
112918 echo "$as_me: failed program was:" >&5
112919 sed 's/^/| /' conftest.$ac_ext >&5
112921 ac_header_preproc=no
112923 rm -f conftest.err conftest.$ac_ext
112924 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
112925 echo "${ECHO_T}$ac_header_preproc" >&6
112927 # So? What about this header?
112928 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
112929 yes:no: )
112930 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
112931 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
112932 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
112933 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
112934 ac_header_preproc=yes
112936 no:yes:* )
112937 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
112938 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
112939 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
112940 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
112941 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
112942 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
112943 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
112944 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
112945 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
112946 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
112947 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
112948 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
112950 cat <<\_ASBOX
112951 ## ----------------------------------------- ##
112952 ## Report this to the package-unused lists. ##
112953 ## ----------------------------------------- ##
112954 _ASBOX
112956 sed "s/^/$as_me: WARNING: /" >&2
112959 echo "$as_me:$LINENO: checking for $ac_header" >&5
112960 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
112961 if eval "test \"\${$as_ac_Header+set}\" = set"; then
112962 echo $ECHO_N "(cached) $ECHO_C" >&6
112964 eval "$as_ac_Header=\$ac_header_preproc"
112966 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
112967 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
112970 if test `eval echo '${'$as_ac_Header'}'` = yes; then
112971 cat >>confdefs.h <<_ACEOF
112972 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
112973 _ACEOF
112980 echo "$as_me:$LINENO: checking for writev" >&5
112981 echo $ECHO_N "checking for writev... $ECHO_C" >&6
112982 if test "${glibcxx_cv_WRITEV+set}" = set; then
112983 echo $ECHO_N "(cached) $ECHO_C" >&6
112986 if test x$gcc_no_link = xyes; then
112987 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112988 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112989 { (exit 1); exit 1; }; }
112991 cat >conftest.$ac_ext <<_ACEOF
112992 /* confdefs.h. */
112993 _ACEOF
112994 cat confdefs.h >>conftest.$ac_ext
112995 cat >>conftest.$ac_ext <<_ACEOF
112996 /* end confdefs.h. */
112997 #include <sys/uio.h>
112999 main ()
113001 struct iovec iov[2];
113002 writev(0, iov, 0);
113004 return 0;
113006 _ACEOF
113007 rm -f conftest.$ac_objext conftest$ac_exeext
113008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113009 (eval $ac_link) 2>conftest.er1
113010 ac_status=$?
113011 grep -v '^ *+' conftest.er1 >conftest.err
113012 rm -f conftest.er1
113013 cat conftest.err >&5
113014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113015 (exit $ac_status); } &&
113016 { ac_try='test -z "$ac_c_werror_flag"
113017 || test ! -s conftest.err'
113018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113019 (eval $ac_try) 2>&5
113020 ac_status=$?
113021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113022 (exit $ac_status); }; } &&
113023 { ac_try='test -s conftest$ac_exeext'
113024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113025 (eval $ac_try) 2>&5
113026 ac_status=$?
113027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113028 (exit $ac_status); }; }; then
113029 glibcxx_cv_WRITEV=yes
113031 echo "$as_me: failed program was:" >&5
113032 sed 's/^/| /' conftest.$ac_ext >&5
113034 glibcxx_cv_WRITEV=no
113036 rm -f conftest.err conftest.$ac_objext \
113037 conftest$ac_exeext conftest.$ac_ext
113041 if test $glibcxx_cv_WRITEV = yes; then
113043 cat >>confdefs.h <<\_ACEOF
113044 #define HAVE_WRITEV 1
113045 _ACEOF
113048 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
113049 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
113052 *-qnx6.1* | *-qnx6.2*)
113053 SECTION_FLAGS='-ffunction-sections -fdata-sections'
113056 # If we're not using GNU ld, then there's no point in even trying these
113057 # tests. Check for that first. We should have already tested for gld
113058 # by now (in libtool), but require it now just to be safe...
113059 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
113060 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
113064 # The name set by libtool depends on the version of libtool. Shame on us
113065 # for depending on an impl detail, but c'est la vie. Older versions used
113066 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
113067 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
113068 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
113069 # set (hence we're using an older libtool), then set it.
113070 if test x${with_gnu_ld+set} != xset; then
113071 if test x${ac_cv_prog_gnu_ld+set} != xset; then
113072 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
113073 with_gnu_ld=no
113075 with_gnu_ld=$ac_cv_prog_gnu_ld
113079 # Start by getting the version number. I think the libtool test already
113080 # does some of this, but throws away the result.
113081 if test x"$with_gnu_ld" = x"yes"; then
113082 echo "$as_me:$LINENO: checking for ld version" >&5
113083 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
113085 ldver=`$LD --version 2>/dev/null | head -1 | \
113086 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
113088 glibcxx_gnu_ld_version=`echo $ldver | \
113089 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
113090 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
113091 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
113094 # Set --gc-sections.
113095 glibcxx_gcsections_min_ld=21602
113096 if test x"$with_gnu_ld" = x"yes" &&
113097 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
113099 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
113100 # NB: This flag only works reliably after 2.16.1. Configure tests
113101 # for this are difficult, so hard wire a value that should work.
113103 ac_test_CFLAGS="${CFLAGS+set}"
113104 ac_save_CFLAGS="$CFLAGS"
113105 CFLAGS='-Wl,--gc-sections'
113107 # Check for -Wl,--gc-sections
113108 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
113109 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
113110 if test x$gcc_no_link = xyes; then
113111 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113112 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113113 { (exit 1); exit 1; }; }
113115 cat >conftest.$ac_ext <<_ACEOF
113116 /* confdefs.h. */
113117 _ACEOF
113118 cat confdefs.h >>conftest.$ac_ext
113119 cat >>conftest.$ac_ext <<_ACEOF
113120 /* end confdefs.h. */
113121 int one(void) { return 1; }
113122 int two(void) { return 2; }
113125 main ()
113127 two();
113129 return 0;
113131 _ACEOF
113132 rm -f conftest.$ac_objext conftest$ac_exeext
113133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113134 (eval $ac_link) 2>conftest.er1
113135 ac_status=$?
113136 grep -v '^ *+' conftest.er1 >conftest.err
113137 rm -f conftest.er1
113138 cat conftest.err >&5
113139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113140 (exit $ac_status); } &&
113141 { ac_try='test -z "$ac_c_werror_flag"
113142 || test ! -s conftest.err'
113143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113144 (eval $ac_try) 2>&5
113145 ac_status=$?
113146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113147 (exit $ac_status); }; } &&
113148 { ac_try='test -s conftest$ac_exeext'
113149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113150 (eval $ac_try) 2>&5
113151 ac_status=$?
113152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113153 (exit $ac_status); }; }; then
113154 ac_gcsections=yes
113156 echo "$as_me: failed program was:" >&5
113157 sed 's/^/| /' conftest.$ac_ext >&5
113159 ac_gcsections=no
113161 rm -f conftest.err conftest.$ac_objext \
113162 conftest$ac_exeext conftest.$ac_ext
113163 if test "$ac_gcsections" = "yes"; then
113164 rm -f conftest.c
113165 touch conftest.c
113166 if $CC -c conftest.c; then
113167 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
113168 grep "Warning: gc-sections option ignored" > /dev/null; then
113169 ac_gcsections=no
113172 rm -f conftest.c conftest.o conftest
113174 if test "$ac_gcsections" = "yes"; then
113175 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
113177 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
113178 echo "${ECHO_T}$ac_gcsections" >&6
113180 if test "$ac_test_CFLAGS" = set; then
113181 CFLAGS="$ac_save_CFLAGS"
113183 # this is the suspicious part
113184 CFLAGS=''
113188 # Set -z,relro.
113189 # Note this is only for shared objects.
113190 ac_ld_relro=no
113191 if test x"$with_gnu_ld" = x"yes"; then
113192 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
113193 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
113194 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
113195 if test -n "$cxx_z_relo"; then
113196 OPT_LDFLAGS="-Wl,-z,relro"
113197 ac_ld_relro=yes
113199 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
113200 echo "${ECHO_T}$ac_ld_relro" >&6
113203 # Set linker optimization flags.
113204 if test x"$with_gnu_ld" = x"yes"; then
113205 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
113213 echo "$as_me:$LINENO: checking for main in -lm" >&5
113214 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
113215 if test "${ac_cv_lib_m_main+set}" = set; then
113216 echo $ECHO_N "(cached) $ECHO_C" >&6
113218 ac_check_lib_save_LIBS=$LIBS
113219 LIBS="-lm $LIBS"
113220 if test x$gcc_no_link = xyes; then
113221 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113222 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113223 { (exit 1); exit 1; }; }
113225 cat >conftest.$ac_ext <<_ACEOF
113226 /* confdefs.h. */
113227 _ACEOF
113228 cat confdefs.h >>conftest.$ac_ext
113229 cat >>conftest.$ac_ext <<_ACEOF
113230 /* end confdefs.h. */
113234 main ()
113236 main ();
113238 return 0;
113240 _ACEOF
113241 rm -f conftest.$ac_objext conftest$ac_exeext
113242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113243 (eval $ac_link) 2>conftest.er1
113244 ac_status=$?
113245 grep -v '^ *+' conftest.er1 >conftest.err
113246 rm -f conftest.er1
113247 cat conftest.err >&5
113248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113249 (exit $ac_status); } &&
113250 { ac_try='test -z "$ac_c_werror_flag"
113251 || test ! -s conftest.err'
113252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113253 (eval $ac_try) 2>&5
113254 ac_status=$?
113255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113256 (exit $ac_status); }; } &&
113257 { ac_try='test -s conftest$ac_exeext'
113258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113259 (eval $ac_try) 2>&5
113260 ac_status=$?
113261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113262 (exit $ac_status); }; }; then
113263 ac_cv_lib_m_main=yes
113265 echo "$as_me: failed program was:" >&5
113266 sed 's/^/| /' conftest.$ac_ext >&5
113268 ac_cv_lib_m_main=no
113270 rm -f conftest.err conftest.$ac_objext \
113271 conftest$ac_exeext conftest.$ac_ext
113272 LIBS=$ac_check_lib_save_LIBS
113274 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
113275 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
113276 if test $ac_cv_lib_m_main = yes; then
113277 cat >>confdefs.h <<_ACEOF
113278 #define HAVE_LIBM 1
113279 _ACEOF
113281 LIBS="-lm $LIBS"
113286 for ac_func in copysignf
113288 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113289 echo "$as_me:$LINENO: checking for $ac_func" >&5
113290 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113291 if eval "test \"\${$as_ac_var+set}\" = set"; then
113292 echo $ECHO_N "(cached) $ECHO_C" >&6
113294 if test x$gcc_no_link = xyes; then
113295 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113296 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113297 { (exit 1); exit 1; }; }
113299 cat >conftest.$ac_ext <<_ACEOF
113300 /* confdefs.h. */
113301 _ACEOF
113302 cat confdefs.h >>conftest.$ac_ext
113303 cat >>conftest.$ac_ext <<_ACEOF
113304 /* end confdefs.h. */
113305 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113306 For example, HP-UX 11i <limits.h> declares gettimeofday. */
113307 #define $ac_func innocuous_$ac_func
113309 /* System header to define __stub macros and hopefully few prototypes,
113310 which can conflict with char $ac_func (); below.
113311 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113312 <limits.h> exists even on freestanding compilers. */
113314 #ifdef __STDC__
113315 # include <limits.h>
113316 #else
113317 # include <assert.h>
113318 #endif
113320 #undef $ac_func
113322 /* Override any gcc2 internal prototype to avoid an error. */
113323 #ifdef __cplusplus
113324 extern "C"
113326 #endif
113327 /* We use char because int might match the return type of a gcc2
113328 builtin and then its argument prototype would still apply. */
113329 char $ac_func ();
113330 /* The GNU C library defines this for functions which it implements
113331 to always fail with ENOSYS. Some functions are actually named
113332 something starting with __ and the normal name is an alias. */
113333 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113334 choke me
113335 #else
113336 char (*f) () = $ac_func;
113337 #endif
113338 #ifdef __cplusplus
113340 #endif
113343 main ()
113345 return f != $ac_func;
113347 return 0;
113349 _ACEOF
113350 rm -f conftest.$ac_objext conftest$ac_exeext
113351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113352 (eval $ac_link) 2>conftest.er1
113353 ac_status=$?
113354 grep -v '^ *+' conftest.er1 >conftest.err
113355 rm -f conftest.er1
113356 cat conftest.err >&5
113357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113358 (exit $ac_status); } &&
113359 { ac_try='test -z "$ac_c_werror_flag"
113360 || test ! -s conftest.err'
113361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113362 (eval $ac_try) 2>&5
113363 ac_status=$?
113364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113365 (exit $ac_status); }; } &&
113366 { ac_try='test -s conftest$ac_exeext'
113367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113368 (eval $ac_try) 2>&5
113369 ac_status=$?
113370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113371 (exit $ac_status); }; }; then
113372 eval "$as_ac_var=yes"
113374 echo "$as_me: failed program was:" >&5
113375 sed 's/^/| /' conftest.$ac_ext >&5
113377 eval "$as_ac_var=no"
113379 rm -f conftest.err conftest.$ac_objext \
113380 conftest$ac_exeext conftest.$ac_ext
113382 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113383 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113384 if test `eval echo '${'$as_ac_var'}'` = yes; then
113385 cat >>confdefs.h <<_ACEOF
113386 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113387 _ACEOF
113390 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
113396 for ac_func in __signbit
113398 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113399 echo "$as_me:$LINENO: checking for $ac_func" >&5
113400 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113401 if eval "test \"\${$as_ac_var+set}\" = set"; then
113402 echo $ECHO_N "(cached) $ECHO_C" >&6
113404 if test x$gcc_no_link = xyes; then
113405 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113406 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113407 { (exit 1); exit 1; }; }
113409 cat >conftest.$ac_ext <<_ACEOF
113410 /* confdefs.h. */
113411 _ACEOF
113412 cat confdefs.h >>conftest.$ac_ext
113413 cat >>conftest.$ac_ext <<_ACEOF
113414 /* end confdefs.h. */
113415 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113416 For example, HP-UX 11i <limits.h> declares gettimeofday. */
113417 #define $ac_func innocuous_$ac_func
113419 /* System header to define __stub macros and hopefully few prototypes,
113420 which can conflict with char $ac_func (); below.
113421 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113422 <limits.h> exists even on freestanding compilers. */
113424 #ifdef __STDC__
113425 # include <limits.h>
113426 #else
113427 # include <assert.h>
113428 #endif
113430 #undef $ac_func
113432 /* Override any gcc2 internal prototype to avoid an error. */
113433 #ifdef __cplusplus
113434 extern "C"
113436 #endif
113437 /* We use char because int might match the return type of a gcc2
113438 builtin and then its argument prototype would still apply. */
113439 char $ac_func ();
113440 /* The GNU C library defines this for functions which it implements
113441 to always fail with ENOSYS. Some functions are actually named
113442 something starting with __ and the normal name is an alias. */
113443 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113444 choke me
113445 #else
113446 char (*f) () = $ac_func;
113447 #endif
113448 #ifdef __cplusplus
113450 #endif
113453 main ()
113455 return f != $ac_func;
113457 return 0;
113459 _ACEOF
113460 rm -f conftest.$ac_objext conftest$ac_exeext
113461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113462 (eval $ac_link) 2>conftest.er1
113463 ac_status=$?
113464 grep -v '^ *+' conftest.er1 >conftest.err
113465 rm -f conftest.er1
113466 cat conftest.err >&5
113467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113468 (exit $ac_status); } &&
113469 { ac_try='test -z "$ac_c_werror_flag"
113470 || test ! -s conftest.err'
113471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113472 (eval $ac_try) 2>&5
113473 ac_status=$?
113474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113475 (exit $ac_status); }; } &&
113476 { ac_try='test -s conftest$ac_exeext'
113477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113478 (eval $ac_try) 2>&5
113479 ac_status=$?
113480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113481 (exit $ac_status); }; }; then
113482 eval "$as_ac_var=yes"
113484 echo "$as_me: failed program was:" >&5
113485 sed 's/^/| /' conftest.$ac_ext >&5
113487 eval "$as_ac_var=no"
113489 rm -f conftest.err conftest.$ac_objext \
113490 conftest$ac_exeext conftest.$ac_ext
113492 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113493 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113494 if test `eval echo '${'$as_ac_var'}'` = yes; then
113495 cat >>confdefs.h <<_ACEOF
113496 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113497 _ACEOF
113500 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
113506 for ac_func in __signbitf
113508 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113509 echo "$as_me:$LINENO: checking for $ac_func" >&5
113510 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113511 if eval "test \"\${$as_ac_var+set}\" = set"; then
113512 echo $ECHO_N "(cached) $ECHO_C" >&6
113514 if test x$gcc_no_link = xyes; then
113515 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113516 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113517 { (exit 1); exit 1; }; }
113519 cat >conftest.$ac_ext <<_ACEOF
113520 /* confdefs.h. */
113521 _ACEOF
113522 cat confdefs.h >>conftest.$ac_ext
113523 cat >>conftest.$ac_ext <<_ACEOF
113524 /* end confdefs.h. */
113525 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113526 For example, HP-UX 11i <limits.h> declares gettimeofday. */
113527 #define $ac_func innocuous_$ac_func
113529 /* System header to define __stub macros and hopefully few prototypes,
113530 which can conflict with char $ac_func (); below.
113531 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113532 <limits.h> exists even on freestanding compilers. */
113534 #ifdef __STDC__
113535 # include <limits.h>
113536 #else
113537 # include <assert.h>
113538 #endif
113540 #undef $ac_func
113542 /* Override any gcc2 internal prototype to avoid an error. */
113543 #ifdef __cplusplus
113544 extern "C"
113546 #endif
113547 /* We use char because int might match the return type of a gcc2
113548 builtin and then its argument prototype would still apply. */
113549 char $ac_func ();
113550 /* The GNU C library defines this for functions which it implements
113551 to always fail with ENOSYS. Some functions are actually named
113552 something starting with __ and the normal name is an alias. */
113553 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113554 choke me
113555 #else
113556 char (*f) () = $ac_func;
113557 #endif
113558 #ifdef __cplusplus
113560 #endif
113563 main ()
113565 return f != $ac_func;
113567 return 0;
113569 _ACEOF
113570 rm -f conftest.$ac_objext conftest$ac_exeext
113571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113572 (eval $ac_link) 2>conftest.er1
113573 ac_status=$?
113574 grep -v '^ *+' conftest.er1 >conftest.err
113575 rm -f conftest.er1
113576 cat conftest.err >&5
113577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113578 (exit $ac_status); } &&
113579 { ac_try='test -z "$ac_c_werror_flag"
113580 || test ! -s conftest.err'
113581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113582 (eval $ac_try) 2>&5
113583 ac_status=$?
113584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113585 (exit $ac_status); }; } &&
113586 { ac_try='test -s conftest$ac_exeext'
113587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113588 (eval $ac_try) 2>&5
113589 ac_status=$?
113590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113591 (exit $ac_status); }; }; then
113592 eval "$as_ac_var=yes"
113594 echo "$as_me: failed program was:" >&5
113595 sed 's/^/| /' conftest.$ac_ext >&5
113597 eval "$as_ac_var=no"
113599 rm -f conftest.err conftest.$ac_objext \
113600 conftest$ac_exeext conftest.$ac_ext
113602 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113603 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113604 if test `eval echo '${'$as_ac_var'}'` = yes; then
113605 cat >>confdefs.h <<_ACEOF
113606 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113607 _ACEOF
113610 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
113615 if test x$ac_cv_func_copysignl = x"yes"; then
113617 for ac_func in __signbitl
113619 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113620 echo "$as_me:$LINENO: checking for $ac_func" >&5
113621 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113622 if eval "test \"\${$as_ac_var+set}\" = set"; then
113623 echo $ECHO_N "(cached) $ECHO_C" >&6
113625 if test x$gcc_no_link = xyes; then
113626 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113627 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113628 { (exit 1); exit 1; }; }
113630 cat >conftest.$ac_ext <<_ACEOF
113631 /* confdefs.h. */
113632 _ACEOF
113633 cat confdefs.h >>conftest.$ac_ext
113634 cat >>conftest.$ac_ext <<_ACEOF
113635 /* end confdefs.h. */
113636 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113637 For example, HP-UX 11i <limits.h> declares gettimeofday. */
113638 #define $ac_func innocuous_$ac_func
113640 /* System header to define __stub macros and hopefully few prototypes,
113641 which can conflict with char $ac_func (); below.
113642 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113643 <limits.h> exists even on freestanding compilers. */
113645 #ifdef __STDC__
113646 # include <limits.h>
113647 #else
113648 # include <assert.h>
113649 #endif
113651 #undef $ac_func
113653 /* Override any gcc2 internal prototype to avoid an error. */
113654 #ifdef __cplusplus
113655 extern "C"
113657 #endif
113658 /* We use char because int might match the return type of a gcc2
113659 builtin and then its argument prototype would still apply. */
113660 char $ac_func ();
113661 /* The GNU C library defines this for functions which it implements
113662 to always fail with ENOSYS. Some functions are actually named
113663 something starting with __ and the normal name is an alias. */
113664 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113665 choke me
113666 #else
113667 char (*f) () = $ac_func;
113668 #endif
113669 #ifdef __cplusplus
113671 #endif
113674 main ()
113676 return f != $ac_func;
113678 return 0;
113680 _ACEOF
113681 rm -f conftest.$ac_objext conftest$ac_exeext
113682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113683 (eval $ac_link) 2>conftest.er1
113684 ac_status=$?
113685 grep -v '^ *+' conftest.er1 >conftest.err
113686 rm -f conftest.er1
113687 cat conftest.err >&5
113688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113689 (exit $ac_status); } &&
113690 { ac_try='test -z "$ac_c_werror_flag"
113691 || test ! -s conftest.err'
113692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113693 (eval $ac_try) 2>&5
113694 ac_status=$?
113695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113696 (exit $ac_status); }; } &&
113697 { ac_try='test -s conftest$ac_exeext'
113698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113699 (eval $ac_try) 2>&5
113700 ac_status=$?
113701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113702 (exit $ac_status); }; }; then
113703 eval "$as_ac_var=yes"
113705 echo "$as_me: failed program was:" >&5
113706 sed 's/^/| /' conftest.$ac_ext >&5
113708 eval "$as_ac_var=no"
113710 rm -f conftest.err conftest.$ac_objext \
113711 conftest$ac_exeext conftest.$ac_ext
113713 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113714 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113715 if test `eval echo '${'$as_ac_var'}'` = yes; then
113716 cat >>confdefs.h <<_ACEOF
113717 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113718 _ACEOF
113721 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
113727 # Used in libmath/Makefile.am.
113728 if test -n "$LIBMATHOBJS"; then
113729 need_libmath=yes
113733 cat >>confdefs.h <<\_ACEOF
113734 #define HAVE_COSF 1
113735 _ACEOF
113737 cat >>confdefs.h <<\_ACEOF
113738 #define HAVE_COSL 1
113739 _ACEOF
113741 cat >>confdefs.h <<\_ACEOF
113742 #define HAVE_COSHF 1
113743 _ACEOF
113745 cat >>confdefs.h <<\_ACEOF
113746 #define HAVE_COSHL 1
113747 _ACEOF
113749 cat >>confdefs.h <<\_ACEOF
113750 #define HAVE_LOGF 1
113751 _ACEOF
113753 cat >>confdefs.h <<\_ACEOF
113754 #define HAVE_LOGL 1
113755 _ACEOF
113757 cat >>confdefs.h <<\_ACEOF
113758 #define HAVE_LOG10F 1
113759 _ACEOF
113761 cat >>confdefs.h <<\_ACEOF
113762 #define HAVE_LOG10L 1
113763 _ACEOF
113765 cat >>confdefs.h <<\_ACEOF
113766 #define HAVE_SINF 1
113767 _ACEOF
113769 cat >>confdefs.h <<\_ACEOF
113770 #define HAVE_SINL 1
113771 _ACEOF
113773 cat >>confdefs.h <<\_ACEOF
113774 #define HAVE_SINHF 1
113775 _ACEOF
113777 cat >>confdefs.h <<\_ACEOF
113778 #define HAVE_SINHL 1
113779 _ACEOF
113782 *-solaris*)
113783 case "$target" in
113784 # *-solaris2.5)
113785 # os_include_dir="os/solaris/solaris2.5"
113787 # *-solaris2.6)
113788 # os_include_dir="os/solaris/solaris2.6"
113790 *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
113792 # If we're not using GNU ld, then there's no point in even trying these
113793 # tests. Check for that first. We should have already tested for gld
113794 # by now (in libtool), but require it now just to be safe...
113795 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
113796 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
113800 # The name set by libtool depends on the version of libtool. Shame on us
113801 # for depending on an impl detail, but c'est la vie. Older versions used
113802 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
113803 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
113804 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
113805 # set (hence we're using an older libtool), then set it.
113806 if test x${with_gnu_ld+set} != xset; then
113807 if test x${ac_cv_prog_gnu_ld+set} != xset; then
113808 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
113809 with_gnu_ld=no
113811 with_gnu_ld=$ac_cv_prog_gnu_ld
113815 # Start by getting the version number. I think the libtool test already
113816 # does some of this, but throws away the result.
113817 if test x"$with_gnu_ld" = x"yes"; then
113818 echo "$as_me:$LINENO: checking for ld version" >&5
113819 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
113821 ldver=`$LD --version 2>/dev/null | head -1 | \
113822 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
113824 glibcxx_gnu_ld_version=`echo $ldver | \
113825 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
113826 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
113827 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
113830 # Set --gc-sections.
113831 glibcxx_gcsections_min_ld=21602
113832 if test x"$with_gnu_ld" = x"yes" &&
113833 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
113835 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
113836 # NB: This flag only works reliably after 2.16.1. Configure tests
113837 # for this are difficult, so hard wire a value that should work.
113839 ac_test_CFLAGS="${CFLAGS+set}"
113840 ac_save_CFLAGS="$CFLAGS"
113841 CFLAGS='-Wl,--gc-sections'
113843 # Check for -Wl,--gc-sections
113844 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
113845 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
113846 if test x$gcc_no_link = xyes; then
113847 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113848 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113849 { (exit 1); exit 1; }; }
113851 cat >conftest.$ac_ext <<_ACEOF
113852 /* confdefs.h. */
113853 _ACEOF
113854 cat confdefs.h >>conftest.$ac_ext
113855 cat >>conftest.$ac_ext <<_ACEOF
113856 /* end confdefs.h. */
113857 int one(void) { return 1; }
113858 int two(void) { return 2; }
113861 main ()
113863 two();
113865 return 0;
113867 _ACEOF
113868 rm -f conftest.$ac_objext conftest$ac_exeext
113869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113870 (eval $ac_link) 2>conftest.er1
113871 ac_status=$?
113872 grep -v '^ *+' conftest.er1 >conftest.err
113873 rm -f conftest.er1
113874 cat conftest.err >&5
113875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113876 (exit $ac_status); } &&
113877 { ac_try='test -z "$ac_c_werror_flag"
113878 || test ! -s conftest.err'
113879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113880 (eval $ac_try) 2>&5
113881 ac_status=$?
113882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113883 (exit $ac_status); }; } &&
113884 { ac_try='test -s conftest$ac_exeext'
113885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113886 (eval $ac_try) 2>&5
113887 ac_status=$?
113888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113889 (exit $ac_status); }; }; then
113890 ac_gcsections=yes
113892 echo "$as_me: failed program was:" >&5
113893 sed 's/^/| /' conftest.$ac_ext >&5
113895 ac_gcsections=no
113897 rm -f conftest.err conftest.$ac_objext \
113898 conftest$ac_exeext conftest.$ac_ext
113899 if test "$ac_gcsections" = "yes"; then
113900 rm -f conftest.c
113901 touch conftest.c
113902 if $CC -c conftest.c; then
113903 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
113904 grep "Warning: gc-sections option ignored" > /dev/null; then
113905 ac_gcsections=no
113908 rm -f conftest.c conftest.o conftest
113910 if test "$ac_gcsections" = "yes"; then
113911 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
113913 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
113914 echo "${ECHO_T}$ac_gcsections" >&6
113916 if test "$ac_test_CFLAGS" = set; then
113917 CFLAGS="$ac_save_CFLAGS"
113919 # this is the suspicious part
113920 CFLAGS=''
113924 # Set -z,relro.
113925 # Note this is only for shared objects.
113926 ac_ld_relro=no
113927 if test x"$with_gnu_ld" = x"yes"; then
113928 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
113929 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
113930 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
113931 if test -n "$cxx_z_relo"; then
113932 OPT_LDFLAGS="-Wl,-z,relro"
113933 ac_ld_relro=yes
113935 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
113936 echo "${ECHO_T}$ac_ld_relro" >&6
113939 # Set linker optimization flags.
113940 if test x"$with_gnu_ld" = x"yes"; then
113941 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
113947 cat >>confdefs.h <<\_ACEOF
113948 #define HAVE_GETPAGESIZE 1
113949 _ACEOF
113951 cat >>confdefs.h <<\_ACEOF
113952 #define HAVE_SIGSETJMP 1
113953 _ACEOF
113955 cat >>confdefs.h <<\_ACEOF
113956 #define HAVE_MBSTATE_T 1
113957 _ACEOF
113959 cat >>confdefs.h <<\_ACEOF
113960 #define HAVE_POLL 1
113961 _ACEOF
113963 cat >>confdefs.h <<\_ACEOF
113964 #define HAVE_S_ISREG 1
113965 _ACEOF
113967 cat >>confdefs.h <<\_ACEOF
113968 #define HAVE_LC_MESSAGES 1
113969 _ACEOF
113971 cat >>confdefs.h <<\_ACEOF
113972 #define HAVE_FINITE 1
113973 _ACEOF
113975 cat >>confdefs.h <<\_ACEOF
113976 #define HAVE_FPCLASS 1
113977 _ACEOF
113979 cat >>confdefs.h <<\_ACEOF
113980 #define HAVE_GETPAGESIZE 1
113981 _ACEOF
113983 # All of the dependencies for wide character support are here, so
113984 # turn it on.
113985 cat >>confdefs.h <<\_ACEOF
113986 #define _GLIBCXX_USE_WCHAR_T 1
113987 _ACEOF
113989 # Are these tested for even when cross?
113990 cat >>confdefs.h <<\_ACEOF
113991 #define HAVE_FLOAT_H 1
113992 _ACEOF
113994 cat >>confdefs.h <<\_ACEOF
113995 #define HAVE_IEEEFP_H 1
113996 _ACEOF
113998 cat >>confdefs.h <<\_ACEOF
113999 #define HAVE_INTTYPES_H 1
114000 _ACEOF
114002 cat >>confdefs.h <<\_ACEOF
114003 #define HAVE_LOCALE_H 1
114004 _ACEOF
114006 cat >>confdefs.h <<\_ACEOF
114007 #define HAVE_NAN_H 1
114008 _ACEOF
114010 cat >>confdefs.h <<\_ACEOF
114011 #define HAVE_SYS_FILIO_H 1
114012 _ACEOF
114014 cat >>confdefs.h <<\_ACEOF
114015 #define HAVE_SYS_IOCTL_H 1
114016 _ACEOF
114018 cat >>confdefs.h <<\_ACEOF
114019 #define HAVE_SYS_ISA_DEFS_H 1
114020 _ACEOF
114022 cat >>confdefs.h <<\_ACEOF
114023 #define HAVE_SYS_RESOURCE_H 1
114024 _ACEOF
114026 cat >>confdefs.h <<\_ACEOF
114027 #define HAVE_SYS_TIME_H 1
114028 _ACEOF
114030 cat >>confdefs.h <<\_ACEOF
114031 #define HAVE_SYS_TYPES_H 1
114032 _ACEOF
114034 cat >>confdefs.h <<\_ACEOF
114035 #define HAVE_UNISTD_H 1
114036 _ACEOF
114038 cat >>confdefs.h <<\_ACEOF
114039 #define HAVE_WCHAR_H 1
114040 _ACEOF
114042 cat >>confdefs.h <<\_ACEOF
114043 #define HAVE_WCTYPE_H 1
114044 _ACEOF
114046 cat >>confdefs.h <<\_ACEOF
114047 #define HAVE_LIBM 1
114048 _ACEOF
114052 case "$target" in
114053 sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
114054 # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
114055 cat >>confdefs.h <<\_ACEOF
114056 #define HAVE___BUILTIN_ABS 1
114057 _ACEOF
114059 cat >>confdefs.h <<\_ACEOF
114060 #define HAVE___BUILTIN_LABS 1
114061 _ACEOF
114063 cat >>confdefs.h <<\_ACEOF
114064 #define HAVE___BUILTIN_FABS 1
114065 _ACEOF
114067 cat >>confdefs.h <<\_ACEOF
114068 #define HAVE___BUILTIN_FABSF 1
114069 _ACEOF
114071 cat >>confdefs.h <<\_ACEOF
114072 #define HAVE___BUILTIN_FABSL 1
114073 _ACEOF
114075 cat >>confdefs.h <<\_ACEOF
114076 #define HAVE___BUILTIN_COS 1
114077 _ACEOF
114079 cat >>confdefs.h <<\_ACEOF
114080 #define HAVE___BUILTIN_COSF 1
114081 _ACEOF
114083 cat >>confdefs.h <<\_ACEOF
114084 #define HAVE___BUILTIN_SIN 1
114085 _ACEOF
114087 cat >>confdefs.h <<\_ACEOF
114088 #define HAVE___BUILTIN_SINF 1
114089 _ACEOF
114093 case "$target" in
114094 *-*-solaris2.10)
114095 # These two C99 functions are present only in Solaris >= 10
114096 cat >>confdefs.h <<\_ACEOF
114097 #define HAVE_STRTOF 1
114098 _ACEOF
114100 cat >>confdefs.h <<\_ACEOF
114101 #define HAVE_STRTOLD 1
114102 _ACEOF
114106 cat >>confdefs.h <<\_ACEOF
114107 #define HAVE_MMAP 1
114108 _ACEOF
114110 cat >>confdefs.h <<\_ACEOF
114111 #define HAVE_COPYSIGN 1
114112 _ACEOF
114114 cat >>confdefs.h <<\_ACEOF
114115 #define HAVE_ISNAN 1
114116 _ACEOF
114118 cat >>confdefs.h <<\_ACEOF
114119 #define HAVE_ISNANF 1
114120 _ACEOF
114122 cat >>confdefs.h <<\_ACEOF
114123 #define HAVE_MODFF 1
114124 _ACEOF
114126 cat >>confdefs.h <<\_ACEOF
114127 #define HAVE_HYPOT 1
114128 _ACEOF
114131 *-tpf)
114140 for ac_header in nan.h endian.h machine/endian.h \
114141 sys/param.h sys/types.h locale.h float.h inttypes.h
114143 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
114144 if eval "test \"\${$as_ac_Header+set}\" = set"; then
114145 echo "$as_me:$LINENO: checking for $ac_header" >&5
114146 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
114147 if eval "test \"\${$as_ac_Header+set}\" = set"; then
114148 echo $ECHO_N "(cached) $ECHO_C" >&6
114150 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
114151 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
114153 # Is the header compilable?
114154 echo "$as_me:$LINENO: checking $ac_header usability" >&5
114155 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
114156 cat >conftest.$ac_ext <<_ACEOF
114157 /* confdefs.h. */
114158 _ACEOF
114159 cat confdefs.h >>conftest.$ac_ext
114160 cat >>conftest.$ac_ext <<_ACEOF
114161 /* end confdefs.h. */
114162 $ac_includes_default
114163 #include <$ac_header>
114164 _ACEOF
114165 rm -f conftest.$ac_objext
114166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114167 (eval $ac_compile) 2>conftest.er1
114168 ac_status=$?
114169 grep -v '^ *+' conftest.er1 >conftest.err
114170 rm -f conftest.er1
114171 cat conftest.err >&5
114172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114173 (exit $ac_status); } &&
114174 { ac_try='test -z "$ac_c_werror_flag"
114175 || test ! -s conftest.err'
114176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114177 (eval $ac_try) 2>&5
114178 ac_status=$?
114179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114180 (exit $ac_status); }; } &&
114181 { ac_try='test -s conftest.$ac_objext'
114182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114183 (eval $ac_try) 2>&5
114184 ac_status=$?
114185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114186 (exit $ac_status); }; }; then
114187 ac_header_compiler=yes
114189 echo "$as_me: failed program was:" >&5
114190 sed 's/^/| /' conftest.$ac_ext >&5
114192 ac_header_compiler=no
114194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114195 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
114196 echo "${ECHO_T}$ac_header_compiler" >&6
114198 # Is the header present?
114199 echo "$as_me:$LINENO: checking $ac_header presence" >&5
114200 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
114201 cat >conftest.$ac_ext <<_ACEOF
114202 /* confdefs.h. */
114203 _ACEOF
114204 cat confdefs.h >>conftest.$ac_ext
114205 cat >>conftest.$ac_ext <<_ACEOF
114206 /* end confdefs.h. */
114207 #include <$ac_header>
114208 _ACEOF
114209 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
114210 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
114211 ac_status=$?
114212 grep -v '^ *+' conftest.er1 >conftest.err
114213 rm -f conftest.er1
114214 cat conftest.err >&5
114215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114216 (exit $ac_status); } >/dev/null; then
114217 if test -s conftest.err; then
114218 ac_cpp_err=$ac_c_preproc_warn_flag
114219 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
114221 ac_cpp_err=
114224 ac_cpp_err=yes
114226 if test -z "$ac_cpp_err"; then
114227 ac_header_preproc=yes
114229 echo "$as_me: failed program was:" >&5
114230 sed 's/^/| /' conftest.$ac_ext >&5
114232 ac_header_preproc=no
114234 rm -f conftest.err conftest.$ac_ext
114235 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
114236 echo "${ECHO_T}$ac_header_preproc" >&6
114238 # So? What about this header?
114239 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
114240 yes:no: )
114241 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
114242 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
114243 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
114244 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
114245 ac_header_preproc=yes
114247 no:yes:* )
114248 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
114249 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
114250 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
114251 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
114252 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
114253 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
114254 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
114255 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
114256 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
114257 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
114258 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
114259 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
114261 cat <<\_ASBOX
114262 ## ----------------------------------------- ##
114263 ## Report this to the package-unused lists. ##
114264 ## ----------------------------------------- ##
114265 _ASBOX
114267 sed "s/^/$as_me: WARNING: /" >&2
114270 echo "$as_me:$LINENO: checking for $ac_header" >&5
114271 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
114272 if eval "test \"\${$as_ac_Header+set}\" = set"; then
114273 echo $ECHO_N "(cached) $ECHO_C" >&6
114275 eval "$as_ac_Header=\$ac_header_preproc"
114277 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
114278 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
114281 if test `eval echo '${'$as_ac_Header'}'` = yes; then
114282 cat >>confdefs.h <<_ACEOF
114283 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
114284 _ACEOF
114290 SECTION_FLAGS='-ffunction-sections -fdata-sections'
114293 # If we're not using GNU ld, then there's no point in even trying these
114294 # tests. Check for that first. We should have already tested for gld
114295 # by now (in libtool), but require it now just to be safe...
114296 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
114297 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
114301 # The name set by libtool depends on the version of libtool. Shame on us
114302 # for depending on an impl detail, but c'est la vie. Older versions used
114303 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
114304 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
114305 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
114306 # set (hence we're using an older libtool), then set it.
114307 if test x${with_gnu_ld+set} != xset; then
114308 if test x${ac_cv_prog_gnu_ld+set} != xset; then
114309 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
114310 with_gnu_ld=no
114312 with_gnu_ld=$ac_cv_prog_gnu_ld
114316 # Start by getting the version number. I think the libtool test already
114317 # does some of this, but throws away the result.
114318 if test x"$with_gnu_ld" = x"yes"; then
114319 echo "$as_me:$LINENO: checking for ld version" >&5
114320 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
114322 ldver=`$LD --version 2>/dev/null | head -1 | \
114323 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
114325 glibcxx_gnu_ld_version=`echo $ldver | \
114326 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
114327 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
114328 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
114331 # Set --gc-sections.
114332 glibcxx_gcsections_min_ld=21602
114333 if test x"$with_gnu_ld" = x"yes" &&
114334 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
114336 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
114337 # NB: This flag only works reliably after 2.16.1. Configure tests
114338 # for this are difficult, so hard wire a value that should work.
114340 ac_test_CFLAGS="${CFLAGS+set}"
114341 ac_save_CFLAGS="$CFLAGS"
114342 CFLAGS='-Wl,--gc-sections'
114344 # Check for -Wl,--gc-sections
114345 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
114346 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
114347 if test x$gcc_no_link = xyes; then
114348 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114349 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114350 { (exit 1); exit 1; }; }
114352 cat >conftest.$ac_ext <<_ACEOF
114353 /* confdefs.h. */
114354 _ACEOF
114355 cat confdefs.h >>conftest.$ac_ext
114356 cat >>conftest.$ac_ext <<_ACEOF
114357 /* end confdefs.h. */
114358 int one(void) { return 1; }
114359 int two(void) { return 2; }
114362 main ()
114364 two();
114366 return 0;
114368 _ACEOF
114369 rm -f conftest.$ac_objext conftest$ac_exeext
114370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114371 (eval $ac_link) 2>conftest.er1
114372 ac_status=$?
114373 grep -v '^ *+' conftest.er1 >conftest.err
114374 rm -f conftest.er1
114375 cat conftest.err >&5
114376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114377 (exit $ac_status); } &&
114378 { ac_try='test -z "$ac_c_werror_flag"
114379 || test ! -s conftest.err'
114380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114381 (eval $ac_try) 2>&5
114382 ac_status=$?
114383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114384 (exit $ac_status); }; } &&
114385 { ac_try='test -s conftest$ac_exeext'
114386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114387 (eval $ac_try) 2>&5
114388 ac_status=$?
114389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114390 (exit $ac_status); }; }; then
114391 ac_gcsections=yes
114393 echo "$as_me: failed program was:" >&5
114394 sed 's/^/| /' conftest.$ac_ext >&5
114396 ac_gcsections=no
114398 rm -f conftest.err conftest.$ac_objext \
114399 conftest$ac_exeext conftest.$ac_ext
114400 if test "$ac_gcsections" = "yes"; then
114401 rm -f conftest.c
114402 touch conftest.c
114403 if $CC -c conftest.c; then
114404 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
114405 grep "Warning: gc-sections option ignored" > /dev/null; then
114406 ac_gcsections=no
114409 rm -f conftest.c conftest.o conftest
114411 if test "$ac_gcsections" = "yes"; then
114412 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
114414 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
114415 echo "${ECHO_T}$ac_gcsections" >&6
114417 if test "$ac_test_CFLAGS" = set; then
114418 CFLAGS="$ac_save_CFLAGS"
114420 # this is the suspicious part
114421 CFLAGS=''
114425 # Set -z,relro.
114426 # Note this is only for shared objects.
114427 ac_ld_relro=no
114428 if test x"$with_gnu_ld" = x"yes"; then
114429 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
114430 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
114431 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
114432 if test -n "$cxx_z_relo"; then
114433 OPT_LDFLAGS="-Wl,-z,relro"
114434 ac_ld_relro=yes
114436 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
114437 echo "${ECHO_T}$ac_ld_relro" >&6
114440 # Set linker optimization flags.
114441 if test x"$with_gnu_ld" = x"yes"; then
114442 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
114450 echo "$as_me:$LINENO: checking for main in -lm" >&5
114451 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
114452 if test "${ac_cv_lib_m_main+set}" = set; then
114453 echo $ECHO_N "(cached) $ECHO_C" >&6
114455 ac_check_lib_save_LIBS=$LIBS
114456 LIBS="-lm $LIBS"
114457 if test x$gcc_no_link = xyes; then
114458 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114459 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114460 { (exit 1); exit 1; }; }
114462 cat >conftest.$ac_ext <<_ACEOF
114463 /* confdefs.h. */
114464 _ACEOF
114465 cat confdefs.h >>conftest.$ac_ext
114466 cat >>conftest.$ac_ext <<_ACEOF
114467 /* end confdefs.h. */
114471 main ()
114473 main ();
114475 return 0;
114477 _ACEOF
114478 rm -f conftest.$ac_objext conftest$ac_exeext
114479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114480 (eval $ac_link) 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_exeext'
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 ac_cv_lib_m_main=yes
114502 echo "$as_me: failed program was:" >&5
114503 sed 's/^/| /' conftest.$ac_ext >&5
114505 ac_cv_lib_m_main=no
114507 rm -f conftest.err conftest.$ac_objext \
114508 conftest$ac_exeext conftest.$ac_ext
114509 LIBS=$ac_check_lib_save_LIBS
114511 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
114512 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
114513 if test $ac_cv_lib_m_main = yes; then
114514 cat >>confdefs.h <<_ACEOF
114515 #define HAVE_LIBM 1
114516 _ACEOF
114518 LIBS="-lm $LIBS"
114523 for ac_func in copysignf
114525 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
114526 echo "$as_me:$LINENO: checking for $ac_func" >&5
114527 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
114528 if eval "test \"\${$as_ac_var+set}\" = set"; then
114529 echo $ECHO_N "(cached) $ECHO_C" >&6
114531 if test x$gcc_no_link = xyes; then
114532 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114533 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114534 { (exit 1); exit 1; }; }
114536 cat >conftest.$ac_ext <<_ACEOF
114537 /* confdefs.h. */
114538 _ACEOF
114539 cat confdefs.h >>conftest.$ac_ext
114540 cat >>conftest.$ac_ext <<_ACEOF
114541 /* end confdefs.h. */
114542 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
114543 For example, HP-UX 11i <limits.h> declares gettimeofday. */
114544 #define $ac_func innocuous_$ac_func
114546 /* System header to define __stub macros and hopefully few prototypes,
114547 which can conflict with char $ac_func (); below.
114548 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
114549 <limits.h> exists even on freestanding compilers. */
114551 #ifdef __STDC__
114552 # include <limits.h>
114553 #else
114554 # include <assert.h>
114555 #endif
114557 #undef $ac_func
114559 /* Override any gcc2 internal prototype to avoid an error. */
114560 #ifdef __cplusplus
114561 extern "C"
114563 #endif
114564 /* We use char because int might match the return type of a gcc2
114565 builtin and then its argument prototype would still apply. */
114566 char $ac_func ();
114567 /* The GNU C library defines this for functions which it implements
114568 to always fail with ENOSYS. Some functions are actually named
114569 something starting with __ and the normal name is an alias. */
114570 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
114571 choke me
114572 #else
114573 char (*f) () = $ac_func;
114574 #endif
114575 #ifdef __cplusplus
114577 #endif
114580 main ()
114582 return f != $ac_func;
114584 return 0;
114586 _ACEOF
114587 rm -f conftest.$ac_objext conftest$ac_exeext
114588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114589 (eval $ac_link) 2>conftest.er1
114590 ac_status=$?
114591 grep -v '^ *+' conftest.er1 >conftest.err
114592 rm -f conftest.er1
114593 cat conftest.err >&5
114594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114595 (exit $ac_status); } &&
114596 { ac_try='test -z "$ac_c_werror_flag"
114597 || test ! -s conftest.err'
114598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114599 (eval $ac_try) 2>&5
114600 ac_status=$?
114601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114602 (exit $ac_status); }; } &&
114603 { ac_try='test -s conftest$ac_exeext'
114604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114605 (eval $ac_try) 2>&5
114606 ac_status=$?
114607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114608 (exit $ac_status); }; }; then
114609 eval "$as_ac_var=yes"
114611 echo "$as_me: failed program was:" >&5
114612 sed 's/^/| /' conftest.$ac_ext >&5
114614 eval "$as_ac_var=no"
114616 rm -f conftest.err conftest.$ac_objext \
114617 conftest$ac_exeext conftest.$ac_ext
114619 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
114620 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
114621 if test `eval echo '${'$as_ac_var'}'` = yes; then
114622 cat >>confdefs.h <<_ACEOF
114623 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
114624 _ACEOF
114627 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
114633 for ac_func in __signbit
114635 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
114636 echo "$as_me:$LINENO: checking for $ac_func" >&5
114637 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
114638 if eval "test \"\${$as_ac_var+set}\" = set"; then
114639 echo $ECHO_N "(cached) $ECHO_C" >&6
114641 if test x$gcc_no_link = xyes; then
114642 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114643 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114644 { (exit 1); exit 1; }; }
114646 cat >conftest.$ac_ext <<_ACEOF
114647 /* confdefs.h. */
114648 _ACEOF
114649 cat confdefs.h >>conftest.$ac_ext
114650 cat >>conftest.$ac_ext <<_ACEOF
114651 /* end confdefs.h. */
114652 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
114653 For example, HP-UX 11i <limits.h> declares gettimeofday. */
114654 #define $ac_func innocuous_$ac_func
114656 /* System header to define __stub macros and hopefully few prototypes,
114657 which can conflict with char $ac_func (); below.
114658 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
114659 <limits.h> exists even on freestanding compilers. */
114661 #ifdef __STDC__
114662 # include <limits.h>
114663 #else
114664 # include <assert.h>
114665 #endif
114667 #undef $ac_func
114669 /* Override any gcc2 internal prototype to avoid an error. */
114670 #ifdef __cplusplus
114671 extern "C"
114673 #endif
114674 /* We use char because int might match the return type of a gcc2
114675 builtin and then its argument prototype would still apply. */
114676 char $ac_func ();
114677 /* The GNU C library defines this for functions which it implements
114678 to always fail with ENOSYS. Some functions are actually named
114679 something starting with __ and the normal name is an alias. */
114680 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
114681 choke me
114682 #else
114683 char (*f) () = $ac_func;
114684 #endif
114685 #ifdef __cplusplus
114687 #endif
114690 main ()
114692 return f != $ac_func;
114694 return 0;
114696 _ACEOF
114697 rm -f conftest.$ac_objext conftest$ac_exeext
114698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114699 (eval $ac_link) 2>conftest.er1
114700 ac_status=$?
114701 grep -v '^ *+' conftest.er1 >conftest.err
114702 rm -f conftest.er1
114703 cat conftest.err >&5
114704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114705 (exit $ac_status); } &&
114706 { ac_try='test -z "$ac_c_werror_flag"
114707 || test ! -s conftest.err'
114708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114709 (eval $ac_try) 2>&5
114710 ac_status=$?
114711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114712 (exit $ac_status); }; } &&
114713 { ac_try='test -s conftest$ac_exeext'
114714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114715 (eval $ac_try) 2>&5
114716 ac_status=$?
114717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114718 (exit $ac_status); }; }; then
114719 eval "$as_ac_var=yes"
114721 echo "$as_me: failed program was:" >&5
114722 sed 's/^/| /' conftest.$ac_ext >&5
114724 eval "$as_ac_var=no"
114726 rm -f conftest.err conftest.$ac_objext \
114727 conftest$ac_exeext conftest.$ac_ext
114729 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
114730 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
114731 if test `eval echo '${'$as_ac_var'}'` = yes; then
114732 cat >>confdefs.h <<_ACEOF
114733 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
114734 _ACEOF
114737 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
114743 for ac_func in __signbitf
114745 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
114746 echo "$as_me:$LINENO: checking for $ac_func" >&5
114747 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
114748 if eval "test \"\${$as_ac_var+set}\" = set"; then
114749 echo $ECHO_N "(cached) $ECHO_C" >&6
114751 if test x$gcc_no_link = xyes; then
114752 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114753 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114754 { (exit 1); exit 1; }; }
114756 cat >conftest.$ac_ext <<_ACEOF
114757 /* confdefs.h. */
114758 _ACEOF
114759 cat confdefs.h >>conftest.$ac_ext
114760 cat >>conftest.$ac_ext <<_ACEOF
114761 /* end confdefs.h. */
114762 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
114763 For example, HP-UX 11i <limits.h> declares gettimeofday. */
114764 #define $ac_func innocuous_$ac_func
114766 /* System header to define __stub macros and hopefully few prototypes,
114767 which can conflict with char $ac_func (); below.
114768 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
114769 <limits.h> exists even on freestanding compilers. */
114771 #ifdef __STDC__
114772 # include <limits.h>
114773 #else
114774 # include <assert.h>
114775 #endif
114777 #undef $ac_func
114779 /* Override any gcc2 internal prototype to avoid an error. */
114780 #ifdef __cplusplus
114781 extern "C"
114783 #endif
114784 /* We use char because int might match the return type of a gcc2
114785 builtin and then its argument prototype would still apply. */
114786 char $ac_func ();
114787 /* The GNU C library defines this for functions which it implements
114788 to always fail with ENOSYS. Some functions are actually named
114789 something starting with __ and the normal name is an alias. */
114790 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
114791 choke me
114792 #else
114793 char (*f) () = $ac_func;
114794 #endif
114795 #ifdef __cplusplus
114797 #endif
114800 main ()
114802 return f != $ac_func;
114804 return 0;
114806 _ACEOF
114807 rm -f conftest.$ac_objext conftest$ac_exeext
114808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114809 (eval $ac_link) 2>conftest.er1
114810 ac_status=$?
114811 grep -v '^ *+' conftest.er1 >conftest.err
114812 rm -f conftest.er1
114813 cat conftest.err >&5
114814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114815 (exit $ac_status); } &&
114816 { ac_try='test -z "$ac_c_werror_flag"
114817 || test ! -s conftest.err'
114818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114819 (eval $ac_try) 2>&5
114820 ac_status=$?
114821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114822 (exit $ac_status); }; } &&
114823 { ac_try='test -s conftest$ac_exeext'
114824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114825 (eval $ac_try) 2>&5
114826 ac_status=$?
114827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114828 (exit $ac_status); }; }; then
114829 eval "$as_ac_var=yes"
114831 echo "$as_me: failed program was:" >&5
114832 sed 's/^/| /' conftest.$ac_ext >&5
114834 eval "$as_ac_var=no"
114836 rm -f conftest.err conftest.$ac_objext \
114837 conftest$ac_exeext conftest.$ac_ext
114839 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
114840 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
114841 if test `eval echo '${'$as_ac_var'}'` = yes; then
114842 cat >>confdefs.h <<_ACEOF
114843 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
114844 _ACEOF
114847 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
114852 if test x$ac_cv_func_copysignl = x"yes"; then
114854 for ac_func in __signbitl
114856 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
114857 echo "$as_me:$LINENO: checking for $ac_func" >&5
114858 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
114859 if eval "test \"\${$as_ac_var+set}\" = set"; then
114860 echo $ECHO_N "(cached) $ECHO_C" >&6
114862 if test x$gcc_no_link = xyes; then
114863 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114864 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114865 { (exit 1); exit 1; }; }
114867 cat >conftest.$ac_ext <<_ACEOF
114868 /* confdefs.h. */
114869 _ACEOF
114870 cat confdefs.h >>conftest.$ac_ext
114871 cat >>conftest.$ac_ext <<_ACEOF
114872 /* end confdefs.h. */
114873 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
114874 For example, HP-UX 11i <limits.h> declares gettimeofday. */
114875 #define $ac_func innocuous_$ac_func
114877 /* System header to define __stub macros and hopefully few prototypes,
114878 which can conflict with char $ac_func (); below.
114879 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
114880 <limits.h> exists even on freestanding compilers. */
114882 #ifdef __STDC__
114883 # include <limits.h>
114884 #else
114885 # include <assert.h>
114886 #endif
114888 #undef $ac_func
114890 /* Override any gcc2 internal prototype to avoid an error. */
114891 #ifdef __cplusplus
114892 extern "C"
114894 #endif
114895 /* We use char because int might match the return type of a gcc2
114896 builtin and then its argument prototype would still apply. */
114897 char $ac_func ();
114898 /* The GNU C library defines this for functions which it implements
114899 to always fail with ENOSYS. Some functions are actually named
114900 something starting with __ and the normal name is an alias. */
114901 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
114902 choke me
114903 #else
114904 char (*f) () = $ac_func;
114905 #endif
114906 #ifdef __cplusplus
114908 #endif
114911 main ()
114913 return f != $ac_func;
114915 return 0;
114917 _ACEOF
114918 rm -f conftest.$ac_objext conftest$ac_exeext
114919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114920 (eval $ac_link) 2>conftest.er1
114921 ac_status=$?
114922 grep -v '^ *+' conftest.er1 >conftest.err
114923 rm -f conftest.er1
114924 cat conftest.err >&5
114925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114926 (exit $ac_status); } &&
114927 { ac_try='test -z "$ac_c_werror_flag"
114928 || test ! -s conftest.err'
114929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114930 (eval $ac_try) 2>&5
114931 ac_status=$?
114932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114933 (exit $ac_status); }; } &&
114934 { ac_try='test -s conftest$ac_exeext'
114935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114936 (eval $ac_try) 2>&5
114937 ac_status=$?
114938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114939 (exit $ac_status); }; }; then
114940 eval "$as_ac_var=yes"
114942 echo "$as_me: failed program was:" >&5
114943 sed 's/^/| /' conftest.$ac_ext >&5
114945 eval "$as_ac_var=no"
114947 rm -f conftest.err conftest.$ac_objext \
114948 conftest$ac_exeext conftest.$ac_ext
114950 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
114951 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
114952 if test `eval echo '${'$as_ac_var'}'` = yes; then
114953 cat >>confdefs.h <<_ACEOF
114954 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
114955 _ACEOF
114958 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
114964 # Used in libmath/Makefile.am.
114965 if test -n "$LIBMATHOBJS"; then
114966 need_libmath=yes
114970 cat >>confdefs.h <<\_ACEOF
114971 #define HAVE_COPYSIGN 1
114972 _ACEOF
114974 cat >>confdefs.h <<\_ACEOF
114975 #define HAVE_COPYSIGNF 1
114976 _ACEOF
114978 cat >>confdefs.h <<\_ACEOF
114979 #define HAVE_FINITE 1
114980 _ACEOF
114982 cat >>confdefs.h <<\_ACEOF
114983 #define HAVE_FINITEF 1
114984 _ACEOF
114986 cat >>confdefs.h <<\_ACEOF
114987 #define HAVE_FREXPF 1
114988 _ACEOF
114990 cat >>confdefs.h <<\_ACEOF
114991 #define HAVE_HYPOTF 1
114992 _ACEOF
114994 cat >>confdefs.h <<\_ACEOF
114995 #define HAVE_ISINF 1
114996 _ACEOF
114998 cat >>confdefs.h <<\_ACEOF
114999 #define HAVE_ISINFF 1
115000 _ACEOF
115002 cat >>confdefs.h <<\_ACEOF
115003 #define HAVE_ISNAN 1
115004 _ACEOF
115006 cat >>confdefs.h <<\_ACEOF
115007 #define HAVE_ISNANF 1
115008 _ACEOF
115010 cat >>confdefs.h <<\_ACEOF
115011 #define HAVE_SINCOS 1
115012 _ACEOF
115014 cat >>confdefs.h <<\_ACEOF
115015 #define HAVE_SINCOSF 1
115016 _ACEOF
115018 if test x"long_double_math_on_this_cpu" = x"yes"; then
115019 cat >>confdefs.h <<\_ACEOF
115020 #define HAVE_FINITEL 1
115021 _ACEOF
115023 cat >>confdefs.h <<\_ACEOF
115024 #define HAVE_HYPOTL 1
115025 _ACEOF
115027 cat >>confdefs.h <<\_ACEOF
115028 #define HAVE_ISINFL 1
115029 _ACEOF
115031 cat >>confdefs.h <<\_ACEOF
115032 #define HAVE_ISNANL 1
115033 _ACEOF
115037 *-vxworks)
115038 cat >>confdefs.h <<\_ACEOF
115039 #define HAVE_MMAP 1
115040 _ACEOF
115042 cat >>confdefs.h <<\_ACEOF
115043 #define HAVE_ACOSF 1
115044 _ACEOF
115046 cat >>confdefs.h <<\_ACEOF
115047 #define HAVE_ASINF 1
115048 _ACEOF
115050 cat >>confdefs.h <<\_ACEOF
115051 #define HAVE_ATAN2F 1
115052 _ACEOF
115054 cat >>confdefs.h <<\_ACEOF
115055 #define HAVE_ATANF 1
115056 _ACEOF
115058 cat >>confdefs.h <<\_ACEOF
115059 #define HAVE_CEILF 1
115060 _ACEOF
115062 cat >>confdefs.h <<\_ACEOF
115063 #define HAVE_COSF 1
115064 _ACEOF
115066 cat >>confdefs.h <<\_ACEOF
115067 #define HAVE_COSHF 1
115068 _ACEOF
115070 cat >>confdefs.h <<\_ACEOF
115071 #define HAVE_EXPF 1
115072 _ACEOF
115074 cat >>confdefs.h <<\_ACEOF
115075 #define HAVE_FABSF 1
115076 _ACEOF
115078 cat >>confdefs.h <<\_ACEOF
115079 #define HAVE_FLOORF 1
115080 _ACEOF
115082 cat >>confdefs.h <<\_ACEOF
115083 #define HAVE_FMODF 1
115084 _ACEOF
115086 cat >>confdefs.h <<\_ACEOF
115087 #define HAVE_HYPOT 1
115088 _ACEOF
115090 cat >>confdefs.h <<\_ACEOF
115091 #define HAVE_LOG10F 1
115092 _ACEOF
115094 cat >>confdefs.h <<\_ACEOF
115095 #define HAVE_LOGF 1
115096 _ACEOF
115098 cat >>confdefs.h <<\_ACEOF
115099 #define HAVE_POWF 1
115100 _ACEOF
115102 cat >>confdefs.h <<\_ACEOF
115103 #define HAVE_SINF 1
115104 _ACEOF
115106 cat >>confdefs.h <<\_ACEOF
115107 #define HAVE_SINHF 1
115108 _ACEOF
115110 cat >>confdefs.h <<\_ACEOF
115111 #define HAVE_SQRTF 1
115112 _ACEOF
115114 cat >>confdefs.h <<\_ACEOF
115115 #define HAVE_TANF 1
115116 _ACEOF
115118 cat >>confdefs.h <<\_ACEOF
115119 #define HAVE_TANHF 1
115120 _ACEOF
115123 *-windiss*)
115124 cat >>confdefs.h <<\_ACEOF
115125 #define HAVE_ACOSF 1
115126 _ACEOF
115128 cat >>confdefs.h <<\_ACEOF
115129 #define HAVE_ACOSL 1
115130 _ACEOF
115132 cat >>confdefs.h <<\_ACEOF
115133 #define HAVE_ASINF 1
115134 _ACEOF
115136 cat >>confdefs.h <<\_ACEOF
115137 #define HAVE_ASINL 1
115138 _ACEOF
115140 cat >>confdefs.h <<\_ACEOF
115141 #define HAVE_ATAN2F 1
115142 _ACEOF
115144 cat >>confdefs.h <<\_ACEOF
115145 #define HAVE_ATAN2L 1
115146 _ACEOF
115148 cat >>confdefs.h <<\_ACEOF
115149 #define HAVE_ATANF 1
115150 _ACEOF
115152 cat >>confdefs.h <<\_ACEOF
115153 #define HAVE_ATANL 1
115154 _ACEOF
115156 cat >>confdefs.h <<\_ACEOF
115157 #define HAVE_CEILF 1
115158 _ACEOF
115160 cat >>confdefs.h <<\_ACEOF
115161 #define HAVE_CEILL 1
115162 _ACEOF
115164 cat >>confdefs.h <<\_ACEOF
115165 #define HAVE_COPYSIGN 1
115166 _ACEOF
115168 cat >>confdefs.h <<\_ACEOF
115169 #define HAVE_COPYSIGNF 1
115170 _ACEOF
115172 cat >>confdefs.h <<\_ACEOF
115173 #define HAVE_COSF 1
115174 _ACEOF
115176 cat >>confdefs.h <<\_ACEOF
115177 #define HAVE_COSL 1
115178 _ACEOF
115180 cat >>confdefs.h <<\_ACEOF
115181 #define HAVE_COSHF 1
115182 _ACEOF
115184 cat >>confdefs.h <<\_ACEOF
115185 #define HAVE_COSHL 1
115186 _ACEOF
115188 cat >>confdefs.h <<\_ACEOF
115189 #define HAVE_EXPF 1
115190 _ACEOF
115192 cat >>confdefs.h <<\_ACEOF
115193 #define HAVE_EXPL 1
115194 _ACEOF
115196 cat >>confdefs.h <<\_ACEOF
115197 #define HAVE_FABSF 1
115198 _ACEOF
115200 cat >>confdefs.h <<\_ACEOF
115201 #define HAVE_FABSL 1
115202 _ACEOF
115204 cat >>confdefs.h <<\_ACEOF
115205 #define HAVE_FLOORF 1
115206 _ACEOF
115208 cat >>confdefs.h <<\_ACEOF
115209 #define HAVE_FLOORL 1
115210 _ACEOF
115212 cat >>confdefs.h <<\_ACEOF
115213 #define HAVE_FMODF 1
115214 _ACEOF
115216 cat >>confdefs.h <<\_ACEOF
115217 #define HAVE_FMODL 1
115218 _ACEOF
115220 cat >>confdefs.h <<\_ACEOF
115221 #define HAVE_FREXPF 1
115222 _ACEOF
115224 cat >>confdefs.h <<\_ACEOF
115225 #define HAVE_FREXPL 1
115226 _ACEOF
115228 cat >>confdefs.h <<\_ACEOF
115229 #define HAVE_LDEXPF 1
115230 _ACEOF
115232 cat >>confdefs.h <<\_ACEOF
115233 #define HAVE_LDEXPL 1
115234 _ACEOF
115236 cat >>confdefs.h <<\_ACEOF
115237 #define HAVE_LOG10F 1
115238 _ACEOF
115240 cat >>confdefs.h <<\_ACEOF
115241 #define HAVE_LOG10L 1
115242 _ACEOF
115244 cat >>confdefs.h <<\_ACEOF
115245 #define HAVE_LOGF 1
115246 _ACEOF
115248 cat >>confdefs.h <<\_ACEOF
115249 #define HAVE_MODFF 1
115250 _ACEOF
115252 cat >>confdefs.h <<\_ACEOF
115253 #define HAVE_MODFL 1
115254 _ACEOF
115256 cat >>confdefs.h <<\_ACEOF
115257 #define HAVE_POWF 1
115258 _ACEOF
115260 cat >>confdefs.h <<\_ACEOF
115261 #define HAVE_POWL 1
115262 _ACEOF
115264 cat >>confdefs.h <<\_ACEOF
115265 #define HAVE_SINF 1
115266 _ACEOF
115268 cat >>confdefs.h <<\_ACEOF
115269 #define HAVE_SINL 1
115270 _ACEOF
115272 cat >>confdefs.h <<\_ACEOF
115273 #define HAVE_SINHF 1
115274 _ACEOF
115276 cat >>confdefs.h <<\_ACEOF
115277 #define HAVE_SINHL 1
115278 _ACEOF
115280 cat >>confdefs.h <<\_ACEOF
115281 #define HAVE_SQRTF 1
115282 _ACEOF
115284 cat >>confdefs.h <<\_ACEOF
115285 #define HAVE_SQRTL 1
115286 _ACEOF
115288 cat >>confdefs.h <<\_ACEOF
115289 #define HAVE_TANF 1
115290 _ACEOF
115292 cat >>confdefs.h <<\_ACEOF
115293 #define HAVE_TANL 1
115294 _ACEOF
115296 cat >>confdefs.h <<\_ACEOF
115297 #define HAVE_TANHF 1
115298 _ACEOF
115300 cat >>confdefs.h <<\_ACEOF
115301 #define HAVE_TANHL 1
115302 _ACEOF
115306 { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
115307 echo "$as_me: error: No support for this host/target combination." >&2;}
115308 { (exit 1); exit 1; }; }
115314 # At some point, we should differentiate between architectures
115315 # like x86, which have long double versions, and alpha/powerpc/etc.,
115316 # which don't. For the time being, punt.
115317 if test x"long_double_math_on_this_cpu" = x"yes"; then
115318 cat >>confdefs.h <<\_ACEOF
115319 #define HAVE_ACOSL 1
115320 _ACEOF
115322 cat >>confdefs.h <<\_ACEOF
115323 #define HAVE_ASINL 1
115324 _ACEOF
115326 cat >>confdefs.h <<\_ACEOF
115327 #define HAVE_ATAN2L 1
115328 _ACEOF
115330 cat >>confdefs.h <<\_ACEOF
115331 #define HAVE_ATANL 1
115332 _ACEOF
115334 cat >>confdefs.h <<\_ACEOF
115335 #define HAVE_CEILL 1
115336 _ACEOF
115338 cat >>confdefs.h <<\_ACEOF
115339 #define HAVE_COPYSIGNL 1
115340 _ACEOF
115342 cat >>confdefs.h <<\_ACEOF
115343 #define HAVE_COSL 1
115344 _ACEOF
115346 cat >>confdefs.h <<\_ACEOF
115347 #define HAVE_COSHL 1
115348 _ACEOF
115350 cat >>confdefs.h <<\_ACEOF
115351 #define HAVE_EXPL 1
115352 _ACEOF
115354 cat >>confdefs.h <<\_ACEOF
115355 #define HAVE_FABSL 1
115356 _ACEOF
115358 cat >>confdefs.h <<\_ACEOF
115359 #define HAVE_FLOORL 1
115360 _ACEOF
115362 cat >>confdefs.h <<\_ACEOF
115363 #define HAVE_FMODL 1
115364 _ACEOF
115366 cat >>confdefs.h <<\_ACEOF
115367 #define HAVE_FREXPL 1
115368 _ACEOF
115370 cat >>confdefs.h <<\_ACEOF
115371 #define HAVE_LDEXPL 1
115372 _ACEOF
115374 cat >>confdefs.h <<\_ACEOF
115375 #define HAVE_LOG10L 1
115376 _ACEOF
115378 cat >>confdefs.h <<\_ACEOF
115379 #define HAVE_LOGL 1
115380 _ACEOF
115382 cat >>confdefs.h <<\_ACEOF
115383 #define HAVE_MODFL 1
115384 _ACEOF
115386 cat >>confdefs.h <<\_ACEOF
115387 #define HAVE_POWL 1
115388 _ACEOF
115390 cat >>confdefs.h <<\_ACEOF
115391 #define HAVE_SINCOSL 1
115392 _ACEOF
115394 cat >>confdefs.h <<\_ACEOF
115395 #define HAVE_SINL 1
115396 _ACEOF
115398 cat >>confdefs.h <<\_ACEOF
115399 #define HAVE_SINHL 1
115400 _ACEOF
115402 cat >>confdefs.h <<\_ACEOF
115403 #define HAVE_SQRTL 1
115404 _ACEOF
115406 cat >>confdefs.h <<\_ACEOF
115407 #define HAVE_TANL 1
115408 _ACEOF
115410 cat >>confdefs.h <<\_ACEOF
115411 #define HAVE_TANHL 1
115412 _ACEOF
115416 # Assume we have _Unwind_GetIPInfo for cross-compiles.
115417 cat >>confdefs.h <<\_ACEOF
115418 #define HAVE_GETIPINFO 1
115419 _ACEOF
115423 # Check whether --enable-linux-futex or --disable-linux-futex was given.
115424 if test "${enable_linux_futex+set}" = set; then
115425 enableval="$enable_linux_futex"
115427 case "$enableval" in
115428 yes|no|default) ;;
115429 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable linux-futex" >&5
115430 echo "$as_me: error: Unknown argument to enable/disable linux-futex" >&2;}
115431 { (exit 1); exit 1; }; } ;;
115435 enable_linux_futex=default
115438 case "$target" in
115439 *-linux*)
115440 case "$enable_linux_futex" in
115441 default)
115442 # If headers don't have gettid/futex syscalls definition, then
115443 # default to no, otherwise there will be compile time failures.
115444 # Otherwise, default to yes. If we don't detect we are
115445 # compiled/linked against NPTL and not cross-compiling, check
115446 # if programs are run by default against NPTL and if not, issue
115447 # a warning.
115448 enable_linux_futex=no
115449 if test x$gcc_no_link = xyes; then
115450 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115451 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115452 { (exit 1); exit 1; }; }
115454 cat >conftest.$ac_ext <<_ACEOF
115455 /* confdefs.h. */
115456 _ACEOF
115457 cat confdefs.h >>conftest.$ac_ext
115458 cat >>conftest.$ac_ext <<_ACEOF
115459 /* end confdefs.h. */
115460 #include <sys/syscall.h>
115461 int lk;
115463 main ()
115465 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
115467 return 0;
115469 _ACEOF
115470 rm -f conftest.$ac_objext conftest$ac_exeext
115471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115472 (eval $ac_link) 2>conftest.er1
115473 ac_status=$?
115474 grep -v '^ *+' conftest.er1 >conftest.err
115475 rm -f conftest.er1
115476 cat conftest.err >&5
115477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115478 (exit $ac_status); } &&
115479 { ac_try='test -z "$ac_c_werror_flag"
115480 || test ! -s conftest.err'
115481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115482 (eval $ac_try) 2>&5
115483 ac_status=$?
115484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115485 (exit $ac_status); }; } &&
115486 { ac_try='test -s conftest$ac_exeext'
115487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115488 (eval $ac_try) 2>&5
115489 ac_status=$?
115490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115491 (exit $ac_status); }; }; then
115492 save_LIBS="$LIBS"
115493 LIBS="-lpthread $LIBS"
115494 if test x$gcc_no_link = xyes; then
115495 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115496 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115497 { (exit 1); exit 1; }; }
115499 cat >conftest.$ac_ext <<_ACEOF
115500 /* confdefs.h. */
115501 _ACEOF
115502 cat confdefs.h >>conftest.$ac_ext
115503 cat >>conftest.$ac_ext <<_ACEOF
115504 /* end confdefs.h. */
115505 #ifndef _GNU_SOURCE
115506 #define _GNU_SOURCE 1
115507 #endif
115508 #include <pthread.h>
115509 pthread_t th; void *status;
115511 main ()
115513 pthread_tryjoin_np (th, &status);
115515 return 0;
115517 _ACEOF
115518 rm -f conftest.$ac_objext conftest$ac_exeext
115519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115520 (eval $ac_link) 2>conftest.er1
115521 ac_status=$?
115522 grep -v '^ *+' conftest.er1 >conftest.err
115523 rm -f conftest.er1
115524 cat conftest.err >&5
115525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115526 (exit $ac_status); } &&
115527 { ac_try='test -z "$ac_c_werror_flag"
115528 || test ! -s conftest.err'
115529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115530 (eval $ac_try) 2>&5
115531 ac_status=$?
115532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115533 (exit $ac_status); }; } &&
115534 { ac_try='test -s conftest$ac_exeext'
115535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115536 (eval $ac_try) 2>&5
115537 ac_status=$?
115538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115539 (exit $ac_status); }; }; then
115540 enable_linux_futex=yes
115542 echo "$as_me: failed program was:" >&5
115543 sed 's/^/| /' conftest.$ac_ext >&5
115545 if test x$cross_compiling = xno; then
115546 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
115547 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
115548 { echo "$as_me:$LINENO: WARNING: The kernel might not support futex or gettid syscalls.
115549 If so, please configure with --disable-linux-futex" >&5
115550 echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
115551 If so, please configure with --disable-linux-futex" >&2;}
115554 enable_linux_futex=yes
115556 rm -f conftest.err conftest.$ac_objext \
115557 conftest$ac_exeext conftest.$ac_ext
115558 LIBS="$save_LIBS"
115560 echo "$as_me: failed program was:" >&5
115561 sed 's/^/| /' conftest.$ac_ext >&5
115564 rm -f conftest.err conftest.$ac_objext \
115565 conftest$ac_exeext conftest.$ac_ext
115568 if test x$gcc_no_link = xyes; then
115569 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115570 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115571 { (exit 1); exit 1; }; }
115573 cat >conftest.$ac_ext <<_ACEOF
115574 /* confdefs.h. */
115575 _ACEOF
115576 cat confdefs.h >>conftest.$ac_ext
115577 cat >>conftest.$ac_ext <<_ACEOF
115578 /* end confdefs.h. */
115579 #include <sys/syscall.h>
115580 int lk;
115582 main ()
115584 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
115586 return 0;
115588 _ACEOF
115589 rm -f conftest.$ac_objext conftest$ac_exeext
115590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115591 (eval $ac_link) 2>conftest.er1
115592 ac_status=$?
115593 grep -v '^ *+' conftest.er1 >conftest.err
115594 rm -f conftest.er1
115595 cat conftest.err >&5
115596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115597 (exit $ac_status); } &&
115598 { ac_try='test -z "$ac_c_werror_flag"
115599 || test ! -s conftest.err'
115600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115601 (eval $ac_try) 2>&5
115602 ac_status=$?
115603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115604 (exit $ac_status); }; } &&
115605 { ac_try='test -s conftest$ac_exeext'
115606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115607 (eval $ac_try) 2>&5
115608 ac_status=$?
115609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115610 (exit $ac_status); }; }; then
115613 echo "$as_me: failed program was:" >&5
115614 sed 's/^/| /' conftest.$ac_ext >&5
115616 { { echo "$as_me:$LINENO: error: SYS_gettid and SYS_futex required for --enable-linux-futex" >&5
115617 echo "$as_me: error: SYS_gettid and SYS_futex required for --enable-linux-futex" >&2;}
115618 { (exit 1); exit 1; }; }
115620 rm -f conftest.err conftest.$ac_objext \
115621 conftest$ac_exeext conftest.$ac_ext
115626 enable_linux_futex=no
115629 if test x$enable_linux_futex = xyes; then
115631 cat >>confdefs.h <<\_ACEOF
115632 #define HAVE_LINUX_FUTEX 1
115633 _ACEOF
115638 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
115641 # Check whether --enable-symvers or --disable-symvers was given.
115642 if test "${enable_symvers+set}" = set; then
115643 enableval="$enable_symvers"
115645 case "$enableval" in
115646 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export) ;;
115647 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
115648 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
115649 { (exit 1); exit 1; }; } ;;
115653 enable_symvers=yes
115657 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
115658 # don't know enough about $LD to do tricks...
115661 # Turn a 'yes' into a suitable default.
115662 if test x$enable_symvers = xyes ; then
115663 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
115664 enable_symvers=no
115666 if test $with_gnu_ld = yes ; then
115667 enable_symvers=gnu
115669 case ${target_os} in
115670 darwin*)
115671 enable_symvers=darwin ;;
115673 enable_symvers=no ;;
115679 # Check to see if 'darwin' or 'darwin-export' can win.
115680 if test x$enable_symvers = xdarwin-export ; then
115681 enable_symvers=darwin
115684 # Check to see if 'gnu' can win.
115685 if test $enable_symvers = gnu || test $enable_symvers = gnu-versioned-namespace; then
115686 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
115687 echo "$as_me:$LINENO: checking for shared libgcc" >&5
115688 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
115689 ac_save_CFLAGS="$CFLAGS"
115690 CFLAGS=' -lgcc_s'
115691 if test x$gcc_no_link = xyes; then
115692 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115693 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115694 { (exit 1); exit 1; }; }
115696 cat >conftest.$ac_ext <<_ACEOF
115697 /* confdefs.h. */
115698 _ACEOF
115699 cat confdefs.h >>conftest.$ac_ext
115700 cat >>conftest.$ac_ext <<_ACEOF
115701 /* end confdefs.h. */
115704 main ()
115706 return 0;
115708 return 0;
115710 _ACEOF
115711 rm -f conftest.$ac_objext conftest$ac_exeext
115712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115713 (eval $ac_link) 2>conftest.er1
115714 ac_status=$?
115715 grep -v '^ *+' conftest.er1 >conftest.err
115716 rm -f conftest.er1
115717 cat conftest.err >&5
115718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115719 (exit $ac_status); } &&
115720 { ac_try='test -z "$ac_c_werror_flag"
115721 || test ! -s conftest.err'
115722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115723 (eval $ac_try) 2>&5
115724 ac_status=$?
115725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115726 (exit $ac_status); }; } &&
115727 { ac_try='test -s conftest$ac_exeext'
115728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115729 (eval $ac_try) 2>&5
115730 ac_status=$?
115731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115732 (exit $ac_status); }; }; then
115733 glibcxx_shared_libgcc=yes
115735 echo "$as_me: failed program was:" >&5
115736 sed 's/^/| /' conftest.$ac_ext >&5
115738 glibcxx_shared_libgcc=no
115740 rm -f conftest.err conftest.$ac_objext \
115741 conftest$ac_exeext conftest.$ac_ext
115742 CFLAGS="$ac_save_CFLAGS"
115743 if test $glibcxx_shared_libgcc = no; then
115744 cat > conftest.c <<EOF
115745 int main (void) { return 0; }
115747 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
115748 -shared -shared-libgcc -o conftest.so \
115749 conftest.c -v 2>&1 >/dev/null \
115750 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
115751 rm -f conftest.c conftest.so
115752 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
115753 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
115754 if test x$gcc_no_link = xyes; then
115755 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115756 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115757 { (exit 1); exit 1; }; }
115759 cat >conftest.$ac_ext <<_ACEOF
115760 /* confdefs.h. */
115761 _ACEOF
115762 cat confdefs.h >>conftest.$ac_ext
115763 cat >>conftest.$ac_ext <<_ACEOF
115764 /* end confdefs.h. */
115767 main ()
115769 return 0;
115771 return 0;
115773 _ACEOF
115774 rm -f conftest.$ac_objext conftest$ac_exeext
115775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115776 (eval $ac_link) 2>conftest.er1
115777 ac_status=$?
115778 grep -v '^ *+' conftest.er1 >conftest.err
115779 rm -f conftest.er1
115780 cat conftest.err >&5
115781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115782 (exit $ac_status); } &&
115783 { ac_try='test -z "$ac_c_werror_flag"
115784 || test ! -s conftest.err'
115785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115786 (eval $ac_try) 2>&5
115787 ac_status=$?
115788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115789 (exit $ac_status); }; } &&
115790 { ac_try='test -s conftest$ac_exeext'
115791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115792 (eval $ac_try) 2>&5
115793 ac_status=$?
115794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115795 (exit $ac_status); }; }; then
115796 glibcxx_shared_libgcc=yes
115798 echo "$as_me: failed program was:" >&5
115799 sed 's/^/| /' conftest.$ac_ext >&5
115802 rm -f conftest.err conftest.$ac_objext \
115803 conftest$ac_exeext conftest.$ac_ext
115804 CFLAGS="$ac_save_CFLAGS"
115807 echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
115808 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
115810 # For GNU ld, we need at least this version. The format is described in
115811 # GLIBCXX_CHECK_LINKER_FEATURES above.
115812 glibcxx_min_gnu_ld_version=21400
115814 # If no shared libgcc, can't win.
115815 if test $glibcxx_shared_libgcc != yes; then
115816 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
115817 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
115818 { echo "$as_me:$LINENO: WARNING: === you are not building a shared libgcc_s." >&5
115819 echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
115820 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
115821 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
115822 enable_symvers=no
115823 elif test $with_gnu_ld != yes ; then
115824 # just fail for now
115825 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
115826 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
115827 { echo "$as_me:$LINENO: WARNING: === you are not using the GNU linker." >&5
115828 echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
115829 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
115830 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
115831 enable_symvers=no
115832 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
115833 # The right tools, the right setup, but too old. Fallbacks?
115834 { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
115835 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
115836 { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
115837 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
115838 { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
115839 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
115840 { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
115841 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
115842 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
115843 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
115844 enable_symvers=no
115848 # Everything parsed; figure out what file to use.
115849 case $enable_symvers in
115851 SYMVER_FILE=config/abi/pre/none.ver
115854 SYMVER_FILE=config/abi/pre/gnu.ver
115856 cat >>confdefs.h <<\_ACEOF
115857 #define _GLIBCXX_SYMVER_GNU 1
115858 _ACEOF
115861 gnu-versioned-namespace)
115862 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
115864 cat >>confdefs.h <<\_ACEOF
115865 #define _GLIBCXX_SYMVER_GNU_NAMESPACE 1
115866 _ACEOF
115869 darwin)
115870 SYMVER_FILE=config/abi/pre/gnu.ver
115872 cat >>confdefs.h <<\_ACEOF
115873 #define _GLIBCXX_SYMVER_DARWIN 1
115874 _ACEOF
115879 if test x$enable_symvers != xno ; then
115881 cat >>confdefs.h <<\_ACEOF
115882 #define _GLIBCXX_SYMVER 1
115883 _ACEOF
115893 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
115894 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
115896 # Now, set up compatibility support, if any.
115897 # In addition, need this to deal with std::size_t mangling in
115898 # src/compatibility.cc. In a perfect world, could use
115899 # typeid(std::size_t).name()[0] to do direct substitution.
115900 echo "$as_me:$LINENO: checking for size_t as unsigned int" >&5
115901 echo $ECHO_N "checking for size_t as unsigned int... $ECHO_C" >&6
115902 ac_save_CFLAGS="$CFLAGS"
115903 CFLAGS="-Werror"
115904 cat >conftest.$ac_ext <<_ACEOF
115905 /* confdefs.h. */
115906 _ACEOF
115907 cat confdefs.h >>conftest.$ac_ext
115908 cat >>conftest.$ac_ext <<_ACEOF
115909 /* end confdefs.h. */
115912 main ()
115914 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
115916 return 0;
115918 _ACEOF
115919 rm -f conftest.$ac_objext
115920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115921 (eval $ac_compile) 2>conftest.er1
115922 ac_status=$?
115923 grep -v '^ *+' conftest.er1 >conftest.err
115924 rm -f conftest.er1
115925 cat conftest.err >&5
115926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115927 (exit $ac_status); } &&
115928 { ac_try='test -z "$ac_c_werror_flag"
115929 || test ! -s conftest.err'
115930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115931 (eval $ac_try) 2>&5
115932 ac_status=$?
115933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115934 (exit $ac_status); }; } &&
115935 { ac_try='test -s conftest.$ac_objext'
115936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115937 (eval $ac_try) 2>&5
115938 ac_status=$?
115939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115940 (exit $ac_status); }; }; then
115941 glibcxx_size_t_is_i=yes
115943 echo "$as_me: failed program was:" >&5
115944 sed 's/^/| /' conftest.$ac_ext >&5
115946 glibcxx_size_t_is_i=no
115948 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115949 CFLAGS=$ac_save_CFLAGS
115950 if test "$glibcxx_size_t_is_i" = yes; then
115952 cat >>confdefs.h <<\_ACEOF
115953 #define _GLIBCXX_SIZE_T_IS_UINT 1
115954 _ACEOF
115957 echo "$as_me:$LINENO: result: $glibcxx_size_t_is_i" >&5
115958 echo "${ECHO_T}$glibcxx_size_t_is_i" >&6
115960 echo "$as_me:$LINENO: checking for ptrdiff_t as int" >&5
115961 echo $ECHO_N "checking for ptrdiff_t as int... $ECHO_C" >&6
115962 ac_save_CFLAGS="$CFLAGS"
115963 CFLAGS="-Werror"
115964 cat >conftest.$ac_ext <<_ACEOF
115965 /* confdefs.h. */
115966 _ACEOF
115967 cat confdefs.h >>conftest.$ac_ext
115968 cat >>conftest.$ac_ext <<_ACEOF
115969 /* end confdefs.h. */
115972 main ()
115974 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
115976 return 0;
115978 _ACEOF
115979 rm -f conftest.$ac_objext
115980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115981 (eval $ac_compile) 2>conftest.er1
115982 ac_status=$?
115983 grep -v '^ *+' conftest.er1 >conftest.err
115984 rm -f conftest.er1
115985 cat conftest.err >&5
115986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115987 (exit $ac_status); } &&
115988 { ac_try='test -z "$ac_c_werror_flag"
115989 || test ! -s conftest.err'
115990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115991 (eval $ac_try) 2>&5
115992 ac_status=$?
115993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115994 (exit $ac_status); }; } &&
115995 { ac_try='test -s conftest.$ac_objext'
115996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115997 (eval $ac_try) 2>&5
115998 ac_status=$?
115999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116000 (exit $ac_status); }; }; then
116001 glibcxx_ptrdiff_t_is_i=yes
116003 echo "$as_me: failed program was:" >&5
116004 sed 's/^/| /' conftest.$ac_ext >&5
116006 glibcxx_ptrdiff_t_is_i=no
116008 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116009 CFLAGS=$ac_save_CFLAGS
116010 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
116012 cat >>confdefs.h <<\_ACEOF
116013 #define _GLIBCXX_PTRDIFF_T_IS_INT 1
116014 _ACEOF
116017 echo "$as_me:$LINENO: result: $glibcxx_ptrdiff_t_is_i" >&5
116018 echo "${ECHO_T}$glibcxx_ptrdiff_t_is_i" >&6
116021 # Check whether --enable-visibility or --disable-visibility was given.
116022 if test "${enable_visibility+set}" = set; then
116023 enableval="$enable_visibility"
116025 case "$enableval" in
116026 yes|no) ;;
116027 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable visibility must be yes or no" >&5
116028 echo "$as_me: error: Argument to enable/disable visibility must be yes or no" >&2;}
116029 { (exit 1); exit 1; }; } ;;
116033 enable_visibility=yes
116037 if test x$enable_visibility = xyes ; then
116038 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
116039 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
116040 if test "${have_attribute_visibility+set}" = set; then
116041 echo $ECHO_N "(cached) $ECHO_C" >&6
116044 save_CFLAGS="$CFLAGS"
116045 CFLAGS="$CFLAGS -Werror"
116046 cat >conftest.$ac_ext <<_ACEOF
116047 /* confdefs.h. */
116048 _ACEOF
116049 cat confdefs.h >>conftest.$ac_ext
116050 cat >>conftest.$ac_ext <<_ACEOF
116051 /* end confdefs.h. */
116052 void __attribute__((visibility("hidden"))) foo(void) { }
116054 main ()
116058 return 0;
116060 _ACEOF
116061 rm -f conftest.$ac_objext
116062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116063 (eval $ac_compile) 2>conftest.er1
116064 ac_status=$?
116065 grep -v '^ *+' conftest.er1 >conftest.err
116066 rm -f conftest.er1
116067 cat conftest.err >&5
116068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116069 (exit $ac_status); } &&
116070 { ac_try='test -z "$ac_c_werror_flag"
116071 || test ! -s conftest.err'
116072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116073 (eval $ac_try) 2>&5
116074 ac_status=$?
116075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116076 (exit $ac_status); }; } &&
116077 { ac_try='test -s conftest.$ac_objext'
116078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116079 (eval $ac_try) 2>&5
116080 ac_status=$?
116081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116082 (exit $ac_status); }; }; then
116083 have_attribute_visibility=yes
116085 echo "$as_me: failed program was:" >&5
116086 sed 's/^/| /' conftest.$ac_ext >&5
116088 have_attribute_visibility=no
116090 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116091 CFLAGS="$save_CFLAGS"
116093 echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
116094 echo "${ECHO_T}$have_attribute_visibility" >&6
116095 if test $have_attribute_visibility = no; then
116096 enable_visibility=no
116101 { echo "$as_me:$LINENO: visibility supported: $enable_visibility" >&5
116102 echo "$as_me: visibility supported: $enable_visibility" >&6;}
116105 ac_ldbl_compat=no
116106 case "$target" in
116107 powerpc*-*-linux* | \
116108 powerpc*-*-gnu* | \
116109 sparc*-*-linux* | \
116110 s390*-*-linux* | \
116111 alpha*-*-linux*)
116112 cat >conftest.$ac_ext <<_ACEOF
116113 /* confdefs.h. */
116114 _ACEOF
116115 cat confdefs.h >>conftest.$ac_ext
116116 cat >>conftest.$ac_ext <<_ACEOF
116117 /* end confdefs.h. */
116120 main ()
116123 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
116124 #error no need for long double compatibility
116125 #endif
116128 return 0;
116130 _ACEOF
116131 rm -f conftest.$ac_objext
116132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116133 (eval $ac_compile) 2>conftest.er1
116134 ac_status=$?
116135 grep -v '^ *+' conftest.er1 >conftest.err
116136 rm -f conftest.er1
116137 cat conftest.err >&5
116138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116139 (exit $ac_status); } &&
116140 { ac_try='test -z "$ac_c_werror_flag"
116141 || test ! -s conftest.err'
116142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116143 (eval $ac_try) 2>&5
116144 ac_status=$?
116145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116146 (exit $ac_status); }; } &&
116147 { ac_try='test -s conftest.$ac_objext'
116148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116149 (eval $ac_try) 2>&5
116150 ac_status=$?
116151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116152 (exit $ac_status); }; }; then
116153 ac_ldbl_compat=yes
116155 echo "$as_me: failed program was:" >&5
116156 sed 's/^/| /' conftest.$ac_ext >&5
116158 ac_ldbl_compat=no
116160 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116161 if test "$ac_ldbl_compat" = yes; then
116163 cat >>confdefs.h <<\_ACEOF
116164 #define _GLIBCXX_LONG_DOUBLE_COMPAT 1
116165 _ACEOF
116167 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
116172 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
116174 if $GLIBCXX_IS_NATIVE ; then
116175 # Do checks for resource limit functions.
116177 setrlimit_have_headers=yes
116181 for ac_header in unistd.h sys/time.h sys/resource.h
116183 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
116184 if eval "test \"\${$as_ac_Header+set}\" = set"; then
116185 echo "$as_me:$LINENO: checking for $ac_header" >&5
116186 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
116187 if eval "test \"\${$as_ac_Header+set}\" = set"; then
116188 echo $ECHO_N "(cached) $ECHO_C" >&6
116190 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
116191 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
116193 # Is the header compilable?
116194 echo "$as_me:$LINENO: checking $ac_header usability" >&5
116195 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
116196 cat >conftest.$ac_ext <<_ACEOF
116197 /* confdefs.h. */
116198 _ACEOF
116199 cat confdefs.h >>conftest.$ac_ext
116200 cat >>conftest.$ac_ext <<_ACEOF
116201 /* end confdefs.h. */
116202 $ac_includes_default
116203 #include <$ac_header>
116204 _ACEOF
116205 rm -f conftest.$ac_objext
116206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116207 (eval $ac_compile) 2>conftest.er1
116208 ac_status=$?
116209 grep -v '^ *+' conftest.er1 >conftest.err
116210 rm -f conftest.er1
116211 cat conftest.err >&5
116212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116213 (exit $ac_status); } &&
116214 { ac_try='test -z "$ac_c_werror_flag"
116215 || test ! -s conftest.err'
116216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116217 (eval $ac_try) 2>&5
116218 ac_status=$?
116219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116220 (exit $ac_status); }; } &&
116221 { ac_try='test -s conftest.$ac_objext'
116222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116223 (eval $ac_try) 2>&5
116224 ac_status=$?
116225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116226 (exit $ac_status); }; }; then
116227 ac_header_compiler=yes
116229 echo "$as_me: failed program was:" >&5
116230 sed 's/^/| /' conftest.$ac_ext >&5
116232 ac_header_compiler=no
116234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116235 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
116236 echo "${ECHO_T}$ac_header_compiler" >&6
116238 # Is the header present?
116239 echo "$as_me:$LINENO: checking $ac_header presence" >&5
116240 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
116241 cat >conftest.$ac_ext <<_ACEOF
116242 /* confdefs.h. */
116243 _ACEOF
116244 cat confdefs.h >>conftest.$ac_ext
116245 cat >>conftest.$ac_ext <<_ACEOF
116246 /* end confdefs.h. */
116247 #include <$ac_header>
116248 _ACEOF
116249 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
116250 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
116251 ac_status=$?
116252 grep -v '^ *+' conftest.er1 >conftest.err
116253 rm -f conftest.er1
116254 cat conftest.err >&5
116255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116256 (exit $ac_status); } >/dev/null; then
116257 if test -s conftest.err; then
116258 ac_cpp_err=$ac_c_preproc_warn_flag
116259 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
116261 ac_cpp_err=
116264 ac_cpp_err=yes
116266 if test -z "$ac_cpp_err"; then
116267 ac_header_preproc=yes
116269 echo "$as_me: failed program was:" >&5
116270 sed 's/^/| /' conftest.$ac_ext >&5
116272 ac_header_preproc=no
116274 rm -f conftest.err conftest.$ac_ext
116275 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
116276 echo "${ECHO_T}$ac_header_preproc" >&6
116278 # So? What about this header?
116279 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
116280 yes:no: )
116281 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
116282 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
116283 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
116284 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
116285 ac_header_preproc=yes
116287 no:yes:* )
116288 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
116289 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
116290 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
116291 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
116292 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
116293 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
116294 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
116295 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
116296 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
116297 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
116298 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
116299 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
116301 cat <<\_ASBOX
116302 ## ----------------------------------------- ##
116303 ## Report this to the package-unused lists. ##
116304 ## ----------------------------------------- ##
116305 _ASBOX
116307 sed "s/^/$as_me: WARNING: /" >&2
116310 echo "$as_me:$LINENO: checking for $ac_header" >&5
116311 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
116312 if eval "test \"\${$as_ac_Header+set}\" = set"; then
116313 echo $ECHO_N "(cached) $ECHO_C" >&6
116315 eval "$as_ac_Header=\$ac_header_preproc"
116317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
116318 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
116321 if test `eval echo '${'$as_ac_Header'}'` = yes; then
116322 cat >>confdefs.h <<_ACEOF
116323 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
116324 _ACEOF
116327 setrlimit_have_headers=no
116332 # If don't have the headers, then we can't run the tests now, and we
116333 # won't be seeing any of these during testsuite compilation.
116334 if test $setrlimit_have_headers = yes; then
116335 # Can't do these in a loop, else the resulting syntax is wrong.
116337 echo "$as_me:$LINENO: checking for RLIMIT_DATA" >&5
116338 echo $ECHO_N "checking for RLIMIT_DATA... $ECHO_C" >&6
116339 cat >conftest.$ac_ext <<_ACEOF
116340 /* confdefs.h. */
116341 _ACEOF
116342 cat confdefs.h >>conftest.$ac_ext
116343 cat >>conftest.$ac_ext <<_ACEOF
116344 /* end confdefs.h. */
116345 #include <unistd.h>
116346 #include <sys/time.h>
116347 #include <sys/resource.h>
116350 main ()
116352 int f = RLIMIT_DATA ;
116354 return 0;
116356 _ACEOF
116357 rm -f conftest.$ac_objext
116358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116359 (eval $ac_compile) 2>conftest.er1
116360 ac_status=$?
116361 grep -v '^ *+' conftest.er1 >conftest.err
116362 rm -f conftest.er1
116363 cat conftest.err >&5
116364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116365 (exit $ac_status); } &&
116366 { ac_try='test -z "$ac_c_werror_flag"
116367 || test ! -s conftest.err'
116368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116369 (eval $ac_try) 2>&5
116370 ac_status=$?
116371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116372 (exit $ac_status); }; } &&
116373 { ac_try='test -s conftest.$ac_objext'
116374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116375 (eval $ac_try) 2>&5
116376 ac_status=$?
116377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116378 (exit $ac_status); }; }; then
116379 glibcxx_mresult=1
116381 echo "$as_me: failed program was:" >&5
116382 sed 's/^/| /' conftest.$ac_ext >&5
116384 glibcxx_mresult=0
116386 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116388 cat >>confdefs.h <<_ACEOF
116389 #define HAVE_LIMIT_DATA $glibcxx_mresult
116390 _ACEOF
116392 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
116393 echo "$as_me:$LINENO: result: $res" >&5
116394 echo "${ECHO_T}$res" >&6
116397 echo "$as_me:$LINENO: checking for RLIMIT_RSS" >&5
116398 echo $ECHO_N "checking for RLIMIT_RSS... $ECHO_C" >&6
116399 cat >conftest.$ac_ext <<_ACEOF
116400 /* confdefs.h. */
116401 _ACEOF
116402 cat confdefs.h >>conftest.$ac_ext
116403 cat >>conftest.$ac_ext <<_ACEOF
116404 /* end confdefs.h. */
116405 #include <unistd.h>
116406 #include <sys/time.h>
116407 #include <sys/resource.h>
116410 main ()
116412 int f = RLIMIT_RSS ;
116414 return 0;
116416 _ACEOF
116417 rm -f conftest.$ac_objext
116418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116419 (eval $ac_compile) 2>conftest.er1
116420 ac_status=$?
116421 grep -v '^ *+' conftest.er1 >conftest.err
116422 rm -f conftest.er1
116423 cat conftest.err >&5
116424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116425 (exit $ac_status); } &&
116426 { ac_try='test -z "$ac_c_werror_flag"
116427 || test ! -s conftest.err'
116428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116429 (eval $ac_try) 2>&5
116430 ac_status=$?
116431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116432 (exit $ac_status); }; } &&
116433 { ac_try='test -s conftest.$ac_objext'
116434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116435 (eval $ac_try) 2>&5
116436 ac_status=$?
116437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116438 (exit $ac_status); }; }; then
116439 glibcxx_mresult=1
116441 echo "$as_me: failed program was:" >&5
116442 sed 's/^/| /' conftest.$ac_ext >&5
116444 glibcxx_mresult=0
116446 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116448 cat >>confdefs.h <<_ACEOF
116449 #define HAVE_LIMIT_RSS $glibcxx_mresult
116450 _ACEOF
116452 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
116453 echo "$as_me:$LINENO: result: $res" >&5
116454 echo "${ECHO_T}$res" >&6
116457 echo "$as_me:$LINENO: checking for RLIMIT_VMEM" >&5
116458 echo $ECHO_N "checking for RLIMIT_VMEM... $ECHO_C" >&6
116459 cat >conftest.$ac_ext <<_ACEOF
116460 /* confdefs.h. */
116461 _ACEOF
116462 cat confdefs.h >>conftest.$ac_ext
116463 cat >>conftest.$ac_ext <<_ACEOF
116464 /* end confdefs.h. */
116465 #include <unistd.h>
116466 #include <sys/time.h>
116467 #include <sys/resource.h>
116470 main ()
116472 int f = RLIMIT_VMEM ;
116474 return 0;
116476 _ACEOF
116477 rm -f conftest.$ac_objext
116478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116479 (eval $ac_compile) 2>conftest.er1
116480 ac_status=$?
116481 grep -v '^ *+' conftest.er1 >conftest.err
116482 rm -f conftest.er1
116483 cat conftest.err >&5
116484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116485 (exit $ac_status); } &&
116486 { ac_try='test -z "$ac_c_werror_flag"
116487 || test ! -s conftest.err'
116488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116489 (eval $ac_try) 2>&5
116490 ac_status=$?
116491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116492 (exit $ac_status); }; } &&
116493 { ac_try='test -s conftest.$ac_objext'
116494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116495 (eval $ac_try) 2>&5
116496 ac_status=$?
116497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116498 (exit $ac_status); }; }; then
116499 glibcxx_mresult=1
116501 echo "$as_me: failed program was:" >&5
116502 sed 's/^/| /' conftest.$ac_ext >&5
116504 glibcxx_mresult=0
116506 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116508 cat >>confdefs.h <<_ACEOF
116509 #define HAVE_LIMIT_VMEM $glibcxx_mresult
116510 _ACEOF
116512 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
116513 echo "$as_me:$LINENO: result: $res" >&5
116514 echo "${ECHO_T}$res" >&6
116517 echo "$as_me:$LINENO: checking for RLIMIT_AS" >&5
116518 echo $ECHO_N "checking for RLIMIT_AS... $ECHO_C" >&6
116519 cat >conftest.$ac_ext <<_ACEOF
116520 /* confdefs.h. */
116521 _ACEOF
116522 cat confdefs.h >>conftest.$ac_ext
116523 cat >>conftest.$ac_ext <<_ACEOF
116524 /* end confdefs.h. */
116525 #include <unistd.h>
116526 #include <sys/time.h>
116527 #include <sys/resource.h>
116530 main ()
116532 int f = RLIMIT_AS ;
116534 return 0;
116536 _ACEOF
116537 rm -f conftest.$ac_objext
116538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116539 (eval $ac_compile) 2>conftest.er1
116540 ac_status=$?
116541 grep -v '^ *+' conftest.er1 >conftest.err
116542 rm -f conftest.er1
116543 cat conftest.err >&5
116544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116545 (exit $ac_status); } &&
116546 { ac_try='test -z "$ac_c_werror_flag"
116547 || test ! -s conftest.err'
116548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116549 (eval $ac_try) 2>&5
116550 ac_status=$?
116551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116552 (exit $ac_status); }; } &&
116553 { ac_try='test -s conftest.$ac_objext'
116554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116555 (eval $ac_try) 2>&5
116556 ac_status=$?
116557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116558 (exit $ac_status); }; }; then
116559 glibcxx_mresult=1
116561 echo "$as_me: failed program was:" >&5
116562 sed 's/^/| /' conftest.$ac_ext >&5
116564 glibcxx_mresult=0
116566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116568 cat >>confdefs.h <<_ACEOF
116569 #define HAVE_LIMIT_AS $glibcxx_mresult
116570 _ACEOF
116572 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
116573 echo "$as_me:$LINENO: result: $res" >&5
116574 echo "${ECHO_T}$res" >&6
116577 echo "$as_me:$LINENO: checking for RLIMIT_FSIZE" >&5
116578 echo $ECHO_N "checking for RLIMIT_FSIZE... $ECHO_C" >&6
116579 cat >conftest.$ac_ext <<_ACEOF
116580 /* confdefs.h. */
116581 _ACEOF
116582 cat confdefs.h >>conftest.$ac_ext
116583 cat >>conftest.$ac_ext <<_ACEOF
116584 /* end confdefs.h. */
116585 #include <unistd.h>
116586 #include <sys/time.h>
116587 #include <sys/resource.h>
116590 main ()
116592 int f = RLIMIT_FSIZE ;
116594 return 0;
116596 _ACEOF
116597 rm -f conftest.$ac_objext
116598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116599 (eval $ac_compile) 2>conftest.er1
116600 ac_status=$?
116601 grep -v '^ *+' conftest.er1 >conftest.err
116602 rm -f conftest.er1
116603 cat conftest.err >&5
116604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116605 (exit $ac_status); } &&
116606 { ac_try='test -z "$ac_c_werror_flag"
116607 || test ! -s conftest.err'
116608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116609 (eval $ac_try) 2>&5
116610 ac_status=$?
116611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116612 (exit $ac_status); }; } &&
116613 { ac_try='test -s conftest.$ac_objext'
116614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116615 (eval $ac_try) 2>&5
116616 ac_status=$?
116617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116618 (exit $ac_status); }; }; then
116619 glibcxx_mresult=1
116621 echo "$as_me: failed program was:" >&5
116622 sed 's/^/| /' conftest.$ac_ext >&5
116624 glibcxx_mresult=0
116626 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116628 cat >>confdefs.h <<_ACEOF
116629 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
116630 _ACEOF
116632 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
116633 echo "$as_me:$LINENO: result: $res" >&5
116634 echo "${ECHO_T}$res" >&6
116637 # Check for rlimit, setrlimit.
116638 if test "${ac_setrlimit+set}" = set; then
116639 echo $ECHO_N "(cached) $ECHO_C" >&6
116642 cat >conftest.$ac_ext <<_ACEOF
116643 /* confdefs.h. */
116644 _ACEOF
116645 cat confdefs.h >>conftest.$ac_ext
116646 cat >>conftest.$ac_ext <<_ACEOF
116647 /* end confdefs.h. */
116648 #include <unistd.h>
116649 #include <sys/time.h>
116650 #include <sys/resource.h>
116653 main ()
116655 struct rlimit r;
116656 setrlimit(0, &r);
116658 return 0;
116660 _ACEOF
116661 rm -f conftest.$ac_objext
116662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116663 (eval $ac_compile) 2>conftest.er1
116664 ac_status=$?
116665 grep -v '^ *+' conftest.er1 >conftest.err
116666 rm -f conftest.er1
116667 cat conftest.err >&5
116668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116669 (exit $ac_status); } &&
116670 { ac_try='test -z "$ac_c_werror_flag"
116671 || test ! -s conftest.err'
116672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116673 (eval $ac_try) 2>&5
116674 ac_status=$?
116675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116676 (exit $ac_status); }; } &&
116677 { ac_try='test -s conftest.$ac_objext'
116678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116679 (eval $ac_try) 2>&5
116680 ac_status=$?
116681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116682 (exit $ac_status); }; }; then
116683 ac_setrlimit=yes
116685 echo "$as_me: failed program was:" >&5
116686 sed 's/^/| /' conftest.$ac_ext >&5
116688 ac_setrlimit=no
116690 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116696 echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
116697 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
116698 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
116699 ac_res_limits=yes
116701 cat >>confdefs.h <<\_ACEOF
116702 #define _GLIBCXX_RES_LIMITS 1
116703 _ACEOF
116706 ac_res_limits=no
116708 echo "$as_me:$LINENO: result: $ac_res_limits" >&5
116709 echo "${ECHO_T}$ac_res_limits" >&6
116712 # Look for setenv, so that extended locale tests can be performed.
116714 echo "$as_me:$LINENO: checking for setenv declaration" >&5
116715 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
116716 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
116717 if test "${glibcxx_cv_func_setenv_use+set}" = set; then
116718 echo $ECHO_N "(cached) $ECHO_C" >&6
116723 ac_ext=cc
116724 ac_cpp='$CXXCPP $CPPFLAGS'
116725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
116726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
116727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
116729 cat >conftest.$ac_ext <<_ACEOF
116730 /* confdefs.h. */
116731 _ACEOF
116732 cat confdefs.h >>conftest.$ac_ext
116733 cat >>conftest.$ac_ext <<_ACEOF
116734 /* end confdefs.h. */
116735 #include <stdlib.h>
116737 main ()
116739 setenv(0, 0, 0);
116741 return 0;
116743 _ACEOF
116744 rm -f conftest.$ac_objext
116745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116746 (eval $ac_compile) 2>conftest.er1
116747 ac_status=$?
116748 grep -v '^ *+' conftest.er1 >conftest.err
116749 rm -f conftest.er1
116750 cat conftest.err >&5
116751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116752 (exit $ac_status); } &&
116753 { ac_try='test -z "$ac_cxx_werror_flag"
116754 || test ! -s conftest.err'
116755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116756 (eval $ac_try) 2>&5
116757 ac_status=$?
116758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116759 (exit $ac_status); }; } &&
116760 { ac_try='test -s conftest.$ac_objext'
116761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116762 (eval $ac_try) 2>&5
116763 ac_status=$?
116764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116765 (exit $ac_status); }; }; then
116766 glibcxx_cv_func_setenv_use=yes
116768 echo "$as_me: failed program was:" >&5
116769 sed 's/^/| /' conftest.$ac_ext >&5
116771 glibcxx_cv_func_setenv_use=no
116773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116774 ac_ext=c
116775 ac_cpp='$CPP $CPPFLAGS'
116776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
116777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
116778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
116784 echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
116785 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
116786 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
116788 for ac_func in setenv
116790 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
116791 echo "$as_me:$LINENO: checking for $ac_func" >&5
116792 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
116793 if eval "test \"\${$as_ac_var+set}\" = set"; then
116794 echo $ECHO_N "(cached) $ECHO_C" >&6
116796 if test x$gcc_no_link = xyes; then
116797 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
116798 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
116799 { (exit 1); exit 1; }; }
116801 cat >conftest.$ac_ext <<_ACEOF
116802 /* confdefs.h. */
116803 _ACEOF
116804 cat confdefs.h >>conftest.$ac_ext
116805 cat >>conftest.$ac_ext <<_ACEOF
116806 /* end confdefs.h. */
116807 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
116808 For example, HP-UX 11i <limits.h> declares gettimeofday. */
116809 #define $ac_func innocuous_$ac_func
116811 /* System header to define __stub macros and hopefully few prototypes,
116812 which can conflict with char $ac_func (); below.
116813 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
116814 <limits.h> exists even on freestanding compilers. */
116816 #ifdef __STDC__
116817 # include <limits.h>
116818 #else
116819 # include <assert.h>
116820 #endif
116822 #undef $ac_func
116824 /* Override any gcc2 internal prototype to avoid an error. */
116825 #ifdef __cplusplus
116826 extern "C"
116828 #endif
116829 /* We use char because int might match the return type of a gcc2
116830 builtin and then its argument prototype would still apply. */
116831 char $ac_func ();
116832 /* The GNU C library defines this for functions which it implements
116833 to always fail with ENOSYS. Some functions are actually named
116834 something starting with __ and the normal name is an alias. */
116835 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
116836 choke me
116837 #else
116838 char (*f) () = $ac_func;
116839 #endif
116840 #ifdef __cplusplus
116842 #endif
116845 main ()
116847 return f != $ac_func;
116849 return 0;
116851 _ACEOF
116852 rm -f conftest.$ac_objext conftest$ac_exeext
116853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
116854 (eval $ac_link) 2>conftest.er1
116855 ac_status=$?
116856 grep -v '^ *+' conftest.er1 >conftest.err
116857 rm -f conftest.er1
116858 cat conftest.err >&5
116859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116860 (exit $ac_status); } &&
116861 { ac_try='test -z "$ac_c_werror_flag"
116862 || test ! -s conftest.err'
116863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116864 (eval $ac_try) 2>&5
116865 ac_status=$?
116866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116867 (exit $ac_status); }; } &&
116868 { ac_try='test -s conftest$ac_exeext'
116869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116870 (eval $ac_try) 2>&5
116871 ac_status=$?
116872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116873 (exit $ac_status); }; }; then
116874 eval "$as_ac_var=yes"
116876 echo "$as_me: failed program was:" >&5
116877 sed 's/^/| /' conftest.$ac_ext >&5
116879 eval "$as_ac_var=no"
116881 rm -f conftest.err conftest.$ac_objext \
116882 conftest$ac_exeext conftest.$ac_ext
116884 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
116885 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
116886 if test `eval echo '${'$as_ac_var'}'` = yes; then
116887 cat >>confdefs.h <<_ACEOF
116888 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
116889 _ACEOF
116898 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
116899 test $enable_symvers != no; then
116900 case "$host" in
116901 *-*-cygwin*)
116902 enable_abi_check=no ;;
116904 enable_abi_check=yes ;;
116907 # Only build this as native, since automake does not understand
116908 # CXX_FOR_BUILD.
116909 enable_abi_check=no
116912 # Export file names for ABI checking.
116913 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}\$(MULTISUBDIR)"
116917 # Propagate the target-specific source directories through the build chain.
116918 ATOMICITY_SRCDIR=config/${atomicity_dir}
116919 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
116920 ATOMIC_FLAGS=${atomic_flags}
116921 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
116922 OS_INC_SRCDIR=config/${os_include_dir}
116923 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
116924 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
116934 # Determine cross-compile flags and AM_CONDITIONALs.
116935 #AC_SUBST(GLIBCXX_IS_NATIVE)
116936 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
116937 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
116938 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH, test $need_libmath = yes)
116941 if test $is_hosted = yes; then
116942 GLIBCXX_HOSTED_TRUE=
116943 GLIBCXX_HOSTED_FALSE='#'
116945 GLIBCXX_HOSTED_TRUE='#'
116946 GLIBCXX_HOSTED_FALSE=
116952 if test $enable_libstdcxx_pch = yes; then
116953 GLIBCXX_BUILD_PCH_TRUE=
116954 GLIBCXX_BUILD_PCH_FALSE='#'
116956 GLIBCXX_BUILD_PCH_TRUE='#'
116957 GLIBCXX_BUILD_PCH_FALSE=
116963 if test $enable_cheaders = c; then
116964 GLIBCXX_C_HEADERS_C_TRUE=
116965 GLIBCXX_C_HEADERS_C_FALSE='#'
116967 GLIBCXX_C_HEADERS_C_TRUE='#'
116968 GLIBCXX_C_HEADERS_C_FALSE=
116974 if test $enable_cheaders = c_std; then
116975 GLIBCXX_C_HEADERS_C_STD_TRUE=
116976 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
116978 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
116979 GLIBCXX_C_HEADERS_C_STD_FALSE=
116985 if test $enable_cheaders = c_global; then
116986 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
116987 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
116989 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
116990 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
116996 if test $c_compatibility = yes; then
116997 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
116998 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
117000 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
117001 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
117007 if test $c_extra = yes; then
117008 GLIBCXX_C_HEADERS_EXTRA_TRUE=
117009 GLIBCXX_C_HEADERS_EXTRA_FALSE='#'
117011 GLIBCXX_C_HEADERS_EXTRA_TRUE='#'
117012 GLIBCXX_C_HEADERS_EXTRA_FALSE=
117018 if test $enable_libstdcxx_debug = yes; then
117019 GLIBCXX_BUILD_DEBUG_TRUE=
117020 GLIBCXX_BUILD_DEBUG_FALSE='#'
117022 GLIBCXX_BUILD_DEBUG_TRUE='#'
117023 GLIBCXX_BUILD_DEBUG_FALSE=
117029 if test $enable_parallel = yes; then
117030 ENABLE_PARALLEL_TRUE=
117031 ENABLE_PARALLEL_FALSE='#'
117033 ENABLE_PARALLEL_TRUE='#'
117034 ENABLE_PARALLEL_FALSE=
117040 if test $enable_symvers != no; then
117041 ENABLE_SYMVERS_TRUE=
117042 ENABLE_SYMVERS_FALSE='#'
117044 ENABLE_SYMVERS_TRUE='#'
117045 ENABLE_SYMVERS_FALSE=
117051 if test $enable_symvers = gnu; then
117052 ENABLE_SYMVERS_GNU_TRUE=
117053 ENABLE_SYMVERS_GNU_FALSE='#'
117055 ENABLE_SYMVERS_GNU_TRUE='#'
117056 ENABLE_SYMVERS_GNU_FALSE=
117062 if test $enable_symvers = gnu-versioned-namespace; then
117063 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
117064 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
117066 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
117067 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
117073 if test $enable_symvers = darwin; then
117074 ENABLE_SYMVERS_DARWIN_TRUE=
117075 ENABLE_SYMVERS_DARWIN_FALSE='#'
117077 ENABLE_SYMVERS_DARWIN_TRUE='#'
117078 ENABLE_SYMVERS_DARWIN_FALSE=
117084 if test $enable_visibility = yes; then
117085 ENABLE_VISIBILITY_TRUE=
117086 ENABLE_VISIBILITY_FALSE='#'
117088 ENABLE_VISIBILITY_TRUE='#'
117089 ENABLE_VISIBILITY_FALSE=
117095 if test $ac_ldbl_compat = yes; then
117096 GLIBCXX_LDBL_COMPAT_TRUE=
117097 GLIBCXX_LDBL_COMPAT_FALSE='#'
117099 GLIBCXX_LDBL_COMPAT_TRUE='#'
117100 GLIBCXX_LDBL_COMPAT_FALSE=
117106 cat >confcache <<\_ACEOF
117107 # This file is a shell script that caches the results of configure
117108 # tests run on this system so they can be shared between configure
117109 # scripts and configure runs, see configure's option --config-cache.
117110 # It is not useful on other systems. If it contains results you don't
117111 # want to keep, you may remove or edit it.
117113 # config.status only pays attention to the cache file if you give it
117114 # the --recheck option to rerun configure.
117116 # `ac_cv_env_foo' variables (set or unset) will be overridden when
117117 # loading this file, other *unset* `ac_cv_foo' will be assigned the
117118 # following values.
117120 _ACEOF
117122 # The following way of writing the cache mishandles newlines in values,
117123 # but we know of no workaround that is simple, portable, and efficient.
117124 # So, don't put newlines in cache variables' values.
117125 # Ultrix sh set writes to stderr and can't be redirected directly,
117126 # and sets the high bit in the cache file unless we assign to the vars.
117128 (set) 2>&1 |
117129 case `(ac_space=' '; set | grep ac_space) 2>&1` in
117130 *ac_space=\ *)
117131 # `set' does not quote correctly, so add quotes (double-quote
117132 # substitution turns \\\\ into \\, and sed turns \\ into \).
117133 sed -n \
117134 "s/'/'\\\\''/g;
117135 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
117138 # `set' quotes correctly as required by POSIX, so do not add quotes.
117139 sed -n \
117140 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
117142 esac;
117144 sed '
117145 t clear
117146 : clear
117147 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
117148 t end
117149 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
117150 : end' >>confcache
117151 if diff $cache_file confcache >/dev/null 2>&1; then :; else
117152 if test -w $cache_file; then
117153 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
117154 cat confcache >$cache_file
117156 echo "not updating unwritable cache $cache_file"
117159 rm -f confcache
117161 if test ${multilib} = yes; then
117162 multilib_arg="--enable-multilib"
117164 multilib_arg=
117167 # Export all the install information.
117169 glibcxx_toolexecdir=no
117170 glibcxx_toolexeclibdir=no
117171 glibcxx_prefixdir=$prefix
117173 echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
117174 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
117176 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
117177 if test "${with_gxx_include_dir+set}" = set; then
117178 withval="$with_gxx_include_dir"
117179 case "$withval" in
117180 yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
117181 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
117182 { (exit 1); exit 1; }; } ;;
117183 no) gxx_include_dir=no ;;
117184 *) gxx_include_dir=$withval ;;
117187 gxx_include_dir=no
117189 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
117190 echo "${ECHO_T}$gxx_include_dir" >&6
117192 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
117193 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
117194 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
117195 if test "${enable_version_specific_runtime_libs+set}" = set; then
117196 enableval="$enable_version_specific_runtime_libs"
117197 case "$enableval" in
117198 yes) version_specific_libs=yes ;;
117199 no) version_specific_libs=no ;;
117200 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
117201 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
117202 { (exit 1); exit 1; }; };;
117205 version_specific_libs=no
117207 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
117208 echo "${ECHO_T}$version_specific_libs" >&6
117210 # Default case for install directory for include files.
117211 if test $version_specific_libs = no && test $gxx_include_dir = no; then
117212 gxx_include_dir='include/c++/${gcc_version}'
117213 if test -n "$with_cross_host" &&
117214 test x"$with_cross_host" != x"no"; then
117215 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
117217 gxx_include_dir='${prefix}/'"$gxx_include_dir"
117221 # Version-specific runtime libs processing.
117222 if test $version_specific_libs = yes; then
117223 # Need the gcc compiler version to know where to install libraries
117224 # and header files if --enable-version-specific-runtime-libs option
117225 # is selected. FIXME: these variables are misnamed, there are
117226 # no executables installed in _toolexecdir or _toolexeclibdir.
117227 if test x"$gxx_include_dir" = x"no"; then
117228 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
117230 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
117231 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
117234 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
117235 # Install a library built with a cross compiler in tooldir, not libdir.
117236 if test x"$glibcxx_toolexecdir" = x"no"; then
117237 if test -n "$with_cross_host" &&
117238 test x"$with_cross_host" != x"no"; then
117239 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
117240 glibcxx_toolexeclibdir='${toolexecdir}/lib'
117242 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
117243 glibcxx_toolexeclibdir='${libdir}'
117245 multi_os_directory=`$CXX -print-multi-os-directory`
117246 case $multi_os_directory in
117247 .) ;; # Avoid trailing /.
117248 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
117252 echo "$as_me:$LINENO: checking for install location" >&5
117253 echo $ECHO_N "checking for install location... $ECHO_C" >&6
117254 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
117255 echo "${ECHO_T}$gxx_include_dir" >&6
117263 # Export all the include and flag information to Makefiles.
117265 # Used for every C++ compile we perform.
117266 GLIBCXX_INCLUDES="\
117267 -I$glibcxx_builddir/include/$host_alias \
117268 -I$glibcxx_builddir/include \
117269 -I$glibcxx_srcdir/libsupc++"
117271 # For Canadian crosses, pick this up too.
117272 if test $CANADIAN = yes; then
117273 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
117276 # Stuff in the actual top level. Currently only used by libsupc++ to
117277 # get unwind* headers from the gcc dir.
117278 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
117279 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
117281 # Now, export this to all the little Makefiles....
117286 # Optimization flags that are probably a good idea for thrill-seekers. Just
117287 # uncomment the lines below and make, everything else is ready to go...
117288 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
117289 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
117292 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
117296 if test "$enable_shared" = yes; then
117297 LIBSUPCXX_PICFLAGS="-prefer-pic"
117299 LIBSUPCXX_PICFLAGS=
117303 ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile doc/Makefile po/Makefile testsuite/Makefile"
117305 ac_config_files="$ac_config_files scripts/testsuite_flags"
117308 ac_config_commands="$ac_config_commands default"
117311 cat >confcache <<\_ACEOF
117312 # This file is a shell script that caches the results of configure
117313 # tests run on this system so they can be shared between configure
117314 # scripts and configure runs, see configure's option --config-cache.
117315 # It is not useful on other systems. If it contains results you don't
117316 # want to keep, you may remove or edit it.
117318 # config.status only pays attention to the cache file if you give it
117319 # the --recheck option to rerun configure.
117321 # `ac_cv_env_foo' variables (set or unset) will be overridden when
117322 # loading this file, other *unset* `ac_cv_foo' will be assigned the
117323 # following values.
117325 _ACEOF
117327 # The following way of writing the cache mishandles newlines in values,
117328 # but we know of no workaround that is simple, portable, and efficient.
117329 # So, don't put newlines in cache variables' values.
117330 # Ultrix sh set writes to stderr and can't be redirected directly,
117331 # and sets the high bit in the cache file unless we assign to the vars.
117333 (set) 2>&1 |
117334 case `(ac_space=' '; set | grep ac_space) 2>&1` in
117335 *ac_space=\ *)
117336 # `set' does not quote correctly, so add quotes (double-quote
117337 # substitution turns \\\\ into \\, and sed turns \\ into \).
117338 sed -n \
117339 "s/'/'\\\\''/g;
117340 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
117343 # `set' quotes correctly as required by POSIX, so do not add quotes.
117344 sed -n \
117345 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
117347 esac;
117349 sed '
117350 t clear
117351 : clear
117352 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
117353 t end
117354 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
117355 : end' >>confcache
117356 if diff $cache_file confcache >/dev/null 2>&1; then :; else
117357 if test -w $cache_file; then
117358 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
117359 cat confcache >$cache_file
117361 echo "not updating unwritable cache $cache_file"
117364 rm -f confcache
117366 test "x$prefix" = xNONE && prefix=$ac_default_prefix
117367 # Let make expand exec_prefix.
117368 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
117370 # VPATH may cause trouble with some makes, so we remove $(srcdir),
117371 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
117372 # trailing colons and then remove the whole line if VPATH becomes empty
117373 # (actually we leave an empty line to preserve line numbers).
117374 if test "x$srcdir" = x.; then
117375 ac_vpsub='/^[ ]*VPATH[ ]*=/{
117376 s/:*\$(srcdir):*/:/;
117377 s/:*\${srcdir}:*/:/;
117378 s/:*@srcdir@:*/:/;
117379 s/^\([^=]*=[ ]*\):*/\1/;
117380 s/:*$//;
117381 s/^[^=]*=[ ]*$//;
117385 DEFS=-DHAVE_CONFIG_H
117387 ac_libobjs=
117388 ac_ltlibobjs=
117389 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
117390 # 1. Remove the extension, and $U if already installed.
117391 ac_i=`echo "$ac_i" |
117392 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
117393 # 2. Add them.
117394 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
117395 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
117397 LIBOBJS=$ac_libobjs
117399 LTLIBOBJS=$ac_ltlibobjs
117402 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
117403 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
117404 Usually this means the macro was only invoked conditionally." >&5
117405 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
117406 Usually this means the macro was only invoked conditionally." >&2;}
117407 { (exit 1); exit 1; }; }
117409 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
117410 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
117411 Usually this means the macro was only invoked conditionally." >&5
117412 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
117413 Usually this means the macro was only invoked conditionally." >&2;}
117414 { (exit 1); exit 1; }; }
117416 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
117417 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
117418 Usually this means the macro was only invoked conditionally." >&5
117419 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
117420 Usually this means the macro was only invoked conditionally." >&2;}
117421 { (exit 1); exit 1; }; }
117423 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
117424 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
117425 Usually this means the macro was only invoked conditionally." >&5
117426 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
117427 Usually this means the macro was only invoked conditionally." >&2;}
117428 { (exit 1); exit 1; }; }
117430 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
117431 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
117432 Usually this means the macro was only invoked conditionally." >&5
117433 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
117434 Usually this means the macro was only invoked conditionally." >&2;}
117435 { (exit 1); exit 1; }; }
117437 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
117438 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
117439 Usually this means the macro was only invoked conditionally." >&5
117440 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
117441 Usually this means the macro was only invoked conditionally." >&2;}
117442 { (exit 1); exit 1; }; }
117444 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
117445 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
117446 Usually this means the macro was only invoked conditionally." >&5
117447 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
117448 Usually this means the macro was only invoked conditionally." >&2;}
117449 { (exit 1); exit 1; }; }
117451 if test -z "${GLIBCXX_C_HEADERS_EXTRA_TRUE}" && test -z "${GLIBCXX_C_HEADERS_EXTRA_FALSE}"; then
117452 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
117453 Usually this means the macro was only invoked conditionally." >&5
117454 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
117455 Usually this means the macro was only invoked conditionally." >&2;}
117456 { (exit 1); exit 1; }; }
117458 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
117459 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
117460 Usually this means the macro was only invoked conditionally." >&5
117461 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
117462 Usually this means the macro was only invoked conditionally." >&2;}
117463 { (exit 1); exit 1; }; }
117465 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
117466 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_PARALLEL\" was never defined.
117467 Usually this means the macro was only invoked conditionally." >&5
117468 echo "$as_me: error: conditional \"ENABLE_PARALLEL\" was never defined.
117469 Usually this means the macro was only invoked conditionally." >&2;}
117470 { (exit 1); exit 1; }; }
117472 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
117473 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS\" was never defined.
117474 Usually this means the macro was only invoked conditionally." >&5
117475 echo "$as_me: error: conditional \"ENABLE_SYMVERS\" was never defined.
117476 Usually this means the macro was only invoked conditionally." >&2;}
117477 { (exit 1); exit 1; }; }
117479 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
117480 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
117481 Usually this means the macro was only invoked conditionally." >&5
117482 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
117483 Usually this means the macro was only invoked conditionally." >&2;}
117484 { (exit 1); exit 1; }; }
117486 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
117487 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
117488 Usually this means the macro was only invoked conditionally." >&5
117489 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
117490 Usually this means the macro was only invoked conditionally." >&2;}
117491 { (exit 1); exit 1; }; }
117493 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
117494 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
117495 Usually this means the macro was only invoked conditionally." >&5
117496 echo "$as_me: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
117497 Usually this means the macro was only invoked conditionally." >&2;}
117498 { (exit 1); exit 1; }; }
117500 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
117501 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_VISIBILITY\" was never defined.
117502 Usually this means the macro was only invoked conditionally." >&5
117503 echo "$as_me: error: conditional \"ENABLE_VISIBILITY\" was never defined.
117504 Usually this means the macro was only invoked conditionally." >&2;}
117505 { (exit 1); exit 1; }; }
117507 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
117508 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
117509 Usually this means the macro was only invoked conditionally." >&5
117510 echo "$as_me: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
117511 Usually this means the macro was only invoked conditionally." >&2;}
117512 { (exit 1); exit 1; }; }
117515 : ${CONFIG_STATUS=./config.status}
117516 ac_clean_files_save=$ac_clean_files
117517 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
117518 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
117519 echo "$as_me: creating $CONFIG_STATUS" >&6;}
117520 cat >$CONFIG_STATUS <<_ACEOF
117521 #! $SHELL
117522 # Generated by $as_me.
117523 # Run this file to recreate the current configuration.
117524 # Compiler output produced by configure, useful for debugging
117525 # configure, is in config.log if it exists.
117527 debug=false
117528 ac_cs_recheck=false
117529 ac_cs_silent=false
117530 SHELL=\${CONFIG_SHELL-$SHELL}
117531 _ACEOF
117533 cat >>$CONFIG_STATUS <<\_ACEOF
117534 ## --------------------- ##
117535 ## M4sh Initialization. ##
117536 ## --------------------- ##
117538 # Be Bourne compatible
117539 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
117540 emulate sh
117541 NULLCMD=:
117542 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
117543 # is contrary to our usage. Disable this feature.
117544 alias -g '${1+"$@"}'='"$@"'
117545 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
117546 set -o posix
117548 DUALCASE=1; export DUALCASE # for MKS sh
117550 # Support unset when possible.
117551 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
117552 as_unset=unset
117554 as_unset=false
117558 # Work around bugs in pre-3.0 UWIN ksh.
117559 $as_unset ENV MAIL MAILPATH
117560 PS1='$ '
117561 PS2='> '
117562 PS4='+ '
117564 # NLS nuisances.
117565 for as_var in \
117566 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
117567 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
117568 LC_TELEPHONE LC_TIME
117570 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
117571 eval $as_var=C; export $as_var
117573 $as_unset $as_var
117577 # Required to use basename.
117578 if expr a : '\(a\)' >/dev/null 2>&1; then
117579 as_expr=expr
117581 as_expr=false
117584 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
117585 as_basename=basename
117587 as_basename=false
117591 # Name of the executable.
117592 as_me=`$as_basename "$0" ||
117593 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
117594 X"$0" : 'X\(//\)$' \| \
117595 X"$0" : 'X\(/\)$' \| \
117596 . : '\(.\)' 2>/dev/null ||
117597 echo X/"$0" |
117598 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
117599 /^X\/\(\/\/\)$/{ s//\1/; q; }
117600 /^X\/\(\/\).*/{ s//\1/; q; }
117601 s/.*/./; q'`
117604 # PATH needs CR, and LINENO needs CR and PATH.
117605 # Avoid depending upon Character Ranges.
117606 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
117607 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
117608 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
117609 as_cr_digits='0123456789'
117610 as_cr_alnum=$as_cr_Letters$as_cr_digits
117612 # The user is always right.
117613 if test "${PATH_SEPARATOR+set}" != set; then
117614 echo "#! /bin/sh" >conf$$.sh
117615 echo "exit 0" >>conf$$.sh
117616 chmod +x conf$$.sh
117617 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
117618 PATH_SEPARATOR=';'
117620 PATH_SEPARATOR=:
117622 rm -f conf$$.sh
117626 as_lineno_1=$LINENO
117627 as_lineno_2=$LINENO
117628 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
117629 test "x$as_lineno_1" != "x$as_lineno_2" &&
117630 test "x$as_lineno_3" = "x$as_lineno_2" || {
117631 # Find who we are. Look in the path if we contain no path at all
117632 # relative or not.
117633 case $0 in
117634 *[\\/]* ) as_myself=$0 ;;
117635 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
117636 for as_dir in $PATH
117638 IFS=$as_save_IFS
117639 test -z "$as_dir" && as_dir=.
117640 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
117645 # We did not find ourselves, most probably we were run as `sh COMMAND'
117646 # in which case we are not to be found in the path.
117647 if test "x$as_myself" = x; then
117648 as_myself=$0
117650 if test ! -f "$as_myself"; then
117651 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
117652 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
117653 { (exit 1); exit 1; }; }
117655 case $CONFIG_SHELL in
117657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
117658 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
117660 IFS=$as_save_IFS
117661 test -z "$as_dir" && as_dir=.
117662 for as_base in sh bash ksh sh5; do
117663 case $as_dir in
117665 if ("$as_dir/$as_base" -c '
117666 as_lineno_1=$LINENO
117667 as_lineno_2=$LINENO
117668 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
117669 test "x$as_lineno_1" != "x$as_lineno_2" &&
117670 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
117671 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
117672 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
117673 CONFIG_SHELL=$as_dir/$as_base
117674 export CONFIG_SHELL
117675 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
117683 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
117684 # uniformly replaced by the line number. The first 'sed' inserts a
117685 # line-number line before each line; the second 'sed' does the real
117686 # work. The second script uses 'N' to pair each line-number line
117687 # with the numbered line, and appends trailing '-' during
117688 # substitution so that $LINENO is not a special case at line end.
117689 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
117690 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
117691 sed '=' <$as_myself |
117692 sed '
117694 s,$,-,
117695 : loop
117696 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
117697 t loop
117698 s,-$,,
117699 s,^['$as_cr_digits']*\n,,
117700 ' >$as_me.lineno &&
117701 chmod +x $as_me.lineno ||
117702 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
117703 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
117704 { (exit 1); exit 1; }; }
117706 # Don't try to exec as it changes $[0], causing all sort of problems
117707 # (the dirname of $[0] is not the place where we might find the
117708 # original and so on. Autoconf is especially sensible to this).
117709 . ./$as_me.lineno
117710 # Exit status is that of the last command.
117715 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
117716 *c*,-n*) ECHO_N= ECHO_C='
117717 ' ECHO_T=' ' ;;
117718 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
117719 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
117722 if expr a : '\(a\)' >/dev/null 2>&1; then
117723 as_expr=expr
117725 as_expr=false
117728 rm -f conf$$ conf$$.exe conf$$.file
117729 echo >conf$$.file
117730 if ln -s conf$$.file conf$$ 2>/dev/null; then
117731 # We could just check for DJGPP; but this test a) works b) is more generic
117732 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
117733 if test -f conf$$.exe; then
117734 # Don't use ln at all; we don't have any links
117735 as_ln_s='cp -p'
117737 as_ln_s='ln -s'
117739 elif ln conf$$.file conf$$ 2>/dev/null; then
117740 as_ln_s=ln
117742 as_ln_s='cp -p'
117744 rm -f conf$$ conf$$.exe conf$$.file
117746 if mkdir -p . 2>/dev/null; then
117747 as_mkdir_p=:
117749 test -d ./-p && rmdir ./-p
117750 as_mkdir_p=false
117753 as_executable_p="test -f"
117755 # Sed expression to map a string onto a valid CPP name.
117756 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
117758 # Sed expression to map a string onto a valid variable name.
117759 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
117762 # IFS
117763 # We need space, tab and new line, in precisely that order.
117764 as_nl='
117766 IFS=" $as_nl"
117768 # CDPATH.
117769 $as_unset CDPATH
117771 exec 6>&1
117773 # Open the log real soon, to keep \$[0] and so on meaningful, and to
117774 # report actual input values of CONFIG_FILES etc. instead of their
117775 # values after options handling. Logging --version etc. is OK.
117776 exec 5>>config.log
117779 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
117780 ## Running $as_me. ##
117781 _ASBOX
117782 } >&5
117783 cat >&5 <<_CSEOF
117785 This file was extended by package-unused $as_me version-unused, which was
117786 generated by GNU Autoconf 2.59. Invocation command line was
117788 CONFIG_FILES = $CONFIG_FILES
117789 CONFIG_HEADERS = $CONFIG_HEADERS
117790 CONFIG_LINKS = $CONFIG_LINKS
117791 CONFIG_COMMANDS = $CONFIG_COMMANDS
117792 $ $0 $@
117794 _CSEOF
117795 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
117796 echo >&5
117797 _ACEOF
117799 # Files that config.status was made for.
117800 if test -n "$ac_config_files"; then
117801 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
117804 if test -n "$ac_config_headers"; then
117805 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
117808 if test -n "$ac_config_links"; then
117809 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
117812 if test -n "$ac_config_commands"; then
117813 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
117816 cat >>$CONFIG_STATUS <<\_ACEOF
117818 ac_cs_usage="\
117819 \`$as_me' instantiates files from templates according to the
117820 current configuration.
117822 Usage: $0 [OPTIONS] [FILE]...
117824 -h, --help print this help, then exit
117825 -V, --version print version number, then exit
117826 -q, --quiet do not print progress messages
117827 -d, --debug don't remove temporary files
117828 --recheck update $as_me by reconfiguring in the same conditions
117829 --file=FILE[:TEMPLATE]
117830 instantiate the configuration file FILE
117831 --header=FILE[:TEMPLATE]
117832 instantiate the configuration header FILE
117834 Configuration files:
117835 $config_files
117837 Configuration headers:
117838 $config_headers
117840 Configuration commands:
117841 $config_commands
117843 Report bugs to <bug-autoconf@gnu.org>."
117844 _ACEOF
117846 cat >>$CONFIG_STATUS <<_ACEOF
117847 ac_cs_version="\\
117848 package-unused config.status version-unused
117849 configured by $0, generated by GNU Autoconf 2.59,
117850 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
117852 Copyright (C) 2003 Free Software Foundation, Inc.
117853 This config.status script is free software; the Free Software Foundation
117854 gives unlimited permission to copy, distribute and modify it."
117855 srcdir=$srcdir
117856 INSTALL="$INSTALL"
117857 _ACEOF
117859 cat >>$CONFIG_STATUS <<\_ACEOF
117860 # If no file are specified by the user, then we need to provide default
117861 # value. By we need to know if files were specified by the user.
117862 ac_need_defaults=:
117863 while test $# != 0
117865 case $1 in
117866 --*=*)
117867 ac_option=`expr "x$1" : 'x\([^=]*\)='`
117868 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
117869 ac_shift=:
117872 ac_option=$1
117873 ac_optarg=$2
117874 ac_shift=shift
117876 *) # This is not an option, so the user has probably given explicit
117877 # arguments.
117878 ac_option=$1
117879 ac_need_defaults=false;;
117882 case $ac_option in
117883 # Handling of the options.
117884 _ACEOF
117885 cat >>$CONFIG_STATUS <<\_ACEOF
117886 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
117887 ac_cs_recheck=: ;;
117888 --version | --vers* | -V )
117889 echo "$ac_cs_version"; exit 0 ;;
117890 --he | --h)
117891 # Conflict between --help and --header
117892 { { echo "$as_me:$LINENO: error: ambiguous option: $1
117893 Try \`$0 --help' for more information." >&5
117894 echo "$as_me: error: ambiguous option: $1
117895 Try \`$0 --help' for more information." >&2;}
117896 { (exit 1); exit 1; }; };;
117897 --help | --hel | -h )
117898 echo "$ac_cs_usage"; exit 0 ;;
117899 --debug | --d* | -d )
117900 debug=: ;;
117901 --file | --fil | --fi | --f )
117902 $ac_shift
117903 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
117904 ac_need_defaults=false;;
117905 --header | --heade | --head | --hea )
117906 $ac_shift
117907 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
117908 ac_need_defaults=false;;
117909 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
117910 | -silent | --silent | --silen | --sile | --sil | --si | --s)
117911 ac_cs_silent=: ;;
117913 # This is an error.
117914 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
117915 Try \`$0 --help' for more information." >&5
117916 echo "$as_me: error: unrecognized option: $1
117917 Try \`$0 --help' for more information." >&2;}
117918 { (exit 1); exit 1; }; } ;;
117920 *) ac_config_targets="$ac_config_targets $1" ;;
117923 shift
117926 ac_configure_extra_args=
117928 if $ac_cs_silent; then
117929 exec 6>/dev/null
117930 ac_configure_extra_args="$ac_configure_extra_args --silent"
117933 _ACEOF
117934 cat >>$CONFIG_STATUS <<_ACEOF
117935 if \$ac_cs_recheck; then
117936 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
117937 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
117940 _ACEOF
117942 cat >>$CONFIG_STATUS <<_ACEOF
117944 # INIT-COMMANDS section.
117948 srcdir="$srcdir"
117949 host="$host"
117950 target="$target"
117951 with_multisubdir="$with_multisubdir"
117952 with_multisrctop="$with_multisrctop"
117953 with_target_subdir="$with_target_subdir"
117954 ac_configure_args="${multilib_arg} ${ac_configure_args}"
117955 multi_basedir="$multi_basedir"
117956 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
117957 CC="$CC"
117960 # The HP-UX ksh and POSIX shell print the target directory to stdout
117961 # if CDPATH is set.
117962 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
117964 sed_quote_subst='$sed_quote_subst'
117965 double_quote_subst='$double_quote_subst'
117966 delay_variable_subst='$delay_variable_subst'
117967 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
117968 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
117969 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
117970 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
117971 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
117972 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
117973 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
117974 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
117975 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
117976 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
117977 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
117978 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
117979 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
117980 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
117981 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
117982 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
117983 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
117984 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
117985 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
117986 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
117987 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
117988 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
117989 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
117990 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
117991 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
117992 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
117993 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
117994 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
117995 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
117996 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
117997 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
117998 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
117999 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
118000 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
118001 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
118002 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
118003 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
118004 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
118005 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
118006 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
118007 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
118008 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
118009 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
118010 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"`'
118011 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
118012 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
118013 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
118014 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
118015 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
118016 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
118017 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
118018 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
118019 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
118020 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
118021 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
118022 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
118023 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
118024 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
118025 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
118026 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
118027 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
118028 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
118029 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
118030 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
118031 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
118032 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
118033 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
118034 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
118035 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
118036 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
118037 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
118038 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
118039 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
118040 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
118041 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
118042 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
118043 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
118044 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
118045 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
118046 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
118047 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
118048 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
118049 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
118050 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
118051 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
118052 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
118053 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
118054 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
118055 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
118056 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
118057 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
118058 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
118059 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
118060 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
118061 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
118062 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
118063 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
118064 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
118065 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
118066 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
118067 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
118068 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
118069 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
118070 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
118071 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
118072 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
118073 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
118074 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
118075 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
118076 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
118077 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
118078 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
118079 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
118080 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
118081 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
118082 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
118083 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118084 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118085 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118086 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118087 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118088 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118089 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118090 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118091 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118092 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118093 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118094 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118095 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118096 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118097 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118098 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118099 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118100 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118101 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118102 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118103 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118104 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118105 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118106 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118107 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118108 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118109 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118110 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118111 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118112 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118113 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118114 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118115 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118116 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118117 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118118 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118119 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118120 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118121 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118122 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118123 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118124 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118125 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118126 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118127 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118128 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118130 LTCC='$LTCC'
118131 LTCFLAGS='$LTCFLAGS'
118132 compiler='$compiler_DEFAULT'
118134 # Quote evaled strings.
118135 for var in SED \
118136 GREP \
118137 EGREP \
118138 FGREP \
118141 LN_S \
118142 lt_SP2NL \
118143 lt_NL2SP \
118144 reload_flag \
118145 deplibs_check_method \
118146 file_magic_cmd \
118148 AR_FLAGS \
118149 STRIP \
118150 RANLIB \
118152 CFLAGS \
118153 compiler \
118154 lt_cv_sys_global_symbol_pipe \
118155 lt_cv_sys_global_symbol_to_cdecl \
118156 lt_cv_sys_global_symbol_to_c_name_address \
118157 SHELL \
118158 ECHO \
118159 lt_prog_compiler_no_builtin_flag \
118160 lt_prog_compiler_wl \
118161 lt_prog_compiler_pic \
118162 lt_prog_compiler_static \
118163 lt_cv_prog_compiler_c_o \
118164 need_locks \
118165 shrext_cmds \
118166 export_dynamic_flag_spec \
118167 whole_archive_flag_spec \
118168 compiler_needs_object \
118169 with_gnu_ld \
118170 allow_undefined_flag \
118171 no_undefined_flag \
118172 hardcode_libdir_flag_spec \
118173 hardcode_libdir_flag_spec_ld \
118174 hardcode_libdir_separator \
118175 fix_srcfile_path \
118176 exclude_expsyms \
118177 include_expsyms \
118178 file_list_spec \
118179 variables_saved_for_relink \
118180 libname_spec \
118181 library_names_spec \
118182 soname_spec \
118183 finish_eval \
118184 old_striplib \
118185 striplib \
118186 predep_objects \
118187 postdep_objects \
118188 predeps \
118189 postdeps \
118190 compiler_lib_search_path \
118191 LD_CXX \
118192 compiler_CXX \
118193 lt_prog_compiler_no_builtin_flag_CXX \
118194 lt_prog_compiler_wl_CXX \
118195 lt_prog_compiler_pic_CXX \
118196 lt_prog_compiler_static_CXX \
118197 lt_cv_prog_compiler_c_o_CXX \
118198 export_dynamic_flag_spec_CXX \
118199 whole_archive_flag_spec_CXX \
118200 compiler_needs_object_CXX \
118201 with_gnu_ld_CXX \
118202 allow_undefined_flag_CXX \
118203 no_undefined_flag_CXX \
118204 hardcode_libdir_flag_spec_CXX \
118205 hardcode_libdir_flag_spec_ld_CXX \
118206 hardcode_libdir_separator_CXX \
118207 fix_srcfile_path_CXX \
118208 exclude_expsyms_CXX \
118209 include_expsyms_CXX \
118210 file_list_spec_CXX \
118211 predep_objects_CXX \
118212 postdep_objects_CXX \
118213 predeps_CXX \
118214 postdeps_CXX \
118215 compiler_lib_search_path_CXX; do
118216 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
118217 *[\\\\\\\`\\"\\\$]*)
118218 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
118221 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
118226 # Double-quote double-evaled strings.
118227 for var in reload_cmds \
118228 old_postinstall_cmds \
118229 old_postuninstall_cmds \
118230 old_archive_cmds \
118231 extract_expsyms_cmds \
118232 old_archive_from_new_cmds \
118233 old_archive_from_expsyms_cmds \
118234 archive_cmds \
118235 archive_expsym_cmds \
118236 module_cmds \
118237 module_expsym_cmds \
118238 export_symbols_cmds \
118239 prelink_cmds \
118240 postinstall_cmds \
118241 postuninstall_cmds \
118242 finish_cmds \
118243 sys_lib_search_path_spec \
118244 sys_lib_dlsearch_path_spec \
118245 old_archive_cmds_CXX \
118246 old_archive_from_new_cmds_CXX \
118247 old_archive_from_expsyms_cmds_CXX \
118248 archive_cmds_CXX \
118249 archive_expsym_cmds_CXX \
118250 module_cmds_CXX \
118251 module_expsym_cmds_CXX \
118252 export_symbols_cmds_CXX \
118253 prelink_cmds_CXX; do
118254 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
118255 *[\\\\\\\`\\"\\\$]*)
118256 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
118259 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
118264 # Fix-up fallback echo if it was mangled by the above quoting rules.
118265 case \$lt_ECHO in
118266 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
118270 ac_aux_dir='$ac_aux_dir'
118271 xsi_shell='$xsi_shell'
118272 lt_shell_append='$lt_shell_append'
118274 # See if we are running on zsh, and set the options which allow our
118275 # commands through without removal of \ escapes INIT.
118276 if test -n "\${ZSH_VERSION+set}" ; then
118277 setopt NO_GLOB_SUBST
118281 PACKAGE='$PACKAGE'
118282 VERSION='$VERSION'
118283 TIMESTAMP='$TIMESTAMP'
118284 RM='$RM'
118285 ofile='$ofile'
118292 # Variables needed in config.status (file generation) which aren't already
118293 # passed by autoconf.
118294 SUBDIRS="$SUBDIRS"
118297 _ACEOF
118301 cat >>$CONFIG_STATUS <<\_ACEOF
118302 for ac_config_target in $ac_config_targets
118304 case "$ac_config_target" in
118305 # Handling of arguments.
118306 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
118307 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
118308 "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
118309 "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
118310 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
118311 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
118312 "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
118313 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
118314 "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
118315 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
118316 "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
118317 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
118318 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
118319 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
118320 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
118321 { (exit 1); exit 1; }; };;
118325 # If the user did not use the arguments to specify the items to instantiate,
118326 # then the envvar interface is used. Set only those that are not.
118327 # We use the long form for the default assignment because of an extremely
118328 # bizarre bug on SunOS 4.1.3.
118329 if $ac_need_defaults; then
118330 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
118331 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
118332 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
118335 # Have a temporary directory for convenience. Make it in the build tree
118336 # simply because there is no reason to put it here, and in addition,
118337 # creating and moving files from /tmp can sometimes cause problems.
118338 # Create a temporary directory, and hook for its removal unless debugging.
118339 $debug ||
118341 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
118342 trap '{ (exit 1); exit 1; }' 1 2 13 15
118345 # Create a (secure) tmp directory for tmp files.
118348 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
118349 test -n "$tmp" && test -d "$tmp"
118352 tmp=./confstat$$-$RANDOM
118353 (umask 077 && mkdir $tmp)
118356 echo "$me: cannot create a temporary directory in ." >&2
118357 { (exit 1); exit 1; }
118360 _ACEOF
118362 cat >>$CONFIG_STATUS <<_ACEOF
118365 # CONFIG_FILES section.
118368 # No need to generate the scripts if there are no CONFIG_FILES.
118369 # This happens for instance when ./config.status config.h
118370 if test -n "\$CONFIG_FILES"; then
118371 # Protect against being on the right side of a sed subst in config.status.
118372 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
118373 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
118374 s,@SHELL@,$SHELL,;t t
118375 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
118376 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
118377 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
118378 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
118379 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
118380 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
118381 s,@exec_prefix@,$exec_prefix,;t t
118382 s,@prefix@,$prefix,;t t
118383 s,@program_transform_name@,$program_transform_name,;t t
118384 s,@bindir@,$bindir,;t t
118385 s,@sbindir@,$sbindir,;t t
118386 s,@libexecdir@,$libexecdir,;t t
118387 s,@datadir@,$datadir,;t t
118388 s,@sysconfdir@,$sysconfdir,;t t
118389 s,@sharedstatedir@,$sharedstatedir,;t t
118390 s,@localstatedir@,$localstatedir,;t t
118391 s,@libdir@,$libdir,;t t
118392 s,@includedir@,$includedir,;t t
118393 s,@oldincludedir@,$oldincludedir,;t t
118394 s,@infodir@,$infodir,;t t
118395 s,@mandir@,$mandir,;t t
118396 s,@build_alias@,$build_alias,;t t
118397 s,@host_alias@,$host_alias,;t t
118398 s,@target_alias@,$target_alias,;t t
118399 s,@DEFS@,$DEFS,;t t
118400 s,@ECHO_C@,$ECHO_C,;t t
118401 s,@ECHO_N@,$ECHO_N,;t t
118402 s,@ECHO_T@,$ECHO_T,;t t
118403 s,@LIBS@,$LIBS,;t t
118404 s,@libtool_VERSION@,$libtool_VERSION,;t t
118405 s,@multi_basedir@,$multi_basedir,;t t
118406 s,@build@,$build,;t t
118407 s,@build_cpu@,$build_cpu,;t t
118408 s,@build_vendor@,$build_vendor,;t t
118409 s,@build_os@,$build_os,;t t
118410 s,@host@,$host,;t t
118411 s,@host_cpu@,$host_cpu,;t t
118412 s,@host_vendor@,$host_vendor,;t t
118413 s,@host_os@,$host_os,;t t
118414 s,@target@,$target,;t t
118415 s,@target_cpu@,$target_cpu,;t t
118416 s,@target_vendor@,$target_vendor,;t t
118417 s,@target_os@,$target_os,;t t
118418 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
118419 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
118420 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
118421 s,@CYGPATH_W@,$CYGPATH_W,;t t
118422 s,@PACKAGE@,$PACKAGE,;t t
118423 s,@VERSION@,$VERSION,;t t
118424 s,@ACLOCAL@,$ACLOCAL,;t t
118425 s,@AUTOCONF@,$AUTOCONF,;t t
118426 s,@AUTOMAKE@,$AUTOMAKE,;t t
118427 s,@AUTOHEADER@,$AUTOHEADER,;t t
118428 s,@MAKEINFO@,$MAKEINFO,;t t
118429 s,@install_sh@,$install_sh,;t t
118430 s,@STRIP@,$STRIP,;t t
118431 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
118432 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
118433 s,@mkdir_p@,$mkdir_p,;t t
118434 s,@AWK@,$AWK,;t t
118435 s,@SET_MAKE@,$SET_MAKE,;t t
118436 s,@am__leading_dot@,$am__leading_dot,;t t
118437 s,@AMTAR@,$AMTAR,;t t
118438 s,@am__tar@,$am__tar,;t t
118439 s,@am__untar@,$am__untar,;t t
118440 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
118441 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
118442 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
118443 s,@CC@,$CC,;t t
118444 s,@ac_ct_CC@,$ac_ct_CC,;t t
118445 s,@EXEEXT@,$EXEEXT,;t t
118446 s,@OBJEXT@,$OBJEXT,;t t
118447 s,@CXX@,$CXX,;t t
118448 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
118449 s,@CFLAGS@,$CFLAGS,;t t
118450 s,@CXXFLAGS@,$CXXFLAGS,;t t
118451 s,@LN_S@,$LN_S,;t t
118452 s,@AS@,$AS,;t t
118453 s,@ac_ct_AS@,$ac_ct_AS,;t t
118454 s,@AR@,$AR,;t t
118455 s,@ac_ct_AR@,$ac_ct_AR,;t t
118456 s,@RANLIB@,$RANLIB,;t t
118457 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
118458 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
118459 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
118460 s,@MAINT@,$MAINT,;t t
118461 s,@CPP@,$CPP,;t t
118462 s,@CPPFLAGS@,$CPPFLAGS,;t t
118463 s,@EGREP@,$EGREP,;t t
118464 s,@LIBTOOL@,$LIBTOOL,;t t
118465 s,@SED@,$SED,;t t
118466 s,@FGREP@,$FGREP,;t t
118467 s,@GREP@,$GREP,;t t
118468 s,@LD@,$LD,;t t
118469 s,@DUMPBIN@,$DUMPBIN,;t t
118470 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
118471 s,@NM@,$NM,;t t
118472 s,@lt_ECHO@,$lt_ECHO,;t t
118473 s,@LDFLAGS@,$LDFLAGS,;t t
118474 s,@CXXCPP@,$CXXCPP,;t t
118475 s,@enable_shared@,$enable_shared,;t t
118476 s,@enable_static@,$enable_static,;t t
118477 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
118478 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
118479 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
118480 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
118481 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
118482 s,@CSTDIO_H@,$CSTDIO_H,;t t
118483 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
118484 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
118485 s,@check_msgfmt@,$check_msgfmt,;t t
118486 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
118487 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
118488 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
118489 s,@USE_NLS@,$USE_NLS,;t t
118490 s,@CLOCALE_H@,$CLOCALE_H,;t t
118491 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
118492 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
118493 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
118494 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
118495 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
118496 s,@CMONEY_CC@,$CMONEY_CC,;t t
118497 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
118498 s,@CTIME_H@,$CTIME_H,;t t
118499 s,@CTIME_CC@,$CTIME_CC,;t t
118500 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
118501 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
118502 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
118503 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
118504 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
118505 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
118506 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
118507 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
118508 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
118509 s,@GLIBCXX_C_HEADERS_C_GLOBAL_TRUE@,$GLIBCXX_C_HEADERS_C_GLOBAL_TRUE,;t t
118510 s,@GLIBCXX_C_HEADERS_C_GLOBAL_FALSE@,$GLIBCXX_C_HEADERS_C_GLOBAL_FALSE,;t t
118511 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
118512 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
118513 s,@GLIBCXX_C_HEADERS_EXTRA_TRUE@,$GLIBCXX_C_HEADERS_EXTRA_TRUE,;t t
118514 s,@GLIBCXX_C_HEADERS_EXTRA_FALSE@,$GLIBCXX_C_HEADERS_EXTRA_FALSE,;t t
118515 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
118516 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
118517 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
118518 s,@ENABLE_PARALLEL_TRUE@,$ENABLE_PARALLEL_TRUE,;t t
118519 s,@ENABLE_PARALLEL_FALSE@,$ENABLE_PARALLEL_FALSE,;t t
118520 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
118521 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
118522 s,@WERROR@,$WERROR,;t t
118523 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
118524 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
118525 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
118526 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
118527 s,@LIBICONV@,$LIBICONV,;t t
118528 s,@LTLIBICONV@,$LTLIBICONV,;t t
118529 s,@SYMVER_FILE@,$SYMVER_FILE,;t t
118530 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
118531 s,@ENABLE_SYMVERS_TRUE@,$ENABLE_SYMVERS_TRUE,;t t
118532 s,@ENABLE_SYMVERS_FALSE@,$ENABLE_SYMVERS_FALSE,;t t
118533 s,@ENABLE_SYMVERS_GNU_TRUE@,$ENABLE_SYMVERS_GNU_TRUE,;t t
118534 s,@ENABLE_SYMVERS_GNU_FALSE@,$ENABLE_SYMVERS_GNU_FALSE,;t t
118535 s,@ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@,$ENABLE_SYMVERS_GNU_NAMESPACE_TRUE,;t t
118536 s,@ENABLE_SYMVERS_GNU_NAMESPACE_FALSE@,$ENABLE_SYMVERS_GNU_NAMESPACE_FALSE,;t t
118537 s,@ENABLE_SYMVERS_DARWIN_TRUE@,$ENABLE_SYMVERS_DARWIN_TRUE,;t t
118538 s,@ENABLE_SYMVERS_DARWIN_FALSE@,$ENABLE_SYMVERS_DARWIN_FALSE,;t t
118539 s,@ENABLE_VISIBILITY_TRUE@,$ENABLE_VISIBILITY_TRUE,;t t
118540 s,@ENABLE_VISIBILITY_FALSE@,$ENABLE_VISIBILITY_FALSE,;t t
118541 s,@GLIBCXX_LDBL_COMPAT_TRUE@,$GLIBCXX_LDBL_COMPAT_TRUE,;t t
118542 s,@GLIBCXX_LDBL_COMPAT_FALSE@,$GLIBCXX_LDBL_COMPAT_FALSE,;t t
118543 s,@baseline_dir@,$baseline_dir,;t t
118544 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
118545 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
118546 s,@ATOMIC_FLAGS@,$ATOMIC_FLAGS,;t t
118547 s,@CPU_DEFINES_SRCDIR@,$CPU_DEFINES_SRCDIR,;t t
118548 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
118549 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
118550 s,@ERROR_CONSTANTS_SRCDIR@,$ERROR_CONSTANTS_SRCDIR,;t t
118551 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
118552 s,@gxx_include_dir@,$gxx_include_dir,;t t
118553 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
118554 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
118555 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
118556 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
118557 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
118558 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
118559 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
118560 s,@LIBOBJS@,$LIBOBJS,;t t
118561 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
118564 _ACEOF
118566 cat >>$CONFIG_STATUS <<\_ACEOF
118567 # Split the substitutions into bite-sized pieces for seds with
118568 # small command number limits, like on Digital OSF/1 and HP-UX.
118569 ac_max_sed_lines=48
118570 ac_sed_frag=1 # Number of current file.
118571 ac_beg=1 # First line for current file.
118572 ac_end=$ac_max_sed_lines # Line after last line for current file.
118573 ac_more_lines=:
118574 ac_sed_cmds=
118575 while $ac_more_lines; do
118576 if test $ac_beg -gt 1; then
118577 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
118579 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
118581 if test ! -s $tmp/subs.frag; then
118582 ac_more_lines=false
118584 # The purpose of the label and of the branching condition is to
118585 # speed up the sed processing (if there are no `@' at all, there
118586 # is no need to browse any of the substitutions).
118587 # These are the two extra sed commands mentioned above.
118588 (echo ':t
118589 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
118590 if test -z "$ac_sed_cmds"; then
118591 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
118593 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
118595 ac_sed_frag=`expr $ac_sed_frag + 1`
118596 ac_beg=$ac_end
118597 ac_end=`expr $ac_end + $ac_max_sed_lines`
118600 if test -z "$ac_sed_cmds"; then
118601 ac_sed_cmds=cat
118603 fi # test -n "$CONFIG_FILES"
118605 _ACEOF
118606 cat >>$CONFIG_STATUS <<\_ACEOF
118607 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
118608 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
118609 case $ac_file in
118610 - | *:- | *:-:* ) # input from stdin
118611 cat >$tmp/stdin
118612 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
118613 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
118614 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
118615 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
118616 * ) ac_file_in=$ac_file.in ;;
118619 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
118620 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
118621 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
118622 X"$ac_file" : 'X\(//\)[^/]' \| \
118623 X"$ac_file" : 'X\(//\)$' \| \
118624 X"$ac_file" : 'X\(/\)' \| \
118625 . : '\(.\)' 2>/dev/null ||
118626 echo X"$ac_file" |
118627 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
118628 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
118629 /^X\(\/\/\)$/{ s//\1/; q; }
118630 /^X\(\/\).*/{ s//\1/; q; }
118631 s/.*/./; q'`
118632 { if $as_mkdir_p; then
118633 mkdir -p "$ac_dir"
118635 as_dir="$ac_dir"
118636 as_dirs=
118637 while test ! -d "$as_dir"; do
118638 as_dirs="$as_dir $as_dirs"
118639 as_dir=`(dirname "$as_dir") 2>/dev/null ||
118640 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
118641 X"$as_dir" : 'X\(//\)[^/]' \| \
118642 X"$as_dir" : 'X\(//\)$' \| \
118643 X"$as_dir" : 'X\(/\)' \| \
118644 . : '\(.\)' 2>/dev/null ||
118645 echo X"$as_dir" |
118646 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
118647 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
118648 /^X\(\/\/\)$/{ s//\1/; q; }
118649 /^X\(\/\).*/{ s//\1/; q; }
118650 s/.*/./; q'`
118652 test ! -n "$as_dirs" || mkdir $as_dirs
118653 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
118654 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
118655 { (exit 1); exit 1; }; }; }
118657 ac_builddir=.
118659 if test "$ac_dir" != .; then
118660 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
118661 # A "../" for each directory in $ac_dir_suffix.
118662 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
118664 ac_dir_suffix= ac_top_builddir=
118667 case $srcdir in
118668 .) # No --srcdir option. We are building in place.
118669 ac_srcdir=.
118670 if test -z "$ac_top_builddir"; then
118671 ac_top_srcdir=.
118673 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
118674 fi ;;
118675 [\\/]* | ?:[\\/]* ) # Absolute path.
118676 ac_srcdir=$srcdir$ac_dir_suffix;
118677 ac_top_srcdir=$srcdir ;;
118678 *) # Relative path.
118679 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
118680 ac_top_srcdir=$ac_top_builddir$srcdir ;;
118683 # Do not use `cd foo && pwd` to compute absolute paths, because
118684 # the directories may not exist.
118685 case `pwd` in
118686 .) ac_abs_builddir="$ac_dir";;
118688 case "$ac_dir" in
118689 .) ac_abs_builddir=`pwd`;;
118690 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
118691 *) ac_abs_builddir=`pwd`/"$ac_dir";;
118692 esac;;
118694 case $ac_abs_builddir in
118695 .) ac_abs_top_builddir=${ac_top_builddir}.;;
118697 case ${ac_top_builddir}. in
118698 .) ac_abs_top_builddir=$ac_abs_builddir;;
118699 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
118700 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
118701 esac;;
118703 case $ac_abs_builddir in
118704 .) ac_abs_srcdir=$ac_srcdir;;
118706 case $ac_srcdir in
118707 .) ac_abs_srcdir=$ac_abs_builddir;;
118708 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
118709 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
118710 esac;;
118712 case $ac_abs_builddir in
118713 .) ac_abs_top_srcdir=$ac_top_srcdir;;
118715 case $ac_top_srcdir in
118716 .) ac_abs_top_srcdir=$ac_abs_builddir;;
118717 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
118718 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
118719 esac;;
118723 case $INSTALL in
118724 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
118725 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
118728 if test x"$ac_file" != x-; then
118729 { echo "$as_me:$LINENO: creating $ac_file" >&5
118730 echo "$as_me: creating $ac_file" >&6;}
118731 rm -f "$ac_file"
118733 # Let's still pretend it is `configure' which instantiates (i.e., don't
118734 # use $as_me), people would be surprised to read:
118735 # /* config.h. Generated by config.status. */
118736 if test x"$ac_file" = x-; then
118737 configure_input=
118739 configure_input="$ac_file. "
118741 configure_input=$configure_input"Generated from `echo $ac_file_in |
118742 sed 's,.*/,,'` by configure."
118744 # First look for the input files in the build tree, otherwise in the
118745 # src tree.
118746 ac_file_inputs=`IFS=:
118747 for f in $ac_file_in; do
118748 case $f in
118749 -) echo $tmp/stdin ;;
118750 [\\/$]*)
118751 # Absolute (can't be DOS-style, as IFS=:)
118752 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
118753 echo "$as_me: error: cannot find input file: $f" >&2;}
118754 { (exit 1); exit 1; }; }
118755 echo "$f";;
118756 *) # Relative
118757 if test -f "$f"; then
118758 # Build tree
118759 echo "$f"
118760 elif test -f "$srcdir/$f"; then
118761 # Source tree
118762 echo "$srcdir/$f"
118764 # /dev/null tree
118765 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
118766 echo "$as_me: error: cannot find input file: $f" >&2;}
118767 { (exit 1); exit 1; }; }
118770 done` || { (exit 1); exit 1; }
118771 _ACEOF
118772 cat >>$CONFIG_STATUS <<_ACEOF
118773 sed "$ac_vpsub
118774 $extrasub
118775 _ACEOF
118776 cat >>$CONFIG_STATUS <<\_ACEOF
118778 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
118779 s,@configure_input@,$configure_input,;t t
118780 s,@srcdir@,$ac_srcdir,;t t
118781 s,@abs_srcdir@,$ac_abs_srcdir,;t t
118782 s,@top_srcdir@,$ac_top_srcdir,;t t
118783 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
118784 s,@builddir@,$ac_builddir,;t t
118785 s,@abs_builddir@,$ac_abs_builddir,;t t
118786 s,@top_builddir@,$ac_top_builddir,;t t
118787 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
118788 s,@INSTALL@,$ac_INSTALL,;t t
118789 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
118790 rm -f $tmp/stdin
118791 if test x"$ac_file" != x-; then
118792 mv $tmp/out $ac_file
118794 cat $tmp/out
118795 rm -f $tmp/out
118798 # Run the commands associated with the file.
118799 case $ac_file in
118800 scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
118803 _ACEOF
118804 cat >>$CONFIG_STATUS <<\_ACEOF
118807 # CONFIG_HEADER section.
118810 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
118811 # NAME is the cpp macro being defined and VALUE is the value it is being given.
118813 # ac_d sets the value in "#define NAME VALUE" lines.
118814 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
118815 ac_dB='[ ].*$,\1#\2'
118816 ac_dC=' '
118817 ac_dD=',;t'
118818 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
118819 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
118820 ac_uB='$,\1#\2define\3'
118821 ac_uC=' '
118822 ac_uD=',;t'
118824 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
118825 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
118826 case $ac_file in
118827 - | *:- | *:-:* ) # input from stdin
118828 cat >$tmp/stdin
118829 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
118830 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
118831 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
118832 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
118833 * ) ac_file_in=$ac_file.in ;;
118836 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
118837 echo "$as_me: creating $ac_file" >&6;}
118839 # First look for the input files in the build tree, otherwise in the
118840 # src tree.
118841 ac_file_inputs=`IFS=:
118842 for f in $ac_file_in; do
118843 case $f in
118844 -) echo $tmp/stdin ;;
118845 [\\/$]*)
118846 # Absolute (can't be DOS-style, as IFS=:)
118847 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
118848 echo "$as_me: error: cannot find input file: $f" >&2;}
118849 { (exit 1); exit 1; }; }
118850 # Do quote $f, to prevent DOS paths from being IFS'd.
118851 echo "$f";;
118852 *) # Relative
118853 if test -f "$f"; then
118854 # Build tree
118855 echo "$f"
118856 elif test -f "$srcdir/$f"; then
118857 # Source tree
118858 echo "$srcdir/$f"
118860 # /dev/null tree
118861 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
118862 echo "$as_me: error: cannot find input file: $f" >&2;}
118863 { (exit 1); exit 1; }; }
118866 done` || { (exit 1); exit 1; }
118867 # Remove the trailing spaces.
118868 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
118870 _ACEOF
118872 # Transform confdefs.h into two sed scripts, `conftest.defines' and
118873 # `conftest.undefs', that substitutes the proper values into
118874 # config.h.in to produce config.h. The first handles `#define'
118875 # templates, and the second `#undef' templates.
118876 # And first: Protect against being on the right side of a sed subst in
118877 # config.status. Protect against being in an unquoted here document
118878 # in config.status.
118879 rm -f conftest.defines conftest.undefs
118880 # Using a here document instead of a string reduces the quoting nightmare.
118881 # Putting comments in sed scripts is not portable.
118883 # `end' is used to avoid that the second main sed command (meant for
118884 # 0-ary CPP macros) applies to n-ary macro definitions.
118885 # See the Autoconf documentation for `clear'.
118886 cat >confdef2sed.sed <<\_ACEOF
118887 s/[\\&,]/\\&/g
118888 s,[\\$`],\\&,g
118889 t clear
118890 : clear
118891 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
118892 t end
118893 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
118894 : end
118895 _ACEOF
118896 # If some macros were called several times there might be several times
118897 # the same #defines, which is useless. Nevertheless, we may not want to
118898 # sort them, since we want the *last* AC-DEFINE to be honored.
118899 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
118900 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
118901 rm -f confdef2sed.sed
118903 # This sed command replaces #undef with comments. This is necessary, for
118904 # example, in the case of _POSIX_SOURCE, which is predefined and required
118905 # on some systems where configure will not decide to define it.
118906 cat >>conftest.undefs <<\_ACEOF
118907 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
118908 _ACEOF
118910 # Break up conftest.defines because some shells have a limit on the size
118911 # of here documents, and old seds have small limits too (100 cmds).
118912 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
118913 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
118914 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
118915 echo ' :' >>$CONFIG_STATUS
118916 rm -f conftest.tail
118917 while grep . conftest.defines >/dev/null
118919 # Write a limited-size here document to $tmp/defines.sed.
118920 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
118921 # Speed up: don't consider the non `#define' lines.
118922 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
118923 # Work around the forget-to-reset-the-flag bug.
118924 echo 't clr' >>$CONFIG_STATUS
118925 echo ': clr' >>$CONFIG_STATUS
118926 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
118927 echo 'CEOF
118928 sed -f $tmp/defines.sed $tmp/in >$tmp/out
118929 rm -f $tmp/in
118930 mv $tmp/out $tmp/in
118931 ' >>$CONFIG_STATUS
118932 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
118933 rm -f conftest.defines
118934 mv conftest.tail conftest.defines
118936 rm -f conftest.defines
118937 echo ' fi # grep' >>$CONFIG_STATUS
118938 echo >>$CONFIG_STATUS
118940 # Break up conftest.undefs because some shells have a limit on the size
118941 # of here documents, and old seds have small limits too (100 cmds).
118942 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
118943 rm -f conftest.tail
118944 while grep . conftest.undefs >/dev/null
118946 # Write a limited-size here document to $tmp/undefs.sed.
118947 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
118948 # Speed up: don't consider the non `#undef'
118949 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
118950 # Work around the forget-to-reset-the-flag bug.
118951 echo 't clr' >>$CONFIG_STATUS
118952 echo ': clr' >>$CONFIG_STATUS
118953 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
118954 echo 'CEOF
118955 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
118956 rm -f $tmp/in
118957 mv $tmp/out $tmp/in
118958 ' >>$CONFIG_STATUS
118959 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
118960 rm -f conftest.undefs
118961 mv conftest.tail conftest.undefs
118963 rm -f conftest.undefs
118965 cat >>$CONFIG_STATUS <<\_ACEOF
118966 # Let's still pretend it is `configure' which instantiates (i.e., don't
118967 # use $as_me), people would be surprised to read:
118968 # /* config.h. Generated by config.status. */
118969 if test x"$ac_file" = x-; then
118970 echo "/* Generated by configure. */" >$tmp/config.h
118972 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
118974 cat $tmp/in >>$tmp/config.h
118975 rm -f $tmp/in
118976 if test x"$ac_file" != x-; then
118977 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
118978 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
118979 echo "$as_me: $ac_file is unchanged" >&6;}
118981 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
118982 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
118983 X"$ac_file" : 'X\(//\)[^/]' \| \
118984 X"$ac_file" : 'X\(//\)$' \| \
118985 X"$ac_file" : 'X\(/\)' \| \
118986 . : '\(.\)' 2>/dev/null ||
118987 echo X"$ac_file" |
118988 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
118989 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
118990 /^X\(\/\/\)$/{ s//\1/; q; }
118991 /^X\(\/\).*/{ s//\1/; q; }
118992 s/.*/./; q'`
118993 { if $as_mkdir_p; then
118994 mkdir -p "$ac_dir"
118996 as_dir="$ac_dir"
118997 as_dirs=
118998 while test ! -d "$as_dir"; do
118999 as_dirs="$as_dir $as_dirs"
119000 as_dir=`(dirname "$as_dir") 2>/dev/null ||
119001 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
119002 X"$as_dir" : 'X\(//\)[^/]' \| \
119003 X"$as_dir" : 'X\(//\)$' \| \
119004 X"$as_dir" : 'X\(/\)' \| \
119005 . : '\(.\)' 2>/dev/null ||
119006 echo X"$as_dir" |
119007 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
119008 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
119009 /^X\(\/\/\)$/{ s//\1/; q; }
119010 /^X\(\/\).*/{ s//\1/; q; }
119011 s/.*/./; q'`
119013 test ! -n "$as_dirs" || mkdir $as_dirs
119014 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
119015 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
119016 { (exit 1); exit 1; }; }; }
119018 rm -f $ac_file
119019 mv $tmp/config.h $ac_file
119022 cat $tmp/config.h
119023 rm -f $tmp/config.h
119025 # Compute $ac_file's index in $config_headers.
119026 _am_stamp_count=1
119027 for _am_header in $config_headers :; do
119028 case $_am_header in
119029 $ac_file | $ac_file:* )
119030 break ;;
119032 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
119035 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
119036 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
119037 X$ac_file : 'X\(//\)[^/]' \| \
119038 X$ac_file : 'X\(//\)$' \| \
119039 X$ac_file : 'X\(/\)' \| \
119040 . : '\(.\)' 2>/dev/null ||
119041 echo X$ac_file |
119042 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
119043 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
119044 /^X\(\/\/\)$/{ s//\1/; q; }
119045 /^X\(\/\).*/{ s//\1/; q; }
119046 s/.*/./; q'`/stamp-h$_am_stamp_count
119048 _ACEOF
119049 cat >>$CONFIG_STATUS <<\_ACEOF
119052 # CONFIG_COMMANDS section.
119054 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
119055 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
119056 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
119057 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
119058 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
119059 X"$ac_dest" : 'X\(//\)[^/]' \| \
119060 X"$ac_dest" : 'X\(//\)$' \| \
119061 X"$ac_dest" : 'X\(/\)' \| \
119062 . : '\(.\)' 2>/dev/null ||
119063 echo X"$ac_dest" |
119064 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
119065 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
119066 /^X\(\/\/\)$/{ s//\1/; q; }
119067 /^X\(\/\).*/{ s//\1/; q; }
119068 s/.*/./; q'`
119069 { if $as_mkdir_p; then
119070 mkdir -p "$ac_dir"
119072 as_dir="$ac_dir"
119073 as_dirs=
119074 while test ! -d "$as_dir"; do
119075 as_dirs="$as_dir $as_dirs"
119076 as_dir=`(dirname "$as_dir") 2>/dev/null ||
119077 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
119078 X"$as_dir" : 'X\(//\)[^/]' \| \
119079 X"$as_dir" : 'X\(//\)$' \| \
119080 X"$as_dir" : 'X\(/\)' \| \
119081 . : '\(.\)' 2>/dev/null ||
119082 echo X"$as_dir" |
119083 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
119084 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
119085 /^X\(\/\/\)$/{ s//\1/; q; }
119086 /^X\(\/\).*/{ s//\1/; q; }
119087 s/.*/./; q'`
119089 test ! -n "$as_dirs" || mkdir $as_dirs
119090 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
119091 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
119092 { (exit 1); exit 1; }; }; }
119094 ac_builddir=.
119096 if test "$ac_dir" != .; then
119097 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
119098 # A "../" for each directory in $ac_dir_suffix.
119099 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
119101 ac_dir_suffix= ac_top_builddir=
119104 case $srcdir in
119105 .) # No --srcdir option. We are building in place.
119106 ac_srcdir=.
119107 if test -z "$ac_top_builddir"; then
119108 ac_top_srcdir=.
119110 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
119111 fi ;;
119112 [\\/]* | ?:[\\/]* ) # Absolute path.
119113 ac_srcdir=$srcdir$ac_dir_suffix;
119114 ac_top_srcdir=$srcdir ;;
119115 *) # Relative path.
119116 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
119117 ac_top_srcdir=$ac_top_builddir$srcdir ;;
119120 # Do not use `cd foo && pwd` to compute absolute paths, because
119121 # the directories may not exist.
119122 case `pwd` in
119123 .) ac_abs_builddir="$ac_dir";;
119125 case "$ac_dir" in
119126 .) ac_abs_builddir=`pwd`;;
119127 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
119128 *) ac_abs_builddir=`pwd`/"$ac_dir";;
119129 esac;;
119131 case $ac_abs_builddir in
119132 .) ac_abs_top_builddir=${ac_top_builddir}.;;
119134 case ${ac_top_builddir}. in
119135 .) ac_abs_top_builddir=$ac_abs_builddir;;
119136 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
119137 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
119138 esac;;
119140 case $ac_abs_builddir in
119141 .) ac_abs_srcdir=$ac_srcdir;;
119143 case $ac_srcdir in
119144 .) ac_abs_srcdir=$ac_abs_builddir;;
119145 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
119146 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
119147 esac;;
119149 case $ac_abs_builddir in
119150 .) ac_abs_top_srcdir=$ac_top_srcdir;;
119152 case $ac_top_srcdir in
119153 .) ac_abs_top_srcdir=$ac_abs_builddir;;
119154 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
119155 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
119156 esac;;
119160 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
119161 echo "$as_me: executing $ac_dest commands" >&6;}
119162 case $ac_dest in
119163 default-1 )
119164 # Only add multilib support code if we just rebuilt the top-level
119165 # Makefile.
119166 case " $CONFIG_FILES " in
119167 *" Makefile "*)
119168 ac_file=Makefile . ${multi_basedir}/config-ml.in
119170 esac ;;
119171 libtool )
119173 # See if we are running on zsh, and set the options which allow our
119174 # commands through without removal of \ escapes.
119175 if test -n "${ZSH_VERSION+set}" ; then
119176 setopt NO_GLOB_SUBST
119179 cfgfile="${ofile}T"
119180 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
119181 $RM "$cfgfile"
119183 cat <<_LT_EOF >> "$cfgfile"
119184 #! $SHELL
119186 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
119187 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
119188 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
119189 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
119191 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
119192 # 2006, 2007 Free Software Foundation, Inc.
119194 # This file is part of GNU Libtool:
119195 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
119197 # This program is free software; you can redistribute it and/or modify
119198 # it under the terms of the GNU General Public License as published by
119199 # the Free Software Foundation; either version 2 of the License, or
119200 # (at your option) any later version.
119202 # This program is distributed in the hope that it will be useful, but
119203 # WITHOUT ANY WARRANTY; without even the implied warranty of
119204 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
119205 # General Public License for more details.
119207 # You should have received a copy of the GNU General Public License
119208 # along with this program; if not, a copy can be downloaded from
119209 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
119210 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
119211 # MA 02110-1301, USA.
119213 # As a special exception to the GNU General Public License, if you
119214 # distribute this file as part of a program that contains a
119215 # configuration script generated by Autoconf, you may include it under
119216 # the same distribution terms that you use for the rest of that program.
119219 # The names of the tagged configurations supported by this script.
119220 available_tags="CXX "
119222 # ### BEGIN LIBTOOL CONFIG
119224 # Which release of libtool.m4 was used?
119225 macro_version=$macro_version
119226 macro_revision=$macro_revision
119228 # Whether or not to build shared libraries.
119229 build_libtool_libs=$enable_shared
119231 # Whether or not to build static libraries.
119232 build_old_libs=$enable_static
119234 # What type of objects to build.
119235 pic_mode=$pic_mode
119237 # Whether or not to optimize for fast installation.
119238 fast_install=$enable_fast_install
119240 # The host system.
119241 host_alias=$host_alias
119242 host=$host
119243 host_os=$host_os
119245 # The build system.
119246 build_alias=$build_alias
119247 build=$build
119248 build_os=$build_os
119250 # A sed program that does not truncate output.
119251 SED=$lt_SED
119253 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
119254 Xsed="\$SED -e 1s/^X//"
119256 # A grep program that handles long lines.
119257 GREP=$lt_GREP
119259 # An ERE matcher.
119260 EGREP=$lt_EGREP
119262 # A literal string matcher.
119263 FGREP=$lt_FGREP
119265 # A BSD- or MS-compatible name lister.
119266 NM=$lt_NM
119268 # Whether we need soft or hard links.
119269 LN_S=$lt_LN_S
119271 # What is the maximum length of a command?
119272 max_cmd_len=$max_cmd_len
119274 # Object file suffix (normally "o").
119275 objext=$ac_objext
119277 # Executable file suffix (normally "").
119278 exeext=$exeext
119280 # whether the shell understands "unset".
119281 lt_unset=$lt_unset
119283 # turn spaces into newlines.
119284 SP2NL=$lt_lt_SP2NL
119286 # turn newlines into spaces.
119287 NL2SP=$lt_lt_NL2SP
119289 # How to create reloadable object files.
119290 reload_flag=$lt_reload_flag
119291 reload_cmds=$lt_reload_cmds
119293 # Method to check whether dependent libraries are shared objects.
119294 deplibs_check_method=$lt_deplibs_check_method
119296 # Command to use when deplibs_check_method == "file_magic".
119297 file_magic_cmd=$lt_file_magic_cmd
119299 # The archiver.
119300 AR=$lt_AR
119301 AR_FLAGS=$lt_AR_FLAGS
119303 # A symbol stripping program.
119304 STRIP=$lt_STRIP
119306 # Commands used to install an old-style archive.
119307 RANLIB=$lt_RANLIB
119308 old_postinstall_cmds=$lt_old_postinstall_cmds
119309 old_postuninstall_cmds=$lt_old_postuninstall_cmds
119311 # A C compiler.
119312 LTCC=$lt_CC
119314 # LTCC compiler flags.
119315 LTCFLAGS=$lt_CFLAGS
119317 # Take the output of nm and produce a listing of raw symbols and C names.
119318 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
119320 # Transform the output of nm in a proper C declaration.
119321 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
119323 # Transform the output of nm in a C name address pair.
119324 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
119326 # The name of the directory that contains temporary libtool files.
119327 objdir=$objdir
119329 # Shell to use when invoking shell scripts.
119330 SHELL=$lt_SHELL
119332 # An echo program that does not interpret backslashes.
119333 ECHO=$lt_ECHO
119335 # Used to examine libraries when file_magic_cmd begins with "file".
119336 MAGIC_CMD=$MAGIC_CMD
119338 # Must we lock files when doing compilation?
119339 need_locks=$lt_need_locks
119341 # Old archive suffix (normally "a").
119342 libext=$libext
119344 # Shared library suffix (normally ".so").
119345 shrext_cmds=$lt_shrext_cmds
119347 # The commands to extract the exported symbol list from a shared archive.
119348 extract_expsyms_cmds=$lt_extract_expsyms_cmds
119350 # Variables whose values should be saved in libtool wrapper scripts and
119351 # restored at link time.
119352 variables_saved_for_relink=$lt_variables_saved_for_relink
119354 # Do we need the "lib" prefix for modules?
119355 need_lib_prefix=$need_lib_prefix
119357 # Do we need a version for libraries?
119358 need_version=$need_version
119360 # Library versioning type.
119361 version_type=$version_type
119363 # Shared library runtime path variable.
119364 runpath_var=$runpath_var
119366 # Shared library path variable.
119367 shlibpath_var=$shlibpath_var
119369 # Is shlibpath searched before the hard-coded library search path?
119370 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
119372 # Format of library name prefix.
119373 libname_spec=$lt_libname_spec
119375 # List of archive names. First name is the real one, the rest are links.
119376 # The last name is the one that the linker finds with -lNAME
119377 library_names_spec=$lt_library_names_spec
119379 # The coded name of the library, if different from the real name.
119380 soname_spec=$lt_soname_spec
119382 # Command to use after installation of a shared archive.
119383 postinstall_cmds=$lt_postinstall_cmds
119385 # Command to use after uninstallation of a shared archive.
119386 postuninstall_cmds=$lt_postuninstall_cmds
119388 # Commands used to finish a libtool library installation in a directory.
119389 finish_cmds=$lt_finish_cmds
119391 # As "finish_cmds", except a single script fragment to be evaled but
119392 # not shown.
119393 finish_eval=$lt_finish_eval
119395 # Whether we should hardcode library paths into libraries.
119396 hardcode_into_libs=$hardcode_into_libs
119398 # Compile-time system search path for libraries.
119399 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
119401 # Run-time system search path for libraries.
119402 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
119404 # Whether dlopen is supported.
119405 dlopen_support=$enable_dlopen
119407 # Whether dlopen of programs is supported.
119408 dlopen_self=$enable_dlopen_self
119410 # Whether dlopen of statically linked programs is supported.
119411 dlopen_self_static=$enable_dlopen_self_static
119413 # Commands to strip libraries.
119414 old_striplib=$lt_old_striplib
119415 striplib=$lt_striplib
119418 # The linker used to build libraries.
119419 LD=$lt_LD
119421 # Commands used to build an old-style archive.
119422 old_archive_cmds=$lt_old_archive_cmds
119424 # A language specific compiler.
119425 CC=$lt_compiler
119427 # Is the compiler the GNU compiler?
119428 with_gcc=$GCC
119430 # Compiler flag to turn off builtin functions.
119431 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
119433 # How to pass a linker flag through the compiler.
119434 wl=$lt_lt_prog_compiler_wl
119436 # Additional compiler flags for building library objects.
119437 pic_flag=$lt_lt_prog_compiler_pic
119439 # Compiler flag to prevent dynamic linking.
119440 link_static_flag=$lt_lt_prog_compiler_static
119442 # Does compiler simultaneously support -c and -o options?
119443 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
119445 # Whether or not to add -lc for building shared libraries.
119446 build_libtool_need_lc=$archive_cmds_need_lc
119448 # Whether or not to disallow shared libs when runtime libs are static.
119449 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
119451 # Compiler flag to allow reflexive dlopens.
119452 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
119454 # Compiler flag to generate shared objects directly from archives.
119455 whole_archive_flag_spec=$lt_whole_archive_flag_spec
119457 # Whether the compiler copes with passing no objects directly.
119458 compiler_needs_object=$lt_compiler_needs_object
119460 # Create an old-style archive from a shared archive.
119461 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
119463 # Create a temporary old-style archive to link instead of a shared archive.
119464 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
119466 # Commands used to build a shared archive.
119467 archive_cmds=$lt_archive_cmds
119468 archive_expsym_cmds=$lt_archive_expsym_cmds
119470 # Commands used to build a loadable module if different from building
119471 # a shared archive.
119472 module_cmds=$lt_module_cmds
119473 module_expsym_cmds=$lt_module_expsym_cmds
119475 # Whether we are building with GNU ld or not.
119476 with_gnu_ld=$lt_with_gnu_ld
119478 # Flag that allows shared libraries with undefined symbols to be built.
119479 allow_undefined_flag=$lt_allow_undefined_flag
119481 # Flag that enforces no undefined symbols.
119482 no_undefined_flag=$lt_no_undefined_flag
119484 # Flag to hardcode \$libdir into a binary during linking.
119485 # This must work even if \$libdir does not exist
119486 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
119488 # If ld is used when linking, flag to hardcode \$libdir into a binary
119489 # during linking. This must work even if \$libdir does not exist.
119490 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
119492 # Whether we need a single "-rpath" flag with a separated argument.
119493 hardcode_libdir_separator=$lt_hardcode_libdir_separator
119495 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
119496 # DIR into the resulting binary.
119497 hardcode_direct=$hardcode_direct
119499 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
119500 # DIR into the resulting binary and the resulting library dependency is
119501 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
119502 # library is relocated.
119503 hardcode_direct_absolute=$hardcode_direct_absolute
119505 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
119506 # into the resulting binary.
119507 hardcode_minus_L=$hardcode_minus_L
119509 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
119510 # into the resulting binary.
119511 hardcode_shlibpath_var=$hardcode_shlibpath_var
119513 # Set to "yes" if building a shared library automatically hardcodes DIR
119514 # into the library and all subsequent libraries and executables linked
119515 # against it.
119516 hardcode_automatic=$hardcode_automatic
119518 # Set to yes if linker adds runtime paths of dependent libraries
119519 # to runtime path list.
119520 inherit_rpath=$inherit_rpath
119522 # Whether libtool must link a program against all its dependency libraries.
119523 link_all_deplibs=$link_all_deplibs
119525 # Fix the shell variable \$srcfile for the compiler.
119526 fix_srcfile_path=$lt_fix_srcfile_path
119528 # Set to "yes" if exported symbols are required.
119529 always_export_symbols=$always_export_symbols
119531 # The commands to list exported symbols.
119532 export_symbols_cmds=$lt_export_symbols_cmds
119534 # Symbols that should not be listed in the preloaded symbols.
119535 exclude_expsyms=$lt_exclude_expsyms
119537 # Symbols that must always be exported.
119538 include_expsyms=$lt_include_expsyms
119540 # Commands necessary for linking programs (against libraries) with templates.
119541 prelink_cmds=$lt_prelink_cmds
119543 # Specify filename containing input files.
119544 file_list_spec=$lt_file_list_spec
119546 # How to hardcode a shared library path into an executable.
119547 hardcode_action=$hardcode_action
119549 # Dependencies to place before and after the objects being linked to
119550 # create a shared library.
119551 predep_objects=$lt_predep_objects
119552 postdep_objects=$lt_postdep_objects
119553 predeps=$lt_predeps
119554 postdeps=$lt_postdeps
119556 # The library search path used internally by the compiler when linking
119557 # a shared library.
119558 compiler_lib_search_path=$lt_compiler_lib_search_path
119560 # ### END LIBTOOL CONFIG
119562 _LT_EOF
119564 case $host_os in
119565 aix3*)
119566 cat <<\_LT_EOF >> "$cfgfile"
119567 # AIX sometimes has problems with the GCC collect2 program. For some
119568 # reason, if we set the COLLECT_NAMES environment variable, the problems
119569 # vanish in a puff of smoke.
119570 if test "X${COLLECT_NAMES+set}" != Xset; then
119571 COLLECT_NAMES=
119572 export COLLECT_NAMES
119574 _LT_EOF
119579 ltmain="$ac_aux_dir/ltmain.sh"
119582 # We use sed instead of cat because bash on DJGPP gets confused if
119583 # if finds mixed CR/LF and LF-only lines. Since sed operates in
119584 # text mode, it properly converts lines to CR/LF. This bash problem
119585 # is reportedly fixed, but why not run on old versions too?
119586 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
119587 || (rm -f "$cfgfile"; exit 1)
119589 case $xsi_shell in
119591 cat << \_LT_EOF >> "$cfgfile"
119592 # func_dirname file append nondir_replacement
119593 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
119594 # otherwise set result to NONDIR_REPLACEMENT.
119595 func_dirname ()
119597 case ${1} in
119598 */*) func_dirname_result="${1%/*}${2}" ;;
119599 * ) func_dirname_result="${3}" ;;
119603 # func_basename file
119604 func_basename ()
119606 func_basename_result="${1##*/}"
119609 # func_stripname prefix suffix name
119610 # strip PREFIX and SUFFIX off of NAME.
119611 # PREFIX and SUFFIX must not contain globbing or regex special
119612 # characters, hashes, percent signs, but SUFFIX may contain a leading
119613 # dot (in which case that matches only a dot).
119614 func_stripname ()
119616 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
119617 # positional parameters, so assign one to ordinary parameter first.
119618 func_stripname_result=${3}
119619 func_stripname_result=${func_stripname_result#"${1}"}
119620 func_stripname_result=${func_stripname_result%"${2}"}
119623 # func_opt_split
119624 func_opt_split ()
119626 func_opt_split_opt=${1%%=*}
119627 func_opt_split_arg=${1#*=}
119630 # func_lo2o object
119631 func_lo2o ()
119633 case ${1} in
119634 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
119635 *) func_lo2o_result=${1} ;;
119638 _LT_EOF
119640 *) # Bourne compatible functions.
119641 cat << \_LT_EOF >> "$cfgfile"
119642 # func_dirname file append nondir_replacement
119643 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
119644 # otherwise set result to NONDIR_REPLACEMENT.
119645 func_dirname ()
119647 # Extract subdirectory from the argument.
119648 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
119649 if test "X$func_dirname_result" = "X${1}"; then
119650 func_dirname_result="${3}"
119652 func_dirname_result="$func_dirname_result${2}"
119656 # func_basename file
119657 func_basename ()
119659 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
119662 # func_stripname prefix suffix name
119663 # strip PREFIX and SUFFIX off of NAME.
119664 # PREFIX and SUFFIX must not contain globbing or regex special
119665 # characters, hashes, percent signs, but SUFFIX may contain a leading
119666 # dot (in which case that matches only a dot).
119667 # func_strip_suffix prefix name
119668 func_stripname ()
119670 case ${2} in
119671 .*) func_stripname_result=`$ECHO "X${3}" \
119672 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
119673 *) func_stripname_result=`$ECHO "X${3}" \
119674 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
119678 # sed scripts:
119679 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
119680 my_sed_long_arg='1s/^-[^=]*=//'
119682 # func_opt_split
119683 func_opt_split ()
119685 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
119686 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
119689 # func_lo2o object
119690 func_lo2o ()
119692 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
119694 _LT_EOF
119697 case $lt_shell_append in
119699 cat << \_LT_EOF >> "$cfgfile"
119701 # func_append var value
119702 # Append VALUE to the end of shell variable VAR.
119703 func_append ()
119705 eval "$1+=\$2"
119707 _LT_EOF
119710 cat << \_LT_EOF >> "$cfgfile"
119712 # func_append var value
119713 # Append VALUE to the end of shell variable VAR.
119714 func_append ()
119716 eval "$1=\$$1\$2"
119718 _LT_EOF
119723 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
119724 || (rm -f "$cfgfile"; exit 1)
119726 mv -f "$cfgfile" "$ofile" ||
119727 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
119728 chmod +x "$ofile"
119731 cat <<_LT_EOF >> "$ofile"
119733 # ### BEGIN LIBTOOL TAG CONFIG: CXX
119735 # The linker used to build libraries.
119736 LD=$lt_LD_CXX
119738 # Commands used to build an old-style archive.
119739 old_archive_cmds=$lt_old_archive_cmds_CXX
119741 # A language specific compiler.
119742 CC=$lt_compiler_CXX
119744 # Is the compiler the GNU compiler?
119745 with_gcc=$GCC_CXX
119747 # Compiler flag to turn off builtin functions.
119748 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
119750 # How to pass a linker flag through the compiler.
119751 wl=$lt_lt_prog_compiler_wl_CXX
119753 # Additional compiler flags for building library objects.
119754 pic_flag=$lt_lt_prog_compiler_pic_CXX
119756 # Compiler flag to prevent dynamic linking.
119757 link_static_flag=$lt_lt_prog_compiler_static_CXX
119759 # Does compiler simultaneously support -c and -o options?
119760 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
119762 # Whether or not to add -lc for building shared libraries.
119763 build_libtool_need_lc=$archive_cmds_need_lc_CXX
119765 # Whether or not to disallow shared libs when runtime libs are static.
119766 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
119768 # Compiler flag to allow reflexive dlopens.
119769 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
119771 # Compiler flag to generate shared objects directly from archives.
119772 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
119774 # Whether the compiler copes with passing no objects directly.
119775 compiler_needs_object=$lt_compiler_needs_object_CXX
119777 # Create an old-style archive from a shared archive.
119778 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
119780 # Create a temporary old-style archive to link instead of a shared archive.
119781 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
119783 # Commands used to build a shared archive.
119784 archive_cmds=$lt_archive_cmds_CXX
119785 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
119787 # Commands used to build a loadable module if different from building
119788 # a shared archive.
119789 module_cmds=$lt_module_cmds_CXX
119790 module_expsym_cmds=$lt_module_expsym_cmds_CXX
119792 # Whether we are building with GNU ld or not.
119793 with_gnu_ld=$lt_with_gnu_ld_CXX
119795 # Flag that allows shared libraries with undefined symbols to be built.
119796 allow_undefined_flag=$lt_allow_undefined_flag_CXX
119798 # Flag that enforces no undefined symbols.
119799 no_undefined_flag=$lt_no_undefined_flag_CXX
119801 # Flag to hardcode \$libdir into a binary during linking.
119802 # This must work even if \$libdir does not exist
119803 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
119805 # If ld is used when linking, flag to hardcode \$libdir into a binary
119806 # during linking. This must work even if \$libdir does not exist.
119807 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
119809 # Whether we need a single "-rpath" flag with a separated argument.
119810 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
119812 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
119813 # DIR into the resulting binary.
119814 hardcode_direct=$hardcode_direct_CXX
119816 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
119817 # DIR into the resulting binary and the resulting library dependency is
119818 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
119819 # library is relocated.
119820 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
119822 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
119823 # into the resulting binary.
119824 hardcode_minus_L=$hardcode_minus_L_CXX
119826 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
119827 # into the resulting binary.
119828 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
119830 # Set to "yes" if building a shared library automatically hardcodes DIR
119831 # into the library and all subsequent libraries and executables linked
119832 # against it.
119833 hardcode_automatic=$hardcode_automatic_CXX
119835 # Set to yes if linker adds runtime paths of dependent libraries
119836 # to runtime path list.
119837 inherit_rpath=$inherit_rpath_CXX
119839 # Whether libtool must link a program against all its dependency libraries.
119840 link_all_deplibs=$link_all_deplibs_CXX
119842 # Fix the shell variable \$srcfile for the compiler.
119843 fix_srcfile_path=$lt_fix_srcfile_path_CXX
119845 # Set to "yes" if exported symbols are required.
119846 always_export_symbols=$always_export_symbols_CXX
119848 # The commands to list exported symbols.
119849 export_symbols_cmds=$lt_export_symbols_cmds_CXX
119851 # Symbols that should not be listed in the preloaded symbols.
119852 exclude_expsyms=$lt_exclude_expsyms_CXX
119854 # Symbols that must always be exported.
119855 include_expsyms=$lt_include_expsyms_CXX
119857 # Commands necessary for linking programs (against libraries) with templates.
119858 prelink_cmds=$lt_prelink_cmds_CXX
119860 # Specify filename containing input files.
119861 file_list_spec=$lt_file_list_spec_CXX
119863 # How to hardcode a shared library path into an executable.
119864 hardcode_action=$hardcode_action_CXX
119866 # Dependencies to place before and after the objects being linked to
119867 # create a shared library.
119868 predep_objects=$lt_predep_objects_CXX
119869 postdep_objects=$lt_postdep_objects_CXX
119870 predeps=$lt_predeps_CXX
119871 postdeps=$lt_postdeps_CXX
119873 # The library search path used internally by the compiler when linking
119874 # a shared library.
119875 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
119877 # ### END LIBTOOL TAG CONFIG: CXX
119878 _LT_EOF
119881 default ) if test -n "$CONFIG_FILES"; then
119882 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
119883 # that multilib installs will end up installed in the correct place.
119884 # The testsuite needs it for multilib-aware ABI baseline files.
119885 # To work around this not being passed down from config-ml.in ->
119886 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
119887 # append it here. Only modify Makefiles that have just been created.
119889 # Also, get rid of this simulated-VPATH thing that automake does.
119890 cat > vpsed << \_EOF
119891 s!`test -f '$<' || echo '$(srcdir)/'`!!
119893 for i in $SUBDIRS; do
119894 case $CONFIG_FILES in
119895 *${i}/Makefile*)
119896 #echo "Adding MULTISUBDIR to $i/Makefile"
119897 sed -f vpsed $i/Makefile > tmp
119898 grep '^MULTISUBDIR =' Makefile >> tmp
119899 mv tmp $i/Makefile
119903 rm vpsed
119905 (cd include && ${MAKE-make})
119909 _ACEOF
119911 cat >>$CONFIG_STATUS <<\_ACEOF
119913 { (exit 0); exit 0; }
119914 _ACEOF
119915 chmod +x $CONFIG_STATUS
119916 ac_clean_files=$ac_clean_files_save
119919 # configure is writing to config.log, and then calls config.status.
119920 # config.status does its own redirection, appending to config.log.
119921 # Unfortunately, on DOS this fails, as config.log is still kept open
119922 # by configure, so config.status won't be able to write to it; its
119923 # output is simply discarded. So we exec the FD to /dev/null,
119924 # effectively closing config.log, so it can be properly (re)opened and
119925 # appended to by config.status. When coming back to configure, we
119926 # need to make the FD available again.
119927 if test "$no_create" != yes; then
119928 ac_cs_success=:
119929 ac_config_status_args=
119930 test "$silent" = yes &&
119931 ac_config_status_args="$ac_config_status_args --quiet"
119932 exec 5>/dev/null
119933 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
119934 exec 5>>config.log
119935 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
119936 # would make configure fail if this is the last instruction.
119937 $ac_cs_success || { (exit 1); exit 1; }